"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[4842],{198902(e,t,r){r.d(t,{v4:()=>a});for(var n,s=256,i=[];s--;)i[s]=(s+256).toString(16).substring(1);function a(){var e,t=0,r="";if(!n||s+16>256){for(n=Array(t=256);t--;)n[t]=256*Math.random()|0;t=s=0}for(;t<16;t++)e=n[s+t],6==t?r+=i[15&e|64]:8==t?r+=i[63&e|128]:r+=i[e],1&t&&t>1&&t<11&&(r+="-");return s++,r}},304569(e){e.exports=Math.max},355251(e,t,r){function n(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}r.d(t,{KR:()=>ed,lu:()=>em});let s=n(),i=/[&<>"']/,a=RegExp(i.source,"g"),l=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,o=RegExp(l.source,"g"),u={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},c=e=>u[e];function h(e,t){if(t){if(i.test(e))return e.replace(a,c)}else if(l.test(e))return e.replace(o,c);return e}let d=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,m=/(^|[^\[])\^/g;function f(e,t){let r="string"==typeof e?e:e.source;t=t||"";let n={replace:(e,t)=>{let s="string"==typeof t?t:t.source;return s=s.replace(m,"$1"),r=r.replace(e,s),n},getRegex:()=>new RegExp(r,t)};return n}function p(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return null}return e}let g={exec:()=>null};function y(e,t){let r=e.replace(/\|/g,(e,t,r)=>{let n=!1,s=t;for(;--s>=0&&"\\"===r[s];)n=!n;return n?"|":" |"}).split(/ \|/),n=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;n<r.length;n++)r[n]=r[n].trim().replace(/\\\|/g,"|");return r}function k(e,t,r){let n=e.length;if(0===n)return"";let s=0;for(;s<n;){let i=e.charAt(n-s-1);if(i!==t||r)if(i!==t&&r)s++;else break;else s++}return e.slice(0,n-s)}function w(e,t,r,n){let s=t.href,i=t.title?h(t.title):null,a=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){n.state.inLink=!0;let e={type:"link",raw:r,href:s,title:i,text:a,tokens:n.inlineTokens(a)};return n.state.inLink=!1,e}return{type:"image",raw:r,href:s,title:i,text:h(a)}}class x{options;rules;lexer;constructor(e){this.options=e||s}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:k(e,`
`)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],r=function(e,t){let r=e.match(/^(\s+)(?:```)/);if(null===r)return t;let n=r[1];return t.split(`
`).map(e=>{let t=e.match(/^\s+/);if(null===t)return e;let[r]=t;return r.length>=n.length?e.slice(n.length):e}).join(`
`)}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){let t=k(e,"#");this.options.pedantic?e=t.trim():(!t||/ $/.test(t))&&(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=k(t[0].replace(/^ *>[ \t]?/gm,""),`
`),r=this.lexer.state.top;this.lexer.state.top=!0;let n=this.lexer.blockTokens(e);return this.lexer.state.top=r,{type:"blockquote",raw:t[0],tokens:n,text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let r=t[1].trim(),n=r.length>1,s={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=n?r:"[*+-]");let i=RegExp(`^( {0,3}${r})((?:[	 ][^\\n]*)?(?:\\n|$))`),a="",l="",o=!1;for(;e;){let r,n=!1;if(!(t=i.exec(e))||this.rules.block.hr.test(e))break;a=t[0],e=e.substring(a.length);let u=t[2].split(`
`,1)[0].replace(/^\t+/,e=>" ".repeat(3*e.length)),c=e.split(`
`,1)[0],h=0;this.options.pedantic?(h=2,l=u.trimStart()):(h=(h=t[2].search(/[^ ]/))>4?1:h,l=u.slice(h),h+=t[1].length);let d=!1;if(!u&&/^ *$/.test(c)&&(a+=c+`
`,e=e.substring(c.length+1),n=!0),!n){let t=RegExp(`^ {0,${Math.min(3,h-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ 	][^\\n]*)?(?:\\n|$))`),r=RegExp(`^ {0,${Math.min(3,h-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),n=RegExp(`^ {0,${Math.min(3,h-1)}}(?:\`\`\`|~~~)`),s=RegExp(`^ {0,${Math.min(3,h-1)}}#`);for(;e;){let i=e.split(`
`,1)[0];if(c=i,this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g,"  ")),n.test(c)||s.test(c)||t.test(c)||r.test(e))break;if(c.search(/[^ ]/)>=h||!c.trim())l+=`
`+c.slice(h);else{if(d||u.search(/[^ ]/)>=4||n.test(u)||s.test(u)||r.test(u))break;l+=`
`+c}d||c.trim()||(d=!0),a+=i+`
`,e=e.substring(i.length+1),u=c.slice(h)}}!s.loose&&(o?s.loose=!0:/\n *\n *$/.test(a)&&(o=!0));let m=null;this.options.gfm&&(m=/^\[[ xX]\] /.exec(l))&&(r="[ ] "!==m[0],l=l.replace(/^\[[ xX]\] +/,"")),s.items.push({type:"list_item",raw:a,task:!!m,checked:r,loose:!1,text:l,tokens:[]}),s.raw+=a}s.items[s.items.length-1].raw=a.trimEnd(),s.items[s.items.length-1].text=l.trimEnd(),s.raw=s.raw.trimEnd();for(let e=0;e<s.items.length;e++)if(this.lexer.state.top=!1,s.items[e].tokens=this.lexer.blockTokens(s.items[e].text,[]),!s.loose){let t=s.items[e].tokens.filter(e=>"space"===e.type);s.loose=t.length>0&&t.some(e=>/\n.*\n/.test(e.raw))}if(s.loose)for(let e=0;e<s.items.length;e++)s.items[e].loose=!0;return s}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let e=t[1].toLowerCase().replace(/\s+/g," "),r=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",n=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:r,title:n}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!/[:|]/.test(t[2]))return;let r=y(t[1]),n=t[2].replace(/^\||\| *$/g,"").split("|"),s=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split(`
`):[],i={type:"table",raw:t[0],header:[],align:[],rows:[]};if(r.length===n.length){for(let e of n)/^ *-+: *$/.test(e)?i.align.push("right"):/^ *:-+: *$/.test(e)?i.align.push("center"):/^ *:-+ *$/.test(e)?i.align.push("left"):i.align.push(null);for(let e of r)i.header.push({text:e,tokens:this.lexer.inline(e)});for(let e of s)i.rows.push(y(e,i.header.length).map(e=>({text:e,tokens:this.lexer.inline(e)})));return i}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e=`
`===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:h(t[1])}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&/^</.test(e)){if(!/>$/.test(e))return;let t=k(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{let e=function(e,t){if(-1===e.indexOf(")"))return -1;let r=0;for(let n=0;n<e.length;n++)if("\\"===e[n])n++;else if("("===e[n])r++;else if(e[n]===t[1]&&--r<0)return n;return -1}(t[2],"()");if(e>-1){let r=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,r).trim(),t[3]=""}}let r=t[2],n="";if(this.options.pedantic){let e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);e&&(r=e[1],n=e[3])}else n=t[3]?t[3].slice(1,-1):"";return r=r.trim(),/^</.test(r)&&(r=this.options.pedantic&&!/>$/.test(e)?r.slice(1):r.slice(1,-1)),w(t,{href:r?r.replace(this.rules.inline.anyPunctuation,"$1"):r,title:n?n.replace(this.rules.inline.anyPunctuation,"$1"):n},t[0],this.lexer)}}reflink(e,t){let r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){let e=t[(r[2]||r[1]).replace(/\s+/g," ").toLowerCase()];if(!e){let e=r[0].charAt(0);return{type:"text",raw:e,text:e}}return w(r,e,r[0],this.lexer)}}emStrong(e,t,r=""){let n=this.rules.inline.emStrongLDelim.exec(e);if(!(!n||n[3]&&r.match(/[\p{L}\p{N}]/u))&&(!(n[1]||n[2])||!r||this.rules.inline.punctuation.exec(r))){let r=[...n[0]].length-1,s,i,a=r,l=0,o="*"===n[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(o.lastIndex=0,t=t.slice(-1*e.length+r);null!=(n=o.exec(t));){if(!(s=n[1]||n[2]||n[3]||n[4]||n[5]||n[6]))continue;if(i=[...s].length,n[3]||n[4]){a+=i;continue}if((n[5]||n[6])&&r%3&&!((r+i)%3)){l+=i;continue}if((a-=i)>0)continue;i=Math.min(i,i+a+l);let t=[...n[0]][0].length,o=e.slice(0,r+n.index+t+i);if(Math.min(r,i)%2){let e=o.slice(1,-1);return{type:"em",raw:o,text:e,tokens:this.lexer.inlineTokens(e)}}let u=o.slice(2,-2);return{type:"strong",raw:o,text:u,tokens:this.lexer.inlineTokens(u)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," "),r=/[^ ]/.test(e),n=/^ /.test(e)&&/ $/.test(e);return r&&n&&(e=e.substring(1,e.length-1)),e=h(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,r;return r="@"===t[2]?"mailto:"+(e=h(t[1])):e=h(t[1]),{type:"link",raw:t[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,r;if("@"===t[2])r="mailto:"+(e=h(t[0]));else{let n;do n=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(n!==t[0])e=h(t[0]),r="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e;return e=this.lexer.state.inRawBlock?t[0]:h(t[0]),{type:"text",raw:t[0],text:e}}}}let b=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,T=/(?:[*+-]|\d{1,9}[.)])/,S=f(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,T).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),v=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,O=/(?!\s*\])(?:\\.|[^\[\]\\])+/,$=f(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",O).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),N=f(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,T).getRegex(),M="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",I=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,D=f("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",I).replace("tag",M).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),E=f(v).replace("hr",b).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",M).getRegex(),z={blockquote:f(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",E).getRegex(),code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:$,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:b,html:D,lheading:S,list:N,newline:/^(?: *(?:\n|$))+/,paragraph:E,table:g,text:/^[^\n]+/},V=f("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",b).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",M).getRegex(),C={...z,table:V,paragraph:f(v).replace("hr",b).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",V).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",M).getRegex()},Z={...z,html:f("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",I).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:g,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:f(v).replace("hr",b).replace("heading",` *#{1,6} *[^
]`).replace("lheading",S).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},F=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,L=/^( {2,}|\\)\n(?!\s*$)/,A="\\p{P}\\p{S}",_=f(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,A).getRegex(),W=f(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,A).getRegex(),R=f("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,A).getRegex(),q=f("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,A).getRegex(),j=f(/\\([punct])/,"gu").replace(/punct/g,A).getRegex(),U=f(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),P=f(I).replace("(?:--\x3e|$)","--\x3e").getRegex(),H=f("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",P).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Y=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,J=f(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Y).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),G=f(/^!?\[(label)\]\[(ref)\]/).replace("label",Y).replace("ref",O).getRegex(),B=f(/^!?\[(ref)\](?:\[\])?/).replace("ref",O).getRegex(),Q=f("reflink|nolink(?!\\()","g").replace("reflink",G).replace("nolink",B).getRegex(),X={_backpedal:g,anyPunctuation:j,autolink:U,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:L,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:g,emStrongLDelim:W,emStrongRDelimAst:R,emStrongRDelimUnd:q,escape:F,link:J,nolink:B,punctuation:_,reflink:G,reflinkSearch:Q,tag:H,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:g},K={...X,link:f(/^!?\[(label)\]\((.*?)\)/).replace("label",Y).getRegex(),reflink:f(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Y).getRegex()},ee={...X,escape:f(F).replace("])","~|])").getRegex(),url:f(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},et={...ee,br:f(L).replace("{2,}","*").getRegex(),text:f(ee.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},er={normal:z,gfm:C,pedantic:Z},en={normal:X,gfm:ee,breaks:et,pedantic:K};class es{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||s,this.options.tokenizer=this.options.tokenizer||new x,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={block:er.normal,inline:en.normal};this.options.pedantic?(t.block=er.pedantic,t.inline=en.pedantic):this.options.gfm&&(t.block=er.gfm,this.options.breaks?t.inline=en.breaks:t.inline=en.gfm),this.tokenizer.rules=t}static get rules(){return{block:er,inline:en}}static lex(e,t){return new es(t).lex(e)}static lexInline(e,t){return new es(t).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,`
`),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){let t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[]){let r,n,s,i;for(e=this.options.pedantic?e.replace(/\t/g,"    ").replace(/^ +$/gm,""):e.replace(/^( *)(\t+)/gm,(e,t,r)=>t+"    ".repeat(r.length));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)))){if(r=this.tokenizer.space(e)){e=e.substring(r.raw.length),1===r.raw.length&&t.length>0?t[t.length-1].raw+=`
`:t.push(r);continue}if(r=this.tokenizer.code(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+=`
`+r.raw,n.text+=`
`+r.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r);continue}if((r=this.tokenizer.fences(e))||(r=this.tokenizer.heading(e))||(r=this.tokenizer.hr(e))||(r=this.tokenizer.blockquote(e))||(r=this.tokenizer.list(e))||(r=this.tokenizer.html(e))){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+=`
`+r.raw,n.text+=`
`+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});continue}if((r=this.tokenizer.table(e))||(r=this.tokenizer.lheading(e))){e=e.substring(r.raw.length),t.push(r);continue}if(s=e,this.options.extensions&&this.options.extensions.startBlock){let t,r=1/0,n=e.slice(1);this.options.extensions.startBlock.forEach(e=>{"number"==typeof(t=e.call({lexer:this},n))&&t>=0&&(r=Math.min(r,t))}),r<1/0&&r>=0&&(s=e.substring(0,r+1))}if(this.state.top&&(r=this.tokenizer.paragraph(s))){n=t[t.length-1],i&&"paragraph"===n.type?(n.raw+=`
`+r.raw,n.text+=`
`+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r),i=s.length!==e.length,e=e.substring(r.raw.length);continue}if(r=this.tokenizer.text(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===n.type?(n.raw+=`
`+r.raw,n.text+=`
`+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let r,n,s,i,a,l,o=e;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(o));)e.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(o));)o=o.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.anyPunctuation.exec(o));)o=o.slice(0,i.index)+"++"+o.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(a||(l=""),a=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)))){if(r=this.tokenizer.escape(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.tag(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===r.type&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(r=this.tokenizer.link(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===r.type&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if((r=this.tokenizer.emStrong(e,o,l))||(r=this.tokenizer.codespan(e))||(r=this.tokenizer.br(e))||(r=this.tokenizer.del(e))||(r=this.tokenizer.autolink(e))||!this.state.inLink&&(r=this.tokenizer.url(e))){e=e.substring(r.raw.length),t.push(r);continue}if(s=e,this.options.extensions&&this.options.extensions.startInline){let t,r=1/0,n=e.slice(1);this.options.extensions.startInline.forEach(e=>{"number"==typeof(t=e.call({lexer:this},n))&&t>=0&&(r=Math.min(r,t))}),r<1/0&&r>=0&&(s=e.substring(0,r+1))}if(r=this.tokenizer.inlineText(s)){e=e.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(l=r.raw.slice(-1)),a=!0,(n=t[t.length-1])&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return t}}class ei{options;constructor(e){this.options=e||s}code(e,t,r){let n=(t||"").match(/^\S*/)?.[0];return(e=e.replace(/\n$/,"")+`
`,n)?'<pre><code class="language-'+h(n)+'">'+(r?e:h(e,!0))+`</code></pre>
`:"<pre><code>"+(r?e:h(e,!0))+`</code></pre>
`}blockquote(e){return`<blockquote>
${e}</blockquote>
`}html(e,t){return e}heading(e,t,r){return`<h${t}>${e}</h${t}>
`}hr(){return`<hr>
`}list(e,t,r){let n=t?"ol":"ul";return"<"+n+(t&&1!==r?' start="'+r+'"':"")+`>
`+e+"</"+n+`>
`}listitem(e,t,r){return`<li>${e}</li>
`}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph(e){return`<p>${e}</p>
`}table(e,t){return t&&(t=`<tbody>${t}</tbody>`),`<table>
<thead>
`+e+`</thead>
`+t+`</table>
`}tablerow(e){return`<tr>
${e}</tr>
`}tablecell(e,t){let r=t.header?"th":"td";return(t.align?`<${r} align="${t.align}">`:`<${r}>`)+e+`</${r}>
`}strong(e){return`<strong>${e}</strong>`}em(e){return`<em>${e}</em>`}codespan(e){return`<code>${e}</code>`}br(){return"<br>"}del(e){return`<del>${e}</del>`}link(e,t,r){let n=p(e);if(null===n)return r;let s='<a href="'+(e=n)+'"';return t&&(s+=' title="'+t+'"'),s+=">"+r+"</a>"}image(e,t,r){let n=p(e);if(null===n)return r;e=n;let s=`<img src="${e}" alt="${r}"`;return t&&(s+=` title="${t}"`),s+=">"}text(e){return e}}class ea{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,r){return""+r}image(e,t,r){return""+r}br(){return""}}class el{options;renderer;textRenderer;constructor(e){this.options=e||s,this.options.renderer=this.options.renderer||new ei,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new ea}static parse(e,t){return new el(t).parse(e)}static parseInline(e,t){return new el(t).parseInline(e)}parse(e,t=!0){let r="";for(let n=0;n<e.length;n++){let s=e[n];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type]){let e=this.options.extensions.renderers[s.type].call({parser:this},s);if(!1!==e||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(s.type)){r+=e||"";continue}}switch(s.type){case"space":continue;case"hr":r+=this.renderer.hr();continue;case"heading":r+=this.renderer.heading(this.parseInline(s.tokens),s.depth,this.parseInline(s.tokens,this.textRenderer).replace(d,(e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""));continue;case"code":r+=this.renderer.code(s.text,s.lang,!!s.escaped);continue;case"table":{let e="",t="";for(let e=0;e<s.header.length;e++)t+=this.renderer.tablecell(this.parseInline(s.header[e].tokens),{header:!0,align:s.align[e]});e+=this.renderer.tablerow(t);let n="";for(let e=0;e<s.rows.length;e++){let r=s.rows[e];t="";for(let e=0;e<r.length;e++)t+=this.renderer.tablecell(this.parseInline(r[e].tokens),{header:!1,align:s.align[e]});n+=this.renderer.tablerow(t)}r+=this.renderer.table(e,n);continue}case"blockquote":{let e=this.parse(s.tokens);r+=this.renderer.blockquote(e);continue}case"list":{let e=s.ordered,t=s.start,n=s.loose,i="";for(let e=0;e<s.items.length;e++){let t=s.items[e],r=t.checked,a=t.task,l="";if(t.task){let e=this.renderer.checkbox(!!r);n?t.tokens.length>0&&"paragraph"===t.tokens[0].type?(t.tokens[0].text=e+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&"text"===t.tokens[0].tokens[0].type&&(t.tokens[0].tokens[0].text=e+" "+t.tokens[0].tokens[0].text)):t.tokens.unshift({type:"text",text:e+" "}):l+=e+" "}l+=this.parse(t.tokens,n),i+=this.renderer.listitem(l,a,!!r)}r+=this.renderer.list(i,e,t);continue}case"html":r+=this.renderer.html(s.text,s.block);continue;case"paragraph":r+=this.renderer.paragraph(this.parseInline(s.tokens));continue;case"text":{let i=s,a=i.tokens?this.parseInline(i.tokens):i.text;for(;n+1<e.length&&"text"===e[n+1].type;)a+=`
`+((i=e[++n]).tokens?this.parseInline(i.tokens):i.text);r+=t?this.renderer.paragraph(a):a;continue}default:{let e='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw Error(e)}}}return r}parseInline(e,t){t=t||this.renderer;let r="";for(let n=0;n<e.length;n++){let s=e[n];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type]){let e=this.options.extensions.renderers[s.type].call({parser:this},s);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){r+=e||"";continue}}switch(s.type){case"escape":case"text":r+=t.text(s.text);break;case"html":r+=t.html(s.text);break;case"link":r+=t.link(s.href,s.title,this.parseInline(s.tokens,t));break;case"image":r+=t.image(s.href,s.title,s.text);break;case"strong":r+=t.strong(this.parseInline(s.tokens,t));break;case"em":r+=t.em(this.parseInline(s.tokens,t));break;case"codespan":r+=t.codespan(s.text);break;case"br":r+=t.br();break;case"del":r+=t.del(this.parseInline(s.tokens,t));break;default:{let e='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw Error(e)}}}return r}}class eo{options;constructor(e){this.options=e||s}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}}class eu{defaults=n();options=this.setOptions;parse=this.#e(es.lex,el.parse);parseInline=this.#e(es.lexInline,el.parseInline);Parser=el;Renderer=ei;TextRenderer=ea;Lexer=es;Tokenizer=x;Hooks=eo;constructor(...e){this.use(...e)}walkTokens(e,t){let r=[];for(let n of e)switch(r=r.concat(t.call(this,n)),n.type){case"table":for(let e of n.header)r=r.concat(this.walkTokens(e.tokens,t));for(let e of n.rows)for(let n of e)r=r.concat(this.walkTokens(n.tokens,t));break;case"list":r=r.concat(this.walkTokens(n.items,t));break;default:{let e=n;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(n=>{let s=e[n].flat(1/0);r=r.concat(this.walkTokens(s,t))}):e.tokens&&(r=r.concat(this.walkTokens(e.tokens,t)))}}return r}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{let r={...e};if(r.async=this.defaults.async||r.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error("extension name required");if("renderer"in e){let r=t.renderers[e.name];r?t.renderers[e.name]=function(...t){let n=e.renderer.apply(this,t);return!1===n&&(n=r.apply(this,t)),n}:t.renderers[e.name]=e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw Error("extension level must be 'block' or 'inline'");let r=t[e.level];r?r.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),r.extensions=t),e.renderer){let t=this.defaults.renderer||new ei(this.defaults);for(let r in e.renderer){if(!(r in t))throw Error(`renderer '${r}' does not exist`);if("options"===r)continue;let n=e.renderer[r],s=t[r];t[r]=(...e)=>{let r=n.apply(t,e);return!1===r&&(r=s.apply(t,e)),r||""}}r.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new x(this.defaults);for(let r in e.tokenizer){if(!(r in t))throw Error(`tokenizer '${r}' does not exist`);if(["options","rules","lexer"].includes(r))continue;let n=e.tokenizer[r],s=t[r];t[r]=(...e)=>{let r=n.apply(t,e);return!1===r&&(r=s.apply(t,e)),r}}r.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new eo;for(let r in e.hooks){if(!(r in t))throw Error(`hook '${r}' does not exist`);if("options"===r)continue;let n=e.hooks[r],s=t[r];eo.passThroughHooks.has(r)?t[r]=e=>{if(this.defaults.async)return Promise.resolve(n.call(t,e)).then(e=>s.call(t,e));let r=n.call(t,e);return s.call(t,r)}:t[r]=(...e)=>{let r=n.apply(t,e);return!1===r&&(r=s.apply(t,e)),r}}r.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,n=e.walkTokens;r.walkTokens=function(e){let r=[];return r.push(n.call(this,e)),t&&(r=r.concat(t.call(this,e))),r}}this.defaults={...this.defaults,...r}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return es.lex(e,t??this.defaults)}parser(e,t){return el.parse(e,t??this.defaults)}#e(e,t){return(r,n)=>{let s={...n},i={...this.defaults,...s};!0===this.defaults.async&&!1===s.async&&(i.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),i.async=!0);let a=this.#t(!!i.silent,!!i.async);if(null==r)return a(Error("marked(): input parameter is undefined or null"));if("string"!=typeof r)return a(Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(i.hooks&&(i.hooks.options=i),i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(r):r).then(t=>e(t,i)).then(e=>i.hooks?i.hooks.processAllTokens(e):e).then(e=>i.walkTokens?Promise.all(this.walkTokens(e,i.walkTokens)).then(()=>e):e).then(e=>t(e,i)).then(e=>i.hooks?i.hooks.postprocess(e):e).catch(a);try{i.hooks&&(r=i.hooks.preprocess(r));let n=e(r,i);i.hooks&&(n=i.hooks.processAllTokens(n)),i.walkTokens&&this.walkTokens(n,i.walkTokens);let s=t(n,i);return i.hooks&&(s=i.hooks.postprocess(s)),s}catch(e){return a(e)}}}#t(e,t){return r=>{if(r.message+=`
Please report this to https://github.com/markedjs/marked.`,e){let e="<p>An error occurred:</p><pre>"+h(r.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(r);throw r}}}let ec=new eu;function eh(e,t){return ec.parse(e,t)}eh.options=eh.setOptions=function(e){return ec.setOptions(e),eh.defaults=ec.defaults,s=eh.defaults,eh},eh.getDefaults=n,eh.defaults=s,eh.use=function(...e){return ec.use(...e),eh.defaults=ec.defaults,s=eh.defaults,eh},eh.walkTokens=function(e,t){return ec.walkTokens(e,t)},eh.parseInline=ec.parseInline,eh.Parser=el,eh.parser=el.parse,eh.Renderer=ei,eh.TextRenderer=ea,eh.Lexer=es,eh.lexer=es.lex,eh.Tokenizer=x,eh.Hooks=eo,eh.parse=eh,eh.options,eh.setOptions,eh.use;let ed=eh.walkTokens;eh.parseInline,el.parse;let em=es.lex},417476(e,t){let r;Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{}class s extends n{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class i extends n{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class a extends n{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class l extends n{}class o extends n{constructor(e){super(`Invalid unit ${e}`)}}class u extends n{}class c extends n{constructor(){super("Zone is an abstract class")}}let h="numeric",d="short",m="long",f={year:h,month:h,day:h},p={year:h,month:d,day:h},g={year:h,month:d,day:h,weekday:d},y={year:h,month:m,day:h},k={year:h,month:m,day:h,weekday:m},w={hour:h,minute:h},x={hour:h,minute:h,second:h},b={hour:h,minute:h,second:h,timeZoneName:d},T={hour:h,minute:h,second:h,timeZoneName:m},S={hour:h,minute:h,hourCycle:"h23"},v={hour:h,minute:h,second:h,hourCycle:"h23"},O={hour:h,minute:h,second:h,hourCycle:"h23",timeZoneName:d},$={hour:h,minute:h,second:h,hourCycle:"h23",timeZoneName:m},N={year:h,month:h,day:h,hour:h,minute:h},M={year:h,month:h,day:h,hour:h,minute:h,second:h},I={year:h,month:d,day:h,hour:h,minute:h},D={year:h,month:d,day:h,hour:h,minute:h,second:h},E={year:h,month:d,day:h,weekday:d,hour:h,minute:h},z={year:h,month:m,day:h,hour:h,minute:h,timeZoneName:d},V={year:h,month:m,day:h,hour:h,minute:h,second:h,timeZoneName:d},C={year:h,month:m,day:h,weekday:m,hour:h,minute:h,timeZoneName:m},Z={year:h,month:m,day:h,weekday:m,hour:h,minute:h,second:h,timeZoneName:m};class F{get type(){throw new c}get name(){throw new c}get ianaName(){return this.name}get isUniversal(){throw new c}offsetName(e,t){throw new c}formatOffset(e,t){throw new c}offset(e){throw new c}equals(e){throw new c}get isValid(){throw new c}}let L=null;class A extends F{static get instance(){return null===L&&(L=new A),L}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:t,locale:r}){return e1(e,t,r)}formatOffset(e,t){return e4(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return"system"===e.type}get isValid(){return!0}}let _={},W={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6},R={};class q extends F{static create(e){return R[e]||(R[e]=new q(e)),R[e]}static resetCache(){R={},_={}}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}}constructor(e){super(),this.zoneName=e,this.valid=q.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:t,locale:r}){return e1(e,t,r,this.name)}formatOffset(e,t){return e4(this.offset(e),t)}offset(e){var t;let r=new Date(e);if(isNaN(r))return NaN;let n=(_[t=this.name]||(_[t]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),_[t]),[s,i,a,l,o,u,c]=n.formatToParts?function(e,t){let r=e.formatToParts(t),n=[];for(let e=0;e<r.length;e++){let{type:t,value:s}=r[e],i=W[t];"era"===t?n[i]=s:eC(i)||(n[i]=parseInt(s,10))}return n}(n,r):function(e,t){let r=e.format(t).replace(/\u200E/g,""),[,n,s,i,a,l,o,u]=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r);return[i,n,s,a,l,o,u]}(n,r);"BC"===l&&(s=-Math.abs(s)+1);let h=eQ({year:s,month:i,day:a,hour:24===o?0:o,minute:u,second:c,millisecond:0}),d=+r,m=d%1e3;return(h-(d-=m>=0?m:1e3+m))/6e4}equals(e){return"iana"===e.type&&e.name===this.name}get isValid(){return this.valid}}let j={},U={};function P(e,t={}){let r=JSON.stringify([e,t]),n=U[r];return n||(n=new Intl.DateTimeFormat(e,t),U[r]=n),n}let H={},Y={},J=null,G={};function B(e,t,r,n){let s=e.listingMode();return"error"===s?null:"en"===s?r(t):n(t)}class Q{constructor(e,t,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;let{padTo:n,floor:s,...i}=r;if(!t||Object.keys(i).length>0){let t={useGrouping:!1,...r};r.padTo>0&&(t.minimumIntegerDigits=r.padTo),this.inf=function(e,t={}){let r=JSON.stringify([e,t]),n=H[r];return n||(n=new Intl.NumberFormat(e,t),H[r]=n),n}(e,t)}}format(e){if(!this.inf)return ej(this.floor?Math.floor(e):eY(e,3),this.padTo);{let t=this.floor?Math.floor(e):e;return this.inf.format(t)}}}class X{constructor(e,t,r){let n;if(this.opts=r,this.originalZone=void 0,this.opts.timeZone)this.dt=e;else if("fixed"===e.zone.type){let t=-1*(e.offset/60),r=t>=0?`Etc/GMT+${t}`:`Etc/GMT${t}`;0!==e.offset&&q.create(r).valid?(n=r,this.dt=e):(n="UTC",this.dt=0===e.offset?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else"system"===e.zone.type?this.dt=e:"iana"===e.zone.type?(this.dt=e,n=e.zone.name):(n="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);let s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=P(t,s)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){let e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(e=>{if("timeZoneName"!==e.type)return e;{let t=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...e,value:t}}}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class K{constructor(e,t,r){this.opts={style:"long",...r},!t&&eL()&&(this.rtf=function(e,t={}){let{base:r,...n}=t,s=JSON.stringify([e,n]),i=Y[s];return i||(i=new Intl.RelativeTimeFormat(e,t),Y[s]=i),i}(e,r))}format(e,t){return this.rtf?this.rtf.format(e,t):function(e,t,r="always",n=!1){let s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===r&&i){let r="days"===e;switch(t){case 1:return r?"tomorrow":`next ${s[e][0]}`;case -1:return r?"yesterday":`last ${s[e][0]}`;case 0:return r?"today":`this ${s[e][0]}`}}let a=Object.is(t,-0)||t<0,l=Math.abs(t),o=1===l,u=s[e],c=n?o?u[1]:u[2]||u[1]:o?s[e][0]:e;return a?`${l} ${c} ago`:`in ${l} ${c}`}(t,e,this.opts.numeric,"long"!==this.opts.style)}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}}let ee={firstDay:1,minimalDays:4,weekend:[6,7]};class et{static fromOpts(e){return et.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,t,r,n,s=!1){let i=e||ew.defaultLocale,a=i||(s?"en-US":J||(J=new Intl.DateTimeFormat().resolvedOptions().locale)),l=t||ew.defaultNumberingSystem;return new et(a,l,r||ew.defaultOutputCalendar,eR(n)||ew.defaultWeekSettings,i)}static resetCache(){J=null,U={},H={},Y={}}static fromObject({locale:e,numberingSystem:t,outputCalendar:r,weekSettings:n}={}){return et.create(e,t,r,n)}constructor(e,t,r,n,s){let[i,a,l]=function(e){let t=e.indexOf("-x-");-1!==t&&(e=e.substring(0,t));let r=e.indexOf("-u-");if(-1===r)return[e];{let t,n;try{t=P(e).resolvedOptions(),n=e}catch(i){let s=e.substring(0,r);t=P(s).resolvedOptions(),n=s}let{numberingSystem:s,calendar:i}=t;return[n,s,i]}}(e);this.locale=i,this.numberingSystem=t||a||null,this.outputCalendar=r||l||null,this.weekSettings=n,this.intl=function(e,t,r){return(r||t)&&(e.includes("-u-")||(e+="-u"),r&&(e+=`-ca-${r}`),t&&(e+=`-nu-${t}`)),e}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){return null==this.fastNumbersCached&&(this.fastNumbersCached=(!this.numberingSystem||"latn"===this.numberingSystem)&&("latn"===this.numberingSystem||!this.locale||this.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(this.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){let e=this.isEnglish(),t=(null===this.numberingSystem||"latn"===this.numberingSystem)&&(null===this.outputCalendar||"gregory"===this.outputCalendar);return e&&t?"en":"intl"}clone(e){return e&&0!==Object.getOwnPropertyNames(e).length?et.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,eR(e.weekSettings)||this.weekSettings,e.defaultToEN||!1):this}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,t=!1){return B(this,e,te,()=>{let r=t?{month:e,day:"numeric"}:{month:e},n=t?"format":"standalone";return this.monthsCache[n][e]||(this.monthsCache[n][e]=function(e){let t=[];for(let r=1;r<=12;r++){let n=rj.utc(2009,r,1);t.push(e(n))}return t}(e=>this.extract(e,r,"month"))),this.monthsCache[n][e]})}weekdays(e,t=!1){return B(this,e,ts,()=>{let r=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},n=t?"format":"standalone";return this.weekdaysCache[n][e]||(this.weekdaysCache[n][e]=function(e){let t=[];for(let r=1;r<=7;r++){let n=rj.utc(2016,11,13+r);t.push(e(n))}return t}(e=>this.extract(e,r,"weekday"))),this.weekdaysCache[n][e]})}meridiems(){return B(this,void 0,()=>ti,()=>{if(!this.meridiemCache){let e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[rj.utc(2016,11,13,9),rj.utc(2016,11,13,19)].map(t=>this.extract(t,e,"dayperiod"))}return this.meridiemCache})}eras(e){return B(this,e,tu,()=>{let t={era:e};return this.eraCache[e]||(this.eraCache[e]=[rj.utc(-40,1,1),rj.utc(2017,1,1)].map(e=>this.extract(e,t,"era"))),this.eraCache[e]})}extract(e,t,r){let n=this.dtFormatter(e,t).formatToParts().find(e=>e.type.toLowerCase()===r);return n?n.value:null}numberFormatter(e={}){return new Q(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new X(e,this.intl,t)}relFormatter(e={}){return new K(this.intl,this.isEnglish(),e)}listFormatter(e={}){return function(e,t={}){let r=JSON.stringify([e,t]),n=j[r];return n||(n=new Intl.ListFormat(e,t),j[r]=n),n}(this.intl,e)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){if(this.weekSettings)return this.weekSettings;if(!eA())return ee;var e=this.locale;let t=G[e];if(!t){let r=new Intl.Locale(e);t="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,G[e]=t}return t}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let er=null;class en extends F{static get utcInstance(){return null===er&&(er=new en(0)),er}static instance(e){return 0===e?en.utcInstance:new en(e)}static parseSpecifier(e){if(e){let t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t)return new en(e2(t[1],t[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${e4(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${e4(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,t){return e4(this.fixed,t)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return"fixed"===e.type&&e.fixed===this.fixed}get isValid(){return!0}}class es extends F{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function ei(e,t){if(eC(e)||null===e)return t;if(e instanceof F)return e;if("string"==typeof e){let r=e.toLowerCase();return"default"===r?t:"local"===r||"system"===r?A.instance:"utc"===r||"gmt"===r?en.utcInstance:en.parseSpecifier(r)||q.create(e)}if(eZ(e))return en.instance(e);if("object"==typeof e&&"offset"in e&&"function"==typeof e.offset)return e;else return new es(e)}let ea={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[０-９]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},el={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},eo=ea.hanidec.replace(/[\[|\]]/g,"").split(""),eu={};function ec({numberingSystem:e},t=""){let r=e||"latn";return eu[r]||(eu[r]={}),eu[r][t]||(eu[r][t]=RegExp(`${ea[r]}${t}`)),eu[r][t]}let eh=()=>Date.now(),ed="system",em=null,ef=null,ep=null,eg=60,ey,ek=null;class ew{static get now(){return eh}static set now(e){eh=e}static set defaultZone(e){ed=e}static get defaultZone(){return ei(ed,A.instance)}static get defaultLocale(){return em}static set defaultLocale(e){em=e}static get defaultNumberingSystem(){return ef}static set defaultNumberingSystem(e){ef=e}static get defaultOutputCalendar(){return ep}static set defaultOutputCalendar(e){ep=e}static get defaultWeekSettings(){return ek}static set defaultWeekSettings(e){ek=eR(e)}static get twoDigitCutoffYear(){return eg}static set twoDigitCutoffYear(e){eg=e%100}static get throwOnInvalid(){return ey}static set throwOnInvalid(e){ey=e}static resetCaches(){et.resetCache(),q.resetCache(),rj.resetCache(),eu={}}}class ex{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}let eb=[0,31,59,90,120,151,181,212,243,273,304,334],eT=[0,31,60,91,121,152,182,213,244,274,305,335];function eS(e,t){return new ex("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function ev(e,t,r){let n=new Date(Date.UTC(e,t-1,r));e<100&&e>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);let s=n.getUTCDay();return 0===s?7:s}function eO(e,t){let r=eJ(e)?eT:eb,n=r.findIndex(e=>e<t),s=t-r[n];return{month:n+1,day:s}}function e$(e,t){return(e-t+7)%7+1}function eN(e,t=4,r=1){let{year:n,month:s,day:i}=e,a=i+(eJ(n)?eT:eb)[s-1],l=e$(ev(n,s,i),r),o=Math.floor((a-l+14-t)/7),u;return o<1?o=eK(u=n-1,t,r):o>eK(n,t,r)?(u=n+1,o=1):u=n,{weekYear:u,weekNumber:o,weekday:l,...e9(e)}}function eM(e,t=4,r=1){let{weekYear:n,weekNumber:s,weekday:i}=e,a=e$(ev(n,1,t),r),l=eG(n),o=7*s+i-a-7+t,u;o<1?o+=eG(u=n-1):o>l?(u=n+1,o-=eG(n)):u=n;let{month:c,day:h}=eO(u,o);return{year:u,month:c,day:h,...e9(e)}}function eI(e){let{year:t,month:r,day:n}=e,s=n+(eJ(t)?eT:eb)[r-1];return{year:t,ordinal:s,...e9(e)}}function eD(e){let{year:t,ordinal:r}=e,{month:n,day:s}=eO(t,r);return{year:t,month:n,day:s,...e9(e)}}function eE(e,t){if(!(!eC(e.localWeekday)||!eC(e.localWeekNumber)||!eC(e.localWeekYear)))return{minDaysInFirstWeek:4,startOfWeek:1};if(!eC(e.weekday)||!eC(e.weekNumber)||!eC(e.weekYear))throw new l("Cannot mix locale-based week fields with ISO-based week fields");return eC(e.localWeekday)||(e.weekday=e.localWeekday),eC(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),eC(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}function ez(e){let t=eF(e.year),r=eq(e.month,1,12),n=eq(e.day,1,eB(e.year,e.month));return t?r?!n&&eS("day",e.day):eS("month",e.month):eS("year",e.year)}function eV(e){let{hour:t,minute:r,second:n,millisecond:s}=e,i=eq(t,0,23)||24===t&&0===r&&0===n&&0===s,a=eq(r,0,59),l=eq(n,0,59),o=eq(s,0,999);return i?a?l?!o&&eS("millisecond",s):eS("second",n):eS("minute",r):eS("hour",t)}function eC(e){return void 0===e}function eZ(e){return"number"==typeof e}function eF(e){return"number"==typeof e&&e%1==0}function eL(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function eA(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return!1}}function e_(e,t,r){if(0!==e.length)return e.reduce((e,n)=>{let s=[t(n),n];return e&&r(e[0],s[0])===e[0]?e:s},null)[1]}function eW(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function eR(e){if(null==e)return null;if("object"!=typeof e)throw new u("Week settings must be an object");if(!eq(e.firstDay,1,7)||!eq(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(e=>!eq(e,1,7)))throw new u("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function eq(e,t,r){return eF(e)&&e>=t&&e<=r}function ej(e,t=2){return e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0")}function eU(e){if(!eC(e)&&null!==e&&""!==e)return parseInt(e,10)}function eP(e){if(!eC(e)&&null!==e&&""!==e)return parseFloat(e)}function eH(e){if(!eC(e)&&null!==e&&""!==e)return Math.floor(1e3*parseFloat("0."+e))}function eY(e,t,r=!1){let n=10**t;return(r?Math.trunc:Math.round)(e*n)/n}function eJ(e){return e%4==0&&(e%100!=0||e%400==0)}function eG(e){return eJ(e)?366:365}function eB(e,t){var r;let n=(r=t-1)-12*Math.floor(r/12)+1;return 2===n?eJ(e+(t-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function eQ(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t)).setUTCFullYear(e.year,e.month-1,e.day),+t}function eX(e,t,r){return-e$(ev(e,1,t),r)+t-1}function eK(e,t=4,r=1){let n=eX(e,t,r),s=eX(e+1,t,r);return(eG(e)-n+s)/7}function e0(e){return e>99?e:e>ew.twoDigitCutoffYear?1900+e:2e3+e}function e1(e,t,r,n=null){let s=new Date(e),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(i.timeZone=n);let a={timeZoneName:t,...i},l=new Intl.DateTimeFormat(r,a).formatToParts(s).find(e=>"timezonename"===e.type.toLowerCase());return l?l.value:null}function e2(e,t){let r=parseInt(e,10);Number.isNaN(r)&&(r=0);let n=parseInt(t,10)||0,s=r<0||Object.is(r,-0)?-n:n;return 60*r+s}function e3(e){let t=Number(e);if("boolean"==typeof e||""===e||Number.isNaN(t))throw new u(`Invalid unit value ${e}`);return t}function e6(e,t){let r={};for(let n in e)if(eW(e,n)){let s=e[n];if(null==s)continue;r[t(n)]=e3(s)}return r}function e4(e,t){let r=Math.trunc(Math.abs(e/60)),n=Math.trunc(Math.abs(e%60)),s=e>=0?"+":"-";switch(t){case"short":return`${s}${ej(r,2)}:${ej(n,2)}`;case"narrow":return`${s}${r}${n>0?`:${n}`:""}`;case"techie":return`${s}${ej(r,2)}${ej(n,2)}`;default:throw RangeError(`Value format ${t} is out of range for property format`)}}function e9(e){return["hour","minute","second","millisecond"].reduce((t,r)=>(t[r]=e[r],t),{})}let e5=["January","February","March","April","May","June","July","August","September","October","November","December"],e7=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],e8=["J","F","M","A","M","J","J","A","S","O","N","D"];function te(e){switch(e){case"narrow":return[...e8];case"short":return[...e7];case"long":return[...e5];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}let tt=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tr=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],tn=["M","T","W","T","F","S","S"];function ts(e){switch(e){case"narrow":return[...tn];case"short":return[...tr];case"long":return[...tt];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}let ti=["AM","PM"],ta=["Before Christ","Anno Domini"],tl=["BC","AD"],to=["B","A"];function tu(e){switch(e){case"narrow":return[...to];case"short":return[...tl];case"long":return[...ta];default:return null}}function tc(e,t){let r="";for(let n of e)n.literal?r+=n.val:r+=t(n.val);return r}let th={D:f,DD:p,DDD:y,DDDD:k,t:w,tt:x,ttt:b,tttt:T,T:S,TT:v,TTT:O,TTTT:$,f:N,ff:I,fff:z,ffff:C,F:M,FF:D,FFF:V,FFFF:Z};class td{static create(e,t={}){return new td(e,t)}static parseFormat(e){let t=null,r="",n=!1,s=[];for(let i=0;i<e.length;i++){let a=e.charAt(i);"'"===a?(r.length>0&&s.push({literal:n||/^\s+$/.test(r),val:r}),t=null,r="",n=!n):n||a===t?r+=a:(r.length>0&&s.push({literal:/^\s+$/.test(r),val:r}),r=a,t=a)}return r.length>0&&s.push({literal:n||/^\s+$/.test(r),val:r}),s}static macroTokenToFormatOpts(e){return th[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...t}).format()}dtFormatter(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t})}formatDateTime(e,t){return this.dtFormatter(e,t).format()}formatDateTimeParts(e,t){return this.dtFormatter(e,t).formatToParts()}formatInterval(e,t){return this.dtFormatter(e.start,t).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t){return this.dtFormatter(e,t).resolvedOptions()}num(e,t=0){if(this.opts.forceSimple)return ej(e,t);let r={...this.opts};return t>0&&(r.padTo=t),this.loc.numberFormatter(r).format(e)}formatDateTimeFromString(e,t){let r="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(t,r)=>this.loc.extract(e,t,r),i=t=>e.isOffsetFixed&&0===e.offset&&t.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,t.format):"",a=(t,n)=>r?te(t)[e.month-1]:s(n?{month:t}:{month:t,day:"numeric"},"month"),l=(t,n)=>r?ts(t)[e.weekday-1]:s(n?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday"),o=t=>{let r=td.macroTokenToFormatOpts(t);return r?this.formatWithSystemDefault(e,r):t},u=t=>r?tu(t)[e.year<0?0:1]:s({era:t},"era"),c=t=>{switch(t){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12==0?12:e.hour%12);case"hh":return this.num(e.hour%12==0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return r?ti[e.hour<12?0:1]:s({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return n?s({day:"numeric"},"day"):this.num(e.day);case"dd":return n?s({day:"2-digit"},"day"):this.num(e.day,2);case"c":case"E":return this.num(e.weekday);case"ccc":return l("short",!0);case"cccc":return l("long",!0);case"ccccc":return l("narrow",!0);case"EEE":return l("short",!1);case"EEEE":return l("long",!1);case"EEEEE":return l("narrow",!1);case"L":return n?s({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return n?s({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?s({month:"numeric"},"month"):this.num(e.month);case"MM":return n?s({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?s({year:"numeric"},"year"):this.num(e.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return n?s({year:"numeric"},"year"):this.num(e.year,6);case"G":return u("short");case"GG":return u("long");case"GGGGG":return u("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return o(t)}};return tc(td.parseFormat(t),c)}formatDurationFromString(e,t){let r=e=>{switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=e=>t=>{let n=r(t);return n?this.num(e.get(n),t.length):t},s=td.parseFormat(t),i=s.reduce((e,{literal:t,val:r})=>t?e:e.concat(r),[]);return tc(s,n(e.shiftTo(...i.map(r).filter(e=>e))))}}let tm=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function tf(...e){let t=e.reduce((e,t)=>e+t.source,"");return RegExp(`^${t}$`)}function tp(...e){return t=>e.reduce(([e,r,n],s)=>{let[i,a,l]=s(t,n);return[{...e,...i},a||r,l]},[{},null,1]).slice(0,2)}function tg(e,...t){if(null==e)return[null,null];for(let[r,n]of t){let t=r.exec(e);if(t)return n(t)}return[null,null]}function ty(...e){return(t,r)=>{let n,s={};for(n=0;n<e.length;n++)s[e[n]]=eU(t[r+n]);return[s,null,r+n]}}let tk=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,tw=`(?:${tk.source}?(?:\\[(${tm.source})\\])?)?`,tx=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,tb=RegExp(`${tx.source}${tw}`),tT=RegExp(`(?:T${tb.source})?`),tS=ty("weekYear","weekNumber","weekDay"),tv=ty("year","ordinal"),tO=RegExp(`${tx.source} ?(?:${tk.source}|(${tm.source}))?`),t$=RegExp(`(?: ${tO.source})?`);function tN(e,t,r){let n=e[t];return eC(n)?r:eU(n)}function tM(e,t){return[{hours:tN(e,t,0),minutes:tN(e,t+1,0),seconds:tN(e,t+2,0),milliseconds:eH(e[t+3])},null,t+4]}function tI(e,t){let r=!e[t]&&!e[t+1],n=e2(e[t+1],e[t+2]);return[{},r?null:en.instance(n),t+3]}function tD(e,t){return[{},e[t]?q.create(e[t]):null,t+1]}let tE=RegExp(`^T?${tx.source}$`),tz=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function tV(e){let[t,r,n,s,i,a,l,o,u]=e,c="-"===t[0],h=o&&"-"===o[0],d=(e,t=!1)=>void 0!==e&&(t||e&&c)?-e:e;return[{years:d(eP(r)),months:d(eP(n)),weeks:d(eP(s)),days:d(eP(i)),hours:d(eP(a)),minutes:d(eP(l)),seconds:d(eP(o),"-0"===o),milliseconds:d(eH(u),h)}]}let tC={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function tZ(e,t,r,n,s,i,a){let l={year:2===t.length?e0(eU(t)):eU(t),month:e7.indexOf(r)+1,day:eU(n),hour:eU(s),minute:eU(i)};return a&&(l.second=eU(a)),e&&(l.weekday=e.length>3?tt.indexOf(e)+1:tr.indexOf(e)+1),l}let tF=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function tL(e){let[,t,r,n,s,i,a,l,o,u,c,h]=e;return[tZ(t,s,n,r,i,a,l),new en(o?tC[o]:u?0:e2(c,h))]}let tA=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,t_=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,tW=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function tR(e){let[,t,r,n,s,i,a,l]=e;return[tZ(t,s,n,r,i,a,l),en.utcInstance]}function tq(e){let[,t,r,n,s,i,a,l]=e;return[tZ(t,l,r,n,s,i,a),en.utcInstance]}let tj=tf(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,tT),tU=tf(/(\d{4})-?W(\d\d)(?:-?(\d))?/,tT),tP=tf(/(\d{4})-?(\d{3})/,tT),tH=tf(tb),tY=tp(function(e,t){return[{year:tN(e,t),month:tN(e,t+1,1),day:tN(e,t+2,1)},null,t+3]},tM,tI,tD),tJ=tp(tS,tM,tI,tD),tG=tp(tv,tM,tI,tD),tB=tp(tM,tI,tD),tQ=tp(tM),tX=tf(/(\d{4})-(\d\d)-(\d\d)/,t$),tK=tf(tO),t0=tp(tM,tI,tD),t1="Invalid Duration",t2={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},t3={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...t2},t6={years:{quarters:4,months:12,weeks:52.1775,days:365.2425,hours:8765.82,minutes:525949.2,seconds:0x1e18558,milliseconds:31556952e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:7889238,milliseconds:7889238e3},months:{weeks:30.436875/7,days:30.436875,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...t2},t4=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],t9=t4.slice(0).reverse();function t5(e,t,r=!1){return new re({values:r?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix})}function t7(e,t){var r;let n=null!=(r=t.milliseconds)?r:0;for(let r of t9.slice(1))t[r]&&(n+=t[r]*e[r].milliseconds);return n}function t8(e,t){let r=0>t7(e,t)?-1:1;t4.reduceRight((n,s)=>{if(eC(t[s]))return n;if(n){let i=t[n]*r,a=e[s][n],l=Math.floor(i/a);t[s]+=l*r,t[n]-=l*a*r}return s},null),t4.reduce((r,n)=>{if(eC(t[n]))return r;if(r){let s=t[r]%1;t[r]-=s,t[n]+=s*e[r][n]}return n},null)}class re{constructor(e){let t="longterm"===e.conversionAccuracy,r=t?t6:t3;e.matrix&&(r=e.matrix),this.values=e.values,this.loc=e.loc||et.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(e,t){return re.fromObject({milliseconds:e},t)}static fromObject(e,t={}){if(null==e||"object"!=typeof e)throw new u(`Duration.fromObject: argument expected to be an object, got ${null===e?"null":typeof e}`);return new re({values:e6(e,re.normalizeUnit),loc:et.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})}static fromDurationLike(e){if(eZ(e))return re.fromMillis(e);if(re.isDuration(e))return e;if("object"==typeof e)return re.fromObject(e);throw new u(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,t){let[r]=tg(e,[tz,tV]);return r?re.fromObject(r,t):re.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,t){let[r]=tg(e,[tE,tQ]);return r?re.fromObject(r,t):re.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,t=null){if(!e)throw new u("need to specify a reason the Duration is invalid");let r=e instanceof ex?e:new ex(e,t);if(!ew.throwOnInvalid)return new re({invalid:r});throw new a(r)}static normalizeUnit(e){let t={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e?e.toLowerCase():e];if(!t)throw new o(e);return t}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){let r={...t,floor:!1!==t.round&&!1!==t.floor};return this.isValid?td.create(this.loc,r).formatDurationFromString(this,e):t1}toHuman(e={}){if(!this.isValid)return t1;let t=t4.map(t=>{let r=this.values[t];return eC(r)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:t.slice(0,-1)}).format(r)}).filter(e=>e);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(t)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return 0!==this.years&&(e+=this.years+"Y"),(0!==this.months||0!==this.quarters)&&(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),(0!==this.hours||0!==this.minutes||0!==this.seconds||0!==this.milliseconds)&&(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),(0!==this.seconds||0!==this.milliseconds)&&(e+=eY(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;let t=this.toMillis();return t<0||t>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},rj.fromMillis(t,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?t7(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;let t=re.fromDurationLike(e),r={};for(let e of t4)(eW(t.values,e)||eW(this.values,e))&&(r[e]=t.get(e)+this.get(e));return t5(this,{values:r},!0)}minus(e){if(!this.isValid)return this;let t=re.fromDurationLike(e);return this.plus(t.negate())}mapUnits(e){if(!this.isValid)return this;let t={};for(let r of Object.keys(this.values))t[r]=e3(e(this.values[r],r));return t5(this,{values:t},!0)}get(e){return this[re.normalizeUnit(e)]}set(e){return this.isValid?t5(this,{values:{...this.values,...e6(e,re.normalizeUnit)}}):this}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:r,matrix:n}={}){return t5(this,{loc:this.loc.clone({locale:e,numberingSystem:t}),matrix:n,conversionAccuracy:r})}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;let e=this.toObject();return t8(this.matrix,e),t5(this,{values:e},!0)}rescale(){return this.isValid?t5(this,{values:function(e){let t={};for(let[r,n]of Object.entries(e))0!==n&&(t[r]=n);return t}(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...e){let t;if(!this.isValid||0===e.length)return this;e=e.map(e=>re.normalizeUnit(e));let r={},n={},s=this.toObject();for(let i of t4)if(e.indexOf(i)>=0){t=i;let e=0;for(let t in n)e+=this.matrix[t][i]*n[t],n[t]=0;eZ(s[i])&&(e+=s[i]);let a=Math.trunc(e);r[i]=a,n[i]=(1e3*e-1e3*a)/1e3}else eZ(s[i])&&(n[i]=s[i]);for(let e in n)0!==n[e]&&(r[t]+=e===t?n[e]:n[e]/this.matrix[t][e]);return t8(this.matrix,r),t5(this,{values:r},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;let e={};for(let t of Object.keys(this.values))e[t]=0===this.values[t]?0:-this.values[t];return t5(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;for(let n of t4){var t,r;if(t=this.values[n],r=e.values[n],void 0===t||0===t?void 0!==r&&0!==r:t!==r)return!1}return!0}}let rt="Invalid Interval";class rr{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,t=null){if(!e)throw new u("need to specify a reason the Interval is invalid");let r=e instanceof ex?e:new ex(e,t);if(!ew.throwOnInvalid)return new rr({invalid:r});throw new i(r)}static fromDateTimes(e,t){var r,n;let s=rU(e),i=rU(t),a=(r=s,n=i,r&&r.isValid?n&&n.isValid?n<r?rr.invalid("end before start",`The end of an interval must be after its start, but you had start=${r.toISO()} and end=${n.toISO()}`):null:rr.invalid("missing or invalid end"):rr.invalid("missing or invalid start"));return null==a?new rr({start:s,end:i}):a}static after(e,t){let r=re.fromDurationLike(t),n=rU(e);return rr.fromDateTimes(n,n.plus(r))}static before(e,t){let r=re.fromDurationLike(t),n=rU(e);return rr.fromDateTimes(n.minus(r),n)}static fromISO(e,t){let[r,n]=(e||"").split("/",2);if(r&&n){let e,s,i,a;try{s=(e=rj.fromISO(r,t)).isValid}catch(e){s=!1}try{a=(i=rj.fromISO(n,t)).isValid}catch(e){a=!1}if(s&&a)return rr.fromDateTimes(e,i);if(s){let r=re.fromISO(n,t);if(r.isValid)return rr.after(e,r)}else if(a){let e=re.fromISO(r,t);if(e.isValid)return rr.before(i,e)}}return rr.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",t){let r;if(!this.isValid)return NaN;let n=this.start.startOf(e,t);return Math.floor((r=(r=null!=t&&t.useLocaleWeeks?this.end.reconfigure({locale:n.locale}):this.end).startOf(e,t)).diff(n,e).get(e))+(r.valueOf()!==this.end.valueOf())}hasSame(e){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,e))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return!!this.isValid&&this.s>e}isBefore(e){return!!this.isValid&&this.e<=e}contains(e){return!!this.isValid&&this.s<=e&&this.e>e}set({start:e,end:t}={}){return this.isValid?rr.fromDateTimes(e||this.s,t||this.e):this}splitAt(...e){if(!this.isValid)return[];let t=e.map(rU).filter(e=>this.contains(e)).sort((e,t)=>e.toMillis()-t.toMillis()),r=[],{s:n}=this,s=0;for(;n<this.e;){let e=t[s]||this.e,i=+e>+this.e?this.e:e;r.push(rr.fromDateTimes(n,i)),n=i,s+=1}return r}splitBy(e){let t=re.fromDurationLike(e);if(!this.isValid||!t.isValid||0===t.as("milliseconds"))return[];let{s:r}=this,n=1,s,i=[];for(;r<this.e;){let e=this.start.plus(t.mapUnits(e=>e*n));s=+e>+this.e?this.e:e,i.push(rr.fromDateTimes(r,s)),r=s,n+=1}return i}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return!!this.isValid&&+this.e==+e.s}abutsEnd(e){return!!this.isValid&&+e.e==+this.s}engulfs(e){return!!this.isValid&&this.s<=e.s&&this.e>=e.e}equals(e){return!!this.isValid&&!!e.isValid&&this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;let t=this.s>e.s?this.s:e.s,r=this.e<e.e?this.e:e.e;return t>=r?null:rr.fromDateTimes(t,r)}union(e){if(!this.isValid)return this;let t=this.s<e.s?this.s:e.s,r=this.e>e.e?this.e:e.e;return rr.fromDateTimes(t,r)}static merge(e){let[t,r]=e.sort((e,t)=>e.s-t.s).reduce(([e,t],r)=>t?t.overlaps(r)||t.abutsStart(r)?[e,t.union(r)]:[e.concat([t]),r]:[e,r],[[],null]);return r&&t.push(r),t}static xor(e){let t=null,r=0,n=[],s=e.map(e=>[{time:e.s,type:"s"},{time:e.e,type:"e"}]);for(let e of Array.prototype.concat(...s).sort((e,t)=>e.time-t.time))1===(r+="s"===e.type?1:-1)?t=e.time:(t&&+t!=+e.time&&n.push(rr.fromDateTimes(t,e.time)),t=null);return rr.merge(n)}difference(...e){return rr.xor([this].concat(e)).map(e=>this.intersection(e)).filter(e=>e&&!e.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:rt}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=f,t={}){return this.isValid?td.create(this.s.loc.clone(t),e).formatInterval(this):rt}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:rt}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:rt}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:rt}toFormat(e,{separator:t=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:rt}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):re.invalid(this.invalidReason)}mapEndpoints(e){return rr.fromDateTimes(e(this.s),e(this.e))}}class rn{static hasDST(e=ew.defaultZone){let t=rj.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return q.isValidZone(e)}static normalizeZone(e){return ei(e,ew.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||et.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||et.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||et.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||et.create(t,r,s)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||et.create(t,r,s)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null}={}){return(n||et.create(t,r,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null}={}){return(n||et.create(t,r,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return et.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return et.create(t,null,"gregory").eras(e)}static features(){return{relative:eL(),localeWeek:eA()}}}function rs(e,t){let r=e=>e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=r(t)-r(e);return Math.floor(re.fromMillis(n).as("days"))}function ri(e,t=e=>e){return{regex:e,deser:([e])=>t(function(e){let t=parseInt(e,10);if(!isNaN(t))return t;t="";for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if(-1!==e[r].search(ea.hanidec))t+=eo.indexOf(e[r]);else for(let e in el){let[r,s]=el[e];n>=r&&n<=s&&(t+=n-r)}}return parseInt(t,10)}(e))}}let ra=String.fromCharCode(160),rl=`[ ${ra}]`,ro=RegExp(rl,"g");function ru(e){return e.replace(/\./g,"\\.?").replace(ro,rl)}function rc(e){return e.replace(/\./g,"").replace(ro," ").toLowerCase()}function rh(e,t){return null===e?null:{regex:RegExp(e.map(ru).join("|")),deser:([r])=>e.findIndex(e=>rc(r)===rc(e))+t}}function rd(e,t){return{regex:e,deser:([,e,t])=>e2(e,t),groups:t}}function rm(e){return{regex:e,deser:([e])=>e}}let rf={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}},rp=null;function rg(e,t){return Array.prototype.concat(...e.map(e=>(function(e,t){if(e.literal)return e;let r=rw(td.macroTokenToFormatOpts(e.val),t);return null==r||r.includes(void 0)?e:r})(e,t)))}class ry{constructor(e,t){if(this.locale=e,this.format=t,this.tokens=rg(td.parseFormat(t),e),this.units=this.tokens.map(t=>(function(e,t){let r=ec(t),n=ec(t,"{2}"),s=ec(t,"{3}"),i=ec(t,"{4}"),a=ec(t,"{6}"),l=ec(t,"{1,2}"),o=ec(t,"{1,3}"),u=ec(t,"{1,6}"),c=ec(t,"{1,9}"),h=ec(t,"{2,4}"),d=ec(t,"{4,6}"),m=e=>({regex:RegExp(e.val.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")),deser:([e])=>e,literal:!0}),f=(f=>{if(e.literal)return m(f);switch(f.val){case"G":return rh(t.eras("short"),0);case"GG":return rh(t.eras("long"),0);case"y":return ri(u);case"yy":case"kk":return ri(h,e0);case"yyyy":case"kkkk":return ri(i);case"yyyyy":return ri(d);case"yyyyyy":return ri(a);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return ri(l);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return ri(n);case"MMM":return rh(t.months("short",!0),1);case"MMMM":return rh(t.months("long",!0),1);case"LLL":return rh(t.months("short",!1),1);case"LLLL":return rh(t.months("long",!1),1);case"o":case"S":return ri(o);case"ooo":case"SSS":return ri(s);case"u":return rm(c);case"uu":return rm(l);case"uuu":case"E":case"c":return ri(r);case"a":return rh(t.meridiems(),0);case"EEE":return rh(t.weekdays("short",!1),1);case"EEEE":return rh(t.weekdays("long",!1),1);case"ccc":return rh(t.weekdays("short",!0),1);case"cccc":return rh(t.weekdays("long",!0),1);case"Z":case"ZZ":return rd(RegExp(`([+-]${l.source})(?::(${n.source}))?`),2);case"ZZZ":return rd(RegExp(`([+-]${l.source})(${n.source})?`),2);case"z":return rm(/[a-z_+-/]{1,256}?/i);case" ":return rm(/[^\S\n\r]/);default:return m(f)}})(e)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return f.token=e,f})(t,e)),this.disqualifyingUnit=this.units.find(e=>e.invalidReason),!this.disqualifyingUnit){let[e,t]=function(e){let t=e.map(e=>e.regex).reduce((e,t)=>`${e}(${t.source})`,"");return[`^${t}$`,e]}(this.units);this.regex=RegExp(e,"i"),this.handlers=t}}explainFromTokens(e){if(!this.isValid)return{input:e,tokens:this.tokens,invalidReason:this.invalidReason};{let t,r,[n,s]=function(e,t,r){let n=e.match(t);if(!n)return[n,{}];{let e={},t=1;for(let s in r)if(eW(r,s)){let i=r[s],a=i.groups?i.groups+1:1;!i.literal&&i.token&&(e[i.token.val[0]]=i.deser(n.slice(t,t+a))),t+=a}return[n,e]}}(e,this.regex,this.handlers),[i,a,o]=s?(r=null,eC(s.z)||(r=q.create(s.z)),eC(s.Z)||(r||(r=new en(s.Z)),t=s.Z),eC(s.q)||(s.M=(s.q-1)*3+1),eC(s.h)||(s.h<12&&1===s.a?s.h+=12:12===s.h&&0===s.a&&(s.h=0)),0===s.G&&s.y&&(s.y=-s.y),eC(s.u)||(s.S=eH(s.u)),[Object.keys(s).reduce((e,t)=>{let r=(e=>{switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(t);return r&&(e[r]=s[t]),e},{}),r,t]):[null,null,void 0];if(eW(s,"a")&&eW(s,"H"))throw new l("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:n,matches:s,result:i,zone:a,specificOffset:o}}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function rk(e,t,r){return new ry(e,r).explainFromTokens(t)}function rw(e,t){if(!e)return null;let r=td.create(t,e).dtFormatter((rp||(rp=rj.fromMillis(0x16a2e5618e3)),rp)),n=r.formatToParts(),s=r.resolvedOptions();return n.map(t=>(function(e,t,r){let{type:n,value:s}=e;if("literal"===n){let e=/^\s+$/.test(s);return{literal:!e,val:e?" ":s}}let i=t[n],a=n;"hour"===n&&(a=null!=t.hour12?t.hour12?"hour12":"hour24":null!=t.hourCycle?"h11"===t.hourCycle||"h12"===t.hourCycle?"hour12":"hour24":r.hour12?"hour12":"hour24");let l=rf[a];if("object"==typeof l&&(l=l[i]),l)return{literal:!1,val:l}})(t,e,s))}let rx="Invalid DateTime";function rb(e){return new ex("unsupported zone",`the zone "${e.name}" is not supported`)}function rT(e){return null===e.weekData&&(e.weekData=eN(e.c)),e.weekData}function rS(e){return null===e.localWeekData&&(e.localWeekData=eN(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function rv(e,t){let r={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new rj({...r,...t,old:r})}function rO(e,t,r){let n=e-60*t*1e3,s=r.offset(n);if(t===s)return[n,t];n-=(s-t)*6e4;let i=r.offset(n);return s===i?[n,s]:[e-60*Math.min(s,i)*1e3,Math.max(s,i)]}function r$(e,t){let r=new Date(e+=60*t*1e3);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function rN(e,t){let r=e.o,n=e.c.year+Math.trunc(t.years),s=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),i={...e.c,year:n,month:s,day:Math.min(e.c.day,eB(n,s))+Math.trunc(t.days)+7*Math.trunc(t.weeks)},a=re.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),[l,o]=rO(eQ(i),r,e.zone);return 0!==a&&(l+=a,o=e.zone.offset(l)),{ts:l,o}}function rM(e,t,r,n,s,i){let{setZone:a,zone:l}=r;if((!e||0===Object.keys(e).length)&&!t)return rj.invalid(new ex("unparsable",`the input "${s}" can't be parsed as ${n}`));{let n=rj.fromObject(e,{...r,zone:t||l,specificOffset:i});return a?n:n.setZone(l)}}function rI(e,t,r=!0){return e.isValid?td.create(et.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(e,t):null}function rD(e,t){let r=e.c.year>9999||e.c.year<0,n="";return r&&e.c.year>=0&&(n+="+"),n+=ej(e.c.year,r?6:4),t?(n+="-",n+=ej(e.c.month),n+="-"):n+=ej(e.c.month),n+=ej(e.c.day)}function rE(e,t,r,n,s,i){let a=ej(e.c.hour);return t?(a+=":",a+=ej(e.c.minute),0===e.c.millisecond&&0===e.c.second&&r||(a+=":")):a+=ej(e.c.minute),(0!==e.c.millisecond||0!==e.c.second||!r)&&(a+=ej(e.c.second),0===e.c.millisecond&&n||(a+=".",a+=ej(e.c.millisecond,3))),s&&(e.isOffsetFixed&&0===e.offset&&!i?a+="Z":e.o<0?(a+="-",a+=ej(Math.trunc(-e.o/60)),a+=":",a+=ej(Math.trunc(-e.o%60))):(a+="+",a+=ej(Math.trunc(e.o/60)),a+=":",a+=ej(Math.trunc(e.o%60)))),i&&(a+="["+e.zone.ianaName+"]"),a}let rz={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},rV={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},rC={ordinal:1,hour:0,minute:0,second:0,millisecond:0},rZ=["year","month","day","hour","minute","second","millisecond"],rF=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],rL=["year","ordinal","hour","minute","second","millisecond"];function rA(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:let t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new o(e);return t}}function r_(e,t){let n,s,i=ei(t.zone,ew.defaultZone);if(!i.isValid)return rj.invalid(rb(i));let a=et.fromObject(t);if(eC(e.year))n=ew.now();else{for(let t of rZ)eC(e[t])&&(e[t]=rz[t]);let t=ez(e)||eV(e);if(t)return rj.invalid(t);let a=(rq[i]||(void 0===r&&(r=ew.now()),rq[i]=i.offset(r)),rq[i]);[n,s]=rO(eQ(e),a,i)}return new rj({ts:n,zone:i,loc:a,o:s})}function rW(e,t,r){let n=!!eC(r.round)||r.round,s=(e,s)=>(e=eY(e,n||r.calendary?0:2,!0),t.loc.clone(r).relFormatter(r).format(e,s)),i=n=>r.calendary?t.hasSame(e,n)?0:t.startOf(n).diff(e.startOf(n),n).get(n):t.diff(e,n).get(n);if(r.unit)return s(i(r.unit),r.unit);for(let e of r.units){let t=i(e);if(Math.abs(t)>=1)return s(t,e)}return s(e>t?-0:0,r.units[r.units.length-1])}function rR(e){let t={},r;return e.length>0&&"object"==typeof e[e.length-1]?(t=e[e.length-1],r=Array.from(e).slice(0,e.length-1)):r=Array.from(e),[t,r]}let rq={};class rj{constructor(e){let t=e.zone||ew.defaultZone,r=e.invalid||(Number.isNaN(e.ts)?new ex("invalid input"):null)||(t.isValid?null:rb(t));this.ts=eC(e.ts)?ew.now():e.ts;let n=null,s=null;if(!r)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t))[n,s]=[e.old.c,e.old.o];else{let i=eZ(e.o)&&!e.old?e.o:t.offset(this.ts);n=(r=Number.isNaN((n=r$(this.ts,i)).year)?new ex("invalid input"):null)?null:n,s=r?null:i}this._zone=t,this.loc=e.loc||et.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new rj({})}static local(){let[e,t]=rR(arguments),[r,n,s,i,a,l,o]=t;return r_({year:r,month:n,day:s,hour:i,minute:a,second:l,millisecond:o},e)}static utc(){let[e,t]=rR(arguments),[r,n,s,i,a,l,o]=t;return e.zone=en.utcInstance,r_({year:r,month:n,day:s,hour:i,minute:a,second:l,millisecond:o},e)}static fromJSDate(e,t={}){let r="[object Date]"===Object.prototype.toString.call(e)?e.valueOf():NaN;if(Number.isNaN(r))return rj.invalid("invalid input");let n=ei(t.zone,ew.defaultZone);return n.isValid?new rj({ts:r,zone:n,loc:et.fromObject(t)}):rj.invalid(rb(n))}static fromMillis(e,t={}){if(eZ(e))if(e<-864e13||e>864e13)return rj.invalid("Timestamp out of range");else return new rj({ts:e,zone:ei(t.zone,ew.defaultZone),loc:et.fromObject(t)});throw new u(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if(eZ(e))return new rj({ts:1e3*e,zone:ei(t.zone,ew.defaultZone),loc:et.fromObject(t)});throw new u("fromSeconds requires a numerical input")}static fromObject(e,t={}){var r;e=e||{};let n=ei(t.zone,ew.defaultZone);if(!n.isValid)return rj.invalid(rb(n));let s=et.fromObject(t),i=e6(e,rA),{minDaysInFirstWeek:a,startOfWeek:o}=eE(i,s),u=ew.now(),c=eC(t.specificOffset)?n.offset(u):t.specificOffset,h=!eC(i.ordinal),d=!eC(i.year),m=!eC(i.month)||!eC(i.day),f=d||m,p=i.weekYear||i.weekNumber;if((f||h)&&p)throw new l("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(m&&h)throw new l("Can't mix ordinal dates with month/day");let g=p||i.weekday&&!f,y,k,w=r$(u,c);g?(y=rF,k=rV,w=eN(w,a,o)):h?(y=rL,k=rC,w=eI(w)):(y=rZ,k=rz);let x=!1;for(let e of y)eC(i[e])?x?i[e]=k[e]:i[e]=w[e]:x=!0;let b=(g?function(e,t=4,r=1){let n=eF(e.weekYear),s=eq(e.weekNumber,1,eK(e.weekYear,t,r)),i=eq(e.weekday,1,7);return n?s?!i&&eS("weekday",e.weekday):eS("week",e.weekNumber):eS("weekYear",e.weekYear)}(i,a,o):h?function(e){let t=eF(e.year),r=eq(e.ordinal,1,eG(e.year));return t?!r&&eS("ordinal",e.ordinal):eS("year",e.year)}(i):ez(i))||eV(i);if(b)return rj.invalid(b);let[T,S]=(r=g?eM(i,a,o):h?eD(i):i,rO(eQ(r),c,n)),v=new rj({ts:T,zone:n,o:S,loc:s});return i.weekday&&f&&e.weekday!==v.weekday?rj.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${v.toISO()}`):v.isValid?v:rj.invalid(v.invalid)}static fromISO(e,t={}){let[r,n]=tg(e,[tj,tY],[tU,tJ],[tP,tG],[tH,tB]);return rM(r,n,t,"ISO 8601",e)}static fromRFC2822(e,t={}){let[r,n]=tg(e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim(),[tF,tL]);return rM(r,n,t,"RFC 2822",e)}static fromHTTP(e,t={}){let[r,n]=tg(e,[tA,tR],[t_,tR],[tW,tq]);return rM(r,n,t,"HTTP",t)}static fromFormat(e,t,r={}){if(eC(e)||eC(t))throw new u("fromFormat requires an input string and a format");let{locale:n=null,numberingSystem:s=null}=r,[i,a,l,o]=function(e,t,r){let{result:n,zone:s,specificOffset:i,invalidReason:a}=rk(e,t,r);return[n,s,i,a]}(et.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),e,t);return o?rj.invalid(o):rM(i,a,r,`format ${t}`,e,l)}static fromString(e,t,r={}){return rj.fromFormat(e,t,r)}static fromSQL(e,t={}){let[r,n]=tg(e,[tX,tY],[tK,t0]);return rM(r,n,t,"SQL",e)}static invalid(e,t=null){if(!e)throw new u("need to specify a reason the DateTime is invalid");let r=e instanceof ex?e:new ex(e,t);if(!ew.throwOnInvalid)return new rj({invalid:r});throw new s(r)}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){let r=rw(e,et.fromObject(t));return r?r.map(e=>e?e.val:null).join(""):null}static expandFormat(e,t={}){return rg(td.parseFormat(e),et.fromObject(t)).map(e=>e.val).join("")}static resetCache(){r=void 0,rq={}}get(e){return this[e]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?rT(this).weekYear:NaN}get weekNumber(){return this.isValid?rT(this).weekNumber:NaN}get weekday(){return this.isValid?rT(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?rS(this).weekday:NaN}get localWeekNumber(){return this.isValid?rS(this).weekNumber:NaN}get localWeekYear(){return this.isValid?rS(this).weekYear:NaN}get ordinal(){return this.isValid?eI(this.c).ordinal:NaN}get monthShort(){return this.isValid?rn.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?rn.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?rn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?rn.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let e=eQ(this.c),t=this.zone.offset(e-864e5),r=this.zone.offset(e+864e5),n=this.zone.offset(e-6e4*t),s=this.zone.offset(e-6e4*r);if(n===s)return[this];let i=e-6e4*n,a=e-6e4*s,l=r$(i,n),o=r$(a,s);return l.hour===o.hour&&l.minute===o.minute&&l.second===o.second&&l.millisecond===o.millisecond?[rv(this,{ts:i}),rv(this,{ts:a})]:[this]}get isInLeapYear(){return eJ(this.year)}get daysInMonth(){return eB(this.year,this.month)}get daysInYear(){return this.isValid?eG(this.year):NaN}get weeksInWeekYear(){return this.isValid?eK(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?eK(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){let{locale:t,numberingSystem:r,calendar:n}=td.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:r,outputCalendar:n}}toUTC(e=0,t={}){return this.setZone(en.instance(e),t)}toLocal(){return this.setZone(ew.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:r=!1}={}){if((e=ei(e,ew.defaultZone)).equals(this.zone))return this;{if(!e.isValid)return rj.invalid(rb(e));let s=this.ts;if(t||r){var n;let t=e.offset(this.ts),r=this.toObject();[s]=(n=e,rO(eQ(r),t,n))}return rv(this,{ts:s,zone:e})}}reconfigure({locale:e,numberingSystem:t,outputCalendar:r}={}){return rv(this,{loc:this.loc.clone({locale:e,numberingSystem:t,outputCalendar:r})})}setLocale(e){return this.reconfigure({locale:e})}set(e){var t,r,n;let s;if(!this.isValid)return this;let i=e6(e,rA),{minDaysInFirstWeek:a,startOfWeek:o}=eE(i,this.loc),u=!eC(i.weekYear)||!eC(i.weekNumber)||!eC(i.weekday),c=!eC(i.ordinal),h=!eC(i.year),d=!eC(i.month)||!eC(i.day),m=i.weekYear||i.weekNumber;if((h||d||c)&&m)throw new l("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(d&&c)throw new l("Can't mix ordinal dates with month/day");u?s=eM({...eN(this.c,a,o),...i},a,o):eC(i.ordinal)?(s={...this.toObject(),...i},eC(i.day)&&(s.day=Math.min(eB(s.year,s.month),s.day))):s=eD({...eI(this.c),...i});let[f,p]=(t=s,r=this.o,n=this.zone,rO(eQ(t),r,n));return rv(this,{ts:f,o:p})}plus(e){return this.isValid?rv(this,rN(this,re.fromDurationLike(e))):this}minus(e){return this.isValid?rv(this,rN(this,re.fromDurationLike(e).negate())):this}startOf(e,{useLocaleWeeks:t=!1}={}){if(!this.isValid)return this;let r={},n=re.normalizeUnit(e);switch(n){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0}if("weeks"===n)if(t){let e=this.loc.getStartOfWeek(),{weekday:t}=this;t<e&&(r.weekNumber=this.weekNumber-1),r.weekday=e}else r.weekday=1;return"quarters"===n&&(r.month=(Math.ceil(this.month/3)-1)*3+1),this.set(r)}endOf(e,t){return this.isValid?this.plus({[e]:1}).startOf(e,t).minus(1):this}toFormat(e,t={}){return this.isValid?td.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):rx}toLocaleString(e=f,t={}){return this.isValid?td.create(this.loc.clone(t),e).formatDateTime(this):rx}toLocaleParts(e={}){return this.isValid?td.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:t=!1,suppressMilliseconds:r=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;let i="extended"===e,a=rD(this,i);return a+="T",a+=rE(this,i,t,r,n,s)}toISODate({format:e="extended"}={}){return this.isValid?rD(this,"extended"===e):null}toISOWeekDate(){return rI(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:t=!1,includeOffset:r=!0,includePrefix:n=!1,extendedZone:s=!1,format:i="extended"}={}){return this.isValid?(n?"T":"")+rE(this,"extended"===i,t,e,r,s):null}toRFC2822(){return rI(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return rI(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?rD(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:t=!1,includeOffsetSpace:r=!0}={}){let n="HH:mm:ss.SSS";return(t||e)&&(r&&(n+=" "),t?n+="z":e&&(n+="ZZ")),rI(this,n,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():rx}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};let t={...this.c};return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,t="milliseconds",r={}){if(!this.isValid||!e.isValid)return re.invalid("created by diffing an invalid DateTime");let n={locale:this.locale,numberingSystem:this.numberingSystem,...r},s=(Array.isArray(t)?t:[t]).map(re.normalizeUnit),i=e.valueOf()>this.valueOf(),a=function(e,t,r,n){let[s,i,a,l]=function(e,t,r){let n,s,i={},a=e;for(let[l,o]of[["years",(e,t)=>t.year-e.year],["quarters",(e,t)=>t.quarter-e.quarter+(t.year-e.year)*4],["months",(e,t)=>t.month-e.month+(t.year-e.year)*12],["weeks",(e,t)=>{let r=rs(e,t);return(r-r%7)/7}],["days",rs]])r.indexOf(l)>=0&&(n=l,i[l]=o(e,t),(s=a.plus(i))>t?(i[l]--,(e=a.plus(i))>t&&(s=e,i[l]--,e=a.plus(i))):e=s);return[e,i,s,n]}(e,t,r),o=t-s,u=r.filter(e=>["hours","minutes","seconds","milliseconds"].indexOf(e)>=0);0===u.length&&(a<t&&(a=s.plus({[l]:1})),a!==s&&(i[l]=(i[l]||0)+o/(a-s)));let c=re.fromObject(i,n);return u.length>0?re.fromMillis(o,n).shiftTo(...u).plus(c):c}(i?this:e,i?e:this,s,n);return i?a.negate():a}diffNow(e="milliseconds",t={}){return this.diff(rj.now(),e,t)}until(e){return this.isValid?rr.fromDateTimes(this,e):this}hasSame(e,t,r){if(!this.isValid)return!1;let n=e.valueOf(),s=this.setZone(e.zone,{keepLocalTime:!0});return s.startOf(t,r)<=n&&n<=s.endOf(t,r)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;let t=e.base||rj.fromObject({},{zone:this.zone}),r=e.padding?this<t?-e.padding:e.padding:0,n=["years","months","days","hours","minutes","seconds"],s=e.unit;return Array.isArray(e.unit)&&(n=e.unit,s=void 0),rW(t,this.plus(r),{...e,numeric:"always",units:n,unit:s})}toRelativeCalendar(e={}){return this.isValid?rW(e.base||rj.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(rj.isDateTime))throw new u("min requires all arguments be DateTimes");return e_(e,e=>e.valueOf(),Math.min)}static max(...e){if(!e.every(rj.isDateTime))throw new u("max requires all arguments be DateTimes");return e_(e,e=>e.valueOf(),Math.max)}static fromFormatExplain(e,t,r={}){let{locale:n=null,numberingSystem:s=null}=r;return rk(et.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),e,t)}static fromStringExplain(e,t,r={}){return rj.fromFormatExplain(e,t,r)}static buildFormatParser(e,t={}){let{locale:r=null,numberingSystem:n=null}=t;return new ry(et.fromOpts({locale:r,numberingSystem:n,defaultToEN:!0}),e)}static fromFormatParser(e,t,r={}){if(eC(e)||eC(t))throw new u("fromFormatParser requires an input string and a format parser");let{locale:n=null,numberingSystem:s=null}=r,i=et.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!i.equals(t.locale))throw new u(`fromFormatParser called with a locale of ${i}, but the format parser was created for ${t.locale}`);let{result:a,zone:l,specificOffset:o,invalidReason:c}=t.explainFromTokens(e);return c?rj.invalid(c):rM(a,l,r,`format ${t.format}`,e,o)}static get DATE_SHORT(){return f}static get DATE_MED(){return p}static get DATE_MED_WITH_WEEKDAY(){return g}static get DATE_FULL(){return y}static get DATE_HUGE(){return k}static get TIME_SIMPLE(){return w}static get TIME_WITH_SECONDS(){return x}static get TIME_WITH_SHORT_OFFSET(){return b}static get TIME_WITH_LONG_OFFSET(){return T}static get TIME_24_SIMPLE(){return S}static get TIME_24_WITH_SECONDS(){return v}static get TIME_24_WITH_SHORT_OFFSET(){return O}static get TIME_24_WITH_LONG_OFFSET(){return $}static get DATETIME_SHORT(){return N}static get DATETIME_SHORT_WITH_SECONDS(){return M}static get DATETIME_MED(){return I}static get DATETIME_MED_WITH_SECONDS(){return D}static get DATETIME_MED_WITH_WEEKDAY(){return E}static get DATETIME_FULL(){return z}static get DATETIME_FULL_WITH_SECONDS(){return V}static get DATETIME_HUGE(){return C}static get DATETIME_HUGE_WITH_SECONDS(){return Z}}function rU(e){if(rj.isDateTime(e))return e;if(e&&e.valueOf&&eZ(e.valueOf()))return rj.fromJSDate(e);if(e&&"object"==typeof e)return rj.fromObject(e);throw new u(`Unknown datetime argument: ${e}, of type ${typeof e}`)}t.DateTime=rj,t.Duration=re,t.FixedOffsetZone=en,t.IANAZone=q,t.Info=rn,t.Interval=rr,t.InvalidZone=es,t.Settings=ew,t.SystemZone=A,t.VERSION="3.5.0",t.Zone=F},462667(e){e.exports=Math.min},463028(e,t,r){var n=r(682992);e.exports=function(e){return n(e)||0===e?e:e<0?-1:1}},570615(e){e.exports=Math.abs},682992(e){e.exports=Number.isNaN||function(e){return e!=e}},692337(e){e.exports=Math.floor},745689(e){e.exports=Math.pow},939663(e){e.exports=Math.round}}]);