UNPKG

@mescius/activereportsjs

Version:

ActiveReportsJS

8 lines 883 kB
/*! * @mescius/activereportsjs 6.0.3 * Description: ActiveReportsJS * https://www.npmjs.com/package/@mescius/activereportsjs * Copyright ©️ MESCIUS inc. All rights reserved. * Licensed under the Commercial license */ (function(ma,fa){typeof exports=="object"&&typeof module<"u"?fa(exports,require("./ar-js-core.js")):typeof define=="function"&&define.amd?define(["exports","@mescius/ar-js-pagereport"],fa):(ma=typeof globalThis<"u"?globalThis:ma||self,fa((ma.MESCIUS=ma.MESCIUS||{},ma.MESCIUS.ActiveReportsJS=ma.MESCIUS.ActiveReportsJS||{},ma.MESCIUS.ActiveReportsJS.ReportViewer={}),ma.MESCIUS.ActiveReportsJS.Core))})(this,function(ma,fa){"use strict";var iy;function Dl(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var rd={exports:{}};function G3(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var Mm={exports:{}},Bt=Mm.exports={},Ca,xa;function od(){throw new Error("setTimeout has not been defined")}function id(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Ca=setTimeout:Ca=od}catch{Ca=od}try{typeof clearTimeout=="function"?xa=clearTimeout:xa=id}catch{xa=id}})();function vm(s){if(Ca===setTimeout)return setTimeout(s,0);if((Ca===od||!Ca)&&setTimeout)return Ca=setTimeout,setTimeout(s,0);try{return Ca(s,0)}catch{try{return Ca.call(null,s,0)}catch{return Ca.call(this,s,0)}}}function X3(s){if(xa===clearTimeout)return clearTimeout(s);if((xa===id||!xa)&&clearTimeout)return xa=clearTimeout,clearTimeout(s);try{return xa(s)}catch{try{return xa.call(null,s)}catch{return xa.call(this,s)}}}var Ia=[],Or=!1,ar,_l=-1;function j3(){!Or||!ar||(Or=!1,ar.length?Ia=ar.concat(Ia):_l=-1,Ia.length&&Sm())}function Sm(){if(!Or){var s=vm(j3);Or=!0;for(var e=Ia.length;e;){for(ar=Ia,Ia=[];++_l<e;)ar&&ar[_l].run();_l=-1,e=Ia.length}ar=null,Or=!1,X3(s)}}Bt.nextTick=function(s){var e=new Array(arguments.length-1);if(arguments.length>1)for(var a=1;a<arguments.length;a++)e[a-1]=arguments[a];Ia.push(new wm(s,e)),Ia.length===1&&!Or&&vm(Sm)};function wm(s,e){this.fun=s,this.array=e}wm.prototype.run=function(){this.fun.apply(null,this.array)},Bt.title="browser",Bt.browser=!0,Bt.env={},Bt.argv=[],Bt.version="",Bt.versions={};function Za(){}Bt.on=Za,Bt.addListener=Za,Bt.once=Za,Bt.off=Za,Bt.removeListener=Za,Bt.removeAllListeners=Za,Bt.emit=Za,Bt.prependListener=Za,Bt.prependOnceListener=Za,Bt.listeners=function(s){return[]},Bt.binding=function(s){throw new Error("process.binding is not supported")},Bt.cwd=function(){return"/"},Bt.chdir=function(s){throw new Error("process.chdir is not supported")},Bt.umask=function(){return 0};var q3=Mm.exports;const qn=G3(q3);var tt={},bm;function W3(){if(bm)return tt;bm=1;var s=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),u=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),M=Symbol.iterator;function S(P){return P===null||typeof P!="object"?null:(P=M&&P[M]||P["@@iterator"],typeof P=="function"?P:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,x={};function E(P,F,j){this.props=P,this.context=F,this.refs=x,this.updater=j||w}E.prototype.isReactComponent={},E.prototype.setState=function(P,F){if(typeof P!="object"&&typeof P!="function"&&P!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,P,F,"setState")},E.prototype.forceUpdate=function(P){this.updater.enqueueForceUpdate(this,P,"forceUpdate")};function D(){}D.prototype=E.prototype;function _(P,F,j){this.props=P,this.context=F,this.refs=x,this.updater=j||w}var k=_.prototype=new D;k.constructor=_,b(k,E.prototype),k.isPureReactComponent=!0;var L=Array.isArray,V={H:null,A:null,T:null,S:null,V:null},O=Object.prototype.hasOwnProperty;function H(P,F,j,K,X,me){return j=me.ref,{$$typeof:s,type:P,key:F,ref:j!==void 0?j:null,props:me}}function T(P,F){return H(P.type,F,void 0,void 0,void 0,P.props)}function A(P){return typeof P=="object"&&P!==null&&P.$$typeof===s}function z(P){var F={"=":"=0",":":"=2"};return"$"+P.replace(/[=:]/g,function(j){return F[j]})}var $=/\/+/g;function I(P,F){return typeof P=="object"&&P!==null&&P.key!=null?z(""+P.key):F.toString(36)}function ee(){}function ae(P){switch(P.status){case"fulfilled":return P.value;case"rejected":throw P.reason;default:switch(typeof P.status=="string"?P.then(ee,ee):(P.status="pending",P.then(function(F){P.status==="pending"&&(P.status="fulfilled",P.value=F)},function(F){P.status==="pending"&&(P.status="rejected",P.reason=F)})),P.status){case"fulfilled":return P.value;case"rejected":throw P.reason}}throw P}function le(P,F,j,K,X){var me=typeof P;(me==="undefined"||me==="boolean")&&(P=null);var Me=!1;if(P===null)Me=!0;else switch(me){case"bigint":case"string":case"number":Me=!0;break;case"object":switch(P.$$typeof){case s:case e:Me=!0;break;case y:return Me=P._init,le(Me(P._payload),F,j,K,X)}}if(Me)return X=X(P),Me=K===""?"."+I(P,0):K,L(X)?(j="",Me!=null&&(j=Me.replace($,"$&/")+"/"),le(X,F,j,"",function(We){return We})):X!=null&&(A(X)&&(X=T(X,j+(X.key==null||P&&P.key===X.key?"":(""+X.key).replace($,"$&/")+"/")+Me)),F.push(X)),1;Me=0;var ge=K===""?".":K+":";if(L(P))for(var Se=0;Se<P.length;Se++)K=P[Se],me=ge+I(K,Se),Me+=le(K,F,j,me,X);else if(Se=S(P),typeof Se=="function")for(P=Se.call(P),Se=0;!(K=P.next()).done;)K=K.value,me=ge+I(K,Se++),Me+=le(K,F,j,me,X);else if(me==="object"){if(typeof P.then=="function")return le(ae(P),F,j,K,X);throw F=String(P),Error("Objects are not valid as a React child (found: "+(F==="[object Object]"?"object with keys {"+Object.keys(P).join(", ")+"}":F)+"). If you meant to render a collection of children, use an array instead.")}return Me}function Y(P,F,j){if(P==null)return P;var K=[],X=0;return le(P,K,"","",function(me){return F.call(j,me,X++)}),K}function J(P){if(P._status===-1){var F=P._result;F=F(),F.then(function(j){(P._status===0||P._status===-1)&&(P._status=1,P._result=j)},function(j){(P._status===0||P._status===-1)&&(P._status=2,P._result=j)}),P._status===-1&&(P._status=0,P._result=F)}if(P._status===1)return P._result.default;throw P._result}var W=typeof reportError=="function"?reportError:function(P){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var F=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof P=="object"&&P!==null&&typeof P.message=="string"?String(P.message):String(P),error:P});if(!window.dispatchEvent(F))return}else if(typeof qn=="object"&&typeof qn.emit=="function"){qn.emit("uncaughtException",P);return}console.error(P)};function ie(){}return tt.Children={map:Y,forEach:function(P,F,j){Y(P,function(){F.apply(this,arguments)},j)},count:function(P){var F=0;return Y(P,function(){F++}),F},toArray:function(P){return Y(P,function(F){return F})||[]},only:function(P){if(!A(P))throw Error("React.Children.only expected to receive a single React element child.");return P}},tt.Component=E,tt.Fragment=a,tt.Profiler=i,tt.PureComponent=_,tt.StrictMode=r,tt.Suspense=m,tt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=V,tt.__COMPILER_RUNTIME={__proto__:null,c:function(P){return V.H.useMemoCache(P)}},tt.cache=function(P){return function(){return P.apply(null,arguments)}},tt.cloneElement=function(P,F,j){if(P==null)throw Error("The argument must be a React element, but you passed "+P+".");var K=b({},P.props),X=P.key,me=void 0;if(F!=null)for(Me in F.ref!==void 0&&(me=void 0),F.key!==void 0&&(X=""+F.key),F)!O.call(F,Me)||Me==="key"||Me==="__self"||Me==="__source"||Me==="ref"&&F.ref===void 0||(K[Me]=F[Me]);var Me=arguments.length-2;if(Me===1)K.children=j;else if(1<Me){for(var ge=Array(Me),Se=0;Se<Me;Se++)ge[Se]=arguments[Se+2];K.children=ge}return H(P.type,X,void 0,void 0,me,K)},tt.createContext=function(P){return P={$$typeof:u,_currentValue:P,_currentValue2:P,_threadCount:0,Provider:null,Consumer:null},P.Provider=P,P.Consumer={$$typeof:l,_context:P},P},tt.createElement=function(P,F,j){var K,X={},me=null;if(F!=null)for(K in F.key!==void 0&&(me=""+F.key),F)O.call(F,K)&&K!=="key"&&K!=="__self"&&K!=="__source"&&(X[K]=F[K]);var Me=arguments.length-2;if(Me===1)X.children=j;else if(1<Me){for(var ge=Array(Me),Se=0;Se<Me;Se++)ge[Se]=arguments[Se+2];X.children=ge}if(P&&P.defaultProps)for(K in Me=P.defaultProps,Me)X[K]===void 0&&(X[K]=Me[K]);return H(P,me,void 0,void 0,null,X)},tt.createRef=function(){return{current:null}},tt.forwardRef=function(P){return{$$typeof:h,render:P}},tt.isValidElement=A,tt.lazy=function(P){return{$$typeof:y,_payload:{_status:-1,_result:P},_init:J}},tt.memo=function(P,F){return{$$typeof:p,type:P,compare:F===void 0?null:F}},tt.startTransition=function(P){var F=V.T,j={};V.T=j;try{var K=P(),X=V.S;X!==null&&X(j,K),typeof K=="object"&&K!==null&&typeof K.then=="function"&&K.then(ie,W)}catch(me){W(me)}finally{V.T=F}},tt.unstable_useCacheRefresh=function(){return V.H.useCacheRefresh()},tt.use=function(P){return V.H.use(P)},tt.useActionState=function(P,F,j){return V.H.useActionState(P,F,j)},tt.useCallback=function(P,F){return V.H.useCallback(P,F)},tt.useContext=function(P){return V.H.useContext(P)},tt.useDebugValue=function(){},tt.useDeferredValue=function(P,F){return V.H.useDeferredValue(P,F)},tt.useEffect=function(P,F,j){var K=V.H;if(typeof j=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return K.useEffect(P,F)},tt.useId=function(){return V.H.useId()},tt.useImperativeHandle=function(P,F,j){return V.H.useImperativeHandle(P,F,j)},tt.useInsertionEffect=function(P,F){return V.H.useInsertionEffect(P,F)},tt.useLayoutEffect=function(P,F){return V.H.useLayoutEffect(P,F)},tt.useMemo=function(P,F){return V.H.useMemo(P,F)},tt.useOptimistic=function(P,F){return V.H.useOptimistic(P,F)},tt.useReducer=function(P,F,j){return V.H.useReducer(P,F,j)},tt.useRef=function(P){return V.H.useRef(P)},tt.useState=function(P){return V.H.useState(P)},tt.useSyncExternalStore=function(P,F,j){return V.H.useSyncExternalStore(P,F,j)},tt.useTransition=function(){return V.H.useTransition()},tt.version="19.1.0",tt}var Em;function ld(){return Em||(Em=1,rd.exports=W3()),rd.exports}var R=ld();const d=Dl(R),cd=s=>{const{clientHeight:e}=s,{paddingTop:a,paddingBottom:r}=getComputedStyle(s);return e-parseFloat(a)-parseFloat(r)},ud=s=>{const{clientWidth:e}=s,{paddingLeft:a,paddingRight:r}=getComputedStyle(s);return e-parseFloat(a)-parseFloat(r)};let Ko=0;const Qo=()=>{if(Ko!==0)return Ko;if(typeof document<"u"){const s=document.createElement("div");Rn(s,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(s),Ko=s.offsetWidth-s.clientWidth,document.body.removeChild(s)}else Ko=0;return Ko||0},de=(...s)=>{const e=[];for(let a=0;a<s.length;a++){const r=s[a];r&&(typeof r=="string"||typeof r=="number"?e.push(`${r}`):Array.isArray(r)&&r.length?e.push(de(r)):typeof r=="object"&&Object.keys(r).forEach(i=>r[i]&&e.push(i)))}return e.join(" ")},K3=["animationiterationcount","boxflex","boxflexgroup","boxordinalgroup","columncount","fillopacity","flex","flexgrow","flexpositive","flexshrink","flexnegative","flexorder","gridrow","gridcolumn","fontweight","lineclamp","lineheight","opacity","order","orphans","stopopacity","strokedashoffset","strokeopacity","strokewidth","tabsize","widows","zindex","zoom"],Rn=(s,e)=>{!s||!s.style||Object.keys(e).forEach(a=>{typeof e[a]=="string"?s.style[a]=e[a]:K3.includes(a.toLowerCase())?s.style[a]=`${e[a]}`:s.style[a]=`${e[a]}px`})},pe=s=>[s,e=>`${s}--${e}`,e=>pe(`${s}__${e}`)],Q3=s=>{if(s.length===0)return!0;const e=s[0];for(let a=1;a<s.length;a++)if(s[a]!==e)return!1;return!0},Gt=(s,e=-1/0,a=1/0)=>Math.min(Math.max(s,e),a),J3=s=>typeof s=="function",Cm={$multipleValues:[],toString:()=>"<Multiple Values>"},vn=s=>s===null,kt=s=>s===void 0,Nl=s=>!vn(s)&&!kt(s),dd=s=>Nl(s)&&(typeof s=="object"||J3(s)),hd=typeof navigator<"u"?navigator:{platform:"mac"};(iy=hd==null?void 0:hd.platform)==null||iy.toUpperCase().includes("MAC");const xm=(s,e)=>{if(s.byteLength!==e.byteLength)return!1;for(let a=0;a<s.byteLength;a++)if(s.getUint8(a)!==e.getUint8(a))return!1;return!0},md=s=>vn(s)||kt(s)?!0:typeof s=="string"||Array.isArray(s)?s.length===0:s instanceof Map||s instanceof Set?s.size===0:ArrayBuffer.isView(s)?s.byteLength===0:typeof s=="object"?Object.keys(s).length===0:!1,sr=s=>(s==null?void 0:s.constructor)===Object,Hm=(s,e)=>s.length!==e.length?!1:s.every((a,r)=>Ha(a,e[r])),e7=(s,e)=>{const a=Object.keys(s),r=Object.keys(e);if(!Ha(a,r))return!1;for(const i of a)if(!Ha(s[i],e[i]))return!1;return!0},Lm=s=>ArrayBuffer.isView(s)&&!(s instanceof DataView),Ha=(s,e)=>Object.is(s,e)?!0:typeof s!=typeof e?!1:Array.isArray(s)&&Array.isArray(e)?Hm(s,e):s instanceof Date&&e instanceof Date?s.getTime()===e.getTime():s instanceof RegExp&&e instanceof RegExp?s.toString()===e.toString():sr(s)&&sr(e)?e7(s,e):s instanceof ArrayBuffer&&e instanceof ArrayBuffer?xm(new DataView(s),new DataView(e)):s instanceof DataView&&e instanceof DataView?xm(s,e):Lm(s)&&Lm(e)?s.byteLength!==e.byteLength?!1:Hm(s,e):!1,Vl=s=>typeof s=="string",fd=s=>vn(s)||typeof s!="object"?s:Array.isArray(s)?s.map(e=>fd(e)):Object.fromEntries(Object.entries(s).map(([e,a])=>[e,fd(a)])),pd=s=>s.length===0?{}:s.length===1||Q3(s)?s[0]:s.every(Array.isArray)?null:s.every(sr)?t7(s):Cm,t7=s=>{let e=[];const a={};s.forEach(r=>{e.push(...Object.getOwnPropertyNames(r))}),e=[...new Set(e)];for(const r of e){const i=s.map(l=>l[r]);a[r]=pd(i)}return a},pa=()=>{},n7=s=>(e,a)=>{const r=s.split("."),i=r.pop(),l=fd(e);if(!i)return l;let u=l;for(const h of r){if(kt(u[h])&&(u[h]={}),!sr(u[h]))throw new Error(`Intermediate value at "${h}" is not an object`);u=u[h]}return u[i]=a,l},a7=s=>e=>{const a=s&&s.split(".")||[];let r=e;for(const i of a){if(md(r))return;const l=r[i];if(kt(l))return;r=l}return r},s7=s=>e=>s?s.split(".").reduceRight((a,r)=>({[r]:a}),{$set:e}):{$set:e},r7=s=>(e,a)=>{const r=s.split("."),i=r.pop();if(!i)return e;let l=e;for(const u of r){if(kt(l[u])&&(l[u]={}),!sr(l[u]))throw new Error(`Intermediate value at "${u}" is not an object`);l=l[u]}return l[i]=a,e},o7=s=>({getValue:e=>a7(s)(e),assignValue:(e,a)=>n7(s)(e,a),updateValue:(e,a)=>r7(s)(e,a),createUpdateSpec:e=>s7(s)(e)}),Tm=s=>s===0?"":Math.random().toString(36).slice(2,s+2),i7=()=>!1,l7=(s=0)=>e=>{const a=10**s;return Math.round(e*a)/a},Al=s=>sr(s)&&!Array.isArray(s)?JSON.stringify(s):`${s}`,Pl=(s,e,a)=>{if(e<0||e>=s.length||a<0||a>=s.length)throw new Error("The indices are out of bounds");const r=[...s];return[r[e],r[a]]=[r[a],r[e]],r};function rt(s){const e=Object.prototype.toString.call(s);return s instanceof Date||typeof s=="object"&&e==="[object Date]"?new s.constructor(+s):typeof s=="number"||e==="[object Number]"||typeof s=="string"||e==="[object String]"?new Date(s):new Date(NaN)}function La(s,e){return s instanceof Date?new s.constructor(e):new Date(e)}function Jo(s,e){const a=rt(s);return isNaN(e)?La(s,NaN):(e&&a.setDate(a.getDate()+e),a)}function Rr(s,e){const a=rt(s);if(isNaN(e))return La(s,NaN);if(!e)return a;const r=a.getDate(),i=La(s,a.getTime());i.setMonth(a.getMonth()+e+1,0);const l=i.getDate();return r>=l?i:(a.setFullYear(i.getFullYear(),i.getMonth(),r),a)}function Ua(s,e){const{years:a=0,months:r=0,weeks:i=0,days:l=0,hours:u=0,minutes:h=0,seconds:m=0}=e,p=rt(s),y=r||a?Rr(p,r+a*12):p,M=l||i?Jo(y,l+i*7):y,S=h+u*60,b=(m+S*60)*1e3;return La(s,M.getTime()+b)}const km=6e4,Dm=36e5;let c7={};function _m(){return c7}function u7(s,e){var h,m,p,y;const a=_m(),r=(e==null?void 0:e.weekStartsOn)??((m=(h=e==null?void 0:e.locale)==null?void 0:h.options)==null?void 0:m.weekStartsOn)??a.weekStartsOn??((y=(p=a.locale)==null?void 0:p.options)==null?void 0:y.weekStartsOn)??0,i=rt(s),l=i.getDay(),u=(l<r?7:0)+l-r;return i.setDate(i.getDate()-u),i.setHours(0,0,0,0),i}function Ss(s){const e=rt(s);return e.setHours(0,0,0,0),e}function zr(s,e){return Rr(s,e*12)}function Ol(s,e){const a=Ss(s),r=Ss(e);return+a==+r}function gd(s){return s instanceof Date||typeof s=="object"&&Object.prototype.toString.call(s)==="[object Date]"}function Wn(s){if(!gd(s)&&typeof s!="number")return!1;const e=rt(s);return!isNaN(Number(e))}function Nm(s){const e=rt(s);return e.setHours(23,59,59,999),e}function Rl(s){const e=rt(s),a=e.getMonth();return e.setFullYear(e.getFullYear(),a+1,0),e.setHours(23,59,59,999),e}function Ln(s){const e=rt(s);return e.setDate(1),e.setHours(0,0,0,0),e}function yd(s){const e=rt(s),a=e.getFullYear();return e.setFullYear(a+1,0,0),e.setHours(23,59,59,999),e}function $r(s){const e=rt(s),a=La(s,0);return a.setFullYear(e.getFullYear(),0,1),a.setHours(0,0,0,0),a}function d7(s,e){var h,m,p,y;const a=_m(),r=(e==null?void 0:e.weekStartsOn)??((m=(h=e==null?void 0:e.locale)==null?void 0:h.options)==null?void 0:m.weekStartsOn)??a.weekStartsOn??((y=(p=a.locale)==null?void 0:p.options)==null?void 0:y.weekStartsOn)??0,i=rt(s),l=i.getDay(),u=(l<r?-7:0)+6-(l-r);return i.setDate(i.getDate()+u),i.setHours(23,59,59,999),i}function ws(s,e){const a=s<0?"-":"",r=Math.abs(s).toString().padStart(e,"0");return a+r}function Br(s,e){const a=rt(s);if(isNaN(a.getTime()))throw new RangeError("Invalid time value");let r="",i="";const l="-",u=":";{const h=ws(a.getDate(),2),m=ws(a.getMonth()+1,2);r=`${ws(a.getFullYear(),4)}${l}${m}${l}${h}`}{const h=a.getTimezoneOffset();if(h!==0){const w=Math.abs(h),b=ws(Math.trunc(w/60),2),x=ws(w%60,2);i=`${h<0?"+":"-"}${b}:${x}`}else i="Z";const m=ws(a.getHours(),2),p=ws(a.getMinutes(),2),y=ws(a.getSeconds(),2),M=r===""?"":"T",S=[m,p,y].join(u);r=`${r}${M}${S}${i}`}return r}function Vm(s){const e=rt(s),a=e.getFullYear(),r=e.getMonth(),i=La(s,0);return i.setFullYear(a,r+1,0),i.setHours(0,0,0,0),i.getDate()}function h7(s){return rt(s).getMonth()}function m7(s){return rt(s).getFullYear()}function f7(s,e){const a=rt(s),r=rt(e);return a.getTime()>r.getTime()}function bs(s,e){const a=rt(s),r=rt(e);return+a<+r}function Am(s,e){const a=rt(s),r=rt(e);return+a==+r}function Pm(s,e){const a=rt(s),r=rt(e);return a.getFullYear()===r.getFullYear()&&a.getMonth()===r.getMonth()}function Om(s,e){const a=rt(s),r=rt(e);return a.getFullYear()===r.getFullYear()}function zl(s,e){const a=+rt(s),[r,i]=[+rt(e.start),+rt(e.end)].sort((l,u)=>l-u);return a>=r&&a<=i}function $l(s,e){return Jo(s,-e)}function ei(s,e){const a=(e==null?void 0:e.additionalDigits)??2,r=M7(s);let i;if(r.date){const m=v7(r.date,a);i=S7(m.restDateString,m.year)}if(!i||isNaN(i.getTime()))return new Date(NaN);const l=i.getTime();let u=0,h;if(r.time&&(u=w7(r.time),isNaN(u)))return new Date(NaN);if(r.timezone){if(h=b7(r.timezone),isNaN(h))return new Date(NaN)}else{const m=new Date(l+u),p=new Date(0);return p.setFullYear(m.getUTCFullYear(),m.getUTCMonth(),m.getUTCDate()),p.setHours(m.getUTCHours(),m.getUTCMinutes(),m.getUTCSeconds(),m.getUTCMilliseconds()),p}return new Date(l+u+h)}const Bl={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},p7=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,g7=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,y7=/^([+-])(\d{2})(?::?(\d{2}))?$/;function M7(s){const e={},a=s.split(Bl.dateTimeDelimiter);let r;if(a.length>2)return e;if(/:/.test(a[0])?r=a[0]:(e.date=a[0],r=a[1],Bl.timeZoneDelimiter.test(e.date)&&(e.date=s.split(Bl.timeZoneDelimiter)[0],r=s.substr(e.date.length,s.length))),r){const i=Bl.timezone.exec(r);i?(e.time=r.replace(i[1],""),e.timezone=i[1]):e.time=r}return e}function v7(s,e){const a=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),r=s.match(a);if(!r)return{year:NaN,restDateString:""};const i=r[1]?parseInt(r[1]):null,l=r[2]?parseInt(r[2]):null;return{year:l===null?i:l*100,restDateString:s.slice((r[1]||r[2]).length)}}function S7(s,e){if(e===null)return new Date(NaN);const a=s.match(p7);if(!a)return new Date(NaN);const r=!!a[4],i=ti(a[1]),l=ti(a[2])-1,u=ti(a[3]),h=ti(a[4]),m=ti(a[5])-1;if(r)return L7(e,h,m)?E7(e,h,m):new Date(NaN);{const p=new Date(0);return!x7(e,l,u)||!H7(e,i)?new Date(NaN):(p.setUTCFullYear(e,l,Math.max(i,u)),p)}}function ti(s){return s?parseInt(s):1}function w7(s){const e=s.match(g7);if(!e)return NaN;const a=Md(e[1]),r=Md(e[2]),i=Md(e[3]);return T7(a,r,i)?a*Dm+r*km+i*1e3:NaN}function Md(s){return s&&parseFloat(s.replace(",","."))||0}function b7(s){if(s==="Z")return 0;const e=s.match(y7);if(!e)return 0;const a=e[1]==="+"?-1:1,r=parseInt(e[2]),i=e[3]&&parseInt(e[3])||0;return k7(r,i)?a*(r*Dm+i*km):NaN}function E7(s,e,a){const r=new Date(0);r.setUTCFullYear(s,0,4);const i=r.getUTCDay()||7,l=(e-1)*7+a+1-i;return r.setUTCDate(r.getUTCDate()+l),r}const C7=[31,null,31,30,31,30,31,31,30,31,30,31];function Rm(s){return s%400===0||s%4===0&&s%100!==0}function x7(s,e,a){return e>=0&&e<=11&&a>=1&&a<=(C7[e]||(Rm(s)?29:28))}function H7(s,e){return e>=1&&e<=(Rm(s)?366:365)}function L7(s,e,a){return e>=1&&e<=53&&a>=0&&a<=6}function T7(s,e,a){return s===24?e===0&&a===0:a>=0&&a<60&&e>=0&&e<60&&s>=0&&s<25}function k7(s,e){return e>=0&&e<=59}function ni(s,e){const a=rt(s),r=a.getFullYear(),i=a.getDate(),l=La(s,0);l.setFullYear(r,e,15),l.setHours(0,0,0,0);const u=Vm(l);return a.setMonth(e,Math.min(i,u)),a}function Fl(s,e){let a=rt(s);return isNaN(+a)?La(s,NaN):(e.year!=null&&a.setFullYear(e.year),e.month!=null&&(a=ni(a,e.month)),e.date!=null&&a.setDate(e.date),e.hours!=null&&a.setHours(e.hours),e.minutes!=null&&a.setMinutes(e.minutes),e.seconds!=null&&a.setSeconds(e.seconds),e.milliseconds!=null&&a.setMilliseconds(e.milliseconds),a)}function D7(s,e){const a=rt(s);return a.setDate(e),a}function zm(s,e){const a=rt(s);return isNaN(+a)?La(s,NaN):(a.setFullYear(e),a)}function rr(s,e){return Rr(s,-e)}function ai(s,e){const{years:a=0,months:r=0,weeks:i=0,days:l=0,hours:u=0,minutes:h=0,seconds:m=0}=e,p=rr(s,r+a*12),y=$l(p,l+i*7),M=h+u*60,w=(m+M*60)*1e3;return La(s,y.getTime()-w)}function vd(s,e){return zr(s,-1)}const Sd=new Date(Date.UTC(1868,8,7)),Fr=[{eraJp:"令和",eraEn:"Reiwa",start:new Date(2019,4,1)},{eraJp:"平成",eraEn:"Heisei",start:new Date(1989,0,8)},{eraJp:"昭和",eraEn:"Shouwa",start:new Date(1926,11,25)},{eraJp:"大正",eraEn:"Taishou",start:new Date(1912,6,30)},{eraJp:"明治",eraEn:"Meiji",start:new Date(1868,7,7)}],$m=s=>{var e;return((e=Fr.find(a=>a.start<=s))==null?void 0:e.eraJp)??""},Bm=s=>{var e;return((e=Fr.find(a=>a.start<=s))==null?void 0:e.eraEn[0])??""},Fm=s=>{var e;return s.getFullYear()-(((e=Fr.find(a=>a.start<=s))==null?void 0:e.start.getFullYear())??1)+1},_7=Fr.map(s=>s.eraJp),N7=Fr.map(s=>s.eraEn[0]),Yl="元",or={getEra(s,e){if(s<Sd)throw new Error(`${s} is incorrect gengou date. The Gengou calendar begins on September 8, 1868.`);return e?Bm(s):$m(s)},getYear(s,e,a,r){let i=s.getFullYear();if(r&&(r.startsWith("g")||r.startsWith("G"))){if(s<Sd)throw new Error(`${s} is incorrect gengou date. The Gengou calendar begins on September 8, 1868.`);if(i=Fm(s),i===1&&e.startsWith("Y")&&r.startsWith("g"))return Yl}return a(e.length<=2?i%100:i,e.length)},getEraYear(s,e,a){let r=s.getFullYear(),i="";const l=e.match(/[yY]+/g),u=l?l[0]:"",h=e.startsWith("g")?$m(s):Bm(s);if(s<Sd)throw new Error(`${s} is incorrect gengou date. The Gengou calendar begins on September 8, 1868.`);return r=Fm(s),r===1&&u.startsWith("Y")&&e.startsWith("g")&&(i=Yl),i=a(u.length<=2?r%100:r,u.length),`${e.startsWith("gg")?h:h[0]}${i}`},parseYear(s,e){const a=e===Yl?1:parseInt(e),r=Fr.find(i=>i.eraEn.startsWith(s)||i.eraJp.startsWith(s));if(!r)throw new Error(`${s} is not valid Gengou era.`);return r.start.getFullYear()+a-1},erasJp:_7,erasEn:N7,firstYear:Yl},V7={"Short date":"yyyy-MM-dd","Long date":"dddd dd MMMM yyyy","Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:0},A7={"Short date":"dd/MM/yyyy","Long date":"yyyy MMMM d, dddd","Month/day":"MMMM d","Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":"MMMM yyyy",weekStartsOn:0},P7={"Short date":"dd/MM/yyyy","Long date":"dd MMMM, yyyy","Month/day":"dd MMMM","Short time":"hh:mm tt","Long time":"hh:mm:ss tt","Year/month":"MMMM, yyyy",weekStartsOn:6},O7={"Short date":"dd/MM/yyyy","Long date":"dd MMMM, yyyy","Month/day":"dd MMMM","Short time":"hh:mm tt","Long time":"hh:mm:ss tt","Year/month":"MMMM, yyyy",weekStartsOn:6},R7={"Short date":"dd-MM-yyyy","Long date":"dd MMMM, yyyy","Month/day":"dd MMMM","Short time":"H:mm","Long time":"H:mm:ss","Year/month":"MMMM, yyyy",weekStartsOn:6},z7={"Short date":"dd/MM/yyyy","Long date":"dd MMMM, yyyy","Month/day":"dd MMMM","Short time":"hh:mm tt","Long time":"hh:mm:ss tt","Year/month":"MMMM, yyyy",weekStartsOn:6},$7={"Short date":"dd/MM/yyyy","Long date":"dd MMMM, yyyy","Month/day":"dd MMMM","Short time":"hh:mm tt","Long time":"hh:mm:ss tt","Year/month":"MMMM, yyyy",weekStartsOn:6},B7={"Short date":"dd/MM/yyyy","Long date":"dd MMMM, yyyy","Month/day":"dd MMMM","Short time":"hh:mm tt","Long time":"hh:mm:ss tt","Year/month":"MMMM, yyyy",weekStartsOn:6},F7={"Short date":"dd/MM/yyyy","Long date":"dd MMMM, yyyy","Month/day":"dd MMMM","Short time":"hh:mm tt","Long time":"hh:mm:ss tt","Year/month":"MMMM, yyyy",weekStartsOn:6},Y7={"Short date":"dd/MM/yyyy","Long date":"dd MMMM, yyyy","Month/day":"dd MMMM","Short time":"hh:mm tt","Long time":"hh:mm:ss tt","Year/month":"MMMM, yyyy",weekStartsOn:1},I7={"Short date":"dd/MM/yyyy","Long date":"dd MMMM, yyyy","Month/day":"dd MMMM","Short time":"hh:mm tt","Long time":"hh:mm:ss tt","Year/month":"MMMM, yyyy",weekStartsOn:6},Z7={"Short date":"dd-MM-yyyy","Long date":"dd MMMM, yyyy","Month/day":"dd MMMM","Short time":"H:mm","Long time":"H:mm:ss","Year/month":"MMMM, yyyy",weekStartsOn:1},U7={"Short date":"dd/MM/yyyy","Long date":"dd MMMM, yyyy","Month/day":"dd MMMM","Short time":"hh:mm tt","Long time":"hh:mm:ss tt","Year/month":"MMMM, yyyy",weekStartsOn:6},G7={"Short date":"dd/MM/yyyy","Long date":"dd MMMM, yyyy","Month/day":"dd MMMM","Short time":"hh:mm tt","Long time":"hh:mm:ss tt","Year/month":"MMMM, yyyy",weekStartsOn:6},X7={"Short date":"dd/MM/yy","Long date":"dd/MMMM/yyyy","Month/day":"dd MMMM","Short time":"hh:mm tt","Long time":"hh:mm:ss tt","Year/month":"MMMM, yyyy",weekStartsOn:0},j7={"Short date":"dd/MM/yyyy","Long date":"dd MMMM, yyyy","Month/day":"dd MMMM","Short time":"hh:mm tt","Long time":"hh:mm:ss tt","Year/month":"MMMM, yyyy",weekStartsOn:6},q7={"Short date":"dd-MM-yyyy","Long date":"dd MMMM, yyyy","Month/day":"dd MMMM","Short time":"H:mm","Long time":"H:mm:ss","Year/month":"MMMM, yyyy",weekStartsOn:1},W7={"Short date":"dd/MM/yyyy","Long date":"dd MMMM, yyyy","Month/day":"dd MMMM","Short time":"hh:mm tt","Long time":"hh:mm:ss tt","Year/month":"MMMM, yyyy",weekStartsOn:0},K7={"Short date":"dd-MM-yyyy","Long date":'dddd, dd" de "MMMM" de "yyyy',"Month/day":'d "de" MMMM',"Short time":"H:mm","Long time":"H:mm:ss","Year/month":'MMMM" de "yyyy',weekStartsOn:1},Q7={"Short date":"dd-MM-yyyy","Long date":"yyyy,MMMM dd, dddd","Month/day":"d MMMM","Short time":"tt h:mm","Long time":"tt h:mm:ss","Year/month":"MMMM,yy",weekStartsOn:0},J7={"Short date":"dd.MM.yyyy","Long date":"d MMMM yyyy, dddd","Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},e6={"Short date":"dd.MM.yyyy","Long date":"d MMMM yyyy, dddd","Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},t6={"Short date":"dd.MM.yy","Long date":'d MMMM yyyy "й"',"Month/day":"d MMMM","Short time":"H:mm","Long time":"H:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},n6={"Short date":"dd.MM.yy","Long date":"d MMMM yyyy","Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy г.",weekStartsOn:1},a6={"Short date":'d.M.yyyy "г."',"Long date":'dd MMMM yyyy "г."',"Month/day":"d MMMM","Short time":"H:mm","Long time":"H:mm:ss","Year/month":'MMMM yyyy "г."',weekStartsOn:1},s6={"Short date":"d/M/yyyy","Long date":"dddd, d MMMM, yyyy","Month/day":"d MMMM","Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":"MMMM yyyy",weekStartsOn:0},r6={"Short date":"dd-MM-yy","Long date":"dd MMMM yyyy","Month/day":"d MMMM","Short time":"HH.mm","Long time":"HH.mm.ss","Year/month":"MMMM, yyyy",weekStartsOn:0},o6={"Short date":"yyyy/M/d","Long date":'yyyy"ལོའི་ཟླ" M"ཚེས" d',"Month/day":"ཟླ་Mཚེས་d","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":'yyyy"ལོའི་ཟླ་" M',weekStartsOn:1},i6={"Short date":"dd/MM/yyyy","Long date":"dddd d MMMM yyyy","Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},l6={"Short date":"d.M.yyyy","Long date":"d. MMMM yyyy","Month/day":"MMMM dd","Short time":"H:mm","Long time":"H:mm:ss","Year/month":"MMMM, yyyy",weekStartsOn:1},c6={"Short date":"d. M. yyyy.","Long date":"dddd, d. MMMM yyyy.","Month/day":"d. MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy.",weekStartsOn:1},u6={"Short date":"d/M/yyyy","Long date":'dddd, d MMMM "de" yyyy',"Month/day":"d MMMM","Short time":"H:mm","Long time":"H:mm:ss","Year/month":'MMMM "de" yyyy',weekStartsOn:1},d6={"Short date":"dd/MM/yyyy","Long date":"dddd d MMMM yyyy","Month/day":'d" di "MMMM',"Short time":"HH:mm","Long time":"H:mm:ss","Year/month":'MMMM" di u "yyyy',weekStartsOn:1},h6={"Short date":"dd.MM.yyyy","Long date":"dddd d. MMMM yyyy","Month/day":"d. MMMM","Short time":"H:mm","Long time":"H:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},m6={"Short date":"dd/MM/yyyy","Long date":"dddd, d MMMM yyyy","Month/day":"MMMM d","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},f6={"Short date":"dd-MM-yyyy","Long date":"d. MMMM yyyy","Month/day":"d. MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},p6={"Short date":"dd.MM.yyyy","Long date":"dddd, d. MMMM yyyy","Month/day":"d. MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},g6={"Short date":"dd.MM.yyyy","Long date":"dddd, d. MMMM yyyy","Month/day":"d. MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},y6={"Short date":"dd.MM.yyyy","Long date":"dddd, d. MMMM yyyy","Month/day":"dd MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},M6={"Short date":"dd.MM.yyyy","Long date":"dddd, d. MMMM yyyy","Month/day":"d. MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},v6={"Short date":"dd.MM.yyyy","Long date":"dddd, d. MMMM yyyy","Month/day":"d. MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},S6={"Short date":"MM/dd/yyyy","Long date":"dddd, dd MMMM yyyy","Month/day":"MMMM dd","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"yyyy MMMM",weekStartsOn:5},w6={"Short date":"d/M/yyyy","Long date":"dddd, d MMMM yyyy","Month/day":"d MMMM","Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":"MMMM yyyy",weekStartsOn:1},b6={"Short date":"d/MM/yyyy","Long date":"dddd, d MMMM yyyy","Month/day":"d MMMM","Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":"MMMM yyyy",weekStartsOn:1},E6={"Short date":"dd/MM/yyyy","Long date":"dddd, dd MMMM yyyy","Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:0},C6={"Short date":"dd/MM/yyyy","Long date":"MMMM-dd-yy","Month/day":"MMMM dd","Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":"MMMM, yyyy",weekStartsOn:0},x6={"Short date":"M/d/yyyy","Long date":"dddd, MMMM d, yyyy","Month/day":"MMMM d","Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":"MMMM yyyy",weekStartsOn:1},H6={"Short date":"dd/MM/yyyy","Long date":"dd MMMM yyyy","Month/day":"dd MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},L6={"Short date":"dd/MM/yyyy","Long date":"dddd d MMMM yyyy","Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},T6={"Short date":"dd-MM-yyyy","Long date":"dd MMMM yyyy","Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM, yyyy",weekStartsOn:0},k6={"Short date":"d/M/yyyy","Long date":"dddd, d MMMM yyyy","Month/day":"d MMMM","Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":"MMMM yyyy",weekStartsOn:0},D6={"Short date":"d/M/yyyy","Long date":"dddd, d MMMM, yyyy","Month/day":"d MMMM","Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":"MMMM, yyyy",weekStartsOn:1},_6={"Short date":"d/MM/yyyy","Long date":"dddd, d MMMM yyyy","Month/day":"d MMMM","Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":"MMMM yyyy",weekStartsOn:1},N6={"Short date":"dd/MM/yyyy","Long date":"dddd, d MMMM yyyy","Month/day":"d MMMM","Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":"MMMM yyyy",weekStartsOn:0},V6={"Short date":"d/M/yyyy","Long date":"dddd, d MMMM yyyy","Month/day":"d MMMM","Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":"MMMM yyyy",weekStartsOn:0},A6={"Short date":"dd/MM/yyyy","Long date":"dddd, d MMMM yyyy","Month/day":"d MMMM","Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":"MMMM yyyy",weekStartsOn:0},P6={"Short date":"M/d/yyyy","Long date":"dddd, MMMM dd, yyyy","Month/day":"MMMM dd","Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":"MMMM, yyyy",weekStartsOn:0},O6={"Short date":"yyyy/MM/dd","Long date":"dddd, dd MMMM yyyy","Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:0},R6={"Short date":"d/M/yyyy","Long date":"dddd, dd MMMM yyyy","Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:0},z6={"Short date":"d/M/yyyy","Long date":'dddd, d "de" MMMM "de" yyyy',"Month/day":'d "de" MMMM',"Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":'MMMM "de" yyyy',weekStartsOn:1},$6={"Short date":"d/M/yyyy","Long date":'dddd, d "de" MMMM "de" yyyy',"Month/day":'d "de" MMMM',"Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":'MMMM "de" yyyy',weekStartsOn:1},B6={"Short date":"dd-MM-yyyy","Long date":'dddd, d "de" MMMM "de" yyyy',"Month/day":'d "de" MMMM',"Short time":"H:mm","Long time":"H:mm:ss","Year/month":'MMMM "de" yyyy',weekStartsOn:1},F6={"Short date":"d/MM/yyyy","Long date":'dddd, d "de" MMMM "de" yyyy',"Month/day":'d "de" MMMM',"Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":'MMMM "de" yyyy',weekStartsOn:0},Y6={"Short date":"d/M/yyyy","Long date":'dddd, d "de" MMMM "de" yyyy',"Month/day":'d "de" MMMM',"Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":'MMMM "de" yyyy',weekStartsOn:1},I6={"Short date":"d/M/yyyy","Long date":'dddd, d "de" MMMM "de" yyyy',"Month/day":'d "de" MMMM',"Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":'MMMM "de" yyyy',weekStartsOn:0},Z6={"Short date":"d/M/yyyy","Long date":'dddd, d "de" MMMM "de" yyyy',"Month/day":'d "de" MMMM',"Short time":"H:mm","Long time":"H:mm:ss","Year/month":'MMMM "de" yyyy',weekStartsOn:1},U6={"Short date":"dd/MM/yyyy","Long date":'dddd, d" de "MMMM" de "yyyy',"Month/day":'d "de" MMMM',"Short time":"H:mm","Long time":"H:mm:ss","Year/month":'MMMM" de "yyyy',weekStartsOn:1},G6={"Short date":"d/MM/yyyy","Long date":'dddd, d "de" MMMM "de" yyyy',"Month/day":'d "de" MMMM',"Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":'MMMM "de" yyyy',weekStartsOn:0},X6={"Short date":"d/M/yyyy","Long date":'dddd dd "de" MMMM "de" yyyy',"Month/day":'d "de" MMMM',"Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":'MMMM "de" yyyy',weekStartsOn:0},j6={"Short date":"dd/MM/yyyy","Long date":'dddd, d" de "MMMM" de "yyyy',"Month/day":'d "de" MMMM',"Short time":"hh:mm tt","Long time":"hh:mm:ss tt","Year/month":'MMMM" de "yyyy',weekStartsOn:0},q6={"Short date":"d/M/yyyy","Long date":'dddd, d "de" MMMM "de" yyyy',"Month/day":'d "de" MMMM',"Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":'MMMM "de" yyyy',weekStartsOn:0},W6={"Short date":"MM/dd/yyyy","Long date":'dddd, d "de" MMMM "de" yyyy',"Month/day":'d "de" MMMM',"Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":'MMMM "de" yyyy',weekStartsOn:0},K6={"Short date":"d/MM/yyyy","Long date":'dddd, d "de" MMMM "de" yyyy',"Month/day":'d "de" MMMM',"Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":'MMMM "de" yyyy',weekStartsOn:0},Q6={"Short date":"MM/dd/yyyy","Long date":'dddd, d "de" MMMM "de" yyyy',"Month/day":'d "de" MMMM',"Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":'MMMM "de" yyyy',weekStartsOn:0},J6={"Short date":"d/M/yyyy","Long date":'dddd, d "de" MMMM "de" yyyy',"Month/day":'d "de" MMMM',"Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":'MMMM "de" yyyy',weekStartsOn:0},eM={"Short date":"d/M/yyyy","Long date":'dddd, d "de" MMMM "de" yyyy',"Month/day":'d "de" MMMM',"Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":'MMMM "de" yyyy',weekStartsOn:0},tM={"Short date":"M/d/yyyy","Long date":"dddd, MMMM dd, yyyy","Month/day":"MMMM d","Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":'MMMM" de "yyyy',weekStartsOn:0},nM={"Short date":"d/M/yyyy","Long date":'dddd, d "de" MMMM "de" yyyy',"Month/day":'d "de" MMMM',"Short time":"H:mm","Long time":"H:mm:ss","Year/month":'MMMM "de" yyyy',weekStartsOn:1},aM={"Short date":"d/M/yyyy","Long date":'dddd, d "de" MMMM "de" yyyy',"Month/day":'d "de" MMMM',"Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":'MMMM "de" yyyy',weekStartsOn:0},sM={"Short date":"dd.MM.yyyy","Long date":"dddd, d. MMMM yyyy","Month/day":"d. MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},rM={"Short date":"yyyy/M/d","Long date":'yyyy("e")"ko" MMMM"ren" d("a"), dddd',"Month/day":"MMMM d","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":'yyyy("e")"ko" MMMM',weekStartsOn:1},Ym={"Short date":"dd/MM/yyyy","Long date":"dddd, d MMMM yyyy","Month/day":"d MMMM","Short time":"hh:mm tt","Long time":"hh:mm:ss tt","Year/month":"MMMM, yyyy",weekStartsOn:6},oM={"Short date":"d.M.yyyy","Long date":"dddd d. MMMM yyyy","Month/day":"d. MMMM","Short time":"H.mm","Long time":"H.mm.ss","Year/month":"MMMM yyyy",weekStartsOn:1},iM={"Short date":"M/d/yyyy","Long date":"dddd, MMMM d, yyyy","Month/day":"MMMM d","Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":"MMMM yyyy",weekStartsOn:0},lM={"Short date":"dd.MM.yyyy","Long date":"dddd, d. MMMM yyyy","Month/day":"d. MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},cM={"Short date":"dd-MM-yy","Long date":"dddd d MMMM yyyy","Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},uM={"Short date":"yyyy-MM-dd","Long date":"d MMMM yyyy","Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM, yyyy",weekStartsOn:0},dM={"Short date":"dd.MM.yyyy","Long date":"dddd, d MMMM yyyy","Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},hM={"Short date":"dd/MM/yyyy","Long date":"dddd d MMMM yyyy","Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},mM={"Short date":"dd/MM/yyyy","Long date":"dddd d MMMM yyyy","Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},fM={"Short date":"dd/MM/yyyy","Long date":"dddd d MMMM yyyy","Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},pM={"Short date":"dd-MM-yyyy","Long date":"dddd d MMMM yyyy","Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},gM={"Short date":"dd/MM/yyyy","Long date":"dddd d MMMM yyyy","Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},yM={"Short date":"dd/MM/yyyy","Long date":'dddd, d"mh" MMMM yyyy',"Month/day":'d"mh" MMMM',"Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},MM={"Short date":"dd/MM/yyyy","Long date":'dddd, d "de" MMMM "de" yyyy',"Month/day":'d "de" MMMM',"Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":'MMMM "de" yyyy',weekStartsOn:1},vM={"Short date":"dd/MM/yyyy","Long date":"dddd d MMMM yyyy","Month/day":"d. MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},SM={"Short date":"dd-MM-yy","Long date":"dd MMMM yyyy","Month/day":"dd MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM, yyyy",weekStartsOn:0},wM={"Short date":"d/M/yyyy","Long date":"dddd d MMMM, yyyy","Month/day":"MMMM d","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},bM={"Short date":"dd/MM/yyyy","Long date":"dddd dd MMMM yyyy","Month/day":"dd MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:0},EM={"Short date":"dd-MM-yyyy","Long date":"dd MMMM yyyy","Month/day":"dd MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM, yyyy",weekStartsOn:0},CM={"Short date":"d. M. yyyy.","Long date":"dddd, d. MMMM yyyy.","Month/day":"d. MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy.",weekStartsOn:1},xM={"Short date":"d.M.yyyy.","Long date":"d. MMMM yyyy.","Month/day":"d. MMMM","Short time":"H:mm","Long time":"H:mm:ss","Year/month":"MMMM, yyyy",weekStartsOn:1},HM={"Short date":"yyyy. MM. dd.","Long date":"yyyy. MMMM d., dddd","Month/day":"MMMM d.","Short time":"H:mm","Long time":"H:mm:ss","Year/month":"yyyy. MMMM",weekStartsOn:1},LM={"Short date":"dd.MM.yyyy","Long date":"d MMMM, yyyy","Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM, yyyy",weekStartsOn:1},TM={"Short date":"dd/MM/yyyy","Long date":"dddd, dd MMMM yyyy","Month/day":"d MMMM","Short time":"HH.mm","Long time":"HH.mm.ss","Year/month":"MMMM yyyy",weekStartsOn:0},kM={"Short date":"d/M/yyyy","Long date":"dddd, d MMMM yyyy","Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},DM={"Short date":"yyyy/M/d","Long date":'yyyy"ꈎ" M"ꆪ" d"ꑍ"',"Month/day":"M’ ꆪ’d’ ꑍ’","Short time":"tt h:mm","Long time":"tt h:mm:ss","Year/month":'yyyy"ꈎ" M"ꆪ"',weekStartsOn:1},_M={"Short date":"d.M.yyyy","Long date":"dddd, d. MMMM yyyy","Month/day":"d. MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},NM={"Short date":"dd.MM.yyyy","Long date":"dddd, d MMMM yyyy","Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},VM={"Short date":"dd/MM/yyyy","Long date":"dddd d MMMM yyyy","Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},AM={"Short date":"d/M/yyyy","Long date":"dddd,MMMM dd,yyyy","Month/day":"d MMMM","Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":"MMMM,yyyy",weekStartsOn:0},PM={"Short date":"d/MM/yyyy","Long date":"dddd, dd MMMM, yyyy","Month/day":"MMMM d","Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":"MMMM, yyyy",weekStartsOn:0},OM={"Short date":"yyyy/MM/dd","Long date":'yyyy"年"M"月"d"日"',"Month/day":'M"月"d"日"',"Short time":"H:mm","Long time":"H:mm:ss","Year/month":'yyyy"年"M"月"',weekStartsOn:0},RM={"Short date":"dd.MM.yyyy","Long date":"dddd, dd MMMM, yyyy","Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM, yyyy",weekStartsOn:1},zM={"Short date":"dd.MM.yyyy","Long date":'yyyy "ж". d MMMM, dddd',"Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":'yyyy "ж". MMMM',weekStartsOn:1},$M={"Short date":"dd-MM-yyyy","Long date":'MMMM d".-at, "yyyy',"Month/day":'MMMM d".-at"',"Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},BM={"Short date":"dd/MM/yy","Long date":"d MMMM yyyy","Month/day":"d MMMM","Short time":"H:mm","Long time":"HH:mm:ss","Year/month":'"ខែ" MM "ឆ្នាំ" yyyy',weekStartsOn:0},FM={"Short date":"dd-MM-yy","Long date":"dd MMMM yyyy","Month/day":"MMMM d","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM, yyyy",weekStartsOn:0},YM={"Short date":"yyyy-MM-dd","Long date":'yyyy"년" M"월" d"일" dddd',"Month/day":"M월 d일","Short time":"tt h:mm","Long time":"tt h:mm:ss","Year/month":'yyyy"년" M"월"',weekStartsOn:0},IM={"Short date":"dd-MM-yyyy","Long date":"dd MMMM yyyy","Month/day":"dd MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM, yyyy",weekStartsOn:0},ZM={"Short date":"d/M/yyyy","Long date":'yyyy-"ж"., d-MMMM, dddd',"Month/day":"d-MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":'yyyy-"ж"., MMMM',weekStartsOn:1},UM={"Short date":"dd.MM.yy","Long date":"d. MMMM yyyy","Month/day":"dd. MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},GM={"Short date":"d/M/yyyy","Long date":"dddd ທີ d MMMM gg yyyy","Month/day":"MMMM d","Short time":"H:mm","Long time":"H:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:0},XM={"Short date":"yyyy-MM-dd","Long date":'yyyy "m". MMMM d "d"., dddd',"Month/day":'MMMM d "d".',"Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":'yyyy "m". MMMM',weekStartsOn:1},jM={"Short date":"dd.MM.yyyy","Long date":'dddd, yyyy. "gada" d. MMMM',"Month/day":"d. MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":'yyyy. "g". MMMM',weekStartsOn:1},qM={"Short date":"dd/MM/yyyy","Long date":"dddd, dd MMMM, yyyy","Month/day":"d MMMM","Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":"MMMM, yy",weekStartsOn:1},WM={"Short date":"dd.M.yyyy","Long date":"dddd, dd MMMM yyyy","Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":'MMMM yyyy "г".',weekStartsOn:1},KM={"Short date":"d/M/yyyy","Long date":"yyyy, MMMM d, dddd","Month/day":"MMMM d","Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":"yyyy MMMM",weekStartsOn:0},QM={"Short date":"yyyy.MM.dd","Long date":"yyyy.MM.dd, dddd","Month/day":'MMMM"ын" d',"Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":'yyyy "оны" MMMM',weekStartsOn:1},JM={"Short date":"yyyy/M/d","Long date":"yyyyᠣᠨ MMMM dᠡᠳᠦᠷ᠂ dddd","Month/day":"MMMM dᠡᠳᠦᠷ","Short time":"H:mm","Long time":"H:mm:ss","Year/month":"yyyyᠣᠨ MMMM",weekStartsOn:1},ev={"Short date":"yyyy/M/d","Long date":"yyyyᠣᠨ MMMM dᠡᠳᠦᠷ᠂ dddd","Month/day":"MMMM dᠡᠳᠦᠷ","Short time":"H:mm","Long time":"H:mm:ss","Year/month":"yyyyᠣᠨ MMMM",weekStartsOn:1},tv={"Short date":"M/d/yyyy","Long date":"dddd, MMMM dd, yyyy","Month/day":"MMMM dd","Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":"MMMM, yyyy",weekStartsOn:0},nv={"Short date":"dd-MM-yyyy","Long date":"dd MMMM yyyy","Month/day":"dd MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM, yyyy",weekStartsOn:0},av={"Short date":"d/MM/yyyy","Long date":"dd MMMM yyyy","Month/day":"d MMMM","Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":"MMMM yyyy",weekStartsOn:1},sv={"Short date":"d/MM/yyyy","Long date":"dddd, d MMMM yyyy","Month/day":"d MMMM","Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":"MMMM yyyy",weekStartsOn:1},rv={"Short date":"dd/MM/yyyy","Long date":'dddd, d "ta"’ MMMM yyyy',"Month/day":'d "ta"’ MMMM',"Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:0},ov={"Short date":"dd.MM.yyyy","Long date":"dddd d. MMMM yyyy","Month/day":"d. MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},iv={"Short date":"M/d/yyyy","Long date":"dddd, MMMM dd, yyyy","Month/day":"dd MMMM","Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":"MMMM,yyyy",weekStartsOn:0},lv={"Short date":"d/MM/yyyy","Long date":"dddd d MMMM yyyy","Month/day":"d MMMM","Short time":"H:mm","Long time":"H:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},cv={"Short date":"d-M-yyyy","Long date":"dddd d MMMM yyyy","Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},uv={"Short date":"dd.MM.yyyy","Long date":"dddd d. MMMM yyyy","Month/day":"d. MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},dv={"Short date":"yyyy-MM-dd","Long date":"yyyy MMMM d, dddd","Month/day":"MMMM d","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"yyyy MMMM",weekStartsOn:0},hv={"Short date":"dd/MM/yyyy","Long date":'dddd d MMMM" de "yyyy',"Month/day":"d MMMM","Short time":'HH" h "mm',"Long time":"HH.mm.ss","Year/month":'MMMM" de "yyyy',weekStartsOn:1},mv={"Short date":"dd-MM-yy","Long date":"dd MMMM yyyy","Month/day":"dd MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM, yyyy",weekStartsOn:0},fv={"Short date":"dd-MM-yy","Long date":"dd MMMM yyyy dddd","Month/day":"dd MMMM","Short time":"tt hh:mm","Long time":"tt hh:mm:ss","Year/month":"MMMM, yyyy",weekStartsOn:0},pv={"Short date":"dd.MM.yyyy","Long date":"dddd, d MMMM yyyy","Month/day":"d MMMM","Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:1},gv={"Short date":"yyyy/M/d","Long date":"dddd, d MMMM yyyy","Month/day":"d MMMM","Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":"MMMM yyyy",weekStartsOn:6},yv={"Short date":"yyyy/M/d","Long date":"d MMMM yyyy","Month/day":"d MMMM","Short time":"H:mm","Long time":"H:mm:ss","Year/month":"MMMM yyyy",weekStartsOn:6},Mv={"Short date":"dd/MM/yyyy","Long date":'dddd, d" de "MMMM" de "yyyy',"Month/day":'d "de" MMMM',"Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":'MMMM" de "yyyy',weekStartsOn:0},vv={"Short date":"dd/MM/yyyy","Long date":'d" de "MMMM" de "yyyy',"Month/day":'d "de" MMMM',"Short time":"HH:mm","Long time":"HH:mm:ss","Year/month":'MMMM" de "yyyy',weekStartsOn:0},Sv={"Short date":"dd/MM/yyyy","Long date":'dddd, dd" rech "MMMM" rech "yyyy',"Month/day":'d" rech "MMMM',"Short time":"h:mm tt","Long time":"h:mm:ss tt","Year/month":'MMMM" rech "yyyy',weekStartsOn:0},wv={"Short date":"dd/MM/yyyy","Long date":'dddd, dd" de "MMMM" de "yyyy',"Month/day":'d "