2 lines
809 KiB
JavaScript
2 lines
809 KiB
JavaScript
var Go=Object.defineProperty;var Bo=(e,n,t)=>n in e?Go(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t;var te=(e,n,t)=>Bo(e,typeof n!="symbol"?n+"":n,t);import{_ as ka,i as Ut,x as ye,o as j,z as he,a as O,j as ft,y as Be,m as Ve,I as rn,d as $,b as se,n as Me,S as Ia,e as U,M as Vt,a0 as On,a1 as Qa,f as jt,H as In,w as Ct,c as G,a2 as gt,r as Xe,L as ae,a3 as _t,O as b,a4 as ua,E as Qo,k as wa,K as we,s as Dt,F as ke,p as et,a5 as Lt,t as Ee,T as Ma,q as Ra,a6 as qa,a7 as Ko,a8 as Jo,a9 as Uo,C as _i,u as Ni,aa as Zo,g as es,ab as ts}from"./main-D6qyxymd.js";const as={center:"center",right:"flex-end",left:"flex-start",justify:"center"},ns={props:{content:{type:Object,required:!0},wwFrontState:{type:Object,required:!0},wwElementState:{type:Object,required:!0}},emits:["update:content","update:content:effect","change-menu-visibility","change-borders-style","add-state","remove-state","trigger-event"],setup(e){const{hasLink:n,tag:t,properties:a}=wwLib.wwElement.useLink({isDisabled:$(()=>e.content.disabled)});return{hasLink:n,linkTag:t,properties:a}},data(){return{isReallyFocused:!1}},computed:{buttonStyle(){return{justifyContent:as[this.content["_ww-text_textAlign"]]||"center"}},isEditing(){return!1},tag(){return this.isEditing?"div":this.hasLink?this.linkTag:this.content.buttonType==="submit"||this.content.buttonType==="reset"||this.content.buttonType==="button"?"button":"div"},buttonType(){return this.isEditing||this.hasLink?"":this.content.buttonType==="submit"||this.content.buttonType==="reset"||this.content.buttonType==="button"?this.content.buttonType:""},text(){return this.wwElementState.props.text},isFocused(){return this.isReallyFocused}},watch:{"content.disabled":{immediate:!0,handler(e){e?this.$emit("add-state","disabled"):this.$emit("remove-state","disabled")}},isReallyFocused(e,n){e&&!n?this.$emit("trigger-event",{name:"focus"}):!e&&n&&this.$emit("trigger-event",{name:"blur"})},isFocused:{immediate:!0,handler(e){e?this.$emit("add-state","focus"):this.$emit("remove-state","focus")}}},methods:{onBlur(){this.isReallyFocused=!1}}};function rs(e,n,t,a,r,i){const d=Ut("wwElement",!0),m=Ut("wwText");return j(),ye(rn(i.tag),Ve({class:["ww-button",{button:i.tag,"-link":a.hasLink&&!i.isEditing}],type:i.buttonType,style:i.buttonStyle,"data-ww-flag":"btn-"+t.content.buttonType,disabled:t.content.disabled},a.properties,{onFocus:n[0]||(n[0]=l=>r.isReallyFocused=!0),onBlur:n[1]||(n[1]=l=>i.onBlur(l))}),{default:he(()=>[t.content.hasLeftIcon&&t.content.leftIcon?(j(),ye(d,Be(Ve({key:0},t.content.leftIcon)),null,16)):O("",!0),ft(m,{tag:"span",text:i.text},null,8,["text"]),t.content.hasRightIcon&&t.content.rightIcon?(j(),ye(d,Be(Ve({key:1},t.content.rightIcon)),null,16)):O("",!0)]),_:1},16,["class","type","style","data-ww-flag","disabled"])}const P9=ka(ns,[["render",rs],["__scopeId","data-v-b91f172c"]]),is={props:{content:{type:Object,required:!0}},setup(){const{hasLink:e,properties:n,tag:t}=wwLib.wwElement.useLink();return{hasLink:e,properties:n,tag:t}},computed:{style(){return{color:this.content.color,fontSize:`${this.content.fontSize}px`}},isEditing(){return!1}}};function os(e,n,t,a,r,i){return j(),ye(rn(a.tag),Ve(a.properties,{class:["ww-icon",{"-link":a.hasLink&&!i.isEditing}],style:i.style}),{default:he(()=>[se("div",{class:Me([t.content.icon]),"aria-hidden":"true"},null,2)]),_:1},16,["style","class"])}const k9=ka(is,[["render",os],["__scopeId","data-v-fc4fe703"]]),Ci=6048e5,ss=864e5,Xn=6e4,Ln=36e5,us=1e3,Sr=Symbol.for("constructDateFrom");function xe(e,n){return typeof e=="function"?e(n):e&&typeof e=="object"&&Sr in e?e[Sr](n):e instanceof Date?new e.constructor(n):new Date(n)}function me(e,n){return xe(n||e,e)}function Yt(e,n,t){const a=me(e,t==null?void 0:t.in);return isNaN(n)?xe((t==null?void 0:t.in)||e,NaN):(n&&a.setDate(a.getDate()+n),a)}function Ot(e,n,t){const a=me(e,t==null?void 0:t.in);if(isNaN(n))return xe(e,NaN);if(!n)return a;const r=a.getDate(),i=xe(e,a.getTime());i.setMonth(a.getMonth()+n+1,0);const d=i.getDate();return r>=d?i:(a.setFullYear(i.getFullYear(),i.getMonth(),r),a)}function Vi(e,n,t){const{years:a=0,months:r=0,weeks:i=0,days:d=0,hours:m=0,minutes:l=0,seconds:g=0}=n,y=me(e,t==null?void 0:t.in),f=r||a?Ot(y,r+a*12):y,h=d||i?Yt(f,d+i*7):f,k=l+m*60,D=(g+k*60)*1e3;return xe(e,+h+D)}let ds={};function ma(){return ds}function xt(e,n){var m,l,g,y;const t=ma(),a=(n==null?void 0:n.weekStartsOn)??((l=(m=n==null?void 0:n.locale)==null?void 0:m.options)==null?void 0:l.weekStartsOn)??t.weekStartsOn??((y=(g=t.locale)==null?void 0:g.options)==null?void 0:y.weekStartsOn)??0,r=me(e,n==null?void 0:n.in),i=r.getDay(),d=(i<a?7:0)+i-a;return r.setDate(r.getDate()-d),r.setHours(0,0,0,0),r}function ba(e,n){return xt(e,{...n,weekStartsOn:1})}function Ei(e,n){const t=me(e,n==null?void 0:n.in),a=t.getFullYear(),r=xe(t,0);r.setFullYear(a+1,0,4),r.setHours(0,0,0,0);const i=ba(r),d=xe(t,0);d.setFullYear(a,0,4),d.setHours(0,0,0,0);const m=ba(d);return t.getTime()>=i.getTime()?a+1:t.getTime()>=m.getTime()?a:a-1}function Ka(e){const n=me(e),t=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return t.setUTCFullYear(n.getFullYear()),+e-+t}function Yn(e,...n){const t=xe.bind(null,e||n.find(a=>typeof a=="object"));return n.map(t)}function _r(e,n){const t=me(e,n==null?void 0:n.in);return t.setHours(0,0,0,0),t}function Hi(e,n,t){const[a,r]=Yn(t==null?void 0:t.in,e,n),i=_r(a),d=_r(r),m=+i-Ka(i),l=+d-Ka(d);return Math.round((m-l)/ss)}function ls(e,n){const t=Ei(e,n),a=xe(e,0);return a.setFullYear(t,0,4),a.setHours(0,0,0,0),ba(a)}function Fi(e,n,t){return Ot(e,n*12,t)}function Ai(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Ea(e){return!(!Ai(e)&&typeof e!="number"||isNaN(+me(e)))}function ms(e,n){const[t,a]=Yn(e,n.start,n.end);return{start:t,end:a}}function Nr(e,n){const{start:t,end:a}=ms(n==null?void 0:n.in,e);let r=+t>+a;const i=r?+t:+a,d=r?a:t;d.setHours(0,0,0,0);let m=1;const l=[];for(;+d<=i;)l.push(xe(t,d)),d.setDate(d.getDate()+m),d.setHours(0,0,0,0);return r?l.reverse():l}function cs(e,n){const t=me(e,n==null?void 0:n.in);return t.setFullYear(t.getFullYear(),0,1),t.setHours(0,0,0,0),t}function hs(e,n){var m,l,g,y;const t=ma(),a=(n==null?void 0:n.weekStartsOn)??((l=(m=n==null?void 0:n.locale)==null?void 0:m.options)==null?void 0:l.weekStartsOn)??t.weekStartsOn??((y=(g=t.locale)==null?void 0:g.options)==null?void 0:y.weekStartsOn)??0,r=me(e,n==null?void 0:n.in),i=r.getDay(),d=(i<a?-7:0)+6-(i-a);return r.setDate(r.getDate()+d),r.setHours(23,59,59,999),r}const fs={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"}},ca=(e,n,t)=>{let a;const r=fs[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",n.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+a:a+" ago":a};function c(e){return(n={})=>{const t=n.width?String(n.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const gs={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},ps={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},vs={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ys={date:c({formats:gs,defaultWidth:"full"}),time:c({formats:ps,defaultWidth:"full"}),dateTime:c({formats:vs,defaultWidth:"full"})},ws={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Zt=(e,n,t,a)=>ws[e];function o(e){return(n,t)=>{const a=t!=null&&t.context?String(t.context):"standalone";let r;if(a==="formatting"&&e.formattingValues){const d=e.defaultFormattingWidth||e.defaultWidth,m=t!=null&&t.width?String(t.width):d;r=e.formattingValues[m]||e.formattingValues[d]}else{const d=e.defaultWidth,m=t!=null&&t.width?String(t.width):e.defaultWidth;r=e.values[m]||e.values[d]}const i=e.argumentCallback?e.argumentCallback(n):n;return r[i]}}const bs={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Ps={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ks={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"]},Ms={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"]},$s={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"}},Ws={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"}},Ds=(e,n)=>{const t=Number(e),a=t%100;if(a>20||a<10)switch(a%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},ea={ordinalNumber:Ds,era:o({values:bs,defaultWidth:"wide"}),quarter:o({values:Ps,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:ks,defaultWidth:"wide"}),day:o({values:Ms,defaultWidth:"wide"}),dayPeriod:o({values:$s,defaultWidth:"wide",formattingValues:Ws,defaultFormattingWidth:"wide"})};function s(e){return(n,t={})=>{const a=t.width,r=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],i=n.match(r);if(!i)return null;const d=i[0],m=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(m)?js(m,f=>f.test(d)):xs(m,f=>f.test(d));let g;g=e.valueCallback?e.valueCallback(l):l,g=t.valueCallback?t.valueCallback(g):g;const y=n.slice(d.length);return{value:g,rest:y}}}function xs(e,n){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&n(e[t]))return t}function js(e,n){for(let t=0;t<e.length;t++)if(n(e[t]))return t}function K(e){return(n,t={})=>{const a=n.match(e.matchPattern);if(!a)return null;const r=a[0],i=n.match(e.parsePattern);if(!i)return null;let d=e.valueCallback?e.valueCallback(i[0]):i[0];d=t.valueCallback?t.valueCallback(d):d;const m=n.slice(r.length);return{value:d,rest:m}}}const zs=/^(\d+)(th|st|nd|rd)?/i,Ts=/\d+/i,Ss={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},_s={any:[/^b/i,/^(a|c)/i]},Ns={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Cs={any:[/1/i,/2/i,/3/i,/4/i]},Vs={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},Es={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]},Hs={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},Fs={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]},As={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},Os={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}},ta={ordinalNumber:K({matchPattern:zs,parsePattern:Ts,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:Ss,defaultMatchWidth:"wide",parsePatterns:_s,defaultParseWidth:"any"}),quarter:s({matchPatterns:Ns,defaultMatchWidth:"wide",parsePatterns:Cs,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:Vs,defaultMatchWidth:"wide",parsePatterns:Es,defaultParseWidth:"any"}),day:s({matchPatterns:Hs,defaultMatchWidth:"wide",parsePatterns:Fs,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:As,defaultMatchWidth:"any",parsePatterns:Os,defaultParseWidth:"any"})},Rn={code:"en-US",formatDistance:ca,formatLong:ys,formatRelative:Zt,localize:ea,match:ta,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Is(e,n){const t=me(e,n==null?void 0:n.in);return Hi(t,cs(t))+1}function qn(e,n){const t=me(e,n==null?void 0:n.in),a=+ba(t)-+ls(t);return Math.round(a/Ci)+1}function Gn(e,n){var y,f,h,k;const t=me(e,n==null?void 0:n.in),a=t.getFullYear(),r=ma(),i=(n==null?void 0:n.firstWeekContainsDate)??((f=(y=n==null?void 0:n.locale)==null?void 0:y.options)==null?void 0:f.firstWeekContainsDate)??r.firstWeekContainsDate??((k=(h=r.locale)==null?void 0:h.options)==null?void 0:k.firstWeekContainsDate)??1,d=xe((n==null?void 0:n.in)||e,0);d.setFullYear(a+1,0,i),d.setHours(0,0,0,0);const m=xt(d,n),l=xe((n==null?void 0:n.in)||e,0);l.setFullYear(a,0,i),l.setHours(0,0,0,0);const g=xt(l,n);return+t>=+m?a+1:+t>=+g?a:a-1}function Xs(e,n){var m,l,g,y;const t=ma(),a=(n==null?void 0:n.firstWeekContainsDate)??((l=(m=n==null?void 0:n.locale)==null?void 0:m.options)==null?void 0:l.firstWeekContainsDate)??t.firstWeekContainsDate??((y=(g=t.locale)==null?void 0:g.options)==null?void 0:y.firstWeekContainsDate)??1,r=Gn(e,n),i=xe((n==null?void 0:n.in)||e,0);return i.setFullYear(r,0,a),i.setHours(0,0,0,0),xt(i,n)}function Bn(e,n){const t=me(e,n==null?void 0:n.in),a=+xt(t,n)-+Xs(t,n);return Math.round(a/Ci)+1}function We(e,n){const t=e<0?"-":"",a=Math.abs(e).toString().padStart(n,"0");return t+a}const Kt={y(e,n){const t=e.getFullYear(),a=t>0?t:1-t;return We(n==="yy"?a%100:a,n.length)},M(e,n){const t=e.getMonth();return n==="M"?String(t+1):We(t+1,2)},d(e,n){return We(e.getDate(),n.length)},a(e,n){const t=e.getHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return t.toUpperCase();case"aaa":return t;case"aaaaa":return t[0];case"aaaa":default:return t==="am"?"a.m.":"p.m."}},h(e,n){return We(e.getHours()%12||12,n.length)},H(e,n){return We(e.getHours(),n.length)},m(e,n){return We(e.getMinutes(),n.length)},s(e,n){return We(e.getSeconds(),n.length)},S(e,n){const t=n.length,a=e.getMilliseconds(),r=Math.trunc(a*Math.pow(10,t-3));return We(r,n.length)}},pa={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Cr={G:function(e,n,t){const a=e.getFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return t.era(a,{width:"abbreviated"});case"GGGGG":return t.era(a,{width:"narrow"});case"GGGG":default:return t.era(a,{width:"wide"})}},y:function(e,n,t){if(n==="yo"){const a=e.getFullYear(),r=a>0?a:1-a;return t.ordinalNumber(r,{unit:"year"})}return Kt.y(e,n)},Y:function(e,n,t,a){const r=Gn(e,a),i=r>0?r:1-r;if(n==="YY"){const d=i%100;return We(d,2)}return n==="Yo"?t.ordinalNumber(i,{unit:"year"}):We(i,n.length)},R:function(e,n){const t=Ei(e);return We(t,n.length)},u:function(e,n){const t=e.getFullYear();return We(t,n.length)},Q:function(e,n,t){const a=Math.ceil((e.getMonth()+1)/3);switch(n){case"Q":return String(a);case"QQ":return We(a,2);case"Qo":return t.ordinalNumber(a,{unit:"quarter"});case"QQQ":return t.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return t.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,n,t){const a=Math.ceil((e.getMonth()+1)/3);switch(n){case"q":return String(a);case"qq":return We(a,2);case"qo":return t.ordinalNumber(a,{unit:"quarter"});case"qqq":return t.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return t.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,n,t){const a=e.getMonth();switch(n){case"M":case"MM":return Kt.M(e,n);case"Mo":return t.ordinalNumber(a+1,{unit:"month"});case"MMM":return t.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return t.month(a,{width:"wide",context:"formatting"})}},L:function(e,n,t){const a=e.getMonth();switch(n){case"L":return String(a+1);case"LL":return We(a+1,2);case"Lo":return t.ordinalNumber(a+1,{unit:"month"});case"LLL":return t.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return t.month(a,{width:"wide",context:"standalone"})}},w:function(e,n,t,a){const r=Bn(e,a);return n==="wo"?t.ordinalNumber(r,{unit:"week"}):We(r,n.length)},I:function(e,n,t){const a=qn(e);return n==="Io"?t.ordinalNumber(a,{unit:"week"}):We(a,n.length)},d:function(e,n,t){return n==="do"?t.ordinalNumber(e.getDate(),{unit:"date"}):Kt.d(e,n)},D:function(e,n,t){const a=Is(e);return n==="Do"?t.ordinalNumber(a,{unit:"dayOfYear"}):We(a,n.length)},E:function(e,n,t){const a=e.getDay();switch(n){case"E":case"EE":case"EEE":return t.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(a,{width:"short",context:"formatting"});case"EEEE":default:return t.day(a,{width:"wide",context:"formatting"})}},e:function(e,n,t,a){const r=e.getDay(),i=(r-a.weekStartsOn+8)%7||7;switch(n){case"e":return String(i);case"ee":return We(i,2);case"eo":return t.ordinalNumber(i,{unit:"day"});case"eee":return t.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(r,{width:"short",context:"formatting"});case"eeee":default:return t.day(r,{width:"wide",context:"formatting"})}},c:function(e,n,t,a){const r=e.getDay(),i=(r-a.weekStartsOn+8)%7||7;switch(n){case"c":return String(i);case"cc":return We(i,n.length);case"co":return t.ordinalNumber(i,{unit:"day"});case"ccc":return t.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(r,{width:"narrow",context:"standalone"});case"cccccc":return t.day(r,{width:"short",context:"standalone"});case"cccc":default:return t.day(r,{width:"wide",context:"standalone"})}},i:function(e,n,t){const a=e.getDay(),r=a===0?7:a;switch(n){case"i":return String(r);case"ii":return We(r,n.length);case"io":return t.ordinalNumber(r,{unit:"day"});case"iii":return t.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return t.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return t.day(a,{width:"short",context:"formatting"});case"iiii":default:return t.day(a,{width:"wide",context:"formatting"})}},a:function(e,n,t){const r=e.getHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return t.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return t.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,n,t){const a=e.getHours();let r;switch(a===12?r=pa.noon:a===0?r=pa.midnight:r=a/12>=1?"pm":"am",n){case"b":case"bb":return t.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return t.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,n,t){const a=e.getHours();let r;switch(a>=17?r=pa.evening:a>=12?r=pa.afternoon:a>=4?r=pa.morning:r=pa.night,n){case"B":case"BB":case"BBB":return t.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return t.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,n,t){if(n==="ho"){let a=e.getHours()%12;return a===0&&(a=12),t.ordinalNumber(a,{unit:"hour"})}return Kt.h(e,n)},H:function(e,n,t){return n==="Ho"?t.ordinalNumber(e.getHours(),{unit:"hour"}):Kt.H(e,n)},K:function(e,n,t){const a=e.getHours()%12;return n==="Ko"?t.ordinalNumber(a,{unit:"hour"}):We(a,n.length)},k:function(e,n,t){let a=e.getHours();return a===0&&(a=24),n==="ko"?t.ordinalNumber(a,{unit:"hour"}):We(a,n.length)},m:function(e,n,t){return n==="mo"?t.ordinalNumber(e.getMinutes(),{unit:"minute"}):Kt.m(e,n)},s:function(e,n,t){return n==="so"?t.ordinalNumber(e.getSeconds(),{unit:"second"}):Kt.s(e,n)},S:function(e,n){return Kt.S(e,n)},X:function(e,n,t){const a=e.getTimezoneOffset();if(a===0)return"Z";switch(n){case"X":return Er(a);case"XXXX":case"XX":return sa(a);case"XXXXX":case"XXX":default:return sa(a,":")}},x:function(e,n,t){const a=e.getTimezoneOffset();switch(n){case"x":return Er(a);case"xxxx":case"xx":return sa(a);case"xxxxx":case"xxx":default:return sa(a,":")}},O:function(e,n,t){const a=e.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+Vr(a,":");case"OOOO":default:return"GMT"+sa(a,":")}},z:function(e,n,t){const a=e.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+Vr(a,":");case"zzzz":default:return"GMT"+sa(a,":")}},t:function(e,n,t){const a=Math.trunc(+e/1e3);return We(a,n.length)},T:function(e,n,t){return We(+e,n.length)}};function Vr(e,n=""){const t=e>0?"-":"+",a=Math.abs(e),r=Math.trunc(a/60),i=a%60;return i===0?t+String(r):t+String(r)+n+We(i,2)}function Er(e,n){return e%60===0?(e>0?"-":"+")+We(Math.abs(e)/60,2):sa(e,n)}function sa(e,n=""){const t=e>0?"-":"+",a=Math.abs(e),r=We(Math.trunc(a/60),2),i=We(a%60,2);return t+r+n+i}const Hr=(e,n)=>{switch(e){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},Oi=(e,n)=>{switch(e){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},Ls=(e,n)=>{const t=e.match(/(P+)(p+)?/)||[],a=t[1],r=t[2];if(!r)return Hr(e,n);let i;switch(a){case"P":i=n.dateTime({width:"short"});break;case"PP":i=n.dateTime({width:"medium"});break;case"PPP":i=n.dateTime({width:"long"});break;case"PPPP":default:i=n.dateTime({width:"full"});break}return i.replace("{{date}}",Hr(a,n)).replace("{{time}}",Oi(r,n))},Tn={p:Oi,P:Ls},Ys=/^D+$/,Rs=/^Y+$/,qs=["D","DD","YY","YYYY"];function Ii(e){return Ys.test(e)}function Xi(e){return Rs.test(e)}function Sn(e,n,t){const a=Gs(e,n,t);if(console.warn(a),qs.includes(e))throw new RangeError(a)}function Gs(e,n,t){const a=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${n}\`) for formatting ${a} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Bs=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Qs=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ks=/^'([^]*?)'?$/,Js=/''/g,Us=/[a-zA-Z]/;function Ha(e,n,t){var y,f,h,k,W,D,Q,J;const a=ma(),r=(t==null?void 0:t.locale)??a.locale??Rn,i=(t==null?void 0:t.firstWeekContainsDate)??((f=(y=t==null?void 0:t.locale)==null?void 0:y.options)==null?void 0:f.firstWeekContainsDate)??a.firstWeekContainsDate??((k=(h=a.locale)==null?void 0:h.options)==null?void 0:k.firstWeekContainsDate)??1,d=(t==null?void 0:t.weekStartsOn)??((D=(W=t==null?void 0:t.locale)==null?void 0:W.options)==null?void 0:D.weekStartsOn)??a.weekStartsOn??((J=(Q=a.locale)==null?void 0:Q.options)==null?void 0:J.weekStartsOn)??0,m=me(e,t==null?void 0:t.in);if(!Ea(m))throw new RangeError("Invalid time value");let l=n.match(Qs).map(T=>{const M=T[0];if(M==="p"||M==="P"){const S=Tn[M];return S(T,r.formatLong)}return T}).join("").match(Bs).map(T=>{if(T==="''")return{isToken:!1,value:"'"};const M=T[0];if(M==="'")return{isToken:!1,value:Zs(T)};if(Cr[M])return{isToken:!0,value:T};if(M.match(Us))throw new RangeError("Format string contains an unescaped latin alphabet character `"+M+"`");return{isToken:!1,value:T}});r.localize.preprocessor&&(l=r.localize.preprocessor(m,l));const g={firstWeekContainsDate:i,weekStartsOn:d,locale:r};return l.map(T=>{if(!T.isToken)return T.value;const M=T.value;(!(t!=null&&t.useAdditionalWeekYearTokens)&&Xi(M)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&Ii(M))&&Sn(M,n,String(e));const S=Cr[M[0]];return S(m,M,r.localize,g)}).join("")}function Zs(e){const n=e.match(Ks);return n?n[1].replace(Js,"'"):e}function eu(e,n){return me(e,n==null?void 0:n.in).getDay()}function tu(e,n){const t=me(e,n==null?void 0:n.in),a=t.getFullYear(),r=t.getMonth(),i=xe(t,0);return i.setFullYear(a,r+1,0),i.setHours(0,0,0,0),i.getDate()}function au(){return Object.assign({},ma())}function qt(e,n){return me(e,n==null?void 0:n.in).getHours()}function nu(e,n){const t=me(e,n==null?void 0:n.in).getDay();return t===0?7:t}function Gt(e,n){return me(e,n==null?void 0:n.in).getMinutes()}function Se(e,n){return me(e,n==null?void 0:n.in).getMonth()}function Pa(e){return me(e).getSeconds()}function _e(e,n){return me(e,n==null?void 0:n.in).getFullYear()}function Qn(e,n){return+me(e)>+me(n)}function Kn(e,n){return+me(e)<+me(n)}function Li(e,n){return+me(e)==+me(n)}function ru(e,n){const t=iu(n)?new n(0):xe(n,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}function iu(e){var n;return typeof e=="function"&&((n=e.prototype)==null?void 0:n.constructor)===e}const ou=10;class Yi{constructor(){te(this,"subPriority",0)}validate(n,t){return!0}}class su extends Yi{constructor(n,t,a,r,i){super(),this.value=n,this.validateValue=t,this.setValue=a,this.priority=r,i&&(this.subPriority=i)}validate(n,t){return this.validateValue(n,this.value,t)}set(n,t,a){return this.setValue(n,t,this.value,a)}}class uu extends Yi{constructor(t,a){super();te(this,"priority",ou);te(this,"subPriority",-1);this.context=t||(r=>xe(a,r))}set(t,a){return a.timestampIsSet?t:xe(t,ru(t,this.context))}}class $e{run(n,t,a,r){const i=this.parse(n,t,a,r);return i?{setter:new su(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(n,t,a){return!0}}class du extends $e{constructor(){super(...arguments);te(this,"priority",140);te(this,"incompatibleTokens",["R","u","t","T"])}parse(t,a,r){switch(a){case"G":case"GG":case"GGG":return r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"});case"GGGGG":return r.era(t,{width:"narrow"});case"GGGG":default:return r.era(t,{width:"wide"})||r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"})}}set(t,a,r){return a.era=r,t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}}const Oe={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Ft={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/};function Ie(e,n){return e&&{value:n(e.value),rest:e.rest}}function He(e,n){const t=n.match(e);return t?{value:parseInt(t[0],10),rest:n.slice(t[0].length)}:null}function At(e,n){const t=n.match(e);if(!t)return null;if(t[0]==="Z")return{value:0,rest:n.slice(1)};const a=t[1]==="+"?1:-1,r=t[2]?parseInt(t[2],10):0,i=t[3]?parseInt(t[3],10):0,d=t[5]?parseInt(t[5],10):0;return{value:a*(r*Ln+i*Xn+d*us),rest:n.slice(t[0].length)}}function Ri(e){return He(Oe.anyDigitsSigned,e)}function Fe(e,n){switch(e){case 1:return He(Oe.singleDigit,n);case 2:return He(Oe.twoDigits,n);case 3:return He(Oe.threeDigits,n);case 4:return He(Oe.fourDigits,n);default:return He(new RegExp("^\\d{1,"+e+"}"),n)}}function Ja(e,n){switch(e){case 1:return He(Oe.singleDigitSigned,n);case 2:return He(Oe.twoDigitsSigned,n);case 3:return He(Oe.threeDigitsSigned,n);case 4:return He(Oe.fourDigitsSigned,n);default:return He(new RegExp("^-?\\d{1,"+e+"}"),n)}}function Jn(e){switch(e){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 qi(e,n){const t=n>0,a=t?n:1-n;let r;if(a<=50)r=e||100;else{const i=a+50,d=Math.trunc(i/100)*100,m=e>=i%100;r=e+d-(m?100:0)}return t?r:1-r}function Gi(e){return e%400===0||e%4===0&&e%100!==0}class lu extends $e{constructor(){super(...arguments);te(this,"priority",130);te(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,a,r){const i=d=>({year:d,isTwoDigitYear:a==="yy"});switch(a){case"y":return Ie(Fe(4,t),i);case"yo":return Ie(r.ordinalNumber(t,{unit:"year"}),i);default:return Ie(Fe(a.length,t),i)}}validate(t,a){return a.isTwoDigitYear||a.year>0}set(t,a,r){const i=t.getFullYear();if(r.isTwoDigitYear){const m=qi(r.year,i);return t.setFullYear(m,0,1),t.setHours(0,0,0,0),t}const d=!("era"in a)||a.era===1?r.year:1-r.year;return t.setFullYear(d,0,1),t.setHours(0,0,0,0),t}}class mu extends $e{constructor(){super(...arguments);te(this,"priority",130);te(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,a,r){const i=d=>({year:d,isTwoDigitYear:a==="YY"});switch(a){case"Y":return Ie(Fe(4,t),i);case"Yo":return Ie(r.ordinalNumber(t,{unit:"year"}),i);default:return Ie(Fe(a.length,t),i)}}validate(t,a){return a.isTwoDigitYear||a.year>0}set(t,a,r,i){const d=Gn(t,i);if(r.isTwoDigitYear){const l=qi(r.year,d);return t.setFullYear(l,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),xt(t,i)}const m=!("era"in a)||a.era===1?r.year:1-r.year;return t.setFullYear(m,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),xt(t,i)}}class cu extends $e{constructor(){super(...arguments);te(this,"priority",130);te(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,a){return Ja(a==="R"?4:a.length,t)}set(t,a,r){const i=xe(t,0);return i.setFullYear(r,0,4),i.setHours(0,0,0,0),ba(i)}}class hu extends $e{constructor(){super(...arguments);te(this,"priority",130);te(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,a){return Ja(a==="u"?4:a.length,t)}set(t,a,r){return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}}class fu extends $e{constructor(){super(...arguments);te(this,"priority",120);te(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,a,r){switch(a){case"Q":case"QQ":return Fe(a.length,t);case"Qo":return r.ordinalNumber(t,{unit:"quarter"});case"QQQ":return r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(t,{width:"wide",context:"formatting"})||r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,a){return a>=1&&a<=4}set(t,a,r){return t.setMonth((r-1)*3,1),t.setHours(0,0,0,0),t}}class gu extends $e{constructor(){super(...arguments);te(this,"priority",120);te(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,a,r){switch(a){case"q":case"qq":return Fe(a.length,t);case"qo":return r.ordinalNumber(t,{unit:"quarter"});case"qqq":return r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(t,{width:"wide",context:"standalone"})||r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,a){return a>=1&&a<=4}set(t,a,r){return t.setMonth((r-1)*3,1),t.setHours(0,0,0,0),t}}class pu extends $e{constructor(){super(...arguments);te(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);te(this,"priority",110)}parse(t,a,r){const i=d=>d-1;switch(a){case"M":return Ie(He(Oe.month,t),i);case"MM":return Ie(Fe(2,t),i);case"Mo":return Ie(r.ordinalNumber(t,{unit:"month"}),i);case"MMM":return r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(t,{width:"wide",context:"formatting"})||r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"})}}validate(t,a){return a>=0&&a<=11}set(t,a,r){return t.setMonth(r,1),t.setHours(0,0,0,0),t}}class vu extends $e{constructor(){super(...arguments);te(this,"priority",110);te(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,a,r){const i=d=>d-1;switch(a){case"L":return Ie(He(Oe.month,t),i);case"LL":return Ie(Fe(2,t),i);case"Lo":return Ie(r.ordinalNumber(t,{unit:"month"}),i);case"LLL":return r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(t,{width:"wide",context:"standalone"})||r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"})}}validate(t,a){return a>=0&&a<=11}set(t,a,r){return t.setMonth(r,1),t.setHours(0,0,0,0),t}}function yu(e,n,t){const a=me(e,t==null?void 0:t.in),r=Bn(a,t)-n;return a.setDate(a.getDate()-r*7),me(a,t==null?void 0:t.in)}class wu extends $e{constructor(){super(...arguments);te(this,"priority",100);te(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,a,r){switch(a){case"w":return He(Oe.week,t);case"wo":return r.ordinalNumber(t,{unit:"week"});default:return Fe(a.length,t)}}validate(t,a){return a>=1&&a<=53}set(t,a,r,i){return xt(yu(t,r,i),i)}}function bu(e,n,t){const a=me(e,t==null?void 0:t.in),r=qn(a,t)-n;return a.setDate(a.getDate()-r*7),a}class Pu extends $e{constructor(){super(...arguments);te(this,"priority",100);te(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,a,r){switch(a){case"I":return He(Oe.week,t);case"Io":return r.ordinalNumber(t,{unit:"week"});default:return Fe(a.length,t)}}validate(t,a){return a>=1&&a<=53}set(t,a,r){return ba(bu(t,r))}}const ku=[31,28,31,30,31,30,31,31,30,31,30,31],Mu=[31,29,31,30,31,30,31,31,30,31,30,31];class $u extends $e{constructor(){super(...arguments);te(this,"priority",90);te(this,"subPriority",1);te(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,a,r){switch(a){case"d":return He(Oe.date,t);case"do":return r.ordinalNumber(t,{unit:"date"});default:return Fe(a.length,t)}}validate(t,a){const r=t.getFullYear(),i=Gi(r),d=t.getMonth();return i?a>=1&&a<=Mu[d]:a>=1&&a<=ku[d]}set(t,a,r){return t.setDate(r),t.setHours(0,0,0,0),t}}class Wu extends $e{constructor(){super(...arguments);te(this,"priority",90);te(this,"subpriority",1);te(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,a,r){switch(a){case"D":case"DD":return He(Oe.dayOfYear,t);case"Do":return r.ordinalNumber(t,{unit:"date"});default:return Fe(a.length,t)}}validate(t,a){const r=t.getFullYear();return Gi(r)?a>=1&&a<=366:a>=1&&a<=365}set(t,a,r){return t.setMonth(0,r),t.setHours(0,0,0,0),t}}function Un(e,n,t){var f,h,k,W;const a=ma(),r=(t==null?void 0:t.weekStartsOn)??((h=(f=t==null?void 0:t.locale)==null?void 0:f.options)==null?void 0:h.weekStartsOn)??a.weekStartsOn??((W=(k=a.locale)==null?void 0:k.options)==null?void 0:W.weekStartsOn)??0,i=me(e,t==null?void 0:t.in),d=i.getDay(),l=(n%7+7)%7,g=7-r,y=n<0||n>6?n-(d+g)%7:(l+g)%7-(d+g)%7;return Yt(i,y,t)}class Du extends $e{constructor(){super(...arguments);te(this,"priority",90);te(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,a,r){switch(a){case"E":case"EE":case"EEE":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}validate(t,a){return a>=0&&a<=6}set(t,a,r,i){return t=Un(t,r,i),t.setHours(0,0,0,0),t}}class xu extends $e{constructor(){super(...arguments);te(this,"priority",90);te(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,a,r,i){const d=m=>{const l=Math.floor((m-1)/7)*7;return(m+i.weekStartsOn+6)%7+l};switch(a){case"e":case"ee":return Ie(Fe(a.length,t),d);case"eo":return Ie(r.ordinalNumber(t,{unit:"day"}),d);case"eee":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"eeeee":return r.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}validate(t,a){return a>=0&&a<=6}set(t,a,r,i){return t=Un(t,r,i),t.setHours(0,0,0,0),t}}class ju extends $e{constructor(){super(...arguments);te(this,"priority",90);te(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,a,r,i){const d=m=>{const l=Math.floor((m-1)/7)*7;return(m+i.weekStartsOn+6)%7+l};switch(a){case"c":case"cc":return Ie(Fe(a.length,t),d);case"co":return Ie(r.ordinalNumber(t,{unit:"day"}),d);case"ccc":return r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});case"ccccc":return r.day(t,{width:"narrow",context:"standalone"});case"cccccc":return r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return r.day(t,{width:"wide",context:"standalone"})||r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"})}}validate(t,a){return a>=0&&a<=6}set(t,a,r,i){return t=Un(t,r,i),t.setHours(0,0,0,0),t}}function zu(e,n,t){const a=me(e,t==null?void 0:t.in),r=nu(a,t),i=n-r;return Yt(a,i,t)}class Tu extends $e{constructor(){super(...arguments);te(this,"priority",90);te(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,a,r){const i=d=>d===0?7:d;switch(a){case"i":case"ii":return Fe(a.length,t);case"io":return r.ordinalNumber(t,{unit:"day"});case"iii":return Ie(r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),i);case"iiiii":return Ie(r.day(t,{width:"narrow",context:"formatting"}),i);case"iiiiii":return Ie(r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),i);case"iiii":default:return Ie(r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),i)}}validate(t,a){return a>=1&&a<=7}set(t,a,r){return t=zu(t,r),t.setHours(0,0,0,0),t}}class Su extends $e{constructor(){super(...arguments);te(this,"priority",80);te(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,a,r){switch(a){case"a":case"aa":case"aaa":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,a,r){return t.setHours(Jn(r),0,0,0),t}}class _u extends $e{constructor(){super(...arguments);te(this,"priority",80);te(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,a,r){switch(a){case"b":case"bb":case"bbb":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,a,r){return t.setHours(Jn(r),0,0,0),t}}class Nu extends $e{constructor(){super(...arguments);te(this,"priority",80);te(this,"incompatibleTokens",["a","b","t","T"])}parse(t,a,r){switch(a){case"B":case"BB":case"BBB":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,a,r){return t.setHours(Jn(r),0,0,0),t}}class Cu extends $e{constructor(){super(...arguments);te(this,"priority",70);te(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,a,r){switch(a){case"h":return He(Oe.hour12h,t);case"ho":return r.ordinalNumber(t,{unit:"hour"});default:return Fe(a.length,t)}}validate(t,a){return a>=1&&a<=12}set(t,a,r){const i=t.getHours()>=12;return i&&r<12?t.setHours(r+12,0,0,0):!i&&r===12?t.setHours(0,0,0,0):t.setHours(r,0,0,0),t}}class Vu extends $e{constructor(){super(...arguments);te(this,"priority",70);te(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,a,r){switch(a){case"H":return He(Oe.hour23h,t);case"Ho":return r.ordinalNumber(t,{unit:"hour"});default:return Fe(a.length,t)}}validate(t,a){return a>=0&&a<=23}set(t,a,r){return t.setHours(r,0,0,0),t}}class Eu extends $e{constructor(){super(...arguments);te(this,"priority",70);te(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,a,r){switch(a){case"K":return He(Oe.hour11h,t);case"Ko":return r.ordinalNumber(t,{unit:"hour"});default:return Fe(a.length,t)}}validate(t,a){return a>=0&&a<=11}set(t,a,r){return t.getHours()>=12&&r<12?t.setHours(r+12,0,0,0):t.setHours(r,0,0,0),t}}class Hu extends $e{constructor(){super(...arguments);te(this,"priority",70);te(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,a,r){switch(a){case"k":return He(Oe.hour24h,t);case"ko":return r.ordinalNumber(t,{unit:"hour"});default:return Fe(a.length,t)}}validate(t,a){return a>=1&&a<=24}set(t,a,r){const i=r<=24?r%24:r;return t.setHours(i,0,0,0),t}}class Fu extends $e{constructor(){super(...arguments);te(this,"priority",60);te(this,"incompatibleTokens",["t","T"])}parse(t,a,r){switch(a){case"m":return He(Oe.minute,t);case"mo":return r.ordinalNumber(t,{unit:"minute"});default:return Fe(a.length,t)}}validate(t,a){return a>=0&&a<=59}set(t,a,r){return t.setMinutes(r,0,0),t}}class Au extends $e{constructor(){super(...arguments);te(this,"priority",50);te(this,"incompatibleTokens",["t","T"])}parse(t,a,r){switch(a){case"s":return He(Oe.second,t);case"so":return r.ordinalNumber(t,{unit:"second"});default:return Fe(a.length,t)}}validate(t,a){return a>=0&&a<=59}set(t,a,r){return t.setSeconds(r,0),t}}class Ou extends $e{constructor(){super(...arguments);te(this,"priority",30);te(this,"incompatibleTokens",["t","T"])}parse(t,a){const r=i=>Math.trunc(i*Math.pow(10,-a.length+3));return Ie(Fe(a.length,t),r)}set(t,a,r){return t.setMilliseconds(r),t}}class Iu extends $e{constructor(){super(...arguments);te(this,"priority",10);te(this,"incompatibleTokens",["t","T","x"])}parse(t,a){switch(a){case"X":return At(Ft.basicOptionalMinutes,t);case"XX":return At(Ft.basic,t);case"XXXX":return At(Ft.basicOptionalSeconds,t);case"XXXXX":return At(Ft.extendedOptionalSeconds,t);case"XXX":default:return At(Ft.extended,t)}}set(t,a,r){return a.timestampIsSet?t:xe(t,t.getTime()-Ka(t)-r)}}class Xu extends $e{constructor(){super(...arguments);te(this,"priority",10);te(this,"incompatibleTokens",["t","T","X"])}parse(t,a){switch(a){case"x":return At(Ft.basicOptionalMinutes,t);case"xx":return At(Ft.basic,t);case"xxxx":return At(Ft.basicOptionalSeconds,t);case"xxxxx":return At(Ft.extendedOptionalSeconds,t);case"xxx":default:return At(Ft.extended,t)}}set(t,a,r){return a.timestampIsSet?t:xe(t,t.getTime()-Ka(t)-r)}}class Lu extends $e{constructor(){super(...arguments);te(this,"priority",40);te(this,"incompatibleTokens","*")}parse(t){return Ri(t)}set(t,a,r){return[xe(t,r*1e3),{timestampIsSet:!0}]}}class Yu extends $e{constructor(){super(...arguments);te(this,"priority",20);te(this,"incompatibleTokens","*")}parse(t){return Ri(t)}set(t,a,r){return[xe(t,r),{timestampIsSet:!0}]}}const Ru={G:new du,y:new lu,Y:new mu,R:new cu,u:new hu,Q:new fu,q:new gu,M:new pu,L:new vu,w:new wu,I:new Pu,d:new $u,D:new Wu,E:new Du,e:new xu,c:new ju,i:new Tu,a:new Su,b:new _u,B:new Nu,h:new Cu,H:new Vu,K:new Eu,k:new Hu,m:new Fu,s:new Au,S:new Ou,X:new Iu,x:new Xu,t:new Lu,T:new Yu},qu=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Gu=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Bu=/^'([^]*?)'?$/,Qu=/''/g,Ku=/\S/,Ju=/[a-zA-Z]/;function _n(e,n,t,a){var Q,J,T,M;const r=()=>xe(t,NaN),i=au(),d=i.locale??Rn,m=i.firstWeekContainsDate??((J=(Q=i.locale)==null?void 0:Q.options)==null?void 0:J.firstWeekContainsDate)??1,l=i.weekStartsOn??((M=(T=i.locale)==null?void 0:T.options)==null?void 0:M.weekStartsOn)??0;if(!n)return e?r():me(t,a==null?void 0:a.in);const g={firstWeekContainsDate:m,weekStartsOn:l,locale:d},y=[new uu(a==null?void 0:a.in,t)],f=n.match(Gu).map(S=>{const R=S[0];if(R in Tn){const B=Tn[R];return B(S,d.formatLong)}return S}).join("").match(qu),h=[];for(let S of f){Xi(S)&&Sn(S,n,e),Ii(S)&&Sn(S,n,e);const R=S[0],B=Ru[R];if(B){const{incompatibleTokens:_}=B;if(Array.isArray(_)){const H=h.find(I=>_.includes(I.token)||I.token===R);if(H)throw new RangeError(`The format string mustn't contain \`${H.fullToken}\` and \`${S}\` at the same time`)}else if(B.incompatibleTokens==="*"&&h.length>0)throw new RangeError(`The format string mustn't contain \`${S}\` and any other token at the same time`);h.push({token:R,fullToken:S});const z=B.run(e,S,d.match,g);if(!z)return r();y.push(z.setter),e=z.rest}else{if(R.match(Ju))throw new RangeError("Format string contains an unescaped latin alphabet character `"+R+"`");if(S==="''"?S="'":R==="'"&&(S=Uu(S)),e.indexOf(S)===0)e=e.slice(S.length);else return r()}}if(e.length>0&&Ku.test(e))return r();const k=y.map(S=>S.priority).sort((S,R)=>R-S).filter((S,R,B)=>B.indexOf(S)===R).map(S=>y.filter(R=>R.priority===S).sort((R,B)=>B.subPriority-R.subPriority)).map(S=>S[0]);let W=me(t,a==null?void 0:a.in);if(isNaN(+W))return r();const D={};for(const S of k){if(!S.validate(W,g))return r();const R=S.set(W,D,g);Array.isArray(R)?(W=R[0],Object.assign(D,R[1])):W=R}return W}function Uu(e){return e.match(Bu)[1].replace(Qu,"'")}function Ae(e,n,t){const[a,r]=Yn(t==null?void 0:t.in,e,n);return+xt(a,t)==+xt(r,t)}function Zu(e,n,t){return Yt(e,-n,t)}function ed(e,n){const t=()=>xe(n==null?void 0:n.in,NaN),r=rd(e);let i;if(r.date){const g=id(r.date,2);i=od(g.restDateString,g.year)}if(!i||isNaN(+i))return t();const d=+i;let m=0,l;if(r.time&&(m=sd(r.time),isNaN(m)))return t();if(r.timezone){if(l=ud(r.timezone),isNaN(l))return t()}else{const g=new Date(d+m),y=me(0,n==null?void 0:n.in);return y.setFullYear(g.getUTCFullYear(),g.getUTCMonth(),g.getUTCDate()),y.setHours(g.getUTCHours(),g.getUTCMinutes(),g.getUTCSeconds(),g.getUTCMilliseconds()),y}return me(d+m+l,n==null?void 0:n.in)}const Xa={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},td=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,ad=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,nd=/^([+-])(\d{2})(?::?(\d{2}))?$/;function rd(e){const n={},t=e.split(Xa.dateTimeDelimiter);let a;if(t.length>2)return n;if(/:/.test(t[0])?a=t[0]:(n.date=t[0],a=t[1],Xa.timeZoneDelimiter.test(n.date)&&(n.date=e.split(Xa.timeZoneDelimiter)[0],a=e.substr(n.date.length,e.length))),a){const r=Xa.timezone.exec(a);r?(n.time=a.replace(r[1],""),n.timezone=r[1]):n.time=a}return n}function id(e,n){const t=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+n)+"})|(\\d{2}|[+-]\\d{"+(2+n)+"})$)"),a=e.match(t);if(!a)return{year:NaN,restDateString:""};const r=a[1]?parseInt(a[1]):null,i=a[2]?parseInt(a[2]):null;return{year:i===null?r:i*100,restDateString:e.slice((a[1]||a[2]).length)}}function od(e,n){if(n===null)return new Date(NaN);const t=e.match(td);if(!t)return new Date(NaN);const a=!!t[4],r=ja(t[1]),i=ja(t[2])-1,d=ja(t[3]),m=ja(t[4]),l=ja(t[5])-1;if(a)return hd(n,m,l)?dd(n,m,l):new Date(NaN);{const g=new Date(0);return!md(n,i,d)||!cd(n,r)?new Date(NaN):(g.setUTCFullYear(n,i,Math.max(r,d)),g)}}function ja(e){return e?parseInt(e):1}function sd(e){const n=e.match(ad);if(!n)return NaN;const t=hn(n[1]),a=hn(n[2]),r=hn(n[3]);return fd(t,a,r)?t*Ln+a*Xn+r*1e3:NaN}function hn(e){return e&&parseFloat(e.replace(",","."))||0}function ud(e){if(e==="Z")return 0;const n=e.match(nd);if(!n)return 0;const t=n[1]==="+"?-1:1,a=parseInt(n[2]),r=n[3]&&parseInt(n[3])||0;return gd(a,r)?t*(a*Ln+r*Xn):NaN}function dd(e,n,t){const a=new Date(0);a.setUTCFullYear(e,0,4);const r=a.getUTCDay()||7,i=(n-1)*7+t+1-r;return a.setUTCDate(a.getUTCDate()+i),a}const ld=[31,null,31,30,31,30,31,31,30,31,30,31];function Bi(e){return e%400===0||e%4===0&&e%100!==0}function md(e,n,t){return n>=0&&n<=11&&t>=1&&t<=(ld[n]||(Bi(e)?29:28))}function cd(e,n){return n>=1&&n<=(Bi(e)?366:365)}function hd(e,n,t){return n>=1&&n<=53&&t>=0&&t<=6}function fd(e,n,t){return e===24?n===0&&t===0:t>=0&&t<60&&n>=0&&n<60&&e>=0&&e<25}function gd(e,n){return n>=0&&n<=59}function Fa(e,n,t){const a=me(e,t==null?void 0:t.in),r=a.getFullYear(),i=a.getDate(),d=xe(e,0);d.setFullYear(r,n,15),d.setHours(0,0,0,0);const m=tu(d);return a.setMonth(n,Math.min(i,m)),a}function ht(e,n,t){let a=me(e,t==null?void 0:t.in);return isNaN(+a)?xe(e,NaN):(n.year!=null&&a.setFullYear(n.year),n.month!=null&&(a=Fa(a,n.month)),n.date!=null&&a.setDate(n.date),n.hours!=null&&a.setHours(n.hours),n.minutes!=null&&a.setMinutes(n.minutes),n.seconds!=null&&a.setSeconds(n.seconds),n.milliseconds!=null&&a.setMilliseconds(n.milliseconds),a)}function Qi(e,n,t){const a=me(e,t==null?void 0:t.in);return a.setHours(n),a}function Zn(e,n,t){const a=me(e,t==null?void 0:t.in);return a.setMilliseconds(n),a}function Ki(e,n,t){const a=me(e,t==null?void 0:t.in);return a.setMinutes(n),a}function Ji(e,n,t){const a=me(e,t==null?void 0:t.in);return a.setSeconds(n),a}function la(e,n,t){const a=me(e,t==null?void 0:t.in);return isNaN(+a)?xe(e,NaN):(a.setFullYear(n),a)}function ya(e,n,t){return Ot(e,-n,t)}function pd(e,n,t){const{years:a=0,months:r=0,weeks:i=0,days:d=0,hours:m=0,minutes:l=0,seconds:g=0}=n,y=ya(e,r+a*12,t),f=Zu(y,d+i*7,t),h=l+m*60,W=(g+h*60)*1e3;return xe(e,+f-W)}function vd(e,n,t){return Fi(e,-1,t)}const ha=(e,n)=>{const t=e.__vccOpts||e;for(const[a,r]of n)t[a]=r;return t},yd={},wd={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"},bd=se("path",{d:"M29.333 8c0-2.208-1.792-4-4-4h-18.667c-2.208 0-4 1.792-4 4v18.667c0 2.208 1.792 4 4 4h18.667c2.208 0 4-1.792 4-4v-18.667zM26.667 8v18.667c0 0.736-0.597 1.333-1.333 1.333 0 0-18.667 0-18.667 0-0.736 0-1.333-0.597-1.333-1.333 0 0 0-18.667 0-18.667 0-0.736 0.597-1.333 1.333-1.333 0 0 18.667 0 18.667 0 0.736 0 1.333 0.597 1.333 1.333z"},null,-1),Pd=se("path",{d:"M20 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"},null,-1),kd=se("path",{d:"M9.333 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"},null,-1),Md=se("path",{d:"M4 14.667h24c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-24c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z"},null,-1),$d=[bd,Pd,kd,Md];function Wd(e,n){return j(),G("svg",wd,$d)}const on=ha(yd,[["render",Wd]]),Dd={},xd={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"},jd=se("path",{d:"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z"},null,-1),zd=se("path",{d:"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"},null,-1),Td=[jd,zd];function Sd(e,n){return j(),G("svg",xd,Td)}const _d=ha(Dd,[["render",Sd]]),Nd={},Cd={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"},Vd=se("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"},null,-1),Ed=[Vd];function Hd(e,n){return j(),G("svg",Cd,Ed)}const Fr=ha(Nd,[["render",Hd]]),Fd={},Ad={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"},Od=se("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"},null,-1),Id=[Od];function Xd(e,n){return j(),G("svg",Ad,Id)}const Ar=ha(Fd,[["render",Xd]]),Ld={},Yd={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"},Rd=se("path",{d:"M16 1.333c-8.095 0-14.667 6.572-14.667 14.667s6.572 14.667 14.667 14.667c8.095 0 14.667-6.572 14.667-14.667s-6.572-14.667-14.667-14.667zM16 4c6.623 0 12 5.377 12 12s-5.377 12-12 12c-6.623 0-12-5.377-12-12s5.377-12 12-12z"},null,-1),qd=se("path",{d:"M14.667 8v8c0 0.505 0.285 0.967 0.737 1.193l5.333 2.667c0.658 0.329 1.46 0.062 1.789-0.596s0.062-1.46-0.596-1.789l-4.596-2.298c0 0 0-7.176 0-7.176 0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"},null,-1),Gd=[Rd,qd];function Bd(e,n){return j(),G("svg",Yd,Gd)}const Ui=ha(Ld,[["render",Bd]]),Qd={},Kd={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"},Jd=se("path",{d:"M24.943 19.057l-8-8c-0.521-0.521-1.365-0.521-1.885 0l-8 8c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l7.057-7.057c0 0 7.057 7.057 7.057 7.057 0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"},null,-1),Ud=[Jd];function Zd(e,n){return j(),G("svg",Kd,Ud)}const Zi=ha(Qd,[["render",Zd]]),el={},tl={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"},al=se("path",{d:"M7.057 12.943l8 8c0.521 0.521 1.365 0.521 1.885 0l8-8c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-7.057 7.057c0 0-7.057-7.057-7.057-7.057-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"},null,-1),nl=[al];function rl(e,n){return j(),G("svg",tl,nl)}const eo=ha(el,[["render",rl]]),Or=(e,n)=>{const t=_n(e,n.slice(0,e.length),new Date);return Ea(t)&&Ai(t)?t:null},il=(e,n)=>{if(typeof n=="string")return Or(e,n);if(Array.isArray(n)){let t=null;for(const a of n)if(t=Or(e,a),t)break;return t}return typeof n=="function"?n(e):null},Y=e=>e?new Date(e):new Date,ol=(e,n)=>{if(n){const a=(e.getMonth()+1).toString().padStart(2,"0"),r=e.getDate().toString().padStart(2,"0"),i=e.getHours().toString().padStart(2,"0"),d=e.getMinutes().toString().padStart(2,"0");return`${e.getFullYear()}-${a}-${r}T${i}:${d}:00.000Z`}const t=Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds());return new Date(t).toISOString()},Rt=e=>{let n=Y(JSON.parse(JSON.stringify(e)));return n=Qi(n,0),n=Ki(n,0),n=Ji(n,0),n=Zn(n,0),n},Wt=(e,n,t,a)=>{let r=e?Y(e):Y();return(n||n===0)&&(r=Qi(r,+n)),(t||t===0)&&(r=Ki(r,+t)),(a||a===0)&&(r=Ji(r,+a)),Zn(r,0)},tt=(e,n)=>!e||!n?!1:Kn(Rt(e),Rt(n)),Ce=(e,n)=>!e||!n?!1:Li(Rt(e),Rt(n)),vt=(e,n)=>!e||!n?!1:Qn(Rt(e),Rt(n)),to=(e,n,t)=>e&&e[0]&&e[1]?vt(t,e[0])&&tt(t,e[1]):e&&e[0]&&n?vt(t,e[0])&&tt(t,n)||tt(t,e[0])&&vt(t,n):!1,za=Ia({menuFocused:!1,shiftKeyInMenu:!1}),ao=()=>{const e=t=>{za.menuFocused=t},n=t=>{za.shiftKeyInMenu!==t&&(za.shiftKeyInMenu=t)};return{control:$(()=>({shiftKeyInMenu:za.shiftKeyInMenu,menuFocused:za.menuFocused})),setMenuFocused:e,setShiftKey:n}};function er(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ua={},sl={get exports(){return Ua},set exports(e){Ua=e}};(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=t;function t(a){if(a===null||a===!0||a===!1)return NaN;var r=Number(a);return isNaN(r)?r:r<0?Math.ceil(r):Math.floor(r)}e.exports=n.default})(sl,Ua);const ul=er(Ua);var Za={},dl={get exports(){return Za},set exports(e){Za=e}};(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=t;function t(a){var r=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return r.setUTCFullYear(a.getFullYear()),a.getTime()-r.getTime()}e.exports=n.default})(dl,Za);const Ir=er(Za);function ll(e,n){var t=fl(n);return t.formatToParts?cl(t,e):hl(t,e)}var ml={year:0,month:1,day:2,hour:3,minute:4,second:5};function cl(e,n){try{for(var t=e.formatToParts(n),a=[],r=0;r<t.length;r++){var i=ml[t[r].type];i>=0&&(a[i]=parseInt(t[r].value,10))}return a}catch(d){if(d instanceof RangeError)return[NaN];throw d}}function hl(e,n){var t=e.format(n).replace(/\u200E/g,""),a=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(t);return[a[3],a[1],a[2],a[4],a[5],a[6]]}var fn={};function fl(e){if(!fn[e]){var n=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),t=n==="06/25/2014, 00:00:00"||n==="06/25/2014 00:00:00";fn[e]=t?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return fn[e]}function tr(e,n,t,a,r,i,d){var m=new Date(0);return m.setUTCFullYear(e,n,t),m.setUTCHours(a,r,i,d),m}var Xr=36e5,gl=6e4,gn={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-]\d{2}):?(\d{2})$/};function ar(e,n,t){var a,r;if(!e||(a=gn.timezoneZ.exec(e),a))return 0;var i;if(a=gn.timezoneHH.exec(e),a)return i=parseInt(a[1],10),Lr(i)?-(i*Xr):NaN;if(a=gn.timezoneHHMM.exec(e),a){i=parseInt(a[1],10);var d=parseInt(a[2],10);return Lr(i,d)?(r=Math.abs(i)*Xr+d*gl,i>0?-r:r):NaN}if(yl(e)){n=new Date(n||Date.now());var m=t?n:pl(n),l=Nn(m,e),g=t?l:vl(n,l,e);return-g}return NaN}function pl(e){return tr(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function Nn(e,n){var t=ll(e,n),a=tr(t[0],t[1]-1,t[2],t[3]%24,t[4],t[5],0).getTime(),r=e.getTime(),i=r%1e3;return r-=i>=0?i:1e3+i,a-r}function vl(e,n,t){var a=e.getTime(),r=a-n,i=Nn(new Date(r),t);if(n===i)return n;r-=i-n;var d=Nn(new Date(r),t);return i===d?i:Math.max(i,d)}function Lr(e,n){return-23<=e&&e<=23&&(n==null||0<=n&&n<=59)}var Yr={};function yl(e){if(Yr[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),Yr[e]=!0,!0}catch{return!1}}var wl=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/;const no=wl;var pn=36e5,Rr=6e4,bl=2,pt={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:no};function Cn(e,n){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(e===null)return new Date(NaN);var t=n||{},a=t.additionalDigits==null?bl:ul(t.additionalDigits);if(a!==2&&a!==1&&a!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]")return new Date(e.getTime());if(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")return new Date(e);if(!(typeof e=="string"||Object.prototype.toString.call(e)==="[object String]"))return new Date(NaN);var r=Pl(e),i=kl(r.date,a),d=i.year,m=i.restDateString,l=Ml(m,d);if(isNaN(l))return new Date(NaN);if(l){var g=l.getTime(),y=0,f;if(r.time&&(y=$l(r.time),isNaN(y)))return new Date(NaN);if(r.timeZone||t.timeZone){if(f=ar(r.timeZone||t.timeZone,new Date(g+y)),isNaN(f))return new Date(NaN)}else f=Ir(new Date(g+y)),f=Ir(new Date(g+y+f));return new Date(g+y+f)}else return new Date(NaN)}function Pl(e){var n={},t=pt.dateTimePattern.exec(e),a;if(t?(n.date=t[1],a=t[3]):(t=pt.datePattern.exec(e),t?(n.date=t[1],a=t[2]):(n.date=null,a=e)),a){var r=pt.timeZone.exec(a);r?(n.time=a.replace(r[1],""),n.timeZone=r[1].trim()):n.time=a}return n}function kl(e,n){var t=pt.YYY[n],a=pt.YYYYY[n],r;if(r=pt.YYYY.exec(e)||a.exec(e),r){var i=r[1];return{year:parseInt(i,10),restDateString:e.slice(i.length)}}if(r=pt.YY.exec(e)||t.exec(e),r){var d=r[1];return{year:parseInt(d,10)*100,restDateString:e.slice(d.length)}}return{year:null}}function Ml(e,n){if(n===null)return null;var t,a,r,i;if(e.length===0)return a=new Date(0),a.setUTCFullYear(n),a;if(t=pt.MM.exec(e),t)return a=new Date(0),r=parseInt(t[1],10)-1,Gr(n,r)?(a.setUTCFullYear(n,r),a):new Date(NaN);if(t=pt.DDD.exec(e),t){a=new Date(0);var d=parseInt(t[1],10);return xl(n,d)?(a.setUTCFullYear(n,0,d),a):new Date(NaN)}if(t=pt.MMDD.exec(e),t){a=new Date(0),r=parseInt(t[1],10)-1;var m=parseInt(t[2],10);return Gr(n,r,m)?(a.setUTCFullYear(n,r,m),a):new Date(NaN)}if(t=pt.Www.exec(e),t)return i=parseInt(t[1],10)-1,Br(n,i)?qr(n,i):new Date(NaN);if(t=pt.WwwD.exec(e),t){i=parseInt(t[1],10)-1;var l=parseInt(t[2],10)-1;return Br(n,i,l)?qr(n,i,l):new Date(NaN)}return null}function $l(e){var n,t,a;if(n=pt.HH.exec(e),n)return t=parseFloat(n[1].replace(",",".")),vn(t)?t%24*pn:NaN;if(n=pt.HHMM.exec(e),n)return t=parseInt(n[1],10),a=parseFloat(n[2].replace(",",".")),vn(t,a)?t%24*pn+a*Rr:NaN;if(n=pt.HHMMSS.exec(e),n){t=parseInt(n[1],10),a=parseInt(n[2],10);var r=parseFloat(n[3].replace(",","."));return vn(t,a,r)?t%24*pn+a*Rr+r*1e3:NaN}return null}function qr(e,n,t){n=n||0,t=t||0;var a=new Date(0);a.setUTCFullYear(e,0,4);var r=a.getUTCDay()||7,i=n*7+t+1-r;return a.setUTCDate(a.getUTCDate()+i),a}var Wl=[31,28,31,30,31,30,31,31,30,31,30,31],Dl=[31,29,31,30,31,30,31,31,30,31,30,31];function ro(e){return e%400===0||e%4===0&&e%100!==0}function Gr(e,n,t){if(n<0||n>11)return!1;if(t!=null){if(t<1)return!1;var a=ro(e);if(a&&t>Dl[n]||!a&&t>Wl[n])return!1}return!0}function xl(e,n){if(n<1)return!1;var t=ro(e);return!(t&&n>366||!t&&n>365)}function Br(e,n,t){return!(n<0||n>52||t!=null&&(t<0||t>6))}function vn(e,n,t){return!(e!=null&&(e<0||e>=25)||n!=null&&(n<0||n>=60)||t!=null&&(t<0||t>=60))}var en={},jl={get exports(){return en},set exports(e){en=e}},tn={},zl={get exports(){return tn},set exports(e){tn=e}};(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=t;function t(a,r){if(a==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i]);return a}e.exports=n.default})(zl,tn);(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=r;var t=a(tn);function a(i){return i&&i.__esModule?i:{default:i}}function r(i){return(0,t.default)({},i)}e.exports=n.default})(jl,en);const Tl=er(en);function Sl(e,n,t){var a=Cn(e,t),r=ar(n,a,!0),i=new Date(a.getTime()-r),d=new Date(0);return d.setFullYear(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()),d.setHours(i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()),d}function _l(e,n,t){if(typeof e=="string"&&!e.match(no)){var a=Tl(t);return a.timeZone=n,Cn(e,a)}var r=Cn(e,t),i=tr(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()).getTime(),d=ar(n,new Date(i));return new Date(i+d)}const Nl=(e,n=3)=>{const t=[];for(let a=0;a<e.length;a+=n)t.push([e[a],e[a+1],e[a+2]]);return t},Cl=(e,n)=>{const t=[1,2,3,4,5,6,7].map(i=>new Intl.DateTimeFormat(e,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${i}T00:00:00+00:00`)).slice(0,2)),a=t.slice(0,n),r=t.slice(n+1,t.length);return[t[n]].concat(...r).concat(...a)},Vl=e=>{const n=[];for(let t=+e[0];t<=+e[1];t++)n.push({value:+t,text:`${t}`});return n},El=(e,n)=>{const t=new Intl.DateTimeFormat(e,{month:n,timeZone:"UTC"});return[1,2,3,4,5,6,7,8,9,10,11,12].map(a=>{const r=a<10?`0${a}`:a;return new Date(`2017-${r}-01T00:00:00+00:00`)}).map((a,r)=>({text:t.format(a),value:r}))},Hl=e=>[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11][e],qe=e=>{const n=b(e);return n!=null&&n.$el?n==null?void 0:n.$el:n},Fl=e=>Object.assign({type:"dot"},e),io=e=>Array.isArray(e)?!!e[0]&&!!e[1]:!1,an={prop:e=>`"${e}" prop must be enabled!`,dateArr:e=>`You need to use array as "model-value" binding in order to support "${e}"`},Ze=e=>e,Qr=e=>e===0?e:!e||isNaN(+e)?null:+e,Kr=e=>Object.assign({menuAppear:"dp-menu-appear",open:"dp-slide-down",close:"dp-slide-up",next:"calendar-next",previous:"calendar-prev",vNext:"dp-slide-up",vPrevious:"dp-slide-down"},e),Al=e=>Object.assign({toggleOverlay:"Toggle overlay",menu:"Datepicker menu",input:"Datepicker input",calendarWrap:"Calendar wrapper",calendarDays:"Calendar days",openTimePicker:"Open time picker",closeTimePicker:"Close time Picker",incrementValue:n=>`Increment ${n}`,decrementValue:n=>`Decrement ${n}`,openTpOverlay:n=>`Open ${n} overlay`,amPmButton:"Switch AM/PM mode",openYearsOverlay:"Open years overlay",openMonthsOverlay:"Open months overlay",nextMonth:"Next month",prevMonth:"Previous month",day:()=>""},e),Ol=e=>e===null?0:typeof e=="boolean"?e?2:0:+e>=2?+e:2,Il=(e,n,t)=>e||(typeof t=="string"?t:n),Xl=e=>typeof e=="boolean"?e?Kr({}):!1:Kr(e),Ll=()=>({enterSubmit:!0,tabSubmit:!0,openMenu:!0,rangeSeparator:" - "}),Yl=e=>Object.assign({months:[],years:[],times:{hours:[],minutes:[],seconds:[]}},e),wt=e=>{const n=()=>{if(e.partialRange)return null;throw new Error(an.prop("partial-range"))},t=$(()=>({ariaLabels:Al(e.ariaLabels),textInputOptions:Object.assign(Ll(),e.textInputOptions),multiCalendars:Ol(e.multiCalendars),previewFormat:Il(e.previewFormat,e.format,i()),filters:Yl(e.filters),transitions:Xl(e.transitions),startTime:h()})),a=u=>{if(e.range)return u();throw new Error(an.prop("range"))},r=()=>{const u=e.enableSeconds?":ss":"";return e.is24?`HH:mm${u}`:`hh:mm${u} aa`},i=()=>e.format?e.format:e.monthPicker?"MM/yyyy":e.timePicker?r():e.weekPicker?"MM/dd/yyyy":e.yearPicker?"yyyy":e.enableTimePicker?`MM/dd/yyyy, ${r()}`:"MM/dd/yyyy",d=(u,w)=>{if(typeof e.format=="function")return e.format(u);const C=w||i(),N=e.formatLocale?{locale:e.formatLocale}:void 0;return Array.isArray(u)?`${Ha(u[0],C,N)} ${e.modelAuto&&!u[1]?"":t.value.textInputOptions.rangeSeparator||"-"} ${u[1]?Ha(u[1],C,N):""}`:Ha(u,C,N)},m=u=>e.timezone?Sl(u,e.timezone):u,l=u=>e.timezone?_l(u,e.timezone):u,g=$(()=>u=>{var w;return(w=e.hideNavigation)==null?void 0:w.includes(u)}),y=u=>{const w=e.maxDate?vt(m(u),m(Y(e.maxDate))):!1,C=e.minDate?tt(m(u),m(Y(e.minDate))):!1,N=J(u,e.disabledDates),q=t.value.filters.months.map(X=>+X).includes(Se(u)),ne=e.disabledWeekDays.length?e.disabledWeekDays.some(X=>+X===eu(u)):!1,ie=e.allowedDates.length?!e.allowedDates.some(X=>Ce(m(Y(X)),m(u))):!1,x=_e(u),P=x<+e.yearRange[0]||x>+e.yearRange[1];return!(w||C||N||q||P||ne||ie)},f=u=>{const w={hours:qt(Y()),minutes:Gt(Y()),seconds:Pa(Y())};return Object.assign(w,u)},h=()=>e.range?e.startTime&&Array.isArray(e.startTime)?[f(e.startTime[0]),f(e.startTime[1])]:null:e.startTime&&!Array.isArray(e.startTime)?f(e.startTime):null,k=u=>!y(u),W=u=>Array.isArray(u)?Ea(u[0])&&(u[1]?Ea(u[1]):!0):u?Ea(u):!1,D=u=>u instanceof Date?u:ed(u),Q=u=>{const w=xt(m(u),{weekStartsOn:+e.weekStart}),C=hs(m(u),{weekStartsOn:+e.weekStart});return[w,C]},J=(u,w)=>Array.isArray(w)?w.some(C=>Ce(m(Y(C)),m(u))):w(u),T=(u,w,C)=>{let N=u?Y(u):Y();return(w||w===0)&&(N=Fa(N,w)),C&&(N=la(N,C)),N},M=u=>ht(Y(),{hours:qt(u),minutes:Gt(u),seconds:Pa(u)}),S=u=>ht(Y(),{hours:+u.hours||0,minutes:+u.minutes||0,seconds:+u.seconds||0}),R=(u,w,C,N)=>{if(!u)return!0;if(N){const q=C==="max"?Kn(u,w):Qn(u,w),ne={seconds:0,milliseconds:0};return q||Li(ht(u,ne),ht(w,ne))}return C==="max"?u.getTime()<=w.getTime():u.getTime()>=w.getTime()},B=()=>!e.enableTimePicker||e.monthPicker||e.yearPicker||e.ignoreTimeValidation,_=u=>Array.isArray(u)?[u[0]?M(u[0]):null,u[1]?M(u[1]):null]:M(u),z=u=>{const w=e.maxTime?S(e.maxTime):Y(e.maxDate);return Array.isArray(u)?R(u[0],w,"max",!!e.maxDate)&&R(u[1],w,"max",!!e.maxDate):R(u,w,"max",!!e.maxDate)},H=(u,w)=>{const C=e.minTime?S(e.minTime):Y(e.minDate);return Array.isArray(u)?R(u[0],C,"min",!!e.minDate)&&R(u[1],C,"min",!!e.minDate)&&w:R(u,C,"min",!!e.minDate)&&w},I=u=>{let w=!0;if(!u||B())return!0;const C=!e.minDate&&!e.maxDate?_(u):u;return(e.maxTime||e.maxDate)&&(w=z(Ze(C))),(e.minTime||e.minDate)&&(w=H(Ze(C),w)),w},F=(u,w)=>{const C=Y(JSON.parse(JSON.stringify(u))),N=[];for(let q=0;q<7;q++){const ne=Yt(C,q),ie=Se(ne)!==w;N.push({text:e.hideOffsetDates&&ie?"":ne.getDate(),value:ne,current:!ie,classData:{}})}return N},Z=(u,w)=>{const C=[],N=Y(m(new Date(w,u))),q=Y(m(new Date(w,u+1,0))),ne=xt(N,{weekStartsOn:e.weekStart}),ie=x=>{const P=F(x,u);if(C.push({days:P}),!C[C.length-1].days.some(X=>Ce(Rt(X.value),Rt(q)))){const X=Yt(x,7);ie(X)}};if(ie(ne),e.sixWeeks&&C.length<6){const x=6-C.length;for(let P=1;P<=x;P++){const X=C[C.length-1],be=X.days[X.days.length-1],at=F(Yt(be.value,1),Se(N));C.push({days:at})}}return C},ee=(u,w,C)=>[ht(Y(u),{date:1}),ht(Y(),{month:w,year:C,date:1})],re=(u,w)=>tt(...ee(e.minDate,u,w))||Ce(...ee(e.minDate,u,w)),A=(u,w)=>vt(...ee(e.maxDate,u,w))||Ce(...ee(e.maxDate,u,w)),L=(u,w,C)=>{let N=!1;return e.maxDate&&C&&A(u,w)&&(N=!0),e.minDate&&!C&&re(u,w)&&(N=!0),N};return{checkPartialRangeValue:n,checkRangeEnabled:a,getZonedDate:m,getZonedToUtc:l,formatDate:d,getDefaultPattern:i,validateDate:y,getDefaultStartTime:h,isDisabled:k,isValidDate:W,sanitizeDate:D,getWeekFromDate:Q,matchDate:J,setDateMonthOrYear:T,isValidTime:I,getCalendarDays:Z,validateMonthYearInRange:(u,w,C,N)=>{let q=!1;return N?e.minDate&&e.maxDate?q=L(u,w,C):(e.minDate&&re(u,w)||e.maxDate&&A(u,w))&&(q=!0):q=!0,q},validateMaxDate:A,validateMinDate:re,defaults:t,hideNavigationButtons:g}},Te=Ia({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),yn=U(null),La=U(!1),wn=U(!1),bn=U(!1),Pn=U(!1),ot=U(0),Je=U(0),aa=()=>{const e=$(()=>La.value?[...Te.selectionGrid,Te.actionRow].filter(f=>f.length):wn.value?[...Te.timePicker[0],...Te.timePicker[1],Pn.value?[]:[yn.value],Te.actionRow].filter(f=>f.length):bn.value?[...Te.monthPicker,Te.actionRow]:[Te.monthYear,...Te.calendar,Te.time,Te.actionRow].filter(f=>f.length)),n=f=>{ot.value=f?ot.value+1:ot.value-1;let h=null;e.value[Je.value]&&(h=e.value[Je.value][ot.value]),h||(ot.value=f?ot.value-1:ot.value+1)},t=f=>{Je.value===0&&!f||Je.value===e.value.length&&f||(Je.value=f?Je.value+1:Je.value-1,e.value[Je.value]?e.value[Je.value]&&!e.value[Je.value][ot.value]&&ot.value!==0&&(ot.value=e.value[Je.value].length-1):Je.value=f?Je.value-1:Je.value+1)},a=f=>{let h=null;e.value[Je.value]&&(h=e.value[Je.value][ot.value]),h?h.focus({preventScroll:!La.value}):ot.value=f?ot.value-1:ot.value+1},r=()=>{n(!0),a(!0)},i=()=>{n(!1),a(!1)},d=()=>{t(!1),a(!0)},m=()=>{t(!0),a(!0)},l=(f,h)=>{Te[h]=f},g=(f,h)=>{Te[h]=f},y=()=>{ot.value=0,Je.value=0};return{buildMatrix:l,buildMultiLevelMatrix:g,setTimePickerBackRef:f=>{yn.value=f},setSelectionGrid:f=>{La.value=f,y(),f||(Te.selectionGrid=[])},setTimePicker:(f,h=!1)=>{wn.value=f,Pn.value=h,y(),f||(Te.timePicker[0]=[],Te.timePicker[1]=[])},setTimePickerElements:(f,h=0)=>{Te.timePicker[h]=f},arrowRight:r,arrowLeft:i,arrowUp:d,arrowDown:m,clearArrowNav:()=>{Te.monthYear=[],Te.calendar=[],Te.time=[],Te.actionRow=[],Te.selectionGrid=[],Te.timePicker[0]=[],Te.timePicker[1]=[],La.value=!1,wn.value=!1,Pn.value=!1,bn.value=!1,y(),yn.value=null},setMonthPicker:f=>{bn.value=f,y()},refSets:Te}},Jr=e=>Array.isArray(e),ia=e=>Array.isArray(e),Ur=e=>Array.isArray(e)&&e.length===2,Rl=(e,n,t,a,r)=>{const{getDefaultStartTime:i,isDisabled:d,sanitizeDate:m,getWeekFromDate:l,setDateMonthOrYear:g,validateMonthYearInRange:y,defaults:f}=wt(e),h=$({get:()=>e.internalModelValue,set:p=>{!e.readonly&&!e.disabled&&n("update:internal-model-value",p)}}),k=U([]);Ct(h,()=>{e.multiCalendars||R()});const W=U([{month:Se(Y()),year:_e(Y())}]),D=Ia({hours:e.range?[qt(Y()),qt(Y())]:qt(Y()),minutes:e.range?[Gt(Y()),Gt(Y())]:Gt(Y()),seconds:e.range?[0,0]:0}),Q=$(()=>p=>W.value[p]?W.value[p].month:0),J=$(()=>p=>W.value[p]?W.value[p].year:0),T=$(()=>e.flow&&e.flow.length?r.value===e.flow.length:!0),M=(p,E,le)=>{var de,ze;W.value[p]||(W.value[p]={month:0,year:0}),W.value[p].month=E===null?(de=W.value[p])==null?void 0:de.month:E,W.value[p].year=le===null?(ze=W.value[p])==null?void 0:ze.year:le},S=(p,E)=>{D[p]=E};jt(()=>{h.value||(e.startDate&&(M(0,Se(Y(e.startDate)),_e(Y(e.startDate))),f.value.multiCalendars&&De(0)),f.value.startTime&&A()),R(!0)});const R=(p=!1)=>{if(h.value)return Array.isArray(h.value)?(k.value=h.value,I(p)):_(h.value);if(e.timePicker)return F();if(e.monthPicker&&!e.range)return Z();if(e.yearPicker&&!e.range)return ee();if(f.value.multiCalendars&&p&&!e.startDate)return B(Y(),p)},B=(p,E=!1)=>{if((!f.value.multiCalendars||!e.multiStatic||E)&&M(0,Se(p),_e(p)),f.value.multiCalendars)for(let le=1;le<f.value.multiCalendars;le++){const de=ht(Y(),{month:Q.value(le-1),year:J.value(le-1)}),ze=Vi(de,{months:1});W.value[le]={month:Se(ze),year:_e(ze)}}},_=p=>{B(p),S("hours",qt(p)),S("minutes",Gt(p)),S("seconds",Pa(p))},z=(p,E)=>{B(p[0],E);const le=(de,ze)=>[de(p[0]),p[1]?de(p[1]):D[ze][1]];S("hours",le(qt,"hours")),S("minutes",le(Gt,"minutes")),S("seconds",le(Pa,"seconds"))},H=(p,E)=>{if((e.range||e.weekPicker)&&!e.multiDates)return z(p,E);if(e.multiDates){const le=p[p.length-1];return _(le)}},I=p=>{const E=h.value;H(E,p),f.value.multiCalendars&&e.multiCalendarsSolo&&u()},F=()=>{if(A(),!e.range)h.value=Wt(Y(),D.hours,D.minutes,re());else{const p=D.hours,E=D.minutes;h.value=[Wt(Y(),p[0],E[0],re()),Wt(Y(),p[1],E[1],re(!1))]}},Z=()=>{h.value=g(Y(),Q.value(0),J.value(0))},ee=()=>{h.value=Y()},re=(p=!0)=>e.enableSeconds?Array.isArray(D.seconds)?p?D.seconds[0]:D.seconds[1]:D.seconds:0,A=()=>{const p=i();if(p){const E=Array.isArray(p),le=E?[+p[0].hours,+p[1].hours]:+p.hours,de=E?[+p[0].minutes,+p[1].minutes]:+p.minutes,ze=E?[+p[0].seconds,+p[1].seconds]:+p.seconds;S("hours",le),S("minutes",de),e.enableSeconds&&S("seconds",ze)}},L=()=>Array.isArray(h.value)&&h.value.length?h.value[h.value.length-1]:null,u=()=>{if(Array.isArray(h.value)&&h.value.length===2){const p=Y(Y(h.value[1]?h.value[1]:Ot(h.value[0],1))),[E,le]=[Se(h.value[0]),_e(h.value[0])],[de,ze]=[Se(h.value[1]),_e(h.value[1])];(E!==de||E===de&&le!==ze)&&e.multiCalendarsSolo&&M(1,Se(p),_e(p))}},w=p=>{const E=Ot(p,1);return{month:Se(E),year:_e(E)}},C=p=>{const E=Se(Y(p)),le=_e(Y(p));if(M(0,E,le),f.value.multiCalendars>0)for(let de=1;de<f.value.multiCalendars;de++){const ze=w(ht(Y(p),{year:Q.value(de-1),month:J.value(de-1)}));M(de,ze.month,ze.year)}},N=p=>{if(h.value&&Array.isArray(h.value))if(h.value.some(E=>Ce(p,E))){const E=h.value.filter(le=>!Ce(le,p));h.value=E.length?E:null}else(e.multiDatesLimit&&+e.multiDatesLimit>h.value.length||!e.multiDatesLimit)&&h.value.push(p);else h.value=[p]},q=(p,E)=>{const le=vt(p,E)?E:p,de=vt(E,p)?E:p;return Nr({start:le,end:de})},ne=(p,E=0)=>{if(Array.isArray(h.value)&&h.value[E]){const le=Hi(p,h.value[E]),de=q(h.value[E],p),ze=de.length===1?0:de.filter(Tt=>d(Tt)).length,rt=Math.abs(le)-ze;if(e.minRange&&e.maxRange)return rt>=+e.minRange&&rt<=+e.maxRange;if(e.minRange)return rt>=+e.minRange;if(e.maxRange)return rt<=+e.maxRange}return!0},ie=p=>Array.isArray(h.value)&&h.value.length===2?e.fixedStart&&(vt(p,h.value[0])||Ce(p,h.value[0]))?[h.value[0],p]:e.fixedEnd&&(tt(p,h.value[1])||Ce(p,h.value[1]))?[p,h.value[1]]:(n("invalid-fixed-range",p),h.value):[],x=()=>{e.autoApply&&T.value&&n("auto-apply")},P=()=>{e.autoApply&&n("select-date")},X=p=>!Nr({start:p[0],end:p[1]}).some(E=>d(E)),be=p=>(h.value=l(Y(p.value)),x()),at=p=>{const E=Wt(Y(p.value),D.hours,D.minutes,re());e.multiDates?N(E):h.value=E,t(),x()},Le=()=>{k.value=h.value?h.value.slice():[],k.value.length===2&&!(e.fixedStart||e.fixedEnd)&&(k.value=[])},bt=(p,E)=>{const le=[Y(p.value),Yt(Y(p.value),+e.autoRange)];X(le)&&(E&&C(p.value),k.value=le)},Et=p=>{fe(p.value)||!ne(p.value,e.fixedStart?0:1)||(k.value=ie(Y(p.value)))},fe=p=>e.noDisabledRange?q(k.value[0],p).some(E=>d(E)):!1,Pt=(p,E)=>{if(Le(),e.autoRange)return bt(p,E);if(e.fixedStart||e.fixedEnd)return Et(p);k.value[0]?ne(Y(p.value))&&!fe(p.value)&&(tt(Y(p.value),Y(k.value[0]))?k.value.unshift(Y(p.value)):k.value[1]=Y(p.value)):k.value[0]=Y(p.value)},kt=p=>{k.value[p]=Wt(k.value[p],D.hours[p],D.minutes[p],re(p!==1))},Qe=()=>{k.value.length&&(k.value[0]&&!k.value[1]?kt(0):(kt(0),kt(1),t()),h.value=k.value.slice(),k.value[0]&&k.value[1]&&e.autoApply&&n("auto-apply"),k.value[0]&&!k.value[1]&&e.modelAuto&&e.autoApply&&n("auto-apply"))},pe=(p,E=!1)=>{if(!(d(p.value)||!p.current&&e.hideOffsetDates)){if(e.weekPicker)return be(p);if(!e.range)return at(p);ia(D.hours)&&ia(D.minutes)&&!e.multiDates&&(Pt(p,E),Qe())}},je=p=>{const E=p[0];return e.weekNumbers==="local"?Bn(E.value,{weekStartsOn:+e.weekStart}):e.weekNumbers==="iso"?qn(E.value):typeof e.weekNumbers=="function"?e.weekNumbers(E.value):""},De=p=>{for(let E=p-1;E>=0;E--){const le=ya(ht(Y(),{month:Q.value(E+1),year:J.value(E+1)}),1);M(E,Se(le),_e(le))}for(let E=p+1;E<=f.value.multiCalendars-1;E++){const le=Ot(ht(Y(),{month:Q.value(E-1),year:J.value(E-1)}),1);M(E,Se(le),_e(le))}},zt=p=>g(Y(),Q.value(p),J.value(p)),Ge=p=>Wt(p,D.hours,D.minutes,re()),Mt=(p,E)=>{const le=e.monthPicker?Q.value(p)!==E.month||!E.fromNav:J.value(p)!==E.year;if(M(p,E.month,E.year),f.value.multiCalendars&&!e.multiCalendarsSolo&&De(p),e.monthPicker||e.yearPicker)if(e.range){if(le){let de=h.value?h.value.slice():[];de.length===2&&de[1]!==null&&(de=[]),de.length?tt(zt(p),de[0])?de.unshift(zt(p)):de[1]=zt(p):de=[zt(p)],h.value=de}}else h.value=zt(p);n("update-month-year",{instance:p,month:E.month,year:E.year}),a(e.multiCalendarsSolo?p:void 0)},nt=async(p=!1)=>{if(e.autoApply&&(e.monthPicker||e.yearPicker)){await wa();const E=e.monthPicker?p:!1;e.range?n("auto-apply",E||!h.value||h.value.length===1):n("auto-apply",E)}t()},$t=(p,E)=>{const le=ht(Y(),{month:Q.value(E),year:J.value(E)}),de=p<0?Ot(le,1):ya(le,1);y(Se(de),_e(de),p<0,e.preventMinMaxNavigation)&&(M(E,Se(de),_e(de)),f.value.multiCalendars&&!e.multiCalendarsSolo&&De(E),n("update-month-year",{instance:E,month:Se(de),year:_e(de)}),a())},Ht=p=>{Jr(p)&&Jr(h.value)&&ia(D.hours)&&ia(D.minutes)?(p[0]&&h.value[0]&&(h.value[0]=Wt(p[0],D.hours[0],D.minutes[0],re())),p[1]&&h.value[1]&&(h.value[1]=Wt(p[1],D.hours[1],D.minutes[1],re(!1)))):e.multiDates&&Array.isArray(h.value)?h.value[h.value.length-1]=Ge(p):!e.range&&!Ur(p)&&(h.value=Ge(p)),n("time-update")},$a=(p,E=!0,le=!1)=>{const de=E?p:D.hours,ze=!E&&!le?p:D.minutes,rt=le?p:D.seconds;if(e.range&&Ur(h.value)&&ia(de)&&ia(ze)&&ia(rt)&&!e.disableTimeRangeValidation){const Tt=V=>Wt(h.value[V],de[V],ze[V],rt[V]),ra=V=>Zn(h.value[V],0);if(Ce(h.value[0],h.value[1])&&(Qn(Tt(0),ra(1))||Kn(Tt(1),ra(0))))return}if(S("hours",de),S("minutes",ze),S("seconds",rt),h.value)if(e.multiDates){const Tt=L();Tt&&Ht(Tt)}else Ht(h.value);else e.timePicker&&Ht(e.range?[Y(),Y()]:Y());t()},Wa=(p,E)=>{e.monthChangeOnScroll&&$t(e.monthChangeOnScroll!=="inverse"?-p.deltaY:p.deltaY,E)},Da=(p,E,le=!1)=>{e.monthChangeOnArrows&&e.vertical===le&&fa(p,E)},fa=(p,E)=>{$t(p==="right"?-1:1,E)};return{time:D,month:Q,year:J,modelValue:h,calendars:W,monthYearSelect:nt,isDisabled:d,updateTime:$a,getWeekNum:je,selectDate:pe,updateMonthYear:Mt,handleScroll:Wa,getMarker:p=>e.markers.find(E=>Ce(m(p.value),m(E.date))),handleArrow:Da,handleSwipe:fa,selectCurrentDate:()=>{e.range?h.value&&Array.isArray(h.value)&&h.value[0]?h.value=tt(Y(),h.value[0])?[Y(),h.value[0]]:[h.value[0],Y()]:h.value=[Y()]:h.value=Y(),P()},presetDateRange:(p,E)=>{E||p.length&&p.length<=2&&e.range&&(h.value=p.map(le=>Y(le)),P(),e.multiCalendars&&wa().then(()=>R(!0)))}}},ql=(e,n,t)=>{const a=U(),{getZonedToUtc:r,getZonedDate:i,formatDate:d,getDefaultPattern:m,checkRangeEnabled:l,checkPartialRangeValue:g,isValidDate:y,setDateMonthOrYear:f,defaults:h}=wt(n),k=U(""),W=Qa(n,"format");Ct(a,()=>{e("internal-model-change",a.value)}),Ct(W,()=>{w()});const D=x=>{const P=x||Y();return n.modelType?N(P):{hours:qt(P),minutes:Gt(P),seconds:n.enableSeconds?Pa(P):0}},Q=x=>n.modelType?N(x):{month:Se(x),year:_e(x)},J=x=>Array.isArray(x)?l(()=>[la(Y(),x[0]),x[1]?la(Y(),x[1]):g()]):la(Y(),+x),T=(x,P)=>(typeof x=="string"||typeof x=="number")&&n.modelType?C(x):P,M=x=>Array.isArray(x)?[T(x[0],Wt(null,+x[0].hours,+x[0].minutes,x[0].seconds)),T(x[1],Wt(null,+x[1].hours,+x[1].minutes,x[1].seconds))]:T(x,Wt(null,x.hours,x.minutes,x.seconds)),S=x=>Array.isArray(x)?l(()=>[T(x[0],f(null,+x[0].month,+x[0].year)),T(x[1],x[1]?f(null,+x[1].month,+x[1].year):g())]):T(x,f(null,+x.month,+x.year)),R=x=>{if(Array.isArray(x))return x.map(P=>C(P));throw new Error(an.dateArr("multi-dates"))},B=x=>{if(Array.isArray(x))return[Y(x[0]),Y(x[1])];throw new Error(an.dateArr("week-picker"))},_=x=>n.modelAuto?Array.isArray(x)?[C(x[0]),C(x[1])]:n.autoApply?[C(x)]:[C(x),null]:Array.isArray(x)?l(()=>[C(x[0]),x[1]?C(x[1]):g()]):C(x),z=()=>{Array.isArray(a.value)&&n.range&&a.value.length===1&&a.value.push(g())},H=()=>{const x=a.value;return[N(x[0]),x[1]?N(x[1]):g()]},I=()=>a.value[1]?H():N(Ze(a.value[0])),F=()=>(a.value||[]).map(x=>N(x)),Z=()=>(z(),n.modelAuto?I():n.multiDates?F():Array.isArray(a.value)?l(()=>H()):N(Ze(a.value))),ee=x=>x?n.timePicker?M(Ze(x)):n.monthPicker?S(Ze(x)):n.yearPicker?J(Ze(x)):n.multiDates?R(Ze(x)):n.weekPicker?B(Ze(x)):_(Ze(x)):null,re=x=>{const P=ee(x);y(Ze(P))?(a.value=Ze(P),w()):(a.value=null,k.value="")},A=()=>{var x;const P=X=>{var be;return Ha(X,(be=h.value.textInputOptions)==null?void 0:be.format)};return`${P(a.value[0])} ${(x=h.value.textInputOptions)==null?void 0:x.rangeSeparator} ${a.value[1]?P(a.value[1]):""}`},L=()=>{var x;return t.value&&a.value?Array.isArray(a.value)?A():Ha(a.value,(x=h.value.textInputOptions)==null?void 0:x.format):d(a.value)},u=()=>{var x;return a.value?n.multiDates?a.value.map(P=>d(P)).join("; "):n.textInput&&typeof((x=h.value.textInputOptions)==null?void 0:x.format)=="string"?L():d(a.value):""},w=()=>{!n.format||typeof n.format=="string"?k.value=u():k.value=n.format(a.value)},C=x=>{if(n.utc){const P=new Date(x);return n.utc==="preserve"?new Date(P.getTime()+P.getTimezoneOffset()*6e4):P}return n.modelType?n.modelType==="date"||n.modelType==="timestamp"?i(new Date(x)):n.modelType==="format"&&(typeof n.format=="string"||!n.format)?_n(x,m(),new Date):i(_n(x,n.modelType,new Date)):i(new Date(x))},N=x=>x?n.utc?ol(x,n.utc==="preserve"):n.modelType?n.modelType==="timestamp"?+r(x):n.modelType==="format"&&(typeof n.format=="string"||!n.format)?d(r(x)):d(r(x),n.modelType):r(x):"",q=x=>{e("update:model-value",x)},ne=x=>Array.isArray(a.value)?[x(a.value[0]),a.value[1]?x(a.value[1]):g()]:x(Ze(a.value)),ie=x=>q(Ze(ne(x)));return{inputValue:k,internalModelValue:a,checkBeforeEmit:()=>a.value?n.range?n.partialRange?a.value.length>=1:a.value.length===2:!!a.value:!1,parseExternalModelValue:re,formatInputValue:w,emitModelValue:()=>(w(),n.monthPicker?ie(Q):n.timePicker?ie(D):n.yearPicker?ie(_e):n.weekPicker?q(a.value):q(Z()))}},Gl=(e,n)=>{const{validateMonthYearInRange:t,validateMaxDate:a,validateMinDate:r,defaults:i}=wt(e),d=(f,h)=>{let k=f;return i.value.filters.months.includes(Se(k))?(k=h?Ot(f,1):ya(f,1),d(k,h)):k},m=(f,h)=>{let k=f;return i.value.filters.years.includes(_e(k))?(k=h?Fi(f,1):vd(f),m(k,h)):k},l=f=>{const h=ht(new Date,{month:e.month,year:e.year});let k=f?Ot(h,1):ya(h,1),W=Se(k),D=_e(k);i.value.filters.months.includes(W)&&(k=d(k,f),W=Se(k),D=_e(k)),i.value.filters.years.includes(D)&&(k=m(k,f),D=_e(k)),t(W,D,f,e.preventMinMaxNavigation)&&g(W,D)},g=(f,h)=>{n("update-month-year",{month:f,year:h})},y=$(()=>f=>{if(!e.preventMinMaxNavigation||f&&!e.maxDate||!f&&!e.minDate)return!1;const h=ht(new Date,{month:e.month,year:e.year}),k=f?Ot(h,1):ya(h,1),W=[Se(k),_e(k)];return f?!a(...W):!r(...W)});return{handleMonthYearChange:l,isDisabled:y,updateMonthYear:g}};var Ga=(e=>(e.center="center",e.left="left",e.right="right",e))(Ga||{});const Bl=(e,n,t,a)=>{const r=U({top:"0",left:"0",transform:"none"}),i=U(!1),d=Qa(a,"teleportCenter");Ct(d,()=>{D()});const m=z=>{if(a.teleport){const H=z.getBoundingClientRect();return{left:H.left+window.scrollX,top:H.top+window.scrollY}}return{top:0,left:0}},l=(z,H)=>{r.value.left=`${z+H}px`,r.value.transform="translateX(-100%)"},g=z=>{r.value.left=`${z}px`,r.value.transform="translateX(0)"},y=(z,H,I=!1)=>{a.position===Ga.left&&g(z),a.position===Ga.right&&l(z,H),a.position===Ga.center&&(r.value.left=`${z+H/2}px`,r.value.transform=I?"translate(-50%, -50%)":"translateX(-50%)")},f=z=>{const{width:H,height:I}=z.getBoundingClientRect(),{top:F,left:Z}=a.altPosition?a.altPosition(z):m(z);return{top:+F,left:+Z,width:H,height:I}},h=()=>{const z=qe(n);if(z){const{top:H,left:I,width:F,height:Z}=f(z);r.value.top=`${H+Z/2}px`,r.value.transform="translateY(-50%)",y(I,F,!0)}},k=()=>{r.value.left="50%",r.value.top="50%",r.value.transform="translate(-50%, -50%)",r.value.position="fixed"},W=()=>{const z=qe(n),{top:H,left:I,transform:F}=a.altPosition(z);r.value={top:`${H}px`,left:`${I}px`,transform:F||""}},D=(z=!0)=>{if(!a.inline)return d.value?k():a.altPosition!==null?W():(z&&t("recalculate-position"),R())},Q=({inputEl:z,menuEl:H,left:I,width:F})=>{window.screen.width>768&&y(I,F),M(z,H)},J=(z,H)=>{const{top:I,left:F,height:Z,width:ee}=f(z),re=H.getBoundingClientRect().height;let A=I+Z+ +a.offset;const L=window.scrollY,u=8,w=L+u,C=L+window.innerHeight-re-u;A<w?A=w:A>C&&(A=C),r.value.top=`${A}px`,r.value.transform="translateX(-50%)",Q({inputEl:z,menuEl:H,left:F,width:ee}),i.value=!1},T=(z,H)=>{const{top:I,left:F,width:Z}=f(z),ee=H.getBoundingClientRect().height;let re=I-ee-+a.offset;const A=window.scrollY,L=8,u=A+L,w=A+window.innerHeight-ee-L;re<u?re=u:re>w&&(re=w),r.value.top=`${re}px`,r.value.transform="translateX(-50%)",Q({inputEl:z,menuEl:H,left:F,width:Z}),i.value=!0},M=(z,H)=>{if(a.autoPosition){const{left:I,width:F}=f(z),{left:Z,right:ee}=H.getBoundingClientRect();if(Z<0)return g(I);if(ee>wwLib.getFrontDocument().documentElement.clientWidth)return l(I,F)}},S=(z,H)=>{const I=z.getBoundingClientRect(),F=H.getBoundingClientRect(),re=(window.innerWidth<=768&&window.visualViewport?window.visualViewport.height:window.innerHeight)-I.bottom,A=I.top;return re<F.height+ +a.offset+16&&A>re?T(z,H):J(z,H)},R=()=>{const z=qe(n),H=qe(e);if(z&&H)return a.autoPosition?S(z,H):J(z,H)},B=function(z){if(z){const H=z.scrollHeight>z.clientHeight,I=window.getComputedStyle(z).overflowY.indexOf("hidden")!==-1;return H&&!I}return!0},_=function(z){return!z||z===wwLib.getFrontDocument().body?window:B(z)?z:_(z.parentNode)};return{openOnTop:i,menuPosition:r,setMenuPosition:D,setInitialPosition:h,getScrollableParent:_}},va=[{name:"clock-icon",use:["time","calendar"]},{name:"arrow-left",use:["month-year","calendar"]},{name:"arrow-right",use:["month-year","calendar"]},{name:"arrow-up",use:["time","calendar"]},{name:"arrow-down",use:["time","calendar"]},{name:"calendar-icon",use:["month-year","time","calendar"]},{name:"day",use:["calendar"]},{name:"month-overlay-value",use:["calendar","month-year"]},{name:"year-overlay-value",use:["calendar","month-year"]},{name:"year-overlay",use:["month-year"]},{name:"month-overlay",use:["month-year"]},{name:"month-overlay-header",use:["month-year"]},{name:"year-overlay-header",use:["month-year"]},{name:"hours-overlay-value",use:["calendar","time"]},{name:"minutes-overlay-value",use:["calendar","time"]},{name:"seconds-overlay-value",use:["calendar","time"]},{name:"hours",use:["calendar","time"]},{name:"minutes",use:["calendar","time"]},{name:"month",use:["calendar","month-year"]},{name:"year",use:["calendar","month-year"]},{name:"action-select",use:["action"]},{name:"action-preview",use:["action"]},{name:"calendar-header",use:["calendar"]},{name:"marker-tooltip",use:["calendar"]},{name:"now-button",use:[]},{name:"time-picker-overlay",use:["calendar","time"]},{name:"am-pm-button",use:["calendar","time"]},{name:"left-sidebar",use:["menu"]},{name:"right-sidebar",use:["menu"]},{name:"month-year",use:["month-year"]},{name:"time-picker",use:["menu"]},{name:"action-row",use:["action"]}],Ql=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],Kl={all:()=>va,monthYear:()=>va.filter(e=>e.use.includes("month-year")),input:()=>Ql,timePicker:()=>va.filter(e=>e.use.includes("time")),action:()=>va.filter(e=>e.use.includes("action")),calendar:()=>va.filter(e=>e.use.includes("calendar")),menu:()=>va.filter(e=>e.use.includes("menu"))},da=(e,n,t)=>{const a=[];return Kl[n]().forEach(r=>{e[r.name]&&a.push(r.name)}),t&&t.length&&t.forEach(r=>{r.slot&&a.push(r.slot)}),a},sn=e=>({transitionName:$(()=>n=>e&&typeof e!="boolean"?n?e.open:e.close:""),showTransition:!!e}),na={multiCalendars:{type:[Boolean,Number,String],default:null},modelValue:{type:[String,Date,Array,Object,Number],default:null},modelType:{type:String,default:null},position:{type:String,default:"center"},dark:{type:Boolean,default:!1},format:{type:[String,Function],default:()=>null},closeOnScroll:{type:Boolean,default:!1},autoPosition:{type:Boolean,default:!0},closeOnAutoApply:{type:Boolean,default:!0},altPosition:{type:Function,default:null},transitions:{type:[Boolean,Object],default:!0},formatLocale:{type:Object,default:null},utc:{type:[Boolean,String],default:!1},ariaLabels:{type:Object,default:()=>({})},offset:{type:[Number,String],default:10},hideNavigation:{type:Array,default:()=>[]},timezone:{type:String,default:null},vertical:{type:Boolean,default:!1},disableMonthYearSelect:{type:Boolean,default:!1},menuClassName:{type:String,default:null},dayClass:{type:Function,default:null},yearRange:{type:Array,default:()=>[1900,2100]},multiCalendarsSolo:{type:Boolean,default:!1},calendarCellClassName:{type:String,default:null},enableTimePicker:{type:Boolean,default:!0},autoApply:{type:Boolean,default:!1},disabledDates:{type:[Array,Function],default:()=>[]},monthNameFormat:{type:String,default:"short"},startDate:{type:[Date,String],default:null},startTime:{type:[Object,Array],default:null},hideOffsetDates:{type:Boolean,default:!1},autoRange:{type:[Number,String],default:null},noToday:{type:Boolean,default:!1},disabledWeekDays:{type:Array,default:()=>[]},allowedDates:{type:Array,default:()=>[]},showNowButton:{type:Boolean,default:!1},nowButtonLabel:{type:String,default:"Now"},markers:{type:Array,default:()=>[]},modeHeight:{type:[Number,String],default:255},escClose:{type:Boolean,default:!0},spaceConfirm:{type:Boolean,default:!0},monthChangeOnArrows:{type:Boolean,default:!0},presetRanges:{type:Array,default:()=>[]},flow:{type:Array,default:()=>[]},preventMinMaxNavigation:{type:Boolean,default:!1},minRange:{type:[Number,String],default:null},maxRange:{type:[Number,String],default:null},multiDatesLimit:{type:[Number,String],default:null},reverseYears:{type:Boolean,default:!1},keepActionRow:{type:Boolean,default:!1},weekPicker:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},arrowNavigation:{type:Boolean,default:!1},multiStatic:{type:Boolean,default:!0},disableTimeRangeValidation:{type:Boolean,default:!1},highlight:{type:[Array,Function],default:null},highlightWeekDays:{type:Array,default:null},highlightDisabledDays:{type:Boolean,default:!1},teleport:{type:[String,Boolean],default:null},teleportCenter:{type:Boolean,default:!1},locale:{type:String,default:"en-Us"},weekNumName:{type:String,default:"W"},weekStart:{type:[Number,String],default:1},weekNumbers:{type:[String,Function],default:null},calendarClassName:{type:String,default:null},noSwipe:{type:Boolean,default:!1},monthChangeOnScroll:{type:[Boolean,String],default:!0},dayNames:{type:[Function,Array],default:null},monthPicker:{type:Boolean,default:!1},customProps:{type:Object,default:null},yearPicker:{type:Boolean,default:!1},modelAuto:{type:Boolean,default:!1},selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},previewFormat:{type:[String,Function],default:()=>""},multiDates:{type:Boolean,default:!1},partialRange:{type:Boolean,default:!0},ignoreTimeValidation:{type:Boolean,default:!1},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},minTime:{type:Object,default:null},maxTime:{type:Object,default:null},name:{type:String,default:null},placeholder:{type:String,default:""},hideInputIcon:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},state:{type:Boolean,default:null},required:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},inputClassName:{type:String,default:null},inlineWithInput:{type:Boolean,default:!1},textInputOptions:{type:Object,default:()=>null},fixedStart:{type:Boolean,default:!1},fixedEnd:{type:Boolean,default:!1},timePicker:{type:Boolean,default:!1},enableSeconds:{type:Boolean,default:!1},is24:{type:Boolean,default:!0},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},range:{type:Boolean,default:!1},uid:{type:String,default:null},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inline:{type:Boolean,default:!1},textInput:{type:Boolean,default:!1},onClickOutside:{type:Function,default:null},noDisabledRange:{type:Boolean,default:!1},sixWeeks:{type:Boolean,default:!1},dpStyle:{type:Object,default:null}},Jl=["aria-label","aria-disabled","aria-readonly"],Ul={key:1,class:"dp__input_wrap"},Zl=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","onKeydown"],em={key:2,class:"dp__input_icon"},tm={key:4,class:"dp__clear_icon"},am=Vt({__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...na},emits:["clear","open","update:input-value","set-input-date","close","select-date","set-empty-date","toggle","focus-prev","focus","blur"],setup(e,{expose:n,emit:t}){const a=e,{getDefaultPattern:r,isValidDate:i,defaults:d}=wt(a),m=U(),l=U(null),g=U(!1),y=$(()=>({dp__pointer:!a.disabled&&!a.readonly&&!a.textInput,dp__disabled:a.disabled,dp__input_readonly:!a.textInput,dp__input:!0,dp__input_icon_pad:!a.hideInputIcon,dp__input_valid:a.state,dp__input_invalid:a.state===!1,dp__input_focus:g.value||a.isMenuOpen,dp__input_reg:!a.textInput,[a.inputClassName]:!!a.inputClassName})),f=()=>{t("set-input-date",null),a.autoApply&&(t("set-empty-date"),m.value=null)},h=_=>{var z;return il(_,((z=d.value.textInputOptions)==null?void 0:z.format)||r())},k=_=>{const{rangeSeparator:z}=d.value.textInputOptions,[H,I]=_.split(`${z}`);if(H){const F=h(H.trim()),Z=I?h(I.trim()):null,ee=F&&Z?[F,Z]:[F];m.value=F?ee:null}},W=_=>{if(a.range)k(_);else if(a.multiDates){const z=_.split(";");m.value=z.map(H=>h(H.trim())).filter(H=>H)}else m.value=h(_)},D=_=>{var z;const{value:H}=_.target;H!==""?((z=d.value.textInputOptions)!=null&&z.openMenu&&!a.isMenuOpen&&t("open"),W(H),t("set-input-date",m.value)):f(),t("update:input-value",H)},Q=()=>{var _,z;(_=d.value.textInputOptions)!=null&&_.enterSubmit&&i(m.value)&&a.inputValue!==""?(t("set-input-date",m.value,!0),m.value=null):(z=d.value.textInputOptions)!=null&&z.enterSubmit&&a.inputValue===""&&(m.value=null,t("clear"))},J=()=>{var _,z;(_=d.value.textInputOptions)!=null&&_.tabSubmit&&i(m.value)&&a.inputValue!==""?(t("set-input-date",m.value,!0),m.value=null):(z=d.value.textInputOptions)!=null&&z.tabSubmit&&a.inputValue===""&&(m.value=null,t("clear"))},T=()=>{g.value=!0,t("focus")},M=_=>{var z;_.preventDefault(),_.stopImmediatePropagation(),_.stopPropagation(),a.textInput&&(z=d.value.textInputOptions)!=null&&z.openMenu&&!a.inlineWithInput?a.isMenuOpen?d.value.textInputOptions.enterSubmit&&t("select-date"):t("open"):a.textInput||t("toggle")},S=()=>{g.value=!1,a.isMenuOpen||t("blur"),a.autoApply&&a.textInput&&m.value&&(t("set-input-date",m.value),t("select-date"),m.value=null)},R=()=>{t("clear")},B=_=>{a.textInput||_.preventDefault()};return n({focusInput:()=>{l.value&&l.value.focus({preventScroll:!0})},setParsedDate:_=>{m.value=_}}),(_,z)=>{var H;return j(),G("div",{onClick:M,"aria-label":(H=b(d).ariaLabels)==null?void 0:H.input,role:"textbox","aria-multiline":"false","aria-disabled":_.disabled,"aria-readonly":_.readonly},[_.$slots.trigger&&!_.$slots["dp-input"]&&!_.inline?ae(_.$slots,"trigger",{key:0}):O("",!0),!_.$slots.trigger&&(!_.inline||_.inlineWithInput)?(j(),G("div",Ul,[_.$slots["dp-input"]&&!_.$slots.trigger&&!_.inline?ae(_.$slots,"dp-input",{key:0,value:e.inputValue,onInput:D,onEnter:Q,onTab:J,onClear:R}):O("",!0),_.$slots["dp-input"]?O("",!0):(j(),G("input",{key:1,ref_key:"inputRef",ref:l,id:_.uid?`dp-input-${_.uid}`:void 0,name:_.name,class:Me(b(y)),inputmode:_.textInput?"text":"none",placeholder:_.placeholder,disabled:_.disabled,readonly:_.readonly,required:_.required,value:e.inputValue,autocomplete:_.autocomplete,onInput:D,onKeydown:[we(M,["enter"]),we(J,["tab"])],onBlur:S,onFocus:T,onKeypress:B},null,42,Zl)),_.$slots["input-icon"]&&!_.hideInputIcon?(j(),G("span",em,[ae(_.$slots,"input-icon")])):O("",!0),!_.$slots["input-icon"]&&!_.hideInputIcon&&!_.$slots["dp-input"]?(j(),ye(b(on),{key:3,class:"dp__input_icon dp__input_icons"})):O("",!0),_.$slots["clear-icon"]&&e.inputValue&&_.clearable&&!_.disabled&&!_.readonly?(j(),G("span",tm,[ae(_.$slots,"clear-icon",{clear:R})])):O("",!0),_.clearable&&!_.$slots["clear-icon"]&&e.inputValue&&!_.disabled&&!_.readonly?(j(),ye(b(_d),{key:5,class:"dp__clear_icon dp__input_icons","data-test":"clear-icon",onClick:Dt(R,["stop","prevent"])},null,8,["onClick"])):O("",!0)])):O("",!0)],8,Jl)}}}),nm={class:"dp__selection_preview"},rm={class:"dp__action_buttons"},im=["onKeydown"],om=Vt({__name:"ActionRow",props:{calendarWidth:{type:Number,default:0},menuMount:{type:Boolean,default:!1},internalModelValue:{type:[Date,Array],default:null},...na},emits:["close-picker","select-date","invalid-select"],setup(e,{emit:n}){const t=e,{formatDate:a,isValidTime:r,defaults:i}=wt(t),{buildMatrix:d}=aa(),m=U(null),l=U(null);jt(()=>{t.arrowNavigation&&d([qe(m),qe(l)],"actionRow")});const g=$(()=>t.range&&!t.partialRange&&t.internalModelValue?t.internalModelValue.length===2:!0),y=$(()=>!h.value||!k.value||!g.value),f=$(()=>({dp__action:!0,dp__select:!0,dp__action_disabled:y.value})),h=$(()=>!t.enableTimePicker||t.ignoreTimeValidation?!0:r(t.internalModelValue)),k=$(()=>t.monthPicker?J(t.internalModelValue):!0),W=()=>{const M=i.value.previewFormat;return t.timePicker||t.monthPicker,M(Ze(t.internalModelValue))},D=()=>{const M=t.internalModelValue;return i.value.multiCalendars>0?`${a(M[0])} - ${a(M[1])}`:[a(M[0]),a(M[1])]},Q=$(()=>!t.internalModelValue||!t.menuMount?"":typeof i.value.previewFormat=="string"?Array.isArray(t.internalModelValue)?t.internalModelValue.length===2&&t.internalModelValue[1]?D():t.multiDates?t.internalModelValue.map(M=>`${a(M)}`):t.modelAuto?`${a(t.internalModelValue[0])}`:`${a(t.internalModelValue[0])} -`:a(t.internalModelValue):W()),J=M=>{if(!t.monthPicker)return!0;let S=!0;return t.minDate&&t.maxDate?vt(Y(M),Y(t.minDate))&&tt(Y(M),Y(t.maxDate)):(t.minDate&&(S=vt(Y(M),Y(t.minDate))),t.maxDate&&(S=tt(Y(M),Y(t.maxDate))),S)},T=()=>{h.value&&k.value&&g.value?n("select-date"):n("invalid-select")};return(M,S)=>(j(),G("div",{class:"dp__action_row",style:et(e.calendarWidth?{width:`${e.calendarWidth}px`}:{})},[M.$slots["action-row"]?ae(M.$slots,"action-row",Be(Ve({key:0},{internalModelValue:e.internalModelValue,disabled:b(y),selectDate:()=>M.$emit("select-date"),closePicker:()=>M.$emit("close-picker")}))):(j(),G(ke,{key:1},[se("div",nm,[M.$slots["action-preview"]?ae(M.$slots,"action-preview",{key:0,value:e.internalModelValue}):O("",!0),M.$slots["action-preview"]?O("",!0):(j(),G(ke,{key:1},[Array.isArray(b(Q))?O("",!0):(j(),G(ke,{key:0},[Lt(Ee(b(Q)),1)],64)),Array.isArray(b(Q))?(j(!0),G(ke,{key:1},Xe(b(Q),(R,B)=>(j(),G("div",{key:B},Ee(R),1))),128)):O("",!0)],64))]),se("div",rm,[M.$slots["action-select"]?ae(M.$slots,"action-select",{key:0,value:e.internalModelValue}):O("",!0),M.$slots["action-select"]?O("",!0):(j(),G(ke,{key:1},[M.inline?O("",!0):(j(),G("span",{key:0,class:"dp__action dp__cancel",ref_key:"cancelButtonRef",ref:m,tabindex:"0",onClick:S[0]||(S[0]=R=>M.$emit("close-picker")),onKeydown:[S[1]||(S[1]=we(R=>M.$emit("close-picker"),["enter"])),S[2]||(S[2]=we(R=>M.$emit("close-picker"),["space"]))]},Ee(M.cancelText),545)),se("span",{class:Me(b(f)),tabindex:"0",onKeydown:[we(T,["enter"]),we(T,["space"])],onClick:T,"data-test":"select-button",ref_key:"selectButtonRef",ref:l},Ee(M.selectText),43,im)],64))])],64))],4))}}),sm=["aria-label"],um={class:"dp__calendar_header",role:"row"},dm={key:0,class:"dp__calendar_header_item",role:"gridcell"},lm=se("div",{class:"dp__calendar_header_separator"},null,-1),mm=["aria-label"],cm={key:0,role:"gridcell",class:"dp__calendar_item dp__week_num"},hm={class:"dp__cell_inner"},fm=["aria-selected","aria-disabled","aria-label","data-test","onClick","onKeydown","onMouseenter","onMouseleave"],gm=se("div",{class:"dp__arrow_bottom_tp"},null,-1),pm=Vt({__name:"Calendar",props:{mappedDates:{type:Array,default:()=>[]},getWeekNum:{type:Function,default:()=>""},specificMode:{type:Boolean,default:!1},instance:{type:Number,default:0},month:{type:Number,default:0},year:{type:Number,default:0},...na},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(e,{expose:n,emit:t}){const a=e,{buildMultiLevelMatrix:r}=aa(),{setDateMonthOrYear:i,defaults:d}=wt(a),m=U(null),l=U({bottom:"",left:"",transform:""}),g=U([]),y=U(null),f=U(!0),h=U(""),k=U({startX:0,endX:0,startY:0,endY:0}),W=$(()=>a.dayNames?Array.isArray(a.dayNames)?a.dayNames:a.dayNames(a.locale,+a.weekStart):Cl(a.locale,+a.weekStart));jt(()=>{t("mount",{cmp:"calendar",refs:g}),a.noSwipe||y.value&&(y.value.addEventListener("touchstart",H,{passive:!1}),y.value.addEventListener("touchend",I,{passive:!1}),y.value.addEventListener("touchmove",F,{passive:!1})),a.monthChangeOnScroll&&y.value&&y.value.addEventListener("wheel",re,{passive:!1})});const D=A=>A?a.vertical?"vNext":"next":a.vertical?"vPrevious":"previous",Q=(A,L)=>{if(a.transitions){const u=Rt(i(Y(),a.month,a.year));h.value=vt(Rt(i(Y(),A,L)),u)?d.value.transitions[D(!0)]:d.value.transitions[D(!1)],f.value=!1,wa(()=>{f.value=!0})}},J=$(()=>({dp__calendar_wrap:!0,[a.calendarClassName]:!!a.calendarClassName})),T=$(()=>A=>{const L=Fl(A);return{dp__marker_dot:L.type==="dot",dp__marker_line:L.type==="line"}}),M=$(()=>A=>Ce(A,m.value)),S=$(()=>({dp__calendar:!0,dp__calendar_next:d.value.multiCalendars>0&&a.instance!==0})),R=$(()=>A=>a.hideOffsetDates?A.current:!0),B=$(()=>a.specificMode?{height:`${a.modeHeight}px`}:void 0),_=(A,L,u)=>{var w,C;if(t("set-hover-date",A),(C=(w=A.marker)==null?void 0:w.tooltip)!=null&&C.length){const N=qe(g.value[L][u]);if(N){const{width:q,height:ne}=N.getBoundingClientRect();l.value={bottom:`${ne}px`,left:`${q/2}px`,transform:"translateX(-50%)"},m.value=A.value,t("tooltip-open",A.marker)}}},z=A=>{m.value&&(m.value=null,t("tooltip-close",A.marker))},H=A=>{k.value.startX=A.changedTouches[0].screenX,k.value.startY=A.changedTouches[0].screenY},I=A=>{k.value.endX=A.changedTouches[0].screenX,k.value.endY=A.changedTouches[0].screenY,Z()},F=A=>{a.vertical&&!a.inline&&A.preventDefault()},Z=()=>{const A=a.vertical?"Y":"X";Math.abs(k.value[`start${A}`]-k.value[`end${A}`])>10&&t("handle-swipe",k.value[`start${A}`]>k.value[`end${A}`]?"right":"left")},ee=(A,L,u)=>{A&&(Array.isArray(g.value[L])?g.value[L][u]=A:g.value[L]=[A]),a.arrowNavigation&&r(g.value,"calendar")},re=A=>{a.monthChangeOnScroll&&(A.preventDefault(),t("handle-scroll",A))};return n({triggerTransition:Q}),(A,L)=>{var u;return j(),G("div",{class:Me(b(S))},[se("div",{style:et(b(B))},[e.specificMode?O("",!0):(j(),G("div",{key:0,ref_key:"calendarWrapRef",ref:y,class:Me(b(J)),role:"grid","aria-label":(u=b(d).ariaLabels)==null?void 0:u.calendarWrap},[se("div",um,[A.weekNumbers?(j(),G("div",dm,Ee(A.weekNumName),1)):O("",!0),(j(!0),G(ke,null,Xe(b(W),(w,C)=>(j(),G("div",{class:"dp__calendar_header_item",role:"gridcell",key:C,"data-test":"calendar-header"},[A.$slots["calendar-header"]?ae(A.$slots,"calendar-header",{key:0,day:w,index:C}):O("",!0),A.$slots["calendar-header"]?O("",!0):(j(),G(ke,{key:1},[Lt(Ee(w),1)],64))]))),128))]),lm,ft(Ma,{name:h.value,css:!!A.transitions},{default:he(()=>{var w;return[f.value?(j(),G("div",{key:0,class:"dp__calendar",role:"grid","aria-label":(w=b(d).ariaLabels)==null?void 0:w.calendarDays},[(j(!0),G(ke,null,Xe(e.mappedDates,(C,N)=>(j(),G("div",{class:"dp__calendar_row",role:"row",key:N},[A.weekNumbers?(j(),G("div",cm,[se("div",hm,Ee(e.getWeekNum(C.days)),1)])):O("",!0),(j(!0),G(ke,null,Xe(C.days,(q,ne)=>{var ie,x,P;return j(),G("div",{role:"gridcell",class:"dp__calendar_item",ref_for:!0,ref:X=>ee(X,N,ne),key:ne+N,"aria-selected":q.classData.dp__active_date||q.classData.dp__range_start||q.classData.dp__range_start,"aria-disabled":q.classData.dp__cell_disabled,"aria-label":(x=(ie=b(d).ariaLabels)==null?void 0:ie.day)==null?void 0:x.call(ie,q),tabindex:"0","data-test":q.value,onClick:Dt(X=>A.$emit("select-date",q),["stop","prevent"]),onKeydown:[we(X=>A.$emit("select-date",q),["enter"]),we(X=>A.$emit("handle-space",q),["space"])],onMouseenter:X=>_(q,N,ne),onMouseleave:X=>z(q)},[se("div",{class:Me(["dp__cell_inner",q.classData])},[A.$slots.day&&b(R)(q)?ae(A.$slots,"day",{key:0,day:+q.text,date:q.value}):O("",!0),A.$slots.day?O("",!0):(j(),G(ke,{key:1},[Lt(Ee(q.text),1)],64)),q.marker&&b(R)(q)?(j(),G("div",{key:2,class:Me(b(T)(q.marker)),style:et(q.marker.color?{backgroundColor:q.marker.color}:{})},null,6)):O("",!0),b(M)(q.value)?(j(),G("div",{key:3,class:"dp__marker_tooltip",style:et(l.value)},[(P=q.marker)!=null&&P.tooltip?(j(),G("div",{key:0,class:"dp__tooltip_content",onClick:L[0]||(L[0]=Dt(()=>{},["stop"]))},[(j(!0),G(ke,null,Xe(q.marker.tooltip,(X,be)=>(j(),G("div",{key:be,class:"dp__tooltip_text"},[A.$slots["marker-tooltip"]?ae(A.$slots,"marker-tooltip",{key:0,tooltip:X,day:q.value}):O("",!0),A.$slots["marker-tooltip"]?O("",!0):(j(),G(ke,{key:1},[se("div",{class:"dp__tooltip_mark",style:et(X.color?{backgroundColor:X.color}:{})},null,4),se("div",null,Ee(X.text),1)],64))]))),128)),gm])):O("",!0)],4)):O("",!0)],2)],40,fm)}),128))]))),128))],8,mm)):O("",!0)]}),_:3},8,["name","css"])],10,sm))],4)],2)}}}),vm=["aria-label","aria-disabled"],kn=Vt({__name:"ActionIcon",props:{ariaLabel:{type:String,default:""},disabled:{type:Boolean,default:!1}},emits:["activate","set-ref"],setup(e,{emit:n}){const t=U(null);return jt(()=>n("set-ref",t)),(a,r)=>(j(),G("div",{class:"dp__month_year_col_nav",onClick:r[0]||(r[0]=i=>a.$emit("activate")),onKeydown:[r[1]||(r[1]=we(i=>a.$emit("activate"),["enter"])),r[2]||(r[2]=we(i=>a.$emit("activate"),["space"]))],tabindex:"0",role:"button","aria-label":e.ariaLabel,"aria-disabled":e.disabled,ref_key:"elRef",ref:t},[se("div",{class:Me(["dp__inner_nav",{dp__inner_nav_disabled:e.disabled}])},[ae(a.$slots,"default")],2)],40,vm))}}),ym=["onKeydown"],wm={class:"dp__selection_grid_header"},bm=["aria-selected","aria-disabled","data-test","onClick","onKeydown","onMouseover"],Pm=["aria-label","onKeydown"],Aa=Vt({__name:"SelectionGrid",props:{items:{type:Array,default:()=>[]},modelValue:{type:[String,Number],default:null},multiModelValue:{type:Array,default:()=>[]},disabledValues:{type:Array,default:()=>[]},minValue:{type:[Number,String],default:null},maxValue:{type:[Number,String],default:null},year:{type:Number,default:0},skipActive:{type:Boolean,default:!1},headerRefs:{type:Array,default:()=>[]},skipButtonRef:{type:Boolean,default:!1},monthPicker:{type:Boolean,default:!1},yearPicker:{type:Boolean,default:!1},escClose:{type:Boolean,default:!0},type:{type:String,default:null},arrowNavigation:{type:Boolean,default:!1},autoApply:{type:Boolean,default:!1},textInput:{type:Boolean,default:!1},ariaLabels:{type:Object,default:()=>({})},hideNavigation:{type:Array,default:()=>[]}},emits:["update:model-value","selected","toggle","reset-flow"],setup(e,{expose:n,emit:t}){const a=e,{setSelectionGrid:r,buildMultiLevelMatrix:i,setMonthPicker:d}=aa(),{hideNavigationButtons:m}=wt(a),l=U(!1),g=U(null),y=U(null),f=U([]),h=U(),k=U(null),W=U(0),D=U(null);Uo(()=>{g.value=null}),jt(()=>{wa().then(()=>H()),J(),Q(!0)}),In(()=>Q(!1));const Q=L=>{var u;a.arrowNavigation&&((u=a.headerRefs)!=null&&u.length?d(L):r(L))},J=()=>{const L=qe(y);L&&(a.textInput||L.focus({preventScroll:!0}),l.value=L.clientHeight<L.scrollHeight)},T=$(()=>({dp__overlay:!0})),M=$(()=>({dp__overlay_col:!0})),S=L=>a.skipActive?!1:L.value===a.modelValue,R=$(()=>a.items.map(L=>L.filter(u=>u).map(u=>{var w,C,N;const q=a.disabledValues.some(ie=>ie===u.value)||z(u.value),ne=(w=a.multiModelValue)!=null&&w.length?(C=a.multiModelValue)==null?void 0:C.some(ie=>Ce(ie,la(a.monthPicker?Fa(new Date,u.value):new Date,a.monthPicker?a.year:u.value))):S(u);return{...u,className:{dp__overlay_cell_active:ne,dp__overlay_cell:!ne,dp__overlay_cell_disabled:q,dp__overlay_cell_active_disabled:q&&ne,dp__overlay_cell_pad:!0,dp__cell_in_between:(N=a.multiModelValue)!=null&&N.length?F(u.value):!1}}}))),B=$(()=>({dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:l.value,dp__button_bottom:a.autoApply})),_=$(()=>{var L,u;return{dp__overlay_container:!0,dp__container_flex:((L=a.items)==null?void 0:L.length)<=6,dp__container_block:((u=a.items)==null?void 0:u.length)>6}}),z=L=>{const u=a.maxValue||a.maxValue===0,w=a.minValue||a.minValue===0;return!u&&!w?!1:u&&w?+L>+a.maxValue||+L<+a.minValue:u?+L>+a.maxValue:w?+L<+a.minValue:!1},H=()=>{const L=qe(g),u=qe(y),w=qe(k),C=qe(D),N=w?w.getBoundingClientRect().height:0;u&&(W.value=u.getBoundingClientRect().height-N),L&&C&&(C.scrollTop=L.offsetTop-C.offsetTop-(W.value/2-L.getBoundingClientRect().height)-N)},I=L=>{!a.disabledValues.some(u=>u===L)&&!z(L)&&(t("update:model-value",L),t("selected"))},F=L=>{const u=a.monthPicker?a.year:L;return to(a.multiModelValue,la(a.monthPicker?Fa(new Date,h.value||0):new Date,a.monthPicker?u:h.value||u),la(a.monthPicker?Fa(new Date,L):new Date,u))},Z=()=>{t("toggle"),t("reset-flow")},ee=()=>{a.escClose&&Z()},re=(L,u,w,C)=>{L&&(u.value===+a.modelValue&&!a.disabledValues.includes(u.value)&&(g.value=L),a.arrowNavigation&&(Array.isArray(f.value[w])?f.value[w][C]=L:f.value[w]=[L],A()))},A=()=>{var L,u;const w=(L=a.headerRefs)!=null&&L.length?[a.headerRefs].concat(f.value):f.value.concat([a.skipButtonRef?[]:[k.value]]);i(Ze(w),(u=a.headerRefs)!=null&&u.length?"monthPicker":"selectionGrid")};return n({focusGrid:J}),(L,u)=>{var w;return j(),G("div",{ref_key:"gridWrapRef",ref:y,class:Me(b(T)),role:"dialog",tabindex:"0",onKeydown:we(ee,["esc"])},[se("div",{class:Me(b(_)),ref_key:"containerRef",ref:D,role:"grid",style:et({height:`${W.value}px`})},[se("div",wm,[ae(L.$slots,"header")]),L.$slots.overlay?ae(L.$slots,"overlay",{key:0}):(j(!0),G(ke,{key:1},Xe(b(R),(C,N)=>(j(),G("div",{class:"dp__overlay_row",key:N,role:"row"},[(j(!0),G(ke,null,Xe(C,(q,ne)=>(j(),G("div",{role:"gridcell",class:Me(b(M)),key:q.value,"aria-selected":q.value===e.modelValue&&!e.disabledValues.includes(q.value),"aria-disabled":q.className.dp__overlay_cell_disabled,ref_for:!0,ref:ie=>re(ie,q,N,ne),tabindex:"0","data-test":q.text,onClick:ie=>I(q.value),onKeydown:[we(ie=>I(q.value),["enter"]),we(ie=>I(q.value),["space"])],onMouseover:ie=>h.value=q.value},[se("div",{class:Me(q.className)},[L.$slots.item?ae(L.$slots,"item",{key:0,item:q}):O("",!0),L.$slots.item?O("",!0):(j(),G(ke,{key:1},[Lt(Ee(q.text),1)],64))],2)],42,bm))),128))]))),128))],6),L.$slots["button-icon"]?Ra((j(),G("div",{key:0,role:"button","aria-label":(w=e.ariaLabels)==null?void 0:w.toggleOverlay,class:Me(b(B)),tabindex:"0",ref_key:"toggleButton",ref:k,onClick:Z,onKeydown:we(Z,["enter"])},[ae(L.$slots,"button-icon")],42,Pm)),[[qa,!b(m)(e.type)]]):O("",!0)],42,ym)}}}),km=["aria-label"],Zr=Vt({__name:"RegularPicker",props:{ariaLabel:{type:String,default:""},showSelectionGrid:{type:Boolean,default:!1},modelValue:{type:Number,default:null},items:{type:Array,default:()=>[]},disabledValues:{type:Array,default:()=>[]},minValue:{type:Number,default:null},maxValue:{type:Number,default:null},slotName:{type:String,default:""},overlaySlot:{type:String,default:""},headerRefs:{type:Array,default:()=>[]},escClose:{type:Boolean,default:!0},type:{type:String,default:null},transitions:{type:[Object,Boolean],default:!1},arrowNavigation:{type:Boolean,default:!1},autoApply:{type:Boolean,default:!1},textInput:{type:Boolean,default:!1},ariaLabels:{type:Object,default:()=>({})},hideNavigation:{type:Array,default:()=>[]}},emits:["update:model-value","toggle","set-ref"],setup(e,{emit:n}){const t=e,{transitionName:a,showTransition:r}=sn(t.transitions),i=U(null);return jt(()=>n("set-ref",i)),(d,m)=>(j(),G(ke,null,[se("div",{class:"dp__month_year_select",onClick:m[0]||(m[0]=l=>d.$emit("toggle")),onKeydown:[m[1]||(m[1]=we(l=>d.$emit("toggle"),["enter"])),m[2]||(m[2]=we(l=>d.$emit("toggle"),["space"]))],role:"button","aria-label":e.ariaLabel,tabindex:"0",ref_key:"elRef",ref:i},[ae(d.$slots,"default")],40,km),ft(Ma,{name:b(a)(e.showSelectionGrid),css:b(r)},{default:he(()=>[e.showSelectionGrid?(j(),ye(Aa,Ve({key:0},{modelValue:e.modelValue,items:e.items,disabledValues:e.disabledValues,minValue:e.minValue,maxValue:e.maxValue,escClose:e.escClose,type:e.type,arrowNavigation:e.arrowNavigation,textInput:e.textInput,autoApply:e.autoApply,ariaLabels:e.ariaLabels,hideNavigation:e.hideNavigation},{"header-refs":[],"onUpdate:modelValue":m[3]||(m[3]=l=>d.$emit("update:model-value",l)),onToggle:m[4]||(m[4]=l=>d.$emit("toggle"))}),gt({"button-icon":he(()=>[d.$slots["calendar-icon"]?ae(d.$slots,"calendar-icon",{key:0}):O("",!0),d.$slots["calendar-icon"]?O("",!0):(j(),ye(b(on),{key:1}))]),_:2},[d.$slots[e.slotName]?{name:"item",fn:he(({item:l})=>[ae(d.$slots,e.slotName,{item:l})]),key:"0"}:void 0,d.$slots[e.overlaySlot]?{name:"overlay",fn:he(()=>[ae(d.$slots,e.overlaySlot)]),key:"1"}:void 0,d.$slots[`${e.overlaySlot}-header`]?{name:"header",fn:he(()=>[ae(d.$slots,`${e.overlaySlot}-header`)]),key:"2"}:void 0]),1040)):O("",!0)]),_:3},8,["name","css"])],64))}}),Mm={class:"dp__month_year_row"},$m={class:"dp__month_year_wrap"},Wm={class:"dp__month_picker_header"},Dm=["aria-label"],xm=["aria-label"],jm=["aria-label"],zm=Vt({__name:"MonthYearPicker",props:{month:{type:Number,default:0},year:{type:Number,default:0},instance:{type:Number,default:0},years:{type:Array,default:()=>[]},months:{type:Array,default:()=>[]},internalModelValue:{type:[Date,Array],default:null},...na},emits:["update-month-year","month-year-select","mount","reset-flow","overlay-closed"],setup(e,{expose:n,emit:t}){const a=e,{defaults:r}=wt(a),{transitionName:i,showTransition:d}=sn(r.value.transitions),{buildMatrix:m}=aa(),{handleMonthYearChange:l,isDisabled:g,updateMonthYear:y}=Gl(a,t),f=U(!1),h=U(!1),k=U([null,null,null,null]),W=U(null),D=U(null),Q=U(null);jt(()=>{t("mount")});const J=P=>({get:()=>a[P],set:X=>{const be=P==="month"?"year":"month";t("update-month-year",{[P]:X,[be]:a[be]}),t("month-year-select",P==="year"),P==="month"?N(!0):q(!0)}}),T=$(J("month")),M=$(J("year")),S=P=>{const X=_e(Y(P));return a.year===X},R=$(()=>a.monthPicker?Array.isArray(a.disabledDates)?a.disabledDates.map(P=>Y(P)).filter(P=>S(P)).map(P=>Se(P)):[]:[]),B=$(()=>P=>{const X=P==="month";return{showSelectionGrid:(X?f:h).value,items:(X?L:u).value,disabledValues:r.value.filters[X?"months":"years"].concat(R.value),minValue:(X?I:z).value,maxValue:(X?F:H).value,headerRefs:X&&a.monthPicker?[W.value,D.value,Q.value]:[],escClose:a.escClose,transitions:r.value.transitions,ariaLabels:r.value.ariaLabels,textInput:a.textInput,autoApply:a.autoApply,arrowNavigation:a.arrowNavigation,hideNavigation:a.hideNavigation}}),_=$(()=>P=>({month:a.month,year:a.year,items:P==="month"?a.months:a.years,instance:a.instance,updateMonthYear:y,toggle:P==="month"?N:q})),z=$(()=>a.minDate?_e(Y(a.minDate)):null),H=$(()=>a.maxDate?_e(Y(a.maxDate)):null),I=$(()=>{if(a.minDate&&z.value){if(z.value>a.year)return 12;if(z.value===a.year)return Se(Y(a.minDate))}return null}),F=$(()=>a.maxDate&&H.value?H.value<a.year?-1:H.value===a.year?Se(Y(a.maxDate)):null:null),Z=$(()=>a.range&&a.internalModelValue&&(a.monthPicker||a.yearPicker)?a.internalModelValue:[]),ee=P=>P.reverse(),re=(P,X=!1)=>{const be=[],at=Le=>X?ee(Le):Le;for(let Le=0;Le<P.length;Le+=3){const bt=[P[Le],P[Le+1],P[Le+2]];be.push(at(bt))}return X?be.reverse():be},A=$(()=>a.months.find(X=>X.value===a.month)||{text:"",value:0}),L=$(()=>re(a.months)),u=$(()=>re(a.years,a.reverseYears)),w=$(()=>r.value.multiCalendars?a.multiCalendarsSolo?!0:a.instance===0:!0),C=$(()=>r.value.multiCalendars?a.multiCalendarsSolo?!0:a.instance===r.value.multiCalendars-1:!0),N=(P=!1)=>{ne(P),f.value=!f.value,f.value||t("overlay-closed")},q=(P=!1)=>{ne(P),h.value=!h.value,h.value||t("overlay-closed")},ne=P=>{P||t("reset-flow")},ie=(P=!1)=>{g.value(P)||t("update-month-year",{year:P?a.year+1:a.year-1,month:a.month,fromNav:!0})},x=(P,X)=>{a.arrowNavigation&&(k.value[X]=qe(P),m(k.value,"monthYear"))};return n({toggleMonthPicker:N,toggleYearPicker:q,handleMonthYearChange:l}),(P,X)=>{var be,at,Le,bt,Et;return j(),G("div",Mm,[P.$slots["month-year"]?ae(P.$slots,"month-year",Be(Ve({key:0},{month:e.month,year:e.year,months:e.months,years:e.years,updateMonthYear:b(y),handleMonthYearChange:b(l),instance:e.instance}))):(j(),G(ke,{key:1},[!P.monthPicker&&!P.yearPicker?(j(),G(ke,{key:0},[b(w)&&!P.vertical?(j(),ye(kn,{key:0,"aria-label":(be=b(r).ariaLabels)==null?void 0:be.prevMonth,disabled:b(g)(!1),onActivate:X[0]||(X[0]=fe=>b(l)(!1)),onSetRef:X[1]||(X[1]=fe=>x(fe,0))},{default:he(()=>[P.$slots["arrow-left"]?ae(P.$slots,"arrow-left",{key:0}):O("",!0),P.$slots["arrow-left"]?O("",!0):(j(),ye(b(Fr),{key:1}))]),_:3},8,["aria-label","disabled"])):O("",!0),se("div",$m,[ft(Zr,Ve({type:"month","slot-name":"month-overlay-val","overlay-slot":"overlay-month","aria-label":(at=b(r).ariaLabels)==null?void 0:at.openMonthsOverlay,modelValue:b(T),"onUpdate:modelValue":X[2]||(X[2]=fe=>ua(T)?T.value=fe:null)},b(B)("month"),{onToggle:N,onSetRef:X[3]||(X[3]=fe=>x(fe,1))}),gt({default:he(()=>[P.$slots.month?ae(P.$slots,"month",Be(Ve({key:0},b(A)))):O("",!0),P.$slots.month?O("",!0):(j(),G(ke,{key:1},[Lt(Ee(b(A).text),1)],64))]),_:2},[P.$slots["calendar-icon"]?{name:"calendar-icon",fn:he(()=>[ae(P.$slots,"calendar-icon")]),key:"0"}:void 0,P.$slots["month-overlay-value"]?{name:"month-overlay-val",fn:he(({item:fe})=>[ae(P.$slots,"month-overlay-value",{text:fe.text,value:fe.value})]),key:"1"}:void 0,P.$slots["month-overlay"]?{name:"overlay-month",fn:he(()=>[ae(P.$slots,"month-overlay",Be(_t(b(_)("month"))))]),key:"2"}:void 0,P.$slots["month-overlay-header"]?{name:"overlay-month-header",fn:he(()=>[ae(P.$slots,"month-overlay-header",{toggle:N})]),key:"3"}:void 0]),1040,["aria-label","modelValue"]),ft(Zr,Ve({type:"year","slot-name":"year-overlay-val","overlay-slot":"overlay-year","aria-label":(Le=b(r).ariaLabels)==null?void 0:Le.openYearsOverlay,modelValue:b(M),"onUpdate:modelValue":X[4]||(X[4]=fe=>ua(M)?M.value=fe:null)},b(B)("year"),{onToggle:q,onSetRef:X[5]||(X[5]=fe=>x(fe,2))}),gt({default:he(()=>[P.$slots.year?ae(P.$slots,"year",{key:0,year:e.year}):O("",!0),P.$slots.year?O("",!0):(j(),G(ke,{key:1},[Lt(Ee(e.year),1)],64))]),_:2},[P.$slots["calendar-icon"]?{name:"calendar-icon",fn:he(()=>[ae(P.$slots,"calendar-icon")]),key:"0"}:void 0,P.$slots["year-overlay-value"]?{name:"year-overlay-val",fn:he(({item:fe})=>[ae(P.$slots,"year-overlay-value",{text:fe.text,value:fe.value})]),key:"1"}:void 0,P.$slots["year-overlay"]?{name:"overlay-year",fn:he(()=>[ae(P.$slots,"year-overlay",Be(_t(b(_)("year"))))]),key:"2"}:void 0,P.$slots["year-overlay-header"]?{name:"overlay-year-header",fn:he(()=>[ae(P.$slots,"year-overlay-header",{toggle:q})]),key:"3"}:void 0]),1040,["aria-label","modelValue"])]),b(w)&&P.vertical?(j(),ye(kn,{key:1,"aria-label":(bt=b(r).ariaLabels)==null?void 0:bt.prevMonth,disabled:b(g)(!1),onActivate:X[6]||(X[6]=fe=>b(l)(!1))},{default:he(()=>[P.$slots["arrow-up"]?ae(P.$slots,"arrow-up",{key:0}):O("",!0),P.$slots["arrow-up"]?O("",!0):(j(),ye(b(Zi),{key:1}))]),_:3},8,["aria-label","disabled"])):O("",!0),b(C)?(j(),ye(kn,{key:2,ref:"rightIcon",disabled:b(g)(!0),"aria-label":(Et=b(r).ariaLabels)==null?void 0:Et.nextMonth,onActivate:X[7]||(X[7]=fe=>b(l)(!0)),onSetRef:X[8]||(X[8]=fe=>x(fe,3))},{default:he(()=>[P.$slots[P.vertical?"arrow-down":"arrow-right"]?ae(P.$slots,P.vertical?"arrow-down":"arrow-right",{key:0}):O("",!0),P.$slots[P.vertical?"arrow-down":"arrow-right"]?O("",!0):(j(),ye(rn(P.vertical?b(eo):b(Ar)),{key:1}))]),_:3},8,["disabled","aria-label"])):O("",!0)],64)):O("",!0),P.monthPicker?(j(),ye(Aa,Ve({key:1},b(B)("month"),{"skip-active":P.range,year:e.year,"multi-model-value":b(Z),"month-picker":"",modelValue:b(T),"onUpdate:modelValue":X[17]||(X[17]=fe=>ua(T)?T.value=fe:null),onToggle:N,onSelected:X[18]||(X[18]=fe=>P.$emit("overlay-closed"))}),gt({header:he(()=>{var fe,Pt,kt;return[se("div",Wm,[se("div",{class:"dp__month_year_col_nav",tabindex:"0",ref_key:"mpPrevIconRef",ref:W,onClick:X[9]||(X[9]=Qe=>ie(!1)),onKeydown:X[10]||(X[10]=we(Qe=>ie(!1),["enter"]))},[se("div",{class:Me(["dp__inner_nav",{dp__inner_nav_disabled:b(g)(!1)}]),role:"button","aria-label":(fe=b(r).ariaLabels)==null?void 0:fe.prevMonth},[P.$slots["arrow-left"]?ae(P.$slots,"arrow-left",{key:0}):O("",!0),P.$slots["arrow-left"]?O("",!0):(j(),ye(b(Fr),{key:1}))],10,Dm)],544),se("div",{class:"dp__pointer",role:"button",ref_key:"mpYearButtonRef",ref:D,"aria-label":(Pt=b(r).ariaLabels)==null?void 0:Pt.openYearsOverlay,tabindex:"0",onClick:X[11]||(X[11]=()=>q(!1)),onKeydown:X[12]||(X[12]=we(()=>q(!1),["enter"]))},[P.$slots.year?ae(P.$slots,"year",{key:0,year:e.year}):O("",!0),P.$slots.year?O("",!0):(j(),G(ke,{key:1},[Lt(Ee(e.year),1)],64))],40,xm),se("div",{class:"dp__month_year_col_nav",tabindex:"0",ref_key:"mpNextIconRef",ref:Q,onClick:X[13]||(X[13]=Qe=>ie(!0)),onKeydown:X[14]||(X[14]=we(Qe=>ie(!0),["enter"]))},[se("div",{class:Me(["dp__inner_nav",{dp__inner_nav_disabled:b(g)(!0)}]),role:"button","aria-label":(kt=b(r).ariaLabels)==null?void 0:kt.nextMonth},[P.$slots["arrow-right"]?ae(P.$slots,"arrow-right",{key:0}):O("",!0),P.$slots["arrow-right"]?O("",!0):(j(),ye(b(Ar),{key:1}))],10,jm)],544)]),ft(Ma,{name:b(i)(h.value),css:b(d)},{default:he(()=>[h.value?(j(),ye(Aa,Ve({key:0},b(B)("year"),{modelValue:b(M),"onUpdate:modelValue":X[15]||(X[15]=Qe=>ua(M)?M.value=Qe:null),onToggle:q,onSelected:X[16]||(X[16]=Qe=>P.$emit("overlay-closed"))}),gt({"button-icon":he(()=>[P.$slots["calendar-icon"]?ae(P.$slots,"calendar-icon",{key:0}):O("",!0),P.$slots["calendar-icon"]?O("",!0):(j(),ye(b(on),{key:1}))]),_:2},[P.$slots["year-overlay-value"]?{name:"item",fn:he(({item:Qe})=>[ae(P.$slots,"year-overlay-value",{text:Qe.text,value:Qe.value})]),key:"0"}:void 0]),1040,["modelValue"])):O("",!0)]),_:3},8,["name","css"])]}),_:2},[P.$slots["month-overlay-value"]?{name:"item",fn:he(({item:fe})=>[ae(P.$slots,"month-overlay-value",{text:fe.text,value:fe.value})]),key:"0"}:void 0]),1040,["skip-active","year","multi-model-value","modelValue"])):O("",!0),P.yearPicker?(j(),ye(Aa,Ve({key:2},b(B)("year"),{modelValue:b(M),"onUpdate:modelValue":X[19]||(X[19]=fe=>ua(M)?M.value=fe:null),"multi-model-value":b(Z),"skip-active":P.range,"skip-button-ref":"","year-picker":"",onToggle:q,onSelected:X[20]||(X[20]=fe=>P.$emit("overlay-closed"))}),gt({_:2},[P.$slots["year-overlay-value"]?{name:"item",fn:he(({item:fe})=>[ae(P.$slots,"year-overlay-value",{text:fe.text,value:fe.value})]),key:"0"}:void 0]),1040,["modelValue","multi-model-value","skip-active"])):O("",!0)],64))])}}}),Tm={key:0,class:"dp__time_input"},Sm=["aria-label","onKeydown","onClick"],_m=["aria-label","data-test","onKeydown","onClick"],Nm=["aria-label","onKeydown","onClick"],Cm={key:0},Vm=["aria-label","onKeydown"],Em=Vt({__name:"TimeInput",props:{hours:{type:Number,default:0},minutes:{type:Number,default:0},seconds:{type:Number,default:0},closeTimePickerBtn:{type:Object,default:null},order:{type:Number,default:0},...na},emits:["set-hours","set-minutes","update:hours","update:minutes","update:seconds","reset-flow","mounted","overlay-closed"],setup(e,{expose:n,emit:t}){const a=e,{setTimePickerElements:r,setTimePickerBackRef:i}=aa(),{defaults:d}=wt(a),{transitionName:m,showTransition:l}=sn(d.value.transitions),g=Ia({hours:!1,minutes:!1,seconds:!1}),y=U("AM"),f=U(null),h=U([]);jt(()=>{t("mounted")});const k=$(()=>u=>!!(a.maxTime&&a.maxTime[u]&&a.maxTime[u]<a[u]+ +a[`${u}Increment`])),W=$(()=>u=>!!(a.minTime&&a.minTime[u]&&a.minTime[u]>a[u]-+a[`${u}Increment`])),D=(u,w)=>Vi(ht(Y(),u),w),Q=(u,w)=>pd(ht(Y(),u),w),J=$(()=>({dp__time_col:!0,dp__time_col_reg:!a.enableSeconds&&a.is24,dp__time_col_reg_with_button:!a.enableSeconds&&!a.is24,dp__time_col_sec:a.enableSeconds&&a.is24,dp__time_col_sec_with_button:a.enableSeconds&&!a.is24})),T=$(()=>{const u=[{type:"hours"},{type:"",separator:!0},{type:"minutes"}];return a.enableSeconds?u.concat([{type:"",separator:!0},{type:"seconds"}]):u}),M=$(()=>T.value.filter(u=>!u.separator)),S=$(()=>u=>{if(u==="hours"){const w=Z(a.hours);return{text:w<10?`0${w}`:`${w}`,value:w}}return{text:a[u]<10?`0${a[u]}`:`${a[u]}`,value:a[u]}}),R=u=>{const w=a.is24?24:12,C=u==="hours"?w:60,N=+a[`${u}GridIncrement`],q=u==="hours"&&!a.is24?N:0,ne=[];for(let ie=q;ie<C;ie+=N)ne.push({value:ie,text:ie<10?`0${ie}`:`${ie}`});return u==="hours"&&!a.is24&&ne.push({value:0,text:"12"}),Nl(ne)},B=(u,w)=>{const C=a.minTime&&a.minTime[w],N=a.maxTime&&a.maxTime[w];return C&&N?u<C||u>N:C?u<C:N?u>N:!1},_=$(()=>u=>R(u).flat().filter(w=>w).map(w=>w.value).filter(w=>B(w,u))),z=u=>a[`no${u[0].toUpperCase()+u.slice(1)}Overlay`],H=u=>{z(u)||(g[u]=!g[u],g[u]||t("overlay-closed"))},I=u=>u==="hours"?qt:u==="minutes"?Gt:Pa,F=(u,w=!0)=>{const C=w?D:Q;(w?k.value(u):W.value(u))||t(`update:${u}`,I(u)(C({[u]:+a[u]},{[u]:+a[`${u}Increment`]})))},Z=u=>a.is24?u:(u>=12?y.value="PM":y.value="AM",Hl(u)),ee=()=>{y.value==="PM"?(y.value="AM",t("update:hours",a.hours-12)):(y.value="PM",t("update:hours",a.hours+12))},re=u=>{g[u]=!0},A=(u,w,C)=>{if(u&&a.arrowNavigation){Array.isArray(h.value[w])?h.value[w][C]=u:h.value[w]=[u];const N=h.value.reduce((q,ne)=>ne.map((ie,x)=>[...q[x]||[],ne[x]]),[]);i(a.closeTimePickerBtn),f.value&&(N[1]=N[1].concat(f.value)),r(N,a.order)}},L=(u,w)=>u==="hours"&&!a.is24?t(`update:${u}`,y.value==="PM"?w+12:w):t(`update:${u}`,w);return n({openChildCmp:re}),(u,w)=>{var C;return u.disabled?O("",!0):(j(),G("div",Tm,[(j(!0),G(ke,null,Xe(b(T),(N,q)=>{var ne,ie,x;return j(),G("div",{key:q,class:Me(b(J))},[N.separator?(j(),G(ke,{key:0},[Lt(" : ")],64)):(j(),G(ke,{key:1},[se("div",{class:Me({dp__inc_dec_button:!0,dp__inc_dec_button_disabled:b(k)(N.type)}),role:"button","data-test":"time-inc-btn","aria-label":(ne=b(d).ariaLabels)==null?void 0:ne.incrementValue(N.type),tabindex:"0",onKeydown:[we(P=>F(N.type),["enter"]),we(P=>F(N.type),["space"])],onClick:P=>F(N.type),ref_for:!0,ref:P=>A(P,q,0)},[u.$slots["arrow-up"]?ae(u.$slots,"arrow-up",{key:0}):O("",!0),u.$slots["arrow-up"]?O("",!0):(j(),ye(b(Zi),{key:1}))],42,Sm),se("div",{role:"button","aria-label":(ie=b(d).ariaLabels)==null?void 0:ie.openTpOverlay(N.type),class:Me(z(N.type)?"":"dp__time_display"),tabindex:"0","data-test":`${N.type}-toggle-overlay-btn`,onKeydown:[we(P=>H(N.type),["enter"]),we(P=>H(N.type),["space"])],onClick:P=>H(N.type),ref_for:!0,ref:P=>A(P,q,1)},[u.$slots[N.type]?ae(u.$slots,N.type,{key:0,text:b(S)(N.type).text,value:b(S)(N.type).value}):O("",!0),u.$slots[N.type]?O("",!0):(j(),G(ke,{key:1},[Lt(Ee(b(S)(N.type).text),1)],64))],42,_m),se("div",{class:Me({dp__inc_dec_button:!0,dp__inc_dec_button_disabled:b(W)(N.type)}),role:"button","data-test":"time-dec-btn","aria-label":(x=b(d).ariaLabels)==null?void 0:x.decrementValue(N.type),tabindex:"0",onKeydown:[we(P=>F(N.type,!1),["enter"]),we(P=>F(N.type,!1),["space"])],onClick:P=>F(N.type,!1),ref_for:!0,ref:P=>A(P,q,2)},[u.$slots["arrow-down"]?ae(u.$slots,"arrow-down",{key:0}):O("",!0),u.$slots["arrow-down"]?O("",!0):(j(),ye(b(eo),{key:1}))],42,Nm)],64))],2)}),128)),u.is24?O("",!0):(j(),G("div",Cm,[u.$slots["am-pm-button"]?ae(u.$slots,"am-pm-button",{key:0,toggle:ee,value:y.value}):O("",!0),u.$slots["am-pm-button"]?O("",!0):(j(),G("button",{key:1,ref_key:"amPmButton",ref:f,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(C=b(d).ariaLabels)==null?void 0:C.amPmButton,tabindex:"0",onClick:ee,onKeydown:[we(Dt(ee,["prevent"]),["enter"]),we(Dt(ee,["prevent"]),["space"])]},Ee(y.value),41,Vm))])),(j(!0),G(ke,null,Xe(b(M),(N,q)=>(j(),ye(Ma,{key:q,name:b(m)(g[N.type]),css:b(l)},{default:he(()=>[g[N.type]?(j(),ye(Aa,{key:0,items:R(N.type),"disabled-values":b(d).filters.times[N.type].concat(b(_)(N.type)),"esc-close":u.escClose,"aria-labels":b(d).ariaLabels,"hide-navigation":u.hideNavigation,"onUpdate:modelValue":ne=>L(N.type,ne),onSelected:ne=>H(N.type),onToggle:ne=>H(N.type),onResetFlow:w[0]||(w[0]=ne=>u.$emit("reset-flow")),type:N.type},gt({"button-icon":he(()=>[u.$slots["clock-icon"]?ae(u.$slots,"clock-icon",{key:0}):O("",!0),u.$slots["clock-icon"]?O("",!0):(j(),ye(b(Ui),{key:1}))]),_:2},[u.$slots[`${N.type}-overlay-value`]?{name:"item",fn:he(({item:ne})=>[ae(u.$slots,`${N.type}-overlay-value`,{text:ne.text,value:ne.value})]),key:"0"}:void 0]),1032,["items","disabled-values","esc-close","aria-labels","hide-navigation","onUpdate:modelValue","onSelected","onToggle","type"])):O("",!0)]),_:2},1032,["name","css"]))),128))]))}}}),Hm=["aria-label"],Fm={class:"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"},Am={key:1,class:"dp__overlay_row"},Om=["aria-label"],Im=Vt({__name:"TimePicker",props:{hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0},seconds:{type:[Number,Array],default:0},internalModelValue:{type:[Date,Array],default:null},...na},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow","overlay-closed"],setup(e,{expose:n,emit:t}){const a=e,{buildMatrix:r,setTimePicker:i}=aa(),d=On(),{hideNavigationButtons:m,defaults:l}=wt(a),{transitionName:g,showTransition:y}=sn(l.value.transitions),f=U(null),h=U(null),k=U([]),W=U(null);jt(()=>{t("mount"),!a.timePicker&&a.arrowNavigation?r([qe(f.value)],"time"):i(!0,a.timePicker)});const D=$(()=>a.range&&a.modelAuto?io(a.internalModelValue):!0),Q=U(!1),J=F=>({hours:Array.isArray(a.hours)?a.hours[F]:a.hours,minutes:Array.isArray(a.minutes)?a.minutes[F]:a.minutes,seconds:Array.isArray(a.seconds)?a.seconds[F]:a.seconds}),T=$(()=>{const F=[];if(a.range)for(let Z=0;Z<2;Z++)F.push(J(Z));else F.push(J(0));return F}),M=(F,Z=!1,ee="")=>{Z||t("reset-flow"),Q.value=F,a.arrowNavigation&&(i(F),F||t("overlay-closed")),wa(()=>{ee!==""&&k.value[0]&&k.value[0].openChildCmp(ee)})},S=$(()=>({dp__button:!0,dp__button_bottom:a.autoApply})),R=da(d,"timePicker"),B=(F,Z,ee)=>a.range?Z===0?[F,T.value[1][ee]]:[T.value[0][ee],F]:F,_=F=>{t("update:hours",F)},z=F=>{t("update:minutes",F)},H=F=>{t("update:seconds",F)},I=()=>{W.value&&a.arrowNavigation&&W.value.focus({preventScroll:!0})};return n({toggleTimePicker:M}),(F,Z)=>{var ee;return j(),G("div",null,[F.timePicker?O("",!0):Ra((j(),G("div",{key:0,class:Me(b(S)),role:"button","aria-label":(ee=b(l).ariaLabels)==null?void 0:ee.openTimePicker,tabindex:"0","data-test":"open-time-picker-btn",ref_key:"openTimePickerBtn",ref:f,onKeydown:[Z[0]||(Z[0]=we(re=>M(!0),["enter"])),Z[1]||(Z[1]=we(re=>M(!0),["space"]))],onClick:Z[2]||(Z[2]=re=>M(!0))},[F.$slots["clock-icon"]?ae(F.$slots,"clock-icon",{key:0}):O("",!0),F.$slots["clock-icon"]?O("",!0):(j(),ye(b(Ui),{key:1}))],42,Hm)),[[qa,!b(m)("time")]]),ft(Ma,{name:b(g)(Q.value),css:b(y)},{default:he(()=>{var re;return[Q.value||F.timePicker?(j(),G("div",{key:0,class:"dp__overlay",ref_key:"overlayRef",ref:W,tabindex:"0"},[se("div",Fm,[F.$slots["time-picker-overlay"]?ae(F.$slots,"time-picker-overlay",{key:0,hours:e.hours,minutes:e.minutes,seconds:e.seconds,setHours:_,setMinutes:z,setSeconds:H}):O("",!0),F.$slots["time-picker-overlay"]?O("",!0):(j(),G("div",Am,[(j(!0),G(ke,null,Xe(b(T),(A,L)=>Ra((j(),ye(Em,Ve({key:L},{...F.$props,order:L,hours:A.hours,minutes:A.minutes,seconds:A.seconds,closeTimePickerBtn:h.value,disabled:L===0?F.fixedStart:F.fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:k,"onUpdate:hours":u=>_(B(u,L,"hours")),"onUpdate:minutes":u=>z(B(u,L,"minutes")),"onUpdate:seconds":u=>H(B(u,L,"seconds")),onMounted:I,onOverlayClosed:I}),gt({_:2},[Xe(b(R),(u,w)=>({name:u,fn:he(C=>[ae(F.$slots,u,Be(_t(C)))])}))]),1040,["onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[qa,L===0?!0:b(D)]])),128))])),F.timePicker?O("",!0):Ra((j(),G("div",{key:2,ref_key:"closeTimePickerBtn",ref:h,class:Me(b(S)),role:"button","aria-label":(re=b(l).ariaLabels)==null?void 0:re.closeTimePicker,tabindex:"0",onKeydown:[Z[3]||(Z[3]=we(A=>M(!1),["enter"])),Z[4]||(Z[4]=we(A=>M(!1),["space"]))],onClick:Z[5]||(Z[5]=A=>M(!1))},[F.$slots["calendar-icon"]?ae(F.$slots,"calendar-icon",{key:0}):O("",!0),F.$slots["calendar-icon"]?O("",!0):(j(),ye(b(on),{key:1}))],42,Om)),[[qa,!b(m)("time")]])])],512)):O("",!0)]}),_:3},8,["name","css"])])}}}),Xm=(e,n)=>{const{isDisabled:t,matchDate:a,getWeekFromDate:r}=wt(n),i=U(null),d=U(Y()),m=u=>{!u.current&&n.hideOffsetDates||(i.value=u.value)},l=()=>{i.value=null},g=u=>Array.isArray(e.value)&&n.range&&e.value[0]&&i.value?u?vt(i.value,e.value[0]):tt(i.value,e.value[0]):!0,y=(u,w)=>{const C=()=>e.value?w?e.value[0]||null:e.value[1]:null,N=e.value&&Array.isArray(e.value)?C():null;return Ce(Y(u.value),N)},f=u=>{const w=Array.isArray(e.value)?e.value[0]:null;return u?!tt(i.value||null,w):!0},h=(u,w=!0)=>(n.range||n.weekPicker)&&Array.isArray(e.value)?n.hideOffsetDates&&!u.current?!1:Ce(Y(u.value),e.value[w?0:1]):n.range?y(u,w)&&f(w)||Ce(u.value,Array.isArray(e.value)?e.value[0]:null)&&g(w):!1,k=(u,w,C)=>Array.isArray(e.value)&&e.value[0]&&e.value.length===1?u?!1:C?vt(e.value[0],w.value):tt(e.value[0],w.value):!1,W=u=>!e.value||n.hideOffsetDates&&!u.current?!1:n.range?n.modelAuto&&Array.isArray(e.value)?Ce(u.value,e.value[0]?e.value[0]:d.value):!1:n.multiDates&&Array.isArray(e.value)?e.value.some(w=>Ce(w,u.value)):Ce(u.value,e.value?e.value:d.value),D=u=>{if(n.autoRange||n.weekPicker){if(i.value){if(n.hideOffsetDates&&!u.current)return!1;const w=Yt(i.value,+n.autoRange),C=r(Y(i.value));return n.weekPicker?Ce(C[1],Y(u.value)):Ce(w,Y(u.value))}return!1}return!1},Q=u=>{if(n.autoRange||n.weekPicker){if(i.value){const w=Yt(i.value,+n.autoRange);if(n.hideOffsetDates&&!u.current)return!1;const C=r(Y(i.value));return n.weekPicker?vt(u.value,C[0])&&tt(u.value,C[1]):vt(u.value,i.value)&&tt(u.value,w)}return!1}return!1},J=u=>{if(n.autoRange||n.weekPicker){if(i.value){if(n.hideOffsetDates&&!u.current)return!1;const w=r(Y(i.value));return n.weekPicker?Ce(w[0],u.value):Ce(i.value,u.value)}return!1}return!1},T=u=>to(e.value,i.value,u.value),M=()=>n.modelAuto&&Array.isArray(n.internalModelValue)?!!n.internalModelValue[0]:!1,S=()=>n.modelAuto?io(n.internalModelValue):!0,R=u=>{if(Array.isArray(e.value)&&e.value.length||n.weekPicker)return!1;const w=n.range?!h(u)&&!h(u,!1):!0;return!t(u.value)&&!W(u)&&!(!u.current&&n.hideOffsetDates)&&w},B=u=>n.range?n.modelAuto?M()&&W(u):!1:W(u),_=u=>n.highlight?a(u.value,n.highlight):!1,z=u=>t(u.value)&&n.highlightDisabledDays===!1,H=u=>n.highlightWeekDays&&n.highlightWeekDays.includes(u.value.getDay()),I=u=>(n.range||n.weekPicker)&&(!(n.multiCalendars>0)||u.current)&&S()&&!(!u.current&&n.hideOffsetDates)&&!W(u)?T(u):!1,F=u=>({dp__cell_offset:!u.current,dp__pointer:!n.disabled&&!(!u.current&&n.hideOffsetDates)&&!t(u.value),dp__cell_disabled:t(u.value),dp__cell_highlight:!z(u)&&(_(u)||H(u))&&!B(u),dp__cell_highlight_active:!z(u)&&(_(u)||H(u))&&B(u),dp__today:!n.noToday&&Ce(u.value,d.value)&&u.current}),Z=u=>({dp__active_date:B(u),dp__date_hover:R(u)}),ee=u=>({...re(u),...A(u),dp__range_between_week:I(u)&&n.weekPicker}),re=u=>({dp__range_start:n.multiCalendars>0?u.current&&h(u)&&S():h(u)&&S(),dp__range_end:n.multiCalendars>0?u.current&&h(u,!1)&&S():h(u,!1)&&S(),dp__range_between:I(u)&&!n.weekPicker,dp__date_hover_start:k(R(u),u,!0),dp__date_hover_end:k(R(u),u,!1)}),A=u=>({...re(u),dp__cell_auto_range:Q(u),dp__cell_auto_range_start:J(u),dp__cell_auto_range_end:D(u)}),L=u=>n.range?n.autoRange?A(u):n.modelAuto?{...Z(u),...re(u)}:re(u):n.weekPicker?ee(u):Z(u);return{setHoverDate:m,clearHoverDate:l,getDayClassData:u=>({...F(u),...L(u),[n.dayClass?n.dayClass(u.value):""]:!0,[n.calendarCellClassName]:!!n.calendarCellClassName})}},Lm=["id","onKeydown"],Ym={key:0,class:"dp__sidebar_left"},Rm={key:1,class:"dp__preset_ranges"},qm=["onClick"],Gm={key:2,class:"dp__sidebar_right"},Bm={key:3,class:"dp__now_wrap"},Qm=Vt({__name:"DatepickerMenu",props:{openOnTop:{type:Boolean,default:!1},internalModelValue:{type:[Date,Array],default:null},...na},emits:["close-picker","select-date","auto-apply","time-update","flow-step","update-month-year","invalid-select","update:internal-model-value","recalculate-position","invalid-fixed-range","tooltip-open","tooltip-close"],setup(e,{expose:n,emit:t}){const a=e,{setMenuFocused:r,setShiftKey:i,control:d}=ao(),{getCalendarDays:m,defaults:l}=wt(a),g=On(),y=U(null),f=Ia({timePicker:!!(!a.enableTimePicker||a.timePicker||a.monthPicker),monthYearInput:!!a.timePicker,calendar:!1}),h=U([]),k=U([]),W=U(null),D=U(null),Q=U(0),J=U(!1),T=U(0);jt(()=>{var V;J.value=!0,!((V=a.presetRanges)!=null&&V.length)&&!g["left-sidebar"]&&!g["right-sidebar"]&&je();const oe=qe(D);if(oe&&!a.textInput&&!a.inline&&(r(!0),z()),oe){const Ke=Ue=>{Object.keys(g).length||Ue.preventDefault(),Ue.stopImmediatePropagation(),Ue.stopPropagation()};oe.addEventListener("pointerdown",Ke),oe.addEventListener("mousedown",Ke)}window.addEventListener("resize",je)}),In(()=>{window.removeEventListener("resize",je)});const{arrowRight:M,arrowLeft:S,arrowDown:R,arrowUp:B}=aa(),_=V=>{V||V===0?k.value[V].triggerTransition(ee.value(V),re.value(V)):k.value.forEach((oe,Ke)=>oe.triggerTransition(ee.value(Ke),re.value(Ke)))},z=()=>{const V=qe(D);V&&V.focus({preventScroll:!0})},H=()=>{var V;(V=a.flow)!=null&&V.length&&T.value!==-1&&(T.value+=1,t("flow-step",T.value),ze())},I=()=>{T.value=-1},{calendars:F,modelValue:Z,month:ee,year:re,time:A,updateTime:L,updateMonthYear:u,selectDate:w,getWeekNum:C,monthYearSelect:N,handleScroll:q,handleArrow:ne,handleSwipe:ie,getMarker:x,selectCurrentDate:P,presetDateRange:X}=Rl(a,t,H,_,T),{setHoverDate:be,clearHoverDate:at,getDayClassData:Le}=Xm(Z,a);Ct(F,()=>{a.openOnTop&&setTimeout(()=>{t("recalculate-position")},0)},{deep:!0});const bt=da(g,"calendar"),Et=da(g,"action"),fe=da(g,"timePicker"),Pt=da(g,"monthYear"),kt=$(()=>a.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),Qe=$(()=>Vl(a.yearRange)),pe=$(()=>El(a.locale,a.monthNameFormat)),je=()=>{const V=qe(y);V&&(Q.value=V.getBoundingClientRect().width)},De=$(()=>V=>m(ee.value(V),re.value(V))),zt=$(()=>l.value.multiCalendars>0&&a.range?[...Array(l.value.multiCalendars).keys()]:[0]),Ge=$(()=>V=>V===1),Mt=$(()=>a.monthPicker||a.timePicker||a.yearPicker),nt=$(()=>({dp__flex_display:l.value.multiCalendars>0})),$t=$(()=>({dp__instance_calendar:l.value.multiCalendars>0})),Ht=$(()=>({dp__menu_disabled:a.disabled,dp__menu_readonly:a.readonly})),$a=$(()=>V=>Da(De,V)),Wa=$(()=>({dp__menu:!0,dp__menu_index:!a.inline,dp__relative:a.inline,[a.menuClassName]:!!a.menuClassName})),Da=(V,oe)=>V.value(oe).map(Ke=>({...Ke,days:Ke.days.map(Ue=>(Ue.marker=x(Ue),Ue.classData=Le(Ue),Ue))})),fa=V=>{V.stopPropagation(),V.stopImmediatePropagation()},p=()=>{a.escClose&&t("close-picker")},E=(V,oe=!1)=>{w(V,oe),a.spaceConfirm&&t("select-date")},le=V=>{var oe;(oe=a.flow)!=null&&oe.length&&(f[V]=!0,Object.keys(f).filter(Ke=>!f[Ke]).length||ze())},de=(V,oe,Ke,Ue,...ga)=>{if(a.flow[T.value]===V){const ce=Ue?oe.value[0]:oe.value;ce&&ce[Ke](...ga)}},ze=()=>{de("month",h,"toggleMonthPicker",!0,!0),de("year",h,"toggleYearPicker",!0,!0),de("calendar",W,"toggleTimePicker",!1,!1,!0),de("time",W,"toggleTimePicker",!1,!0,!0);const V=a.flow[T.value];(V==="hours"||V==="minutes"||V==="seconds")&&de(V,W,"toggleTimePicker",!1,!0,!0,V)},rt=V=>{if(a.arrowNavigation){if(V==="up")return B();if(V==="down")return R();if(V==="left")return S();if(V==="right")return M()}else V==="left"||V==="up"?ne("left",0,V==="up"):ne("right",0,V==="down")},Tt=V=>{i(V.shiftKey),!a.disableMonthYearSelect&&V.code==="Tab"&&V.target.classList.contains("dp__menu")&&d.value.shiftKeyInMenu&&(V.preventDefault(),V.stopImmediatePropagation(),t("close-picker"))},ra=V=>{h.value[0]&&h.value[0].handleMonthYearChange(V)};return n({updateMonthYear:u}),(V,oe)=>{var Ke;return j(),ye(Ma,{appear:"",name:(Ke=b(l).transitions)==null?void 0:Ke.menuAppear,mode:"out-in",css:!!V.transitions},{default:he(()=>{var Ue,ga;return[se("div",{id:V.uid?`dp-menu-${V.uid}`:void 0,tabindex:"0",ref_key:"dpMenuRef",ref:D,role:"dialog",class:Me(b(Wa)),onMouseleave:oe[14]||(oe[14]=(...ce)=>b(at)&&b(at)(...ce)),onClick:fa,onKeydown:[we(p,["esc"]),oe[15]||(oe[15]=we(Dt(ce=>rt("left"),["prevent"]),["left"])),oe[16]||(oe[16]=we(Dt(ce=>rt("up"),["prevent"]),["up"])),oe[17]||(oe[17]=we(Dt(ce=>rt("down"),["prevent"]),["down"])),oe[18]||(oe[18]=we(Dt(ce=>rt("right"),["prevent"]),["right"])),Tt]},[(V.disabled||V.readonly)&&V.inline?(j(),G("div",{key:0,class:Me(b(Ht))},null,2)):O("",!0),!V.inline&&!V.teleportCenter?(j(),G("div",{key:1,class:Me(b(kt))},null,2)):O("",!0),se("div",{class:Me({dp__menu_content_wrapper:((Ue=V.presetRanges)==null?void 0:Ue.length)||!!V.$slots["left-sidebar"]||!!V.$slots["right-sidebar"]})},[V.$slots["left-sidebar"]?(j(),G("div",Ym,[ae(V.$slots,"left-sidebar",Be(_t({handleMonthYearChange:ra})))])):O("",!0),(ga=V.presetRanges)!=null&&ga.length?(j(),G("div",Rm,[(j(!0),G(ke,null,Xe(V.presetRanges,(ce,Qt)=>(j(),G("div",{key:Qt,style:et(ce.style||{}),class:"dp__preset_range",onClick:ve=>b(X)(ce.range,!!ce.slot)},[ce.slot?ae(V.$slots,ce.slot,{key:0,presetDateRange:b(X),label:ce.label,range:ce.range}):(j(),G(ke,{key:1},[Lt(Ee(ce.label),1)],64))],12,qm))),128))])):O("",!0),se("div",{class:"dp__instance_calendar",ref_key:"calendarWrapperRef",ref:y,role:"document"},[se("div",{class:Me(b(nt))},[(j(!0),G(ke,null,Xe(b(zt),(ce,Qt)=>(j(),G("div",{key:ce,class:Me(b($t))},[!V.disableMonthYearSelect&&!V.timePicker?(j(),ye(zm,Ve({key:0,ref_for:!0,ref:ve=>{ve&&(h.value[Qt]=ve)},months:b(pe),years:b(Qe),month:b(ee)(ce),year:b(re)(ce),instance:ce,"internal-model-value":e.internalModelValue},V.$props,{onMount:oe[0]||(oe[0]=ve=>le("monthYearInput")),onResetFlow:I,onUpdateMonthYear:ve=>b(u)(ce,ve),onMonthYearSelect:b(N),onOverlayClosed:z}),gt({_:2},[Xe(b(Pt),(ve,mn)=>({name:ve,fn:he(xa=>[ae(V.$slots,ve,Be(_t(xa)))])}))]),1040,["months","years","month","year","instance","internal-model-value","onUpdateMonthYear","onMonthYearSelect"])):O("",!0),ft(pm,Ve({ref_for:!0,ref:ve=>{ve&&(k.value[Qt]=ve)},"specific-mode":b(Mt),"get-week-num":b(C),instance:ce,"mapped-dates":b($a)(ce),month:b(ee)(ce),year:b(re)(ce)},V.$props,{"flow-step":T.value,"onUpdate:flowStep":oe[1]||(oe[1]=ve=>T.value=ve),onSelectDate:ve=>b(w)(ve,!b(Ge)(ce)),onHandleSpace:ve=>E(ve,!b(Ge)(ce)),onSetHoverDate:oe[2]||(oe[2]=ve=>b(be)(ve)),onHandleScroll:ve=>b(q)(ve,ce),onHandleSwipe:ve=>b(ie)(ve,ce),onMount:oe[3]||(oe[3]=ve=>le("calendar")),onResetFlow:I,onTooltipOpen:oe[4]||(oe[4]=ve=>V.$emit("tooltip-open",ve)),onTooltipClose:oe[5]||(oe[5]=ve=>V.$emit("tooltip-close",ve))}),gt({_:2},[Xe(b(bt),(ve,mn)=>({name:ve,fn:he(xa=>[ae(V.$slots,ve,Be(_t({...xa})))])}))]),1040,["specific-mode","get-week-num","instance","mapped-dates","month","year","flow-step","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])],2))),128))],2),se("div",null,[V.$slots["time-picker"]?ae(V.$slots,"time-picker",Be(Ve({key:0},{time:b(A),updateTime:b(L)}))):(j(),G(ke,{key:1},[V.enableTimePicker&&!V.monthPicker&&!V.weekPicker?(j(),ye(Im,Ve({key:0,ref_key:"timePickerRef",ref:W,hours:b(A).hours,minutes:b(A).minutes,seconds:b(A).seconds,"internal-model-value":e.internalModelValue},V.$props,{onMount:oe[6]||(oe[6]=ce=>le("timePicker")),"onUpdate:hours":oe[7]||(oe[7]=ce=>b(L)(ce)),"onUpdate:minutes":oe[8]||(oe[8]=ce=>b(L)(ce,!1)),"onUpdate:seconds":oe[9]||(oe[9]=ce=>b(L)(ce,!1,!0)),onResetFlow:I,onOverlayClosed:z}),gt({_:2},[Xe(b(fe),(ce,Qt)=>({name:ce,fn:he(ve=>[ae(V.$slots,ce,Be(_t(ve)))])}))]),1040,["hours","minutes","seconds","internal-model-value"])):O("",!0)],64))])],512),V.$slots["right-sidebar"]?(j(),G("div",Gm,[ae(V.$slots,"right-sidebar",Be(_t({handleMonthYearChange:ra})))])):O("",!0),V.showNowButton?(j(),G("div",Bm,[V.$slots["now-button"]?ae(V.$slots,"now-button",{key:0,selectCurrentDate:b(P)}):O("",!0),V.$slots["now-button"]?O("",!0):(j(),G("button",{key:1,type:"button",role:"button",class:"dp__now_button",onClick:oe[10]||(oe[10]=(...ce)=>b(P)&&b(P)(...ce))},Ee(V.nowButtonLabel),1))])):O("",!0)],2),!V.autoApply||V.keepActionRow?(j(),ye(om,Ve({key:2,"menu-mount":J.value,"calendar-width":Q.value,"internal-model-value":e.internalModelValue},V.$props,{onClosePicker:oe[11]||(oe[11]=ce=>V.$emit("close-picker")),onSelectDate:oe[12]||(oe[12]=ce=>V.$emit("select-date")),onInvalidSelect:oe[13]||(oe[13]=ce=>V.$emit("invalid-select"))}),gt({_:2},[Xe(b(Et),(ce,Qt)=>({name:ce,fn:he(ve=>[ae(V.$slots,ce,Be(_t({...ve})))])}))]),1040,["menu-mount","calendar-width","internal-model-value"])):O("",!0)],42,Lm)]}),_:3},8,["name","css"])}}}),Km=typeof window<"u"?window:void 0,Mn=()=>{},Jm=e=>Ko()?(Jo(e),!0):!1,Um=(e,n,t,a)=>{if(!e)return Mn;let r=Mn;const i=Ct(()=>b(e),m=>{r(),m&&(m.addEventListener(n,t,a),r=()=>{m.removeEventListener(n,t,a),r=Mn})},{immediate:!0,flush:"post"}),d=()=>{i(),r()};return Jm(d),d},Zm=(e,n,t,a={})=>{const{window:r=Km,event:i="pointerdown"}=a;return r?Um(r,i,d=>{const m=qe(e),l=qe(n);!m||!l||m===d.target||d.composedPath().includes(m)||d.composedPath().includes(l)||t(d)},{passive:!0}):void 0},ec=Vt({__name:"VueDatePicker",props:{...na},emits:["update:model-value","text-submit","closed","cleared","open","focus","blur","internal-model-change","recalculate-position","flow-step","update-month-year","invalid-select","invalid-fixed-range","tooltip-open","tooltip-close"],setup(e,{expose:n,emit:t}){const a=e,r=On(),i=U(!1),d=Qa(a,"modelValue"),m=Qa(a,"timezone"),l=U(null),g=U(null),y=U(!1),f=U(null),{setMenuFocused:h,setShiftKey:k}=ao(),{clearArrowNav:W}=aa(),{validateDate:D,isValidTime:Q,defaults:J}=wt(a);jt(()=>{F(a.modelValue),a.inline||(z(f.value).addEventListener("scroll",w),window.addEventListener("resize",C)),a.inline&&(i.value=!0)}),In(()=>{if(!a.inline){const pe=z(f.value);pe&&pe.removeEventListener("scroll",w),window.removeEventListener("resize",C)}});const T=da(r,"all",a.presetRanges),M=da(r,"input");Ct([d,m],()=>{F(d.value)},{deep:!0});const{openOnTop:S,menuPosition:R,setMenuPosition:B,setInitialPosition:_,getScrollableParent:z}=Bl(l,g,t,a),{inputValue:H,internalModelValue:I,parseExternalModelValue:F,emitModelValue:Z,formatInputValue:ee,checkBeforeEmit:re}=ql(t,a,y),A=$(()=>({dp__main:!0,dp__theme_dark:a.dark,dp__theme_light:!a.dark,dp__flex_display:a.inline,dp__flex_display_with_input:a.inlineWithInput})),L=$(()=>a.dark?"dp__theme_dark":"dp__theme_light"),u=$(()=>a.teleport?{to:typeof a.teleport=="boolean"?"body":a.teleport,disabled:a.inline}:{class:"dp__outer_menu_wrap"}),w=()=>{i.value&&(a.closeOnScroll?be():B())},C=()=>{i.value&&B()},N=()=>{!a.disabled&&!a.readonly&&(_(),i.value=!0,wa().then(()=>{B(),i.value&&t("open")}),i.value||X(),F(a.modelValue))},q=()=>{H.value="",X(),t("update:model-value",null),t("cleared"),be()},ne=()=>{const pe=I.value;return!pe||!Array.isArray(pe)&&D(pe)?!0:Array.isArray(pe)?pe.length===2&&D(pe[0])&&D(pe[1])?!0:D(pe[0]):!1},ie=()=>{re()&&ne()?(Z(),be()):t("invalid-select",I.value)},x=pe=>{g.value&&a.textInput&&g.value.setParsedDate(I.value),Z(),a.closeOnAutoApply&&!pe&&be()},P=(pe=!1)=>{a.autoApply&&Q(I.value)&&ne()&&(a.range&&Array.isArray(I.value)?(a.partialRange||I.value.length===2)&&x(pe):x(pe))},X=()=>{a.textInput||(I.value=null)},be=()=>{a.inline||(i.value&&(i.value=!1,h(!1),k(!1),W(),t("closed"),_(),H.value&&F(d.value)),X(),g.value&&g.value.focusInput())},at=(pe,je)=>{if(!pe){I.value=null;return}I.value=pe,je&&(ie(),t("text-submit"))},Le=()=>{a.autoApply&&Q(I.value)&&Z()},bt=()=>i.value?be():N(),Et=pe=>{I.value=pe},fe=$(()=>a.textInput&&J.value.textInputOptions.format),Pt=()=>{fe.value&&(y.value=!0,ee()),t("focus")},kt=()=>{fe.value&&(y.value=!1,ee()),t("blur")},Qe=pe=>{l.value&&l.value.updateMonthYear(0,{month:Qr(pe.month),year:Qr(pe.year)})};return Zm(l,g,a.onClickOutside?()=>a.onClickOutside(ne):be),n({closeMenu:be,selectDate:ie,clearValue:q,openMenu:N,onScroll:w,formatInputValue:ee,updateInternalModelValue:Et,setMonthYear:Qe}),(pe,je)=>(j(),G("div",{class:Me(b(A)),ref_key:"pickerWrapperRef",ref:f},[ft(am,Ve({ref_key:"inputRef",ref:g,"is-menu-open":i.value,"internal-model-value":b(I),"input-value":b(H),"onUpdate:inputValue":je[0]||(je[0]=De=>ua(H)?H.value=De:null)},pe.$props,{onClear:q,onOpen:N,onSetInputDate:at,onSetEmptyDate:b(Z),onSelectDate:ie,onToggle:bt,onClose:be,onFocus:Pt,onBlur:kt}),gt({_:2},[Xe(b(M),(De,zt)=>({name:De,fn:he(Ge=>[ae(pe.$slots,De,Be(_t(Ge)))])}))]),1040,["is-menu-open","internal-model-value","input-value","onSetEmptyDate"]),i.value?(j(),ye(rn(pe.teleport?Qo:"div"),Be(Ve({key:0},b(u))),{default:he(()=>[i.value?(j(),ye(Qm,Ve({key:0,ref_key:"dpMenuRef",ref:l,class:b(L),style:{...b(R),...pe.dpStyle},"open-on-top":b(S)},pe.$props,{"internal-model-value":b(I),"onUpdate:internalModelValue":je[1]||(je[1]=De=>ua(I)?I.value=De:null),onClosePicker:be,onSelectDate:ie,onAutoApply:P,onTimeUpdate:Le,onFlowStep:je[2]||(je[2]=De=>pe.$emit("flow-step",De)),onUpdateMonthYear:je[3]||(je[3]=De=>pe.$emit("update-month-year",De)),onInvalidSelect:je[4]||(je[4]=De=>pe.$emit("invalid-select",b(I))),onInvalidFixedRange:je[5]||(je[5]=De=>pe.$emit("invalid-fixed-range",De)),onRecalculatePosition:b(B),onTooltipOpen:je[6]||(je[6]=De=>pe.$emit("tooltip-open",De)),onTooltipClose:je[7]||(je[7]=De=>pe.$emit("tooltip-close",De))}),gt({_:2},[Xe(b(T),(De,zt)=>({name:De,fn:he(Ge=>[ae(pe.$slots,De,Be(_t({...Ge})))])}))]),1040,["class","style","open-on-top","internal-model-value","onRecalculatePosition"])):O("",!0)]),_:3},16)):O("",!0)],2))}}),nr=(()=>{const e=ec;return e.install=n=>{n.component("Vue3DatePicker",e)},e})(),tc=Object.freeze(Object.defineProperty({__proto__:null,default:nr},Symbol.toStringTag,{value:"Module"}));Object.entries(tc).forEach(([e,n])=>{e!=="default"&&(nr[e]=n)});const ac={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"}},nc=(e,n,t)=>{let a;const r=ac[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"oor "+a:a+" gelede":a},rc={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"yyyy/MM/dd"},ic={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},oc={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},sc={date:c({formats:rc,defaultWidth:"full"}),time:c({formats:ic,defaultWidth:"full"}),dateTime:c({formats:oc,defaultWidth:"full"})},uc={lastWeek:"'verlede' eeee 'om' p",yesterday:"'gister om' p",today:"'vandag om' p",tomorrow:"'môre om' p",nextWeek:"eeee 'om' p",other:"P"},dc=(e,n,t,a)=>uc[e],lc={narrow:["vC","nC"],abbreviated:["vC","nC"],wide:["voor Christus","na Christus"]},mc={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1ste kwartaal","2de kwartaal","3de kwartaal","4de kwartaal"]},cc={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"]},hc={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"]},fc={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"}},gc={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"}},pc=e=>{const n=Number(e),t=n%100;if(t<20)switch(t){case 1:case 8:return n+"ste";default:return n+"de"}return n+"ste"},vc={ordinalNumber:pc,era:o({values:lc,defaultWidth:"wide"}),quarter:o({values:mc,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:cc,defaultWidth:"wide"}),day:o({values:hc,defaultWidth:"wide"}),dayPeriod:o({values:fc,defaultWidth:"wide",formattingValues:gc,defaultFormattingWidth:"wide"})},yc=/^(\d+)(ste|de)?/i,wc=/\d+/i,bc={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?C\.?)/,wide:/^((voor|na) Christus)/},Pc={any:[/^v/,/^n/]},kc={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234](st|d)e kwartaal/i},Mc={any:[/1/i,/2/i,/3/i,/4/i]},$c={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},Wc={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]},Dc={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},xc={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]},jc={any:/^(vm|nm|middernag|(?:uur )?die (oggend|middag|aand))/i},zc={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}},Tc={ordinalNumber:K({matchPattern:yc,parsePattern:wc,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:bc,defaultMatchWidth:"wide",parsePatterns:Pc,defaultParseWidth:"any"}),quarter:s({matchPatterns:kc,defaultMatchWidth:"wide",parsePatterns:Mc,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:$c,defaultMatchWidth:"wide",parsePatterns:Wc,defaultParseWidth:"any"}),day:s({matchPatterns:Dc,defaultMatchWidth:"wide",parsePatterns:xc,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:jc,defaultMatchWidth:"any",parsePatterns:zc,defaultParseWidth:"any"})},Sc={code:"af",formatDistance:nc,formatLong:sc,formatRelative:dc,localize:vc,match:Tc,options:{weekStartsOn:0,firstWeekContainsDate:1}},_c={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}} سنة"}},Nc=(e,n,t)=>{const a=_c[e];let r;return typeof a=="string"?r=a:n===1?r=a.one:n===2?r=a.two:n<=10?r=a.threeToTen.replace("{{count}}",String(n)):r=a.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"خلال "+r:"منذ "+r:r},Cc={full:"EEEE، do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},Vc={full:"HH:mm:ss",long:"HH:mm:ss",medium:"HH:mm:ss",short:"HH:mm"},Ec={full:"{{date}} 'عند الساعة' {{time}}",long:"{{date}} 'عند الساعة' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Hc={date:c({formats:Cc,defaultWidth:"full"}),time:c({formats:Vc,defaultWidth:"full"}),dateTime:c({formats:Ec,defaultWidth:"full"})},Fc={lastWeek:"eeee 'الماضي عند الساعة' p",yesterday:"'الأمس عند الساعة' p",today:"'اليوم عند الساعة' p",tomorrow:"'غدا عند الساعة' p",nextWeek:"eeee 'القادم عند الساعة' p",other:"P"},Ac=e=>Fc[e],Oc={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},Ic={narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},Xc={narrow:["ي","ف","م","أ","م","ي","ي","أ","س","أ","ن","د"],abbreviated:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],wide:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},Lc={narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},Yc={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:"منتصف الليل"}},Rc={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:"منتصف الليل"}},qc=e=>String(e),Gc={ordinalNumber:qc,era:o({values:Oc,defaultWidth:"wide"}),quarter:o({values:Ic,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:Xc,defaultWidth:"wide"}),day:o({values:Lc,defaultWidth:"wide"}),dayPeriod:o({values:Yc,defaultWidth:"wide",formattingValues:Rc,defaultFormattingWidth:"wide"})},Bc=/^(\d+)(th|st|nd|rd)?/i,Qc=/\d+/i,Kc={narrow:/[قب]/,abbreviated:/[قب]\.م\./,wide:/(قبل|بعد) الميلاد/},Jc={any:[/قبل/,/بعد/]},Uc={narrow:/^[1234]/i,abbreviated:/ر[1234]/,wide:/الربع (الأول|الثاني|الثالث|الرابع)/},Zc={any:[/1/i,/2/i,/3/i,/4/i]},eh={narrow:/^[أيفمسند]/,abbreviated:/^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/,wide:/^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/},th={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]},ah={narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},nh={narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},rh={narrow:/^(ص|م|منتصف الليل|الظهر|بعد الظهر|في الصباح|في المساء|في الليل)/,any:/^(ص|م|منتصف الليل|الظهر|بعد الظهر|في الصباح|في المساء|في الليل)/},ih={any:{am:/^ص/,pm:/^م/,midnight:/منتصف الليل/,noon:/الظهر/,afternoon:/بعد الظهر/,morning:/في الصباح/,evening:/في المساء/,night:/في الليل/}},oh={ordinalNumber:K({matchPattern:Bc,parsePattern:Qc,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:Kc,defaultMatchWidth:"wide",parsePatterns:Jc,defaultParseWidth:"any"}),quarter:s({matchPatterns:Uc,defaultMatchWidth:"wide",parsePatterns:Zc,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:eh,defaultMatchWidth:"wide",parsePatterns:th,defaultParseWidth:"any"}),day:s({matchPatterns:ah,defaultMatchWidth:"wide",parsePatterns:nh,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:rh,defaultMatchWidth:"any",parsePatterns:ih,defaultParseWidth:"any"})},sh={code:"ar",formatDistance:Nc,formatLong:Hc,formatRelative:Ac,localize:Gc,match:oh,options:{weekStartsOn:6,firstWeekContainsDate:1}},uh={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}} عام تقريباً"}},dh=(e,n,t)=>{t=t||{};const a=uh[e];let r;return typeof a=="string"?r=a:n===1?r=a.one:n===2?r=a.two:n<=10?r=a.threeToTen.replace("{{count}}",String(n)):r=a.other.replace("{{count}}",String(n)),t.addSuffix?t.comparison&&t.comparison>0?"في خلال "+r:"منذ "+r:r},lh={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},mh={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},ch={full:"{{date}} 'عند' {{time}}",long:"{{date}} 'عند' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},hh={date:c({formats:lh,defaultWidth:"full"}),time:c({formats:mh,defaultWidth:"full"}),dateTime:c({formats:ch,defaultWidth:"full"})},fh={lastWeek:"'أخر' eeee 'عند' p",yesterday:"'أمس عند' p",today:"'اليوم عند' p",tomorrow:"'غداً عند' p",nextWeek:"eeee 'عند' p",other:"P"},gh=(e,n,t,a)=>fh[e],ph={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},vh={narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},yh={narrow:["ج","ف","م","أ","م","ج","ج","أ","س","أ","ن","د"],abbreviated:["جانـ","فيفـ","مارس","أفريل","مايـ","جوانـ","جويـ","أوت","سبتـ","أكتـ","نوفـ","ديسـ"],wide:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},wh={narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنـ","ثلا","أربـ","خميـ","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},bh={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:"ليلاً"}},Ph={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:"في الليل"}},kh=e=>String(e),Mh={ordinalNumber:kh,era:o({values:ph,defaultWidth:"wide"}),quarter:o({values:vh,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:o({values:yh,defaultWidth:"wide"}),day:o({values:wh,defaultWidth:"wide"}),dayPeriod:o({values:bh,defaultWidth:"wide",formattingValues:Ph,defaultFormattingWidth:"wide"})},$h=/^(\d+)(th|st|nd|rd)?/i,Wh=/\d+/i,Dh={narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i,wide:/^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i},xh={any:[/^قبل/i,/^بعد/i]},jh={narrow:/^[1234]/i,abbreviated:/^ر[1234]/i,wide:/^الربع [1234]/i},zh={any:[/1/i,/2/i,/3/i,/4/i]},Th={narrow:/^[جفمأسند]/i,abbreviated:/^(جان|فيف|مار|أفر|ماي|جوا|جوي|أوت|سبت|أكت|نوف|ديس)/i,wide:/^(جانفي|فيفري|مارس|أفريل|ماي|جوان|جويلية|أوت|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/i},Sh={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]},_h={narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثن|ثلا|أرب|خمي|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},Nh={narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},Ch={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},Vh={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}},Eh={ordinalNumber:K({matchPattern:$h,parsePattern:Wh,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:Dh,defaultMatchWidth:"wide",parsePatterns:xh,defaultParseWidth:"any"}),quarter:s({matchPatterns:jh,defaultMatchWidth:"wide",parsePatterns:zh,defaultParseWidth:"any",valueCallback:e=>Number(e)+1}),month:s({matchPatterns:Th,defaultMatchWidth:"wide",parsePatterns:Sh,defaultParseWidth:"any"}),day:s({matchPatterns:_h,defaultMatchWidth:"wide",parsePatterns:Nh,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:Ch,defaultMatchWidth:"any",parsePatterns:Vh,defaultParseWidth:"any"})},Hh={code:"ar-DZ",formatDistance:dh,formatLong:hh,formatRelative:gh,localize:Mh,match:Eh,options:{weekStartsOn:0,firstWeekContainsDate:1}},Fh={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}} عام تقريبًا"}},Ah=(e,n,t)=>{let a;const r=Fh[e];return typeof r=="string"?a=r:n===1?a=r.one:n===2?a=r.two:n<=10?a=r.threeToTen.replace("{{count}}",String(n)):a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?`في خلال ${a}`:`منذ ${a}`:a},Oh={full:"EEEE، do MMMM y",long:"do MMMM y",medium:"dd/MMM/y",short:"d/MM/y"},Ih={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Xh={full:"{{date}} 'الساعة' {{time}}",long:"{{date}} 'الساعة' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Lh={date:c({formats:Oh,defaultWidth:"full"}),time:c({formats:Ih,defaultWidth:"full"}),dateTime:c({formats:Xh,defaultWidth:"full"})},Yh={lastWeek:"eeee 'اللي جاي الساعة' p",yesterday:"'إمبارح الساعة' p",today:"'النهاردة الساعة' p",tomorrow:"'بكرة الساعة' p",nextWeek:"eeee 'الساعة' p",other:"P"},Rh=(e,n,t,a)=>Yh[e],qh={narrow:["ق","ب"],abbreviated:["ق.م","ب.م"],wide:["قبل الميلاد","بعد الميلاد"]},Gh={narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},Bh={narrow:["ي","ف","م","أ","م","ي","ي","أ","س","أ","ن","د"],abbreviated:["ينا","فبر","مارس","أبريل","مايو","يونـ","يولـ","أغسـ","سبتـ","أكتـ","نوفـ","ديسـ"],wide:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},Qh={narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},Kh={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:"ليلاً"}},Jh={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:"في الليل"}},Uh=(e,n)=>String(e),Zh={ordinalNumber:Uh,era:o({values:qh,defaultWidth:"wide"}),quarter:o({values:Gh,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:Bh,defaultWidth:"wide"}),day:o({values:Qh,defaultWidth:"wide"}),dayPeriod:o({values:Kh,defaultWidth:"wide",formattingValues:Jh,defaultFormattingWidth:"wide"})},ef=/^(\d+)/,tf=/\d+/i,af={narrow:/^(ق|ب)/g,abbreviated:/^(ق.م|ب.م)/g,wide:/^(قبل الميلاد|بعد الميلاد)/g},nf={any:[/^ق/g,/^ب/g]},rf={narrow:/^[1234]/,abbreviated:/^ر[1234]/,wide:/^الربع (الأول|الثاني|الثالث|الرابع)/},of={wide:[/الربع الأول/,/الربع الثاني/,/الربع الثالث/,/الربع الرابع/],any:[/1/,/2/,/3/,/4/]},sf={narrow:/^(ي|ف|م|أ|س|ن|د)/,abbreviated:/^(ينا|فبر|مارس|أبريل|مايو|يونـ|يولـ|أغسـ|سبتـ|أكتـ|نوفـ|ديسـ)/,wide:/^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/},uf={narrow:[/^ي/,/^ف/,/^م/,/^أ/,/^م/,/^ي/,/^ي/,/^أ/,/^س/,/^أ/,/^ن/,/^د/],any:[/^ينا/,/^فبر/,/^مارس/,/^أبريل/,/^مايو/,/^يون/,/^يول/,/^أغس/,/^سبت/,/^أكت/,/^نوف/,/^ديس/]},df={narrow:/^(ح|ن|ث|ر|خ|ج|س)/,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/,abbreviated:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/},lf={narrow:[/^ح/,/^ن/,/^ث/,/^ر/,/^خ/,/^ج/,/^س/],any:[/أحد/,/اثنين/,/ثلاثاء/,/أربعاء/,/خميس/,/جمعة/,/سبت/]},mf={narrow:/^(ص|م|ن|ظ|في الصباح|بعد الظهر|في المساء|في الليل)/,abbreviated:/^(ص|م|نصف الليل|ظهراً|في الصباح|بعد الظهر|في المساء|في الليل)/,wide:/^(ص|م|نصف الليل|في الصباح|ظهراً|بعد الظهر|في المساء|في الليل)/,any:/^(ص|م|صباح|ظهر|مساء|ليل)/},cf={any:{am:/^ص/,pm:/^م/,midnight:/^ن/,noon:/^ظ/,morning:/^ص/,afternoon:/^بعد/,evening:/^م/,night:/^ل/}},hf={ordinalNumber:K({matchPattern:ef,parsePattern:tf,valueCallback:function(e){return parseInt(e,10)}}),era:s({matchPatterns:af,defaultMatchWidth:"wide",parsePatterns:nf,defaultParseWidth:"any"}),quarter:s({matchPatterns:rf,defaultMatchWidth:"wide",parsePatterns:of,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:sf,defaultMatchWidth:"wide",parsePatterns:uf,defaultParseWidth:"any"}),day:s({matchPatterns:df,defaultMatchWidth:"wide",parsePatterns:lf,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:mf,defaultMatchWidth:"any",parsePatterns:cf,defaultParseWidth:"any"})},ff={code:"ar-EG",formatDistance:Ah,formatLong:Lh,formatRelative:Rh,localize:Zh,match:hf,options:{weekStartsOn:0,firstWeekContainsDate:1}},gf={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}} عام تقريباً"}},pf=(e,n,t)=>{t=t||{};const a=gf[e];let r;return typeof a=="string"?r=a:n===1?r=a.one:n===2?r=a.two:n<=10?r=a.threeToTen.replace("{{count}}",String(n)):r=a.other.replace("{{count}}",String(n)),t.addSuffix?t.comparison&&t.comparison>0?"في خلال "+r:"منذ "+r:r},vf={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},yf={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},wf={full:"{{date}} 'عند' {{time}}",long:"{{date}} 'عند' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},bf={date:c({formats:vf,defaultWidth:"full"}),time:c({formats:yf,defaultWidth:"full"}),dateTime:c({formats:wf,defaultWidth:"full"})},Pf={lastWeek:"'أخر' eeee 'عند' p",yesterday:"'أمس عند' p",today:"'اليوم عند' p",tomorrow:"'غداً عند' p",nextWeek:"eeee 'عند' p",other:"P"},kf=(e,n,t,a)=>Pf[e],Mf={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},$f={narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},Wf={narrow:["ي","ف","م","أ","م","ي","ي","غ","ش","أ","ن","د"],abbreviated:["ينا","فبر","مارس","أبريل","ماي","يونـ","يولـ","غشت","شتنـ","أكتـ","نونـ","دجنـ"],wide:["يناير","فبراير","مارس","أبريل","ماي","يونيو","يوليوز","غشت","شتنبر","أكتوبر","نونبر","دجنبر"]},Df={narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنـ","ثلا","أربـ","خميـ","جمعة","سبت"],wide:["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},xf={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:"ليلاً"}},jf={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:"في الليل"}},zf=e=>String(e),Tf={ordinalNumber:zf,era:o({values:Mf,defaultWidth:"wide"}),quarter:o({values:$f,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:o({values:Wf,defaultWidth:"wide"}),day:o({values:Df,defaultWidth:"wide"}),dayPeriod:o({values:xf,defaultWidth:"wide",formattingValues:jf,defaultFormattingWidth:"wide"})},Sf=/^(\d+)(th|st|nd|rd)?/i,_f=/\d+/i,Nf={narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i,wide:/^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i},Cf={any:[/^قبل/i,/^بعد/i]},Vf={narrow:/^[1234]/i,abbreviated:/^ر[1234]/i,wide:/^الربع [1234]/i},Ef={any:[/1/i,/2/i,/3/i,/4/i]},Hf={narrow:/^[يفمأمسند]/i,abbreviated:/^(ين|ف|مار|أب|ماي|يون|يول|غش|شت|أك|ن|د)/i,wide:/^(ين|ف|مار|أب|ماي|يون|يول|غش|شت|أك|ن|د)/i},Ff={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]},Af={narrow:/^[حنثرخجس]/i,short:/^(أحد|إثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|إثن|ثلا|أرب|خمي|جمعة|سبت)/i,wide:/^(الأحد|الإثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},Of={narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الإثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^إث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},If={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},Xf={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}},Lf={ordinalNumber:K({matchPattern:Sf,parsePattern:_f,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:Nf,defaultMatchWidth:"wide",parsePatterns:Cf,defaultParseWidth:"any"}),quarter:s({matchPatterns:Vf,defaultMatchWidth:"wide",parsePatterns:Ef,defaultParseWidth:"any",valueCallback:e=>Number(e)+1}),month:s({matchPatterns:Hf,defaultMatchWidth:"wide",parsePatterns:Ff,defaultParseWidth:"any"}),day:s({matchPatterns:Af,defaultMatchWidth:"wide",parsePatterns:Of,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:If,defaultMatchWidth:"any",parsePatterns:Xf,defaultParseWidth:"any"})},Yf={code:"ar-MA",formatDistance:pf,formatLong:bf,formatRelative:kf,localize:Tf,match:Lf,options:{weekStartsOn:1,firstWeekContainsDate:1}},Rf={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}} عام تقريباً"}},qf=(e,n,t)=>{let a;const r=Rf[e];return typeof r=="string"?a=r:n===1?a=r.one:n===2?a=r.two:n<=10?a=r.threeToTen.replace("{{count}}",String(n)):a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"في خلال "+a:"منذ "+a:a},Gf={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Bf={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Qf={full:"{{date}} 'عند' {{time}}",long:"{{date}} 'عند' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Kf={date:c({formats:Gf,defaultWidth:"full"}),time:c({formats:Bf,defaultWidth:"full"}),dateTime:c({formats:Qf,defaultWidth:"full"})},Jf={lastWeek:"'أخر' eeee 'عند' p",yesterday:"'أمس عند' p",today:"'اليوم عند' p",tomorrow:"'غداً عند' p",nextWeek:"eeee 'عند' p",other:"P"},Uf=(e,n,t,a)=>Jf[e],Zf={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},eg={narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},tg={narrow:["ي","ف","م","أ","م","ي","ي","أ","س","أ","ن","د"],abbreviated:["ينا","فبر","مارس","أبريل","مايو","يونـ","يولـ","أغسـ","سبتـ","أكتـ","نوفـ","ديسـ"],wide:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},ag={narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنـ","ثلا","أربـ","خميـ","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},ng={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:"ليلاً"}},rg={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:"في الليل"}},ig=e=>String(e),og={ordinalNumber:ig,era:o({values:Zf,defaultWidth:"wide"}),quarter:o({values:eg,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:tg,defaultWidth:"wide"}),day:o({values:ag,defaultWidth:"wide"}),dayPeriod:o({values:ng,defaultWidth:"wide",formattingValues:rg,defaultFormattingWidth:"wide"})},sg=/^(\d+)(th|st|nd|rd)?/i,ug=/\d+/i,dg={narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i,wide:/^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i},lg={any:[/^قبل/i,/^بعد/i]},mg={narrow:/^[1234]/i,abbreviated:/^ر[1234]/i,wide:/^الربع [1234]/i},cg={any:[/1/i,/2/i,/3/i,/4/i]},hg={narrow:/^[يفمأمسند]/i,abbreviated:/^(ين|ف|مار|أب|ماي|يون|يول|أغ|س|أك|ن|د)/i,wide:/^(ين|ف|مار|أب|ماي|يون|يول|أغ|س|أك|ن|د)/i},fg={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]},gg={narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثن|ثلا|أرب|خمي|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},pg={narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},vg={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},yg={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}},wg={ordinalNumber:K({matchPattern:sg,parsePattern:ug,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:dg,defaultMatchWidth:"wide",parsePatterns:lg,defaultParseWidth:"any"}),quarter:s({matchPatterns:mg,defaultMatchWidth:"wide",parsePatterns:cg,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:hg,defaultMatchWidth:"wide",parsePatterns:fg,defaultParseWidth:"any"}),day:s({matchPatterns:gg,defaultMatchWidth:"wide",parsePatterns:pg,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:vg,defaultMatchWidth:"any",parsePatterns:yg,defaultParseWidth:"any"})},bg={code:"ar-SA",formatDistance:qf,formatLong:Kf,formatRelative:Uf,localize:og,match:wg,options:{weekStartsOn:0,firstWeekContainsDate:1}},Pg={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}} عام تقريب"}},kg=(e,n,t)=>{const a=Pg[e];let r;return typeof a=="string"?r=a:n===1?r=a.one:n===2?r=a.two:n<=10?r=a.threeToTen.replace("{{count}}",String(n)):r=a.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"في "+r:"عندو "+r:r},Mg={full:"EEEE، do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},$g={full:"HH:mm:ss",long:"HH:mm:ss",medium:"HH:mm:ss",short:"HH:mm"},Wg={full:"{{date}} 'مع' {{time}}",long:"{{date}} 'مع' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Dg={date:c({formats:Mg,defaultWidth:"full"}),time:c({formats:$g,defaultWidth:"full"}),dateTime:c({formats:Wg,defaultWidth:"full"})},xg={lastWeek:"eeee 'إلي فات مع' p",yesterday:"'البارح مع' p",today:"'اليوم مع' p",tomorrow:"'غدوة مع' p",nextWeek:"eeee 'الجمعة الجاية مع' p 'نهار'",other:"P"},jg=e=>xg[e],zg={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},Tg={narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},Sg={narrow:["د","ن","أ","س","أ","ج","ج","م","أ","م","ف","ج"],abbreviated:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],wide:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},_g={narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},Ng={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:"نص الليل"}},Cg={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:"نص الليل"}},Vg=e=>String(e),Eg={ordinalNumber:Vg,era:o({values:zg,defaultWidth:"wide"}),quarter:o({values:Tg,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:Sg,defaultWidth:"wide"}),day:o({values:_g,defaultWidth:"wide"}),dayPeriod:o({values:Ng,defaultWidth:"wide",formattingValues:Cg,defaultFormattingWidth:"wide"})},Hg=/^(\d+)(th|st|nd|rd)?/i,Fg=/\d+/i,Ag={narrow:/[قب]/,abbreviated:/[قب]\.م\./,wide:/(قبل|بعد) الميلاد/},Og={any:[/قبل/,/بعد/]},Ig={narrow:/^[1234]/i,abbreviated:/ر[1234]/,wide:/الربع (الأول|الثاني|الثالث|الرابع)/},Xg={any:[/1/i,/2/i,/3/i,/4/i]},Lg={narrow:/^[جفمأسند]/,abbreviated:/^(جانفي|فيفري|مارس|أفريل|ماي|جوان|جويلية|أوت|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/,wide:/^(جانفي|فيفري|مارس|أفريل|ماي|جوان|جويلية|أوت|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/},Yg={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]},Rg={narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},qg={narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},Gg={narrow:/^(ص|ع|ن ل|ل|(في|مع) (صباح|قايلة|عشية|ليل))/,any:/^([صع]|نص الليل|قايلة|(في|مع) (صباح|قايلة|عشية|ليل))/},Bg={any:{am:/^ص/,pm:/^ع/,midnight:/نص الليل/,noon:/قايلة/,afternoon:/بعد القايلة/,morning:/صباح/,evening:/عشية/,night:/ليل/}},Qg={ordinalNumber:K({matchPattern:Hg,parsePattern:Fg,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:Ag,defaultMatchWidth:"wide",parsePatterns:Og,defaultParseWidth:"any"}),quarter:s({matchPatterns:Ig,defaultMatchWidth:"wide",parsePatterns:Xg,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:Lg,defaultMatchWidth:"wide",parsePatterns:Yg,defaultParseWidth:"any"}),day:s({matchPatterns:Rg,defaultMatchWidth:"wide",parsePatterns:qg,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:Gg,defaultMatchWidth:"any",parsePatterns:Bg,defaultParseWidth:"any"})},Kg={code:"ar-TN",formatDistance:kg,formatLong:Dg,formatRelative:jg,localize:Eg,match:Qg,options:{weekStartsOn:1,firstWeekContainsDate:1}},Jg={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"}},Ug=(e,n,t)=>{let a;const r=Jg[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?a+" sonra":a+" əvvəl":a},Zg={full:"EEEE, do MMMM y 'il'",long:"do MMMM y 'il'",medium:"d MMM y 'il'",short:"dd.MM.yyyy"},ep={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},tp={full:"{{date}} {{time}} - 'də'",long:"{{date}} {{time}} - 'də'",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ap={date:c({formats:Zg,defaultWidth:"full"}),time:c({formats:ep,defaultWidth:"full"}),dateTime:c({formats:tp,defaultWidth:"full"})},np={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"},rp=(e,n,t,a)=>np[e],ip={narrow:["e.ə","b.e"],abbreviated:["e.ə","b.e"],wide:["eramızdan əvvəl","bizim era"]},op={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1ci kvartal","2ci kvartal","3cü kvartal","4cü kvartal"]},sp={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"]},up={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ə"]},dp={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ə"}},lp={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ə"}},Ta={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ı"},mp=e=>{if(e===0)return e+"-ıncı";const n=e%10,t=e%100-n,a=e>=100?100:null;return Ta[n]?Ta[n]:Ta[t]?Ta[t]:a!==null?Ta[a]:""},cp=(e,n)=>{const t=Number(e),a=mp(t);return t+a},hp={ordinalNumber:cp,era:o({values:ip,defaultWidth:"wide"}),quarter:o({values:op,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:sp,defaultWidth:"wide"}),day:o({values:up,defaultWidth:"wide"}),dayPeriod:o({values:dp,defaultWidth:"wide",formattingValues:lp,defaultFormattingWidth:"wide"})},fp=/^(\d+)(-?(ci|inci|nci|uncu|üncü|ncı))?/i,gp=/\d+/i,pp={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},vp={any:[/^b$/i,/^(a|c)$/i]},yp={narrow:/^[1234]$/i,abbreviated:/^K[1234]$/i,wide:/^[1234](ci)? kvartal$/i},wp={any:[/1/i,/2/i,/3/i,/4/i]},bp={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},Pp={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]},kp={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},Mp={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]},$p={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},Wp={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}},Dp={ordinalNumber:K({matchPattern:fp,parsePattern:gp,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:pp,defaultMatchWidth:"wide",parsePatterns:vp,defaultParseWidth:"any"}),quarter:s({matchPatterns:yp,defaultMatchWidth:"wide",parsePatterns:wp,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:bp,defaultMatchWidth:"wide",parsePatterns:Pp,defaultParseWidth:"narrow"}),day:s({matchPatterns:kp,defaultMatchWidth:"wide",parsePatterns:Mp,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:$p,defaultMatchWidth:"any",parsePatterns:Wp,defaultParseWidth:"any"})},xp={code:"az",formatDistance:Ug,formatLong:ap,formatRelative:rp,localize:hp,match:Dp,options:{weekStartsOn:1,firstWeekContainsDate:1}};function Sa(e,n){if(e.one!==void 0&&n===1)return e.one;const t=n%10,a=n%100;return t===1&&a!==11?e.singularNominative.replace("{{count}}",String(n)):t>=2&&t<=4&&(a<10||a>20)?e.singularGenitive.replace("{{count}}",String(n)):e.pluralGenitive.replace("{{count}}",String(n))}function st(e){return(n,t)=>t&&t.addSuffix?t.comparison&&t.comparison>0?e.future?Sa(e.future,n):"праз "+Sa(e.regular,n):e.past?Sa(e.past,n):Sa(e.regular,n)+" таму":Sa(e.regular,n)}const jp=(e,n)=>n&&n.addSuffix?n.comparison&&n.comparison>0?"праз паўхвіліны":"паўхвіліны таму":"паўхвіліны",zp={lessThanXSeconds:st({regular:{one:"менш за секунду",singularNominative:"менш за {{count}} секунду",singularGenitive:"менш за {{count}} секунды",pluralGenitive:"менш за {{count}} секунд"},future:{one:"менш, чым праз секунду",singularNominative:"менш, чым праз {{count}} секунду",singularGenitive:"менш, чым праз {{count}} секунды",pluralGenitive:"менш, чым праз {{count}} секунд"}}),xSeconds:st({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду таму",singularGenitive:"{{count}} секунды таму",pluralGenitive:"{{count}} секунд таму"},future:{singularNominative:"праз {{count}} секунду",singularGenitive:"праз {{count}} секунды",pluralGenitive:"праз {{count}} секунд"}}),halfAMinute:jp,lessThanXMinutes:st({regular:{one:"менш за хвіліну",singularNominative:"менш за {{count}} хвіліну",singularGenitive:"менш за {{count}} хвіліны",pluralGenitive:"менш за {{count}} хвілін"},future:{one:"менш, чым праз хвіліну",singularNominative:"менш, чым праз {{count}} хвіліну",singularGenitive:"менш, чым праз {{count}} хвіліны",pluralGenitive:"менш, чым праз {{count}} хвілін"}}),xMinutes:st({regular:{singularNominative:"{{count}} хвіліна",singularGenitive:"{{count}} хвіліны",pluralGenitive:"{{count}} хвілін"},past:{singularNominative:"{{count}} хвіліну таму",singularGenitive:"{{count}} хвіліны таму",pluralGenitive:"{{count}} хвілін таму"},future:{singularNominative:"праз {{count}} хвіліну",singularGenitive:"праз {{count}} хвіліны",pluralGenitive:"праз {{count}} хвілін"}}),aboutXHours:st({regular:{singularNominative:"каля {{count}} гадзіны",singularGenitive:"каля {{count}} гадзін",pluralGenitive:"каля {{count}} гадзін"},future:{singularNominative:"прыблізна праз {{count}} гадзіну",singularGenitive:"прыблізна праз {{count}} гадзіны",pluralGenitive:"прыблізна праз {{count}} гадзін"}}),xHours:st({regular:{singularNominative:"{{count}} гадзіна",singularGenitive:"{{count}} гадзіны",pluralGenitive:"{{count}} гадзін"},past:{singularNominative:"{{count}} гадзіну таму",singularGenitive:"{{count}} гадзіны таму",pluralGenitive:"{{count}} гадзін таму"},future:{singularNominative:"праз {{count}} гадзіну",singularGenitive:"праз {{count}} гадзіны",pluralGenitive:"праз {{count}} гадзін"}}),xDays:st({regular:{singularNominative:"{{count}} дзень",singularGenitive:"{{count}} дні",pluralGenitive:"{{count}} дзён"}}),aboutXWeeks:st({regular:{singularNominative:"каля {{count}} тыдні",singularGenitive:"каля {{count}} тыдняў",pluralGenitive:"каля {{count}} тыдняў"},future:{singularNominative:"прыблізна праз {{count}} тыдзень",singularGenitive:"прыблізна праз {{count}} тыдні",pluralGenitive:"прыблізна праз {{count}} тыдняў"}}),xWeeks:st({regular:{singularNominative:"{{count}} тыдзень",singularGenitive:"{{count}} тыдні",pluralGenitive:"{{count}} тыдняў"}}),aboutXMonths:st({regular:{singularNominative:"каля {{count}} месяца",singularGenitive:"каля {{count}} месяцаў",pluralGenitive:"каля {{count}} месяцаў"},future:{singularNominative:"прыблізна праз {{count}} месяц",singularGenitive:"прыблізна праз {{count}} месяцы",pluralGenitive:"прыблізна праз {{count}} месяцаў"}}),xMonths:st({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяцы",pluralGenitive:"{{count}} месяцаў"}}),aboutXYears:st({regular:{singularNominative:"каля {{count}} года",singularGenitive:"каля {{count}} гадоў",pluralGenitive:"каля {{count}} гадоў"},future:{singularNominative:"прыблізна праз {{count}} год",singularGenitive:"прыблізна праз {{count}} гады",pluralGenitive:"прыблізна праз {{count}} гадоў"}}),xYears:st({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} гады",pluralGenitive:"{{count}} гадоў"}}),overXYears:st({regular:{singularNominative:"больш за {{count}} год",singularGenitive:"больш за {{count}} гады",pluralGenitive:"больш за {{count}} гадоў"},future:{singularNominative:"больш, чым праз {{count}} год",singularGenitive:"больш, чым праз {{count}} гады",pluralGenitive:"больш, чым праз {{count}} гадоў"}}),almostXYears:st({regular:{singularNominative:"амаль {{count}} год",singularGenitive:"амаль {{count}} гады",pluralGenitive:"амаль {{count}} гадоў"},future:{singularNominative:"амаль праз {{count}} год",singularGenitive:"амаль праз {{count}} гады",pluralGenitive:"амаль праз {{count}} гадоў"}})},Tp=(e,n,t)=>(t=t||{},zp[e](n,t)),Sp={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},_p={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},Np={any:"{{date}}, {{time}}"},Cp={date:c({formats:Sp,defaultWidth:"full"}),time:c({formats:_p,defaultWidth:"full"}),dateTime:c({formats:Np,defaultWidth:"any"})},rr=["нядзелю","панядзелак","аўторак","сераду","чацвер","пятніцу","суботу"];function Vp(e){const n=rr[e];switch(e){case 0:case 3:case 5:case 6:return"'у мінулую "+n+" а' p";case 1:case 2:case 4:return"'у мінулы "+n+" а' p"}}function oo(e){return"'у "+rr[e]+" а' p"}function Ep(e){const n=rr[e];switch(e){case 0:case 3:case 5:case 6:return"'у наступную "+n+" а' p";case 1:case 2:case 4:return"'у наступны "+n+" а' p"}}const Hp=(e,n,t)=>{const a=me(e),r=a.getDay();return Ae(a,n,t)?oo(r):Vp(r)},Fp=(e,n,t)=>{const a=me(e),r=a.getDay();return Ae(a,n,t)?oo(r):Ep(r)},Ap={lastWeek:Hp,yesterday:"'учора а' p",today:"'сёння а' p",tomorrow:"'заўтра а' p",nextWeek:Fp,other:"P"},Op=(e,n,t,a)=>{const r=Ap[e];return typeof r=="function"?r(n,t,a):r},Ip={narrow:["да н.э.","н.э."],abbreviated:["да н. э.","н. э."],wide:["да нашай эры","нашай эры"]},Xp={narrow:["1","2","3","4"],abbreviated:["1-ы кв.","2-і кв.","3-і кв.","4-ы кв."],wide:["1-ы квартал","2-і квартал","3-і квартал","4-ы квартал"]},Lp={narrow:["С","Л","С","К","М","Ч","Л","Ж","В","К","Л","С"],abbreviated:["студз.","лют.","сак.","крас.","май","чэрв.","ліп.","жн.","вер.","кастр.","ліст.","снеж."],wide:["студзень","люты","сакавік","красавік","май","чэрвень","ліпень","жнівень","верасень","кастрычнік","лістапад","снежань"]},Yp={narrow:["С","Л","С","К","М","Ч","Л","Ж","В","К","Л","С"],abbreviated:["студз.","лют.","сак.","крас.","мая","чэрв.","ліп.","жн.","вер.","кастр.","ліст.","снеж."],wide:["студзеня","лютага","сакавіка","красавіка","мая","чэрвеня","ліпеня","жніўня","верасня","кастрычніка","лістапада","снежня"]},Rp={narrow:["Н","П","А","С","Ч","П","С"],short:["нд","пн","аў","ср","чц","пт","сб"],abbreviated:["нядз","пан","аўт","сер","чац","пят","суб"],wide:["нядзеля","панядзелак","аўторак","серада","чацвер","пятніца","субота"]},qp={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:"ноч"}},Gp={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:"ночы"}},Bp=(e,n)=>{const t=String(n==null?void 0:n.unit),a=Number(e);let r;return t==="date"?r="-га":t==="hour"||t==="minute"||t==="second"?r="-я":r=(a%10===2||a%10===3)&&a%100!==12&&a%100!==13?"-і":"-ы",a+r},Qp={ordinalNumber:Bp,era:o({values:Ip,defaultWidth:"wide"}),quarter:o({values:Xp,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:Lp,defaultWidth:"wide",formattingValues:Yp,defaultFormattingWidth:"wide"}),day:o({values:Rp,defaultWidth:"wide"}),dayPeriod:o({values:qp,defaultWidth:"any",formattingValues:Gp,defaultFormattingWidth:"wide"})},Kp=/^(\d+)(-?(е|я|га|і|ы|ае|ая|яя|шы|гі|ці|ты|мы))?/i,Jp=/\d+/i,Up={narrow:/^((да )?н\.?\s?э\.?)/i,abbreviated:/^((да )?н\.?\s?э\.?)/i,wide:/^(да нашай эры|нашай эры|наша эра)/i},Zp={any:[/^д/i,/^н/i]},ev={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыі]?)? кв.?/i,wide:/^[1234](-?[ыі]?)? квартал/i},tv={any:[/1/i,/2/i,/3/i,/4/i]},av={narrow:/^[слкмчжв]/i,abbreviated:/^(студз|лют|сак|крас|ма[йя]|чэрв|ліп|жн|вер|кастр|ліст|снеж)\.?/i,wide:/^(студзен[ья]|лют(ы|ага)|сакавіка?|красавіка?|ма[йя]|чэрвен[ья]|ліпен[ья]|жні(вень|ўня)|верас(ень|ня)|кастрычніка?|лістапада?|снеж(ань|ня))/i},nv={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]},rv={narrow:/^[нпасч]/i,short:/^(нд|ня|пн|па|аў|ат|ср|се|чц|ча|пт|пя|сб|су)\.?/i,abbreviated:/^(нядз?|ндз|пнд|пан|аўт|срд|сер|чцв|чац|птн|пят|суб).?/i,wide:/^(нядзел[яі]|панядзел(ак|ка)|аўтор(ак|ка)|серад[аы]|чацв(ер|ярга)|пятніц[аы]|субот[аы])/i},iv={narrow:[/^н/i,/^п/i,/^а/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[ан]/i,/^а/i,/^с[ер]/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},ov={narrow:/^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i,abbreviated:/^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i,wide:/^([дп]п|поўнач|поўдзень|раніц[аы]|дзень|дня|вечара?|ночы?)/i},sv={any:{am:/^дп/i,pm:/^пп/i,midnight:/^поўн/i,noon:/^поўд/i,morning:/^р/i,afternoon:/^д[зн]/i,evening:/^в/i,night:/^н/i}},uv={ordinalNumber:K({matchPattern:Kp,parsePattern:Jp,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:Up,defaultMatchWidth:"wide",parsePatterns:Zp,defaultParseWidth:"any"}),quarter:s({matchPatterns:ev,defaultMatchWidth:"wide",parsePatterns:tv,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:av,defaultMatchWidth:"wide",parsePatterns:nv,defaultParseWidth:"any"}),day:s({matchPatterns:rv,defaultMatchWidth:"wide",parsePatterns:iv,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:ov,defaultMatchWidth:"wide",parsePatterns:sv,defaultParseWidth:"any"})},dv={code:"be",formatDistance:Tp,formatLong:Cp,formatRelative:Op,localize:Qp,match:uv,options:{weekStartsOn:1,firstWeekContainsDate:1}};function _a(e,n){if(e.one!==void 0&&n===1)return e.one;const t=n%10,a=n%100;return t===1&&a!==11?e.singularNominative.replace("{{count}}",String(n)):t>=2&&t<=4&&(a<10||a>20)?e.singularGenitive.replace("{{count}}",String(n)):e.pluralGenitive.replace("{{count}}",String(n))}function ut(e){return(n,t)=>t&&t.addSuffix?t.comparison&&t.comparison>0?e.future?_a(e.future,n):"праз "+_a(e.regular,n):e.past?_a(e.past,n):_a(e.regular,n)+" таму":_a(e.regular,n)}const lv=(e,n)=>n&&n.addSuffix?n.comparison&&n.comparison>0?"праз паўхвіліны":"паўхвіліны таму":"паўхвіліны",mv={lessThanXSeconds:ut({regular:{one:"менш за секунду",singularNominative:"менш за {{count}} секунду",singularGenitive:"менш за {{count}} секунды",pluralGenitive:"менш за {{count}} секунд"},future:{one:"менш, чым праз секунду",singularNominative:"менш, чым праз {{count}} секунду",singularGenitive:"менш, чым праз {{count}} секунды",pluralGenitive:"менш, чым праз {{count}} секунд"}}),xSeconds:ut({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду таму",singularGenitive:"{{count}} секунды таму",pluralGenitive:"{{count}} секунд таму"},future:{singularNominative:"праз {{count}} секунду",singularGenitive:"праз {{count}} секунды",pluralGenitive:"праз {{count}} секунд"}}),halfAMinute:lv,lessThanXMinutes:ut({regular:{one:"менш за хвіліну",singularNominative:"менш за {{count}} хвіліну",singularGenitive:"менш за {{count}} хвіліны",pluralGenitive:"менш за {{count}} хвілін"},future:{one:"менш, чым праз хвіліну",singularNominative:"менш, чым праз {{count}} хвіліну",singularGenitive:"менш, чым праз {{count}} хвіліны",pluralGenitive:"менш, чым праз {{count}} хвілін"}}),xMinutes:ut({regular:{singularNominative:"{{count}} хвіліна",singularGenitive:"{{count}} хвіліны",pluralGenitive:"{{count}} хвілін"},past:{singularNominative:"{{count}} хвіліну таму",singularGenitive:"{{count}} хвіліны таму",pluralGenitive:"{{count}} хвілін таму"},future:{singularNominative:"праз {{count}} хвіліну",singularGenitive:"праз {{count}} хвіліны",pluralGenitive:"праз {{count}} хвілін"}}),aboutXHours:ut({regular:{singularNominative:"каля {{count}} гадзіны",singularGenitive:"каля {{count}} гадзін",pluralGenitive:"каля {{count}} гадзін"},future:{singularNominative:"прыблізна праз {{count}} гадзіну",singularGenitive:"прыблізна праз {{count}} гадзіны",pluralGenitive:"прыблізна праз {{count}} гадзін"}}),xHours:ut({regular:{singularNominative:"{{count}} гадзіна",singularGenitive:"{{count}} гадзіны",pluralGenitive:"{{count}} гадзін"},past:{singularNominative:"{{count}} гадзіну таму",singularGenitive:"{{count}} гадзіны таму",pluralGenitive:"{{count}} гадзін таму"},future:{singularNominative:"праз {{count}} гадзіну",singularGenitive:"праз {{count}} гадзіны",pluralGenitive:"праз {{count}} гадзін"}}),xDays:ut({regular:{singularNominative:"{{count}} дзень",singularGenitive:"{{count}} дні",pluralGenitive:"{{count}} дзён"}}),aboutXWeeks:ut({regular:{singularNominative:"каля {{count}} тыдні",singularGenitive:"каля {{count}} тыдняў",pluralGenitive:"каля {{count}} тыдняў"},future:{singularNominative:"прыблізна праз {{count}} тыдзень",singularGenitive:"прыблізна праз {{count}} тыдні",pluralGenitive:"прыблізна праз {{count}} тыдняў"}}),xWeeks:ut({regular:{singularNominative:"{{count}} тыдзень",singularGenitive:"{{count}} тыдні",pluralGenitive:"{{count}} тыдняў"}}),aboutXMonths:ut({regular:{singularNominative:"каля {{count}} месяца",singularGenitive:"каля {{count}} месяцаў",pluralGenitive:"каля {{count}} месяцаў"},future:{singularNominative:"прыблізна праз {{count}} месяц",singularGenitive:"прыблізна праз {{count}} месяцы",pluralGenitive:"прыблізна праз {{count}} месяцаў"}}),xMonths:ut({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяцы",pluralGenitive:"{{count}} месяцаў"}}),aboutXYears:ut({regular:{singularNominative:"каля {{count}} года",singularGenitive:"каля {{count}} гадоў",pluralGenitive:"каля {{count}} гадоў"},future:{singularNominative:"прыблізна праз {{count}} год",singularGenitive:"прыблізна праз {{count}} гады",pluralGenitive:"прыблізна праз {{count}} гадоў"}}),xYears:ut({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} гады",pluralGenitive:"{{count}} гадоў"}}),overXYears:ut({regular:{singularNominative:"больш за {{count}} год",singularGenitive:"больш за {{count}} гады",pluralGenitive:"больш за {{count}} гадоў"},future:{singularNominative:"больш, чым праз {{count}} год",singularGenitive:"больш, чым праз {{count}} гады",pluralGenitive:"больш, чым праз {{count}} гадоў"}}),almostXYears:ut({regular:{singularNominative:"амаль {{count}} год",singularGenitive:"амаль {{count}} гады",pluralGenitive:"амаль {{count}} гадоў"},future:{singularNominative:"амаль праз {{count}} год",singularGenitive:"амаль праз {{count}} гады",pluralGenitive:"амаль праз {{count}} гадоў"}})},cv=(e,n,t)=>(t=t||{},mv[e](n,t)),hv={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},fv={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},gv={any:"{{date}}, {{time}}"},pv={date:c({formats:hv,defaultWidth:"full"}),time:c({formats:fv,defaultWidth:"full"}),dateTime:c({formats:gv,defaultWidth:"any"})},ir=["нядзелю","панядзелак","аўторак","сераду","чацьвер","пятніцу","суботу"];function vv(e){const n=ir[e];switch(e){case 0:case 3:case 5:case 6:return"'у мінулую "+n+" а' p";case 1:case 2:case 4:return"'у мінулы "+n+" а' p"}}function so(e){return"'у "+ir[e]+" а' p"}function yv(e){const n=ir[e];switch(e){case 0:case 3:case 5:case 6:return"'у наступную "+n+" а' p";case 1:case 2:case 4:return"'у наступны "+n+" а' p"}}const wv=(e,n,t)=>{const a=me(e),r=a.getDay();return Ae(a,n,t)?so(r):vv(r)},bv=(e,n,t)=>{const a=me(e),r=a.getDay();return Ae(a,n,t)?so(r):yv(r)},Pv={lastWeek:wv,yesterday:"'учора а' p",today:"'сёньня а' p",tomorrow:"'заўтра а' p",nextWeek:bv,other:"P"},kv=(e,n,t,a)=>{const r=Pv[e];return typeof r=="function"?r(n,t,a):r},Mv={narrow:["да н.э.","н.э."],abbreviated:["да н. э.","н. э."],wide:["да нашай эры","нашай эры"]},$v={narrow:["1","2","3","4"],abbreviated:["1-ы кв.","2-і кв.","3-і кв.","4-ы кв."],wide:["1-ы квартал","2-і квартал","3-і квартал","4-ы квартал"]},Wv={narrow:["С","Л","С","К","Т","Ч","Л","Ж","В","К","Л","С"],abbreviated:["студз.","лют.","сак.","крас.","трав.","чэрв.","ліп.","жн.","вер.","кастр.","ліст.","сьнеж."],wide:["студзень","люты","сакавік","красавік","травень","чэрвень","ліпень","жнівень","верасень","кастрычнік","лістапад","сьнежань"]},Dv={narrow:["С","Л","С","К","Т","Ч","Л","Ж","В","К","Л","С"],abbreviated:["студз.","лют.","сак.","крас.","трав.","чэрв.","ліп.","жн.","вер.","кастр.","ліст.","сьнеж."],wide:["студзеня","лютага","сакавіка","красавіка","траўня","чэрвеня","ліпеня","жніўня","верасня","кастрычніка","лістапада","сьнежня"]},xv={narrow:["Н","П","А","С","Ч","П","С"],short:["нд","пн","аў","ср","чц","пт","сб"],abbreviated:["нядз","пан","аўт","сер","чаць","пят","суб"],wide:["нядзеля","панядзелак","аўторак","серада","чацьвер","пятніца","субота"]},jv={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:"ноч"}},zv={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:"ночы"}},Tv=(e,n)=>{const t=String(n==null?void 0:n.unit),a=Number(e);let r;return t==="date"?r="-га":t==="hour"||t==="minute"||t==="second"?r="-я":r=(a%10===2||a%10===3)&&a%100!==12&&a%100!==13?"-і":"-ы",a+r},Sv={ordinalNumber:Tv,era:o({values:Mv,defaultWidth:"wide"}),quarter:o({values:$v,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:Wv,defaultWidth:"wide",formattingValues:Dv,defaultFormattingWidth:"wide"}),day:o({values:xv,defaultWidth:"wide"}),dayPeriod:o({values:jv,defaultWidth:"any",formattingValues:zv,defaultFormattingWidth:"wide"})},_v=/^(\d+)(-?(е|я|га|і|ы|ае|ая|яя|шы|гі|ці|ты|мы))?/i,Nv=/\d+/i,Cv={narrow:/^((да )?н\.?\s?э\.?)/i,abbreviated:/^((да )?н\.?\s?э\.?)/i,wide:/^(да нашай эры|нашай эры|наша эра)/i},Vv={any:[/^д/i,/^н/i]},Ev={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыі]?)? кв.?/i,wide:/^[1234](-?[ыі]?)? квартал/i},Hv={any:[/1/i,/2/i,/3/i,/4/i]},Fv={narrow:/^[слкмчжв]/i,abbreviated:/^(студз|лют|сак|крас|тр(ав)?|чэрв|ліп|жн|вер|кастр|ліст|сьнеж)\.?/i,wide:/^(студзен[ья]|лют(ы|ага)|сакавіка?|красавіка?|тра(вень|ўня)|чэрвен[ья]|ліпен[ья]|жні(вень|ўня)|верас(ень|ня)|кастрычніка?|лістапада?|сьнеж(ань|ня))/i},Av={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]},Ov={narrow:/^[нпасч]/i,short:/^(нд|ня|пн|па|аў|ат|ср|се|чц|ча|пт|пя|сб|су)\.?/i,abbreviated:/^(нядз?|ндз|пнд|пан|аўт|срд|сер|чцьв|чаць|птн|пят|суб).?/i,wide:/^(нядзел[яі]|панядзел(ак|ка)|аўтор(ак|ка)|серад[аы]|чацьв(ер|ярга)|пятніц[аы]|субот[аы])/i},Iv={narrow:[/^н/i,/^п/i,/^а/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[ан]/i,/^а/i,/^с[ер]/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},Xv={narrow:/^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i,abbreviated:/^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i,wide:/^([дп]п|поўнач|поўдзень|раніц[аы]|дзень|дня|вечара?|ночы?)/i},Lv={any:{am:/^дп/i,pm:/^пп/i,midnight:/^поўн/i,noon:/^поўд/i,morning:/^р/i,afternoon:/^д[зн]/i,evening:/^в/i,night:/^н/i}},Yv={ordinalNumber:K({matchPattern:_v,parsePattern:Nv,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:Cv,defaultMatchWidth:"wide",parsePatterns:Vv,defaultParseWidth:"any"}),quarter:s({matchPatterns:Ev,defaultMatchWidth:"wide",parsePatterns:Hv,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:Fv,defaultMatchWidth:"wide",parsePatterns:Av,defaultParseWidth:"any"}),day:s({matchPatterns:Ov,defaultMatchWidth:"wide",parsePatterns:Iv,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:Xv,defaultMatchWidth:"wide",parsePatterns:Lv,defaultParseWidth:"any"})},Rv={code:"be-tarask",formatDistance:cv,formatLong:pv,formatRelative:kv,localize:Sv,match:Yv,options:{weekStartsOn:1,firstWeekContainsDate:1}},qv={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}} години"}},Gv=(e,n,t)=>{let a;const r=qv[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"след "+a:"преди "+a:a},Bv={full:"EEEE, dd MMMM yyyy",long:"dd MMMM yyyy",medium:"dd MMM yyyy",short:"dd.MM.yyyy"},Qv={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"H:mm"},Kv={any:"{{date}} {{time}}"},Jv={date:c({formats:Bv,defaultWidth:"full"}),time:c({formats:Qv,defaultWidth:"full"}),dateTime:c({formats:Kv,defaultWidth:"any"})},or=["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"];function Uv(e){const n=or[e];switch(e){case 0:case 3:case 6:return"'миналата "+n+" в' p";case 1:case 2:case 4:case 5:return"'миналия "+n+" в' p"}}function uo(e){const n=or[e];return e===2?"'във "+n+" в' p":"'в "+n+" в' p"}function Zv(e){const n=or[e];switch(e){case 0:case 3:case 6:return"'следващата "+n+" в' p";case 1:case 2:case 4:case 5:return"'следващия "+n+" в' p"}}const ey=(e,n,t)=>{const a=me(e),r=a.getDay();return Ae(a,n,t)?uo(r):Uv(r)},ty=(e,n,t)=>{const a=me(e),r=a.getDay();return Ae(a,n,t)?uo(r):Zv(r)},ay={lastWeek:ey,yesterday:"'вчера в' p",today:"'днес в' p",tomorrow:"'утре в' p",nextWeek:ty,other:"P"},ny=(e,n,t,a)=>{const r=ay[e];return typeof r=="function"?r(n,t,a):r},ry={narrow:["пр.н.е.","н.е."],abbreviated:["преди н. е.","н. е."],wide:["преди новата ера","новата ера"]},iy={narrow:["1","2","3","4"],abbreviated:["1-во тримес.","2-ро тримес.","3-то тримес.","4-то тримес."],wide:["1-во тримесечие","2-ро тримесечие","3-то тримесечие","4-то тримесечие"]},oy={abbreviated:["яну","фев","мар","апр","май","юни","юли","авг","сеп","окт","ное","дек"],wide:["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември"]},sy={narrow:["Н","П","В","С","Ч","П","С"],short:["нд","пн","вт","ср","чт","пт","сб"],abbreviated:["нед","пон","вто","сря","чет","пет","съб"],wide:["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"]},uy={wide:{am:"преди обяд",pm:"след обяд",midnight:"в полунощ",noon:"на обяд",morning:"сутринта",afternoon:"следобед",evening:"вечерта",night:"през нощта"}};function dy(e){return e==="year"||e==="week"||e==="minute"||e==="second"}function ly(e){return e==="quarter"}function oa(e,n,t,a,r){const i=ly(n)?r:dy(n)?a:t;return e+"-"+i}const my=(e,n)=>{const t=Number(e),a=n==null?void 0:n.unit;if(t===0)return oa(0,a,"ев","ева","ево");if(t%1e3===0)return oa(t,a,"ен","на","но");if(t%100===0)return oa(t,a,"тен","тна","тно");const r=t%100;if(r>20||r<10)switch(r%10){case 1:return oa(t,a,"ви","ва","во");case 2:return oa(t,a,"ри","ра","ро");case 7:case 8:return oa(t,a,"ми","ма","мо")}return oa(t,a,"ти","та","то")},cy={ordinalNumber:my,era:o({values:ry,defaultWidth:"wide"}),quarter:o({values:iy,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:oy,defaultWidth:"wide"}),day:o({values:sy,defaultWidth:"wide"}),dayPeriod:o({values:uy,defaultWidth:"wide"})},hy=/^(\d+)(-?[врмт][аи]|-?т?(ен|на)|-?(ев|ева))?/i,fy=/\d+/i,gy={narrow:/^((пр)?н\.?\s?е\.?)/i,abbreviated:/^((пр)?н\.?\s?е\.?)/i,wide:/^(преди новата ера|новата ера|нова ера)/i},py={any:[/^п/i,/^н/i]},vy={narrow:/^[1234]/i,abbreviated:/^[1234](-?[врт]?o?)? тримес.?/i,wide:/^[1234](-?[врт]?о?)? тримесечие/i},yy={any:[/1/i,/2/i,/3/i,/4/i]},wy={narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)/i,abbreviated:/^(нед|пон|вто|сря|чет|пет|съб)/i,wide:/^(неделя|понеделник|вторник|сряда|четвъртък|петък|събота)/i},by={narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н[ед]/i,/^п[он]/i,/^вт/i,/^ср/i,/^ч[ет]/i,/^п[ет]/i,/^с[ъб]/i]},Py={abbreviated:/^(яну|фев|мар|апр|май|юни|юли|авг|сеп|окт|ное|дек)/i,wide:/^(януари|февруари|март|април|май|юни|юли|август|септември|октомври|ноември|декември)/i},ky={any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^май/i,/^юн/i,/^юл/i,/^ав/i,/^се/i,/^окт/i,/^но/i,/^де/i]},My={any:/^(преди о|след о|в по|на о|през|веч|сут|следо)/i},$y={any:{am:/^преди о/i,pm:/^след о/i,midnight:/^в пол/i,noon:/^на об/i,morning:/^сут/i,afternoon:/^следо/i,evening:/^веч/i,night:/^през н/i}},Wy={ordinalNumber:K({matchPattern:hy,parsePattern:fy,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:gy,defaultMatchWidth:"wide",parsePatterns:py,defaultParseWidth:"any"}),quarter:s({matchPatterns:vy,defaultMatchWidth:"wide",parsePatterns:yy,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:Py,defaultMatchWidth:"wide",parsePatterns:ky,defaultParseWidth:"any"}),day:s({matchPatterns:wy,defaultMatchWidth:"wide",parsePatterns:by,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:My,defaultMatchWidth:"any",parsePatterns:$y,defaultParseWidth:"any"})},Dy={code:"bg",formatDistance:Gv,formatLong:Jv,formatRelative:ny,localize:cy,match:Wy,options:{weekStartsOn:1,firstWeekContainsDate:1}},xy={locale:{1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"}},jy={narrow:["খ্রিঃপূঃ","খ্রিঃ"],abbreviated:["খ্রিঃপূর্ব","খ্রিঃ"],wide:["খ্রিস্টপূর্ব","খ্রিস্টাব্দ"]},zy={narrow:["১","২","৩","৪"],abbreviated:["১ত্রৈ","২ত্রৈ","৩ত্রৈ","৪ত্রৈ"],wide:["১ম ত্রৈমাসিক","২য় ত্রৈমাসিক","৩য় ত্রৈমাসিক","৪র্থ ত্রৈমাসিক"]},Ty={narrow:["জানু","ফেব্রু","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্ট","অক্টো","নভে","ডিসে"],abbreviated:["জানু","ফেব্রু","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্ট","অক্টো","নভে","ডিসে"],wide:["জানুয়ারি","ফেব্রুয়ারি","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর"]},Sy={narrow:["র","সো","ম","বু","বৃ","শু","শ"],short:["রবি","সোম","মঙ্গল","বুধ","বৃহ","শুক্র","শনি"],abbreviated:["রবি","সোম","মঙ্গল","বুধ","বৃহ","শুক্র","শনি"],wide:["রবিবার","সোমবার","মঙ্গলবার","বুধবার","বৃহস্পতিবার ","শুক্রবার","শনিবার"]},_y={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:"রাত"}},Ny={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 Cy(e,n){if(e>18&&e<=31)return n+"শে";switch(e){case 1:return n+"লা";case 2:case 3:return n+"রা";case 4:return n+"ঠা";default:return n+"ই"}}const Vy=(e,n)=>{const t=Number(e),a=lo(t);if((n==null?void 0:n.unit)==="date")return Cy(t,a);if(t>10||t===0)return a+"তম";switch(t%10){case 2:case 3:return a+"য়";case 4:return a+"র্থ";case 6:return a+"ষ্ঠ";default:return a+"ম"}};function lo(e){return e.toString().replace(/\d/g,function(n){return xy.locale[n]})}const Ey={ordinalNumber:Vy,era:o({values:jy,defaultWidth:"wide"}),quarter:o({values:zy,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:Ty,defaultWidth:"wide"}),day:o({values:Sy,defaultWidth:"wide"}),dayPeriod:o({values:_y,defaultWidth:"wide",formattingValues:Ny,defaultFormattingWidth:"wide"})},Hy={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}} বছর"}},Fy=(e,n,t)=>{let a;const r=Hy[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",lo(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?a+" এর মধ্যে":a+" আগে":a},Ay={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Oy={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Iy={full:"{{date}} {{time}} 'সময়'",long:"{{date}} {{time}} 'সময়'",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Xy={date:c({formats:Ay,defaultWidth:"full"}),time:c({formats:Oy,defaultWidth:"full"}),dateTime:c({formats:Iy,defaultWidth:"full"})},Ly={lastWeek:"'গত' eeee 'সময়' p",yesterday:"'গতকাল' 'সময়' p",today:"'আজ' 'সময়' p",tomorrow:"'আগামীকাল' 'সময়' p",nextWeek:"eeee 'সময়' p",other:"P"},Yy=(e,n,t,a)=>Ly[e],Ry=/^(\d+)(ম|য়|র্থ|ষ্ঠ|শে|ই|তম)?/i,qy=/\d+/i,Gy={narrow:/^(খ্রিঃপূঃ|খ্রিঃ)/i,abbreviated:/^(খ্রিঃপূর্ব|খ্রিঃ)/i,wide:/^(খ্রিস্টপূর্ব|খ্রিস্টাব্দ)/i},By={narrow:[/^খ্রিঃপূঃ/i,/^খ্রিঃ/i],abbreviated:[/^খ্রিঃপূর্ব/i,/^খ্রিঃ/i],wide:[/^খ্রিস্টপূর্ব/i,/^খ্রিস্টাব্দ/i]},Qy={narrow:/^[১২৩৪]/i,abbreviated:/^[১২৩৪]ত্রৈ/i,wide:/^[১২৩৪](ম|য়|র্থ)? ত্রৈমাসিক/i},Ky={any:[/১/i,/২/i,/৩/i,/৪/i]},Jy={narrow:/^(জানু|ফেব্রু|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্ট|অক্টো|নভে|ডিসে)/i,abbreviated:/^(জানু|ফেব্রু|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্ট|অক্টো|নভে|ডিসে)/i,wide:/^(জানুয়ারি|ফেব্রুয়ারি|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্টেম্বর|অক্টোবর|নভেম্বর|ডিসেম্বর)/i},Uy={any:[/^জানু/i,/^ফেব্রু/i,/^মার্চ/i,/^এপ্রিল/i,/^মে/i,/^জুন/i,/^জুলাই/i,/^আগস্ট/i,/^সেপ্ট/i,/^অক্টো/i,/^নভে/i,/^ডিসে/i]},Zy={narrow:/^(র|সো|ম|বু|বৃ|শু|শ)+/i,short:/^(রবি|সোম|মঙ্গল|বুধ|বৃহ|শুক্র|শনি)+/i,abbreviated:/^(রবি|সোম|মঙ্গল|বুধ|বৃহ|শুক্র|শনি)+/i,wide:/^(রবিবার|সোমবার|মঙ্গলবার|বুধবার|বৃহস্পতিবার |শুক্রবার|শনিবার)+/i},ew={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]},tw={narrow:/^(পূ|অপ|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i,abbreviated:/^(পূর্বাহ্ন|অপরাহ্ন|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i,wide:/^(পূর্বাহ্ন|অপরাহ্ন|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i},aw={any:{am:/^পূ/i,pm:/^অপ/i,midnight:/^মধ্যরাত/i,noon:/^মধ্যাহ্ন/i,morning:/সকাল/i,afternoon:/বিকাল/i,evening:/সন্ধ্যা/i,night:/রাত/i}},nw={ordinalNumber:K({matchPattern:Ry,parsePattern:qy,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:Gy,defaultMatchWidth:"wide",parsePatterns:By,defaultParseWidth:"wide"}),quarter:s({matchPatterns:Qy,defaultMatchWidth:"wide",parsePatterns:Ky,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:Jy,defaultMatchWidth:"wide",parsePatterns:Uy,defaultParseWidth:"any"}),day:s({matchPatterns:Zy,defaultMatchWidth:"wide",parsePatterns:ew,defaultParseWidth:"wide"}),dayPeriod:s({matchPatterns:tw,defaultMatchWidth:"wide",parsePatterns:aw,defaultParseWidth:"any"})},rw={code:"bn",formatDistance:Fy,formatLong:Xy,formatRelative:Yy,localize:Ey,match:nw,options:{weekStartsOn:0,firstWeekContainsDate:1}},iw={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"}},ow=(e,n,t)=>{let a;const r=iw[e];return typeof r=="string"?a=r:n===1?t!=null&&t.addSuffix?t.comparison&&t.comparison>0?a=r.one.withPrepositionIn:a=r.one.withPrepositionAgo:a=r.one.standalone:n%10>1&&n%10<5&&String(n).substr(-2,1)!=="1"?a=r.dual.replace("{{count}}",String(n)):a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"za "+a:"prije "+a:a},sw={full:"EEEE, d. MMMM yyyy.",long:"d. MMMM yyyy.",medium:"d. MMM yy.",short:"dd. MM. yy."},uw={full:"HH:mm:ss (zzzz)",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},dw={full:"{{date}} 'u' {{time}}",long:"{{date}} 'u' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},lw={date:c({formats:sw,defaultWidth:"full"}),time:c({formats:uw,defaultWidth:"full"}),dateTime:c({formats:dw,defaultWidth:"full"})},mw={lastWeek:e=>{switch(e.getDay()){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:e=>{switch(e.getDay()){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"},cw=(e,n,t,a)=>{const r=mw[e];return typeof r=="function"?r(n):r},hw={narrow:["pr.n.e.","AD"],abbreviated:["pr. Hr.","po. Hr."],wide:["Prije Hrista","Poslije Hrista"]},fw={narrow:["1.","2.","3.","4."],abbreviated:["1. kv.","2. kv.","3. kv.","4. kv."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},gw={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"]},pw={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"]},vw={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"]},yw={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"}},ww={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"}},bw=(e,n)=>{const t=Number(e);return String(t)+"."},Pw={ordinalNumber:bw,era:o({values:hw,defaultWidth:"wide"}),quarter:o({values:fw,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:gw,defaultWidth:"wide",formattingValues:pw,defaultFormattingWidth:"wide"}),day:o({values:vw,defaultWidth:"wide"}),dayPeriod:o({values:yw,defaultWidth:"wide",formattingValues:ww,defaultFormattingWidth:"wide"})},kw=/^(\d+)\./i,Mw=/\d+/i,$w={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},Ww={any:[/^pr/i,/^(po|nova)/i]},Dw={narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?kv\.?/i,wide:/^[1234]\. kvartal/i},xw={any:[/1/i,/2/i,/3/i,/4/i]},jw={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},zw={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]},Tw={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},Sw={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]},_w={any:/^(am|pm|ponoc|ponoć|(po)?podne|uvece|uveče|noću|poslije podne|ujutru)/i},Nw={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}},Cw={ordinalNumber:K({matchPattern:kw,parsePattern:Mw,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:$w,defaultMatchWidth:"wide",parsePatterns:Ww,defaultParseWidth:"any"}),quarter:s({matchPatterns:Dw,defaultMatchWidth:"wide",parsePatterns:xw,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:jw,defaultMatchWidth:"wide",parsePatterns:zw,defaultParseWidth:"any"}),day:s({matchPatterns:Tw,defaultMatchWidth:"wide",parsePatterns:Sw,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:_w,defaultMatchWidth:"any",parsePatterns:Nw,defaultParseWidth:"any"})},Vw={code:"bs",formatDistance:ow,formatLong:lw,formatRelative:cw,localize:Pw,match:Cw,options:{weekStartsOn:1,firstWeekContainsDate:4}},Ew={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"}},Hw=(e,n,t)=>{let a;const r=Ew[e];return typeof r=="string"?a=r:n===1?a=r.one:n===11&&r.eleven?a=r.eleven:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"en "+a:"fa "+a:a},Fw={full:"EEEE, d 'de' MMMM y",long:"d 'de' MMMM y",medium:"d MMM y",short:"dd/MM/y"},Aw={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Ow={full:"{{date}} 'a les' {{time}}",long:"{{date}} 'a les' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Iw={date:c({formats:Fw,defaultWidth:"full"}),time:c({formats:Aw,defaultWidth:"full"}),dateTime:c({formats:Ow,defaultWidth:"full"})},Xw={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"},Lw={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"},Yw=(e,n,t,a)=>n.getHours()!==1?Lw[e]:Xw[e],Rw={narrow:["aC","dC"],abbreviated:["a. de C.","d. de C."],wide:["abans de Crist","després de Crist"]},qw={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1r trimestre","2n trimestre","3r trimestre","4t trimestre"]},Gw={narrow:["GN","FB","MÇ","AB","MG","JN","JL","AG","ST","OC","NV","DS"],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"]},Bw={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"]},Qw={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"}},Kw={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"}},Jw=(e,n)=>{const t=Number(e),a=t%100;if(a>20||a<10)switch(a%10){case 1:return t+"r";case 2:return t+"n";case 3:return t+"r";case 4:return t+"t"}return t+"è"},Uw={ordinalNumber:Jw,era:o({values:Rw,defaultWidth:"wide"}),quarter:o({values:qw,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:Gw,defaultWidth:"wide"}),day:o({values:Bw,defaultWidth:"wide"}),dayPeriod:o({values:Qw,defaultWidth:"wide",formattingValues:Kw,defaultFormattingWidth:"wide"})},Zw=/^(\d+)(è|r|n|r|t)?/i,eb=/\d+/i,tb={narrow:/^(aC|dC)/i,abbreviated:/^(a. de C.|d. de C.)/i,wide:/^(abans de Crist|despr[eé]s de Crist)/i},ab={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]},nb={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](è|r|n|r|t)? trimestre/i},rb={any:[/1/i,/2/i,/3/i,/4/i]},ib={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},ob={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]},sb={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},ub={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]},db={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},lb={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}},mb={ordinalNumber:K({matchPattern:Zw,parsePattern:eb,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:tb,defaultMatchWidth:"wide",parsePatterns:ab,defaultParseWidth:"wide"}),quarter:s({matchPatterns:nb,defaultMatchWidth:"wide",parsePatterns:rb,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:ib,defaultMatchWidth:"wide",parsePatterns:ob,defaultParseWidth:"wide"}),day:s({matchPatterns:sb,defaultMatchWidth:"wide",parsePatterns:ub,defaultParseWidth:"wide"}),dayPeriod:s({matchPatterns:db,defaultMatchWidth:"wide",parsePatterns:lb,defaultParseWidth:"any"})},cb={code:"ca",formatDistance:Hw,formatLong:Iw,formatRelative:Yw,localize:Uw,match:mb,options:{weekStartsOn:1,firstWeekContainsDate:4}},hb={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:"زیاتر لە ساڵێک",other:"زیاتر لە {{count}} ساڵ"},almostXYears:{one:"بەنزیکەیی ساڵێک ",other:"بەنزیکەیی {{count}} ساڵ"}},fb=(e,n,t)=>{let a;const r=hb[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",n.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"لە ماوەی "+a+"دا":a+"پێش ئێستا":a},gb={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},pb={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},vb={full:"{{date}} 'کاتژمێر' {{time}}",long:"{{date}} 'کاتژمێر' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},yb={date:c({formats:gb,defaultWidth:"full"}),time:c({formats:pb,defaultWidth:"full"}),dateTime:c({formats:vb,defaultWidth:"full"})},wb={lastWeek:"'هەفتەی ڕابردوو' eeee 'کاتژمێر' p",yesterday:"'دوێنێ کاتژمێر' p",today:"'ئەمڕۆ کاتژمێر' p",tomorrow:"'بەیانی کاتژمێر' p",nextWeek:"eeee 'کاتژمێر' p",other:"P"},bb=(e,n,t,a)=>wb[e],Pb={narrow:["پ","د"],abbreviated:["پ-ز","د-ز"],wide:["پێش زاین","دوای زاین"]},kb={narrow:["1","2","3","4"],abbreviated:["چ1م","چ2م","چ3م","چ4م"],wide:["چارەگی یەکەم","چارەگی دووەم","چارەگی سێیەم","چارەگی چوارەم"]},Mb={narrow:["ک-د","ش","ئا","ن","م","ح","ت","ئا","ئە","تش-ی","تش-د","ک-ی"],abbreviated:["کان-دوو","شوب","ئاد","نیس","مایس","حوز","تەم","ئاب","ئەل","تش-یەک","تش-دوو","کان-یەک"],wide:["کانوونی دووەم","شوبات","ئادار","نیسان","مایس","حوزەیران","تەمموز","ئاب","ئەیلول","تشرینی یەکەم","تشرینی دووەم","کانوونی یەکەم"]},$b={narrow:["ی-ش","د-ش","س-ش","چ-ش","پ-ش","هە","ش"],short:["یە-شە","دوو-شە","سێ-شە","چو-شە","پێ-شە","هەی","شە"],abbreviated:["یەک-شەم","دوو-شەم","سێ-شەم","چوار-شەم","پێنج-شەم","هەینی","شەمە"],wide:["یەک شەمە","دوو شەمە","سێ شەمە","چوار شەمە","پێنج شەمە","هەینی","شەمە"]},Wb={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:"شەو"}},Db={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:"لە شەودا"}},xb=(e,n)=>String(e),jb={ordinalNumber:xb,era:o({values:Pb,defaultWidth:"wide"}),quarter:o({values:kb,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:Mb,defaultWidth:"wide"}),day:o({values:$b,defaultWidth:"wide"}),dayPeriod:o({values:Wb,defaultWidth:"wide",formattingValues:Db,defaultFormattingWidth:"wide"})},zb=/^(\d+)(th|st|nd|rd)?/i,Tb=/\d+/i,Sb={narrow:/^(پ|د)/i,abbreviated:/^(پ-ز|د.ز)/i,wide:/^(پێش زاین| دوای زاین)/i},_b={any:[/^د/g,/^پ/g]},Nb={narrow:/^[1234]/i,abbreviated:/^م[1234]چ/i,wide:/^(یەکەم|دووەم|سێیەم| چوارەم) (چارەگی)? quarter/i},Cb={wide:[/چارەگی یەکەم/,/چارەگی دووەم/,/چارەگی سيیەم/,/چارەگی چوارەم/],any:[/1/i,/2/i,/3/i,/4/i]},Vb={narrow:/^(ک-د|ش|ئا|ن|م|ح|ت|ئە|تش-ی|تش-د|ک-ی)/i,abbreviated:/^(کان-دوو|شوب|ئاد|نیس|مایس|حوز|تەم|ئاب|ئەل|تش-یەک|تش-دوو|کان-یەک)/i,wide:/^(کانوونی دووەم|شوبات|ئادار|نیسان|مایس|حوزەیران|تەمموز|ئاب|ئەیلول|تشرینی یەکەم|تشرینی دووەم|کانوونی یەکەم)/i},Eb={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]},Hb={narrow:/^(ش|ی|د|س|چ|پ|هە)/i,short:/^(یە-شە|دوو-شە|سێ-شە|چو-شە|پێ-شە|هە|شە)/i,abbreviated:/^(یەک-شەم|دوو-شەم|سێ-شەم|چوار-شەم|پێنخ-شەم|هەینی|شەمە)/i,wide:/^(یەک شەمە|دوو شەمە|سێ شەمە|چوار شەمە|پێنج شەمە|هەینی|شەمە)/i},Fb={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]},Ab={narrow:/^(پ|د|ن-ش|ن| (بەیانی|دوای نیوەڕۆ|ئێوارە|شەو))/i,abbreviated:/^(پ-ن|د-ن|نیوە شەو|نیوەڕۆ|بەیانی|دوای نیوەڕۆ|ئێوارە|شەو)/,wide:/^(پێش نیوەڕۆ|دوای نیوەڕۆ|نیوەڕۆ|نیوە شەو|لەبەیانیدا|لەدواینیوەڕۆدا|لە ئێوارەدا|لە شەودا)/,any:/^(پ|د|بەیانی|نیوەڕۆ|ئێوارە|شەو)/},Ob={any:{am:/^د/i,pm:/^پ/i,midnight:/^ن-ش/i,noon:/^ن/i,morning:/بەیانی/i,afternoon:/دواینیوەڕۆ/i,evening:/ئێوارە/i,night:/شەو/i}},Ib={ordinalNumber:K({matchPattern:zb,parsePattern:Tb,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:Sb,defaultMatchWidth:"wide",parsePatterns:_b,defaultParseWidth:"any"}),quarter:s({matchPatterns:Nb,defaultMatchWidth:"wide",parsePatterns:Cb,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:Vb,defaultMatchWidth:"wide",parsePatterns:Eb,defaultParseWidth:"any"}),day:s({matchPatterns:Hb,defaultMatchWidth:"wide",parsePatterns:Fb,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:Ab,defaultMatchWidth:"any",parsePatterns:Ob,defaultParseWidth:"any"})},Xb={code:"ckb",formatDistance:fb,formatLong:yb,formatRelative:bb,localize:jb,match:Ib,options:{weekStartsOn:0,firstWeekContainsDate:1}},Lb={lessThanXSeconds:{one:{regular:"méně než 1 sekunda",past:"před méně než 1 sekundou",future:"za méně než 1 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:"1 sekunda",past:"před 1 sekundou",future:"za 1 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ž 1 minuta",past:"před méně než 1 minutou",future:"za méně než 1 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:"1 minuta",past:"před 1 minutou",future:"za 1 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ě 1 hodina",past:"přibližně před 1 hodinou",future:"přibližně za 1 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:"1 hodina",past:"před 1 hodinou",future:"za 1 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:"1 den",past:"před 1 dnem",future:"za 1 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ě 1 týden",past:"přibližně před 1 týdnem",future:"přibližně za 1 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:"1 týden",past:"před 1 týdnem",future:"za 1 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ě 1 měsíc",past:"přibližně před 1 měsícem",future:"přibližně za 1 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:"1 měsíc",past:"před 1 měsícem",future:"za 1 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ě 1 rok",past:"přibližně před 1 rokem",future:"přibližně za 1 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:"1 rok",past:"před 1 rokem",future:"za 1 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ž 1 rok",past:"před více než 1 rokem",future:"za více než 1 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 1 rok",past:"skoro před 1 rokem",future:"skoro za 1 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ů"}}},Yb=(e,n,t)=>{let a;const r=Lb[e];r.type==="other"?a=r.other:n===1?a=r.one:n>1&&n<5?a=r.few:a=r.many;const i=(t==null?void 0:t.addSuffix)===!0,d=t==null?void 0:t.comparison;let m;return i&&d===-1?m=a.past:i&&d===1?m=a.future:m=a.regular,m.replace("{{count}}",String(n))},Rb={full:"EEEE, d. MMMM yyyy",long:"d. MMMM yyyy",medium:"d. M. yyyy",short:"dd.MM.yyyy"},qb={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},Gb={full:"{{date}} 'v' {{time}}",long:"{{date}} 'v' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Bb={date:c({formats:Rb,defaultWidth:"full"}),time:c({formats:qb,defaultWidth:"full"}),dateTime:c({formats:Gb,defaultWidth:"full"})},Qb=["neděli","pondělí","úterý","středu","čtvrtek","pátek","sobotu"],Kb={lastWeek:"'poslední' eeee 've' p",yesterday:"'včera v' p",today:"'dnes v' p",tomorrow:"'zítra v' p",nextWeek:e=>{const n=e.getDay();return"'v "+Qb[n]+" o' p"},other:"P"},Jb=(e,n)=>{const t=Kb[e];return typeof t=="function"?t(n):t},Ub={narrow:["př. n. l.","n. l."],abbreviated:["př. n. l.","n. l."],wide:["před naším letopočtem","našeho letopočtu"]},Zb={narrow:["1","2","3","4"],abbreviated:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"],wide:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"]},e1={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"]},t1={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"]},a1={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"]},n1={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"}},r1={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"}},i1=(e,n)=>Number(e)+".",o1={ordinalNumber:i1,era:o({values:Ub,defaultWidth:"wide"}),quarter:o({values:Zb,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:e1,defaultWidth:"wide",formattingValues:t1,defaultFormattingWidth:"wide"}),day:o({values:a1,defaultWidth:"wide"}),dayPeriod:o({values:n1,defaultWidth:"wide",formattingValues:r1,defaultFormattingWidth:"wide"})},s1=/^(\d+)\.?/i,u1=/\d+/i,d1={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},l1={any:[/^p[řr]/i,/^(po|n)/i]},m1={narrow:/^[1234]/i,abbreviated:/^[1234]\. [čc]tvrtlet[íi]/i,wide:/^[1234]\. [čc]tvrtlet[íi]/i},c1={any:[/1/i,/2/i,/3/i,/4/i]},h1={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},f1={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]},g1={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},p1={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]},v1={any:/^dopoledne|dop\.?|odpoledne|odp\.?|p[ůu]lnoc|poledne|r[áa]no|odpoledne|ve[čc]er|(v )?noci?/i},y1={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}},w1={ordinalNumber:K({matchPattern:s1,parsePattern:u1,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:d1,defaultMatchWidth:"wide",parsePatterns:l1,defaultParseWidth:"any"}),quarter:s({matchPatterns:m1,defaultMatchWidth:"wide",parsePatterns:c1,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:h1,defaultMatchWidth:"wide",parsePatterns:f1,defaultParseWidth:"any"}),day:s({matchPatterns:g1,defaultMatchWidth:"wide",parsePatterns:p1,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:v1,defaultMatchWidth:"any",parsePatterns:y1,defaultParseWidth:"any"})},b1={code:"cs",formatDistance:Yb,formatLong:Bb,formatRelative:Jb,localize:o1,match:w1,options:{weekStartsOn:1,firstWeekContainsDate:4}},P1={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"}},k1=(e,n,t)=>{let a;const r=P1[e];return typeof r=="string"?a=r:n===1?a=r.one:n===2&&r.two?a=r.two:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"mewn "+a:a+" yn ôl":a},M1={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},$1={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},W1={full:"{{date}} 'am' {{time}}",long:"{{date}} 'am' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},D1={date:c({formats:M1,defaultWidth:"full"}),time:c({formats:$1,defaultWidth:"full"}),dateTime:c({formats:W1,defaultWidth:"full"})},x1={lastWeek:"eeee 'diwethaf am' p",yesterday:"'ddoe am' p",today:"'heddiw am' p",tomorrow:"'yfory am' p",nextWeek:"eeee 'am' p",other:"P"},j1=(e,n,t,a)=>x1[e],z1={narrow:["C","O"],abbreviated:["CC","OC"],wide:["Cyn Crist","Ar ôl Crist"]},T1={narrow:["1","2","3","4"],abbreviated:["Ch1","Ch2","Ch3","Ch4"],wide:["Chwarter 1af","2ail chwarter","3ydd chwarter","4ydd chwarter"]},S1={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"]},_1={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"]},N1={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"}},C1={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"}},V1=(e,n)=>{const t=Number(e);if(t<20)switch(t){case 0:return t+"fed";case 1:return t+"af";case 2:return t+"ail";case 3:case 4:return t+"ydd";case 5:case 6:return t+"ed";case 7:case 8:case 9:case 10:case 12:case 15:case 18:return t+"fed";case 11:case 13:case 14:case 16:case 17:case 19:return t+"eg"}else if(t>=50&&t<=60||t===80||t>=100)return t+"fed";return t+"ain"},E1={ordinalNumber:V1,era:o({values:z1,defaultWidth:"wide"}),quarter:o({values:T1,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:S1,defaultWidth:"wide"}),day:o({values:_1,defaultWidth:"wide"}),dayPeriod:o({values:N1,defaultWidth:"wide",formattingValues:C1,defaultFormattingWidth:"wide"})},H1=/^(\d+)(af|ail|ydd|ed|fed|eg|ain)?/i,F1=/\d+/i,A1={narrow:/^(c|o)/i,abbreviated:/^(c\.?\s?c\.?|o\.?\s?c\.?)/i,wide:/^(cyn christ|ar ôl crist|ar ol crist)/i},O1={wide:[/^c/i,/^(ar ôl crist|ar ol crist)/i],any:[/^c/i,/^o/i]},I1={narrow:/^[1234]/i,abbreviated:/^ch[1234]/i,wide:/^(chwarter 1af)|([234](ail|ydd)? chwarter)/i},X1={any:[/1/i,/2/i,/3/i,/4/i]},L1={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},Y1={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]},R1={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},q1={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]},G1={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},B1={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}},Q1={ordinalNumber:K({matchPattern:H1,parsePattern:F1,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:A1,defaultMatchWidth:"wide",parsePatterns:O1,defaultParseWidth:"any"}),quarter:s({matchPatterns:I1,defaultMatchWidth:"wide",parsePatterns:X1,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:L1,defaultMatchWidth:"wide",parsePatterns:Y1,defaultParseWidth:"any"}),day:s({matchPatterns:R1,defaultMatchWidth:"wide",parsePatterns:q1,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:G1,defaultMatchWidth:"any",parsePatterns:B1,defaultParseWidth:"any"})},K1={code:"cy",formatDistance:k1,formatLong:D1,formatRelative:j1,localize:E1,match:Q1,options:{weekStartsOn:0,firstWeekContainsDate:1}},J1={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"}},U1=(e,n,t)=>{let a;const r=J1[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"om "+a:a+" siden":a},Z1={full:"EEEE 'den' d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd/MM/y"},eP={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},tP={full:"{{date}} 'kl'. {{time}}",long:"{{date}} 'kl'. {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},aP={date:c({formats:Z1,defaultWidth:"full"}),time:c({formats:eP,defaultWidth:"full"}),dateTime:c({formats:tP,defaultWidth:"full"})},nP={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"},rP=(e,n,t,a)=>nP[e],iP={narrow:["fvt","vt"],abbreviated:["f.v.t.","v.t."],wide:["før vesterlandsk tidsregning","vesterlandsk tidsregning"]},oP={narrow:["1","2","3","4"],abbreviated:["1. kvt.","2. kvt.","3. kvt.","4. kvt."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},sP={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"]},uP={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"]},dP={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"}},lP={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"}},mP=(e,n)=>Number(e)+".",cP={ordinalNumber:mP,era:o({values:iP,defaultWidth:"wide"}),quarter:o({values:oP,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:sP,defaultWidth:"wide"}),day:o({values:uP,defaultWidth:"wide"}),dayPeriod:o({values:dP,defaultWidth:"wide",formattingValues:lP,defaultFormattingWidth:"wide"})},hP=/^(\d+)(\.)?/i,fP=/\d+/i,gP={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},pP={any:[/^f/i,/^(v|e)/i]},vP={narrow:/^[1234]/i,abbreviated:/^[1234]. kvt\./i,wide:/^[1234]\.? kvartal/i},yP={any:[/1/i,/2/i,/3/i,/4/i]},wP={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},bP={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]},PP={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},kP={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]},MP={narrow:/^(a|p|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i,any:/^([ap]\.?\s?m\.?|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i},$P={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}},WP={ordinalNumber:K({matchPattern:hP,parsePattern:fP,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:gP,defaultMatchWidth:"wide",parsePatterns:pP,defaultParseWidth:"any"}),quarter:s({matchPatterns:vP,defaultMatchWidth:"wide",parsePatterns:yP,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:wP,defaultMatchWidth:"wide",parsePatterns:bP,defaultParseWidth:"any"}),day:s({matchPatterns:PP,defaultMatchWidth:"wide",parsePatterns:kP,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:MP,defaultMatchWidth:"any",parsePatterns:$P,defaultParseWidth:"any"})},DP={code:"da",formatDistance:U1,formatLong:aP,formatRelative:rP,localize:cP,match:WP,options:{weekStartsOn:1,firstWeekContainsDate:4}},ei={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:"eine halbe Minute",withPreposition:"einer 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"}}},mo=(e,n,t)=>{let a;const r=t!=null&&t.addSuffix?ei[e].withPreposition:ei[e].standalone;return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+a:"vor "+a:a},xP={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},jP={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},zP={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},co={date:c({formats:xP,defaultWidth:"full"}),time:c({formats:jP,defaultWidth:"full"}),dateTime:c({formats:zP,defaultWidth:"full"})},TP={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},ho=(e,n,t,a)=>TP[e],SP={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},_P={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},Vn={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"]},NP={narrow:Vn.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:Vn.wide},CP={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"]},VP={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"}},EP={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"}},HP=e=>Number(e)+".",FP={ordinalNumber:HP,era:o({values:SP,defaultWidth:"wide"}),quarter:o({values:_P,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:Vn,formattingValues:NP,defaultWidth:"wide"}),day:o({values:CP,defaultWidth:"wide"}),dayPeriod:o({values:VP,defaultWidth:"wide",formattingValues:EP,defaultFormattingWidth:"wide"})},AP=/^(\d+)(\.)?/i,OP=/\d+/i,IP={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},XP={any:[/^v/i,/^n/i]},LP={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},YP={any:[/1/i,/2/i,/3/i,/4/i]},RP={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},qP={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]},GP={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},BP={any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},QP={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},KP={any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},fo={ordinalNumber:K({matchPattern:AP,parsePattern:OP,valueCallback:e=>parseInt(e)}),era:s({matchPatterns:IP,defaultMatchWidth:"wide",parsePatterns:XP,defaultParseWidth:"any"}),quarter:s({matchPatterns:LP,defaultMatchWidth:"wide",parsePatterns:YP,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:RP,defaultMatchWidth:"wide",parsePatterns:qP,defaultParseWidth:"any"}),day:s({matchPatterns:GP,defaultMatchWidth:"wide",parsePatterns:BP,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:QP,defaultMatchWidth:"wide",parsePatterns:KP,defaultParseWidth:"any"})},JP={code:"de",formatDistance:mo,formatLong:co,formatRelative:ho,localize:FP,match:fo,options:{weekStartsOn:1,firstWeekContainsDate:4}},UP={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},ZP={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},En={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"]},ek={narrow:En.narrow,abbreviated:["Jän.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:En.wide},tk={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"]},ak={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"}},nk={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"}},rk=e=>Number(e)+".",ik={ordinalNumber:rk,era:o({values:UP,defaultWidth:"wide"}),quarter:o({values:ZP,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:En,formattingValues:ek,defaultWidth:"wide"}),day:o({values:tk,defaultWidth:"wide"}),dayPeriod:o({values:ak,defaultWidth:"wide",formattingValues:nk,defaultFormattingWidth:"wide"})},ok={code:"de-AT",formatDistance:mo,formatLong:co,formatRelative:ho,localize:ik,match:fo,options:{weekStartsOn:1,firstWeekContainsDate:4}},sk={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}} χρόνια"}},uk=(e,n,t)=>{let a;const r=sk[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"σε "+a:a+" πριν":a},dk={full:"EEEE, d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"d/M/yy"},lk={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},mk={full:"{{date}} - {{time}}",long:"{{date}} - {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ck={date:c({formats:dk,defaultWidth:"full"}),time:c({formats:lk,defaultWidth:"full"}),dateTime:c({formats:mk,defaultWidth:"full"})},hk={lastWeek:e=>{switch(e.getDay()){case 6:return"'το προηγούμενο' eeee 'στις' p";default:return"'την προηγούμενη' eeee 'στις' p"}},yesterday:"'χθες στις' p",today:"'σήμερα στις' p",tomorrow:"'αύριο στις' p",nextWeek:"eeee 'στις' p",other:"P"},fk=(e,n)=>{const t=hk[e];return typeof t=="function"?t(n):t},gk={narrow:["πΧ","μΧ"],abbreviated:["π.Χ.","μ.Χ."],wide:["προ Χριστού","μετά Χριστόν"]},pk={narrow:["1","2","3","4"],abbreviated:["Τ1","Τ2","Τ3","Τ4"],wide:["1ο τρίμηνο","2ο τρίμηνο","3ο τρίμηνο","4ο τρίμηνο"]},vk={narrow:["Ι","Φ","Μ","Α","Μ","Ι","Ι","Α","Σ","Ο","Ν","Δ"],abbreviated:["Ιαν","Φεβ","Μάρ","Απρ","Μάι","Ιούν","Ιούλ","Αύγ","Σεπ","Οκτ","Νοέ","Δεκ"],wide:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"]},yk={narrow:["Ι","Φ","Μ","Α","Μ","Ι","Ι","Α","Σ","Ο","Ν","Δ"],abbreviated:["Ιαν","Φεβ","Μαρ","Απρ","Μαΐ","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ"],wide:["Ιανουαρίου","Φεβρουαρίου","Μαρτίου","Απριλίου","Μαΐου","Ιουνίου","Ιουλίου","Αυγούστου","Σεπτεμβρίου","Οκτωβρίου","Νοεμβρίου","Δεκεμβρίου"]},wk={narrow:["Κ","Δ","T","Τ","Π","Π","Σ"],short:["Κυ","Δε","Τρ","Τε","Πέ","Πα","Σά"],abbreviated:["Κυρ","Δευ","Τρί","Τετ","Πέμ","Παρ","Σάβ"],wide:["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"]},bk={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:"νύχτα"}},Pk=(e,n)=>{const t=Number(e),a=n==null?void 0:n.unit;let r;return a==="year"||a==="month"?r="ος":a==="week"||a==="dayOfYear"||a==="day"||a==="hour"||a==="date"?r="η":r="ο",t+r},kk={ordinalNumber:Pk,era:o({values:gk,defaultWidth:"wide"}),quarter:o({values:pk,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:vk,defaultWidth:"wide",formattingValues:yk,defaultFormattingWidth:"wide"}),day:o({values:wk,defaultWidth:"wide"}),dayPeriod:o({values:bk,defaultWidth:"wide"})},Mk=/^(\d+)(ος|η|ο)?/i,$k=/\d+/i,Wk={narrow:/^(πΧ|μΧ)/i,abbreviated:/^(π\.?\s?χ\.?|π\.?\s?κ\.?\s?χ\.?|μ\.?\s?χ\.?|κ\.?\s?χ\.?)/i,wide:/^(προ Χριστο(ύ|υ)|πριν απ(ό|ο) την Κοιν(ή|η) Χρονολογ(ί|ι)α|μετ(ά|α) Χριστ(ό|ο)ν|Κοιν(ή|η) Χρονολογ(ί|ι)α)/i},Dk={any:[/^π/i,/^(μ|κ)/i]},xk={narrow:/^[1234]/i,abbreviated:/^τ[1234]/i,wide:/^[1234]ο? τρ(ί|ι)μηνο/i},jk={any:[/1/i,/2/i,/3/i,/4/i]},zk={narrow:/^[ιφμαμιιασονδ]/i,abbreviated:/^(ιαν|φεβ|μ[άα]ρ|απρ|μ[άα][ιΐ]|ιο[ύυ]ν|ιο[ύυ]λ|α[ύυ]γ|σεπ|οκτ|νο[έε]|δεκ)/i,wide:/^(μ[άα][ιΐ]|α[ύυ]γο[υύ]στ)(ος|ου)|(ιανου[άα]ρ|φεβρου[άα]ρ|μ[άα]ρτ|απρ[ίι]λ|ιο[ύυ]ν|ιο[ύυ]λ|σεπτ[έε]μβρ|οκτ[ώω]βρ|νο[έε]μβρ|δεκ[έε]μβρ)(ιος|ίου)/i},Tk={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]},Sk={narrow:/^[κδτπσ]/i,short:/^(κυ|δε|τρ|τε|π[εέ]|π[αά]|σ[αά])/i,abbreviated:/^(κυρ|δευ|τρι|τετ|πεμ|παρ|σαβ)/i,wide:/^(κυριακ(ή|η)|δευτ(έ|ε)ρα|τρ(ί|ι)τη|τετ(ά|α)ρτη|π(έ|ε)μπτη|παρασκευ(ή|η)|σ(ά|α)ββατο)/i},_k={narrow:[/^κ/i,/^δ/i,/^τ/i,/^τ/i,/^π/i,/^π/i,/^σ/i],any:[/^κ/i,/^δ/i,/^τρ/i,/^τε/i,/^π[εέ]/i,/^π[αά]/i,/^σ/i]},Nk={narrow:/^(πμ|μμ|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i,any:/^([πμ]\.?\s?μ\.?|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i},Ck={any:{am:/^πμ|π\.\s?μ\./i,pm:/^μμ|μ\.\s?μ\./i,midnight:/^μεσάν/i,noon:/^μεσημ(έ|ε)/i,morning:/πρω(ί|ι)/i,afternoon:/απ(ό|ο)γευμα/i,evening:/βρ(ά|α)δυ/i,night:/ν(ύ|υ)χτα/i}},Vk={ordinalNumber:K({matchPattern:Mk,parsePattern:$k,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:Wk,defaultMatchWidth:"wide",parsePatterns:Dk,defaultParseWidth:"any"}),quarter:s({matchPatterns:xk,defaultMatchWidth:"wide",parsePatterns:jk,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:zk,defaultMatchWidth:"wide",parsePatterns:Tk,defaultParseWidth:"any"}),day:s({matchPatterns:Sk,defaultMatchWidth:"wide",parsePatterns:_k,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:Nk,defaultMatchWidth:"any",parsePatterns:Ck,defaultParseWidth:"any"})},Ek={code:"el",formatDistance:uk,formatLong:ck,formatRelative:fk,localize:kk,match:Vk,options:{weekStartsOn:1,firstWeekContainsDate:4}},Hk={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},Fk={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Ak={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ok={date:c({formats:Hk,defaultWidth:"full"}),time:c({formats:Fk,defaultWidth:"full"}),dateTime:c({formats:Ak,defaultWidth:"full"})},Ik={code:"en-AU",formatDistance:ca,formatLong:Ok,formatRelative:Zt,localize:ea,match:ta,options:{weekStartsOn:1,firstWeekContainsDate:4}},Xk={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"}},Lk=(e,n,t)=>{let a;const r=Xk[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",n.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+a:a+" ago":a},Yk={full:"EEEE, MMMM do, yyyy",long:"MMMM do, yyyy",medium:"MMM d, yyyy",short:"yyyy-MM-dd"},Rk={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},qk={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Gk={date:c({formats:Yk,defaultWidth:"full"}),time:c({formats:Rk,defaultWidth:"full"}),dateTime:c({formats:qk,defaultWidth:"full"})},Bk={code:"en-CA",formatDistance:Lk,formatLong:Gk,formatRelative:Zt,localize:ea,match:ta,options:{weekStartsOn:0,firstWeekContainsDate:1}},Qk={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},Kk={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Jk={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},go={date:c({formats:Qk,defaultWidth:"full"}),time:c({formats:Kk,defaultWidth:"full"}),dateTime:c({formats:Jk,defaultWidth:"full"})},Uk={code:"en-GB",formatDistance:ca,formatLong:go,formatRelative:Zt,localize:ea,match:ta,options:{weekStartsOn:1,firstWeekContainsDate:4}},Zk={code:"en-IE",formatDistance:ca,formatLong:go,formatRelative:Zt,localize:ea,match:ta,options:{weekStartsOn:1,firstWeekContainsDate:4}},eM={full:"EEEE, d MMMM yyyy",long:"d MMMM, yyyy",medium:"d MMM, yyyy",short:"dd/MM/yyyy"},tM={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},aM={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},nM={date:c({formats:eM,defaultWidth:"full"}),time:c({formats:tM,defaultWidth:"full"}),dateTime:c({formats:aM,defaultWidth:"full"})},rM={code:"en-IN",formatDistance:ca,formatLong:nM,formatRelative:Zt,localize:ea,match:ta,options:{weekStartsOn:1,firstWeekContainsDate:4}},iM={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},oM={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},sM={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},uM={date:c({formats:iM,defaultWidth:"full"}),time:c({formats:oM,defaultWidth:"full"}),dateTime:c({formats:sM,defaultWidth:"full"})},dM={code:"en-NZ",formatDistance:ca,formatLong:uM,formatRelative:Zt,localize:ea,match:ta,options:{weekStartsOn:1,firstWeekContainsDate:4}},lM={full:"EEEE, dd MMMM yyyy",long:"dd MMMM yyyy",medium:"dd MMM yyyy",short:"yyyy/MM/dd"},mM={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},cM={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},hM={date:c({formats:lM,defaultWidth:"full"}),time:c({formats:mM,defaultWidth:"full"}),dateTime:c({formats:cM,defaultWidth:"full"})},fM={code:"en-ZA",formatDistance:ca,formatLong:hM,formatRelative:Zt,localize:ea,match:ta,options:{weekStartsOn:0,firstWeekContainsDate:1}},gM={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"}},pM=(e,n,t)=>{let a;const r=gM[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t!=null&&t.comparison&&t.comparison>0?"post "+a:"antaŭ "+a:a},vM={full:"EEEE, do 'de' MMMM y",long:"y-MMMM-dd",medium:"y-MMM-dd",short:"yyyy-MM-dd"},yM={full:"Ho 'horo kaj' m:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},wM={any:"{{date}} {{time}}"},bM={date:c({formats:vM,defaultWidth:"full"}),time:c({formats:yM,defaultWidth:"full"}),dateTime:c({formats:wM,defaultWidth:"any"})},PM={lastWeek:"'pasinta' eeee 'je' p",yesterday:"'hieraŭ je' p",today:"'hodiaŭ je' p",tomorrow:"'morgaŭ je' p",nextWeek:"eeee 'je' p",other:"P"},kM=(e,n,t,a)=>PM[e],MM={narrow:["aK","pK"],abbreviated:["a.K.E.","p.K.E."],wide:["antaŭ Komuna Erao","Komuna Erao"]},$M={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1-a kvaronjaro","2-a kvaronjaro","3-a kvaronjaro","4-a kvaronjaro"]},WM={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"]},DM={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"]},xM={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"}},jM=e=>Number(e)+"-a",zM={ordinalNumber:jM,era:o({values:MM,defaultWidth:"wide"}),quarter:o({values:$M,defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:o({values:WM,defaultWidth:"wide"}),day:o({values:DM,defaultWidth:"wide"}),dayPeriod:o({values:xM,defaultWidth:"wide"})},TM=/^(\d+)(-?a)?/i,SM=/\d+/i,_M={narrow:/^([ap]k)/i,abbreviated:/^([ap]\.?\s?k\.?\s?e\.?)/i,wide:/^((antaǔ |post )?komuna erao)/i},NM={any:[/^a/i,/^[kp]/i]},CM={narrow:/^[1234]/i,abbreviated:/^k[1234]/i,wide:/^[1234](-?a)? kvaronjaro/i},VM={any:[/1/i,/2/i,/3/i,/4/i]},EM={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},HM={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]},FM={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},AM={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]},OM={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},IM={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}},XM={ordinalNumber:K({matchPattern:TM,parsePattern:SM,valueCallback:function(e){return parseInt(e,10)}}),era:s({matchPatterns:_M,defaultMatchWidth:"wide",parsePatterns:NM,defaultParseWidth:"any"}),quarter:s({matchPatterns:CM,defaultMatchWidth:"wide",parsePatterns:VM,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:s({matchPatterns:EM,defaultMatchWidth:"wide",parsePatterns:HM,defaultParseWidth:"any"}),day:s({matchPatterns:FM,defaultMatchWidth:"wide",parsePatterns:AM,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:OM,defaultMatchWidth:"wide",parsePatterns:IM,defaultParseWidth:"any"})},LM={code:"eo",formatDistance:pM,formatLong:bM,formatRelative:kM,localize:zM,match:XM,options:{weekStartsOn:1,firstWeekContainsDate:4}},YM={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"}},RM=(e,n,t)=>{let a;const r=YM[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",n.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"en "+a:"hace "+a:a},qM={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},GM={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},BM={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},QM={date:c({formats:qM,defaultWidth:"full"}),time:c({formats:GM,defaultWidth:"full"}),dateTime:c({formats:BM,defaultWidth:"full"})},KM={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"},JM={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"},UM=(e,n,t,a)=>n.getHours()!==1?JM[e]:KM[e],ZM={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},e$={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},t$={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"]},a$={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"]},n$={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"}},r$={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"}},i$=(e,n)=>Number(e)+"º",o$={ordinalNumber:i$,era:o({values:ZM,defaultWidth:"wide"}),quarter:o({values:e$,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:o({values:t$,defaultWidth:"wide"}),day:o({values:a$,defaultWidth:"wide"}),dayPeriod:o({values:n$,defaultWidth:"wide",formattingValues:r$,defaultFormattingWidth:"wide"})},s$=/^(\d+)(º)?/i,u$=/\d+/i,d$={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},l$={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]},m$={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},c$={any:[/1/i,/2/i,/3/i,/4/i]},h$={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},f$={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]},g$={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},p$={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]},v$={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},y$={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}},w$={ordinalNumber:K({matchPattern:s$,parsePattern:u$,valueCallback:function(e){return parseInt(e,10)}}),era:s({matchPatterns:d$,defaultMatchWidth:"wide",parsePatterns:l$,defaultParseWidth:"any"}),quarter:s({matchPatterns:m$,defaultMatchWidth:"wide",parsePatterns:c$,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:h$,defaultMatchWidth:"wide",parsePatterns:f$,defaultParseWidth:"any"}),day:s({matchPatterns:g$,defaultMatchWidth:"wide",parsePatterns:p$,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:v$,defaultMatchWidth:"any",parsePatterns:y$,defaultParseWidth:"any"})},b$={code:"es",formatDistance:RM,formatLong:QM,formatRelative:UM,localize:o$,match:w$,options:{weekStartsOn:1,firstWeekContainsDate:1}},ti={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"}}},P$=(e,n,t)=>{const a=t!=null&&t.addSuffix?ti[e].withPreposition:ti[e].standalone;let r;return typeof a=="string"?r=a:n===1?r=a.one:r=a.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?r+" pärast":r+" eest":r},k$={full:"EEEE, d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},M$={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},$$={full:"{{date}} 'kell' {{time}}",long:"{{date}} 'kell' {{time}}",medium:"{{date}}. {{time}}",short:"{{date}}. {{time}}"},W$={date:c({formats:k$,defaultWidth:"full"}),time:c({formats:M$,defaultWidth:"full"}),dateTime:c({formats:$$,defaultWidth:"full"})},D$={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"},x$=(e,n,t,a)=>D$[e],j$={narrow:["e.m.a","m.a.j"],abbreviated:["e.m.a","m.a.j"],wide:["enne meie ajaarvamist","meie ajaarvamise järgi"]},z$={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},ai={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"]},ni={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"]},T$={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:"öö"}},S$={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"}},_$=(e,n)=>Number(e)+".",N$={ordinalNumber:_$,era:o({values:j$,defaultWidth:"wide"}),quarter:o({values:z$,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:ai,defaultWidth:"wide",formattingValues:ai,defaultFormattingWidth:"wide"}),day:o({values:ni,defaultWidth:"wide",formattingValues:ni,defaultFormattingWidth:"wide"}),dayPeriod:o({values:T$,defaultWidth:"wide",formattingValues:S$,defaultFormattingWidth:"wide"})},C$=/^\d+\./i,V$=/\d+/i,E$={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},H$={any:[/^e/i,/^(m|p)/i]},F$={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234](\.)? kvartal/i},A$={any:[/1/i,/2/i,/3/i,/4/i]},O$={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},I$={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]},X$={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},L$={any:[/^p/i,/^e/i,/^t/i,/^k/i,/^n/i,/^r/i,/^l/i]},Y$={any:/^(am|pm|keskööl?|keskpäev(al)?|hommik(ul)?|pärastlõunal?|õhtul?|öö(sel)?)/i},R$={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}},q$={ordinalNumber:K({matchPattern:C$,parsePattern:V$,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:E$,defaultMatchWidth:"wide",parsePatterns:H$,defaultParseWidth:"any"}),quarter:s({matchPatterns:F$,defaultMatchWidth:"wide",parsePatterns:A$,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:O$,defaultMatchWidth:"wide",parsePatterns:I$,defaultParseWidth:"any"}),day:s({matchPatterns:X$,defaultMatchWidth:"wide",parsePatterns:L$,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:Y$,defaultMatchWidth:"any",parsePatterns:R$,defaultParseWidth:"any"})},G$={code:"et",formatDistance:P$,formatLong:W$,formatRelative:x$,localize:N$,match:q$,options:{weekStartsOn:1,firstWeekContainsDate:4}},B$={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"}},Q$=(e,n,t)=>{let a;const r=B$[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"en "+a:"duela "+a:a},K$={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"},J$={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},U$={full:"{{date}} 'tan' {{time}}",long:"{{date}} 'tan' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Z$={date:c({formats:K$,defaultWidth:"full"}),time:c({formats:J$,defaultWidth:"full"}),dateTime:c({formats:U$,defaultWidth:"full"})},eW={lastWeek:"'joan den' eeee, LT",yesterday:"'atzo,' p",today:"'gaur,' p",tomorrow:"'bihar,' p",nextWeek:"eeee, p",other:"P"},tW={lastWeek:"'joan den' eeee, p",yesterday:"'atzo,' p",today:"'gaur,' p",tomorrow:"'bihar,' p",nextWeek:"eeee, p",other:"P"},aW=(e,n)=>n.getHours()!==1?tW[e]:eW[e],nW={narrow:["k.a.","k.o."],abbreviated:["k.a.","k.o."],wide:["kristo aurretik","kristo ondoren"]},rW={narrow:["1","2","3","4"],abbreviated:["1H","2H","3H","4H"],wide:["1. hiruhilekoa","2. hiruhilekoa","3. hiruhilekoa","4. hiruhilekoa"]},iW={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"]},oW={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"]},sW={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"}},uW={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"}},dW=(e,n)=>Number(e)+".",lW={ordinalNumber:dW,era:o({values:nW,defaultWidth:"wide"}),quarter:o({values:rW,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:iW,defaultWidth:"wide"}),day:o({values:oW,defaultWidth:"wide"}),dayPeriod:o({values:sW,defaultWidth:"wide",formattingValues:uW,defaultFormattingWidth:"wide"})},mW=/^(\d+)(.)?/i,cW=/\d+/i,hW={narrow:/^(k.a.|k.o.)/i,abbreviated:/^(k.a.|k.o.)/i,wide:/^(kristo aurretik|kristo ondoren)/i},fW={narrow:[/^k.a./i,/^k.o./i],abbreviated:[/^(k.a.)/i,/^(k.o.)/i],wide:[/^(kristo aurretik)/i,/^(kristo ondoren)/i]},gW={narrow:/^[1234]/i,abbreviated:/^[1234]H/i,wide:/^[1234](.)? hiruhilekoa/i},pW={any:[/1/i,/2/i,/3/i,/4/i]},vW={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},yW={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]},wW={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},bW={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]},PW={narrow:/^(a|p|ge|eg|((goiza|goizean)|arratsaldea|(gaua|gauean)))/i,any:/^([ap]\.?\s?m\.?|gauerdia|eguerdia|((goiza|goizean)|arratsaldea|(gaua|gauean)))/i},kW={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}},MW={ordinalNumber:K({matchPattern:mW,parsePattern:cW,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:hW,defaultMatchWidth:"wide",parsePatterns:fW,defaultParseWidth:"wide"}),quarter:s({matchPatterns:gW,defaultMatchWidth:"wide",parsePatterns:pW,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:vW,defaultMatchWidth:"wide",parsePatterns:yW,defaultParseWidth:"any"}),day:s({matchPatterns:wW,defaultMatchWidth:"wide",parsePatterns:bW,defaultParseWidth:"wide"}),dayPeriod:s({matchPatterns:PW,defaultMatchWidth:"any",parsePatterns:kW,defaultParseWidth:"any"})},$W={code:"eu",formatDistance:Q$,formatLong:Z$,formatRelative:aW,localize:lW,match:MW,options:{weekStartsOn:1,firstWeekContainsDate:1}},WW={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}} سال"}},DW=(e,n,t)=>{let a;const r=WW[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"در "+a:a+" قبل":a},xW={full:"EEEE do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"yyyy/MM/dd"},jW={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},zW={full:"{{date}} 'در' {{time}}",long:"{{date}} 'در' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},TW={date:c({formats:xW,defaultWidth:"full"}),time:c({formats:jW,defaultWidth:"full"}),dateTime:c({formats:zW,defaultWidth:"full"})},SW={lastWeek:"eeee 'گذشته در' p",yesterday:"'دیروز در' p",today:"'امروز در' p",tomorrow:"'فردا در' p",nextWeek:"eeee 'در' p",other:"P"},_W=(e,n,t,a)=>SW[e],NW={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل از میلاد","بعد از میلاد"]},CW={narrow:["1","2","3","4"],abbreviated:["سم1","سم2","سم3","سم4"],wide:["سهماهه 1","سهماهه 2","سهماهه 3","سهماهه 4"]},VW={narrow:["ژ","ف","م","آ","م","ج","ج","آ","س","ا","ن","د"],abbreviated:["ژانـ","فور","مارس","آپر","می","جون","جولـ","آگو","سپتـ","اکتـ","نوامـ","دسامـ"],wide:["ژانویه","فوریه","مارس","آپریل","می","جون","جولای","آگوست","سپتامبر","اکتبر","نوامبر","دسامبر"]},EW={narrow:["ی","د","س","چ","پ","ج","ش"],short:["1ش","2ش","3ش","4ش","5ش","ج","ش"],abbreviated:["یکشنبه","دوشنبه","سهشنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"],wide:["یکشنبه","دوشنبه","سهشنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"]},HW={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:"شب"}},FW={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:"شب"}},AW=(e,n)=>String(e),OW={ordinalNumber:AW,era:o({values:NW,defaultWidth:"wide"}),quarter:o({values:CW,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:VW,defaultWidth:"wide"}),day:o({values:EW,defaultWidth:"wide"}),dayPeriod:o({values:HW,defaultWidth:"wide",formattingValues:FW,defaultFormattingWidth:"wide"})},IW=/^(\d+)(th|st|nd|rd)?/i,XW=/\d+/i,LW={narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?د\.?\s?م\.?|م\.?\s?|د\.?\s?م\.?)/i,wide:/^(قبل از میلاد|قبل از دوران مشترک|میلادی|دوران مشترک|بعد از میلاد)/i},YW={any:[/^قبل/i,/^بعد/i]},RW={narrow:/^[1234]/i,abbreviated:/^سم[1234]/i,wide:/^سهماهه [1234]/i},qW={any:[/1/i,/2/i,/3/i,/4/i]},GW={narrow:/^[جژفمآاماسند]/i,abbreviated:/^(جنو|ژانـ|ژانویه|فوریه|فور|مارس|آوریل|آپر|مه|می|ژوئن|جون|جول|جولـ|ژوئیه|اوت|آگو|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نوامـ|دسامبر|دسامـ|دسم)/i,wide:/^(ژانویه|جنوری|فبروری|فوریه|مارچ|مارس|آپریل|اپریل|ایپریل|آوریل|مه|می|ژوئن|جون|جولای|ژوئیه|آگست|اگست|آگوست|اوت|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نومبر|دسامبر|دسمبر)/i},BW={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]},QW={narrow:/^[شیدسچپج]/i,short:/^(ش|ج|1ش|2ش|3ش|4ش|5ش)/i,abbreviated:/^(یکشنبه|دوشنبه|سهشنبه|چهارشنبه|پنجشنبه|جمعه|شنبه)/i,wide:/^(یکشنبه|دوشنبه|سهشنبه|چهارشنبه|پنجشنبه|جمعه|شنبه)/i},KW={narrow:[/^ی/i,/^دو/i,/^س/i,/^چ/i,/^پ/i,/^ج/i,/^ش/i],any:[/^(ی|1ش|یکشنبه)/i,/^(د|2ش|دوشنبه)/i,/^(س|3ش|سهشنبه)/i,/^(چ|4ش|چهارشنبه)/i,/^(پ|5ش|پنجشنبه)/i,/^(ج|جمعه)/i,/^(ش|شنبه)/i]},JW={narrow:/^(ب|ق|ن|ظ|ص|ب.ظ.|ع|ش)/i,abbreviated:/^(ق.ظ.|ب.ظ.|نیمهشب|ظهر|صبح|بعدازظهر|عصر|شب)/i,wide:/^(قبلازظهر|نیمهشب|ظهر|صبح|بعدازظهر|عصر|شب)/i},UW={any:{am:/^(ق|ق.ظ.|قبلازظهر)/i,pm:/^(ب|ب.ظ.|بعدازظهر)/i,midnight:/^(نیمهشب|ن)/i,noon:/^(ظ|ظهر)/i,morning:/(ص|صبح)/i,afternoon:/(ب|ب.ظ.|بعدازظهر)/i,evening:/(ع|عصر)/i,night:/(ش|شب)/i}},ZW={ordinalNumber:K({matchPattern:IW,parsePattern:XW,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:LW,defaultMatchWidth:"wide",parsePatterns:YW,defaultParseWidth:"any"}),quarter:s({matchPatterns:RW,defaultMatchWidth:"wide",parsePatterns:qW,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:GW,defaultMatchWidth:"wide",parsePatterns:BW,defaultParseWidth:"any"}),day:s({matchPatterns:QW,defaultMatchWidth:"wide",parsePatterns:KW,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:JW,defaultMatchWidth:"wide",parsePatterns:UW,defaultParseWidth:"any"})},e0={code:"fa-IR",formatDistance:DW,formatLong:TW,formatRelative:_W,localize:OW,match:ZW,options:{weekStartsOn:6,firstWeekContainsDate:1}};function ri(e){return e.replace(/sekuntia?/,"sekunnin")}function ii(e){return e.replace(/minuuttia?/,"minuutin")}function oi(e){return e.replace(/tuntia?/,"tunnin")}function t0(e){return e.replace(/päivää?/,"päivän")}function si(e){return e.replace(/(viikko|viikkoa)/,"viikon")}function ui(e){return e.replace(/(kuukausi|kuukautta)/,"kuukauden")}function Ya(e){return e.replace(/(vuosi|vuotta)/,"vuoden")}const a0={lessThanXSeconds:{one:"alle sekunti",other:"alle {{count}} sekuntia",futureTense:ri},xSeconds:{one:"sekunti",other:"{{count}} sekuntia",futureTense:ri},halfAMinute:{one:"puoli minuuttia",other:"puoli minuuttia",futureTense:e=>"puolen minuutin"},lessThanXMinutes:{one:"alle minuutti",other:"alle {{count}} minuuttia",futureTense:ii},xMinutes:{one:"minuutti",other:"{{count}} minuuttia",futureTense:ii},aboutXHours:{one:"noin tunti",other:"noin {{count}} tuntia",futureTense:oi},xHours:{one:"tunti",other:"{{count}} tuntia",futureTense:oi},xDays:{one:"päivä",other:"{{count}} päivää",futureTense:t0},aboutXWeeks:{one:"noin viikko",other:"noin {{count}} viikkoa",futureTense:si},xWeeks:{one:"viikko",other:"{{count}} viikkoa",futureTense:si},aboutXMonths:{one:"noin kuukausi",other:"noin {{count}} kuukautta",futureTense:ui},xMonths:{one:"kuukausi",other:"{{count}} kuukautta",futureTense:ui},aboutXYears:{one:"noin vuosi",other:"noin {{count}} vuotta",futureTense:Ya},xYears:{one:"vuosi",other:"{{count}} vuotta",futureTense:Ya},overXYears:{one:"yli vuosi",other:"yli {{count}} vuotta",futureTense:Ya},almostXYears:{one:"lähes vuosi",other:"lähes {{count}} vuotta",futureTense:Ya}},n0=(e,n,t)=>{const a=a0[e],r=n===1?a.one:a.other.replace("{{count}}",String(n));return t!=null&&t.addSuffix?t.comparison&&t.comparison>0?a.futureTense(r)+" kuluttua":r+" sitten":r},r0={full:"eeee d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"d.M.y"},i0={full:"HH.mm.ss zzzz",long:"HH.mm.ss z",medium:"HH.mm.ss",short:"HH.mm"},o0={full:"{{date}} 'klo' {{time}}",long:"{{date}} 'klo' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},s0={date:c({formats:r0,defaultWidth:"full"}),time:c({formats:i0,defaultWidth:"full"}),dateTime:c({formats:o0,defaultWidth:"full"})},u0={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"},d0=(e,n,t,a)=>u0[e],l0={narrow:["eaa.","jaa."],abbreviated:["eaa.","jaa."],wide:["ennen ajanlaskun alkua","jälkeen ajanlaskun alun"]},m0={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartaali","2. kvartaali","3. kvartaali","4. kvartaali"]},Hn={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"]},c0={narrow:Hn.narrow,abbreviated:Hn.abbreviated,wide:["tammikuuta","helmikuuta","maaliskuuta","huhtikuuta","toukokuuta","kesäkuuta","heinäkuuta","elokuuta","syyskuuta","lokakuuta","marraskuuta","joulukuuta"]},Ba={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"]},h0={narrow:Ba.narrow,short:Ba.short,abbreviated:Ba.abbreviated,wide:["sunnuntaina","maanantaina","tiistaina","keskiviikkona","torstaina","perjantaina","lauantaina"]},f0={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ä"}},g0=(e,n)=>Number(e)+".",p0={ordinalNumber:g0,era:o({values:l0,defaultWidth:"wide"}),quarter:o({values:m0,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:Hn,defaultWidth:"wide",formattingValues:c0,defaultFormattingWidth:"wide"}),day:o({values:Ba,defaultWidth:"wide",formattingValues:h0,defaultFormattingWidth:"wide"}),dayPeriod:o({values:f0,defaultWidth:"wide"})},v0=/^(\d+)(\.)/i,y0=/\d+/i,w0={narrow:/^(e|j)/i,abbreviated:/^(eaa.|jaa.)/i,wide:/^(ennen ajanlaskun alkua|jälkeen ajanlaskun alun)/i},b0={any:[/^e/i,/^j/i]},P0={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]\.? kvartaali/i},k0={any:[/1/i,/2/i,/3/i,/4/i]},M0={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},$0={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]},W0={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},D0={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]},x0={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},j0={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}},z0={ordinalNumber:K({matchPattern:v0,parsePattern:y0,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:w0,defaultMatchWidth:"wide",parsePatterns:b0,defaultParseWidth:"any"}),quarter:s({matchPatterns:P0,defaultMatchWidth:"wide",parsePatterns:k0,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:M0,defaultMatchWidth:"wide",parsePatterns:$0,defaultParseWidth:"any"}),day:s({matchPatterns:W0,defaultMatchWidth:"wide",parsePatterns:D0,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:x0,defaultMatchWidth:"any",parsePatterns:j0,defaultParseWidth:"any"})},T0={code:"fi",formatDistance:n0,formatLong:s0,formatRelative:d0,localize:p0,match:z0,options:{weekStartsOn:1,firstWeekContainsDate:4}},S0={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"}},sr=(e,n,t)=>{let a;const r=S0[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"dans "+a:"il y a "+a:a},_0={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},N0={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},C0={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},V0={date:c({formats:_0,defaultWidth:"full"}),time:c({formats:N0,defaultWidth:"full"}),dateTime:c({formats:C0,defaultWidth:"full"})},E0={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},po=(e,n,t,a)=>E0[e],H0={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},F0={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"]},A0={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"]},O0={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"]},I0={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"}},X0=(e,n)=>{const t=Number(e),a=n==null?void 0:n.unit;if(t===0)return"0";const r=["year","week","hour","minute","second"];let i;return t===1?i=a&&r.includes(a)?"ère":"er":i="ème",t+i},L0=["MMM","MMMM"],ur={preprocessor:(e,n)=>e.getDate()===1||!n.some(a=>a.isToken&&L0.includes(a.value))?n:n.map(a=>a.isToken&&a.value==="do"?{isToken:!0,value:"d"}:a),ordinalNumber:X0,era:o({values:H0,defaultWidth:"wide"}),quarter:o({values:F0,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:A0,defaultWidth:"wide"}),day:o({values:O0,defaultWidth:"wide"}),dayPeriod:o({values:I0,defaultWidth:"wide"})},Y0=/^(\d+)(ième|ère|ème|er|e)?/i,R0=/\d+/i,q0={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},G0={any:[/^av/i,/^ap/i]},B0={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},Q0={any:[/1/i,/2/i,/3/i,/4/i]},K0={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},J0={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]},U0={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},Z0={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]},eD={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},tD={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}},dr={ordinalNumber:K({matchPattern:Y0,parsePattern:R0,valueCallback:e=>parseInt(e)}),era:s({matchPatterns:q0,defaultMatchWidth:"wide",parsePatterns:G0,defaultParseWidth:"any"}),quarter:s({matchPatterns:B0,defaultMatchWidth:"wide",parsePatterns:Q0,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:K0,defaultMatchWidth:"wide",parsePatterns:J0,defaultParseWidth:"any"}),day:s({matchPatterns:U0,defaultMatchWidth:"wide",parsePatterns:Z0,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:eD,defaultMatchWidth:"any",parsePatterns:tD,defaultParseWidth:"any"})},aD={code:"fr",formatDistance:sr,formatLong:V0,formatRelative:po,localize:ur,match:dr,options:{weekStartsOn:1,firstWeekContainsDate:4}},nD={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"yy-MM-dd"},rD={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},iD={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},oD={date:c({formats:nD,defaultWidth:"full"}),time:c({formats:rD,defaultWidth:"full"}),dateTime:c({formats:iD,defaultWidth:"full"})},sD={code:"fr-CA",formatDistance:sr,formatLong:oD,formatRelative:po,localize:ur,match:dr,options:{weekStartsOn:0,firstWeekContainsDate:1}},uD={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.y"},dD={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},lD={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},mD={date:c({formats:uD,defaultWidth:"full"}),time:c({formats:dD,defaultWidth:"full"}),dateTime:c({formats:lD,defaultWidth:"full"})},cD={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"},hD=(e,n,t,a)=>cD[e],fD={code:"fr-CH",formatDistance:sr,formatLong:mD,formatRelative:hD,localize:ur,match:dr,options:{weekStartsOn:1,firstWeekContainsDate:4}},gD={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"}},pD=(e,n,t)=>{let a;const r=gD[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"oer "+a:a+" lyn":a},vD={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},yD={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},wD={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},bD={date:c({formats:vD,defaultWidth:"full"}),time:c({formats:yD,defaultWidth:"full"}),dateTime:c({formats:wD,defaultWidth:"full"})},PD={lastWeek:"'ôfrûne' eeee 'om' p",yesterday:"'juster om' p",today:"'hjoed om' p",tomorrow:"'moarn om' p",nextWeek:"eeee 'om' p",other:"P"},kD=(e,n,t,a)=>PD[e],MD={narrow:["f.K.","n.K."],abbreviated:["f.Kr.","n.Kr."],wide:["foar Kristus","nei Kristus"]},$D={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e fearnsjier","2e fearnsjier","3e fearnsjier","4e fearnsjier"]},WD={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"]},DD={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"]},xD={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"}},jD=(e,n)=>Number(e)+"e",zD={ordinalNumber:jD,era:o({values:MD,defaultWidth:"wide"}),quarter:o({values:$D,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:WD,defaultWidth:"wide"}),day:o({values:DD,defaultWidth:"wide"}),dayPeriod:o({values:xD,defaultWidth:"wide"})},TD=/^(\d+)e?/i,SD=/\d+/i,_D={narrow:/^([fn]\.? ?K\.?)/,abbreviated:/^([fn]\. ?Kr\.?)/,wide:/^((foar|nei) Kristus)/},ND={any:[/^f/,/^n/]},CD={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e fearnsjier/i},VD={any:[/1/i,/2/i,/3/i,/4/i]},ED={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},HD={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]},FD={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},AD={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]},OD={any:/^(am|pm|middernacht|middeis|moarns|middei|jûns|nachts)/i},ID={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}},XD={ordinalNumber:K({matchPattern:TD,parsePattern:SD,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:_D,defaultMatchWidth:"wide",parsePatterns:ND,defaultParseWidth:"any"}),quarter:s({matchPatterns:CD,defaultMatchWidth:"wide",parsePatterns:VD,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:ED,defaultMatchWidth:"wide",parsePatterns:HD,defaultParseWidth:"any"}),day:s({matchPatterns:FD,defaultMatchWidth:"wide",parsePatterns:AD,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:OD,defaultMatchWidth:"any",parsePatterns:ID,defaultParseWidth:"any"})},LD={code:"fy",formatDistance:pD,formatLong:bD,formatRelative:kD,localize:zD,match:XD,options:{weekStartsOn:1,firstWeekContainsDate:4}},YD={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"}},RD=(e,n,t)=>{let a;const r=YD[e];return typeof r=="string"?a=r:n===1?a=r.one:n===2&&r.two?a=r.two:n===20&&r.twenty?a=r.twenty:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"ann an "+a:"o chionn "+a:a},qD={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},GD={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},BD={full:"{{date}} 'aig' {{time}}",long:"{{date}} 'aig' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},QD={date:c({formats:qD,defaultWidth:"full"}),time:c({formats:GD,defaultWidth:"full"}),dateTime:c({formats:BD,defaultWidth:"full"})},KD={lastWeek:"'mu dheireadh' eeee 'aig' p",yesterday:"'an-dè aig' p",today:"'an-diugh aig' p",tomorrow:"'a-màireach aig' p",nextWeek:"eeee 'aig' p",other:"P"},JD=(e,n,t,a)=>KD[e],UD={narrow:["R","A"],abbreviated:["RC","AD"],wide:["ro Chrìosta","anno domini"]},ZD={narrow:["1","2","3","4"],abbreviated:["C1","C2","C3","C4"],wide:["a' chiad chairteal","an dàrna cairteal","an treas cairteal","an ceathramh cairteal"]},ex={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"]},tx={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"]},ax={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"}},nx={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"}},rx=e=>{const n=Number(e),t=n%100;if(t>20||t<10)switch(t%10){case 1:return n+"d";case 2:return n+"na"}return t===12?n+"na":n+"mh"},ix={ordinalNumber:rx,era:o({values:UD,defaultWidth:"wide"}),quarter:o({values:ZD,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:ex,defaultWidth:"wide"}),day:o({values:tx,defaultWidth:"wide"}),dayPeriod:o({values:ax,defaultWidth:"wide",formattingValues:nx,defaultFormattingWidth:"wide"})},ox=/^(\d+)(d|na|tr|mh)?/i,sx=/\d+/i,ux={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},dx={any:[/^b/i,/^(a|c)/i]},lx={narrow:/^[1234]/i,abbreviated:/^c[1234]/i,wide:/^[1234](cd|na|tr|mh)? cairteal/i},mx={any:[/1/i,/2/i,/3/i,/4/i]},cx={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},hx={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]},fx={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},gx={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]},px={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},vx={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}},yx={ordinalNumber:K({matchPattern:ox,parsePattern:sx,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:ux,defaultMatchWidth:"wide",parsePatterns:dx,defaultParseWidth:"any"}),quarter:s({matchPatterns:lx,defaultMatchWidth:"wide",parsePatterns:mx,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:cx,defaultMatchWidth:"wide",parsePatterns:hx,defaultParseWidth:"any"}),day:s({matchPatterns:fx,defaultMatchWidth:"wide",parsePatterns:gx,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:px,defaultMatchWidth:"any",parsePatterns:vx,defaultParseWidth:"any"})},wx={code:"gd",formatDistance:RD,formatLong:QD,formatRelative:JD,localize:ix,match:yx,options:{weekStartsOn:0,firstWeekContainsDate:1}},bx={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"}},Px=(e,n,t)=>{let a;const r=bx[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"en "+a:"hai "+a:a},kx={full:"EEEE, d 'de' MMMM y",long:"d 'de' MMMM y",medium:"d MMM y",short:"dd/MM/y"},Mx={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},$x={full:"{{date}} 'ás' {{time}}",long:"{{date}} 'ás' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Wx={date:c({formats:kx,defaultWidth:"full"}),time:c({formats:Mx,defaultWidth:"full"}),dateTime:c({formats:$x,defaultWidth:"full"})},Dx={lastWeek:"'o' eeee 'pasado á' LT",yesterday:"'onte á' p",today:"'hoxe á' p",tomorrow:"'mañá á' p",nextWeek:"eeee 'á' p",other:"P"},xx={lastWeek:"'o' eeee 'pasado ás' p",yesterday:"'onte ás' p",today:"'hoxe ás' p",tomorrow:"'mañá ás' p",nextWeek:"eeee 'ás' p",other:"P"},jx=(e,n,t,a)=>n.getHours()!==1?xx[e]:Dx[e],zx={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","despois de cristo"]},Tx={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},Sx={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"]},_x={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"]},Nx={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"}},Cx={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"}},Vx=(e,n)=>Number(e)+"º",Ex={ordinalNumber:Vx,era:o({values:zx,defaultWidth:"wide"}),quarter:o({values:Tx,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:Sx,defaultWidth:"wide"}),day:o({values:_x,defaultWidth:"wide"}),dayPeriod:o({values:Nx,defaultWidth:"wide",formattingValues:Cx,defaultFormattingWidth:"wide"})},Hx=/^(\d+)(º)?/i,Fx=/\d+/i,Ax={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},Ox={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era com[uú]n)/i,/^(despois de cristo|era com[uú]n)/i]},Ix={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},Xx={any:[/1/i,/2/i,/3/i,/4/i]},Lx={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},Yx={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]},Rx={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},qx={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]},Gx={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},Bx={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}},Qx={ordinalNumber:K({matchPattern:Hx,parsePattern:Fx,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:Ax,defaultMatchWidth:"wide",parsePatterns:Ox,defaultParseWidth:"any"}),quarter:s({matchPatterns:Ix,defaultMatchWidth:"wide",parsePatterns:Xx,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:Lx,defaultMatchWidth:"wide",parsePatterns:Yx,defaultParseWidth:"any"}),day:s({matchPatterns:Rx,defaultMatchWidth:"wide",parsePatterns:qx,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:Gx,defaultMatchWidth:"any",parsePatterns:Bx,defaultParseWidth:"any"})},Kx={code:"gl",formatDistance:Px,formatLong:Wx,formatRelative:jx,localize:Ex,match:Qx,options:{weekStartsOn:1,firstWeekContainsDate:1}},Jx={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}} વર્ષ"}},Ux=(e,n,t)=>{let a;const r=Jx[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?a+"માં":a+" પહેલાં":a},Zx={full:"EEEE, d MMMM, y",long:"d MMMM, y",medium:"d MMM, y",short:"d/M/yy"},ej={full:"hh:mm:ss a zzzz",long:"hh:mm:ss a z",medium:"hh:mm:ss a",short:"hh:mm a"},tj={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},aj={date:c({formats:Zx,defaultWidth:"full"}),time:c({formats:ej,defaultWidth:"full"}),dateTime:c({formats:tj,defaultWidth:"full"})},nj={lastWeek:"'પાછલા' eeee p",yesterday:"'ગઈકાલે' p",today:"'આજે' p",tomorrow:"'આવતીકાલે' p",nextWeek:"eeee p",other:"P"},rj=(e,n,t,a)=>nj[e],ij={narrow:["ઈસપૂ","ઈસ"],abbreviated:["ઈ.સ.પૂર્વે","ઈ.સ."],wide:["ઈસવીસન પૂર્વે","ઈસવીસન"]},oj={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1લો ત્રિમાસ","2જો ત્રિમાસ","3જો ત્રિમાસ","4થો ત્રિમાસ"]},sj={narrow:["જા","ફે","મા","એ","મે","જૂ","જુ","ઓ","સ","ઓ","ન","ડિ"],abbreviated:["જાન્યુ","ફેબ્રુ","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટે","ઓક્ટો","નવે","ડિસે"],wide:["જાન્યુઆરી","ફેબ્રુઆરી","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઇ","ઓગસ્ટ","સપ્ટેમ્બર","ઓક્ટોબર","નવેમ્બર","ડિસેમ્બર"]},uj={narrow:["ર","સો","મં","બુ","ગુ","શુ","શ"],short:["ર","સો","મં","બુ","ગુ","શુ","શ"],abbreviated:["રવિ","સોમ","મંગળ","બુધ","ગુરુ","શુક્ર","શનિ"],wide:["રવિવાર","સોમવાર","મંગળવાર","બુધવાર","ગુરુવાર","શુક્રવાર","શનિવાર"]},dj={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:"રાત્રે"}},lj={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:"રાત્રે"}},mj=(e,n)=>String(e),cj={ordinalNumber:mj,era:o({values:ij,defaultWidth:"wide"}),quarter:o({values:oj,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:sj,defaultWidth:"wide"}),day:o({values:uj,defaultWidth:"wide"}),dayPeriod:o({values:dj,defaultWidth:"wide",formattingValues:lj,defaultFormattingWidth:"wide"})},hj=/^(\d+)(લ|જ|થ|ઠ્ઠ|મ)?/i,fj=/\d+/i,gj={narrow:/^(ઈસપૂ|ઈસ)/i,abbreviated:/^(ઈ\.સ\.પૂર્વે|ઈ\.સ\.)/i,wide:/^(ઈસવીસન\sપૂર્વે|ઈસવીસન)/i},pj={any:[/^ઈસપૂ/i,/^ઈસ/i]},vj={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](લો|જો|થો)? ત્રિમાસ/i},yj={any:[/1/i,/2/i,/3/i,/4/i]},wj={narrow:/^[જાફેમાએમેજૂજુઓસઓનડિ]/i,abbreviated:/^(જાન્યુ|ફેબ્રુ|માર્ચ|એપ્રિલ|મે|જૂન|જુલાઈ|ઑગસ્ટ|સપ્ટે|ઓક્ટો|નવે|ડિસે)/i,wide:/^(જાન્યુઆરી|ફેબ્રુઆરી|માર્ચ|એપ્રિલ|મે|જૂન|જુલાઇ|ઓગસ્ટ|સપ્ટેમ્બર|ઓક્ટોબર|નવેમ્બર|ડિસેમ્બર)/i},bj={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]},Pj={narrow:/^(ર|સો|મં|બુ|ગુ|શુ|શ)/i,short:/^(ર|સો|મં|બુ|ગુ|શુ|શ)/i,abbreviated:/^(રવિ|સોમ|મંગળ|બુધ|ગુરુ|શુક્ર|શનિ)/i,wide:/^(રવિવાર|સોમવાર|મંગળવાર|બુધવાર|ગુરુવાર|શુક્રવાર|શનિવાર)/i},kj={narrow:[/^ર/i,/^સો/i,/^મં/i,/^બુ/i,/^ગુ/i,/^શુ/i,/^શ/i],any:[/^ર/i,/^સો/i,/^મં/i,/^બુ/i,/^ગુ/i,/^શુ/i,/^શ/i]},Mj={narrow:/^(a|p|મ\.?|સ|બ|સાં|રા)/i,any:/^(a|p|મ\.?|સ|બ|સાં|રા)/i},$j={any:{am:/^a/i,pm:/^p/i,midnight:/^મ\.?/i,noon:/^બ/i,morning:/સ/i,afternoon:/બ/i,evening:/સાં/i,night:/રા/i}},Wj={ordinalNumber:K({matchPattern:hj,parsePattern:fj,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:gj,defaultMatchWidth:"wide",parsePatterns:pj,defaultParseWidth:"any"}),quarter:s({matchPatterns:vj,defaultMatchWidth:"wide",parsePatterns:yj,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:wj,defaultMatchWidth:"wide",parsePatterns:bj,defaultParseWidth:"any"}),day:s({matchPatterns:Pj,defaultMatchWidth:"wide",parsePatterns:kj,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:Mj,defaultMatchWidth:"any",parsePatterns:$j,defaultParseWidth:"any"})},Dj={code:"gu",formatDistance:Ux,formatLong:aj,formatRelative:rj,localize:cj,match:Wj,options:{weekStartsOn:1,firstWeekContainsDate:4}},xj={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}} שנים"}},jj=(e,n,t)=>{if(e==="xDays"&&(t!=null&&t.addSuffix)&&n<=2)return t.comparison&&t.comparison>0?n===1?"מחר":"מחרתיים":n===1?"אתמול":"שלשום";let a;const r=xj[e];return typeof r=="string"?a=r:n===1?a=r.one:n===2?a=r.two:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"בעוד "+a:"לפני "+a:a},zj={full:"EEEE, d בMMMM y",long:"d בMMMM y",medium:"d בMMM y",short:"d.M.y"},Tj={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},Sj={full:"{{date}} 'בשעה' {{time}}",long:"{{date}} 'בשעה' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},_j={date:c({formats:zj,defaultWidth:"full"}),time:c({formats:Tj,defaultWidth:"full"}),dateTime:c({formats:Sj,defaultWidth:"full"})},Nj={lastWeek:"eeee 'שעבר בשעה' p",yesterday:"'אתמול בשעה' p",today:"'היום בשעה' p",tomorrow:"'מחר בשעה' p",nextWeek:"eeee 'בשעה' p",other:"P"},Cj=(e,n,t,a)=>Nj[e],Vj={narrow:["לפנה״ס","לספירה"],abbreviated:["לפנה״ס","לספירה"],wide:["לפני הספירה","לספירה"]},Ej={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["רבעון 1","רבעון 2","רבעון 3","רבעון 4"]},Hj={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["ינו׳","פבר׳","מרץ","אפר׳","מאי","יוני","יולי","אוג׳","ספט׳","אוק׳","נוב׳","דצמ׳"],wide:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"]},Fj={narrow:["א׳","ב׳","ג׳","ד׳","ה׳","ו׳","ש׳"],short:["א׳","ב׳","ג׳","ד׳","ה׳","ו׳","ש׳"],abbreviated:["יום א׳","יום ב׳","יום ג׳","יום ד׳","יום ה׳","יום ו׳","שבת"],wide:["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","יום שבת"]},Aj={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:"לילה"}},Oj={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:"בלילה"}},Ij=(e,n)=>{const t=Number(e);if(t<=0||t>10)return String(t);const a=String(n==null?void 0:n.unit),r=["year","hour","minute","second"].indexOf(a)>=0,i=["ראשון","שני","שלישי","רביעי","חמישי","שישי","שביעי","שמיני","תשיעי","עשירי"],d=["ראשונה","שנייה","שלישית","רביעית","חמישית","שישית","שביעית","שמינית","תשיעית","עשירית"],m=t-1;return r?d[m]:i[m]},Xj={ordinalNumber:Ij,era:o({values:Vj,defaultWidth:"wide"}),quarter:o({values:Ej,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:Hj,defaultWidth:"wide"}),day:o({values:Fj,defaultWidth:"wide"}),dayPeriod:o({values:Aj,defaultWidth:"wide",formattingValues:Oj,defaultFormattingWidth:"wide"})},Lj=/^(\d+|(ראשון|שני|שלישי|רביעי|חמישי|שישי|שביעי|שמיני|תשיעי|עשירי|ראשונה|שנייה|שלישית|רביעית|חמישית|שישית|שביעית|שמינית|תשיעית|עשירית))/i,Yj=/^(\d+|רא|שנ|של|רב|ח|שי|שב|שמ|ת|ע)/i,Rj={narrow:/^ל(ספירה|פנה״ס)/i,abbreviated:/^ל(ספירה|פנה״ס)/i,wide:/^ל(פני ה)?ספירה/i},qj={any:[/^לפ/i,/^לס/i]},Gj={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^רבעון [1234]/i},Bj={any:[/1/i,/2/i,/3/i,/4/i]},Qj={narrow:/^\d+/i,abbreviated:/^(ינו|פבר|מרץ|אפר|מאי|יוני|יולי|אוג|ספט|אוק|נוב|דצמ)׳?/i,wide:/^(ינואר|פברואר|מרץ|אפריל|מאי|יוני|יולי|אוגוסט|ספטמבר|אוקטובר|נובמבר|דצמבר)/i},Kj={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]},Jj={narrow:/^[אבגדהוש]׳/i,short:/^[אבגדהוש]׳/i,abbreviated:/^(שבת|יום (א|ב|ג|ד|ה|ו)׳)/i,wide:/^יום (ראשון|שני|שלישי|רביעי|חמישי|שישי|שבת)/i},Uj={abbreviated:[/א׳$/i,/ב׳$/i,/ג׳$/i,/ד׳$/i,/ה׳$/i,/ו׳$/i,/^ש/i],wide:[/ן$/i,/ני$/i,/לישי$/i,/עי$/i,/מישי$/i,/שישי$/i,/ת$/i],any:[/^א/i,/^ב/i,/^ג/i,/^ד/i,/^ה/i,/^ו/i,/^ש/i]},Zj={any:/^(אחר ה|ב)?(חצות|צהריים|בוקר|ערב|לילה|אחה״צ|לפנה״צ)/i},e2={any:{am:/^לפ/i,pm:/^אחה/i,midnight:/^ח/i,noon:/^צ/i,morning:/בוקר/i,afternoon:/בצ|אחר/i,evening:/ערב/i,night:/לילה/i}},t2=["רא","שנ","של","רב","ח","שי","שב","שמ","ת","ע"],a2={ordinalNumber:K({matchPattern:Lj,parsePattern:Yj,valueCallback:e=>{const n=parseInt(e,10);return isNaN(n)?t2.indexOf(e)+1:n}}),era:s({matchPatterns:Rj,defaultMatchWidth:"wide",parsePatterns:qj,defaultParseWidth:"any"}),quarter:s({matchPatterns:Gj,defaultMatchWidth:"wide",parsePatterns:Bj,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:Qj,defaultMatchWidth:"wide",parsePatterns:Kj,defaultParseWidth:"any"}),day:s({matchPatterns:Jj,defaultMatchWidth:"wide",parsePatterns:Uj,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:Zj,defaultMatchWidth:"any",parsePatterns:e2,defaultParseWidth:"any"})},n2={code:"he",formatDistance:jj,formatLong:_j,formatRelative:Cj,localize:Xj,match:a2,options:{weekStartsOn:0,firstWeekContainsDate:1}},vo={locale:{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},number:{"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"}},r2={narrow:["ईसा-पूर्व","ईस्वी"],abbreviated:["ईसा-पूर्व","ईस्वी"],wide:["ईसा-पूर्व","ईसवी सन"]},i2={narrow:["1","2","3","4"],abbreviated:["ति1","ति2","ति3","ति4"],wide:["पहली तिमाही","दूसरी तिमाही","तीसरी तिमाही","चौथी तिमाही"]},o2={narrow:["ज","फ़","मा","अ","मई","जू","जु","अग","सि","अक्टू","न","दि"],abbreviated:["जन","फ़र","मार्च","अप्रैल","मई","जून","जुल","अग","सित","अक्टू","नव","दिस"],wide:["जनवरी","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"]},s2={narrow:["र","सो","मं","बु","गु","शु","श"],short:["र","सो","मं","बु","गु","शु","श"],abbreviated:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],wide:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"]},u2={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:"रात"}},d2={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:"रात"}},l2=(e,n)=>{const t=Number(e);return yo(t)};function m2(e){const n=e.toString().replace(/[१२३४५६७८९०]/g,function(t){return vo.number[t]});return Number(n)}function yo(e){return e.toString().replace(/\d/g,function(n){return vo.locale[n]})}const c2={ordinalNumber:l2,era:o({values:r2,defaultWidth:"wide"}),quarter:o({values:i2,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:o2,defaultWidth:"wide"}),day:o({values:s2,defaultWidth:"wide"}),dayPeriod:o({values:u2,defaultWidth:"wide",formattingValues:d2,defaultFormattingWidth:"wide"})},h2={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}} वर्ष"}},f2=(e,n,t)=>{let a;const r=h2[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",yo(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?a+"मे ":a+" पहले":a},g2={full:"EEEE, do MMMM, y",long:"do MMMM, y",medium:"d MMM, y",short:"dd/MM/yyyy"},p2={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},v2={full:"{{date}} 'को' {{time}}",long:"{{date}} 'को' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},y2={date:c({formats:g2,defaultWidth:"full"}),time:c({formats:p2,defaultWidth:"full"}),dateTime:c({formats:v2,defaultWidth:"full"})},w2={lastWeek:"'पिछले' eeee p",yesterday:"'कल' p",today:"'आज' p",tomorrow:"'कल' p",nextWeek:"eeee 'को' p",other:"P"},b2=(e,n,t,a)=>w2[e],P2=/^[०१२३४५६७८९]+/i,k2=/^[०१२३४५६७८९]+/i,M2={narrow:/^(ईसा-पूर्व|ईस्वी)/i,abbreviated:/^(ईसा\.?\s?पूर्व\.?|ईसा\.?)/i,wide:/^(ईसा-पूर्व|ईसवी पूर्व|ईसवी सन|ईसवी)/i},$2={any:[/^b/i,/^(a|c)/i]},W2={narrow:/^[1234]/i,abbreviated:/^ति[1234]/i,wide:/^[1234](पहली|दूसरी|तीसरी|चौथी)? तिमाही/i},D2={any:[/1/i,/2/i,/3/i,/4/i]},x2={narrow:/^[जफ़माअप्मईजूनजुअगसिअक्तनदि]/i,abbreviated:/^(जन|फ़र|मार्च|अप्|मई|जून|जुल|अग|सित|अक्तू|नव|दिस)/i,wide:/^(जनवरी|फ़रवरी|मार्च|अप्रैल|मई|जून|जुलाई|अगस्त|सितंबर|अक्तूबर|नवंबर|दिसंबर)/i},j2={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]},z2={narrow:/^[रविसोममंगलबुधगुरुशुक्रशनि]/i,short:/^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i,abbreviated:/^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i,wide:/^(रविवार|सोमवार|मंगलवार|बुधवार|गुरुवार|शुक्रवार|शनिवार)/i},T2={narrow:[/^रवि/i,/^सोम/i,/^मंगल/i,/^बुध/i,/^गुरु/i,/^शुक्र/i,/^शनि/i],any:[/^रवि/i,/^सोम/i,/^मंगल/i,/^बुध/i,/^गुरु/i,/^शुक्र/i,/^शनि/i]},S2={narrow:/^(पू|अ|म|द.\?|सु|दो|शा|रा)/i,any:/^(पूर्वाह्न|अपराह्न|म|द.\?|सु|दो|शा|रा)/i},_2={any:{am:/^पूर्वाह्न/i,pm:/^अपराह्न/i,midnight:/^मध्य/i,noon:/^दो/i,morning:/सु/i,afternoon:/दो/i,evening:/शा/i,night:/रा/i}},N2={ordinalNumber:K({matchPattern:P2,parsePattern:k2,valueCallback:m2}),era:s({matchPatterns:M2,defaultMatchWidth:"wide",parsePatterns:$2,defaultParseWidth:"any"}),quarter:s({matchPatterns:W2,defaultMatchWidth:"wide",parsePatterns:D2,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:x2,defaultMatchWidth:"wide",parsePatterns:j2,defaultParseWidth:"any"}),day:s({matchPatterns:z2,defaultMatchWidth:"wide",parsePatterns:T2,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:S2,defaultMatchWidth:"any",parsePatterns:_2,defaultParseWidth:"any"})},C2={code:"hi",formatDistance:f2,formatLong:y2,formatRelative:b2,localize:c2,match:N2,options:{weekStartsOn:0,firstWeekContainsDate:4}},V2={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"}},E2=(e,n,t)=>{let a;const r=V2[e];return typeof r=="string"?a=r:n===1?t!=null&&t.addSuffix?t.comparison&&t.comparison>0?a=r.one.withPrepositionIn:a=r.one.withPrepositionAgo:a=r.one.standalone:n%10>1&&n%10<5&&String(n).substr(-2,1)!=="1"?a=r.dual.replace("{{count}}",String(n)):a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"za "+a:"prije "+a:a},H2={full:"EEEE, d. MMMM y.",long:"d. MMMM y.",medium:"d. MMM y.",short:"dd. MM. y."},F2={full:"HH:mm:ss (zzzz)",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},A2={full:"{{date}} 'u' {{time}}",long:"{{date}} 'u' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},O2={date:c({formats:H2,defaultWidth:"full"}),time:c({formats:F2,defaultWidth:"full"}),dateTime:c({formats:A2,defaultWidth:"full"})},I2={lastWeek:e=>{switch(e.getDay()){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:e=>{switch(e.getDay()){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"},X2=(e,n,t,a)=>{const r=I2[e];return typeof r=="function"?r(n):r},L2={narrow:["pr.n.e.","AD"],abbreviated:["pr. Kr.","po. Kr."],wide:["Prije Krista","Poslije Krista"]},Y2={narrow:["1.","2.","3.","4."],abbreviated:["1. kv.","2. kv.","3. kv.","4. kv."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},R2={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"]},q2={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"]},G2={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"]},B2={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"}},Q2={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"}},K2=(e,n)=>Number(e)+".",J2={ordinalNumber:K2,era:o({values:L2,defaultWidth:"wide"}),quarter:o({values:Y2,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:R2,defaultWidth:"wide",formattingValues:q2,defaultFormattingWidth:"wide"}),day:o({values:G2,defaultWidth:"wide"}),dayPeriod:o({values:Q2,defaultWidth:"wide",formattingValues:B2,defaultFormattingWidth:"wide"})},U2=/^(\d+)\./i,Z2=/\d+/i,ez={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},tz={any:[/^pr/i,/^(po|nova)/i]},az={narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?kv\.?/i,wide:/^[1234]\. kvartal/i},nz={any:[/1/i,/2/i,/3/i,/4/i]},rz={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},iz={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]},oz={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},sz={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]},uz={any:/^(am|pm|ponoc|ponoć|(po)?podne|navecer|navečer|noću|poslije podne|ujutro)/i},dz={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}},lz={ordinalNumber:K({matchPattern:U2,parsePattern:Z2,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:ez,defaultMatchWidth:"wide",parsePatterns:tz,defaultParseWidth:"any"}),quarter:s({matchPatterns:az,defaultMatchWidth:"wide",parsePatterns:nz,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:rz,defaultMatchWidth:"wide",parsePatterns:iz,defaultParseWidth:"wide"}),day:s({matchPatterns:oz,defaultMatchWidth:"wide",parsePatterns:sz,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:uz,defaultMatchWidth:"any",parsePatterns:dz,defaultParseWidth:"any"})},mz={code:"hr",formatDistance:E2,formatLong:O2,formatRelative:X2,localize:J2,match:lz,options:{weekStartsOn:1,firstWeekContainsDate:1}},cz={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"}},hz=(e,n,t)=>{let a;const r=cz[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"nan "+a:"sa fè "+a:a},fz={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},gz={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},pz={full:"{{date}} 'nan lè' {{time}}",long:"{{date}} 'nan lè' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},vz={date:c({formats:fz,defaultWidth:"full"}),time:c({formats:gz,defaultWidth:"full"}),dateTime:c({formats:pz,defaultWidth:"full"})},yz={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"},wz=(e,n,t,a)=>yz[e],bz={narrow:["av. J.-K","ap. J.-K"],abbreviated:["av. J.-K","ap. J.-K"],wide:["anvan Jezi Kris","apre Jezi Kris"]},Pz={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"]},kz={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"]},Mz={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"]},$z={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"}},Wz=(e,n)=>{const t=Number(e);return t===0?String(t):t+(t===1?"ye":"yèm")},Dz={ordinalNumber:Wz,era:o({values:bz,defaultWidth:"wide"}),quarter:o({values:Pz,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:kz,defaultWidth:"wide"}),day:o({values:Mz,defaultWidth:"wide"}),dayPeriod:o({values:$z,defaultWidth:"wide"})},xz=/^(\d+)(ye|yèm)?/i,jz=/\d+/i,zz={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},Tz={any:[/^av/i,/^ap/i]},Sz={narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](ye|yèm)? trimès/i},_z={any:[/1/i,/2/i,/3/i,/4/i]},Nz={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},Cz={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]},Vz={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},Ez={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]},Hz={narrow:/^(a|p|minwit|midi|mat\.?|ap\.?m\.?|swa)/i,any:/^([ap]\.?\s?m\.?|nan maten|nan aprèmidi|nan aswè)/i},Fz={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}},Az={ordinalNumber:K({matchPattern:xz,parsePattern:jz,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:zz,defaultMatchWidth:"wide",parsePatterns:Tz,defaultParseWidth:"any"}),quarter:s({matchPatterns:Sz,defaultMatchWidth:"wide",parsePatterns:_z,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:Nz,defaultMatchWidth:"wide",parsePatterns:Cz,defaultParseWidth:"any"}),day:s({matchPatterns:Vz,defaultMatchWidth:"wide",parsePatterns:Ez,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:Hz,defaultMatchWidth:"any",parsePatterns:Fz,defaultParseWidth:"any"})},Oz={code:"ht",formatDistance:hz,formatLong:vz,formatRelative:wz,localize:Dz,match:Az,options:{weekStartsOn:1,firstWeekContainsDate:4}},Iz={about:"körülbelül",over:"több mint",almost:"majdnem",lessthan:"kevesebb mint"},Xz={xseconds:" másodperc",halfaminute:"fél perc",xminutes:" perc",xhours:" óra",xdays:" nap",xweeks:" hét",xmonths:" hónap",xyears:" év"},Lz={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"}},Yz=(e,n,t)=>{const a=e.match(/about|over|almost|lessthan/i),r=a?e.replace(a[0],""):e,i=(t==null?void 0:t.addSuffix)===!0,d=r.toLowerCase(),m=(t==null?void 0:t.comparison)||0,l=i?Lz[d][m]:Xz[d];let g=d==="halfaminute"?l:n+l;if(a){const y=a[0].toLowerCase();g=Iz[y]+" "+g}return g},Rz={full:"y. MMMM d., EEEE",long:"y. MMMM d.",medium:"y. MMM d.",short:"y. MM. dd."},qz={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},Gz={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Bz={date:c({formats:Rz,defaultWidth:"full"}),time:c({formats:qz,defaultWidth:"full"}),dateTime:c({formats:Gz,defaultWidth:"full"})},Qz=["vasárnap","hétfőn","kedden","szerdán","csütörtökön","pénteken","szombaton"];function di(e){return n=>{const t=Qz[n.getDay()];return`${e?"":"'múlt' "}'${t}' p'-kor'`}}const Kz={lastWeek:di(!1),yesterday:"'tegnap' p'-kor'",today:"'ma' p'-kor'",tomorrow:"'holnap' p'-kor'",nextWeek:di(!0),other:"P"},Jz=(e,n)=>{const t=Kz[e];return typeof t=="function"?t(n):t},Uz={narrow:["ie.","isz."],abbreviated:["i. e.","i. sz."],wide:["Krisztus előtt","időszámításunk szerint"]},Zz={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"]},eT={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"]},tT={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"]},aT={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"]},nT={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"}},rT=(e,n)=>Number(e)+".",iT={ordinalNumber:rT,era:o({values:Uz,defaultWidth:"wide"}),quarter:o({values:Zz,defaultWidth:"wide",argumentCallback:e=>e-1,formattingValues:eT,defaultFormattingWidth:"wide"}),month:o({values:tT,defaultWidth:"wide"}),day:o({values:aT,defaultWidth:"wide"}),dayPeriod:o({values:nT,defaultWidth:"wide"})},oT=/^(\d+)\.?/i,sT=/\d+/i,uT={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},dT={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]},lT={narrow:/^[1234]\.?/i,abbreviated:/^[1234]?\.?\s?n\.év/i,wide:/^([1234]|I|II|III|IV)?\.?\s?negyedév/i},mT={any:[/1|I$/i,/2|II$/i,/3|III/i,/4|IV/i]},cT={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},hT={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]},fT={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},gT={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]},pT={any:/^((de|du)\.?|éjfél|délután|dél|reggel|este|éjjel)/i},vT={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}},yT={ordinalNumber:K({matchPattern:oT,parsePattern:sT,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:uT,defaultMatchWidth:"wide",parsePatterns:dT,defaultParseWidth:"any"}),quarter:s({matchPatterns:lT,defaultMatchWidth:"wide",parsePatterns:mT,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:cT,defaultMatchWidth:"wide",parsePatterns:hT,defaultParseWidth:"any"}),day:s({matchPatterns:fT,defaultMatchWidth:"wide",parsePatterns:gT,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:pT,defaultMatchWidth:"any",parsePatterns:vT,defaultParseWidth:"any"})},wT={code:"hu",formatDistance:Yz,formatLong:Bz,formatRelative:Jz,localize:iT,match:yT,options:{weekStartsOn:1,firstWeekContainsDate:4}},bT={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}} տարի"}},PT=(e,n,t)=>{let a;const r=bT[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?a+" հետո":a+" առաջ":a},kT={full:"d MMMM, y, EEEE",long:"d MMMM, y",medium:"d MMM, y",short:"dd.MM.yyyy"},MT={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},$T={full:"{{date}} 'ժ․'{{time}}",long:"{{date}} 'ժ․'{{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},WT={date:c({formats:kT,defaultWidth:"full"}),time:c({formats:MT,defaultWidth:"full"}),dateTime:c({formats:$T,defaultWidth:"full"})},DT={lastWeek:"'նախորդ' eeee p'֊ին'",yesterday:"'երեկ' p'֊ին'",today:"'այսօր' p'֊ին'",tomorrow:"'վաղը' p'֊ին'",nextWeek:"'հաջորդ' eeee p'֊ին'",other:"P"},xT=(e,n,t,a)=>DT[e],jT={narrow:["Ք","Մ"],abbreviated:["ՔԱ","ՄԹ"],wide:["Քրիստոսից առաջ","Մեր թվարկության"]},zT={narrow:["1","2","3","4"],abbreviated:["Ք1","Ք2","Ք3","Ք4"],wide:["1֊ին քառորդ","2֊րդ քառորդ","3֊րդ քառորդ","4֊րդ քառորդ"]},TT={narrow:["Հ","Փ","Մ","Ա","Մ","Հ","Հ","Օ","Ս","Հ","Ն","Դ"],abbreviated:["հուն","փետ","մար","ապր","մայ","հուն","հուլ","օգս","սեպ","հոկ","նոյ","դեկ"],wide:["հունվար","փետրվար","մարտ","ապրիլ","մայիս","հունիս","հուլիս","օգոստոս","սեպտեմբեր","հոկտեմբեր","նոյեմբեր","դեկտեմբեր"]},ST={narrow:["Կ","Ե","Ե","Չ","Հ","Ո","Շ"],short:["կր","եր","եք","չք","հգ","ուր","շբ"],abbreviated:["կիր","երկ","երք","չոր","հնգ","ուրբ","շաբ"],wide:["կիրակի","երկուշաբթի","երեքշաբթի","չորեքշաբթի","հինգշաբթի","ուրբաթ","շաբաթ"]},_T={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:"գիշեր"}},NT={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:"գիշերը"}},CT=(e,n)=>{const t=Number(e),a=t%100;return a<10&&a%10===1?t+"֊ին":t+"֊րդ"},VT={ordinalNumber:CT,era:o({values:jT,defaultWidth:"wide"}),quarter:o({values:zT,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:TT,defaultWidth:"wide"}),day:o({values:ST,defaultWidth:"wide"}),dayPeriod:o({values:_T,defaultWidth:"wide",formattingValues:NT,defaultFormattingWidth:"wide"})},ET=/^(\d+)((-|֊)?(ին|րդ))?/i,HT=/\d+/i,FT={narrow:/^(Ք|Մ)/i,abbreviated:/^(Ք\.?\s?Ա\.?|Մ\.?\s?Թ\.?\s?Ա\.?|Մ\.?\s?Թ\.?|Ք\.?\s?Հ\.?)/i,wide:/^(քրիստոսից առաջ|մեր թվարկությունից առաջ|մեր թվարկության|քրիստոսից հետո)/i},AT={any:[/^ք/i,/^մ/i]},OT={narrow:/^[1234]/i,abbreviated:/^ք[1234]/i,wide:/^[1234]((-|֊)?(ին|րդ)) քառորդ/i},IT={any:[/1/i,/2/i,/3/i,/4/i]},XT={narrow:/^[հփմաօսնդ]/i,abbreviated:/^(հուն|փետ|մար|ապր|մայ|հուն|հուլ|օգս|սեպ|հոկ|նոյ|դեկ)/i,wide:/^(հունվար|փետրվար|մարտ|ապրիլ|մայիս|հունիս|հուլիս|օգոստոս|սեպտեմբեր|հոկտեմբեր|նոյեմբեր|դեկտեմբեր)/i},LT={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]},YT={narrow:/^[եչհոշկ]/i,short:/^(կր|եր|եք|չք|հգ|ուր|շբ)/i,abbreviated:/^(կիր|երկ|երք|չոր|հնգ|ուրբ|շաբ)/i,wide:/^(կիրակի|երկուշաբթի|երեքշաբթի|չորեքշաբթի|հինգշաբթի|ուրբաթ|շաբաթ)/i},RT={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]},qT={narrow:/^([ap]|կեսգշ|կեսօր|(առավոտը?|ցերեկը?|երեկո(յան)?|գիշերը?))/i,any:/^([ap]\.?\s?m\.?|կեսգիշեր(ին)?|կեսօր(ին)?|(առավոտը?|ցերեկը?|երեկո(յան)?|գիշերը?))/i},GT={any:{am:/^a/i,pm:/^p/i,midnight:/կեսգիշեր/i,noon:/կեսօր/i,morning:/առավոտ/i,afternoon:/ցերեկ/i,evening:/երեկո/i,night:/գիշեր/i}},BT={ordinalNumber:K({matchPattern:ET,parsePattern:HT,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:FT,defaultMatchWidth:"wide",parsePatterns:AT,defaultParseWidth:"any"}),quarter:s({matchPatterns:OT,defaultMatchWidth:"wide",parsePatterns:IT,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:XT,defaultMatchWidth:"wide",parsePatterns:LT,defaultParseWidth:"any"}),day:s({matchPatterns:YT,defaultMatchWidth:"wide",parsePatterns:RT,defaultParseWidth:"wide"}),dayPeriod:s({matchPatterns:qT,defaultMatchWidth:"any",parsePatterns:GT,defaultParseWidth:"any"})},QT={code:"hy",formatDistance:PT,formatLong:WT,formatRelative:xT,localize:VT,match:BT,options:{weekStartsOn:1,firstWeekContainsDate:1}},KT={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"}},JT=(e,n,t)=>{let a;const r=KT[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",n.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"dalam waktu "+a:a+" yang lalu":a},UT={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"d/M/yyyy"},ZT={full:"HH.mm.ss",long:"HH.mm.ss",medium:"HH.mm",short:"HH.mm"},eS={full:"{{date}} 'pukul' {{time}}",long:"{{date}} 'pukul' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},tS={date:c({formats:UT,defaultWidth:"full"}),time:c({formats:ZT,defaultWidth:"full"}),dateTime:c({formats:eS,defaultWidth:"full"})},aS={lastWeek:"eeee 'lalu pukul' p",yesterday:"'Kemarin pukul' p",today:"'Hari ini pukul' p",tomorrow:"'Besok pukul' p",nextWeek:"eeee 'pukul' p",other:"P"},nS=(e,n,t,a)=>aS[e],rS={narrow:["SM","M"],abbreviated:["SM","M"],wide:["Sebelum Masehi","Masehi"]},iS={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["Kuartal ke-1","Kuartal ke-2","Kuartal ke-3","Kuartal ke-4"]},oS={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"]},sS={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"]},uS={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"}},dS={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"}},lS=(e,n)=>"ke-"+Number(e),mS={ordinalNumber:lS,era:o({values:rS,defaultWidth:"wide"}),quarter:o({values:iS,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:oS,defaultWidth:"wide"}),day:o({values:sS,defaultWidth:"wide"}),dayPeriod:o({values:uS,defaultWidth:"wide",formattingValues:dS,defaultFormattingWidth:"wide"})},cS=/^ke-(\d+)?/i,hS=/\d+/i,fS={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},gS={any:[/^s/i,/^(m|e)/i]},pS={narrow:/^[1234]/i,abbreviated:/^K-?\s[1234]/i,wide:/^Kuartal ke-?\s?[1234]/i},vS={any:[/1/i,/2/i,/3/i,/4/i]},yS={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},wS={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]},bS={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},PS={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]},kS={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},MS={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}},$S={ordinalNumber:K({matchPattern:cS,parsePattern:hS,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:fS,defaultMatchWidth:"wide",parsePatterns:gS,defaultParseWidth:"any"}),quarter:s({matchPatterns:pS,defaultMatchWidth:"wide",parsePatterns:vS,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:yS,defaultMatchWidth:"wide",parsePatterns:wS,defaultParseWidth:"any"}),day:s({matchPatterns:bS,defaultMatchWidth:"wide",parsePatterns:PS,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:kS,defaultMatchWidth:"any",parsePatterns:MS,defaultParseWidth:"any"})},WS={code:"id",formatDistance:JT,formatLong:tS,formatRelative:nS,localize:mS,match:$S,options:{weekStartsOn:1,firstWeekContainsDate:1}},DS={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"}},xS=(e,n,t)=>{let a;const r=DS[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",n.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"í "+a:a+" síðan":a},jS={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"d.MM.y"},zS={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},TS={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},SS={date:c({formats:jS,defaultWidth:"full"}),time:c({formats:zS,defaultWidth:"full"}),dateTime:c({formats:TS,defaultWidth:"full"})},_S={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"},NS=(e,n,t,a)=>_S[e],CS={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["fyrir Krist","eftir Krist"]},VS={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"]},ES={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"]},HS={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"]},FS={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"}},AS={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"}},OS=(e,n)=>Number(e)+".",IS={ordinalNumber:OS,era:o({values:CS,defaultWidth:"wide"}),quarter:o({values:VS,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:ES,defaultWidth:"wide"}),day:o({values:HS,defaultWidth:"wide"}),dayPeriod:o({values:FS,defaultWidth:"wide",formattingValues:AS,defaultFormattingWidth:"wide"})},XS=/^(\d+)(\.)?/i,LS=/\d+(\.)?/i,YS={narrow:/^(f\.Kr\.|e\.Kr\.)/i,abbreviated:/^(f\.Kr\.|e\.Kr\.)/i,wide:/^(fyrir Krist|eftir Krist)/i},RS={any:[/^(f\.Kr\.)/i,/^(e\.Kr\.)/i]},qS={narrow:/^[1234]\.?/i,abbreviated:/^q[1234]\.?/i,wide:/^[1234]\.? fjórðungur/i},GS={any:[/1\.?/i,/2\.?/i,/3\.?/i,/4\.?/i]},BS={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},QS={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]},KS={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},JS={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]},US={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},ZS={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}},e3={ordinalNumber:K({matchPattern:XS,parsePattern:LS,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:YS,defaultMatchWidth:"wide",parsePatterns:RS,defaultParseWidth:"any"}),quarter:s({matchPatterns:qS,defaultMatchWidth:"wide",parsePatterns:GS,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:BS,defaultMatchWidth:"wide",parsePatterns:QS,defaultParseWidth:"any"}),day:s({matchPatterns:KS,defaultMatchWidth:"wide",parsePatterns:JS,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:US,defaultMatchWidth:"any",parsePatterns:ZS,defaultParseWidth:"any"})},t3={code:"is",formatDistance:xS,formatLong:SS,formatRelative:NS,localize:IS,match:e3,options:{weekStartsOn:1,firstWeekContainsDate:4}},a3={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"}},wo=(e,n,t)=>{let a;const r=a3[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",n.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"tra "+a:a+" fa":a},n3={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},r3={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},i3={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},o3={date:c({formats:n3,defaultWidth:"full"}),time:c({formats:r3,defaultWidth:"full"}),dateTime:c({formats:i3,defaultWidth:"full"})},lr=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function s3(e){switch(e){case 0:return"'domenica scorsa alle' p";default:return"'"+lr[e]+" scorso alle' p"}}function li(e){return"'"+lr[e]+" alle' p"}function u3(e){switch(e){case 0:return"'domenica prossima alle' p";default:return"'"+lr[e]+" prossimo alle' p"}}const d3={lastWeek:(e,n,t)=>{const a=e.getDay();return Ae(e,n,t)?li(a):s3(a)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:(e,n,t)=>{const a=e.getDay();return Ae(e,n,t)?li(a):u3(a)},other:"P"},bo=(e,n,t,a)=>{const r=d3[e];return typeof r=="function"?r(n,t,a):r},l3={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},m3={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},c3={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"]},h3={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"]},f3={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"}},g3={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"}},p3=(e,n)=>{const t=Number(e);return String(t)},Po={ordinalNumber:p3,era:o({values:l3,defaultWidth:"wide"}),quarter:o({values:m3,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:c3,defaultWidth:"wide"}),day:o({values:h3,defaultWidth:"wide"}),dayPeriod:o({values:f3,defaultWidth:"wide",formattingValues:g3,defaultFormattingWidth:"wide"})},v3=/^(\d+)(º)?/i,y3=/\d+/i,w3={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},b3={any:[/^a/i,/^(d|e)/i]},P3={narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},k3={any:[/1/i,/2/i,/3/i,/4/i]},M3={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},$3={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]},W3={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},D3={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]},x3={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},j3={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}},ko={ordinalNumber:K({matchPattern:v3,parsePattern:y3,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:w3,defaultMatchWidth:"wide",parsePatterns:b3,defaultParseWidth:"any"}),quarter:s({matchPatterns:P3,defaultMatchWidth:"wide",parsePatterns:k3,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:M3,defaultMatchWidth:"wide",parsePatterns:$3,defaultParseWidth:"any"}),day:s({matchPatterns:W3,defaultMatchWidth:"wide",parsePatterns:D3,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:x3,defaultMatchWidth:"any",parsePatterns:j3,defaultParseWidth:"any"})},z3={code:"it",formatDistance:wo,formatLong:o3,formatRelative:bo,localize:Po,match:ko,options:{weekStartsOn:1,firstWeekContainsDate:4}},T3={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.y"},S3={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},_3={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},N3={date:c({formats:T3,defaultWidth:"full"}),time:c({formats:S3,defaultWidth:"full"}),dateTime:c({formats:_3,defaultWidth:"full"})},C3={code:"it-CH",formatDistance:wo,formatLong:N3,formatRelative:bo,localize:Po,match:ko,options:{weekStartsOn:1,firstWeekContainsDate:4}},V3={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}}年近く"}},E3=(e,n,t)=>{t=t||{};let a;const r=V3[e];return typeof r=="string"?a=r:n===1?t.addSuffix&&r.oneWithSuffix?a=r.oneWithSuffix:a=r.one:t.addSuffix&&r.otherWithSuffix?a=r.otherWithSuffix.replace("{{count}}",String(n)):a=r.other.replace("{{count}}",String(n)),t.addSuffix?t.comparison&&t.comparison>0?a+"後":a+"前":a},H3={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},F3={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},A3={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},O3={date:c({formats:H3,defaultWidth:"full"}),time:c({formats:F3,defaultWidth:"full"}),dateTime:c({formats:A3,defaultWidth:"full"})},I3={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},X3=(e,n,t,a)=>I3[e],L3={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},Y3={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},R3={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月"]},q3={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},G3={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:"深夜"}},B3={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:"深夜"}},Q3=(e,n)=>{const t=Number(e);switch(String(n==null?void 0:n.unit)){case"year":return`${t}年`;case"quarter":return`第${t}四半期`;case"month":return`${t}月`;case"week":return`第${t}週`;case"date":return`${t}日`;case"hour":return`${t}時`;case"minute":return`${t}分`;case"second":return`${t}秒`;default:return`${t}`}},K3={ordinalNumber:Q3,era:o({values:L3,defaultWidth:"wide"}),quarter:o({values:Y3,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:o({values:R3,defaultWidth:"wide"}),day:o({values:q3,defaultWidth:"wide"}),dayPeriod:o({values:G3,defaultWidth:"wide",formattingValues:B3,defaultFormattingWidth:"wide"})},J3=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,U3=/\d+/i,Z3={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},e_={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},t_={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},a_={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},n_={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},r_={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},i_={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},o_={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},s_={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},u_={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},d_={ordinalNumber:K({matchPattern:J3,parsePattern:U3,valueCallback:function(e){return parseInt(e,10)}}),era:s({matchPatterns:Z3,defaultMatchWidth:"wide",parsePatterns:e_,defaultParseWidth:"any"}),quarter:s({matchPatterns:t_,defaultMatchWidth:"wide",parsePatterns:a_,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:n_,defaultMatchWidth:"wide",parsePatterns:r_,defaultParseWidth:"any"}),day:s({matchPatterns:i_,defaultMatchWidth:"wide",parsePatterns:o_,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:s_,defaultMatchWidth:"any",parsePatterns:u_,defaultParseWidth:"any"})},l_={code:"ja",formatDistance:E3,formatLong:O3,formatRelative:X3,localize:K3,match:d_,options:{weekStartsOn:0,firstWeekContainsDate:1}},m_={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}}ねんちかく"}},c_=(e,n,t)=>{t=t||{};let a;const r=m_[e];return typeof r=="string"?a=r:n===1?t.addSuffix&&r.oneWithSuffix?a=r.oneWithSuffix:a=r.one:t.addSuffix&&r.otherWithSuffix?a=r.otherWithSuffix.replace("{{count}}",String(n)):a=r.other.replace("{{count}}",String(n)),t.addSuffix?t.comparison&&t.comparison>0?a+"あと":a+"まえ":a},h_={full:"yねんMがつdにちEEEE",long:"yねんMがつdにち",medium:"y/MM/dd",short:"y/MM/dd"},f_={full:"Hじmmふんssびょう zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},g_={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},p_={date:c({formats:h_,defaultWidth:"full"}),time:c({formats:f_,defaultWidth:"full"}),dateTime:c({formats:g_,defaultWidth:"full"})},v_={lastWeek:"せんしゅうのeeeeのp",yesterday:"きのうのp",today:"きょうのp",tomorrow:"あしたのp",nextWeek:"よくしゅうのeeeeのp",other:"P"},y_=(e,n,t,a)=>v_[e],w_={narrow:["BC","AC"],abbreviated:["きげんぜん","せいれき"],wide:["きげんぜん","せいれき"]},b_={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["だい1しはんき","だい2しはんき","だい3しはんき","だい4しはんき"]},P_={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がつ"]},k_={narrow:["にち","げつ","か","すい","もく","きん","ど"],short:["にち","げつ","か","すい","もく","きん","ど"],abbreviated:["にち","げつ","か","すい","もく","きん","ど"],wide:["にちようび","げつようび","かようび","すいようび","もくようび","きんようび","どようび"]},M_={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:"しんや"}},$_={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:"しんや"}},W_=(e,n)=>{const t=Number(e);switch(String(n==null?void 0:n.unit)){case"year":return`${t}ねん`;case"quarter":return`だい${t}しはんき`;case"month":return`${t}がつ`;case"week":return`だい${t}しゅう`;case"date":return`${t}にち`;case"hour":return`${t}じ`;case"minute":return`${t}ふん`;case"second":return`${t}びょう`;default:return`${t}`}},D_={ordinalNumber:W_,era:o({values:w_,defaultWidth:"wide"}),quarter:o({values:b_,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:o({values:P_,defaultWidth:"wide"}),day:o({values:k_,defaultWidth:"wide"}),dayPeriod:o({values:M_,defaultWidth:"wide",formattingValues:$_,defaultFormattingWidth:"wide"})},x_=/^だ?い?\d+(ねん|しはんき|がつ|しゅう|にち|じ|ふん|びょう)?/i,j_=/\d+/i,z_={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(きげん[前後]|せいれき)/i,wide:/^(きげん[前後]|せいれき)/i},T_={narrow:[/^B/i,/^A/i],any:[/^(きげんぜん)/i,/^(せいれき|きげんご)/i]},S_={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^だい[1234一二三四1234]しはんき/i},__={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},N_={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])がつ/i,wide:/^([123456789]|1[012])がつ/i},C_={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},V_={narrow:/^(にち|げつ|か|すい|もく|きん|ど)/,short:/^(にち|げつ|か|すい|もく|きん|ど)/,abbreviated:/^(にち|げつ|か|すい|もく|きん|ど)/,wide:/^(にち|げつ|か|すい|もく|きん|ど)ようび/},E_={any:[/^にち/,/^げつ/,/^か/,/^すい/,/^もく/,/^きん/,/^ど/]},H_={any:/^(AM|PM|ごぜん|ごご|しょうご|しんや|まよなか|よる|あさ)/i},F_={any:{am:/^(A|ごぜん)/i,pm:/^(P|ごご)/i,midnight:/^しんや|まよなか/i,noon:/^しょうご/i,morning:/^あさ/i,afternoon:/^ごご/i,evening:/^よる/i,night:/^しんや/i}},A_={ordinalNumber:K({matchPattern:x_,parsePattern:j_,valueCallback:function(e){return parseInt(e,10)}}),era:s({matchPatterns:z_,defaultMatchWidth:"wide",parsePatterns:T_,defaultParseWidth:"any"}),quarter:s({matchPatterns:S_,defaultMatchWidth:"wide",parsePatterns:__,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:N_,defaultMatchWidth:"wide",parsePatterns:C_,defaultParseWidth:"any"}),day:s({matchPatterns:V_,defaultMatchWidth:"wide",parsePatterns:E_,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:H_,defaultMatchWidth:"any",parsePatterns:F_,defaultParseWidth:"any"})},O_={code:"ja-Hira",formatDistance:c_,formatLong:p_,formatRelative:y_,localize:D_,match:A_,options:{weekStartsOn:0,firstWeekContainsDate:1}},I_={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}} წელში"}},X_=(e,n,t)=>{let a;const r=I_[e];return typeof r=="string"?a=r:t!=null&&t.addSuffix&&t.comparison&&t.comparison>0?a=r.future.replace("{{count}}",String(n)):t!=null&&t.addSuffix?a=r.past.replace("{{count}}",String(n)):a=r.present.replace("{{count}}",String(n)),a},L_={full:"EEEE, do MMMM, y",long:"do, MMMM, y",medium:"d, MMM, y",short:"dd/MM/yyyy"},Y_={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},R_={full:"{{date}} {{time}}'-ზე'",long:"{{date}} {{time}}'-ზე'",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},q_={date:c({formats:L_,defaultWidth:"full"}),time:c({formats:Y_,defaultWidth:"full"}),dateTime:c({formats:R_,defaultWidth:"full"})},G_={lastWeek:"'წინა' eeee p'-ზე'",yesterday:"'გუშინ' p'-ზე'",today:"'დღეს' p'-ზე'",tomorrow:"'ხვალ' p'-ზე'",nextWeek:"'შემდეგი' eeee p'-ზე'",other:"P"},B_=(e,n,t,a)=>G_[e],Q_={narrow:["ჩ.წ-მდე","ჩ.წ"],abbreviated:["ჩვ.წ-მდე","ჩვ.წ"],wide:["ჩვენს წელთაღრიცხვამდე","ჩვენი წელთაღრიცხვით"]},K_={narrow:["1","2","3","4"],abbreviated:["1-ლი კვ","2-ე კვ","3-ე კვ","4-ე კვ"],wide:["1-ლი კვარტალი","2-ე კვარტალი","3-ე კვარტალი","4-ე კვარტალი"]},J_={narrow:["ია","თე","მა","აპ","მს","ვნ","ვლ","აგ","სე","ოქ","ნო","დე"],abbreviated:["იან","თებ","მარ","აპრ","მაი","ივნ","ივლ","აგვ","სექ","ოქტ","ნოე","დეკ"],wide:["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი"]},U_={narrow:["კვ","ორ","სა","ოთ","ხუ","პა","შა"],short:["კვი","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ"],abbreviated:["კვი","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ"],wide:["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"]},Z_={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:"ღამე"}},eN={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:"ღამით"}},tN=e=>{const n=Number(e);return n===1?n+"-ლი":n+"-ე"},aN={ordinalNumber:tN,era:o({values:Q_,defaultWidth:"wide"}),quarter:o({values:K_,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:J_,defaultWidth:"wide"}),day:o({values:U_,defaultWidth:"wide"}),dayPeriod:o({values:Z_,defaultWidth:"wide",formattingValues:eN,defaultFormattingWidth:"wide"})},nN=/^(\d+)(-ლი|-ე)?/i,rN=/\d+/i,iN={narrow:/^(ჩვ?\.წ)/i,abbreviated:/^(ჩვ?\.წ)/i,wide:/^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე|ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i},oN={any:[/^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე)/i,/^(ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i]},sN={narrow:/^[1234]/i,abbreviated:/^[1234]-(ლი|ე)? კვ/i,wide:/^[1234]-(ლი|ე)? კვარტალი/i},uN={any:[/1/i,/2/i,/3/i,/4/i]},dN={any:/^(ია|თე|მა|აპ|მს|ვნ|ვლ|აგ|სე|ოქ|ნო|დე)/i},lN={any:[/^ია/i,/^თ/i,/^მარ/i,/^აპ/i,/^მაი/i,/^ი?ვნ/i,/^ი?ვლ/i,/^აგ/i,/^ს/i,/^ო/i,/^ნ/i,/^დ/i]},mN={narrow:/^(კვ|ორ|სა|ოთ|ხუ|პა|შა)/i,short:/^(კვი|ორშ|სამ|ოთხ|ხუთ|პარ|შაბ)/i,wide:/^(კვირა|ორშაბათი|სამშაბათი|ოთხშაბათი|ხუთშაბათი|პარასკევი|შაბათი)/i},cN={any:[/^კვ/i,/^ორ/i,/^სა/i,/^ოთ/i,/^ხუ/i,/^პა/i,/^შა/i]},hN={any:/^([ap]\.?\s?m\.?|შუაღ|დილ)/i},fN={any:{am:/^a/i,pm:/^p/i,midnight:/^შუაღ/i,noon:/^შუადღ/i,morning:/^დილ/i,afternoon:/ნაშუადღევს/i,evening:/საღამო/i,night:/ღამ/i}},gN={ordinalNumber:K({matchPattern:nN,parsePattern:rN,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:iN,defaultMatchWidth:"wide",parsePatterns:oN,defaultParseWidth:"any"}),quarter:s({matchPatterns:sN,defaultMatchWidth:"wide",parsePatterns:uN,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:dN,defaultMatchWidth:"any",parsePatterns:lN,defaultParseWidth:"any"}),day:s({matchPatterns:mN,defaultMatchWidth:"wide",parsePatterns:cN,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:hN,defaultMatchWidth:"any",parsePatterns:fN,defaultParseWidth:"any"})},pN={code:"ka",formatDistance:X_,formatLong:q_,formatRelative:B_,localize:aN,match:gN,options:{weekStartsOn:1,firstWeekContainsDate:1}},vN={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:e=>e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"жарты минут ішінде":"жарты минут бұрын":"жарты минут",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 Na(e,n){if(e.one&&n===1)return e.one;const t=n%10,a=n%100;return t===1&&a!==11?e.singularNominative.replace("{{count}}",String(n)):t>=2&&t<=4&&(a<10||a>20)?e.singularGenitive.replace("{{count}}",String(n)):e.pluralGenitive.replace("{{count}}",String(n))}const yN=(e,n,t)=>{const a=vN[e];return typeof a=="function"?a(t):a.type==="weeks"?n===1?a.one:a.other.replace("{{count}}",String(n)):t!=null&&t.addSuffix?t.comparison&&t.comparison>0?a.future?Na(a.future,n):Na(a.regular,n)+" кейін":a.past?Na(a.past,n):Na(a.regular,n)+" бұрын":Na(a.regular,n)},wN={full:"EEEE, do MMMM y 'ж.'",long:"do MMMM y 'ж.'",medium:"d MMM y 'ж.'",short:"dd.MM.yyyy"},bN={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},PN={any:"{{date}}, {{time}}"},kN={date:c({formats:wN,defaultWidth:"full"}),time:c({formats:bN,defaultWidth:"full"}),dateTime:c({formats:PN,defaultWidth:"any"})},mr=["жексенбіде","дүйсенбіде","сейсенбіде","сәрсенбіде","бейсенбіде","жұмада","сенбіде"];function MN(e){return"'өткен "+mr[e]+" сағат' p'-де'"}function mi(e){return"'"+mr[e]+" сағат' p'-де'"}function $N(e){return"'келесі "+mr[e]+" сағат' p'-де'"}const WN={lastWeek:(e,n,t)=>{const a=e.getDay();return Ae(e,n,t)?mi(a):MN(a)},yesterday:"'кеше сағат' p'-де'",today:"'бүгін сағат' p'-де'",tomorrow:"'ертең сағат' p'-де'",nextWeek:(e,n,t)=>{const a=e.getDay();return Ae(e,n,t)?mi(a):$N(a)},other:"P"},DN=(e,n,t,a)=>{const r=WN[e];return typeof r=="function"?r(n,t,a):r},xN={narrow:["б.з.д.","б.з."],abbreviated:["б.з.д.","б.з."],wide:["біздің заманымызға дейін","біздің заманымыз"]},jN={narrow:["1","2","3","4"],abbreviated:["1-ші тоқ.","2-ші тоқ.","3-ші тоқ.","4-ші тоқ."],wide:["1-ші тоқсан","2-ші тоқсан","3-ші тоқсан","4-ші тоқсан"]},zN={narrow:["Қ","А","Н","С","М","М","Ш","Т","Қ","Қ","Қ","Ж"],abbreviated:["қаң","ақп","нау","сәу","мам","мау","шіл","там","қыр","қаз","қар","жел"],wide:["қаңтар","ақпан","наурыз","сәуір","мамыр","маусым","шілде","тамыз","қыркүйек","қазан","қараша","желтоқсан"]},TN={narrow:["Қ","А","Н","С","М","М","Ш","Т","Қ","Қ","Қ","Ж"],abbreviated:["қаң","ақп","нау","сәу","мам","мау","шіл","там","қыр","қаз","қар","жел"],wide:["қаңтар","ақпан","наурыз","сәуір","мамыр","маусым","шілде","тамыз","қыркүйек","қазан","қараша","желтоқсан"]},SN={narrow:["Ж","Д","С","С","Б","Ж","С"],short:["жс","дс","сс","ср","бс","жм","сб"],abbreviated:["жс","дс","сс","ср","бс","жм","сб"],wide:["жексенбі","дүйсенбі","сейсенбі","сәрсенбі","бейсенбі","жұма","сенбі"]},_N={narrow:{am:"ТД",pm:"ТК",midnight:"түн ортасы",noon:"түс",morning:"таң",afternoon:"күндіз",evening:"кеш",night:"түн"},wide:{am:"ТД",pm:"ТК",midnight:"түн ортасы",noon:"түс",morning:"таң",afternoon:"күндіз",evening:"кеш",night:"түн"}},NN={narrow:{am:"ТД",pm:"ТК",midnight:"түн ортасында",noon:"түс",morning:"таң",afternoon:"күн",evening:"кеш",night:"түн"},wide:{am:"ТД",pm:"ТК",midnight:"түн ортасында",noon:"түсте",morning:"таңертең",afternoon:"күндіз",evening:"кеште",night:"түнде"}},$n={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"},CN=(e,n)=>{const t=Number(e),a=t%10,r=t>=100?100:null,i=$n[t]||$n[a]||r&&$n[r]||"";return t+i},VN={ordinalNumber:CN,era:o({values:xN,defaultWidth:"wide"}),quarter:o({values:jN,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:zN,defaultWidth:"wide",formattingValues:TN,defaultFormattingWidth:"wide"}),day:o({values:SN,defaultWidth:"wide"}),dayPeriod:o({values:_N,defaultWidth:"any",formattingValues:NN,defaultFormattingWidth:"wide"})},EN=/^(\d+)(-?(ші|шы))?/i,HN=/\d+/i,FN={narrow:/^((б )?з\.?\s?д\.?)/i,abbreviated:/^((б )?з\.?\s?д\.?)/i,wide:/^(біздің заманымызға дейін|біздің заманымыз|біздің заманымыздан)/i},AN={any:[/^б/i,/^з/i]},ON={narrow:/^[1234]/i,abbreviated:/^[1234](-?ші)? тоқ.?/i,wide:/^[1234](-?ші)? тоқсан/i},IN={any:[/1/i,/2/i,/3/i,/4/i]},XN={narrow:/^(қ|а|н|с|м|мау|ш|т|қыр|қаз|қар|ж)/i,abbreviated:/^(қаң|ақп|нау|сәу|мам|мау|шіл|там|қыр|қаз|қар|жел)/i,wide:/^(қаңтар|ақпан|наурыз|сәуір|мамыр|маусым|шілде|тамыз|қыркүйек|қазан|қараша|желтоқсан)/i},LN={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]},YN={narrow:/^(ж|д|с|с|б|ж|с)/i,short:/^(жс|дс|сс|ср|бс|жм|сб)/i,wide:/^(жексенбі|дүйсенбі|сейсенбі|сәрсенбі|бейсенбі|жұма|сенбі)/i},RN={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]},qN={narrow:/^Т\.?\s?[ДК]\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\.?)/i,wide:/^Т\.?\s?[ДК]\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\.?)/i,any:/^Т\.?\s?[ДК]\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\.?)/i},GN={any:{am:/^ТД/i,pm:/^ТК/i,midnight:/^түн орта/i,noon:/^күндіз/i,morning:/таң/i,afternoon:/түс/i,evening:/кеш/i,night:/түн/i}},BN={ordinalNumber:K({matchPattern:EN,parsePattern:HN,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:FN,defaultMatchWidth:"wide",parsePatterns:AN,defaultParseWidth:"any"}),quarter:s({matchPatterns:ON,defaultMatchWidth:"wide",parsePatterns:IN,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:XN,defaultMatchWidth:"wide",parsePatterns:LN,defaultParseWidth:"any"}),day:s({matchPatterns:YN,defaultMatchWidth:"wide",parsePatterns:RN,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:qN,defaultMatchWidth:"wide",parsePatterns:GN,defaultParseWidth:"any"})},QN={code:"kk",formatDistance:yN,formatLong:kN,formatRelative:DN,localize:VN,match:BN,options:{weekStartsOn:1,firstWeekContainsDate:1}},KN={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}} ឆ្នាំ"},JN=(e,n,t)=>{let r=KN[e];return typeof n=="number"&&(r=r.replace("{{count}}",n.toString())),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"ក្នុងរយៈពេល "+r:r+"មុន":r},UN={full:"EEEE do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},ZN={full:"h:mm:ss a",long:"h:mm:ss a",medium:"h:mm:ss a",short:"h:mm a"},eC={full:"{{date}} 'ម៉ោង' {{time}}",long:"{{date}} 'ម៉ោង' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},tC={date:c({formats:UN,defaultWidth:"full"}),time:c({formats:ZN,defaultWidth:"full"}),dateTime:c({formats:eC,defaultWidth:"full"})},aC={lastWeek:"'ថ្ងៃ'eeee'សប្តាហ៍មុនម៉ោង' p",yesterday:"'ម្សិលមិញនៅម៉ោង' p",today:"'ថ្ងៃនេះម៉ោង' p",tomorrow:"'ថ្ងៃស្អែកម៉ោង' p",nextWeek:"'ថ្ងៃ'eeee'សប្តាហ៍ក្រោយម៉ោង' p",other:"P"},nC=(e,n,t,a)=>aC[e],rC={narrow:["ម.គស","គស"],abbreviated:["មុនគ.ស","គ.ស"],wide:["មុនគ្រិស្តសករាជ","នៃគ្រិស្តសករាជ"]},iC={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["ត្រីមាសទី 1","ត្រីមាសទី 2","ត្រីមាសទី 3","ត្រីមាសទី 4"]},oC={narrow:["ម.ក","ក.ម","មិ","ម.ស","ឧ.ស","ម.ថ","ក.ដ","សី","កញ","តុ","វិ","ធ"],abbreviated:["មករា","កុម្ភៈ","មីនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],wide:["មករា","កុម្ភៈ","មីនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"]},sC={narrow:["អា","ច","អ","ព","ព្រ","សុ","ស"],short:["អា","ច","អ","ព","ព្រ","សុ","ស"],abbreviated:["អា","ច","អ","ព","ព្រ","សុ","ស"],wide:["អាទិត្យ","ចន្ទ","អង្គារ","ពុធ","ព្រហស្បតិ៍","សុក្រ","សៅរ៍"]},uC={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:"ពេលយប់"}},dC={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:"ពេលយប់"}},lC=(e,n)=>Number(e).toString(),mC={ordinalNumber:lC,era:o({values:rC,defaultWidth:"wide"}),quarter:o({values:iC,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:oC,defaultWidth:"wide"}),day:o({values:sC,defaultWidth:"wide"}),dayPeriod:o({values:uC,defaultWidth:"wide",formattingValues:dC,defaultFormattingWidth:"wide"})},cC=/^(\d+)(th|st|nd|rd)?/i,hC=/\d+/i,fC={narrow:/^(ម\.)?គស/i,abbreviated:/^(មុន)?គ\.ស/i,wide:/^(មុន|នៃ)គ្រិស្តសករាជ/i},gC={any:[/^(ម|មុន)គ\.?ស/i,/^(នៃ)?គ\.?ស/i]},pC={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^(ត្រីមាស)(ទី)?\s?[1234]/i},vC={any:[/1/i,/2/i,/3/i,/4/i]},yC={narrow:/^(ម\.ក|ក\.ម|មិ|ម\.ស|ឧ\.ស|ម\.ថ|ក\.ដ|សី|កញ|តុ|វិ|ធ)/i,abbreviated:/^(មករា|កុម្ភៈ|មីនា|មេសា|ឧសភា|មិថុនា|កក្កដា|សីហា|កញ្ញា|តុលា|វិច្ឆិកា|ធ្នូ)/i,wide:/^(មករា|កុម្ភៈ|មីនា|មេសា|ឧសភា|មិថុនា|កក្កដា|សីហា|កញ្ញា|តុលា|វិច្ឆិកា|ធ្នូ)/i},wC={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]},bC={narrow:/^(អា|ច|អ|ព|ព្រ|សុ|ស)/i,short:/^(អា|ច|អ|ព|ព្រ|សុ|ស)/i,abbreviated:/^(អា|ច|អ|ព|ព្រ|សុ|ស)/i,wide:/^(អាទិត្យ|ចន្ទ|អង្គារ|ពុធ|ព្រហស្បតិ៍|សុក្រ|សៅរ៍)/i},PC={narrow:[/^អា/i,/^ច/i,/^អ/i,/^ព/i,/^ព្រ/i,/^សុ/i,/^ស/i],any:[/^អា/i,/^ច/i,/^អ/i,/^ព/i,/^ព្រ/i,/^សុ/i,/^សៅ/i]},kC={narrow:/^(ព្រឹក|ល្ងាច|ពេលព្រឹក|ពេលថ្ងៃត្រង់|ពេលល្ងាច|ពេលរសៀល|ពេលយប់|ពេលកណ្ដាលអធ្រាត្រ)/i,any:/^(ព្រឹក|ល្ងាច|ពេលព្រឹក|ពេលថ្ងៃត្រង់|ពេលល្ងាច|ពេលរសៀល|ពេលយប់|ពេលកណ្ដាលអធ្រាត្រ)/i},MC={any:{am:/^ព្រឹក/i,pm:/^ល្ងាច/i,midnight:/^ពេលកណ្ដាលអធ្រាត្រ/i,noon:/^ពេលថ្ងៃត្រង់/i,morning:/ពេលព្រឹក/i,afternoon:/ពេលរសៀល/i,evening:/ពេលល្ងាច/i,night:/ពេលយប់/i}},$C={ordinalNumber:K({matchPattern:cC,parsePattern:hC,valueCallback:function(e){return parseInt(e,10)}}),era:s({matchPatterns:fC,defaultMatchWidth:"wide",parsePatterns:gC,defaultParseWidth:"any"}),quarter:s({matchPatterns:pC,defaultMatchWidth:"wide",parsePatterns:vC,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:yC,defaultMatchWidth:"wide",parsePatterns:wC,defaultParseWidth:"any"}),day:s({matchPatterns:bC,defaultMatchWidth:"wide",parsePatterns:PC,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:kC,defaultMatchWidth:"any",parsePatterns:MC,defaultParseWidth:"any"})},WC={code:"km",formatDistance:JN,formatLong:tC,formatRelative:nC,localize:mC,match:$C,options:{weekStartsOn:0,firstWeekContainsDate:1}},DC={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}} ದಿನಗಳ ಹಿಂದೆ"}},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 ci(e,n){return n!=null&&n.addSuffix?n.comparison&&n.comparison>0?e.future:e.past:e.default}const xC=(e,n,t)=>{let a;const r=DC[e];return r.one&&n===1?a=ci(r.one,t):a=ci(r.other,t),a.replace("{{count}}",String(n))},jC={full:"EEEE, MMMM d, y",long:"MMMM d, y",medium:"MMM d, y",short:"d/M/yy"},zC={full:"hh:mm:ss a zzzz",long:"hh:mm:ss a z",medium:"hh:mm:ss a",short:"hh:mm a"},TC={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},SC={date:c({formats:jC,defaultWidth:"full"}),time:c({formats:zC,defaultWidth:"full"}),dateTime:c({formats:TC,defaultWidth:"full"})},_C={lastWeek:"'ಕಳೆದ' eeee p 'ಕ್ಕೆ'",yesterday:"'ನಿನ್ನೆ' p 'ಕ್ಕೆ'",today:"'ಇಂದು' p 'ಕ್ಕೆ'",tomorrow:"'ನಾಳೆ' p 'ಕ್ಕೆ'",nextWeek:"eeee p 'ಕ್ಕೆ'",other:"P"},NC=(e,n,t,a)=>_C[e],CC={narrow:["ಕ್ರಿ.ಪೂ","ಕ್ರಿ.ಶ"],abbreviated:["ಕ್ರಿ.ಪೂ","ಕ್ರಿ.ಶ"],wide:["ಕ್ರಿಸ್ತ ಪೂರ್ವ","ಕ್ರಿಸ್ತ ಶಕ"]},VC={narrow:["1","2","3","4"],abbreviated:["ತ್ರೈ 1","ತ್ರೈ 2","ತ್ರೈ 3","ತ್ರೈ 4"],wide:["1ನೇ ತ್ರೈಮಾಸಿಕ","2ನೇ ತ್ರೈಮಾಸಿಕ","3ನೇ ತ್ರೈಮಾಸಿಕ","4ನೇ ತ್ರೈಮಾಸಿಕ"]},EC={narrow:["ಜ","ಫೆ","ಮಾ","ಏ","ಮೇ","ಜೂ","ಜು","ಆ","ಸೆ","ಅ","ನ","ಡಿ"],abbreviated:["ಜನ","ಫೆಬ್ರ","ಮಾರ್ಚ್","ಏಪ್ರಿ","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗ","ಸೆಪ್ಟೆಂ","ಅಕ್ಟೋ","ನವೆಂ","ಡಿಸೆಂ"],wide:["ಜನವರಿ","ಫೆಬ್ರವರಿ","ಮಾರ್ಚ್","ಏಪ್ರಿಲ್","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗಸ್ಟ್","ಸೆಪ್ಟೆಂಬರ್","ಅಕ್ಟೋಬರ್","ನವೆಂಬರ್","ಡಿಸೆಂಬರ್"]},HC={narrow:["ಭಾ","ಸೋ","ಮಂ","ಬು","ಗು","ಶು","ಶ"],short:["ಭಾನು","ಸೋಮ","ಮಂಗಳ","ಬುಧ","ಗುರು","ಶುಕ್ರ","ಶನಿ"],abbreviated:["ಭಾನು","ಸೋಮ","ಮಂಗಳ","ಬುಧ","ಗುರು","ಶುಕ್ರ","ಶನಿ"],wide:["ಭಾನುವಾರ","ಸೋಮವಾರ","ಮಂಗಳವಾರ","ಬುಧವಾರ","ಗುರುವಾರ","ಶುಕ್ರವಾರ","ಶನಿವಾರ"]},FC={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:"ರಾತ್ರಿ"}},AC={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:"ರಾತ್ರಿ"}},OC=(e,n)=>Number(e)+"ನೇ",IC={ordinalNumber:OC,era:o({values:CC,defaultWidth:"wide"}),quarter:o({values:VC,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:EC,defaultWidth:"wide"}),day:o({values:HC,defaultWidth:"wide"}),dayPeriod:o({values:FC,defaultWidth:"wide",formattingValues:AC,defaultFormattingWidth:"wide"})},XC=/^(\d+)(ನೇ|ನೆ)?/i,LC=/\d+/i,YC={narrow:/^(ಕ್ರಿ.ಪೂ|ಕ್ರಿ.ಶ)/i,abbreviated:/^(ಕ್ರಿ\.?\s?ಪೂ\.?|ಕ್ರಿ\.?\s?ಶ\.?|ಪ್ರ\.?\s?ಶ\.?)/i,wide:/^(ಕ್ರಿಸ್ತ ಪೂರ್ವ|ಕ್ರಿಸ್ತ ಶಕ|ಪ್ರಸಕ್ತ ಶಕ)/i},RC={any:[/^ಪೂ/i,/^(ಶ|ಪ್ರ)/i]},qC={narrow:/^[1234]/i,abbreviated:/^ತ್ರೈ[1234]|ತ್ರೈ [1234]| [1234]ತ್ರೈ/i,wide:/^[1234](ನೇ)? ತ್ರೈಮಾಸಿಕ/i},GC={any:[/1/i,/2/i,/3/i,/4/i]},BC={narrow:/^(ಜೂ|ಜು|ಜ|ಫೆ|ಮಾ|ಏ|ಮೇ|ಆ|ಸೆ|ಅ|ನ|ಡಿ)/i,abbreviated:/^(ಜನ|ಫೆಬ್ರ|ಮಾರ್ಚ್|ಏಪ್ರಿ|ಮೇ|ಜೂನ್|ಜುಲೈ|ಆಗ|ಸೆಪ್ಟೆಂ|ಅಕ್ಟೋ|ನವೆಂ|ಡಿಸೆಂ)/i,wide:/^(ಜನವರಿ|ಫೆಬ್ರವರಿ|ಮಾರ್ಚ್|ಏಪ್ರಿಲ್|ಮೇ|ಜೂನ್|ಜುಲೈ|ಆಗಸ್ಟ್|ಸೆಪ್ಟೆಂಬರ್|ಅಕ್ಟೋಬರ್|ನವೆಂಬರ್|ಡಿಸೆಂಬರ್)/i},QC={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]},KC={narrow:/^(ಭಾ|ಸೋ|ಮ|ಬು|ಗು|ಶು|ಶ)/i,short:/^(ಭಾನು|ಸೋಮ|ಮಂಗಳ|ಬುಧ|ಗುರು|ಶುಕ್ರ|ಶನಿ)/i,abbreviated:/^(ಭಾನು|ಸೋಮ|ಮಂಗಳ|ಬುಧ|ಗುರು|ಶುಕ್ರ|ಶನಿ)/i,wide:/^(ಭಾನುವಾರ|ಸೋಮವಾರ|ಮಂಗಳವಾರ|ಬುಧವಾರ|ಗುರುವಾರ|ಶುಕ್ರವಾರ|ಶನಿವಾರ)/i},JC={narrow:[/^ಭಾ/i,/^ಸೋ/i,/^ಮ/i,/^ಬು/i,/^ಗು/i,/^ಶು/i,/^ಶ/i],any:[/^ಭಾ/i,/^ಸೋ/i,/^ಮ/i,/^ಬು/i,/^ಗು/i,/^ಶು/i,/^ಶ/i]},UC={narrow:/^(ಪೂ|ಅ|ಮಧ್ಯರಾತ್ರಿ|ಮಧ್ಯಾನ್ಹ|ಬೆಳಗ್ಗೆ|ಸಂಜೆ|ರಾತ್ರಿ)/i,any:/^(ಪೂರ್ವಾಹ್ನ|ಅಪರಾಹ್ನ|ಮಧ್ಯರಾತ್ರಿ|ಮಧ್ಯಾನ್ಹ|ಬೆಳಗ್ಗೆ|ಸಂಜೆ|ರಾತ್ರಿ)/i},ZC={any:{am:/^ಪೂ/i,pm:/^ಅ/i,midnight:/ಮಧ್ಯರಾತ್ರಿ/i,noon:/ಮಧ್ಯಾನ್ಹ/i,morning:/ಬೆಳಗ್ಗೆ/i,afternoon:/ಮಧ್ಯಾನ್ಹ/i,evening:/ಸಂಜೆ/i,night:/ರಾತ್ರಿ/i}},e4={ordinalNumber:K({matchPattern:XC,parsePattern:LC,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:YC,defaultMatchWidth:"wide",parsePatterns:RC,defaultParseWidth:"any"}),quarter:s({matchPatterns:qC,defaultMatchWidth:"wide",parsePatterns:GC,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:BC,defaultMatchWidth:"wide",parsePatterns:QC,defaultParseWidth:"any"}),day:s({matchPatterns:KC,defaultMatchWidth:"wide",parsePatterns:JC,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:UC,defaultMatchWidth:"any",parsePatterns:ZC,defaultParseWidth:"any"})},t4={code:"kn",formatDistance:xC,formatLong:SC,formatRelative:NC,localize:IC,match:e4,options:{weekStartsOn:1,firstWeekContainsDate:1}},a4={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}}년"}},n4=(e,n,t)=>{let a;const r=a4[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",n.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?a+" 후":a+" 전":a},r4={full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},i4={full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},o4={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},s4={date:c({formats:r4,defaultWidth:"full"}),time:c({formats:i4,defaultWidth:"full"}),dateTime:c({formats:o4,defaultWidth:"full"})},u4={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},d4=(e,n,t,a)=>u4[e],l4={narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},m4={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},c4={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월"]},h4={narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},f4={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:"밤"}},g4={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:"밤"}},p4=(e,n)=>{const t=Number(e);switch(String(n==null?void 0:n.unit)){case"minute":case"second":return String(t);case"date":return t+"일";default:return t+"번째"}},v4={ordinalNumber:p4,era:o({values:l4,defaultWidth:"wide"}),quarter:o({values:m4,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:c4,defaultWidth:"wide"}),day:o({values:h4,defaultWidth:"wide"}),dayPeriod:o({values:f4,defaultWidth:"wide",formattingValues:g4,defaultFormattingWidth:"wide"})},y4=/^(\d+)(일|번째)?/i,w4=/\d+/i,b4={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},P4={any:[/^(bc|기원전)/i,/^(ad|서기)/i]},k4={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},M4={any:[/1/i,/2/i,/3/i,/4/i]},$4={narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},W4={any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},D4={narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},x4={any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},j4={any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},z4={any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},T4={ordinalNumber:K({matchPattern:y4,parsePattern:w4,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:b4,defaultMatchWidth:"wide",parsePatterns:P4,defaultParseWidth:"any"}),quarter:s({matchPatterns:k4,defaultMatchWidth:"wide",parsePatterns:M4,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:$4,defaultMatchWidth:"wide",parsePatterns:W4,defaultParseWidth:"any"}),day:s({matchPatterns:D4,defaultMatchWidth:"wide",parsePatterns:x4,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:j4,defaultMatchWidth:"any",parsePatterns:z4,defaultParseWidth:"any"})},S4={code:"ko",formatDistance:n4,formatLong:s4,formatRelative:d4,localize:v4,match:T4,options:{weekStartsOn:0,firstWeekContainsDate:1}},_4={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"}}},N4=["d","h","n","t","z"],C4=["a,","e","i","o","u"],V4=[0,1,2,3,8,9],E4=[40,50,60,70];function hi(e){const n=e.charAt(0).toLowerCase();if(C4.indexOf(n)!=-1||N4.indexOf(n)!=-1)return!0;const t=e.split(" ")[0],a=parseInt(t);return!isNaN(a)&&V4.indexOf(a%10)!=-1&&E4.indexOf(parseInt(t.substring(0,2)))==-1}const H4=(e,n,t)=>{let a;const r=_4[e],i=t!=null&&t.addSuffix?r.withPreposition:r.standalone;return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"a"+(hi(a)?"n":"")+" "+a:"viru"+(hi(a)?"n":"")+" "+a:a},F4={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.yy"},A4={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},O4={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},I4={date:c({formats:F4,defaultWidth:"full"}),time:c({formats:A4,defaultWidth:"full"}),dateTime:c({formats:O4,defaultWidth:"full"})},X4={lastWeek:e=>{const n=e.getDay();let t="'läschte";return(n===2||n===4)&&(t+="n"),t+="' eeee 'um' p",t},yesterday:"'gëschter um' p",today:"'haut um' p",tomorrow:"'moien um' p",nextWeek:"eeee 'um' p",other:"P"},L4=(e,n,t,a)=>{const r=X4[e];return typeof r=="function"?r(n):r},Y4={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["viru Christus","no Christus"]},R4={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},q4={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"]},G4={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"]},B4={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"}},Q4={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"}},K4=(e,n)=>Number(e)+".",J4={ordinalNumber:K4,era:o({values:Y4,defaultWidth:"wide"}),quarter:o({values:R4,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:q4,defaultWidth:"wide"}),day:o({values:G4,defaultWidth:"wide"}),dayPeriod:o({values:B4,defaultWidth:"wide",formattingValues:Q4,defaultFormattingWidth:"wide"})},U4=/^(\d+)(\.)?/i,Z4=/\d+/i,eV={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},tV={any:[/^v/i,/^n/i]},aV={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},nV={any:[/1/i,/2/i,/3/i,/4/i]},rV={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},iV={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]},oV={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},sV={any:[/^so/i,/^mé/i,/^dë/i,/^më/i,/^do/i,/^f/i,/^sa/i]},uV={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},dV={any:{am:/^m/i,pm:/^n/i,midnight:/^Mëtter/i,noon:/^mëttes/i,morning:/moies/i,afternoon:/nomëttes/i,evening:/owes/i,night:/nuets/i}},lV={ordinalNumber:K({matchPattern:U4,parsePattern:Z4,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:eV,defaultMatchWidth:"wide",parsePatterns:tV,defaultParseWidth:"any"}),quarter:s({matchPatterns:aV,defaultMatchWidth:"wide",parsePatterns:nV,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:rV,defaultMatchWidth:"wide",parsePatterns:iV,defaultParseWidth:"any"}),day:s({matchPatterns:oV,defaultMatchWidth:"wide",parsePatterns:sV,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:uV,defaultMatchWidth:"wide",parsePatterns:dV,defaultParseWidth:"any"})},mV={code:"lb",formatDistance:H4,formatLong:I4,formatRelative:L4,localize:J4,match:lV,options:{weekStartsOn:1,firstWeekContainsDate:4}},Mo={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"},fi=(e,n,t,a)=>n?a?"kelių sekundžių":"kelias sekundes":"kelios sekundės",yt=(e,n,t,a)=>n?a?Jt(t)[1]:Jt(t)[2]:Jt(t)[0],dt=(e,n,t,a)=>{const r=e+" ";return e===1?r+yt(e,n,t,a):n?a?r+Jt(t)[1]:r+(gi(e)?Jt(t)[1]:Jt(t)[2]):r+(gi(e)?Jt(t)[1]:Jt(t)[0])};function gi(e){return e%10===0||e>10&&e<20}function Jt(e){return Mo[e].split("_")}const cV={lessThanXSeconds:{one:fi,other:dt},xSeconds:{one:fi,other:dt},halfAMinute:"pusė minutės",lessThanXMinutes:{one:yt,other:dt},xMinutes:{one:yt,other:dt},aboutXHours:{one:yt,other:dt},xHours:{one:yt,other:dt},xDays:{one:yt,other:dt},aboutXWeeks:{one:yt,other:dt},xWeeks:{one:yt,other:dt},aboutXMonths:{one:yt,other:dt},xMonths:{one:yt,other:dt},aboutXYears:{one:yt,other:dt},xYears:{one:yt,other:dt},overXYears:{one:yt,other:dt},almostXYears:{one:yt,other:dt}},hV=(e,n,t)=>{const a=e.match(/about|over|almost|lessthan/i),r=a?e.replace(a[0],""):e,i=(t==null?void 0:t.comparison)!==void 0&&t.comparison>0;let d;const m=cV[e];if(typeof m=="string"?d=m:n===1?d=m.one(n,(t==null?void 0:t.addSuffix)===!0,r.toLowerCase()+"_one",i):d=m.other(n,(t==null?void 0:t.addSuffix)===!0,r.toLowerCase()+"_other",i),a){const l=a[0].toLowerCase();d=Mo[l]+" "+d}return t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"po "+d:"prieš "+d:d},fV={full:"y 'm'. MMMM d 'd'., EEEE",long:"y 'm'. MMMM d 'd'.",medium:"y-MM-dd",short:"y-MM-dd"},gV={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},pV={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},vV={date:c({formats:fV,defaultWidth:"full"}),time:c({formats:gV,defaultWidth:"full"}),dateTime:c({formats:pV,defaultWidth:"full"})},yV={lastWeek:"'Praėjusį' eeee p",yesterday:"'Vakar' p",today:"'Šiandien' p",tomorrow:"'Rytoj' p",nextWeek:"eeee p",other:"P"},wV=(e,n,t,a)=>yV[e],bV={narrow:["pr. Kr.","po Kr."],abbreviated:["pr. Kr.","po Kr."],wide:["prieš Kristų","po Kristaus"]},PV={narrow:["1","2","3","4"],abbreviated:["I ketv.","II ketv.","III ketv.","IV ketv."],wide:["I ketvirtis","II ketvirtis","III ketvirtis","IV ketvirtis"]},kV={narrow:["1","2","3","4"],abbreviated:["I k.","II k.","III k.","IV k."],wide:["I ketvirtis","II ketvirtis","III ketvirtis","IV ketvirtis"]},MV={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"]},$V={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"]},WV={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"]},DV={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į"]},xV={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"}},jV={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"}},zV=(e,n)=>Number(e)+"-oji",TV={ordinalNumber:zV,era:o({values:bV,defaultWidth:"wide"}),quarter:o({values:PV,defaultWidth:"wide",formattingValues:kV,defaultFormattingWidth:"wide",argumentCallback:e=>e-1}),month:o({values:MV,defaultWidth:"wide",formattingValues:$V,defaultFormattingWidth:"wide"}),day:o({values:WV,defaultWidth:"wide",formattingValues:DV,defaultFormattingWidth:"wide"}),dayPeriod:o({values:xV,defaultWidth:"wide",formattingValues:jV,defaultFormattingWidth:"wide"})},SV=/^(\d+)(-oji)?/i,_V=/\d+/i,NV={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},CV={wide:[/prieš/i,/(po|mūsų)/i],any:[/^pr/i,/^(po|m)/i]},VV={narrow:/^([1234])/i,abbreviated:/^(I|II|III|IV)\s?ketv?\.?/i,wide:/^(I|II|III|IV)\s?ketvirtis/i},EV={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/I$/i,/II$/i,/III/i,/IV/i]},HV={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},FV={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]},AV={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},OV={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]},IV={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},XV={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}},LV={ordinalNumber:K({matchPattern:SV,parsePattern:_V,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:NV,defaultMatchWidth:"wide",parsePatterns:CV,defaultParseWidth:"any"}),quarter:s({matchPatterns:VV,defaultMatchWidth:"wide",parsePatterns:EV,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:HV,defaultMatchWidth:"wide",parsePatterns:FV,defaultParseWidth:"any"}),day:s({matchPatterns:AV,defaultMatchWidth:"wide",parsePatterns:OV,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:IV,defaultMatchWidth:"any",parsePatterns:XV,defaultParseWidth:"any"})},YV={code:"lt",formatDistance:hV,formatLong:vV,formatRelative:wV,localize:TV,match:LV,options:{weekStartsOn:1,firstWeekContainsDate:4}};function lt(e){return(n,t)=>{if(n===1)return t!=null&&t.addSuffix?e.one[0].replace("{{time}}",e.one[2]):e.one[0].replace("{{time}}",e.one[1]);{const a=n%10===1&&n%100!==11;return t!=null&&t.addSuffix?e.other[0].replace("{{time}}",a?e.other[3]:e.other[4]).replace("{{count}}",String(n)):e.other[0].replace("{{time}}",a?e.other[1]:e.other[2]).replace("{{count}}",String(n))}}}const RV={lessThanXSeconds:lt({one:["mazāk par {{time}}","sekundi","sekundi"],other:["mazāk nekā {{count}} {{time}}","sekunde","sekundes","sekundes","sekundēm"]}),xSeconds:lt({one:["1 {{time}}","sekunde","sekundes"],other:["{{count}} {{time}}","sekunde","sekundes","sekundes","sekundēm"]}),halfAMinute:(e,n)=>n!=null&&n.addSuffix?"pusminūtes":"pusminūte",lessThanXMinutes:lt({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:lt({one:["1 {{time}}","minūte","minūtes"],other:["{{count}} {{time}}","minūte","minūtes","minūtes","minūtēm"]}),aboutXHours:lt({one:["apmēram 1 {{time}}","stunda","stundas"],other:["apmēram {{count}} {{time}}","stunda","stundas","stundas","stundām"]}),xHours:lt({one:["1 {{time}}","stunda","stundas"],other:["{{count}} {{time}}","stunda","stundas","stundas","stundām"]}),xDays:lt({one:["1 {{time}}","diena","dienas"],other:["{{count}} {{time}}","diena","dienas","dienas","dienām"]}),aboutXWeeks:lt({one:["apmēram 1 {{time}}","nedēļa","nedēļas"],other:["apmēram {{count}} {{time}}","nedēļa","nedēļu","nedēļas","nedēļām"]}),xWeeks:lt({one:["1 {{time}}","nedēļa","nedēļas"],other:["{{count}} {{time}}","nedēļa","nedēļu","nedēļas","nedēļām"]}),aboutXMonths:lt({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:lt({one:["1 {{time}}","mēnesis","mēneša"],other:["{{count}} {{time}}","mēnesis","mēneši","mēneša","mēnešiem"]}),aboutXYears:lt({one:["apmēram 1 {{time}}","gads","gada"],other:["apmēram {{count}} {{time}}","gads","gadi","gada","gadiem"]}),xYears:lt({one:["1 {{time}}","gads","gada"],other:["{{count}} {{time}}","gads","gadi","gada","gadiem"]}),overXYears:lt({one:["ilgāk par 1 {{time}}","gadu","gadu"],other:["vairāk nekā {{count}} {{time}}","gads","gadi","gada","gadiem"]}),almostXYears:lt({one:["gandrīz 1 {{time}}","gads","gada"],other:["vairāk nekā {{count}} {{time}}","gads","gadi","gada","gadiem"]})},qV=(e,n,t)=>{const a=RV[e](n,t);return t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"pēc "+a:"pirms "+a:a},GV={full:"EEEE, y. 'gada' d. MMMM",long:"y. 'gada' d. MMMM",medium:"dd.MM.y.",short:"dd.MM.y."},BV={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},QV={full:"{{date}} 'plkst.' {{time}}",long:"{{date}} 'plkst.' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},KV={date:c({formats:GV,defaultWidth:"full"}),time:c({formats:BV,defaultWidth:"full"}),dateTime:c({formats:QV,defaultWidth:"full"})},pi=["svētdienā","pirmdienā","otrdienā","trešdienā","ceturtdienā","piektdienā","sestdienā"],JV={lastWeek:(e,n,t)=>Ae(e,n,t)?"eeee 'plkst.' p":"'Pagājušā "+pi[e.getDay()]+" plkst.' p",yesterday:"'Vakar plkst.' p",today:"'Šodien plkst.' p",tomorrow:"'Rīt plkst.' p",nextWeek:(e,n,t)=>Ae(e,n,t)?"eeee 'plkst.' p":"'Nākamajā "+pi[e.getDay()]+" plkst.' p",other:"P"},UV=(e,n,t,a)=>{const r=JV[e];return typeof r=="function"?r(n,t,a):r},ZV={narrow:["p.m.ē","m.ē"],abbreviated:["p. m. ē.","m. ē."],wide:["pirms mūsu ēras","mūsu ērā"]},eE={narrow:["1","2","3","4"],abbreviated:["1. cet.","2. cet.","3. cet.","4. cet."],wide:["pirmais ceturksnis","otrais ceturksnis","trešais ceturksnis","ceturtais ceturksnis"]},tE={narrow:["1","2","3","4"],abbreviated:["1. cet.","2. cet.","3. cet.","4. cet."],wide:["pirmajā ceturksnī","otrajā ceturksnī","trešajā ceturksnī","ceturtajā ceturksnī"]},aE={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"]},nE={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ī"]},rE={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"]},iE={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ā"]},oE={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"}},sE={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ī"}},uE=(e,n)=>Number(e)+".",dE={ordinalNumber:uE,era:o({values:ZV,defaultWidth:"wide"}),quarter:o({values:eE,defaultWidth:"wide",formattingValues:tE,defaultFormattingWidth:"wide",argumentCallback:e=>e-1}),month:o({values:aE,defaultWidth:"wide",formattingValues:nE,defaultFormattingWidth:"wide"}),day:o({values:rE,defaultWidth:"wide",formattingValues:iE,defaultFormattingWidth:"wide"}),dayPeriod:o({values:oE,defaultWidth:"wide",formattingValues:sE,defaultFormattingWidth:"wide"})},lE=/^(\d+)\./i,mE=/\d+/i,cE={narrow:/^(p\.m\.ē|m\.ē)/i,abbreviated:/^(p\. m\. ē\.|m\. ē\.)/i,wide:/^(pirms mūsu ēras|mūsu ērā)/i},hE={any:[/^p/i,/^m/i]},fE={narrow:/^[1234]/i,abbreviated:/^[1234](\. cet\.)/i,wide:/^(pirma(is|jā)|otra(is|jā)|treša(is|jā)|ceturta(is|jā)) ceturksn(is|ī)/i},gE={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]},pE={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},vE={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]},yE={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},wE={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]},bE={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},PE={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}},kE={ordinalNumber:K({matchPattern:lE,parsePattern:mE,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:cE,defaultMatchWidth:"wide",parsePatterns:hE,defaultParseWidth:"any"}),quarter:s({matchPatterns:fE,defaultMatchWidth:"wide",parsePatterns:gE,defaultParseWidth:"wide",valueCallback:e=>e+1}),month:s({matchPatterns:pE,defaultMatchWidth:"wide",parsePatterns:vE,defaultParseWidth:"any"}),day:s({matchPatterns:yE,defaultMatchWidth:"wide",parsePatterns:wE,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:bE,defaultMatchWidth:"wide",parsePatterns:PE,defaultParseWidth:"any"})},ME={code:"lv",formatDistance:qV,formatLong:KV,formatRelative:UV,localize:dE,match:kE,options:{weekStartsOn:1,firstWeekContainsDate:4}},$E={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}} години"}},WE=(e,n,t)=>{let a;const r=$E[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"за "+a:"пред "+a:a},DE={full:"EEEE, dd MMMM yyyy",long:"dd MMMM yyyy",medium:"dd MMM yyyy",short:"dd/MM/yyyy"},xE={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"H:mm"},jE={any:"{{date}} {{time}}"},zE={date:c({formats:DE,defaultWidth:"full"}),time:c({formats:xE,defaultWidth:"full"}),dateTime:c({formats:jE,defaultWidth:"any"})},cr=["недела","понеделник","вторник","среда","четврток","петок","сабота"];function TE(e){const n=cr[e];switch(e){case 0:case 3:case 6:return"'минатата "+n+" во' p";case 1:case 2:case 4:case 5:return"'минатиот "+n+" во' p"}}function vi(e){const n=cr[e];switch(e){case 0:case 3:case 6:return"'ова "+n+" вo' p";case 1:case 2:case 4:case 5:return"'овој "+n+" вo' p"}}function SE(e){const n=cr[e];switch(e){case 0:case 3:case 6:return"'следната "+n+" вo' p";case 1:case 2:case 4:case 5:return"'следниот "+n+" вo' p"}}const _E={lastWeek:(e,n,t)=>{const a=e.getDay();return Ae(e,n,t)?vi(a):TE(a)},yesterday:"'вчера во' p",today:"'денес во' p",tomorrow:"'утре во' p",nextWeek:(e,n,t)=>{const a=e.getDay();return Ae(e,n,t)?vi(a):SE(a)},other:"P"},NE=(e,n,t,a)=>{const r=_E[e];return typeof r=="function"?r(n,t,a):r},CE={narrow:["пр.н.е.","н.е."],abbreviated:["пред н. е.","н. е."],wide:["пред нашата ера","нашата ера"]},VE={narrow:["1","2","3","4"],abbreviated:["1-ви кв.","2-ри кв.","3-ти кв.","4-ти кв."],wide:["1-ви квартал","2-ри квартал","3-ти квартал","4-ти квартал"]},EE={abbreviated:["јан","фев","мар","апр","мај","јун","јул","авг","септ","окт","ноем","дек"],wide:["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември"]},HE={narrow:["Н","П","В","С","Ч","П","С"],short:["не","по","вт","ср","че","пе","са"],abbreviated:["нед","пон","вто","сре","чет","пет","саб"],wide:["недела","понеделник","вторник","среда","четврток","петок","сабота"]},FE={wide:{am:"претпладне",pm:"попладне",midnight:"полноќ",noon:"напладне",morning:"наутро",afternoon:"попладне",evening:"навечер",night:"ноќе"}},AE=(e,n)=>{const t=Number(e),a=t%100;if(a>20||a<10)switch(a%10){case 1:return t+"-ви";case 2:return t+"-ри";case 7:case 8:return t+"-ми"}return t+"-ти"},OE={ordinalNumber:AE,era:o({values:CE,defaultWidth:"wide"}),quarter:o({values:VE,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:EE,defaultWidth:"wide"}),day:o({values:HE,defaultWidth:"wide"}),dayPeriod:o({values:FE,defaultWidth:"wide"})},IE=/^(\d+)(-?[врмт][и])?/i,XE=/\d+/i,LE={narrow:/^((пр)?н\.?\s?е\.?)/i,abbreviated:/^((пр)?н\.?\s?е\.?)/i,wide:/^(пред нашата ера|нашата ера)/i},YE={any:[/^п/i,/^н/i]},RE={narrow:/^[1234]/i,abbreviated:/^[1234](-?[врт]?и?)? кв.?/i,wide:/^[1234](-?[врт]?и?)? квартал/i},qE={any:[/1/i,/2/i,/3/i,/4/i]},GE={narrow:/^[нпвсч]/i,short:/^(не|по|вт|ср|че|пе|са)/i,abbreviated:/^(нед|пон|вто|сре|чет|пет|саб)/i,wide:/^(недела|понеделник|вторник|среда|четврток|петок|сабота)/i},BE={narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н[ед]/i,/^п[он]/i,/^вт/i,/^ср/i,/^ч[ет]/i,/^п[ет]/i,/^с[аб]/i]},QE={abbreviated:/^(јан|фев|мар|апр|мај|јун|јул|авг|сеп|окт|ноем|дек)/i,wide:/^(јануари|февруари|март|април|мај|јуни|јули|август|септември|октомври|ноември|декември)/i},KE={any:[/^ја/i,/^Ф/i,/^мар/i,/^ап/i,/^мај/i,/^јун/i,/^јул/i,/^ав/i,/^се/i,/^окт/i,/^но/i,/^де/i]},JE={any:/^(претп|попл|полноќ|утро|пладне|вечер|ноќ)/i},UE={any:{am:/претпладне/i,pm:/попладне/i,midnight:/полноќ/i,noon:/напладне/i,morning:/наутро/i,afternoon:/попладне/i,evening:/навечер/i,night:/ноќе/i}},ZE={ordinalNumber:K({matchPattern:IE,parsePattern:XE,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:LE,defaultMatchWidth:"wide",parsePatterns:YE,defaultParseWidth:"any"}),quarter:s({matchPatterns:RE,defaultMatchWidth:"wide",parsePatterns:qE,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:QE,defaultMatchWidth:"wide",parsePatterns:KE,defaultParseWidth:"any"}),day:s({matchPatterns:GE,defaultMatchWidth:"wide",parsePatterns:BE,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:JE,defaultMatchWidth:"any",parsePatterns:UE,defaultParseWidth:"any"})},eH={code:"mk",formatDistance:WE,formatLong:zE,formatRelative:NE,localize:OE,match:ZE,options:{weekStartsOn:1,firstWeekContainsDate:4}},tH={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}} жил"}},aH=(e,n,t)=>{let a;const r=tH[e];if(typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix){const i=a.split(" "),d=i.pop();switch(a=i.join(" "),d){case"секунд":a+=" секундийн";break;case"минут":a+=" минутын";break;case"цаг":a+=" цагийн";break;case"өдөр":a+=" өдрийн";break;case"сар":a+=" сарын";break;case"жил":a+=" жилийн";break;case"хоног":a+=" хоногийн";break;case"гаран":a+=" гараны";break;case"хүрэхгүй":a+=" хүрэхгүй хугацааны";break;default:a+=d+"-н"}return t.comparison&&t.comparison>0?a+" дараа":a+" өмнө"}return a},nH={full:"y 'оны' MMMM'ын' d, EEEE 'гараг'",long:"y 'оны' MMMM'ын' d",medium:"y 'оны' MMM'ын' d",short:"y.MM.dd"},rH={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},iH={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},oH={date:c({formats:nH,defaultWidth:"full"}),time:c({formats:rH,defaultWidth:"full"}),dateTime:c({formats:iH,defaultWidth:"full"})},sH={lastWeek:"'өнгөрсөн' eeee 'гарагийн' p 'цагт'",yesterday:"'өчигдөр' p 'цагт'",today:"'өнөөдөр' p 'цагт'",tomorrow:"'маргааш' p 'цагт'",nextWeek:"'ирэх' eeee 'гарагийн' p 'цагт'",other:"P"},uH=(e,n,t,a)=>sH[e],dH={narrow:["НТӨ","НТ"],abbreviated:["НТӨ","НТ"],wide:["нийтийн тооллын өмнөх","нийтийн тооллын"]},lH={narrow:["I","II","III","IV"],abbreviated:["I улирал","II улирал","III улирал","IV улирал"],wide:["1-р улирал","2-р улирал","3-р улирал","4-р улирал"]},mH={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:["Нэгдүгээр сар","Хоёрдугаар сар","Гуравдугаар сар","Дөрөвдүгээр сар","Тавдугаар сар","Зургаадугаар сар","Долоодугаар сар","Наймдугаар сар","Есдүгээр сар","Аравдугаар сар","Арваннэгдүгээр сар","Арван хоёрдугаар сар"]},cH={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:["нэгдүгээр сар","хоёрдугаар сар","гуравдугаар сар","дөрөвдүгээр сар","тавдугаар сар","зургаадугаар сар","долоодугаар сар","наймдугаар сар","есдүгээр сар","аравдугаар сар","арваннэгдүгээр сар","арван хоёрдугаар сар"]},hH={narrow:["Н","Д","М","Л","П","Б","Б"],short:["Ня","Да","Мя","Лх","Пү","Ба","Бя"],abbreviated:["Ням","Дав","Мяг","Лха","Пүр","Баа","Бям"],wide:["Ням","Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба"]},fH={narrow:["Н","Д","М","Л","П","Б","Б"],short:["Ня","Да","Мя","Лх","Пү","Ба","Бя"],abbreviated:["Ням","Дав","Мяг","Лха","Пүр","Баа","Бям"],wide:["ням","даваа","мягмар","лхагва","пүрэв","баасан","бямба"]},gH={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:"шөнө"}},pH=(e,n)=>String(e),vH={ordinalNumber:pH,era:o({values:dH,defaultWidth:"wide"}),quarter:o({values:lH,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:mH,defaultWidth:"wide",formattingValues:cH,defaultFormattingWidth:"wide"}),day:o({values:hH,defaultWidth:"wide",formattingValues:fH,defaultFormattingWidth:"wide"}),dayPeriod:o({values:gH,defaultWidth:"wide"})},yH=/\d+/i,wH=/\d+/i,bH={narrow:/^(нтө|нт)/i,abbreviated:/^(нтө|нт)/i,wide:/^(нийтийн тооллын өмнө|нийтийн тооллын)/i},PH={any:[/^(нтө|нийтийн тооллын өмнө)/i,/^(нт|нийтийн тооллын)/i]},kH={narrow:/^(iv|iii|ii|i)/i,abbreviated:/^(iv|iii|ii|i) улирал/i,wide:/^[1-4]-р улирал/i},MH={any:[/^(i(\s|$)|1)/i,/^(ii(\s|$)|2)/i,/^(iii(\s|$)|3)/i,/^(iv(\s|$)|4)/i]},$H={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},WH={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]},DH={narrow:/^[ндмлпбб]/i,short:/^(ня|да|мя|лх|пү|ба|бя)/i,abbreviated:/^(ням|дав|мяг|лха|пүр|баа|бям)/i,wide:/^(ням|даваа|мягмар|лхагва|пүрэв|баасан|бямба)/i},xH={narrow:[/^н/i,/^д/i,/^м/i,/^л/i,/^п/i,/^б/i,/^б/i],any:[/^ня/i,/^да/i,/^мя/i,/^лх/i,/^пү/i,/^ба/i,/^бя/i]},jH={narrow:/^(ү\.ө\.|ү\.х\.|шөнө дунд|үд дунд|өглөө|өдөр|орой|шөнө)/i,any:/^(ү\.ө\.|ү\.х\.|шөнө дунд|үд дунд|өглөө|өдөр|орой|шөнө)/i},zH={any:{am:/^ү\.ө\./i,pm:/^ү\.х\./i,midnight:/^шөнө дунд/i,noon:/^үд дунд/i,morning:/өглөө/i,afternoon:/өдөр/i,evening:/орой/i,night:/шөнө/i}},TH={ordinalNumber:K({matchPattern:yH,parsePattern:wH,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:bH,defaultMatchWidth:"wide",parsePatterns:PH,defaultParseWidth:"any"}),quarter:s({matchPatterns:kH,defaultMatchWidth:"wide",parsePatterns:MH,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:$H,defaultMatchWidth:"wide",parsePatterns:WH,defaultParseWidth:"any"}),day:s({matchPatterns:DH,defaultMatchWidth:"wide",parsePatterns:xH,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:jH,defaultMatchWidth:"any",parsePatterns:zH,defaultParseWidth:"any"})},SH={code:"mn",formatDistance:aH,formatLong:oH,formatRelative:uH,localize:vH,match:TH,options:{weekStartsOn:1,firstWeekContainsDate:1}},_H={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"}},NH=(e,n,t)=>{let a;const r=_H[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"dalam masa "+a:a+" yang lalu":a},CH={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"d/M/yyyy"},VH={full:"HH.mm.ss",long:"HH.mm.ss",medium:"HH.mm",short:"HH.mm"},EH={full:"{{date}} 'pukul' {{time}}",long:"{{date}} 'pukul' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},HH={date:c({formats:CH,defaultWidth:"full"}),time:c({formats:VH,defaultWidth:"full"}),dateTime:c({formats:EH,defaultWidth:"full"})},FH={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"},AH=(e,n,t,a)=>FH[e],OH={narrow:["SM","M"],abbreviated:["SM","M"],wide:["Sebelum Masihi","Masihi"]},IH={narrow:["1","2","3","4"],abbreviated:["S1","S2","S3","S4"],wide:["Suku pertama","Suku kedua","Suku ketiga","Suku keempat"]},XH={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"]},LH={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"]},YH={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"}},RH={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"}},qH=(e,n)=>"ke-"+Number(e),GH={ordinalNumber:qH,era:o({values:OH,defaultWidth:"wide"}),quarter:o({values:IH,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:XH,defaultWidth:"wide"}),day:o({values:LH,defaultWidth:"wide"}),dayPeriod:o({values:YH,defaultWidth:"wide",formattingValues:RH,defaultFormattingWidth:"wide"})},BH=/^ke-(\d+)?/i,QH=/petama|\d+/i,KH={narrow:/^(sm|m)/i,abbreviated:/^(s\.?\s?m\.?|m\.?)/i,wide:/^(sebelum masihi|masihi)/i},JH={any:[/^s/i,/^(m)/i]},UH={narrow:/^[1234]/i,abbreviated:/^S[1234]/i,wide:/Suku (pertama|kedua|ketiga|keempat)/i},ZH={any:[/pertama|1/i,/kedua|2/i,/ketiga|3/i,/keempat|4/i]},eF={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},tF={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]},aF={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},nF={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]},rF={narrow:/^(am|pm|tengah malam|tengah hari|pagi|petang|malam)/i,any:/^([ap]\.?\s?m\.?|tengah malam|tengah hari|pagi|petang|malam)/i},iF={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}},oF={ordinalNumber:K({matchPattern:BH,parsePattern:QH,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:KH,defaultMatchWidth:"wide",parsePatterns:JH,defaultParseWidth:"any"}),quarter:s({matchPatterns:UH,defaultMatchWidth:"wide",parsePatterns:ZH,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:eF,defaultMatchWidth:"wide",parsePatterns:tF,defaultParseWidth:"any"}),day:s({matchPatterns:aF,defaultMatchWidth:"wide",parsePatterns:nF,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:rF,defaultMatchWidth:"any",parsePatterns:iF,defaultParseWidth:"any"})},sF={code:"ms",formatDistance:NH,formatLong:HH,formatRelative:AH,localize:GH,match:oF,options:{weekStartsOn:1,firstWeekContainsDate:1}},uF={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"}},dF=(e,n,t)=>{let a;const r=uF[e];return typeof r=="string"?a=r:n===1?a=r.one:n===2&&r.two?a=r.two:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"f'"+a:a+" ilu":a},lF={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},mF={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},cF={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},hF={date:c({formats:lF,defaultWidth:"full"}),time:c({formats:mF,defaultWidth:"full"}),dateTime:c({formats:cF,defaultWidth:"full"})},fF={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"},gF=(e,n,t,a)=>fF[e],pF={narrow:["Q","W"],abbreviated:["QK","WK"],wide:["qabel Kristu","wara Kristu"]},vF={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1. kwart","2. kwart","3. kwart","4. kwart"]},yF={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"]},wF={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"]},bF={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"}},PF={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"}},kF=(e,n)=>Number(e)+"º",MF={ordinalNumber:kF,era:o({values:pF,defaultWidth:"wide"}),quarter:o({values:vF,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:yF,defaultWidth:"wide"}),day:o({values:wF,defaultWidth:"wide"}),dayPeriod:o({values:bF,defaultWidth:"wide",formattingValues:PF,defaultFormattingWidth:"wide"})},$F=/^(\d+)(º)?/i,WF=/\d+/i,DF={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},xF={any:[/^(q|b)/i,/^(w|c)/i]},jF={narrow:/^[1234]/i,abbreviated:/^k[1234]/i,wide:/^[1234](\.)? kwart/i},zF={any:[/1/i,/2/i,/3/i,/4/i]},TF={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},SF={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]},_F={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},NF={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]},CF={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},VF={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}},EF={ordinalNumber:K({matchPattern:$F,parsePattern:WF,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:DF,defaultMatchWidth:"wide",parsePatterns:xF,defaultParseWidth:"any"}),quarter:s({matchPatterns:jF,defaultMatchWidth:"wide",parsePatterns:zF,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:TF,defaultMatchWidth:"wide",parsePatterns:SF,defaultParseWidth:"any"}),day:s({matchPatterns:_F,defaultMatchWidth:"wide",parsePatterns:NF,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:CF,defaultMatchWidth:"any",parsePatterns:VF,defaultParseWidth:"any"})},HF={code:"mt",formatDistance:dF,formatLong:hF,formatRelative:gF,localize:MF,match:EF,options:{weekStartsOn:1,firstWeekContainsDate:4}},FF={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"}},AF=(e,n,t)=>{let a;const r=FF[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"om "+a:a+" siden":a},OF={full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},IF={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},XF={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},LF={date:c({formats:OF,defaultWidth:"full"}),time:c({formats:IF,defaultWidth:"full"}),dateTime:c({formats:XF,defaultWidth:"full"})},YF={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"},RF=(e,n,t,a)=>YF[e],qF={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["før Kristus","etter Kristus"]},GF={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},BF={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"]},QF={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"]},KF={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"}},JF=(e,n)=>Number(e)+".",UF={ordinalNumber:JF,era:o({values:qF,defaultWidth:"wide"}),quarter:o({values:GF,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:BF,defaultWidth:"wide"}),day:o({values:QF,defaultWidth:"wide"}),dayPeriod:o({values:KF,defaultWidth:"wide"})},ZF=/^(\d+)\.?/i,eA=/\d+/i,tA={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},aA={any:[/^f/i,/^e/i]},nA={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? kvartal/i},rA={any:[/1/i,/2/i,/3/i,/4/i]},iA={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},oA={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]},sA={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},uA={any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},dA={narrow:/^(midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten)|[ap])/i,any:/^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten))/i},lA={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}},mA={ordinalNumber:K({matchPattern:ZF,parsePattern:eA,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:tA,defaultMatchWidth:"wide",parsePatterns:aA,defaultParseWidth:"any"}),quarter:s({matchPatterns:nA,defaultMatchWidth:"wide",parsePatterns:rA,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:iA,defaultMatchWidth:"wide",parsePatterns:oA,defaultParseWidth:"any"}),day:s({matchPatterns:sA,defaultMatchWidth:"wide",parsePatterns:uA,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:dA,defaultMatchWidth:"any",parsePatterns:lA,defaultParseWidth:"any"})},cA={code:"nb",formatDistance:AF,formatLong:LF,formatRelative:RF,localize:UF,match:mA,options:{weekStartsOn:1,firstWeekContainsDate:4}},hA={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"}},fA=(e,n,t)=>{let a;const r=hA[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"over "+a:a+" geleden":a},gA={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},pA={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},vA={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},yA={date:c({formats:gA,defaultWidth:"full"}),time:c({formats:pA,defaultWidth:"full"}),dateTime:c({formats:vA,defaultWidth:"full"})},wA={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},bA=(e,n,t,a)=>wA[e],PA={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},kA={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},MA={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"]},$A={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"]},WA={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"}},DA=(e,n)=>Number(e)+"e",xA={ordinalNumber:DA,era:o({values:PA,defaultWidth:"wide"}),quarter:o({values:kA,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:MA,defaultWidth:"wide"}),day:o({values:$A,defaultWidth:"wide"}),dayPeriod:o({values:WA,defaultWidth:"wide"})},jA=/^(\d+)e?/i,zA=/\d+/i,TA={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},SA={any:[/^v/,/^n/]},_A={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},NA={any:[/1/i,/2/i,/3/i,/4/i]},CA={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},VA={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]},EA={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},HA={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]},FA={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},AA={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}},OA={ordinalNumber:K({matchPattern:jA,parsePattern:zA,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:TA,defaultMatchWidth:"wide",parsePatterns:SA,defaultParseWidth:"any"}),quarter:s({matchPatterns:_A,defaultMatchWidth:"wide",parsePatterns:NA,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:CA,defaultMatchWidth:"wide",parsePatterns:VA,defaultParseWidth:"any"}),day:s({matchPatterns:EA,defaultMatchWidth:"wide",parsePatterns:HA,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:FA,defaultMatchWidth:"any",parsePatterns:AA,defaultParseWidth:"any"})},IA={code:"nl",formatDistance:fA,formatLong:yA,formatRelative:bA,localize:xA,match:OA,options:{weekStartsOn:1,firstWeekContainsDate:4}},XA={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"}},LA=(e,n,t)=>{let a;const r=XA[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"over "+a:a+" geleden":a},YA={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.y"},RA={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},qA={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},GA={date:c({formats:YA,defaultWidth:"full"}),time:c({formats:RA,defaultWidth:"full"}),dateTime:c({formats:qA,defaultWidth:"full"})},BA={lastWeek:"'vorige' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},QA=(e,n,t,a)=>BA[e],KA={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},JA={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},UA={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"]},ZA={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"]},eO={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"}},tO=(e,n)=>Number(e)+"e",aO={ordinalNumber:tO,era:o({values:KA,defaultWidth:"wide"}),quarter:o({values:JA,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:UA,defaultWidth:"wide"}),day:o({values:ZA,defaultWidth:"wide"}),dayPeriod:o({values:eO,defaultWidth:"wide"})},nO=/^(\d+)e?/i,rO=/\d+/i,iO={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},oO={any:[/^v/,/^n/]},sO={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},uO={any:[/1/i,/2/i,/3/i,/4/i]},dO={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},lO={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]},mO={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},cO={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]},hO={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},fO={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}},gO={ordinalNumber:K({matchPattern:nO,parsePattern:rO,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:iO,defaultMatchWidth:"wide",parsePatterns:oO,defaultParseWidth:"any"}),quarter:s({matchPatterns:sO,defaultMatchWidth:"wide",parsePatterns:uO,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:dO,defaultMatchWidth:"wide",parsePatterns:lO,defaultParseWidth:"any"}),day:s({matchPatterns:mO,defaultMatchWidth:"wide",parsePatterns:cO,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:hO,defaultMatchWidth:"any",parsePatterns:fO,defaultParseWidth:"any"})},pO={code:"nl-BE",formatDistance:LA,formatLong:GA,formatRelative:QA,localize:aO,match:gO,options:{weekStartsOn:1,firstWeekContainsDate:4}},vO={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"}},yO=["null","ein","to","tre","fire","fem","seks","sju","åtte","ni","ti","elleve","tolv"],wO=(e,n,t)=>{let a;const r=vO[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",n<13?yO[n]:String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"om "+a:a+" sidan":a},bO={full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},PO={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},kO={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},MO={date:c({formats:bO,defaultWidth:"full"}),time:c({formats:PO,defaultWidth:"full"}),dateTime:c({formats:kO,defaultWidth:"full"})},$O={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"},WO=(e,n,t,a)=>$O[e],DO={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["før Kristus","etter Kristus"]},xO={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},jO={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"]},zO={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"]},TO={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"}},SO=(e,n)=>Number(e)+".",_O={ordinalNumber:SO,era:o({values:DO,defaultWidth:"wide"}),quarter:o({values:xO,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:jO,defaultWidth:"wide"}),day:o({values:zO,defaultWidth:"wide"}),dayPeriod:o({values:TO,defaultWidth:"wide"})},NO=/^(\d+)\.?/i,CO=/\d+/i,VO={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},EO={any:[/^f/i,/^e/i]},HO={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? kvartal/i},FO={any:[/1/i,/2/i,/3/i,/4/i]},AO={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},OO={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]},IO={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},XO={any:[/^s/i,/^m/i,/^ty/i,/^o/i,/^to/i,/^f/i,/^l/i]},LO={narrow:/^(midnatt|middag|(på) (morgonen|ettermiddagen|kvelden|natta)|[ap])/i,any:/^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgonen|ettermiddagen|kvelden|natta))/i},YO={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}},RO={ordinalNumber:K({matchPattern:NO,parsePattern:CO,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:VO,defaultMatchWidth:"wide",parsePatterns:EO,defaultParseWidth:"any"}),quarter:s({matchPatterns:HO,defaultMatchWidth:"wide",parsePatterns:FO,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:AO,defaultMatchWidth:"wide",parsePatterns:OO,defaultParseWidth:"any"}),day:s({matchPatterns:IO,defaultMatchWidth:"wide",parsePatterns:XO,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:LO,defaultMatchWidth:"any",parsePatterns:YO,defaultParseWidth:"any"})},qO={code:"nn",formatDistance:wO,formatLong:MO,formatRelative:WO,localize:_O,match:RO,options:{weekStartsOn:1,firstWeekContainsDate:4}},GO={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"}},BO=(e,n,t)=>{let a;const r=GO[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"d’aquí "+a:"fa "+a:a},QO={full:"EEEE d 'de' MMMM y",long:"d 'de' MMMM y",medium:"d MMM y",short:"dd/MM/y"},KO={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},JO={full:"{{date}} 'a' {{time}}",long:"{{date}} 'a' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},UO={date:c({formats:QO,defaultWidth:"full"}),time:c({formats:KO,defaultWidth:"full"}),dateTime:c({formats:JO,defaultWidth:"full"})},ZO={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"},eI=(e,n,t,a)=>ZO[e],tI={narrow:["ab. J.C.","apr. J.C."],abbreviated:["ab. J.C.","apr. J.C."],wide:["abans Jèsus-Crist","après Jèsus-Crist"]},aI={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"]},nI={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"]},rI={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"]},iI={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"}},oI={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"}},sI=(e,n)=>{const t=Number(e),a=n==null?void 0:n.unit;let r;switch(t){case 1:r="èr";break;case 2:r="nd";break;default:r="en"}return(a==="year"||a==="week"||a==="hour"||a==="minute"||a==="second")&&(r+="a"),t+r},uI={ordinalNumber:sI,era:o({values:tI,defaultWidth:"wide"}),quarter:o({values:aI,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:nI,defaultWidth:"wide"}),day:o({values:rI,defaultWidth:"wide"}),dayPeriod:o({values:iI,defaultWidth:"wide",formattingValues:oI,defaultFormattingWidth:"wide"})},dI=/^(\d+)(èr|nd|en)?[a]?/i,lI=/\d+/i,mI={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},cI={any:[/^ab/i,/^ap/i]},hI={narrow:/^T[1234]/i,abbreviated:/^[1234](èr|nd|en)? trim\.?/i,wide:/^[1234](èr|nd|en)? trimèstre/i},fI={any:[/1/i,/2/i,/3/i,/4/i]},gI={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},pI={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]},vI={narrow:/^d[glmcjvs]\.?/i,short:/^d[glmcjvs]\.?/i,abbreviated:/^d[glmcjvs]\.?/i,wide:/^(dimenge|diluns|dimars|dimècres|dijòus|divendres|dissabte)/i},yI={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]},wI={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},bI={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}},PI={ordinalNumber:K({matchPattern:dI,parsePattern:lI,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:mI,defaultMatchWidth:"wide",parsePatterns:cI,defaultParseWidth:"any"}),quarter:s({matchPatterns:hI,defaultMatchWidth:"wide",parsePatterns:fI,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:gI,defaultMatchWidth:"wide",parsePatterns:pI,defaultParseWidth:"any"}),day:s({matchPatterns:vI,defaultMatchWidth:"wide",parsePatterns:yI,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:wI,defaultMatchWidth:"any",parsePatterns:bI,defaultParseWidth:"any"})},kI={code:"oc",formatDistance:BO,formatLong:UO,formatRelative:eI,localize:uI,match:PI,options:{weekStartsOn:1,firstWeekContainsDate:4}},MI={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 $I(e,n){if(n===1)return e.one;const t=n%100;if(t<=20&&t>10)return e.other;const a=t%10;return a>=2&&a<=4?e.twoFour:e.other}function Wn(e,n,t){const a=$I(e,n);return(typeof a=="string"?a:a[t]).replace("{{count}}",String(n))}const WI=(e,n,t)=>{const a=MI[e];return t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"za "+Wn(a,n,"future"):Wn(a,n,"past")+" temu":Wn(a,n,"regular")},DI={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},xI={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},jI={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},zI={date:c({formats:DI,defaultWidth:"full"}),time:c({formats:xI,defaultWidth:"full"}),dateTime:c({formats:jI,defaultWidth:"full"})},TI={masculine:"ostatni",feminine:"ostatnia"},SI={masculine:"ten",feminine:"ta"},_I={masculine:"następny",feminine:"następna"},NI={0:"feminine",1:"masculine",2:"masculine",3:"feminine",4:"masculine",5:"masculine",6:"feminine"};function yi(e,n,t,a){let r;if(Ae(n,t,a))r=SI;else if(e==="lastWeek")r=TI;else if(e==="nextWeek")r=_I;else throw new Error(`Cannot determine adjectives for token ${e}`);const i=n.getDay(),d=NI[i];return`'${r[d]}' eeee 'o' p`}const CI={lastWeek:yi,yesterday:"'wczoraj o' p",today:"'dzisiaj o' p",tomorrow:"'jutro o' p",nextWeek:yi,other:"P"},VI=(e,n,t,a)=>{const r=CI[e];return typeof r=="function"?r(e,n,t,a):r},EI={narrow:["p.n.e.","n.e."],abbreviated:["p.n.e.","n.e."],wide:["przed naszą erą","naszej ery"]},HI={narrow:["1","2","3","4"],abbreviated:["I kw.","II kw.","III kw.","IV kw."],wide:["I kwartał","II kwartał","III kwartał","IV kwartał"]},FI={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ń"]},AI={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"]},OI={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"]},II={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"]},XI={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"}},LI={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"}},YI=(e,n)=>String(e),RI={ordinalNumber:YI,era:o({values:EI,defaultWidth:"wide"}),quarter:o({values:HI,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:FI,defaultWidth:"wide",formattingValues:AI,defaultFormattingWidth:"wide"}),day:o({values:OI,defaultWidth:"wide",formattingValues:II,defaultFormattingWidth:"wide"}),dayPeriod:o({values:XI,defaultWidth:"wide",formattingValues:LI,defaultFormattingWidth:"wide"})},qI=/^(\d+)?/i,GI=/\d+/i,BI={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},QI={any:[/^p/i,/^n/i]},KI={narrow:/^[1234]/i,abbreviated:/^(I|II|III|IV)\s*kw\.?/i,wide:/^(I|II|III|IV)\s*kwarta(ł|l)/i},JI={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/^I kw/i,/^II kw/i,/^III kw/i,/^IV kw/i]},UI={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},ZI={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]},eX={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},tX={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]},aX={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},nX={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}},rX={ordinalNumber:K({matchPattern:qI,parsePattern:GI,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:BI,defaultMatchWidth:"wide",parsePatterns:QI,defaultParseWidth:"any"}),quarter:s({matchPatterns:KI,defaultMatchWidth:"wide",parsePatterns:JI,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:UI,defaultMatchWidth:"wide",parsePatterns:ZI,defaultParseWidth:"any"}),day:s({matchPatterns:eX,defaultMatchWidth:"wide",parsePatterns:tX,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:aX,defaultMatchWidth:"any",parsePatterns:nX,defaultParseWidth:"any"})},iX={code:"pl",formatDistance:WI,formatLong:zI,formatRelative:VI,localize:RI,match:rX,options:{weekStartsOn:1,firstWeekContainsDate:4}},oX={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"}},sX=(e,n,t)=>{let a;const r=oX[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"daqui a "+a:"há "+a:a},uX={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d 'de' MMM 'de' y",short:"dd/MM/y"},dX={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},lX={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},mX={date:c({formats:uX,defaultWidth:"full"}),time:c({formats:dX,defaultWidth:"full"}),dateTime:c({formats:lX,defaultWidth:"full"})},cX={lastWeek:e=>{const n=e.getDay();return"'"+(n===0||n===6?"último":"última")+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},hX=(e,n,t,a)=>{const r=cX[e];return typeof r=="function"?r(n):r},fX={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["antes de Cristo","depois de Cristo"]},gX={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},pX={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"]},vX={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"]},yX={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"}},wX={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"}},bX=(e,n)=>Number(e)+"º",PX={ordinalNumber:bX,era:o({values:fX,defaultWidth:"wide"}),quarter:o({values:gX,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:pX,defaultWidth:"wide"}),day:o({values:vX,defaultWidth:"wide"}),dayPeriod:o({values:yX,defaultWidth:"wide",formattingValues:wX,defaultFormattingWidth:"wide"})},kX=/^(\d+)(º|ª)?/i,MX=/\d+/i,$X={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},WX={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era comum)/i,/^(depois de cristo|era comum)/i]},DX={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º|ª)? trimestre/i},xX={any:[/1/i,/2/i,/3/i,/4/i]},jX={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},zX={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]},TX={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},SX={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]},_X={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},NX={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}},CX={ordinalNumber:K({matchPattern:kX,parsePattern:MX,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:$X,defaultMatchWidth:"wide",parsePatterns:WX,defaultParseWidth:"any"}),quarter:s({matchPatterns:DX,defaultMatchWidth:"wide",parsePatterns:xX,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:jX,defaultMatchWidth:"wide",parsePatterns:zX,defaultParseWidth:"any"}),day:s({matchPatterns:TX,defaultMatchWidth:"wide",parsePatterns:SX,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:_X,defaultMatchWidth:"any",parsePatterns:NX,defaultParseWidth:"any"})},VX={code:"pt",formatDistance:sX,formatLong:mX,formatRelative:hX,localize:PX,match:CX,options:{weekStartsOn:1,firstWeekContainsDate:4}},EX={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"}},HX=(e,n,t)=>{let a;const r=EX[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"em "+a:"há "+a:a},FX={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},AX={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},OX={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},IX={date:c({formats:FX,defaultWidth:"full"}),time:c({formats:AX,defaultWidth:"full"}),dateTime:c({formats:OX,defaultWidth:"full"})},XX={lastWeek:e=>{const n=e.getDay();return"'"+(n===0||n===6?"último":"última")+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},LX=(e,n,t,a)=>{const r=XX[e];return typeof r=="function"?r(n):r},YX={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},RX={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},qX={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"]},GX={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"]},BX={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"}},QX={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"}},KX=(e,n)=>{const t=Number(e);return(n==null?void 0:n.unit)==="week"?t+"ª":t+"º"},JX={ordinalNumber:KX,era:o({values:YX,defaultWidth:"wide"}),quarter:o({values:RX,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:qX,defaultWidth:"wide"}),day:o({values:GX,defaultWidth:"wide"}),dayPeriod:o({values:BX,defaultWidth:"wide",formattingValues:QX,defaultFormattingWidth:"wide"})},UX=/^(\d+)[ºªo]?/i,ZX=/\d+/i,eL={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i},tL={any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},aL={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},nL={any:[/1/i,/2/i,/3/i,/4/i]},rL={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},iL={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]},oL={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},sL={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]},uL={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},dL={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}},lL={ordinalNumber:K({matchPattern:UX,parsePattern:ZX,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:eL,defaultMatchWidth:"wide",parsePatterns:tL,defaultParseWidth:"any"}),quarter:s({matchPatterns:aL,defaultMatchWidth:"wide",parsePatterns:nL,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:rL,defaultMatchWidth:"wide",parsePatterns:iL,defaultParseWidth:"any"}),day:s({matchPatterns:oL,defaultMatchWidth:"wide",parsePatterns:sL,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:uL,defaultMatchWidth:"any",parsePatterns:dL,defaultParseWidth:"any"})},mL={code:"pt-BR",formatDistance:HX,formatLong:IX,formatRelative:LX,localize:JX,match:lL,options:{weekStartsOn:0,firstWeekContainsDate:1}},cL={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"}},hL=(e,n,t)=>{let a;const r=cL[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"în "+a:a+" în urmă":a},fL={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd.MM.yyyy"},gL={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},pL={full:"{{date}} 'la' {{time}}",long:"{{date}} 'la' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},vL={date:c({formats:fL,defaultWidth:"full"}),time:c({formats:gL,defaultWidth:"full"}),dateTime:c({formats:pL,defaultWidth:"full"})},yL={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"},wL=(e,n,t,a)=>yL[e],bL={narrow:["Î","D"],abbreviated:["Î.d.C.","D.C."],wide:["Înainte de Cristos","După Cristos"]},PL={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["primul trimestru","al doilea trimestru","al treilea trimestru","al patrulea trimestru"]},kL={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"]},ML={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ă"]},$L={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"}},WL={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"}},DL=(e,n)=>String(e),xL={ordinalNumber:DL,era:o({values:bL,defaultWidth:"wide"}),quarter:o({values:PL,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:kL,defaultWidth:"wide"}),day:o({values:ML,defaultWidth:"wide"}),dayPeriod:o({values:$L,defaultWidth:"wide",formattingValues:WL,defaultFormattingWidth:"wide"})},jL=/^(\d+)?/i,zL=/\d+/i,TL={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},SL={any:[/^ÎC/i,/^DC/i],wide:[/^(Înainte de Cristos|Înaintea erei noastre)/i,/^(După Cristos|Era noastră)/i]},_L={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^trimestrul [1234]/i},NL={any:[/1/i,/2/i,/3/i,/4/i]},CL={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},VL={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]},EL={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},HL={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]},FL={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},AL={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}},OL={ordinalNumber:K({matchPattern:jL,parsePattern:zL,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:TL,defaultMatchWidth:"wide",parsePatterns:SL,defaultParseWidth:"any"}),quarter:s({matchPatterns:_L,defaultMatchWidth:"wide",parsePatterns:NL,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:CL,defaultMatchWidth:"wide",parsePatterns:VL,defaultParseWidth:"any"}),day:s({matchPatterns:EL,defaultMatchWidth:"wide",parsePatterns:HL,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:FL,defaultMatchWidth:"any",parsePatterns:AL,defaultParseWidth:"any"})},IL={code:"ro",formatDistance:hL,formatLong:vL,formatRelative:wL,localize:xL,match:OL,options:{weekStartsOn:1,firstWeekContainsDate:1}};function Ca(e,n){if(e.one!==void 0&&n===1)return e.one;const t=n%10,a=n%100;return t===1&&a!==11?e.singularNominative.replace("{{count}}",String(n)):t>=2&&t<=4&&(a<10||a>20)?e.singularGenitive.replace("{{count}}",String(n)):e.pluralGenitive.replace("{{count}}",String(n))}function mt(e){return(n,t)=>t!=null&&t.addSuffix?t.comparison&&t.comparison>0?e.future?Ca(e.future,n):"через "+Ca(e.regular,n):e.past?Ca(e.past,n):Ca(e.regular,n)+" назад":Ca(e.regular,n)}const XL={lessThanXSeconds:mt({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:mt({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:(e,n)=>n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"через полминуты":"полминуты назад":"полминуты",lessThanXMinutes:mt({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:mt({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:mt({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:mt({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:mt({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:mt({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:mt({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:mt({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:mt({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:mt({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:mt({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:mt({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:mt({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})},LL=(e,n,t)=>XL[e](n,t),YL={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},RL={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},qL={any:"{{date}}, {{time}}"},GL={date:c({formats:YL,defaultWidth:"full"}),time:c({formats:RL,defaultWidth:"full"}),dateTime:c({formats:qL,defaultWidth:"any"})},hr=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function BL(e){const n=hr[e];switch(e){case 0:return"'в прошлое "+n+" в' p";case 1:case 2:case 4:return"'в прошлый "+n+" в' p";case 3:case 5:case 6:return"'в прошлую "+n+" в' p"}}function wi(e){const n=hr[e];return e===2?"'во "+n+" в' p":"'в "+n+" в' p"}function QL(e){const n=hr[e];switch(e){case 0:return"'в следующее "+n+" в' p";case 1:case 2:case 4:return"'в следующий "+n+" в' p";case 3:case 5:case 6:return"'в следующую "+n+" в' p"}}const KL={lastWeek:(e,n,t)=>{const a=e.getDay();return Ae(e,n,t)?wi(a):BL(a)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:(e,n,t)=>{const a=e.getDay();return Ae(e,n,t)?wi(a):QL(a)},other:"P"},JL=(e,n,t,a)=>{const r=KL[e];return typeof r=="function"?r(n,t,a):r},UL={narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},ZL={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},eY={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},tY={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},aY={narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},nY={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:"ночь"}},rY={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:"ночи"}},iY=(e,n)=>{const t=Number(e),a=n==null?void 0:n.unit;let r;return a==="date"?r="-е":a==="week"||a==="minute"||a==="second"?r="-я":r="-й",t+r},oY={ordinalNumber:iY,era:o({values:UL,defaultWidth:"wide"}),quarter:o({values:ZL,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:eY,defaultWidth:"wide",formattingValues:tY,defaultFormattingWidth:"wide"}),day:o({values:aY,defaultWidth:"wide"}),dayPeriod:o({values:nY,defaultWidth:"any",formattingValues:rY,defaultFormattingWidth:"wide"})},sY=/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,uY=/\d+/i,dY={narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},lY={any:[/^д/i,/^н/i]},mY={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},cY={any:[/1/i,/2/i,/3/i,/4/i]},hY={narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},fY={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]},gY={narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},pY={narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},vY={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},yY={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},wY={ordinalNumber:K({matchPattern:sY,parsePattern:uY,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:dY,defaultMatchWidth:"wide",parsePatterns:lY,defaultParseWidth:"any"}),quarter:s({matchPatterns:mY,defaultMatchWidth:"wide",parsePatterns:cY,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:hY,defaultMatchWidth:"wide",parsePatterns:fY,defaultParseWidth:"any"}),day:s({matchPatterns:gY,defaultMatchWidth:"wide",parsePatterns:pY,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:vY,defaultMatchWidth:"wide",parsePatterns:yY,defaultParseWidth:"any"})},bY={code:"ru",formatDistance:LL,formatLong:GL,formatRelative:JL,localize:oY,match:wY,options:{weekStartsOn:1,firstWeekContainsDate:1}},PY={lessThanXSeconds:{one:"unnit go ovtta sekundda",other:"unnit go {{count}} sekundda"},xSeconds:{one:"sekundda",other:"{{count}} sekundda"},halfAMinute:"bealle minuhta",lessThanXMinutes:{one:"unnit go bealle minuhta",other:"unnit go {{count}} minuhta"},xMinutes:{one:"minuhta",other:"{{count}} minuhta"},aboutXHours:{one:"sullii ovtta diimmu",other:"sullii {{count}} diimmu"},xHours:{one:"diimmu",other:"{{count}} diimmu"},xDays:{one:"beaivvi",other:"{{count}} beaivvi"},aboutXWeeks:{one:"sullii ovtta vahku",other:"sullii {{count}} vahku"},xWeeks:{one:"vahku",other:"{{count}} vahku"},aboutXMonths:{one:"sullii ovtta mánu",other:"sullii {{count}} mánu"},xMonths:{one:"mánu",other:"{{count}} mánu"},aboutXYears:{one:"sullii ovtta jagi",other:"sullii {{count}} jagi"},xYears:{one:"jagi",other:"{{count}} jagi"},overXYears:{one:"guhkit go jagi",other:"guhkit go {{count}} jagi"},almostXYears:{one:"measta jagi",other:"measta {{count}} jagi"}},kY=(e,n,t)=>{let a;const r=PY[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"geahčen "+a:a+" áigi":a},MY={full:"EEEE MMMM d. 'b.' y",long:"MMMM d. 'b.' y",medium:"MMM d. 'b.' y",short:"dd.MM.y"},$Y={full:"'dii.' HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},WY={full:"{{date}} 'dii.' {{time}}",long:"{{date}} 'dii.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},DY={date:c({formats:MY,defaultWidth:"full"}),time:c({formats:$Y,defaultWidth:"full"}),dateTime:c({formats:WY,defaultWidth:"full"})},xY={lastWeek:"'ovddit' eeee 'dii.' p",yesterday:"'ikte dii.' p",today:"'odne dii.' p",tomorrow:"'ihtin dii.' p",nextWeek:"EEEE 'dii.' p",other:"P"},jY=(e,n,t,a)=>xY[e],zY={narrow:["o.Kr.","m.Kr."],abbreviated:["o.Kr.","m.Kr."],wide:["ovdal Kristusa","maŋŋel Kristusa"]},TY={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartála","2. kvartála","3. kvartála","4. kvartála"]},SY={narrow:["O","G","N","C","M","G","S","B","Č","G","S","J"],abbreviated:["ođđa","guov","njuk","cuo","mies","geas","suoi","borg","čakč","golg","skáb","juov"],wide:["ođđajagemánnu","guovvamánnu","njukčamánnu","cuoŋománnu","miessemánnu","geassemánnu","suoidnemánnu","borgemánnu","čakčamánnu","golggotmánnu","skábmamánnu","juovlamánnu"]},_Y={narrow:["S","V","M","G","D","B","L"],short:["sotn","vuos","maŋ","gask","duor","bear","láv"],abbreviated:["sotn","vuos","maŋ","gask","duor","bear","láv"],wide:["sotnabeaivi","vuossárga","maŋŋebárga","gaskavahkku","duorastat","bearjadat","lávvardat"]},NY={narrow:{am:"a",pm:"p",midnight:"gaskaidja",noon:"gaskabeaivi",morning:"iđđes",afternoon:"maŋŋel gaska.",evening:"eahkes",night:"ihkku"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"gaskaidja",noon:"gaskabeaivvi",morning:"iđđes",afternoon:"maŋŋel gaskabea.",evening:"eahkes",night:"ihkku"},wide:{am:"a.m.",pm:"p.m.",midnight:"gaskaidja",noon:"gaskabeavvi",morning:"iđđes",afternoon:"maŋŋel gaskabeaivvi",evening:"eahkes",night:"ihkku"}},CY=(e,n)=>Number(e)+".",VY={ordinalNumber:CY,era:o({values:zY,defaultWidth:"wide"}),quarter:o({values:TY,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:SY,defaultWidth:"wide"}),day:o({values:_Y,defaultWidth:"wide"}),dayPeriod:o({values:NY,defaultWidth:"wide"})},EY=/^(\d+)\.?/i,HY=/\d+/i,FY={narrow:/^(o\.? ?Kr\.?|m\.? ?Kr\.?)/i,abbreviated:/^(o\.? ?Kr\.?|m\.? ?Kr\.?)/i,wide:/^(ovdal Kristusa|ovdal min áiggi|maŋŋel Kristusa|min áigi)/i},AY={any:[/^o/i,/^m/i]},OY={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? kvartála/i},IY={any:[/1/i,/2/i,/3/i,/4/i]},XY={narrow:/^[ogncmsbčj]/i,abbreviated:/^(ođđa|guov|njuk|cuo|mies|geas|suoi|borg|čakč|golg|skáb|juov)\.?/i,wide:/^(ođđajagemánnu|guovvamánnu|njukčamánnu|cuoŋománnu|miessemánnu|geassemánnu|suoidnemánnu|borgemánnu|čakčamánnu|golggotmánnu|skábmamánnu|juovlamánnu)/i},LY={narrow:[/^o/i,/^g/i,/^n/i,/^c/i,/^m/i,/^g/i,/^s/i,/^b/i,/^č/i,/^g/i,/^s/i,/^j/i],any:[/^o/i,/^gu/i,/^n/i,/^c/i,/^m/i,/^ge/i,/^su/i,/^b/i,/^č/i,/^go/i,/^sk/i,/^j/i]},YY={narrow:/^[svmgdbl]/i,short:/^(sotn|vuos|maŋ|gask|duor|bear|láv)/i,abbreviated:/^(sotn|vuos|maŋ|gask|duor|bear|láv)/i,wide:/^(sotnabeaivi|vuossárga|maŋŋebárga|gaskavahkku|duorastat|bearjadat|lávvardat)/i},RY={any:[/^s/i,/^v/i,/^m/i,/^g/i,/^d/i,/^b/i,/^l/i]},qY={narrow:/^(gaskaidja|gaskabeaivvi|(på) (iđđes|maŋŋel gaskabeaivvi|eahkes|ihkku)|[ap])/i,any:/^([ap]\.?\s?m\.?|gaskaidja|gaskabeaivvi|(på) (iđđes|maŋŋel gaskabeaivvi|eahkes|ihkku))/i},GY={any:{am:/^a(\.?\s?m\.?)?$/i,pm:/^p(\.?\s?m\.?)?$/i,midnight:/^gaskai/i,noon:/^gaskab/i,morning:/iđđes/i,afternoon:/maŋŋel gaskabeaivvi/i,evening:/eahkes/i,night:/ihkku/i}},BY={ordinalNumber:K({matchPattern:EY,parsePattern:HY,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:FY,defaultMatchWidth:"wide",parsePatterns:AY,defaultParseWidth:"any"}),quarter:s({matchPatterns:OY,defaultMatchWidth:"wide",parsePatterns:IY,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:XY,defaultMatchWidth:"wide",parsePatterns:LY,defaultParseWidth:"any"}),day:s({matchPatterns:YY,defaultMatchWidth:"wide",parsePatterns:RY,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:qY,defaultMatchWidth:"any",parsePatterns:GY,defaultParseWidth:"any"})},QY={code:"se",formatDistance:kY,formatLong:DY,formatRelative:jY,localize:VY,match:BY,options:{weekStartsOn:1,firstWeekContainsDate:4}};function KY(e,n){return n===1&&e.one?e.one:n>=2&&n<=4&&e.twoFour?e.twoFour:e.other}function Dn(e,n,t){return KY(e,n)[t].replace("{{count}}",String(n))}function JY(e){return["lessThan","about","over","almost"].filter(function(t){return!!e.match(new RegExp("^"+t))})[0]}function xn(e){let n="";return e==="almost"&&(n="takmer"),e==="about"&&(n="približne"),n.length>0?n+" ":""}function jn(e){let n="";return e==="lessThan"&&(n="menej než"),e==="over"&&(n="viac než"),n.length>0?n+" ":""}function UY(e){return e.charAt(0).toLowerCase()+e.slice(1)}const ZY={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"}}},eR=(e,n,t)=>{const a=JY(e)||"",r=UY(e.substring(a.length)),i=ZY[r];return t!=null&&t.addSuffix?t.comparison&&t.comparison>0?xn(a)+"o "+jn(a)+Dn(i,n,"future"):xn(a)+"pred "+jn(a)+Dn(i,n,"past"):xn(a)+jn(a)+Dn(i,n,"present")},tR={full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. M. y",short:"d. M. y"},aR={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},nR={full:"{{date}}, {{time}}",long:"{{date}}, {{time}}",medium:"{{date}}, {{time}}",short:"{{date}} {{time}}"},rR={date:c({formats:tR,defaultWidth:"full"}),time:c({formats:aR,defaultWidth:"full"}),dateTime:c({formats:nR,defaultWidth:"full"})},fr=["nedeľu","pondelok","utorok","stredu","štvrtok","piatok","sobotu"];function iR(e){const n=fr[e];switch(e){case 0:case 3:case 6:return"'minulú "+n+" o' p";default:return"'minulý' eeee 'o' p"}}function bi(e){const n=fr[e];return e===4?"'vo' eeee 'o' p":"'v "+n+" o' p"}function oR(e){const n=fr[e];switch(e){case 0:case 4:case 6:return"'budúcu "+n+" o' p";default:return"'budúci' eeee 'o' p"}}const sR={lastWeek:(e,n,t)=>{const a=e.getDay();return Ae(e,n,t)?bi(a):iR(a)},yesterday:"'včera o' p",today:"'dnes o' p",tomorrow:"'zajtra o' p",nextWeek:(e,n,t)=>{const a=e.getDay();return Ae(e,n,t)?bi(a):oR(a)},other:"P"},uR=(e,n,t,a)=>{const r=sR[e];return typeof r=="function"?r(n,t,a):r},dR={narrow:["pred Kr.","po Kr."],abbreviated:["pred Kr.","po Kr."],wide:["pred Kristom","po Kristovi"]},lR={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. štvrťrok","2. štvrťrok","3. štvrťrok","4. štvrťrok"]},mR={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"]},cR={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"]},hR={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"]},fR={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"}},gR={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"}},pR=(e,n)=>Number(e)+".",vR={ordinalNumber:pR,era:o({values:dR,defaultWidth:"wide"}),quarter:o({values:lR,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:mR,defaultWidth:"wide",formattingValues:cR,defaultFormattingWidth:"wide"}),day:o({values:hR,defaultWidth:"wide"}),dayPeriod:o({values:fR,defaultWidth:"wide",formattingValues:gR,defaultFormattingWidth:"wide"})},yR=/^(\d+)\.?/i,wR=/\d+/i,bR={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},PR={any:[/^pr/i,/^(po|n)/i]},kR={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]\. [šs]tvr[ťt]rok/i},MR={any:[/1/i,/2/i,/3/i,/4/i]},$R={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},WR={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]},DR={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},xR={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]},jR={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},zR={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}},TR={ordinalNumber:K({matchPattern:yR,parsePattern:wR,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:bR,defaultMatchWidth:"wide",parsePatterns:PR,defaultParseWidth:"any"}),quarter:s({matchPatterns:kR,defaultMatchWidth:"wide",parsePatterns:MR,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:$R,defaultMatchWidth:"wide",parsePatterns:WR,defaultParseWidth:"any"}),day:s({matchPatterns:DR,defaultMatchWidth:"wide",parsePatterns:xR,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:jR,defaultMatchWidth:"any",parsePatterns:zR,defaultParseWidth:"any"})},SR={code:"sk",formatDistance:eR,formatLong:rR,formatRelative:uR,localize:vR,match:TR,options:{weekStartsOn:1,firstWeekContainsDate:4}};function _R(e){return e.one!==void 0}const NR={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"}},aboutXWeeks:{one:"približno {{count}} teden",two:"približno {{count}} tedna",few:"približno {{count}} tedne",other:"približno {{count}} tednov"},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 CR(e){switch(e%100){case 1:return"one";case 2:return"two";case 3:case 4:return"few";default:return"other"}}const VR=(e,n,t)=>{let a="",r="present";t!=null&&t.addSuffix&&(t.comparison&&t.comparison>0?(r="future",a="čez "):(r="past",a="pred "));const i=NR[e];if(typeof i=="string")a+=i;else{const d=CR(n);_R(i)?a+=i[d].replace("{{count}}",String(n)):a+=i[r][d].replace("{{count}}",String(n))}return a},ER={full:"EEEE, dd. MMMM y",long:"dd. MMMM y",medium:"d. MMM y",short:"d. MM. yy"},HR={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},FR={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},AR={date:c({formats:ER,defaultWidth:"full"}),time:c({formats:HR,defaultWidth:"full"}),dateTime:c({formats:FR,defaultWidth:"full"})},OR={lastWeek:e=>{switch(e.getDay()){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:e=>{switch(e.getDay()){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"},IR=(e,n,t,a)=>{const r=OR[e];return typeof r=="function"?r(n):r},XR={narrow:["pr. n. št.","po n. št."],abbreviated:["pr. n. št.","po n. št."],wide:["pred našim štetjem","po našem štetju"]},LR={narrow:["1","2","3","4"],abbreviated:["1. čet.","2. čet.","3. čet.","4. čet."],wide:["1. četrtletje","2. četrtletje","3. četrtletje","4. četrtletje"]},YR={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"]},RR={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"]},qR={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č"}},GR={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"}},BR=(e,n)=>Number(e)+".",QR={ordinalNumber:BR,era:o({values:XR,defaultWidth:"wide"}),quarter:o({values:LR,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:YR,defaultWidth:"wide"}),day:o({values:RR,defaultWidth:"wide"}),dayPeriod:o({values:qR,defaultWidth:"wide",formattingValues:GR,defaultFormattingWidth:"wide"})},KR=/^(\d+)\./i,JR=/\d+/i,UR={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},ZR={any:[/^pr/i,/^(po|na[sš]em)/i]},eq={narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?[čc]et\.?/i,wide:/^[1234]\. [čc]etrtletje/i},tq={any:[/1/i,/2/i,/3/i,/4/i]},aq={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},nq={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]},rq={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},iq={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]},oq={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},sq={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}},uq={ordinalNumber:K({matchPattern:KR,parsePattern:JR,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:UR,defaultMatchWidth:"wide",parsePatterns:ZR,defaultParseWidth:"any"}),quarter:s({matchPatterns:eq,defaultMatchWidth:"wide",parsePatterns:tq,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:aq,defaultMatchWidth:"wide",parsePatterns:nq,defaultParseWidth:"wide"}),day:s({matchPatterns:rq,defaultMatchWidth:"wide",parsePatterns:iq,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:oq,defaultMatchWidth:"any",parsePatterns:sq,defaultParseWidth:"any"})},dq={code:"sl",formatDistance:VR,formatLong:AR,formatRelative:IR,localize:QR,match:uq,options:{weekStartsOn:1,firstWeekContainsDate:1}},lq={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"}},mq=(e,n,t)=>{let a;const r=lq[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"në "+a:a+" më parë":a},cq={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},hq={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},fq={full:"{{date}} 'në' {{time}}",long:"{{date}} 'në' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},gq={date:c({formats:cq,defaultWidth:"full"}),time:c({formats:hq,defaultWidth:"full"}),dateTime:c({formats:fq,defaultWidth:"full"})},pq={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"},vq=(e,n,t,a)=>pq[e],yq={narrow:["P","M"],abbreviated:["PK","MK"],wide:["Para Krishtit","Mbas Krishtit"]},wq={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["4-mujori I","4-mujori II","4-mujori III","4-mujori IV"]},bq={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"]},Pq={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ë"]},kq={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ë"}},Mq={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ë"}},$q=(e,n)=>{const t=Number(e);return(n==null?void 0:n.unit)==="hour"?String(t):t===1?t+"-rë":t===4?t+"t":t+"-të"},Wq={ordinalNumber:$q,era:o({values:yq,defaultWidth:"wide"}),quarter:o({values:wq,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:bq,defaultWidth:"wide"}),day:o({values:Pq,defaultWidth:"wide"}),dayPeriod:o({values:kq,defaultWidth:"wide",formattingValues:Mq,defaultFormattingWidth:"wide"})},Dq=/^(\d+)(-rë|-të|t|)?/i,xq=/\d+/i,jq={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},zq={any:[/^b/i,/^(p|m)/i]},Tq={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]-mujori (i{1,3}|iv)/i},Sq={any:[/1/i,/2/i,/3/i,/4/i]},_q={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},Nq={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]},Cq={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},Vq={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]},Eq={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},Hq={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}},Fq={ordinalNumber:K({matchPattern:Dq,parsePattern:xq,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:jq,defaultMatchWidth:"wide",parsePatterns:zq,defaultParseWidth:"any"}),quarter:s({matchPatterns:Tq,defaultMatchWidth:"wide",parsePatterns:Sq,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:_q,defaultMatchWidth:"wide",parsePatterns:Nq,defaultParseWidth:"any"}),day:s({matchPatterns:Cq,defaultMatchWidth:"wide",parsePatterns:Vq,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:Eq,defaultMatchWidth:"any",parsePatterns:Hq,defaultParseWidth:"any"})},Aq={code:"sq",formatDistance:mq,formatLong:gq,formatRelative:vq,localize:Wq,match:Fq,options:{weekStartsOn:1,firstWeekContainsDate:1}},Oq={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}} година"}},Iq=(e,n,t)=>{let a;const r=Oq[e];return typeof r=="string"?a=r:n===1?t!=null&&t.addSuffix?t.comparison&&t.comparison>0?a=r.one.withPrepositionIn:a=r.one.withPrepositionAgo:a=r.one.standalone:n%10>1&&n%10<5&&String(n).substr(-2,1)!=="1"?a=r.dual.replace("{{count}}",String(n)):a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"за "+a:"пре "+a:a},Xq={full:"EEEE, d. MMMM yyyy.",long:"d. MMMM yyyy.",medium:"d. MMM yy.",short:"dd. MM. yy."},Lq={full:"HH:mm:ss (zzzz)",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Yq={full:"{{date}} 'у' {{time}}",long:"{{date}} 'у' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Rq={date:c({formats:Xq,defaultWidth:"full"}),time:c({formats:Lq,defaultWidth:"full"}),dateTime:c({formats:Yq,defaultWidth:"full"})},qq={lastWeek:e=>{switch(e.getDay()){case 0:return"'прошле недеље у' p";case 3:return"'прошле среде у' p";case 6:return"'прошле суботе у' p";default:return"'прошли' EEEE 'у' p"}},yesterday:"'јуче у' p",today:"'данас у' p",tomorrow:"'сутра у' p",nextWeek:e=>{switch(e.getDay()){case 0:return"'следеће недеље у' p";case 3:return"'следећу среду у' p";case 6:return"'следећу суботу у' p";default:return"'следећи' EEEE 'у' p"}},other:"P"},Gq=(e,n,t,a)=>{const r=qq[e];return typeof r=="function"?r(n):r},Bq={narrow:["пр.н.е.","АД"],abbreviated:["пр. Хр.","по. Хр."],wide:["Пре Христа","После Христа"]},Qq={narrow:["1.","2.","3.","4."],abbreviated:["1. кв.","2. кв.","3. кв.","4. кв."],wide:["1. квартал","2. квартал","3. квартал","4. квартал"]},Kq={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец"],wide:["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар"]},Jq={narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец"],wide:["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар"]},Uq={narrow:["Н","П","У","С","Ч","П","С"],short:["нед","пон","уто","сре","чет","пет","суб"],abbreviated:["нед","пон","уто","сре","чет","пет","суб"],wide:["недеља","понедељак","уторак","среда","четвртак","петак","субота"]},Zq={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:"ноћу"}},e5={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:"ноћу"}},t5=(e,n)=>Number(e)+".",a5={ordinalNumber:t5,era:o({values:Bq,defaultWidth:"wide"}),quarter:o({values:Qq,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:Kq,defaultWidth:"wide",formattingValues:Jq,defaultFormattingWidth:"wide"}),day:o({values:Uq,defaultWidth:"wide"}),dayPeriod:o({values:e5,defaultWidth:"wide",formattingValues:Zq,defaultFormattingWidth:"wide"})},n5=/^(\d+)\./i,r5=/\d+/i,i5={narrow:/^(пр\.н\.е\.|АД)/i,abbreviated:/^(пр\.\s?Хр\.|по\.\s?Хр\.)/i,wide:/^(Пре Христа|пре нове ере|После Христа|нова ера)/i},o5={any:[/^пр/i,/^(по|нова)/i]},s5={narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?кв\.?/i,wide:/^[1234]\. квартал/i},u5={any:[/1/i,/2/i,/3/i,/4/i]},d5={narrow:/^(10|11|12|[123456789])\./i,abbreviated:/^(јан|феб|мар|апр|мај|јун|јул|авг|сеп|окт|нов|дец)/i,wide:/^((јануар|јануара)|(фебруар|фебруара)|(март|марта)|(април|априла)|(мја|маја)|(јун|јуна)|(јул|јула)|(август|августа)|(септембар|септембра)|(октобар|октобра)|(новембар|новембра)|(децембар|децембра))/i},l5={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]},m5={narrow:/^[пусчн]/i,short:/^(нед|пон|уто|сре|чет|пет|суб)/i,abbreviated:/^(нед|пон|уто|сре|чет|пет|суб)/i,wide:/^(недеља|понедељак|уторак|среда|четвртак|петак|субота)/i},c5={narrow:[/^п/i,/^у/i,/^с/i,/^ч/i,/^п/i,/^с/i,/^н/i],any:[/^нед/i,/^пон/i,/^уто/i,/^сре/i,/^чет/i,/^пет/i,/^суб/i]},h5={any:/^(ам|пм|поноћ|(по)?подне|увече|ноћу|после подне|ујутру)/i},f5={any:{am:/^a/i,pm:/^p/i,midnight:/^поно/i,noon:/^под/i,morning:/ујутру/i,afternoon:/(после\s|по)+подне/i,evening:/(увече)/i,night:/(ноћу)/i}},g5={ordinalNumber:K({matchPattern:n5,parsePattern:r5,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:i5,defaultMatchWidth:"wide",parsePatterns:o5,defaultParseWidth:"any"}),quarter:s({matchPatterns:s5,defaultMatchWidth:"wide",parsePatterns:u5,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:d5,defaultMatchWidth:"wide",parsePatterns:l5,defaultParseWidth:"any"}),day:s({matchPatterns:m5,defaultMatchWidth:"wide",parsePatterns:c5,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:h5,defaultMatchWidth:"any",parsePatterns:f5,defaultParseWidth:"any"})},p5={code:"sr",formatDistance:Iq,formatLong:Rq,formatRelative:Gq,localize:a5,match:g5,options:{weekStartsOn:1,firstWeekContainsDate:1}},v5={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"}},y5=(e,n,t)=>{let a;const r=v5[e];return typeof r=="string"?a=r:n===1?t!=null&&t.addSuffix?t.comparison&&t.comparison>0?a=r.one.withPrepositionIn:a=r.one.withPrepositionAgo:a=r.one.standalone:n%10>1&&n%10<5&&String(n).substr(-2,1)!=="1"?a=r.dual.replace("{{count}}",String(n)):a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"za "+a:"pre "+a:a},w5={full:"EEEE, d. MMMM yyyy.",long:"d. MMMM yyyy.",medium:"d. MMM yy.",short:"dd. MM. yy."},b5={full:"HH:mm:ss (zzzz)",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},P5={full:"{{date}} 'u' {{time}}",long:"{{date}} 'u' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},k5={date:c({formats:w5,defaultWidth:"full"}),time:c({formats:b5,defaultWidth:"full"}),dateTime:c({formats:P5,defaultWidth:"full"})},M5={lastWeek:e=>{switch(e.getDay()){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:e=>{switch(e.getDay()){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"},$5=(e,n,t,a)=>{const r=M5[e];return typeof r=="function"?r(n):r},W5={narrow:["pr.n.e.","AD"],abbreviated:["pr. Hr.","po. Hr."],wide:["Pre Hrista","Posle Hrista"]},D5={narrow:["1.","2.","3.","4."],abbreviated:["1. kv.","2. kv.","3. kv.","4. kv."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},x5={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"]},j5={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"]},z5={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"]},T5={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"}},S5={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"}},_5=(e,n)=>Number(e)+".",N5={ordinalNumber:_5,era:o({values:W5,defaultWidth:"wide"}),quarter:o({values:D5,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:x5,defaultWidth:"wide",formattingValues:j5,defaultFormattingWidth:"wide"}),day:o({values:z5,defaultWidth:"wide"}),dayPeriod:o({values:S5,defaultWidth:"wide",formattingValues:T5,defaultFormattingWidth:"wide"})},C5=/^(\d+)\./i,V5=/\d+/i,E5={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},H5={any:[/^pr/i,/^(po|nova)/i]},F5={narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?kv\.?/i,wide:/^[1234]\. kvartal/i},A5={any:[/1/i,/2/i,/3/i,/4/i]},O5={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},I5={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]},X5={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},L5={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]},Y5={any:/^(am|pm|ponoc|ponoć|(po)?podne|uvece|uveče|noću|posle podne|ujutru)/i},R5={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}},q5={ordinalNumber:K({matchPattern:C5,parsePattern:V5,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:E5,defaultMatchWidth:"wide",parsePatterns:H5,defaultParseWidth:"any"}),quarter:s({matchPatterns:F5,defaultMatchWidth:"wide",parsePatterns:A5,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:O5,defaultMatchWidth:"wide",parsePatterns:I5,defaultParseWidth:"any"}),day:s({matchPatterns:X5,defaultMatchWidth:"wide",parsePatterns:L5,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:Y5,defaultMatchWidth:"any",parsePatterns:R5,defaultParseWidth:"any"})},G5={code:"sr-Latn",formatDistance:y5,formatLong:k5,formatRelative:$5,localize:N5,match:q5,options:{weekStartsOn:1,firstWeekContainsDate:1}},B5={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}} veckor"},xWeeks:{one:"en vecka",other:"{{count}} veckor"},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"}},Q5=["noll","en","två","tre","fyra","fem","sex","sju","åtta","nio","tio","elva","tolv"],K5=(e,n,t)=>{let a;const r=B5[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",n<13?Q5[n]:String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"om "+a:a+" sedan":a},J5={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"y-MM-dd"},U5={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Z5={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},e6={date:c({formats:J5,defaultWidth:"full"}),time:c({formats:U5,defaultWidth:"full"}),dateTime:c({formats:Z5,defaultWidth:"full"})},t6={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"},a6=(e,n,t,a)=>t6[e],n6={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["före Kristus","efter Kristus"]},r6={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1:a kvartalet","2:a kvartalet","3:e kvartalet","4:e kvartalet"]},i6={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"]},o6={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"]},s6={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"}},u6={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"}},d6=(e,n)=>{const t=Number(e),a=t%100;if(a>20||a<10)switch(a%10){case 1:case 2:return t+":a"}return t+":e"},l6={ordinalNumber:d6,era:o({values:n6,defaultWidth:"wide"}),quarter:o({values:r6,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:i6,defaultWidth:"wide"}),day:o({values:o6,defaultWidth:"wide"}),dayPeriod:o({values:s6,defaultWidth:"wide",formattingValues:u6,defaultFormattingWidth:"wide"})},m6=/^(\d+)(:a|:e)?/i,c6=/\d+/i,h6={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},f6={any:[/^f/i,/^[ev]/i]},g6={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](:a|:e)? kvartalet/i},p6={any:[/1/i,/2/i,/3/i,/4/i]},v6={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},y6={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]},w6={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},b6={any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},P6={any:/^([fe]\.?\s?m\.?|midn(att)?|midd(ag)?|(på) (morgonen|eftermiddagen|kvällen|natten))/i},k6={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}},M6={ordinalNumber:K({matchPattern:m6,parsePattern:c6,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:h6,defaultMatchWidth:"wide",parsePatterns:f6,defaultParseWidth:"any"}),quarter:s({matchPatterns:g6,defaultMatchWidth:"wide",parsePatterns:p6,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:v6,defaultMatchWidth:"wide",parsePatterns:y6,defaultParseWidth:"any"}),day:s({matchPatterns:w6,defaultMatchWidth:"wide",parsePatterns:b6,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:P6,defaultMatchWidth:"any",parsePatterns:k6,defaultParseWidth:"any"})},$6={code:"sv",formatDistance:K5,formatLong:e6,formatRelative:a6,localize:l6,match:M6,options:{weekStartsOn:1,firstWeekContainsDate:4}};function W6(e){return e.one!==void 0}const D6={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}} ஆண்டுகளுக்கு முன்பு"}}},x6=(e,n,t)=>{const a=t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in":"ago":"default",r=D6[e];return W6(r)?n===1?r.one[a]:r.other[a].replace("{{count}}",String(n)):r[a]},j6={full:"EEEE, d MMMM, y",long:"d MMMM, y",medium:"d MMM, y",short:"d/M/yy"},z6={full:"a h:mm:ss zzzz",long:"a h:mm:ss z",medium:"a h:mm:ss",short:"a h:mm"},T6={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},S6={date:c({formats:j6,defaultWidth:"full"}),time:c({formats:z6,defaultWidth:"full"}),dateTime:c({formats:T6,defaultWidth:"full"})},_6={lastWeek:"'கடந்த' eeee p 'மணிக்கு'",yesterday:"'நேற்று ' p 'மணிக்கு'",today:"'இன்று ' p 'மணிக்கு'",tomorrow:"'நாளை ' p 'மணிக்கு'",nextWeek:"eeee p 'மணிக்கு'",other:"P"},N6=(e,n,t,a)=>_6[e],C6={narrow:["கி.மு.","கி.பி."],abbreviated:["கி.மு.","கி.பி."],wide:["கிறிஸ்துவுக்கு முன்","அன்னோ டோமினி"]},V6={narrow:["1","2","3","4"],abbreviated:["காலா.1","காலா.2","காலா.3","காலா.4"],wide:["ஒன்றாம் காலாண்டு","இரண்டாம் காலாண்டு","மூன்றாம் காலாண்டு","நான்காம் காலாண்டு"]},E6={narrow:["ஜ","பி","மா","ஏ","மே","ஜூ","ஜூ","ஆ","செ","அ","ந","டி"],abbreviated:["ஜன.","பிப்.","மார்.","ஏப்.","மே","ஜூன்","ஜூலை","ஆக.","செப்.","அக்.","நவ.","டிச."],wide:["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்"]},H6={narrow:["ஞா","தி","செ","பு","வி","வெ","ச"],short:["ஞா","தி","செ","பு","வி","வெ","ச"],abbreviated:["ஞாயி.","திங்.","செவ்.","புத.","வியா.","வெள்.","சனி"],wide:["ஞாயிறு","திங்கள்","செவ்வாய்","புதன்","வியாழன்","வெள்ளி","சனி"]},F6={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:"இரவு"}},A6={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:"இரவு"}},O6=(e,n)=>String(e),I6={ordinalNumber:O6,era:o({values:C6,defaultWidth:"wide"}),quarter:o({values:V6,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:E6,defaultWidth:"wide"}),day:o({values:H6,defaultWidth:"wide"}),dayPeriod:o({values:F6,defaultWidth:"wide",formattingValues:A6,defaultFormattingWidth:"wide"})},X6=/^(\d+)(வது)?/i,L6=/\d+/i,Y6={narrow:/^(கி.மு.|கி.பி.)/i,abbreviated:/^(கி\.?\s?மு\.?|கி\.?\s?பி\.?)/,wide:/^(கிறிஸ்துவுக்கு\sமுன்|அன்னோ\sடோமினி)/i},R6={any:[/கி\.?\s?மு\.?/,/கி\.?\s?பி\.?/]},q6={narrow:/^[1234]/i,abbreviated:/^காலா.[1234]/i,wide:/^(ஒன்றாம்|இரண்டாம்|மூன்றாம்|நான்காம்) காலாண்டு/i},G6={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/(1|காலா.1|ஒன்றாம்)/i,/(2|காலா.2|இரண்டாம்)/i,/(3|காலா.3|மூன்றாம்)/i,/(4|காலா.4|நான்காம்)/i]},B6={narrow:/^(ஜ|பி|மா|ஏ|மே|ஜூ|ஆ|செ|அ|ந|டி)$/i,abbreviated:/^(ஜன.|பிப்.|மார்.|ஏப்.|மே|ஜூன்|ஜூலை|ஆக.|செப்.|அக்.|நவ.|டிச.)/i,wide:/^(ஜனவரி|பிப்ரவரி|மார்ச்|ஏப்ரல்|மே|ஜூன்|ஜூலை|ஆகஸ்ட்|செப்டம்பர்|அக்டோபர்|நவம்பர்|டிசம்பர்)/i},Q6={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]},K6={narrow:/^(ஞா|தி|செ|பு|வி|வெ|ச)/i,short:/^(ஞா|தி|செ|பு|வி|வெ|ச)/i,abbreviated:/^(ஞாயி.|திங்.|செவ்.|புத.|வியா.|வெள்.|சனி)/i,wide:/^(ஞாயிறு|திங்கள்|செவ்வாய்|புதன்|வியாழன்|வெள்ளி|சனி)/i},J6={narrow:[/^ஞா/i,/^தி/i,/^செ/i,/^பு/i,/^வி/i,/^வெ/i,/^ச/i],any:[/^ஞா/i,/^தி/i,/^செ/i,/^பு/i,/^வி/i,/^வெ/i,/^ச/i]},U6={narrow:/^(மு.ப|பி.ப|நள்|நண்|காலை|மதியம்|மாலை|இரவு)/i,any:/^(மு.ப|பி.ப|முற்பகல்|பிற்பகல்|நள்ளிரவு|நண்பகல்|காலை|மதியம்|மாலை|இரவு)/i},Z6={any:{am:/^மு/i,pm:/^பி/i,midnight:/^நள்/i,noon:/^நண்/i,morning:/காலை/i,afternoon:/மதியம்/i,evening:/மாலை/i,night:/இரவு/i}},eG={ordinalNumber:K({matchPattern:X6,parsePattern:L6,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:Y6,defaultMatchWidth:"wide",parsePatterns:R6,defaultParseWidth:"any"}),quarter:s({matchPatterns:q6,defaultMatchWidth:"wide",parsePatterns:G6,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:B6,defaultMatchWidth:"wide",parsePatterns:Q6,defaultParseWidth:"any"}),day:s({matchPatterns:K6,defaultMatchWidth:"wide",parsePatterns:J6,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:U6,defaultMatchWidth:"any",parsePatterns:Z6,defaultParseWidth:"any"})},tG={code:"ta",formatDistance:x6,formatLong:S6,formatRelative:N6,localize:I6,match:eG,options:{weekStartsOn:1,firstWeekContainsDate:4}},Pi={lessThanXSeconds:{standalone:{one:"సెకను కన్నా తక్కువ",other:"{{count}} సెకన్ల కన్నా తక్కువ"},withPreposition:{one:"సెకను",other:"{{count}} సెకన్ల"}},xSeconds:{standalone:{one:"ఒక సెకను",other:"{{count}} సెకన్ల"},withPreposition:{one:"ఒక సెకను",other:"{{count}} సెకన్ల"}},halfAMinute:{standalone:"అర నిమిషం",withPreposition:"అర నిమిషం"},lessThanXMinutes:{standalone:{one:"ఒక నిమిషం కన్నా తక్కువ",other:"{{count}} నిమిషాల కన్నా తక్కువ"},withPreposition:{one:"ఒక నిమిషం",other:"{{count}} నిమిషాల"}},xMinutes:{standalone:{one:"ఒక నిమిషం",other:"{{count}} నిమిషాలు"},withPreposition:{one:"ఒక నిమిషం",other:"{{count}} నిమిషాల"}},aboutXHours:{standalone:{one:"సుమారు ఒక గంట",other:"సుమారు {{count}} గంటలు"},withPreposition:{one:"సుమారు ఒక గంట",other:"సుమారు {{count}} గంటల"}},xHours:{standalone:{one:"ఒక గంట",other:"{{count}} గంటలు"},withPreposition:{one:"ఒక గంట",other:"{{count}} గంటల"}},xDays:{standalone:{one:"ఒక రోజు",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:"ఒక నెల",other:"{{count}} నెలలు"},withPreposition:{one:"ఒక నెల",other:"{{count}} నెలల"}},aboutXYears:{standalone:{one:"సుమారు ఒక సంవత్సరం",other:"సుమారు {{count}} సంవత్సరాలు"},withPreposition:{one:"సుమారు ఒక సంవత్సరం",other:"సుమారు {{count}} సంవత్సరాల"}},xYears:{standalone:{one:"ఒక సంవత్సరం",other:"{{count}} సంవత్సరాలు"},withPreposition:{one:"ఒక సంవత్సరం",other:"{{count}} సంవత్సరాల"}},overXYears:{standalone:{one:"ఒక సంవత్సరం పైగా",other:"{{count}} సంవత్సరాలకు పైగా"},withPreposition:{one:"ఒక సంవత్సరం",other:"{{count}} సంవత్సరాల"}},almostXYears:{standalone:{one:"దాదాపు ఒక సంవత్సరం",other:"దాదాపు {{count}} సంవత్సరాలు"},withPreposition:{one:"దాదాపు ఒక సంవత్సరం",other:"దాదాపు {{count}} సంవత్సరాల"}}},aG=(e,n,t)=>{let a;const r=t!=null&&t.addSuffix?Pi[e].withPreposition:Pi[e].standalone;return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?a+"లో":a+" క్రితం":a},nG={full:"d, MMMM y, EEEE",long:"d MMMM, y",medium:"d MMM, y",short:"dd-MM-yy"},rG={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},iG={full:"{{date}} {{time}}'కి'",long:"{{date}} {{time}}'కి'",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},oG={date:c({formats:nG,defaultWidth:"full"}),time:c({formats:rG,defaultWidth:"full"}),dateTime:c({formats:iG,defaultWidth:"full"})},sG={lastWeek:"'గత' eeee p",yesterday:"'నిన్న' p",today:"'ఈ రోజు' p",tomorrow:"'రేపు' p",nextWeek:"'తదుపరి' eeee p",other:"P"},uG=(e,n,t,a)=>sG[e],dG={narrow:["క్రీ.పూ.","క్రీ.శ."],abbreviated:["క్రీ.పూ.","క్రీ.శ."],wide:["క్రీస్తు పూర్వం","క్రీస్తుశకం"]},lG={narrow:["1","2","3","4"],abbreviated:["త్రై1","త్రై2","త్రై3","త్రై4"],wide:["1వ త్రైమాసికం","2వ త్రైమాసికం","3వ త్రైమాసికం","4వ త్రైమాసికం"]},mG={narrow:["జ","ఫి","మా","ఏ","మే","జూ","జు","ఆ","సె","అ","న","డి"],abbreviated:["జన","ఫిబ్ర","మార్చి","ఏప్రి","మే","జూన్","జులై","ఆగ","సెప్టెం","అక్టో","నవం","డిసెం"],wide:["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జులై","ఆగస్టు","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్"]},cG={narrow:["ఆ","సో","మ","బు","గు","శు","శ"],short:["ఆది","సోమ","మంగళ","బుధ","గురు","శుక్ర","శని"],abbreviated:["ఆది","సోమ","మంగళ","బుధ","గురు","శుక్ర","శని"],wide:["ఆదివారం","సోమవారం","మంగళవారం","బుధవారం","గురువారం","శుక్రవారం","శనివారం"]},hG={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:"రాత్రి"}},fG={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:"రాత్రి"}},gG=(e,n)=>Number(e)+"వ",pG={ordinalNumber:gG,era:o({values:dG,defaultWidth:"wide"}),quarter:o({values:lG,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:mG,defaultWidth:"wide"}),day:o({values:cG,defaultWidth:"wide"}),dayPeriod:o({values:hG,defaultWidth:"wide",formattingValues:fG,defaultFormattingWidth:"wide"})},vG=/^(\d+)(వ)?/i,yG=/\d+/i,wG={narrow:/^(క్రీ\.పూ\.|క్రీ\.శ\.)/i,abbreviated:/^(క్రీ\.?\s?పూ\.?|ప్ర\.?\s?శ\.?\s?పూ\.?|క్రీ\.?\s?శ\.?|సా\.?\s?శ\.?)/i,wide:/^(క్రీస్తు పూర్వం|ప్రస్తుత శకానికి పూర్వం|క్రీస్తు శకం|ప్రస్తుత శకం)/i},bG={any:[/^(పూ|శ)/i,/^సా/i]},PG={narrow:/^[1234]/i,abbreviated:/^త్రై[1234]/i,wide:/^[1234](వ)? త్రైమాసికం/i},kG={any:[/1/i,/2/i,/3/i,/4/i]},MG={narrow:/^(జూ|జు|జ|ఫి|మా|ఏ|మే|ఆ|సె|అ|న|డి)/i,abbreviated:/^(జన|ఫిబ్ర|మార్చి|ఏప్రి|మే|జూన్|జులై|ఆగ|సెప్|అక్టో|నవ|డిసె)/i,wide:/^(జనవరి|ఫిబ్రవరి|మార్చి|ఏప్రిల్|మే|జూన్|జులై|ఆగస్టు|సెప్టెంబర్|అక్టోబర్|నవంబర్|డిసెంబర్)/i},$G={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]},WG={narrow:/^(ఆ|సో|మ|బు|గు|శు|శ)/i,short:/^(ఆది|సోమ|మం|బుధ|గురు|శుక్ర|శని)/i,abbreviated:/^(ఆది|సోమ|మం|బుధ|గురు|శుక్ర|శని)/i,wide:/^(ఆదివారం|సోమవారం|మంగళవారం|బుధవారం|గురువారం|శుక్రవారం|శనివారం)/i},DG={narrow:[/^ఆ/i,/^సో/i,/^మ/i,/^బు/i,/^గు/i,/^శు/i,/^శ/i],any:[/^ఆది/i,/^సోమ/i,/^మం/i,/^బుధ/i,/^గురు/i,/^శుక్ర/i,/^శని/i]},xG={narrow:/^(పూర్వాహ్నం|అపరాహ్నం|అర్ధరాత్రి|మిట్టమధ్యాహ్నం|ఉదయం|మధ్యాహ్నం|సాయంత్రం|రాత్రి)/i,any:/^(పూర్వాహ్నం|అపరాహ్నం|అర్ధరాత్రి|మిట్టమధ్యాహ్నం|ఉదయం|మధ్యాహ్నం|సాయంత్రం|రాత్రి)/i},jG={any:{am:/^పూర్వాహ్నం/i,pm:/^అపరాహ్నం/i,midnight:/^అర్ధ/i,noon:/^మిట్ట/i,morning:/ఉదయం/i,afternoon:/మధ్యాహ్నం/i,evening:/సాయంత్రం/i,night:/రాత్రి/i}},zG={ordinalNumber:K({matchPattern:vG,parsePattern:yG,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:wG,defaultMatchWidth:"wide",parsePatterns:bG,defaultParseWidth:"any"}),quarter:s({matchPatterns:PG,defaultMatchWidth:"wide",parsePatterns:kG,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:MG,defaultMatchWidth:"wide",parsePatterns:$G,defaultParseWidth:"any"}),day:s({matchPatterns:WG,defaultMatchWidth:"wide",parsePatterns:DG,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:xG,defaultMatchWidth:"any",parsePatterns:jG,defaultParseWidth:"any"})},TG={code:"te",formatDistance:aG,formatLong:oG,formatRelative:uG,localize:pG,match:zG,options:{weekStartsOn:0,firstWeekContainsDate:1}},SG={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}} ปี"}},_G=(e,n,t)=>{let a;const r=SG[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?e==="halfAMinute"?"ใน"+a:"ใน "+a:a+"ที่ผ่านมา":a},NG={full:"วันEEEEที่ do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},CG={full:"H:mm:ss น. zzzz",long:"H:mm:ss น. z",medium:"H:mm:ss น.",short:"H:mm น."},VG={full:"{{date}} 'เวลา' {{time}}",long:"{{date}} 'เวลา' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},EG={date:c({formats:NG,defaultWidth:"full"}),time:c({formats:CG,defaultWidth:"medium"}),dateTime:c({formats:VG,defaultWidth:"full"})},HG={lastWeek:"eeee'ที่แล้วเวลา' p",yesterday:"'เมื่อวานนี้เวลา' p",today:"'วันนี้เวลา' p",tomorrow:"'พรุ่งนี้เวลา' p",nextWeek:"eeee 'เวลา' p",other:"P"},FG=(e,n,t,a)=>HG[e],AG={narrow:["B","คศ"],abbreviated:["BC","ค.ศ."],wide:["ปีก่อนคริสตกาล","คริสต์ศักราช"]},OG={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["ไตรมาสแรก","ไตรมาสที่สอง","ไตรมาสที่สาม","ไตรมาสที่สี่"]},IG={narrow:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],short:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],abbreviated:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],wide:["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"]},XG={narrow:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],abbreviated:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],wide:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"]},LG={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:"กลางคืน"}},YG={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:"ตอนกลางคืน"}},RG=(e,n)=>String(e),qG={ordinalNumber:RG,era:o({values:AG,defaultWidth:"wide"}),quarter:o({values:OG,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:XG,defaultWidth:"wide"}),day:o({values:IG,defaultWidth:"wide"}),dayPeriod:o({values:LG,defaultWidth:"wide",formattingValues:YG,defaultFormattingWidth:"wide"})},GG=/^\d+/i,BG=/\d+/i,QG={narrow:/^([bB]|[aA]|คศ)/i,abbreviated:/^([bB]\.?\s?[cC]\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?|ค\.?ศ\.?)/i,wide:/^(ก่อนคริสตกาล|คริสต์ศักราช|คริสตกาล)/i},KG={any:[/^[bB]/i,/^(^[aA]|ค\.?ศ\.?|คริสตกาล|คริสต์ศักราช|)/i]},JG={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^ไตรมาส(ที่)? ?[1234]/i},UG={any:[/(1|แรก|หนึ่ง)/i,/(2|สอง)/i,/(3|สาม)/i,/(4|สี่)/i]},ZG={narrow:/^(ม\.?ค\.?|ก\.?พ\.?|มี\.?ค\.?|เม\.?ย\.?|พ\.?ค\.?|มิ\.?ย\.?|ก\.?ค\.?|ส\.?ค\.?|ก\.?ย\.?|ต\.?ค\.?|พ\.?ย\.?|ธ\.?ค\.?)/i,abbreviated:/^(ม\.?ค\.?|ก\.?พ\.?|มี\.?ค\.?|เม\.?ย\.?|พ\.?ค\.?|มิ\.?ย\.?|ก\.?ค\.?|ส\.?ค\.?|ก\.?ย\.?|ต\.?ค\.?|พ\.?ย\.?|ธ\.?ค\.?')/i,wide:/^(มกราคม|กุมภาพันธ์|มีนาคม|เมษายน|พฤษภาคม|มิถุนายน|กรกฎาคม|สิงหาคม|กันยายน|ตุลาคม|พฤศจิกายน|ธันวาคม)/i},eB={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]},tB={narrow:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,short:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,abbreviated:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,wide:/^(อาทิตย์|จันทร์|อังคาร|พุธ|พฤหัสบดี|ศุกร์|เสาร์)/i},aB={wide:[/^อา/i,/^จั/i,/^อั/i,/^พุธ/i,/^พฤ/i,/^ศ/i,/^เส/i],any:[/^อา/i,/^จ/i,/^อ/i,/^พ(?!ฤ)/i,/^พฤ/i,/^ศ/i,/^ส/i]},nB={any:/^(ก่อนเที่ยง|หลังเที่ยง|เที่ยงคืน|เที่ยง|(ตอน.*?)?.*(เที่ยง|เช้า|บ่าย|เย็น|กลางคืน))/i},rB={any:{am:/^ก่อนเที่ยง/i,pm:/^หลังเที่ยง/i,midnight:/^เที่ยงคืน/i,noon:/^เที่ยง/i,morning:/เช้า/i,afternoon:/บ่าย/i,evening:/เย็น/i,night:/กลางคืน/i}},iB={ordinalNumber:K({matchPattern:GG,parsePattern:BG,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:QG,defaultMatchWidth:"wide",parsePatterns:KG,defaultParseWidth:"any"}),quarter:s({matchPatterns:JG,defaultMatchWidth:"wide",parsePatterns:UG,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:ZG,defaultMatchWidth:"wide",parsePatterns:eB,defaultParseWidth:"any"}),day:s({matchPatterns:tB,defaultMatchWidth:"wide",parsePatterns:aB,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:nB,defaultMatchWidth:"any",parsePatterns:rB,defaultParseWidth:"any"})},oB={code:"th",formatDistance:_G,formatLong:EG,formatRelative:FG,localize:qG,match:iB,options:{weekStartsOn:0,firstWeekContainsDate:1}},sB={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"}},uB=(e,n,t)=>{let a;const r=sB[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",n.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?a+" sonra":a+" önce":a},dB={full:"d MMMM y EEEE",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.yyyy"},lB={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},mB={full:"{{date}} 'saat' {{time}}",long:"{{date}} 'saat' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},cB={date:c({formats:dB,defaultWidth:"full"}),time:c({formats:lB,defaultWidth:"full"}),dateTime:c({formats:mB,defaultWidth:"full"})},hB={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"},fB=(e,n,t,a)=>hB[e],gB={narrow:["MÖ","MS"],abbreviated:["MÖ","MS"],wide:["Milattan Önce","Milattan Sonra"]},pB={narrow:["1","2","3","4"],abbreviated:["1Ç","2Ç","3Ç","4Ç"],wide:["İlk çeyrek","İkinci Çeyrek","Üçüncü çeyrek","Son çeyrek"]},vB={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"]},yB={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"]},wB={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"}},bB={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"}},PB=(e,n)=>Number(e)+".",kB={ordinalNumber:PB,era:o({values:gB,defaultWidth:"wide"}),quarter:o({values:pB,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:o({values:vB,defaultWidth:"wide"}),day:o({values:yB,defaultWidth:"wide"}),dayPeriod:o({values:wB,defaultWidth:"wide",formattingValues:bB,defaultFormattingWidth:"wide"})},MB=/^(\d+)(\.)?/i,$B=/\d+/i,WB={narrow:/^(mö|ms)/i,abbreviated:/^(mö|ms)/i,wide:/^(milattan önce|milattan sonra)/i},DB={any:[/(^mö|^milattan önce)/i,/(^ms|^milattan sonra)/i]},xB={narrow:/^[1234]/i,abbreviated:/^[1234]ç/i,wide:/^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i},jB={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]},zB={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},TB={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]},SB={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},_B={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]},NB={narrow:/^(öö|ös|gy|ö|sa|ös|ak|ge)/i,any:/^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i},CB={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}},VB={ordinalNumber:K({matchPattern:MB,parsePattern:$B,valueCallback:function(e){return parseInt(e,10)}}),era:s({matchPatterns:WB,defaultMatchWidth:"wide",parsePatterns:DB,defaultParseWidth:"any"}),quarter:s({matchPatterns:xB,defaultMatchWidth:"wide",parsePatterns:jB,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:zB,defaultMatchWidth:"wide",parsePatterns:TB,defaultParseWidth:"any"}),day:s({matchPatterns:SB,defaultMatchWidth:"wide",parsePatterns:_B,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:NB,defaultMatchWidth:"any",parsePatterns:CB,defaultParseWidth:"any"})},EB={code:"tr",formatDistance:uB,formatLong:cB,formatRelative:fB,localize:kB,match:VB,options:{weekStartsOn:1,firstWeekContainsDate:1}},HB={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}} ئاساسەن"}},FB=(e,n,t)=>{let a;const r=HB[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?a:a+" بولدى":a},AB={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},OB={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},IB={full:"{{date}} 'دە' {{time}}",long:"{{date}} 'دە' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},XB={date:c({formats:AB,defaultWidth:"full"}),time:c({formats:OB,defaultWidth:"full"}),dateTime:c({formats:IB,defaultWidth:"full"})},LB={lastWeek:"'ئۆتكەن' eeee 'دە' p",yesterday:"'تۈنۈگۈن دە' p",today:"'بۈگۈن دە' p",tomorrow:"'ئەتە دە' p",nextWeek:"eeee 'دە' p",other:"P"},YB=(e,n,t,a)=>LB[e],RB={narrow:["ب","ك"],abbreviated:["ب","ك"],wide:["مىيلادىدىن بۇرۇن","مىيلادىدىن كىيىن"]},qB={narrow:["1","2","3","4"],abbreviated:["1","2","3","4"],wide:["بىرىنجى چارەك","ئىككىنجى چارەك","ئۈچىنجى چارەك","تۆتىنجى چارەك"]},GB={narrow:["ي","ف","م","ا","م","ى","ى","ا","س","ۆ","ن","د"],abbreviated:["يانۋار","فېۋىرال","مارت","ئاپرىل","ماي","ئىيۇن","ئىيول","ئاۋغۇست","سىنتەبىر","ئۆكتەبىر","نويابىر","دىكابىر"],wide:["يانۋار","فېۋىرال","مارت","ئاپرىل","ماي","ئىيۇن","ئىيول","ئاۋغۇست","سىنتەبىر","ئۆكتەبىر","نويابىر","دىكابىر"]},BB={narrow:["ي","د","س","چ","پ","ج","ش"],short:["ي","د","س","چ","پ","ج","ش"],abbreviated:["يەكشەنبە","دۈشەنبە","سەيشەنبە","چارشەنبە","پەيشەنبە","جۈمە","شەنبە"],wide:["يەكشەنبە","دۈشەنبە","سەيشەنبە","چارشەنبە","پەيشەنبە","جۈمە","شەنبە"]},QB={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:"كىچە"}},KB={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:"كىچىدە"}},JB=(e,n)=>String(e),UB={ordinalNumber:JB,era:o({values:RB,defaultWidth:"wide"}),quarter:o({values:qB,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:GB,defaultWidth:"wide"}),day:o({values:BB,defaultWidth:"wide"}),dayPeriod:o({values:QB,defaultWidth:"wide",formattingValues:KB,defaultFormattingWidth:"wide"})},ZB=/^(\d+)(th|st|nd|rd)?/i,eQ=/\d+/i,tQ={narrow:/^(ب|ك)/i,wide:/^(مىيلادىدىن بۇرۇن|مىيلادىدىن كىيىن)/i},aQ={any:[/^بۇرۇن/i,/^كىيىن/i]},nQ={narrow:/^[1234]/i,abbreviated:/^چ[1234]/i,wide:/^چارەك [1234]/i},rQ={any:[/1/i,/2/i,/3/i,/4/i]},iQ={narrow:/^[يفمئامئئاسۆند]/i,abbreviated:/^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i,wide:/^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i},oQ={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]},sQ={narrow:/^[دسچپجشي]/i,short:/^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,abbreviated:/^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,wide:/^(يەكشەنبە|دۈشەنبە|سەيشەنبە|چارشەنبە|پەيشەنبە|جۈمە|شەنبە)/i},uQ={narrow:[/^ي/i,/^د/i,/^س/i,/^چ/i,/^پ/i,/^ج/i,/^ش/i],any:[/^ي/i,/^د/i,/^س/i,/^چ/i,/^پ/i,/^ج/i,/^ش/i]},dQ={narrow:/^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە|چۈشتىن كىيىن|ئاخشىم|كىچە))/i,any:/^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە|چۈشتىن كىيىن|ئاخشىم|كىچە))/i},lQ={any:{am:/^ئە/i,pm:/^چ/i,midnight:/^ك/i,noon:/^چ/i,morning:/ئەتىگەن/i,afternoon:/چۈشتىن كىيىن/i,evening:/ئاخشىم/i,night:/كىچە/i}},mQ={ordinalNumber:K({matchPattern:ZB,parsePattern:eQ,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:tQ,defaultMatchWidth:"wide",parsePatterns:aQ,defaultParseWidth:"any"}),quarter:s({matchPatterns:nQ,defaultMatchWidth:"wide",parsePatterns:rQ,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:iQ,defaultMatchWidth:"wide",parsePatterns:oQ,defaultParseWidth:"any"}),day:s({matchPatterns:sQ,defaultMatchWidth:"wide",parsePatterns:uQ,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:dQ,defaultMatchWidth:"any",parsePatterns:lQ,defaultParseWidth:"any"})},cQ={code:"ug",formatDistance:FB,formatLong:XB,formatRelative:YB,localize:UB,match:mQ,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Va(e,n){if(e.one!==void 0&&n===1)return e.one;const t=n%10,a=n%100;return t===1&&a!==11?e.singularNominative.replace("{{count}}",String(n)):t>=2&&t<=4&&(a<10||a>20)?e.singularGenitive.replace("{{count}}",String(n)):e.pluralGenitive.replace("{{count}}",String(n))}function ct(e){return(n,t)=>t&&t.addSuffix?t.comparison&&t.comparison>0?e.future?Va(e.future,n):"за "+Va(e.regular,n):e.past?Va(e.past,n):Va(e.regular,n)+" тому":Va(e.regular,n)}const hQ=(e,n)=>n&&n.addSuffix?n.comparison&&n.comparison>0?"за півхвилини":"півхвилини тому":"півхвилини",fQ={lessThanXSeconds:ct({regular:{one:"менше секунди",singularNominative:"менше {{count}} секунди",singularGenitive:"менше {{count}} секунд",pluralGenitive:"менше {{count}} секунд"},future:{one:"менше, ніж за секунду",singularNominative:"менше, ніж за {{count}} секунду",singularGenitive:"менше, ніж за {{count}} секунди",pluralGenitive:"менше, ніж за {{count}} секунд"}}),xSeconds:ct({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунди",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду тому",singularGenitive:"{{count}} секунди тому",pluralGenitive:"{{count}} секунд тому"},future:{singularNominative:"за {{count}} секунду",singularGenitive:"за {{count}} секунди",pluralGenitive:"за {{count}} секунд"}}),halfAMinute:hQ,lessThanXMinutes:ct({regular:{one:"менше хвилини",singularNominative:"менше {{count}} хвилини",singularGenitive:"менше {{count}} хвилин",pluralGenitive:"менше {{count}} хвилин"},future:{one:"менше, ніж за хвилину",singularNominative:"менше, ніж за {{count}} хвилину",singularGenitive:"менше, ніж за {{count}} хвилини",pluralGenitive:"менше, ніж за {{count}} хвилин"}}),xMinutes:ct({regular:{singularNominative:"{{count}} хвилина",singularGenitive:"{{count}} хвилини",pluralGenitive:"{{count}} хвилин"},past:{singularNominative:"{{count}} хвилину тому",singularGenitive:"{{count}} хвилини тому",pluralGenitive:"{{count}} хвилин тому"},future:{singularNominative:"за {{count}} хвилину",singularGenitive:"за {{count}} хвилини",pluralGenitive:"за {{count}} хвилин"}}),aboutXHours:ct({regular:{singularNominative:"близько {{count}} години",singularGenitive:"близько {{count}} годин",pluralGenitive:"близько {{count}} годин"},future:{singularNominative:"приблизно за {{count}} годину",singularGenitive:"приблизно за {{count}} години",pluralGenitive:"приблизно за {{count}} годин"}}),xHours:ct({regular:{singularNominative:"{{count}} годину",singularGenitive:"{{count}} години",pluralGenitive:"{{count}} годин"}}),xDays:ct({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} днi",pluralGenitive:"{{count}} днів"}}),aboutXWeeks:ct({regular:{singularNominative:"близько {{count}} тижня",singularGenitive:"близько {{count}} тижнів",pluralGenitive:"близько {{count}} тижнів"},future:{singularNominative:"приблизно за {{count}} тиждень",singularGenitive:"приблизно за {{count}} тижні",pluralGenitive:"приблизно за {{count}} тижнів"}}),xWeeks:ct({regular:{singularNominative:"{{count}} тиждень",singularGenitive:"{{count}} тижні",pluralGenitive:"{{count}} тижнів"}}),aboutXMonths:ct({regular:{singularNominative:"близько {{count}} місяця",singularGenitive:"близько {{count}} місяців",pluralGenitive:"близько {{count}} місяців"},future:{singularNominative:"приблизно за {{count}} місяць",singularGenitive:"приблизно за {{count}} місяці",pluralGenitive:"приблизно за {{count}} місяців"}}),xMonths:ct({regular:{singularNominative:"{{count}} місяць",singularGenitive:"{{count}} місяці",pluralGenitive:"{{count}} місяців"}}),aboutXYears:ct({regular:{singularNominative:"близько {{count}} року",singularGenitive:"близько {{count}} років",pluralGenitive:"близько {{count}} років"},future:{singularNominative:"приблизно за {{count}} рік",singularGenitive:"приблизно за {{count}} роки",pluralGenitive:"приблизно за {{count}} років"}}),xYears:ct({regular:{singularNominative:"{{count}} рік",singularGenitive:"{{count}} роки",pluralGenitive:"{{count}} років"}}),overXYears:ct({regular:{singularNominative:"більше {{count}} року",singularGenitive:"більше {{count}} років",pluralGenitive:"більше {{count}} років"},future:{singularNominative:"більше, ніж за {{count}} рік",singularGenitive:"більше, ніж за {{count}} роки",pluralGenitive:"більше, ніж за {{count}} років"}}),almostXYears:ct({regular:{singularNominative:"майже {{count}} рік",singularGenitive:"майже {{count}} роки",pluralGenitive:"майже {{count}} років"},future:{singularNominative:"майже за {{count}} рік",singularGenitive:"майже за {{count}} роки",pluralGenitive:"майже за {{count}} років"}})},gQ=(e,n,t)=>(t=t||{},fQ[e](n,t)),pQ={full:"EEEE, do MMMM y 'р.'",long:"do MMMM y 'р.'",medium:"d MMM y 'р.'",short:"dd.MM.y"},vQ={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},yQ={full:"{{date}} 'о' {{time}}",long:"{{date}} 'о' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},wQ={date:c({formats:pQ,defaultWidth:"full"}),time:c({formats:vQ,defaultWidth:"full"}),dateTime:c({formats:yQ,defaultWidth:"full"})},gr=["неділю","понеділок","вівторок","середу","четвер","п’ятницю","суботу"];function bQ(e){const n=gr[e];switch(e){case 0:case 3:case 5:case 6:return"'у минулу "+n+" о' p";case 1:case 2:case 4:return"'у минулий "+n+" о' p"}}function $o(e){return"'у "+gr[e]+" о' p"}function PQ(e){const n=gr[e];switch(e){case 0:case 3:case 5:case 6:return"'у наступну "+n+" о' p";case 1:case 2:case 4:return"'у наступний "+n+" о' p"}}const kQ=(e,n,t)=>{const a=me(e),r=a.getDay();return Ae(a,n,t)?$o(r):bQ(r)},MQ=(e,n,t)=>{const a=me(e),r=a.getDay();return Ae(a,n,t)?$o(r):PQ(r)},$Q={lastWeek:kQ,yesterday:"'вчора о' p",today:"'сьогодні о' p",tomorrow:"'завтра о' p",nextWeek:MQ,other:"P"},WQ=(e,n,t,a)=>{const r=$Q[e];return typeof r=="function"?r(n,t,a):r},DQ={narrow:["до н.е.","н.е."],abbreviated:["до н. е.","н. е."],wide:["до нашої ери","нашої ери"]},xQ={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},jQ={narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січень","лютий","березень","квітень","травень","червень","липень","серпень","вересень","жовтень","листопад","грудень"]},zQ={narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня"]},TQ={narrow:["Н","П","В","С","Ч","П","С"],short:["нд","пн","вт","ср","чт","пт","сб"],abbreviated:["нед","пон","вів","сер","чтв","птн","суб"],wide:["неділя","понеділок","вівторок","середа","четвер","п’ятниця","субота"]},SQ={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:"ніч"}},_Q={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:"ночі"}},NQ=(e,n)=>{const t=String(n==null?void 0:n.unit),a=Number(e);let r;return t==="date"?a===3||a===23?r="-є":r="-е":t==="minute"||t==="second"||t==="hour"?r="-а":r="-й",a+r},CQ={ordinalNumber:NQ,era:o({values:DQ,defaultWidth:"wide"}),quarter:o({values:xQ,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:jQ,defaultWidth:"wide",formattingValues:zQ,defaultFormattingWidth:"wide"}),day:o({values:TQ,defaultWidth:"wide"}),dayPeriod:o({values:SQ,defaultWidth:"any",formattingValues:_Q,defaultFormattingWidth:"wide"})},VQ=/^(\d+)(-?(е|й|є|а|я))?/i,EQ=/\d+/i,HQ={narrow:/^((до )?н\.?\s?е\.?)/i,abbreviated:/^((до )?н\.?\s?е\.?)/i,wide:/^(до нашої ери|нашої ери|наша ера)/i},FQ={any:[/^д/i,/^н/i]},AQ={narrow:/^[1234]/i,abbreviated:/^[1234](-?[иі]?й?)? кв.?/i,wide:/^[1234](-?[иі]?й?)? квартал/i},OQ={any:[/1/i,/2/i,/3/i,/4/i]},IQ={narrow:/^[слбктчвжг]/i,abbreviated:/^(січ|лют|бер(ез)?|квіт|трав|черв|лип|серп|вер(ес)?|жовт|лис(топ)?|груд)\.?/i,wide:/^(січень|січня|лютий|лютого|березень|березня|квітень|квітня|травень|травня|червня|червень|липень|липня|серпень|серпня|вересень|вересня|жовтень|жовтня|листопад[а]?|грудень|грудня)/i},XQ={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]},LQ={narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)\.?/i,abbreviated:/^(нед|пон|вів|сер|че?тв|птн?|суб)\.?/i,wide:/^(неділ[яі]|понеділ[ок][ка]|вівтор[ок][ка]|серед[аи]|четвер(га)?|п\W*?ятниц[яі]|субот[аи])/i},YQ={narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[он]/i,/^в/i,/^с[ер]/i,/^ч/i,/^п\W*?[ят]/i,/^с[уб]/i]},RQ={narrow:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,abbreviated:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,wide:/^([дп]п|північ|полудень|ранок|ранку|день|дня|вечір|вечора|ніч|ночі)/i},qQ={any:{am:/^дп/i,pm:/^пп/i,midnight:/^півн/i,noon:/^пол/i,morning:/^р/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},GQ={ordinalNumber:K({matchPattern:VQ,parsePattern:EQ,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:HQ,defaultMatchWidth:"wide",parsePatterns:FQ,defaultParseWidth:"any"}),quarter:s({matchPatterns:AQ,defaultMatchWidth:"wide",parsePatterns:OQ,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:IQ,defaultMatchWidth:"wide",parsePatterns:XQ,defaultParseWidth:"any"}),day:s({matchPatterns:LQ,defaultMatchWidth:"wide",parsePatterns:YQ,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:RQ,defaultMatchWidth:"wide",parsePatterns:qQ,defaultParseWidth:"any"})},BQ={code:"uk",formatDistance:gQ,formatLong:wQ,formatRelative:WQ,localize:CQ,match:GQ,options:{weekStartsOn:1,firstWeekContainsDate:1}},QQ={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"}},KQ=(e,n,t)=>{let a;const r=QQ[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?a+" dan keyin":a+" oldin":a},JQ={full:"EEEE, do MMMM, y",long:"do MMMM, y",medium:"d MMM, y",short:"dd/MM/yyyy"},UQ={full:"h:mm:ss zzzz",long:"h:mm:ss z",medium:"h:mm:ss",short:"h:mm"},ZQ={any:"{{date}}, {{time}}"},e8={date:c({formats:JQ,defaultWidth:"full"}),time:c({formats:UQ,defaultWidth:"full"}),dateTime:c({formats:ZQ,defaultWidth:"any"})},t8={lastWeek:"'oldingi' eeee p 'da'",yesterday:"'kecha' p 'da'",today:"'bugun' p 'da'",tomorrow:"'ertaga' p 'da'",nextWeek:"eeee p 'da'",other:"P"},a8=(e,n,t,a)=>t8[e],n8={narrow:["M.A","M."],abbreviated:["M.A","M."],wide:["Miloddan Avvalgi","Milodiy"]},r8={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"]},i8={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"]},o8={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"]},s8={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"}},u8={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"}},d8=(e,n)=>String(e),l8={ordinalNumber:d8,era:o({values:n8,defaultWidth:"wide"}),quarter:o({values:r8,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:i8,defaultWidth:"wide"}),day:o({values:o8,defaultWidth:"wide"}),dayPeriod:o({values:s8,defaultWidth:"wide",formattingValues:u8,defaultFormattingWidth:"wide"})},m8=/^(\d+)(chi)?/i,c8=/\d+/i,h8={narrow:/^(m\.a|m\.)/i,abbreviated:/^(m\.a\.?\s?m\.?)/i,wide:/^(miloddan avval|miloddan keyin)/i},f8={any:[/^b/i,/^(a|c)/i]},g8={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](chi)? chorak/i},p8={any:[/1/i,/2/i,/3/i,/4/i]},v8={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},y8={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]},w8={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},b8={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]},P8={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},k8={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}},M8={ordinalNumber:K({matchPattern:m8,parsePattern:c8,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:h8,defaultMatchWidth:"wide",parsePatterns:f8,defaultParseWidth:"any"}),quarter:s({matchPatterns:g8,defaultMatchWidth:"wide",parsePatterns:p8,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:v8,defaultMatchWidth:"wide",parsePatterns:y8,defaultParseWidth:"any"}),day:s({matchPatterns:w8,defaultMatchWidth:"wide",parsePatterns:b8,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:P8,defaultMatchWidth:"any",parsePatterns:k8,defaultParseWidth:"any"})},$8={code:"uz",formatDistance:KQ,formatLong:e8,formatRelative:a8,localize:l8,match:M8,options:{weekStartsOn:1,firstWeekContainsDate:1}},W8={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}} йил"}},D8=(e,n,t)=>{let a;const r=W8[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?a+"дан кейин":a+" олдин":a},x8={full:"EEEE, do MMMM, y",long:"do MMMM, y",medium:"d MMM, y",short:"dd/MM/yyyy"},j8={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},z8={any:"{{date}}, {{time}}"},T8={date:c({formats:x8,defaultWidth:"full"}),time:c({formats:j8,defaultWidth:"full"}),dateTime:c({formats:z8,defaultWidth:"any"})},S8={lastWeek:"'ўтган' eeee p 'да'",yesterday:"'кеча' p 'да'",today:"'бугун' p 'да'",tomorrow:"'эртага' p 'да'",nextWeek:"eeee p 'да'",other:"P"},_8=(e,n,t,a)=>S8[e],N8={narrow:["М.А","М"],abbreviated:["М.А","М"],wide:["Милоддан Аввалги","Милодий"]},C8={narrow:["1","2","3","4"],abbreviated:["1-чор.","2-чор.","3-чор.","4-чор."],wide:["1-чорак","2-чорак","3-чорак","4-чорак"]},V8={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек"],wide:["январ","феврал","март","апрел","май","июн","июл","август","сентабр","октабр","ноябр","декабр"]},E8={narrow:["Я","Д","С","Ч","П","Ж","Ш"],short:["як","ду","се","чо","па","жу","ша"],abbreviated:["якш","душ","сеш","чор","пай","жум","шан"],wide:["якшанба","душанба","сешанба","чоршанба","пайшанба","жума","шанба"]},H8={any:{am:"П.О.",pm:"П.К.",midnight:"ярим тун",noon:"пешин",morning:"эрталаб",afternoon:"пешиндан кейин",evening:"кечаси",night:"тун"}},F8={any:{am:"П.О.",pm:"П.К.",midnight:"ярим тун",noon:"пешин",morning:"эрталаб",afternoon:"пешиндан кейин",evening:"кечаси",night:"тун"}},A8=(e,n)=>String(e),O8={ordinalNumber:A8,era:o({values:N8,defaultWidth:"wide"}),quarter:o({values:C8,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:V8,defaultWidth:"wide"}),day:o({values:E8,defaultWidth:"wide"}),dayPeriod:o({values:H8,defaultWidth:"any",formattingValues:F8,defaultFormattingWidth:"any"})},I8=/^(\d+)(чи)?/i,X8=/\d+/i,L8={narrow:/^(м\.а|м\.)/i,abbreviated:/^(м\.а|м\.)/i,wide:/^(милоддан аввал|милоддан кейин)/i},Y8={any:[/^м/i,/^а/i]},R8={narrow:/^[1234]/i,abbreviated:/^[1234]-чор./i,wide:/^[1234]-чорак/i},q8={any:[/1/i,/2/i,/3/i,/4/i]},G8={narrow:/^[яфмамииасонд]/i,abbreviated:/^(янв|фев|мар|апр|май|июн|июл|авг|сен|окт|ноя|дек)/i,wide:/^(январ|феврал|март|апрел|май|июн|июл|август|сентабр|октабр|ноябр|декабр)/i},B8={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]},Q8={narrow:/^[ядсчпжш]/i,short:/^(як|ду|се|чо|па|жу|ша)/i,abbreviated:/^(якш|душ|сеш|чор|пай|жум|шан)/i,wide:/^(якшанба|душанба|сешанба|чоршанба|пайшанба|жума|шанба)/i},K8={narrow:[/^я/i,/^д/i,/^с/i,/^ч/i,/^п/i,/^ж/i,/^ш/i],any:[/^як/i,/^ду/i,/^се/i,/^чор/i,/^пай/i,/^жу/i,/^шан/i]},J8={any:/^(п\.о\.|п\.к\.|ярим тун|пешиндан кейин|(эрталаб|пешиндан кейин|кечаси|тун))/i},U8={any:{am:/^п\.о\./i,pm:/^п\.к\./i,midnight:/^ярим тун/i,noon:/^пешиндан кейин/i,morning:/эрталаб/i,afternoon:/пешиндан кейин/i,evening:/кечаси/i,night:/тун/i}},Z8={ordinalNumber:K({matchPattern:I8,parsePattern:X8,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:L8,defaultMatchWidth:"wide",parsePatterns:Y8,defaultParseWidth:"any"}),quarter:s({matchPatterns:R8,defaultMatchWidth:"wide",parsePatterns:q8,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:G8,defaultMatchWidth:"wide",parsePatterns:B8,defaultParseWidth:"any"}),day:s({matchPatterns:Q8,defaultMatchWidth:"wide",parsePatterns:K8,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:J8,defaultMatchWidth:"any",parsePatterns:U8,defaultParseWidth:"any"})},e7={code:"uz-Cyrl",formatDistance:D8,formatLong:T8,formatRelative:_8,localize:O8,match:Z8,options:{weekStartsOn:1,firstWeekContainsDate:1}},t7={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"}},a7=(e,n,t)=>{let a;const r=t7[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?a+" nữa":a+" trước":a},n7={full:"EEEE, 'ngày' d MMMM 'năm' y",long:"'ngày' d MMMM 'năm' y",medium:"d MMM 'năm' y",short:"dd/MM/y"},r7={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},i7={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},o7={date:c({formats:n7,defaultWidth:"full"}),time:c({formats:r7,defaultWidth:"full"}),dateTime:c({formats:i7,defaultWidth:"full"})},s7={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"},u7=(e,n,t,a)=>s7[e],d7={narrow:["TCN","SCN"],abbreviated:["trước CN","sau CN"],wide:["trước Công Nguyên","sau Công Nguyên"]},l7={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["Quý 1","Quý 2","Quý 3","Quý 4"]},m7={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["quý I","quý II","quý III","quý IV"]},c7={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"]},h7={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"]},f7={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"]},g7={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"}},p7={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"}},v7=(e,n)=>{const t=Number(e),a=n==null?void 0:n.unit;if(a==="quarter")switch(t){case 1:return"I";case 2:return"II";case 3:return"III";case 4:return"IV"}else if(a==="day")switch(t){case 1:return"thứ 2";case 2:return"thứ 3";case 3:return"thứ 4";case 4:return"thứ 5";case 5:return"thứ 6";case 6:return"thứ 7";case 7:return"chủ nhật"}else{if(a==="week")return t===1?"thứ nhất":"thứ "+t;if(a==="dayOfYear")return t===1?"đầu tiên":"thứ "+t}return String(t)},y7={ordinalNumber:v7,era:o({values:d7,defaultWidth:"wide"}),quarter:o({values:l7,defaultWidth:"wide",formattingValues:m7,defaultFormattingWidth:"wide",argumentCallback:e=>e-1}),month:o({values:c7,defaultWidth:"wide",formattingValues:h7,defaultFormattingWidth:"wide"}),day:o({values:f7,defaultWidth:"wide"}),dayPeriod:o({values:g7,defaultWidth:"wide",formattingValues:p7,defaultFormattingWidth:"wide"})},w7=/^(\d+)/i,b7=/\d+/i,P7={narrow:/^(tcn|scn)/i,abbreviated:/^(trước CN|sau CN)/i,wide:/^(trước Công Nguyên|sau Công Nguyên)/i},k7={any:[/^t/i,/^s/i]},M7={narrow:/^([1234]|i{1,3}v?)/i,abbreviated:/^q([1234]|i{1,3}v?)/i,wide:/^quý ([1234]|i{1,3}v?)/i},$7={any:[/(1|i)$/i,/(2|ii)$/i,/(3|iii)$/i,/(4|iv)$/i]},W7={narrow:/^(0?[2-9]|10|11|12|0?1)/i,abbreviated:/^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i,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},D7={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]},x7={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},j7={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]},z7={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},T7={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}},S7={ordinalNumber:K({matchPattern:w7,parsePattern:b7,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:P7,defaultMatchWidth:"wide",parsePatterns:k7,defaultParseWidth:"any"}),quarter:s({matchPatterns:M7,defaultMatchWidth:"wide",parsePatterns:$7,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:W7,defaultMatchWidth:"wide",parsePatterns:D7,defaultParseWidth:"wide"}),day:s({matchPatterns:x7,defaultMatchWidth:"wide",parsePatterns:j7,defaultParseWidth:"wide"}),dayPeriod:s({matchPatterns:z7,defaultMatchWidth:"wide",parsePatterns:T7,defaultParseWidth:"any"})},_7={code:"vi",formatDistance:a7,formatLong:o7,formatRelative:u7,localize:y7,match:S7,options:{weekStartsOn:1,firstWeekContainsDate:1}},N7={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}} 年"}},C7=(e,n,t)=>{let a;const r=N7[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?a+"内":a+"前":a},V7={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},E7={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},H7={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},F7={date:c({formats:V7,defaultWidth:"full"}),time:c({formats:E7,defaultWidth:"full"}),dateTime:c({formats:H7,defaultWidth:"full"})};function ki(e,n,t){const a="eeee p";return Ae(e,n,t)?a:e.getTime()>n.getTime()?"'下个'"+a:"'上个'"+a}const A7={lastWeek:ki,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:ki,other:"PP p"},O7=(e,n,t,a)=>{const r=A7[e];return typeof r=="function"?r(n,t,a):r},I7={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},X7={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},L7={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},Y7={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},R7={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:"夜间"}},q7={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:"夜间"}},G7=(e,n)=>{const t=Number(e);switch(n==null?void 0:n.unit){case"date":return t.toString()+"日";case"hour":return t.toString()+"时";case"minute":return t.toString()+"分";case"second":return t.toString()+"秒";default:return"第 "+t.toString()}},B7={ordinalNumber:G7,era:o({values:I7,defaultWidth:"wide"}),quarter:o({values:X7,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:L7,defaultWidth:"wide"}),day:o({values:Y7,defaultWidth:"wide"}),dayPeriod:o({values:R7,defaultWidth:"wide",formattingValues:q7,defaultFormattingWidth:"wide"})},Q7=/^(第\s*)?\d+(日|时|分|秒)?/i,K7=/\d+/i,J7={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},U7={any:[/^(前)/i,/^(公元)/i]},Z7={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},eK={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},tK={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},aK={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]},nK={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},rK={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},iK={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},oK={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},sK={ordinalNumber:K({matchPattern:Q7,parsePattern:K7,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:J7,defaultMatchWidth:"wide",parsePatterns:U7,defaultParseWidth:"any"}),quarter:s({matchPatterns:Z7,defaultMatchWidth:"wide",parsePatterns:eK,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:tK,defaultMatchWidth:"wide",parsePatterns:aK,defaultParseWidth:"any"}),day:s({matchPatterns:nK,defaultMatchWidth:"wide",parsePatterns:rK,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:iK,defaultMatchWidth:"any",parsePatterns:oK,defaultParseWidth:"any"})},uK={code:"zh-CN",formatDistance:C7,formatLong:F7,formatRelative:O7,localize:B7,match:sK,options:{weekStartsOn:1,firstWeekContainsDate:4}},dK={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}} 年"}},lK=(e,n,t)=>{let a;const r=dK[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?a+"內":a+"前":a},mK={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},cK={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},hK={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},fK={date:c({formats:mK,defaultWidth:"full"}),time:c({formats:cK,defaultWidth:"full"}),dateTime:c({formats:hK,defaultWidth:"full"})},gK={lastWeek:"'上個'eeee p",yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:"'下個'eeee p",other:"P"},pK=(e,n,t,a)=>gK[e],vK={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},yK={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},wK={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},bK={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["週日","週一","週二","週三","週四","週五","週六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},PK={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:"夜晚"}},kK={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:"夜晚"}},MK=(e,n)=>{const t=Number(e);switch(n==null?void 0:n.unit){case"date":return t+"日";case"hour":return t+"時";case"minute":return t+"分";case"second":return t+"秒";default:return"第 "+t}},$K={ordinalNumber:MK,era:o({values:vK,defaultWidth:"wide"}),quarter:o({values:yK,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:wK,defaultWidth:"wide"}),day:o({values:bK,defaultWidth:"wide"}),dayPeriod:o({values:PK,defaultWidth:"wide",formattingValues:kK,defaultFormattingWidth:"wide"})},WK=/^(第\s*)?\d+(日|時|分|秒)?/i,DK=/\d+/i,xK={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},jK={any:[/^(前)/i,/^(公元)/i]},zK={narrow:/^[1234]/i,abbreviated:/^第[一二三四]季/i,wide:/^第[一二三四]季度/i},TK={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},SK={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},_K={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]},NK={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^週[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},CK={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},VK={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨)/i},EK={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},HK={ordinalNumber:K({matchPattern:WK,parsePattern:DK,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:xK,defaultMatchWidth:"wide",parsePatterns:jK,defaultParseWidth:"any"}),quarter:s({matchPatterns:zK,defaultMatchWidth:"wide",parsePatterns:TK,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:SK,defaultMatchWidth:"wide",parsePatterns:_K,defaultParseWidth:"any"}),day:s({matchPatterns:NK,defaultMatchWidth:"wide",parsePatterns:CK,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:VK,defaultMatchWidth:"any",parsePatterns:EK,defaultParseWidth:"any"})},FK={code:"zh-HK",formatDistance:lK,formatLong:fK,formatRelative:pK,localize:$K,match:HK,options:{weekStartsOn:0,firstWeekContainsDate:1}},AK={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}} 年"}},OK=(e,n,t)=>{let a;const r=AK[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",String(n)),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?a+"內":a+"前":a},IK={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},XK={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},LK={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},YK={date:c({formats:IK,defaultWidth:"full"}),time:c({formats:XK,defaultWidth:"full"}),dateTime:c({formats:LK,defaultWidth:"full"})},RK={lastWeek:"'上個'eeee p",yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:"'下個'eeee p",other:"P"},qK=(e,n,t,a)=>RK[e],GK={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},BK={narrow:["1","2","3","4"],abbreviated:["第一刻","第二刻","第三刻","第四刻"],wide:["第一刻鐘","第二刻鐘","第三刻鐘","第四刻鐘"]},QK={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},KK={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["週日","週一","週二","週三","週四","週五","週六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},JK={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:"夜間"}},UK={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:"夜間"}},ZK=(e,n)=>{const t=Number(e);switch(n==null?void 0:n.unit){case"date":return t+"日";case"hour":return t+"時";case"minute":return t+"分";case"second":return t+"秒";default:return"第 "+t}},eJ={ordinalNumber:ZK,era:o({values:GK,defaultWidth:"wide"}),quarter:o({values:BK,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:QK,defaultWidth:"wide"}),day:o({values:KK,defaultWidth:"wide"}),dayPeriod:o({values:JK,defaultWidth:"wide",formattingValues:UK,defaultFormattingWidth:"wide"})},tJ=/^(第\s*)?\d+(日|時|分|秒)?/i,aJ=/\d+/i,nJ={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},rJ={any:[/^(前)/i,/^(公元)/i]},iJ={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻鐘/i},oJ={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},sJ={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},uJ={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]},dJ={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^週[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},lJ={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},mJ={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨)/i},cJ={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},hJ={ordinalNumber:K({matchPattern:tJ,parsePattern:aJ,valueCallback:e=>parseInt(e,10)}),era:s({matchPatterns:nJ,defaultMatchWidth:"wide",parsePatterns:rJ,defaultParseWidth:"any"}),quarter:s({matchPatterns:iJ,defaultMatchWidth:"wide",parsePatterns:oJ,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:sJ,defaultMatchWidth:"wide",parsePatterns:uJ,defaultParseWidth:"any"}),day:s({matchPatterns:dJ,defaultMatchWidth:"wide",parsePatterns:lJ,defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:mJ,defaultMatchWidth:"any",parsePatterns:cJ,defaultParseWidth:"any"})},fJ={code:"zh-TW",formatDistance:OK,formatLong:YK,formatRelative:qK,localize:eJ,match:hJ,options:{weekStartsOn:1,firstWeekContainsDate:4}},gJ=Object.freeze(Object.defineProperty({__proto__:null,af:Sc,ar:sh,arDZ:Hh,arEG:ff,arMA:Yf,arSA:bg,arTN:Kg,az:xp,be:dv,beTarask:Rv,bg:Dy,bn:rw,bs:Vw,ca:cb,ckb:Xb,cs:b1,cy:K1,da:DP,de:JP,deAT:ok,el:Ek,enAU:Ik,enCA:Bk,enGB:Uk,enIE:Zk,enIN:rM,enNZ:dM,enUS:Rn,enZA:fM,eo:LM,es:b$,et:G$,eu:$W,faIR:e0,fi:T0,fr:aD,frCA:sD,frCH:fD,fy:LD,gd:wx,gl:Kx,gu:Dj,he:n2,hi:C2,hr:mz,ht:Oz,hu:wT,hy:QT,id:WS,is:t3,it:z3,itCH:C3,ja:l_,jaHira:O_,ka:pN,kk:QN,km:WC,kn:t4,ko:S4,lb:mV,lt:YV,lv:ME,mk:eH,mn:SH,ms:sF,mt:HF,nb:cA,nl:IA,nlBE:pO,nn:qO,oc:kI,pl:iX,pt:VX,ptBR:mL,ro:IL,ru:bY,se:QY,sk:SR,sl:dq,sq:Aq,sr:p5,srLatn:G5,sv:$6,ta:tG,te:TG,th:oB,tr:EB,ug:cQ,uk:BQ,uz:$8,uzCyrl:e7,vi:_7,zhCN:uK,zhHK:FK,zhTW:fJ},Symbol.toStringTag,{value:"Module"})),pJ={components:{DatePicker:nr},emits:["update:content","add-state","remove-state","trigger-event"],props:{content:{type:Object,required:!0},uid:{type:String,required:!0},wwElementState:{type:Object,required:!0}},setup(e){const n=$(()=>e.content.selectionMode==="single"?e.content.initValueSingle||null:e.content.selectionMode==="range"?{start:e.content.initValueRangeStart||null,end:e.content.initValueRangeEnd||null}:Array.isArray(e.content.initValueMulti)?e.content.initValueMulti:[]),{value:t,setValue:a}=wwLib.wwVariable.useComponentVariable({uid:e.uid,name:"value",defaultValue:n}),r=wwLib.getFrontDocument().body,i=U(null);return{variableValue:t,setValue:a,body:r,initValue:n,wwDatePicker:i,selectDate:()=>{i.value.selectDate()}}},watch:{initValue(e,n){JSON.stringify(e)!==JSON.stringify(n)&&(this.setValue(e),this.$emit("trigger-event",{name:"initValueChange",event:{value:e}}))},isReadOnly:{immediate:!0,handler(e){e?this.$emit("add-state","readonly"):this.$emit("remove-state","readonly")}}},computed:{isEditing(){return!1},previewFormat(){const e=this.content.format==="custom"?this.content.customFormat:this.content.format;return e?e.replace(/Y/g,"y").replace(/D/g,"d").replace(/A/g,"a"):null},formatedValue(){return this.formatInputValue(this.variableValue)},locale(){return this.content.lang==="pageLang"?wwLib.wwLang.lang:this.content.lang},formatLocale(){try{return gJ[this.locale]}catch{return"en"}},timezone(){return!this.content.timezone||this.content.timezone==="locale"?null:this.content.timezone},dpKey(){return this.content.selectionMode+"-"+this.content.dateMode+"-"+(this.content.menuPosition||"center")+(this.content.enableCalendarOnly?"-only":"")+(this.content.enableRightSidebar?"-rightside":"")+(this.content.enableLeftSidebar?"-leftside":"")},modelType(){return this.content.dateMode==="date"?"yyyy-MM-dd":this.content.dateMode==="time"?"HH:mm:SS":this.content.dateMode==="month"?"yyyy-MM":null},isReadOnly(){return this.wwElementState.props.readonly===void 0?this.content.readonly:this.wwElementState.props.readonly},customDayNames(){if(this.locale=="ar"){const e=["أحد","إثن","ثلاث","أربع","خمس","جمعة","سبت"],n=this.content.weekStart;return e.slice(n).concat(e.slice(0,n))}return null},themeStyle(){return{"--dp-background-color":this.content.themeBackgroundColor,"--dp-text-color":this.content.themeTextColor,"--dp-hover-color":this.content.themeHoverColor,"--dp-hover-text-color":this.content.themeHoverTextColor,"--dp-hover-icon-color":this.content.themeHoverIconColor,"--dp-primary-color":this.content.themePrimaryColor,"--dp-primary-text-color":this.content.themePrimaryTextColor,"--dp-secondary-color":this.content.themeSecondaryColor,"--dp-border-color":this.content.themeBorderColor,"--dp-menu-border-color":this.content.themeMenuBorderColor,"--dp-border-color-hover":this.content.themeBorderHoverColor,"--dp-disabled-color":this.content.themeDisabledColor,"--dp-scroll-bar-background":this.content.themeScrollBarBackgroundColor,"--dp-scroll-bar-color":this.content.themeMScrollBarColor,"--dp-success-color":this.content.themeSuccessColor,"--dp-success-color-disabled":this.content.themeSuccessDisabledColor,"--dp-icon-color":this.content.themeIconColor,"--dp-danger-color":this.content.themeDangerColor,"--dp-highlight-color":this.content.themeHighlightColor,"--dp-font-family":this.content.themeFontFamily||"unset","--dp-border-radius":this.content.themeBorderRadius,"--dp-cell-border-radius":this.content.themeCellBorderRadius,"--dp-font-size":this.content.themeFontSize,"--dp-preview-font-size":this.content.themePreviewFontSize,"--dp-time-font-size":this.content.themeTimeFontSize,"--dp-cell-size":this.content.themeCellSize,"--dp-cell-padding":this.content.themeCellPadding,"--dp-menu-min-width":this.content.themeMenuMinWidth}}},methods:{handleSelection(e){this.content.dateMode==="datetime"&&e&&(e=Array.isArray(e)?e.map(t=>t?t.toISOString():null):e.toISOString());const n=this.formatOutputValue(e);JSON.stringify(this.variableValue)!==JSON.stringify(n)&&(this.setValue(n),this.$emit("trigger-event",{name:"change",event:{value:n}}))},formatInputValue(e){if(e){if(this.content.selectionMode==="single")return e;if(this.content.selectionMode==="range")return!e.start&&!e.end?null:[e.start||null,e.end||null].filter(n=>n!==null&&n!=="");if(this.content.selectionMode==="multi")return e}else return null},formatOutputValue(e){if(e){if(this.content.selectionMode==="single")return e;if(this.content.selectionMode==="range")return{start:e[0],end:e[1]};if(this.content.selectionMode==="multi")return e}else return null},clearValue(){const e=this.content.selectionMode==="single"?null:this.content.selectionMode==="range"?{start:null,end:null}:[];this.setValue(e)},handleFlowStep(e){this.$emit("trigger-event",{name:"onFlowStep",event:{value:e}})},openMenu(){this.wwDatePicker.openMenu()},closeMenu(){this.$nextTick(()=>{this.wwDatePicker.closeMenu()})}}},vJ=["required","value"];function yJ(e,n,t,a,r,i){const d=Ut("wwLayout"),m=Ut("wwLayoutItemContext"),l=Ut("wwElement",!0),g=Ut("DatePicker");return j(),G("div",null,[(j(),ye(g,{ref:"wwDatePicker",class:Me(["ww-date-time-picker",[{"calendar-only":t.content.enableCalendarOnly},t.content.enableCalendarOnly&&t.content.calendarOnlyFit]]),"day-names":i.customDayNames,"model-value":i.formatedValue,"onUpdate:modelValue":i.handleSelection,"format-locale":i.formatLocale,format:i.previewFormat,clearable:!1,locale:i.locale,"time-picker":t.content.dateMode==="time","month-picker":t.content.dateMode==="month","year-picker":t.content.dateMode==="year","week-picker":t.content.dateMode==="week",range:t.content.selectionMode==="range","multi-dates":t.content.selectionMode==="multi","multi-dates-limit":t.content.multiDatesLimit?t.content.multiDatesLimit:null,"auto-range":t.content.rangeMode==="auto"?t.content.autoRange:null,"partial-range":t.content.enableCalendarOnly&&t.content.rangeMode==="free"?!0:t.content.rangeMode==="free"?t.content.enablePartialRange:null,"min-range":t.content.rangeMode==="minmax"?t.content.minRange:null,"max-range":t.content.rangeMode==="minmax"?t.content.maxRange:null,"multi-calendars":t.content.enableMultiCalendars?t.content.multiCalendars:!1,"multi-calendars-solo":t.content.multiCalendarsSolo,inline:t.content.enableCalendarOnly,vertical:t.content.orientation==="vertical","enable-time-picker":t.content.dateMode==="datetime"||t.content.dateMode==="time","enable-seconds":t.content.enableSeconds,"is-24":t.content.use24,autoApply:t.content.autoApply,"close-on-auto-apply":t.content.closeOnAutoApply,flow:t.content.enableFlow?t.content.flowSteps:null,onFlowStep:i.handleFlowStep,timezone:i.timezone,"week-numbers":t.content.weekNumbers==="none"?null:t.content.weekNumbers,"hide-offset-dates":t.content.hideOffsetDates,"min-date":t.content.minDate,"max-date":t.content.maxDate,"prevent-min-max-navigation":t.content.preventMinMaxNavigation,"start-date":t.content.startDate,"week-start":t.content.weekStart,"ignore-time-validation":t.content.ignoreTimeValidation,"disable-month-year-select":t.content.disableMonthYearSelect,"allowed-dates":t.content.allowedDates,"disabled-dates":t.content.disabledDates,"disabled-week-days":t.content.disabledWeekDays,"no-disabled-range":t.content.noDisabledRange,"model-type":i.modelType,position:t.content.menuPosition||"center",teleport:t.content.enableCalendarOnly||t.content.stickedDatePicker?null:a.body,dpStyle:{...i.themeStyle},readonly:i.isReadOnly||i.isEditing,key:i.dpKey},gt({"dp-input":he(({value:y})=>[ft(m,{index:0,item:null,data:{preview:y,value:i.formatOutputValue(i.formatedValue)},"is-repeat":""},{default:he(()=>[ft(d,{path:"triggerZone"})]),_:2},1032,["data"])]),"action-select":he(()=>[ft(l,Ve(t.content.actionSelectElement,{onClick:a.selectDate}),null,16,["onClick"])]),_:2},[t.content.enableLeftSidebar?{name:"left-sidebar",fn:he(()=>[ft(d,{path:"leftSidebarZone"})]),key:"0"}:void 0,t.content.enableRightSidebar?{name:"right-sidebar",fn:he(()=>[ft(d,{path:"rightSidebarZone"})]),key:"1"}:void 0]),1032,["class","day-names","model-value","onUpdate:modelValue","format-locale","format","locale","time-picker","month-picker","year-picker","week-picker","range","multi-dates","multi-dates-limit","auto-range","partial-range","min-range","max-range","multi-calendars","multi-calendars-solo","inline","vertical","enable-time-picker","enable-seconds","is-24","autoApply","close-on-auto-apply","flow","onFlowStep","timezone","week-numbers","hide-offset-dates","min-date","max-date","prevent-min-max-navigation","start-date","week-start","ignore-time-validation","disable-month-year-select","allowed-dates","disabled-dates","disabled-week-days","no-disabled-range","model-type","position","teleport","dpStyle","readonly"])),se("input",{class:"required-handler",type:"text",required:t.content.required,value:i.formatedValue},null,8,vJ)])}const M9=ka(pJ,[["render",yJ],["__scopeId","data-v-dd61c3fa"]]),pr={props:{file:{type:Object,required:!0},status:{type:Object,required:!0},index:{type:Number,required:!0},isReadonly:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1}},emits:["remove"],setup(e){const n=_i("_wwFileUpload",{files:$(()=>[]),content:$(()=>({})),isDisabled:$(()=>!1),isReadonly:$(()=>!1),isSingleMode:$(()=>!0),acceptedTypes:$(()=>"")}),t=$(()=>n.files.value.length),a=$(()=>{var h;return((h=n.content)==null?void 0:h.value)||{}}),r=$(()=>{var h;return(h=a.value)==null?void 0:h.showFileInfo}),i=$(()=>{var h,k,W,D,Q,J;return{backgroundColor:((h=a.value)==null?void 0:h.fileItemBackground)||"#fff",borderColor:((k=a.value)==null?void 0:k.fileItemBorderColor)||"#eee",borderRadius:((W=a.value)==null?void 0:W.fileItemBorderRadius)||"6px",padding:((D=a.value)==null?void 0:D.fileItemPadding)||"12px",margin:((Q=a.value)==null?void 0:Q.fileItemMargin)||"0 0 8px 0",boxShadow:((J=a.value)==null?void 0:J.fileItemShadow)||"0 2px 4px rgba(0, 0, 0, 0.05)",position:"relative",overflow:"hidden"}}),d=$(()=>{var h,k,W,D;return{fontFamily:((h=a.value)==null?void 0:h.fileNameFontFamily)||"inherit",fontSize:((k=a.value)==null?void 0:k.fileNameFontSize)||"14px",fontWeight:((W=a.value)==null?void 0:W.fileNameFontWeight)||500,color:((D=a.value)==null?void 0:D.fileNameColor)||"inherit"}}),m=$(()=>{var h,k,W,D;return{fontFamily:((h=a.value)==null?void 0:h.fileDetailsFontFamily)||"inherit",fontSize:((k=a.value)==null?void 0:k.fileDetailsFontSize)||"12px",fontWeight:((W=a.value)==null?void 0:W.fileDetailsFontWeight)||"normal",color:((D=a.value)==null?void 0:D.fileDetailsColor)||"#888"}}),l=$(()=>{var h,k,W,D,Q,J;return{width:((h=a.value)==null?void 0:h.actionButtonSize)||"28px",height:((k=a.value)==null?void 0:k.actionButtonSize)||"28px",backgroundColor:((W=a.value)==null?void 0:W.actionButtonBackground)||"#fff",color:((D=a.value)==null?void 0:D.actionButtonColor)||"#666",borderRadius:((Q=a.value)==null?void 0:Q.actionButtonBorderRadius)||"4px",margin:((J=a.value)==null?void 0:J.actionButtonMargin)||"0 0 0 4px"}}),g=$(()=>{const h=e.file.size||0;if(h===0)return"0 B";const k=["B","KB","MB","GB","TB"],W=Math.floor(Math.log(h)/Math.log(1024));return`${(h/Math.pow(1024,W)).toFixed(2)} ${k[W]}`}),{getIcon:y}=wwLib.useIcons(),f=U(null);return jt(async()=>{try{f.value=await y("lucide/trash")}catch{f.value=null}}),{formattedSize:g,filesCount:t,fileItemStyles:i,fileNameStyles:d,fileDetailsStyles:m,actionButtonStyles:l,content:a,showFileInfo:r,removeIcon:f}}},Mi=()=>{Ni(e=>{var n,t,a,r,i,d,m,l,g,y,f,h,k,W,D,Q,J,T,M,S,R,B,_,z,H,I,F,Z;return{"7b1dfa1a":((n=e.content)==null?void 0:n.fileItemPadding)||"12px","9aaaea80":((t=e.content)==null?void 0:t.fileItemBorderColor)||"#eee",b98e495a:((a=e.content)==null?void 0:a.fileItemBorderRadius)||"6px",cf48deaa:(((r=e.content)==null?void 0:r.fileItemMargin)||"0 0 8px 0").split(" ")[2]||"8px","197e2fc0":((i=e.content)==null?void 0:i.fileItemBackground)||"#fff",c930e7e2:((d=e.content)==null?void 0:d.fileItemHoverBorderColor)||((m=e.content)==null?void 0:m.fileItemBorderColor)||"#ddd","02d0e7a6":((l=e.content)==null?void 0:l.fileItemHoverBackground)||((g=e.content)==null?void 0:g.fileItemBackground)||"#fff","321b2138":((y=e.content)==null?void 0:y.fileItemHoverShadow)||((f=e.content)==null?void 0:f.fileItemShadow)||"0 2px 4px rgba(0, 0, 0, 0.05)","42482b5c":((h=e.content)==null?void 0:h.fileNameFontSize)||"14px",dc1d08be:((k=e.content)==null?void 0:k.fileNameFontWeight)||500,d417b15a:((W=e.content)==null?void 0:W.fileNameColor)||"inherit","768162c7":((D=e.content)==null?void 0:D.fileDetailsFontSize)||"12px","68cc3a24":((Q=e.content)==null?void 0:Q.fileDetailsColor)||"#888","5ecc39c1":((J=e.content)==null?void 0:J.actionButtonSize)||"28px","2ebba648":((T=e.content)==null?void 0:T.actionButtonBorderRadius)||"4px","3d925ae7":((M=e.content)==null?void 0:M.actionButtonBorderColor)||((S=e.content)==null?void 0:S.fileItemBorderColor)||"#eee","4812c8f9":((R=e.content)==null?void 0:R.actionButtonBackground)||"#fff","1f68a8c2":((B=e.content)==null?void 0:B.actionButtonColor)||"#666","20e437bb":(((_=e.content)==null?void 0:_.actionButtonMargin)||"0 0 0 4px").split(" ")[3]||"4px","26a1da30":((z=e.content)==null?void 0:z.actionButtonHoverBorderColor)||((H=e.content)==null?void 0:H.fileItemHoverBorderColor)||"#ddd","66897d62":((I=e.content)==null?void 0:I.actionButtonHoverBackground)||"#f8f8f8","1f1a1df6":((F=e.content)==null?void 0:F.actionButtonRemoveHoverColor)||((Z=e.content)==null?void 0:Z.progressBarColor)||"#999"}})},$i=pr.setup;pr.setup=$i?(e,n)=>(Mi(),$i(e,n)):Mi;const wJ=["aria-label"],bJ={class:"ww-file-item__info"},PJ={key:0},kJ={class:"ww-file-item__actions"},MJ=["disabled"],$J=["innerHTML"];function WJ(e,n,t,a,r,i){return j(),G("li",{class:Me(["ww-file-item",{"ww-file-item--disabled":t.isDisabled}]),style:et(a.fileItemStyles),role:"listitem","aria-label":`File: ${t.file.name}, Size: ${a.formattedSize}`},[t.status&&t.status.uploadProgress!==void 0?(j(),G("div",{key:0,class:"ww-file-item__progress",style:et({width:`${Math.min(100,Math.round(t.status.uploadProgress))}%`,backgroundColor:a.content.progressBarColor||"#EEEEEE"})},null,4)):O("",!0),se("div",bJ,[se("div",{class:"ww-file-item__name",style:et(a.fileNameStyles)},Ee(t.file.name),5),a.showFileInfo?(j(),G("div",{key:0,class:"ww-file-item__details",style:et(a.fileDetailsStyles)},[se("span",null,Ee(a.formattedSize),1),t.status&&t.status.uploadProgress!==void 0?(j(),G("span",PJ," • "+Ee(`${Math.round(t.status.uploadProgress)}%`),1)):O("",!0)],4)):O("",!0)]),se("div",kJ,[t.isReadonly?O("",!0):(j(),G("button",{key:0,type:"button",class:"ww-file-item__btn ww-file-item__btn--remove",disabled:t.isDisabled||t.isReadonly,onClick:n[0]||(n[0]=d=>e.$emit("remove")),style:et(a.actionButtonStyles),"aria-label":"Remove file"},[se("div",{class:"icon",innerHTML:a.removeIcon},null,8,$J)],12,MJ))])],14,wJ)}const DJ=ka(pr,[["render",WJ],["__scopeId","data-v-d4438dc4"]]),xJ={name:"FileList",components:{FileItem:DJ},props:{files:{type:Array,required:!0},status:{type:Object,required:!0},type:{type:String,default:"single",validator:e=>["single","multi"].includes(e)},isReadonly:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1}},emits:["remove"],setup(e){return{getFileStatus:t=>!(t!=null&&t.name)||!e.status?{}:e.status[t.name]||{}}}},jJ={class:"ww-file-list",role:"list","aria-label":"Uploaded files"};function zJ(e,n,t,a,r,i){const d=Ut("FileItem");return j(),G("div",jJ,[ft(Zo,{name:"file-list-transition",tag:"div",class:"ww-file-list__inner"},{default:he(()=>[(j(!0),G(ke,null,Xe(t.files,(m,l)=>(j(),ye(d,{key:m.id||`file-${l}-${m.name}-${m.size}`,file:m,status:a.getFileStatus(m),index:l,"is-readonly":t.isReadonly,"is-disabled":t.isDisabled,onRemove:g=>e.$emit("remove",l)},null,8,["file","status","index","is-readonly","is-disabled","onRemove"]))),128))]),_:1})])}const TJ=ka(xJ,[["render",zJ],["__scopeId","data-v-b4350705"]]);function SJ(e,n={}){const{maxFileSize:t,minFileSize:a,maxTotalFileSize:r,currentTotalSize:i=0,acceptedTypes:d=""}=n,m=e.size/(1024*1024),l=i/(1024*1024);return a&&m<a?{valid:!1,reason:`File size (${m.toFixed(2)} MB) is less than the minimum allowed size (${a} MB)`,constraint:"MIN_SIZE",details:{minSize:a,actualSize:m}}:t&&m>t?{valid:!1,reason:`File size (${m.toFixed(2)} MB) exceeds the maximum allowed size (${t} MB)`,constraint:"MAX_SIZE",details:{maxSize:t,actualSize:m}}:r&&r>0&&l+m>r?{valid:!1,reason:`Total file size (${(l+m).toFixed(2)} MB) would exceed the maximum allowed (${r} MB)`,constraint:"MAX_TOTAL_SIZE",details:{maxTotalSize:r,currentTotalSize:l,newFileSize:m,resultingTotalSize:l+m}}:d&&!_J(e,d)?{valid:!1,reason:`File type "${e.type}" is not accepted. Allowed types: ${d}`,constraint:"INVALID_TYPE",details:{allowedTypes:d,fileType:e.type,fileExtension:NJ(e.name,e.type)}}:{valid:!0}}function _J(e,n){if(!n||!e||!e.type)return!n;const t=n.split(",").map(i=>i.trim().toLowerCase()),a=e.type.split("/")[0]+"/*";if(t.includes(a)||t.includes(e.type.toLowerCase()))return!0;const r="."+e.name.split(".").pop().toLowerCase();return t.includes(r)}function NJ(e,n){return e&&e.includes(".")?e.split(".").pop().toLowerCase():n?{"image/jpeg":"jpg","image/png":"png","image/gif":"gif","image/webp":"webp","application/pdf":"pdf","text/csv":"csv","application/vnd.ms-excel":"xls","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"xlsx","application/msword":"doc","application/vnd.openxmlformats-officedocument.wordprocessingml.document":"docx","application/json":"json","text/plain":"txt"}[n]||n.split("/").pop():""}function CJ(e){return new Promise((n,t)=>{const a=new FileReader;a.onload=()=>n(a.result),a.onerror=()=>t(new Error("Failed to convert file to Base64")),a.readAsDataURL(e)})}function VJ(e){return new Promise((n,t)=>{const a=new FileReader;a.onload=()=>n(a.result),a.onerror=()=>t(new Error("Failed to convert file to binary")),a.readAsArrayBuffer(e)})}var Wo={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},vr={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},EJ=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],nn={CSS:{},springs:{}};function It(e,n,t){return Math.min(Math.max(e,n),t)}function Oa(e,n){return e.indexOf(n)>-1}function zn(e,n){return e.apply(null,n)}var ue={arr:function(e){return Array.isArray(e)},obj:function(e){return Oa(Object.prototype.toString.call(e),"Object")},pth:function(e){return ue.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||ue.svg(e)},str:function(e){return typeof e=="string"},fnc:function(e){return typeof e=="function"},und:function(e){return typeof e>"u"},nil:function(e){return ue.und(e)||e===null},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return ue.hex(e)||ue.rgb(e)||ue.hsl(e)},key:function(e){return!Wo.hasOwnProperty(e)&&!vr.hasOwnProperty(e)&&e!=="targets"&&e!=="keyframes"}};function Do(e){var n=/\(([^)]+)\)/.exec(e);return n?n[1].split(",").map(function(t){return parseFloat(t)}):[]}function xo(e,n){var t=Do(e),a=It(ue.und(t[0])?1:t[0],.1,100),r=It(ue.und(t[1])?100:t[1],.1,100),i=It(ue.und(t[2])?10:t[2],.1,100),d=It(ue.und(t[3])?0:t[3],.1,100),m=Math.sqrt(r/a),l=i/(2*Math.sqrt(r*a)),g=l<1?m*Math.sqrt(1-l*l):0,y=1,f=l<1?(l*m+-d)/g:-d+m;function h(W){var D=n?n*W/1e3:W;return l<1?D=Math.exp(-D*l*m)*(y*Math.cos(g*D)+f*Math.sin(g*D)):D=(y+f*D)*Math.exp(-D*m),W===0||W===1?W:1-D}function k(){var W=nn.springs[e];if(W)return W;for(var D=1/6,Q=0,J=0;;)if(Q+=D,h(Q)===1){if(J++,J>=16)break}else J=0;var T=Q*D*1e3;return nn.springs[e]=T,T}return n?h:k}function HJ(e){return e===void 0&&(e=10),function(n){return Math.ceil(It(n,1e-6,1)*e)*(1/e)}}var FJ=(function(){var e=11,n=1/(e-1);function t(y,f){return 1-3*f+3*y}function a(y,f){return 3*f-6*y}function r(y){return 3*y}function i(y,f,h){return((t(f,h)*y+a(f,h))*y+r(f))*y}function d(y,f,h){return 3*t(f,h)*y*y+2*a(f,h)*y+r(f)}function m(y,f,h,k,W){var D,Q,J=0;do Q=f+(h-f)/2,D=i(Q,k,W)-y,D>0?h=Q:f=Q;while(Math.abs(D)>1e-7&&++J<10);return Q}function l(y,f,h,k){for(var W=0;W<4;++W){var D=d(f,h,k);if(D===0)return f;var Q=i(f,h,k)-y;f-=Q/D}return f}function g(y,f,h,k){if(!(0<=y&&y<=1&&0<=h&&h<=1))return;var W=new Float32Array(e);if(y!==f||h!==k)for(var D=0;D<e;++D)W[D]=i(D*n,y,h);function Q(J){for(var T=0,M=1,S=e-1;M!==S&&W[M]<=J;++M)T+=n;--M;var R=(J-W[M])/(W[M+1]-W[M]),B=T+R*n,_=d(B,y,h);return _>=.001?l(J,B,y,h):_===0?B:m(J,T,T+n,y,h)}return function(J){return y===f&&h===k||J===0||J===1?J:i(Q(J),f,k)}}return g})(),jo=(function(){var e={linear:function(){return function(a){return a}}},n={Sine:function(){return function(a){return 1-Math.cos(a*Math.PI/2)}},Expo:function(){return function(a){return a?Math.pow(2,10*a-10):0}},Circ:function(){return function(a){return 1-Math.sqrt(1-a*a)}},Back:function(){return function(a){return a*a*(3*a-2)}},Bounce:function(){return function(a){for(var r,i=4;a<((r=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((r*3-2)/22-a,2)}},Elastic:function(a,r){a===void 0&&(a=1),r===void 0&&(r=.5);var i=It(a,1,10),d=It(r,.1,2);return function(m){return m===0||m===1?m:-i*Math.pow(2,10*(m-1))*Math.sin((m-1-d/(Math.PI*2)*Math.asin(1/i))*(Math.PI*2)/d)}}},t=["Quad","Cubic","Quart","Quint"];return t.forEach(function(a,r){n[a]=function(){return function(i){return Math.pow(i,r+2)}}}),Object.keys(n).forEach(function(a){var r=n[a];e["easeIn"+a]=r,e["easeOut"+a]=function(i,d){return function(m){return 1-r(i,d)(1-m)}},e["easeInOut"+a]=function(i,d){return function(m){return m<.5?r(i,d)(m*2)/2:1-r(i,d)(m*-2+2)/2}},e["easeOutIn"+a]=function(i,d){return function(m){return m<.5?(1-r(i,d)(1-m*2))/2:(r(i,d)(m*2-1)+1)/2}}}),e})();function yr(e,n){if(ue.fnc(e))return e;var t=e.split("(")[0],a=jo[t],r=Do(e);switch(t){case"spring":return xo(e,n);case"cubicBezier":return zn(FJ,r);case"steps":return zn(HJ,r);default:return zn(a,r)}}function zo(e){try{var n=document.querySelectorAll(e);return n}catch{return}}function un(e,n){for(var t=e.length,a=arguments.length>=2?arguments[1]:void 0,r=[],i=0;i<t;i++)if(i in e){var d=e[i];n.call(a,d,i,e)&&r.push(d)}return r}function dn(e){return e.reduce(function(n,t){return n.concat(ue.arr(t)?dn(t):t)},[])}function Wi(e){return ue.arr(e)?e:(ue.str(e)&&(e=zo(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function wr(e,n){return e.some(function(t){return t===n})}function br(e){var n={};for(var t in e)n[t]=e[t];return n}function Fn(e,n){var t=br(e);for(var a in e)t[a]=n.hasOwnProperty(a)?n[a]:e[a];return t}function ln(e,n){var t=br(e);for(var a in n)t[a]=ue.und(e[a])?n[a]:e[a];return t}function AJ(e){var n=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(e);return n?"rgba("+n[1]+",1)":e}function OJ(e){var n=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,t=e.replace(n,function(m,l,g,y){return l+l+g+g+y+y}),a=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t),r=parseInt(a[1],16),i=parseInt(a[2],16),d=parseInt(a[3],16);return"rgba("+r+","+i+","+d+",1)"}function IJ(e){var n=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(e),t=parseInt(n[1],10)/360,a=parseInt(n[2],10)/100,r=parseInt(n[3],10)/100,i=n[4]||1;function d(h,k,W){return W<0&&(W+=1),W>1&&(W-=1),W<1/6?h+(k-h)*6*W:W<1/2?k:W<2/3?h+(k-h)*(2/3-W)*6:h}var m,l,g;if(a==0)m=l=g=r;else{var y=r<.5?r*(1+a):r+a-r*a,f=2*r-y;m=d(f,y,t+1/3),l=d(f,y,t),g=d(f,y,t-1/3)}return"rgba("+m*255+","+l*255+","+g*255+","+i+")"}function XJ(e){if(ue.rgb(e))return AJ(e);if(ue.hex(e))return OJ(e);if(ue.hsl(e))return IJ(e)}function Bt(e){var n=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(n)return n[1]}function LJ(e){if(Oa(e,"translate")||e==="perspective")return"px";if(Oa(e,"rotate")||Oa(e,"skew"))return"deg"}function An(e,n){return ue.fnc(e)?e(n.target,n.id,n.total):e}function Xt(e,n){return e.getAttribute(n)}function Pr(e,n,t){var a=Bt(n);if(wr([t,"deg","rad","turn"],a))return n;var r=nn.CSS[n+t];if(!ue.und(r))return r;var i=100,d=document.createElement(e.tagName),m=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;m.appendChild(d),d.style.position="absolute",d.style.width=i+t;var l=i/d.offsetWidth;m.removeChild(d);var g=l*parseFloat(n);return nn.CSS[n+t]=g,g}function To(e,n,t){if(n in e.style){var a=n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),r=e.style[n]||getComputedStyle(e).getPropertyValue(a)||"0";return t?Pr(e,r,t):r}}function kr(e,n){if(ue.dom(e)&&!ue.inp(e)&&(!ue.nil(Xt(e,n))||ue.svg(e)&&e[n]))return"attribute";if(ue.dom(e)&&wr(EJ,n))return"transform";if(ue.dom(e)&&n!=="transform"&&To(e,n))return"css";if(e[n]!=null)return"object"}function So(e){if(ue.dom(e)){for(var n=e.style.transform||"",t=/(\w+)\(([^)]*)\)/g,a=new Map,r;r=t.exec(n);)a.set(r[1],r[2]);return a}}function YJ(e,n,t,a){var r=Oa(n,"scale")?1:0+LJ(n),i=So(e).get(n)||r;return t&&(t.transforms.list.set(n,i),t.transforms.last=n),a?Pr(e,i,a):i}function Mr(e,n,t,a){switch(kr(e,n)){case"transform":return YJ(e,n,a,t);case"css":return To(e,n,t);case"attribute":return Xt(e,n);default:return e[n]||0}}function $r(e,n){var t=/^(\*=|\+=|-=)/.exec(e);if(!t)return e;var a=Bt(e)||0,r=parseFloat(n),i=parseFloat(e.replace(t[0],""));switch(t[0][0]){case"+":return r+i+a;case"-":return r-i+a;case"*":return r*i+a}}function _o(e,n){if(ue.col(e))return XJ(e);if(/\s/g.test(e))return e;var t=Bt(e),a=t?e.substr(0,e.length-t.length):e;return n?a+n:a}function Wr(e,n){return Math.sqrt(Math.pow(n.x-e.x,2)+Math.pow(n.y-e.y,2))}function RJ(e){return Math.PI*2*Xt(e,"r")}function qJ(e){return Xt(e,"width")*2+Xt(e,"height")*2}function GJ(e){return Wr({x:Xt(e,"x1"),y:Xt(e,"y1")},{x:Xt(e,"x2"),y:Xt(e,"y2")})}function No(e){for(var n=e.points,t=0,a,r=0;r<n.numberOfItems;r++){var i=n.getItem(r);r>0&&(t+=Wr(a,i)),a=i}return t}function BJ(e){var n=e.points;return No(e)+Wr(n.getItem(n.numberOfItems-1),n.getItem(0))}function Co(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return RJ(e);case"rect":return qJ(e);case"line":return GJ(e);case"polyline":return No(e);case"polygon":return BJ(e)}}function QJ(e){var n=Co(e);return e.setAttribute("stroke-dasharray",n),n}function KJ(e){for(var n=e.parentNode;ue.svg(n)&&ue.svg(n.parentNode);)n=n.parentNode;return n}function Vo(e,n){var t=n||{},a=t.el||KJ(e),r=a.getBoundingClientRect(),i=Xt(a,"viewBox"),d=r.width,m=r.height,l=t.viewBox||(i?i.split(" "):[0,0,d,m]);return{el:a,viewBox:l,x:l[0]/1,y:l[1]/1,w:d,h:m,vW:l[2],vH:l[3]}}function JJ(e,n){var t=ue.str(e)?zo(e)[0]:e,a=n||100;return function(r){return{property:r,el:t,svg:Vo(t),totalLength:Co(t)*(a/100)}}}function UJ(e,n,t){function a(y){y===void 0&&(y=0);var f=n+y>=1?n+y:0;return e.el.getPointAtLength(f)}var r=Vo(e.el,e.svg),i=a(),d=a(-1),m=a(1),l=t?1:r.w/r.vW,g=t?1:r.h/r.vH;switch(e.property){case"x":return(i.x-r.x)*l;case"y":return(i.y-r.y)*g;case"angle":return Math.atan2(m.y-d.y,m.x-d.x)*180/Math.PI}}function Di(e,n){var t=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,a=_o(ue.pth(e)?e.totalLength:e,n)+"";return{original:a,numbers:a.match(t)?a.match(t).map(Number):[0],strings:ue.str(e)||n?a.split(t):[]}}function Dr(e){var n=e?dn(ue.arr(e)?e.map(Wi):Wi(e)):[];return un(n,function(t,a,r){return r.indexOf(t)===a})}function Eo(e){var n=Dr(e);return n.map(function(t,a){return{target:t,id:a,total:n.length,transforms:{list:So(t)}}})}function ZJ(e,n){var t=br(n);if(/^spring/.test(t.easing)&&(t.duration=xo(t.easing)),ue.arr(e)){var a=e.length,r=a===2&&!ue.obj(e[0]);r?e={value:e}:ue.fnc(n.duration)||(t.duration=n.duration/a)}var i=ue.arr(e)?e:[e];return i.map(function(d,m){var l=ue.obj(d)&&!ue.pth(d)?d:{value:d};return ue.und(l.delay)&&(l.delay=m?0:n.delay),ue.und(l.endDelay)&&(l.endDelay=m===i.length-1?n.endDelay:0),l}).map(function(d){return ln(d,t)})}function e9(e){for(var n=un(dn(e.map(function(i){return Object.keys(i)})),function(i){return ue.key(i)}).reduce(function(i,d){return i.indexOf(d)<0&&i.push(d),i},[]),t={},a=function(i){var d=n[i];t[d]=e.map(function(m){var l={};for(var g in m)ue.key(g)?g==d&&(l.value=m[g]):l[g]=m[g];return l})},r=0;r<n.length;r++)a(r);return t}function t9(e,n){var t=[],a=n.keyframes;a&&(n=ln(e9(a),n));for(var r in n)ue.key(r)&&t.push({name:r,tweens:ZJ(n[r],e)});return t}function a9(e,n){var t={};for(var a in e){var r=An(e[a],n);ue.arr(r)&&(r=r.map(function(i){return An(i,n)}),r.length===1&&(r=r[0])),t[a]=r}return t.duration=parseFloat(t.duration),t.delay=parseFloat(t.delay),t}function n9(e,n){var t;return e.tweens.map(function(a){var r=a9(a,n),i=r.value,d=ue.arr(i)?i[1]:i,m=Bt(d),l=Mr(n.target,e.name,m,n),g=t?t.to.original:l,y=ue.arr(i)?i[0]:g,f=Bt(y)||Bt(l),h=m||f;return ue.und(d)&&(d=g),r.from=Di(y,h),r.to=Di($r(d,y),h),r.start=t?t.end:0,r.end=r.start+r.delay+r.duration+r.endDelay,r.easing=yr(r.easing,r.duration),r.isPath=ue.pth(i),r.isPathTargetInsideSVG=r.isPath&&ue.svg(n.target),r.isColor=ue.col(r.from.original),r.isColor&&(r.round=1),t=r,r})}var Ho={css:function(e,n,t){return e.style[n]=t},attribute:function(e,n,t){return e.setAttribute(n,t)},object:function(e,n,t){return e[n]=t},transform:function(e,n,t,a,r){if(a.list.set(n,t),n===a.last||r){var i="";a.list.forEach(function(d,m){i+=m+"("+d+") "}),e.style.transform=i}}};function Fo(e,n){var t=Eo(e);t.forEach(function(a){for(var r in n){var i=An(n[r],a),d=a.target,m=Bt(i),l=Mr(d,r,m,a),g=m||Bt(l),y=$r(_o(i,g),l),f=kr(d,r);Ho[f](d,r,y,a.transforms,!0)}})}function r9(e,n){var t=kr(e.target,n.name);if(t){var a=n9(n,e),r=a[a.length-1];return{type:t,property:n.name,animatable:e,tweens:a,duration:r.end,delay:a[0].delay,endDelay:r.endDelay}}}function i9(e,n){return un(dn(e.map(function(t){return n.map(function(a){return r9(t,a)})})),function(t){return!ue.und(t)})}function Ao(e,n){var t=e.length,a=function(i){return i.timelineOffset?i.timelineOffset:0},r={};return r.duration=t?Math.max.apply(Math,e.map(function(i){return a(i)+i.duration})):n.duration,r.delay=t?Math.min.apply(Math,e.map(function(i){return a(i)+i.delay})):n.delay,r.endDelay=t?r.duration-Math.max.apply(Math,e.map(function(i){return a(i)+i.duration-i.endDelay})):n.endDelay,r}var xi=0;function o9(e){var n=Fn(Wo,e),t=Fn(vr,e),a=t9(t,e),r=Eo(e.targets),i=i9(r,a),d=Ao(i,t),m=xi;return xi++,ln(n,{id:m,children:[],animatables:r,animations:i,duration:d.duration,delay:d.delay,endDelay:d.endDelay})}var Nt=[],Oo=(function(){var e;function n(){!e&&(!ji()||!Ne.suspendWhenDocumentHidden)&&Nt.length>0&&(e=requestAnimationFrame(t))}function t(r){for(var i=Nt.length,d=0;d<i;){var m=Nt[d];m.paused?(Nt.splice(d,1),i--):(m.tick(r),d++)}e=d>0?requestAnimationFrame(t):void 0}function a(){Ne.suspendWhenDocumentHidden&&(ji()?e=cancelAnimationFrame(e):(Nt.forEach(function(r){return r._onDocumentVisibility()}),Oo()))}return typeof document<"u"&&document.addEventListener("visibilitychange",a),n})();function ji(){return!!document&&document.hidden}function Ne(e){e===void 0&&(e={});var n=0,t=0,a=0,r,i=0,d=null;function m(T){var M=window.Promise&&new Promise(function(S){return d=S});return T.finished=M,M}var l=o9(e);m(l);function g(){var T=l.direction;T!=="alternate"&&(l.direction=T!=="normal"?"normal":"reverse"),l.reversed=!l.reversed,r.forEach(function(M){return M.reversed=l.reversed})}function y(T){return l.reversed?l.duration-T:T}function f(){n=0,t=y(l.currentTime)*(1/Ne.speed)}function h(T,M){M&&M.seek(T-M.timelineOffset)}function k(T){if(l.reversePlayback)for(var S=i;S--;)h(T,r[S]);else for(var M=0;M<i;M++)h(T,r[M])}function W(T){for(var M=0,S=l.animations,R=S.length;M<R;){var B=S[M],_=B.animatable,z=B.tweens,H=z.length-1,I=z[H];H&&(I=un(z,function(X){return T<X.end})[0]||I);for(var F=It(T-I.start-I.delay,0,I.duration)/I.duration,Z=isNaN(F)?1:I.easing(F),ee=I.to.strings,re=I.round,A=[],L=I.to.numbers.length,u=void 0,w=0;w<L;w++){var C=void 0,N=I.to.numbers[w],q=I.from.numbers[w]||0;I.isPath?C=UJ(I.value,Z*N,I.isPathTargetInsideSVG):C=q+Z*(N-q),re&&(I.isColor&&w>2||(C=Math.round(C*re)/re)),A.push(C)}var ne=ee.length;if(!ne)u=A[0];else{u=ee[0];for(var ie=0;ie<ne;ie++){ee[ie];var x=ee[ie+1],P=A[ie];isNaN(P)||(x?u+=P+x:u+=P+" ")}}Ho[B.type](_.target,B.property,u,_.transforms),B.currentValue=u,M++}}function D(T){l[T]&&!l.passThrough&&l[T](l)}function Q(){l.remaining&&l.remaining!==!0&&l.remaining--}function J(T){var M=l.duration,S=l.delay,R=M-l.endDelay,B=y(T);l.progress=It(B/M*100,0,100),l.reversePlayback=B<l.currentTime,r&&k(B),!l.began&&l.currentTime>0&&(l.began=!0,D("begin")),!l.loopBegan&&l.currentTime>0&&(l.loopBegan=!0,D("loopBegin")),B<=S&&l.currentTime!==0&&W(0),(B>=R&&l.currentTime!==M||!M)&&W(M),B>S&&B<R?(l.changeBegan||(l.changeBegan=!0,l.changeCompleted=!1,D("changeBegin")),D("change"),W(B)):l.changeBegan&&(l.changeCompleted=!0,l.changeBegan=!1,D("changeComplete")),l.currentTime=It(B,0,M),l.began&&D("update"),T>=M&&(t=0,Q(),l.remaining?(n=a,D("loopComplete"),l.loopBegan=!1,l.direction==="alternate"&&g()):(l.paused=!0,l.completed||(l.completed=!0,D("loopComplete"),D("complete"),!l.passThrough&&"Promise"in window&&(d(),m(l)))))}return l.reset=function(){var T=l.direction;l.passThrough=!1,l.currentTime=0,l.progress=0,l.paused=!0,l.began=!1,l.loopBegan=!1,l.changeBegan=!1,l.completed=!1,l.changeCompleted=!1,l.reversePlayback=!1,l.reversed=T==="reverse",l.remaining=l.loop,r=l.children,i=r.length;for(var M=i;M--;)l.children[M].reset();(l.reversed&&l.loop!==!0||T==="alternate"&&l.loop===1)&&l.remaining++,W(l.reversed?l.duration:0)},l._onDocumentVisibility=f,l.set=function(T,M){return Fo(T,M),l},l.tick=function(T){a=T,n||(n=a),J((a+(t-n))*Ne.speed)},l.seek=function(T){J(y(T))},l.pause=function(){l.paused=!0,f()},l.play=function(){l.paused&&(l.completed&&l.reset(),l.paused=!1,Nt.push(l),f(),Oo())},l.reverse=function(){g(),l.completed=!l.reversed,f()},l.restart=function(){l.reset(),l.play()},l.remove=function(T){var M=Dr(T);Io(M,l)},l.reset(),l.autoplay&&l.play(),l}function zi(e,n){for(var t=n.length;t--;)wr(e,n[t].animatable.target)&&n.splice(t,1)}function Io(e,n){var t=n.animations,a=n.children;zi(e,t);for(var r=a.length;r--;){var i=a[r],d=i.animations;zi(e,d),!d.length&&!i.children.length&&a.splice(r,1)}!t.length&&!a.length&&n.pause()}function s9(e){for(var n=Dr(e),t=Nt.length;t--;){var a=Nt[t];Io(n,a)}}function u9(e,n){n===void 0&&(n={});var t=n.direction||"normal",a=n.easing?yr(n.easing):null,r=n.grid,i=n.axis,d=n.from||0,m=d==="first",l=d==="center",g=d==="last",y=ue.arr(e),f=parseFloat(y?e[0]:e),h=y?parseFloat(e[1]):0,k=Bt(y?e[1]:e)||0,W=n.start||0+(y?f:0),D=[],Q=0;return function(J,T,M){if(m&&(d=0),l&&(d=(M-1)/2),g&&(d=M-1),!D.length){for(var S=0;S<M;S++){if(!r)D.push(Math.abs(d-S));else{var R=l?(r[0]-1)/2:d%r[0],B=l?(r[1]-1)/2:Math.floor(d/r[0]),_=S%r[0],z=Math.floor(S/r[0]),H=R-_,I=B-z,F=Math.sqrt(H*H+I*I);i==="x"&&(F=-H),i==="y"&&(F=-I),D.push(F)}Q=Math.max.apply(Math,D)}a&&(D=D.map(function(ee){return a(ee/Q)*Q})),t==="reverse"&&(D=D.map(function(ee){return i?ee<0?ee*-1:-ee:Math.abs(Q-ee)}))}var Z=y?(h-f)/Q:f;return W+Z*(Math.round(D[T]*100)/100)+k}}function d9(e){e===void 0&&(e={});var n=Ne(e);return n.duration=0,n.add=function(t,a){var r=Nt.indexOf(n),i=n.children;r>-1&&Nt.splice(r,1);function d(h){h.passThrough=!0}for(var m=0;m<i.length;m++)d(i[m]);var l=ln(t,Fn(vr,e));l.targets=l.targets||e.targets;var g=n.duration;l.autoplay=!1,l.direction=n.direction,l.timelineOffset=ue.und(a)?g:$r(a,g),d(n),n.seek(l.timelineOffset);var y=Ne(l);d(y),i.push(y);var f=Ao(i,e);return n.delay=f.delay,n.endDelay=f.endDelay,n.duration=f.duration,n.seek(0),n.reset(),n.autoplay&&n.play(),n},n}Ne.version="3.2.1";Ne.speed=1;Ne.suspendWhenDocumentHidden=!0;Ne.running=Nt;Ne.remove=s9;Ne.get=Mr;Ne.set=Fo;Ne.convertPx=Pr;Ne.path=JJ;Ne.setDashoffset=QJ;Ne.stagger=u9;Ne.timeline=d9;Ne.easing=yr;Ne.penner=jo;Ne.random=function(e,n){return Math.floor(Math.random()*(n-e+1))+e};function l9(e,n=5){let t;return function(...a){clearTimeout(t),t=setTimeout(()=>e.apply(this,a),n)}}function m9({dropzoneRef:e,circleRef:n,isDisabled:t,isReadonly:a,dropEnabled:r,circleOpacity:i,animationSpeed:d=.5,isEditing:m}){const l=U(!1),g=U(0),y=U(0),f=U(0),h=U(0),k=U(!1);let W=null,D=0;const Q=()=>{if(k.value)return;k.value=!0;const R=.12*d.value,B=.82+(1-d.value)*.1;let _=0,z=0,H=f.value,I=h.value;const F=()=>{if(!l.value){k.value=!1;return}H=H+(f.value-H)*.3,I=I+(h.value-I)*.3;const Z=H-g.value,ee=I-y.value;_=_*B+Z*R,z=z*B+ee*R,g.value+=_,y.value+=z,W=requestAnimationFrame(F)};W=requestAnimationFrame(F)},J=R=>{if(t.value||a.value||!r.value||m.value)return;const B=Date.now();if(!(B-D<16)){if(D=B,R.stopPropagation(),e.value){const _=e.value.getBoundingClientRect();f.value=R.clientX-_.left,h.value=R.clientY-_.top}if(!l.value&&(l.value=!0,e.value)){const _=e.value.getBoundingClientRect(),z=120,H=f.value,I=_.width-f.value,F=h.value,Z=_.height-h.value,ee=Math.min(H,I,F,Z);ee===H?(g.value=-z,y.value=h.value):ee===I?(g.value=_.width+z,y.value=h.value):ee===F?(g.value=f.value,y.value=-z):(g.value=f.value,y.value=_.height+z),n.value&&Ne({targets:n.value,opacity:[0,i.value],scale:[.4,1],duration:300/d.value,easing:"easeOutCubic"}),Q()}}},T=R=>{e.value&&e.value.contains(R.relatedTarget)||(n.value&&l.value?Ne({targets:n.value,opacity:[i.value,0],scale:[1,.4],duration:200/d.value,easing:"easeOutQuad",complete:()=>{l.value=!1,k.value=!1}}):(l.value=!1,k.value=!1),W&&(cancelAnimationFrame(W),W=null))},M=R=>{if(t.value||a.value||!r.value||m.value)return!1;if(e.value){const B=e.value.getBoundingClientRect();g.value=R.clientX-B.left,y.value=R.clientY-B.top,f.value=g.value,h.value=y.value}return n.value?(k.value=!1,W&&(cancelAnimationFrame(W),W=null),Ne({targets:n.value,scale:[1,35],opacity:[i.value,i.value],duration:700,easing:"easeOutCubic",complete:function(){Ne({targets:n.value,opacity:[i.value,0],duration:300,easing:"linear",complete:function(){l.value=!1}})}})):l.value=!1,!0},S=l9(R=>{if(l.value&&e.value){const B=e.value.getBoundingClientRect();f.value=R.clientX-B.left,h.value=R.clientY-B.top}},Math.max(5,16/d.value));return es(()=>{W&&(cancelAnimationFrame(W),W=null)}),{isDragging:l,mouseX:g,mouseY:y,targetX:f,targetY:h,isAnimating:k,handleDragOver:J,handleDragLeave:T,handleDrop:M,handleMouseMove:S}}const xr={components:{FileList:TJ},props:{content:{type:Object,required:!0},uid:{type:String,required:!0},wwElementState:{type:Object,required:!0}},emits:["trigger-event","add-state","remove-state"],setup(e,{emit:n}){const t=$(()=>!1),{getIcon:a}=wwLib.useIcons(),r=U(null),i=U(null),d=U(null),m=U(null),l=U(!1),g=$(()=>{var v;return((v=e.content)==null?void 0:v.extensionsMessage)||null}),y=$(()=>{var v;return((v=e.content)==null?void 0:v.maxFileMessage)||null}),f=$(()=>{var v;return((v=e.content)==null?void 0:v.labelMessage)||null}),h=$(()=>{var v;return((v=e.content)==null?void 0:v.type)||"single"}),k=$(()=>{var v;return((v=e.content)==null?void 0:v.reorder)||!1}),W=$(()=>{var v;return((v=e.content)==null?void 0:v.drop)!==!1}),D=$(()=>{var v;return((v=e.content)==null?void 0:v.maxFileSize)||10}),Q=$(()=>{var v;return((v=e.content)==null?void 0:v.minFileSize)||0}),J=$(()=>{var v;return((v=e.content)==null?void 0:v.maxTotalFileSize)||50}),T=$(()=>{var v;return((v=e.content)==null?void 0:v.maxFiles)||10}),M=$(()=>{var v;return((v=e.content)==null?void 0:v.required)||!1}),S=$(()=>{var v;return((v=e.content)==null?void 0:v.extensions)||"any"}),R=$(()=>{var v;return((v=e.content)==null?void 0:v.customExtensions)||""}),B=$(()=>{var v;return((v=e.content)==null?void 0:v.exposeBase64)||!1}),_=$(()=>{var v;return((v=e.content)==null?void 0:v.exposeBinary)||!1}),z=$(()=>{var v;return((v=e.content)==null?void 0:v.showUploadIcon)!==!1}),H=$(()=>{var v;return((v=e.content)==null?void 0:v.uploadIcon)||"upload"}),I=$(()=>{var v;return((v=e.content)==null?void 0:v.uploadIconColor)||"#666666"}),F=$(()=>{var v;return((v=e.content)==null?void 0:v.uploadIconPosition)||"top"}),Z=$(()=>{var v;return((v=e.content)==null?void 0:v.uploadIconSize)||"24px"}),ee=$(()=>{var v;return((v=e.content)==null?void 0:v.uploadIconMargin)||"8px"}),re=$(()=>{var v;return((v=e.content)==null?void 0:v.enableCircleAnimation)!==!1}),A=$(()=>{var v;return((v=e.content)==null?void 0:v.circleSize)||"80px"}),L=$(()=>{var v;return((v=e.content)==null?void 0:v.circleColor)||Pt.value}),u=$(()=>{var v;return((v=e.content)==null?void 0:v.circleOpacity)!==void 0?e.content.circleOpacity:.5}),w=$(()=>{var v;return((v=e.content)==null?void 0:v.animationSpeed)!==void 0?e.content.animationSpeed:.5}),C=$(()=>{var v;return((v=e.content)==null?void 0:v.dropzoneBorderWidth)||"2px"}),N=$(()=>{var v;return((v=e.content)==null?void 0:v.dropzoneBorderStyle)||"dashed"}),q=$(()=>{var v;return((v=e.content)==null?void 0:v.dropzoneBorderColor)||"#CCCCCC"}),ne=$(()=>{var v;return((v=e.content)==null?void 0:v.dropzoneBorderRadius)||"8px"}),ie=$(()=>{var v;return((v=e.content)==null?void 0:v.dropzonePadding)||"20px"}),x=$(()=>{var v;return((v=e.content)==null?void 0:v.dropzoneMinHeight)||"120px"}),P=$(()=>{var v;return((v=e.content)==null?void 0:v.dropzoneBackground)||"rgba(0, 0, 0, 0)"}),X=$(()=>{var v;return((v=e.content)==null?void 0:v.dropzoneBackgroundHover)||"rgba(0, 0, 0, 0.01)"}),be=$(()=>{var v;return((v=e.content)==null?void 0:v.labelFontSize)||"16px"}),at=$(()=>{var v;return((v=e.content)==null?void 0:v.labelFontFamily)||"inherit"}),Le=$(()=>{var v;return((v=e.content)==null?void 0:v.labelFontWeight)||"normal"}),bt=$(()=>{var v;return((v=e.content)==null?void 0:v.labelColor)||"#333333"}),Et=$(()=>{var v;return((v=e.content)==null?void 0:v.fileDetailsFontSize)||"12px"}),fe=$(()=>{var v;return((v=e.content)==null?void 0:v.fileDetailsColor)||"#888888"}),Pt=$(()=>{var v;return((v=e.content)==null?void 0:v.progressBarColor)||"#EEEEEE"}),kt=$(()=>{var ge;return(((ge=e.content)==null?void 0:ge.labelMargin)||"0 0 4px 0").split(" ")[2]||"4px"}),Qe=$(()=>{const v=Pt.value;if(!v)return"rgba(85, 85, 85, 0.05)";try{const ge=parseInt(v.slice(1,3),16)||85,Pe=parseInt(v.slice(3,5),16)||85,Ye=parseInt(v.slice(5,7),16)||85;return`rgba(${ge}, ${Pe}, ${Ye}, 0.05)`}catch{return"rgba(85, 85, 85, 0.05)"}}),pe=$(()=>{var v;return((v=e.content)==null?void 0:v.dropzoneBackgroundDragging)||"rgba(0, 0, 0, 0.05)"}),je=$(()=>{var v,ge,Pe,Ye,Re;return{fontFamily:((v=e.content)==null?void 0:v.extensionsMessageFontFamily)||"inherit",fontSize:((ge=e.content)==null?void 0:ge.extensionsMessageFontSize)||"12px",fontWeight:((Pe=e.content)==null?void 0:Pe.extensionsMessageFontWeight)||"normal",color:((Ye=e.content)==null?void 0:Ye.extensionsMessageColor)||"#888888",margin:((Re=e.content)==null?void 0:Re.extensionsMessageMargin)||"0 0 4px 0"}}),De=$(()=>{var v,ge,Pe,Ye,Re;return{fontFamily:((v=e.content)==null?void 0:v.maxFileMessageFontFamily)||"inherit",fontSize:((ge=e.content)==null?void 0:ge.maxFileMessageFontSize)||"12px",fontWeight:((Pe=e.content)==null?void 0:Pe.maxFileMessageFontWeight)||"normal",color:((Ye=e.content)==null?void 0:Ye.maxFileMessageColor)||"#888888",margin:((Re=e.content)==null?void 0:Re.maxFileMessageMargin)||"0 0 4px 0"}}),zt=$(()=>{var v,ge,Pe,Ye,Re;return{fontFamily:((v=e.content)==null?void 0:v.labelFontFamily)||"inherit",fontSize:((ge=e.content)==null?void 0:ge.labelFontSize)||"16px",fontWeight:((Pe=e.content)==null?void 0:Pe.labelFontWeight)||"normal",color:((Ye=e.content)==null?void 0:Ye.labelColor)||"#333333",margin:((Re=e.content)==null?void 0:Re.labelMargin)||"0 0 4px 0"}}),Ge=$(()=>e.wwElementState.props.disabled||!1),Mt=$(()=>{var v;return e.wwElementState.props.readonly===void 0?((v=e.content)==null?void 0:v.readonly)||!1:e.wwElementState.props.readonly}),{value:nt,setValue:$t}=wwLib.wwVariable.useComponentVariable({uid:e.uid,name:"value",defaultValue:[],type:"file",componentType:"element"}),{value:Ht,setValue:$a}=wwLib.wwVariable.useComponentVariable({uid:e.uid,name:"status",defaultValue:{},type:"any"}),Wa=_i("_wwForm:useForm",()=>{}),Da=$(()=>e.content.fieldName),fa=$(()=>e.content.validation),p=$(()=>e.content.customValidation);Wa(nt,{fieldName:Da,validation:fa,customValidation:p,required:M},{elementState:e.wwElementState,emit:n,sidepanelFormPath:"form",setValue:$t});const E=$(()=>Array.isArray(nt.value)?nt.value:[]),le=$(()=>E.value.length>0);Ct([Ht,E],([v,ge])=>{if(v&&typeof v=="object"){const Pe=ge.map(Re=>Re.name),Ye=Object.fromEntries(Object.entries(v).filter(([Re])=>Pe.includes(Re)));Object.keys(Ye).length!==Object.keys(v).length&&$a(Ye)}});const de=$(()=>{switch(S.value){case"image":return"image/*";case"video":return"video/*";case"audio":return"audio/*";case"pdf":return".pdf";case"csv":return".csv";case"excel":return".xls,.xlsx,.xlsm,.xlsb";case"word":return".doc,.docx,.docm";case"json":return".json";case"custom":return R.value;default:return""}});Ct(()=>H.value,async v=>{if(v&&z.value)try{m.value=await a(v)}catch{m.value=null}else m.value=null},{immediate:!0});const ze=$(()=>m.value),rt=U({fileUpload:{value:$(()=>E.value.map(v=>{const ge={};for(const Pe in v)Object.prototype.hasOwnProperty.call(v,Pe)&&(ge[Pe]=v[Pe]);return ge.name=v.name,ge.size=v.size,ge.type=v.type,ge.lastModified=v.lastModified,ge.mimeType=v.mimeType,ge.id=v.id,v.base64&&(ge.base64=v.base64),v.binary&&(ge.binary=v.binary),ge})),status:Ht}});ts("_wwFileUpload",{files:E,status:Ht,acceptedTypes:de,isDisabled:Ge,isReadonly:Mt,isSingleMode:$(()=>h.value==="single"),content:$(()=>e.content||{})});const{isDragging:Tt,mouseX:ra,mouseY:V,targetX:oe,targetY:Ke,isAnimating:Ue,handleDragOver:ga,handleDragLeave:ce,handleDrop:Qt,handleMouseMove:ve}=m9({dropzoneRef:i,circleRef:d,isDisabled:Ge,isReadonly:Mt,dropEnabled:W,circleOpacity:u,animationSpeed:w,isEditing:t}),mn=()=>{!Ge.value&&!Mt.value&&!t.value&&r.value.click()},xa=async v=>{if(!Qt(v)||Ge.value||Mt.value||!W.value)return;const Pe=v.dataTransfer.files;Pe.length&&setTimeout(async()=>{await jr(Pe)},1050)},Xo=async v=>{const ge=v.target.files;ge.length&&(await jr(ge),v.target.value="")},jr=async v=>{l.value=!0;const ge=Array.from(v);h.value==="single"&&(ge.length>1&&n("trigger-event",{name:"error",event:{code:"SINGLE_MODE_MULTIPLE_FILES",data:{message:"Multiple files provided in single file mode",count:ge.length,acceptedCount:1}}}),ge.splice(1),$t([]));let Pe=1/0;if(h.value==="multi"&&T.value>0)if(Pe=T.value-nt.value.length,Pe<=0){n("trigger-event",{name:"error",event:{code:"MAX_FILES_REACHED",data:{message:`Maximum number of files (${T.value}) reached`,maxFiles:T.value,currentCount:nt.value.length}}}),wwLib.wwNotification.open({text:{en:`Maximum number of files (${T.value}) reached`},color:"warning"}),l.value=!1;return}else ge.length>Pe&&n("trigger-event",{name:"error",event:{code:"TOO_MANY_FILES",data:{message:`Only ${Pe} more files can be added`,providedCount:ge.length,availableSlots:Pe,maxFiles:T.value,currentCount:nt.value.length}}});const Ye=ge.slice(0,Pe),Re=[],qo=h.value==="multi"&&Array.isArray(nt.value)?nt.value.reduce((it,St)=>it+(St.size||0),0):0;for(const it of Ye){const St=SJ(it,{maxFileSize:D.value,minFileSize:Q.value,maxTotalFileSize:h.value==="multi"?J.value:void 0,currentTotalSize:h.value==="multi"?qo:0,acceptedTypes:de.value});St.valid?(it.id=`file-${Date.now()}-${Math.random().toString(36).substr(2,9)}`,it.mimeType=it.type,B.value&&(it.base64=await CJ(it)),_.value&&(it.binary=await VJ(it)),Re.push(it)):(console.warn(`File validation failed: ${St.reason}`),n("trigger-event",{name:"error",event:{code:"VALIDATION_ERROR",data:{message:St.reason,fileName:it.name,fileSize:it.size,fileType:it.type,constraint:St.constraint}}}))}if(Re.length>0)if(h.value==="single")$t(Re),n("trigger-event",{name:"change",event:{value:Re}}),l.value=!1;else{let St=[...[...nt.value]];const Tr=cn=>{St=[...St,Re[cn]],$t(St),cn<Re.length-1?setTimeout(()=>Tr(cn+1),150):(n("trigger-event",{name:"change",event:{value:St}}),l.value=!1)};setTimeout(()=>Tr(0),50);return}l.value=!1},Lo=v=>{if(Ge.value||Mt.value)return;const ge=[...nt.value.filter((Pe,Ye)=>Ye!==v)];$t(ge),n("trigger-event",{name:"change",event:{value:ge}})},Yo=(v,ge)=>{if(Ge.value||Mt.value||!k.value)return;const Pe=[...nt.value],[Ye]=Pe.splice(v,1);Pe.splice(ge,0,Ye),$t(Pe),n("trigger-event",{name:"change",event:{value:Pe}})},zr=()=>{$t([])},Ro=()=>{switch(S.value){case"image":return"Images";case"video":return"Videos";case"audio":return"Audio files";case"pdf":return"PDF files";case"csv":return"CSV files";case"excel":return"Excel files";case"word":return"Word documents";case"json":return"JSON files";case"custom":return R.value;default:return"All files"}};return wwLib.wwElement.useRegisterElementLocalContext("fileUpload",rt.value.fileUpload,{clearFiles:{description:"Clear all files",method:zr,editor:{label:"Clear Files",group:"File Upload",icon:"trash"}}}),Ct(Mt,v=>{n(v?"add-state":"remove-state","readonly")},{immediate:!0}),Ct(Ge,v=>{n(v?"add-state":"remove-state","disabled")},{immediate:!0}),{status:Ht,fileInput:r,isDragging:Tt,fileList:E,hasFiles:le,isDisabled:Ge,isReadonly:Mt,acceptedFileTypes:de,extensionsMessage:g,maxFileMessage:y,openFileExplorer:mn,handleDragOver:ga,handleDragLeave:ce,handleDrop:xa,handleFileSelection:Xo,removeFile:Lo,reorderFiles:Yo,getAllowedTypesLabel:Ro,iconHTML:ze,uploadIconPosition:F,handleMouseMove:ve,extensionsMessageStyle:je,maxFileMessageStyle:De,labelMessage:f,labelMessageStyle:zt,type:h,reorder:k,drop:W,maxFileSize:D,minFileSize:Q,maxFiles:T,required:M,extensions:S,customExtensions:R,showUploadIcon:z,uploadIcon:H,uploadIconColor:I,uploadIconSize:Z,uploadIconMargin:ee,enableCircleAnimation:re,circleSize:A,circleColor:L,circleOpacity:u,animationSpeed:w,safeDropzoneBorderWidth:C,safeDropzoneBorderStyle:N,safeDropzoneBorderColor:q,safeDropzoneBorderRadius:ne,safeDropzonePadding:ie,safeDropzoneMinHeight:x,safeDropzoneBackground:P,safeDropzoneBackgroundHover:X,safeDropzoneBackgroundDragging:pe,safeLabelFontSize:be,safeLabelFontFamily:at,safeLabelFontWeight:Le,safeLabelColor:bt,safeFileDetailsFontSize:Et,safeFileDetailsColor:fe,safeProgressBarColor:Pt,safeLabelMarginBottom:kt,safeProgressBarBackground:Qe,dropzoneEl:i,circleEl:d,mouseX:ra,mouseY:V,targetX:oe,targetY:Ke,isAnimating:Ue,isProcessing:l,isEditing:t,clearFiles:zr}}},Ti=()=>{Ni(e=>({"45ca3c80":e.safeDropzoneBackground,"3d3787e8":e.safeDropzoneBorderWidth,"3d0477d3":e.safeDropzoneBorderStyle,"3c208985":e.safeDropzoneBorderColor,"60c056b0":e.safeDropzoneBorderRadius,76443402:e.safeDropzonePadding,68348487:e.safeDropzoneMinHeight,"00bca43f":e.isEditing?"unset":"pointer","09d26c9c":e.safeDropzoneBackgroundHover,ea709ab6:e.uploadIconSize,"65609d82":e.uploadIconColor,"2617815c":e.uploadIconMargin,"4c840422":e.safeDropzoneBackgroundDragging}))},Si=xr.setup;xr.setup=Si?(e,n)=>(Ti(),Si(e,n)):Ti;const c9=["innerHTML"],h9={class:"ww-file-upload__text"},f9=["multiple","accept","required","disabled","aria-label"];function g9(e,n,t,a,r,i){const d=Ut("FileList");return j(),G("div",{class:Me(["ww-file-upload",{"ww-file-upload--dragging":a.isDragging&&!a.isDisabled&&!a.isReadonly,"ww-file-upload--disabled":a.isDisabled,"ww-file-upload--readonly":a.isReadonly,"ww-file-upload--has-files":a.hasFiles}]),onDragover:n[3]||(n[3]=Dt((...m)=>a.handleDragOver&&a.handleDragOver(...m),["prevent"])),onDragleave:n[4]||(n[4]=Dt((...m)=>a.handleDragLeave&&a.handleDragLeave(...m),["prevent"])),onDrop:n[5]||(n[5]=Dt((...m)=>a.handleDrop&&a.handleDrop(...m),["prevent"])),role:"region","aria-label":"File upload area"},[se("div",{ref:"dropzoneEl",class:"ww-file-upload__dropzone",onClick:n[0]||(n[0]=(...m)=>a.openFileExplorer&&a.openFileExplorer(...m)),onMousemove:n[1]||(n[1]=(...m)=>a.handleMouseMove&&a.handleMouseMove(...m))},[a.isDragging&&!a.isDisabled&&!a.isReadonly&&a.enableCircleAnimation?(j(),G("div",{key:0,ref:"circleEl",class:"ww-file-upload__hover-circle",style:et({left:`${a.mouseX}px`,top:`${a.mouseY}px`,backgroundColor:a.circleColor,opacity:a.circleOpacity,width:a.circleSize,height:a.circleSize})},null,4)):O("",!0),se("div",{class:Me(["ww-file-upload__content",[`ww-file-upload__content--${a.uploadIconPosition}`]])},[a.showUploadIcon?(j(),G("div",{key:0,class:"ww-file-upload__icon",innerHTML:a.iconHTML},null,8,c9)):O("",!0),se("div",h9,[se("div",{class:"ww-file-upload__label",style:et(a.labelMessageStyle)},Ee(a.labelMessage),5),a.extensionsMessage?(j(),G("div",{key:0,class:"ww-file-upload__info ww-file-upload__extensions-message",style:et(a.extensionsMessageStyle)},Ee(a.extensionsMessage),5)):O("",!0),a.maxFileMessage?(j(),G("div",{key:1,class:"ww-file-upload__info ww-file-upload__max-file-message",style:et(a.maxFileMessageStyle)},Ee(a.maxFileMessage),5)):O("",!0)])],2)],544),a.hasFiles?(j(),ye(d,{key:0,files:a.fileList,status:a.status,type:a.type,"can-reorder":a.reorder,"is-readonly":a.isReadonly,"is-disabled":a.isDisabled,onRemove:a.removeFile,onReorder:a.reorderFiles},null,8,["files","status","type","can-reorder","is-readonly","is-disabled","onRemove","onReorder"])):O("",!0),se("input",{ref:"fileInput",type:"file",class:"ww-file-upload__input",multiple:a.type==="multi",accept:a.acceptedFileTypes,required:a.required&&!a.hasFiles,disabled:a.isDisabled||a.isReadonly,"aria-label":a.labelMessage,onChange:n[2]||(n[2]=(...m)=>a.handleFileSelection&&a.handleFileSelection(...m))},null,40,f9)],34)}const $9=ka(xr,[["render",g9],["__scopeId","data-v-6691aea9"]]);export{k9 as a,M9 as b,$9 as c,P9 as e};
|