MOON
Server: Apache
System: Linux server1.studioinfinity.com.br 2.6.32-954.3.5.lve1.4.90.el6.x86_64 #1 SMP Tue Feb 21 12:26:30 UTC 2023 x86_64
User: artinside (517)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //opt/netdata/usr/local/share/netdata/web/v3/7234.31d3177e9bbf7354f596.chunk.js
/*! For license information please see 7234.31d3177e9bbf7354f596.chunk.js.LICENSE.txt */
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"161df38a3ce485b0993d5667ea290f6097b8818b"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5536039b-9cbc-4bff-bce0-6dc7bbbe8523",e._sentryDebugIdIdentifier="sentry-dbid-5536039b-9cbc-4bff-bce0-6dc7bbbe8523")}catch(e){}}(),(globalThis.webpackChunkcloud_frontend=globalThis.webpackChunkcloud_frontend||[]).push([[7234],{42561(e,t){"use strict";t.A=void 0;t.A=function(e){var t=[];for(e=e.parentNode;e;)t.push(e),e=e.parentNode;return t}},43119(e,t,r){"use strict";t.A=void 0;var n=r(96540);t.A=function(e){return(0,n.useEffect)(function(){if(e){var t=function(t){27===t.keyCode&&e(t)};return document.addEventListener("keydown",t),function(){return document.removeEventListener("keydown",t)}}},[e])}},95395(){},95166(e,t,r){"use strict";r.d(t,{Ay:()=>Rr});var n=r(34164),o=r(96540),a=r.t(o,2),i=r(41394),s=r(29407),u=r(58646),l=r(32370),c=r(80658),p=r(85577);function d(e,t,r){const n=(0,s.a)(e,r?.in);return n.setHours(t),n}function h(e,t,r){const n=(0,s.a)(e,r?.in);return n.setMinutes(t),n}function f(e,t,r){const n=(0,s.a)(e,r?.in);return n.setSeconds(t),n}var D=r(72794),m=r(6463),y=r(80337),g=r(27763),v=r(70228),b=r(4501),k=r(12268),C=r(54352),F=r(11580),w=r(5305);function E(e,t,r){const[n,o]=(0,w.x)(r?.in,e,t);return n.getFullYear()===o.getFullYear()}var _=r(91868);function S(e,t,r){const[n,o]=(0,w.x)(r?.in,e,t);return+(0,b.a)(n)===+(0,b.a)(o)}var x=r(88652);function A(e,t){return+(0,s.a)(e)===+(0,s.a)(t)}var M=r(73604),T=r(43329);function P(e,t){const r=(0,s.a)(e,t?.in),n=r.getFullYear(),o=r.getMonth(),a=(0,T.w)(r,0);return a.setFullYear(n,o+1,0),a.setHours(0,0,0,0),a.getDate()}function B(e,t,r){const n=(0,s.a)(e,r?.in),o=n.getFullYear(),a=n.getDate(),i=(0,T.w)(r?.in||e,0);i.setFullYear(o,t,15),i.setHours(0,0,0,0);const u=P(i);return n.setMonth(t,Math.min(a,u)),n}function N(e,t,r){const n=(0,s.a)(e,r?.in),o=t-(Math.trunc(n.getMonth()/3)+1);return B(n,n.getMonth()+3*o)}function L(e,t){return(0,s.a)(e,t?.in).getFullYear()}function O(e,t){return(0,s.a)(e,t?.in).getMonth()}var R=r(64169);function I(e,t){const r=(0,s.a)(e,t?.in);return Math.trunc(r.getMonth()/3)+1}var Y=r(2831);function j(e,t){return(0,s.a)(e,t?.in).getHours()}function q(e,t){return(0,s.a)(e,t?.in).getMinutes()}function z(e){return(0,s.a)(e).getSeconds()}var H=r(60125),W=r(29543),U=r(66304),$=r(37122);function V(e,t,r){return(0,$.z)(e,-t,r)}function K(e,t,r){const[n,o]=(0,w.x)(r?.in,e,t);return 4*(n.getFullYear()-o.getFullYear())+(I(n)-I(o))}var Z=r(95413);function X(e,t,r){return(0,Z.e)(e,-t,r)}var Q=r(32688);function G(e,t){let r,n=t?.in;return e.forEach(e=>{n||"object"!==typeof e||(n=T.w.bind(null,e));const t=(0,s.a)(e,n);(!r||r>t||isNaN(+t))&&(r=t)}),(0,T.w)(n,r||NaN)}function J(e,t){let r,n=t?.in;return e.forEach(e=>{n||"object"!==typeof e||(n=T.w.bind(null,e));const t=(0,s.a)(e,n);(!r||r<t||isNaN(+t))&&(r=t)}),(0,T.w)(n,r||NaN)}var ee=r(49176),te=r(38342),re=r(49914);function ne(e,t){return+(0,s.a)(e)>+(0,s.a)(t)}var oe=r(48497);function ae(e,t){return(0,s.a)(e,t?.in).getDay()}function ie(e,t){return(0,s.a)(e,t?.in).getDate()}var se=r(16172),ue=r(79114),le=r(63537);function ce(e,t,r){const n=(0,s.a)(e,r?.in);return isNaN(+n)?(0,T.w)(r?.in||e,NaN):(n.setFullYear(t),n)}var pe=r(18373);function de(e,t,r){return(0,ue.J)(e,-t,r)}var he=r(69821);var fe="undefined"!==typeof document?o.useLayoutEffect:function(){};const De={...a}.useInsertionEffect||(e=>e());var me=r(74848),ye=r(86635),ge=r(40961),ve=r(7315),be="undefined"!==typeof document?o.useLayoutEffect:function(){};function ke(e,t){if(e===t)return!0;if(typeof e!==typeof t)return!1;if("function"===typeof e&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&"object"===typeof e){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;0!==n--;)if(!ke(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;0!==n--;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!==n--;){const r=o[n];if(("_owner"!==r||!e.$$typeof)&&!ke(e[r],t[r]))return!1}return!0}return e!==e&&t!==t}function Ce(e){if("undefined"===typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Fe(e,t){const r=Ce(e);return Math.round(t*r)/r}function we(e){const t=o.useRef(e);return be(()=>{t.current=e}),t}const Ee=(e,t)=>{const r=(0,ve.cY)(e);return{name:r.name,fn:r.fn,options:[e,t]}},_e=(e,t)=>{const r=(0,ve.UU)(e);return{name:r.name,fn:r.fn,options:[e,t]}},Se=(e,t)=>{const r=(e=>({name:"arrow",options:e,fn(t){const{element:r,padding:n}="function"===typeof e?e(t):e;return r&&(o=r,{}.hasOwnProperty.call(o,"current"))?null!=r.current?(0,ve.UE)({element:r.current,padding:n}).fn(t):{}:r?(0,ve.UE)({element:r,padding:n}).fn(t):{};var o}}))(e);return{name:r.name,fn:r.fn,options:[e,t]}};const xe="ArrowLeft",Ae="ArrowRight",Me="ArrowUp",Te="ArrowDown";const Pe=[xe,Ae],Be=[Me,Te],Ne={...a};let Le=!1,Oe=0;const Re=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Oe++;const Ie=Ne.useId||function(){const[e,t]=o.useState(()=>Le?Re():void 0);return fe(()=>{null==e&&t(Re())},[]),o.useEffect(()=>{Le=!0},[]),e};const Ye=o.forwardRef(function(e,t){const{context:{placement:r,elements:{floating:n},middlewareData:{arrow:a,shift:i}},width:s=14,height:u=7,tipRadius:l=0,strokeWidth:c=0,staticOffset:p,stroke:d,d:h,style:{transform:f,...D}={},...m}=e;const y=Ie(),[g,v]=o.useState(!1);if(fe(()=>{if(!n)return;"rtl"===(0,ye.L9)(n).direction&&v(!0)},[n]),!n)return null;const[b,k]=r.split("-"),C="top"===b||"bottom"===b;let F=p;(C&&null!=i&&i.x||!C&&null!=i&&i.y)&&(F=null);const w=2*c,E=w/2,_=s/2*(l/-8+1),S=u/2*l/4,x=!!h,A=F&&"end"===k?"bottom":"top";let M=F&&"end"===k?"right":"left";F&&g&&(M="end"===k?"left":"right");const T=null!=(null==a?void 0:a.x)?F||a.x:"",P=null!=(null==a?void 0:a.y)?F||a.y:"",B=h||"M0,0 H"+s+" L"+(s-_)+","+(u-S)+" Q"+s/2+","+u+" "+_+","+(u-S)+" Z",N={top:x?"rotate(180deg)":"",left:x?"rotate(90deg)":"rotate(-90deg)",bottom:x?"":"rotate(180deg)",right:x?"rotate(-90deg)":"rotate(90deg)"}[b];return(0,me.jsxs)("svg",{...m,"aria-hidden":!0,ref:t,width:x?s:s+w,height:s,viewBox:"0 0 "+s+" "+(u>s?u:s),style:{position:"absolute",pointerEvents:"none",[M]:T,[A]:P,[b]:C||x?"100%":"calc(100% - "+w/2+"px)",transform:[N,f].filter(e=>!!e).join(" "),...D},children:[w>0&&(0,me.jsx)("path",{clipPath:"url(#"+y+")",fill:"none",stroke:d,strokeWidth:w+(h?0:1),d:B}),(0,me.jsx)("path",{stroke:w&&!h?m.fill:"none",d:B}),(0,me.jsx)("clipPath",{id:y,children:(0,me.jsx)("rect",{x:-E,y:E*(x?-1:1),width:s+w,height:s})})]})});function je(){const e=new Map;return{emit(t,r){var n;null==(n=e.get(t))||n.forEach(e=>e(r))},on(t,r){e.has(t)||e.set(t,new Set),e.get(t).add(r)},off(t,r){var n;null==(n=e.get(t))||n.delete(r)}}}const qe=o.createContext(null),ze=o.createContext(null),He=()=>{var e;return(null==(e=o.useContext(qe))?void 0:e.id)||null},We=()=>o.useContext(ze);function Ue(e){const{open:t=!1,onOpenChange:r,elements:n}=e,a=Ie(),i=o.useRef({}),[s]=o.useState(()=>je()),u=null!=He();const[l,c]=o.useState(n.reference),p=function(e){const t=o.useRef(()=>{});return De(()=>{t.current=e}),o.useCallback(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return null==t.current?void 0:t.current(...r)},[])}((e,t,n)=>{i.current.openEvent=e?t:void 0,s.emit("openchange",{open:e,event:t,reason:n,nested:u}),null==r||r(e,t,n)}),d=o.useMemo(()=>({setPositionReference:c}),[]),h=o.useMemo(()=>({reference:l||n.reference||null,floating:n.floating||null,domReference:n.reference}),[l,n.reference,n.floating]);return o.useMemo(()=>({dataRef:i,open:t,onOpenChange:p,elements:h,events:s,floatingId:a,refs:d}),[t,p,h,s,a,d])}function $e(e){void 0===e&&(e={});const{nodeId:t}=e,r=Ue({...e,elements:{reference:null,floating:null,...e.elements}}),n=e.rootContext||r,a=n.elements,[i,s]=o.useState(null),[u,l]=o.useState(null),c=(null==a?void 0:a.domReference)||i,p=o.useRef(null),d=We();fe(()=>{c&&(p.current=c)},[c]);const h=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:a,elements:{reference:i,floating:s}={},transform:u=!0,whileElementsMounted:l,open:c}=e,[p,d]=o.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[h,f]=o.useState(n);ke(h,n)||f(n);const[D,m]=o.useState(null),[y,g]=o.useState(null),v=o.useCallback(e=>{e!==F.current&&(F.current=e,m(e))},[]),b=o.useCallback(e=>{e!==w.current&&(w.current=e,g(e))},[]),k=i||D,C=s||y,F=o.useRef(null),w=o.useRef(null),E=o.useRef(p),_=null!=l,S=we(l),x=we(a),A=we(c),M=o.useCallback(()=>{if(!F.current||!w.current)return;const e={placement:t,strategy:r,middleware:h};x.current&&(e.platform=x.current),(0,ve.rD)(F.current,w.current,e).then(e=>{const t={...e,isPositioned:!1!==A.current};T.current&&!ke(E.current,t)&&(E.current=t,ge.flushSync(()=>{d(t)}))})},[h,t,r,x,A]);be(()=>{!1===c&&E.current.isPositioned&&(E.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);const T=o.useRef(!1);be(()=>(T.current=!0,()=>{T.current=!1}),[]),be(()=>{if(k&&(F.current=k),C&&(w.current=C),k&&C){if(S.current)return S.current(k,C,M);M()}},[k,C,M,S,_]);const P=o.useMemo(()=>({reference:F,floating:w,setReference:v,setFloating:b}),[v,b]),B=o.useMemo(()=>({reference:k,floating:C}),[k,C]),N=o.useMemo(()=>{const e={position:r,left:0,top:0};if(!B.floating)return e;const t=Fe(B.floating,p.x),n=Fe(B.floating,p.y);return u?{...e,transform:"translate("+t+"px, "+n+"px)",...Ce(B.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,u,B.floating,p.x,p.y]);return o.useMemo(()=>({...p,update:M,refs:P,elements:B,floatingStyles:N}),[p,M,P,B,N])}({...e,elements:{...a,...u&&{reference:u}}}),f=o.useCallback(e=>{const t=(0,ye.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;l(t),h.refs.setReference(t)},[h.refs]),D=o.useCallback(e=>{((0,ye.vq)(e)||null===e)&&(p.current=e,s(e)),((0,ye.vq)(h.refs.reference.current)||null===h.refs.reference.current||null!==e&&!(0,ye.vq)(e))&&h.refs.setReference(e)},[h.refs]),m=o.useMemo(()=>({...h.refs,setReference:D,setPositionReference:f,domReference:p}),[h.refs,D,f]),y=o.useMemo(()=>({...h.elements,domReference:c}),[h.elements,c]),g=o.useMemo(()=>({...h,...n,refs:m,elements:y,nodeId:t}),[h,m,y,t,n]);return fe(()=>{n.dataRef.current.floatingContext=g;const e=null==d?void 0:d.nodesRef.current.find(e=>e.id===t);e&&(e.context=g)}),o.useMemo(()=>({...h,context:g,refs:m,elements:y}),[h,m,y,g])}var Ve=function(e,t){return Ve=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},Ve(e,t)};function Ke(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}Ve(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var Ze=function(){return Ze=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ze.apply(this,arguments)};function Xe(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}"function"===typeof SuppressedError&&SuppressedError;var Qe,Ge=function(e){var t=e.showTimeSelectOnly,r=void 0!==t&&t,n=e.showTime,a=void 0!==n&&n,i=e.className,s=e.children,u=e.inline,l=r?"Choose Time":"Choose Date".concat(a?" and Time":"");return o.createElement("div",{className:i,"aria-label":l,role:u?void 0:"dialog","aria-modal":u?void 0:"true",translate:"no"},s)},Je=function(e){var t=e.children,r=e.onClickOutside,n=e.className,a=e.containerRef,i=e.style,s=function(e,t){var r=(0,o.useRef)(null),n=(0,o.useRef)(e);(0,o.useEffect)(function(){n.current=e},[e]);var a=(0,o.useCallback)(function(e){var o,a=e.composed&&e.composedPath&&e.composedPath().find(function(e){return e instanceof Node})||e.target;r.current&&!r.current.contains(a)&&(t&&a instanceof HTMLElement&&a.classList.contains(t)||null===(o=n.current)||void 0===o||o.call(n,e))},[t]);return(0,o.useEffect)(function(){return document.addEventListener("mousedown",a),function(){document.removeEventListener("mousedown",a)}},[a]),r}(r,e.ignoreClass);return o.createElement("div",{className:n,style:i,ref:function(e){s.current=e,a&&(a.current=e)}},t)},et=null,tt=!1;function rt(){if(tt)return et;tt=!0;try{et=r(54391)("date-fns-tz")}catch(ir){et=null}return et}function nt(e,t){if(!t)return e;var r=rt();return r?r.toZonedTime(e,t):e}function ot(e,t){if(!t)return e;var r=rt();return r?r.fromZonedTime(e,t):e}function at(){return"undefined"!==typeof window?window:globalThis}!function(e){e.ArrowUp="ArrowUp",e.ArrowDown="ArrowDown",e.ArrowLeft="ArrowLeft",e.ArrowRight="ArrowRight",e.PageUp="PageUp",e.PageDown="PageDown",e.Home="Home",e.End="End",e.Enter="Enter",e.Space=" ",e.Tab="Tab",e.Escape="Escape",e.Backspace="Backspace",e.X="x"}(Qe||(Qe={}));function it(e){if(null==e)return new Date;var t="string"===typeof e?(0,i.H)(e):(0,s.a)(e);return ut(t)?t:new Date}function st(e,t,r,n,o){void 0===o&&(o=it());for(var a=xt(r)||xt(St()),i=0,s=Array.isArray(t)?t:[t];i<s.length;i++){var c=s[i],p=(0,u.qg)(e,c,o,{locale:a,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});if(ut(p)&&(!n||e===ct(p,c,r)))return p}if(!n&&e&&e.length>=8){var d=new Date(e);if((0,l.f)(d))return d}return null}function ut(e){return(0,l.f)(e)}function lt(e){return null==e?null:(0,c.$)(e)&&(0,l.f)(e)?e:null}function ct(e,t,r){if("en"===r)return(0,p.GP)(e,t,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});var n=r?xt(r):void 0;return r&&!n&&console.warn('A locale object was not found for the provided string ["'.concat(r,'"].')),n=n||xt(St()),(0,p.GP)(e,t,{locale:n,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})}function pt(e,t){var r=t.dateFormat,n=t.locale,o=Array.isArray(r)&&r.length>0?r[0]:r;return e&&ct(e,o,n)||""}function dt(e,t){var r=t.hour,n=void 0===r?0:r,o=t.minute,a=void 0===o?0:o,i=t.second;return d(h(f(e,void 0===i?0:i),a),n)}function ht(e){return(0,m.o)(e)}function ft(e,t,r){var n=xt(t||St());return(0,y.k)(e,{locale:n,weekStartsOn:r})}function Dt(e){return(0,g.w)(e)}function mt(e){return(0,v.D)(e)}function yt(e){return(0,b.a)(e)}function gt(){return(0,m.o)(it())}function vt(e){return(0,k.D)(e)}function bt(e){return(0,F.p)(e)}function kt(e,t){return e&&t?E(e,t):!e&&!t}function Ct(e,t){return e&&t?(0,_.t)(e,t):!e&&!t}function Ft(e,t){return e&&t?S(e,t):!e&&!t}function wt(e,t){return e&&t?(0,x.r)(e,t):!e&&!t}function Et(e,t){return e&&t?A(e,t):!e&&!t}function _t(e,t,r){var n,o=(0,m.o)(t),a=(0,k.D)(r);try{n=(0,M.v)(e,{start:o,end:a})}catch(i){n=!1}return n}function St(){return at().__localeId__}function xt(e){if("string"===typeof e){var t=at();return t.__localeData__?t.__localeData__[e]:void 0}return e}function At(e,t){return ct(B(it(),e),"LLLL",t)}function Mt(e,t){return ct(B(it(),e),"LLL",t)}function Tt(e,t){var r=void 0===t?{}:t,n=r.minDate,o=r.maxDate,a=r.excludeDates,i=r.excludeDateIntervals,s=r.includeDates,u=r.includeDateIntervals,l=r.filterDate;return!!r.disabled||(jt(e,{minDate:n,maxDate:o})||a&&a.some(function(t){return t instanceof Date?wt(e,t):wt(e,t.date)})||i&&i.some(function(t){var r=t.start,n=t.end;return(0,M.v)(e,{start:r,end:n})})||s&&!s.some(function(t){return wt(e,t)})||u&&!u.some(function(t){var r=t.start,n=t.end;return(0,M.v)(e,{start:r,end:n})})||l&&!l(it(e))||!1)}function Pt(e,t){var r=void 0===t?{}:t,n=r.excludeDates,o=r.excludeDateIntervals;return o&&o.length>0?o.some(function(t){var r=t.start,n=t.end;return(0,M.v)(e,{start:r,end:n})}):n&&n.some(function(t){var r;return t instanceof Date?wt(e,t):wt(e,null!==(r=t.date)&&void 0!==r?r:new Date)})||!1}function Bt(e,t){var r=void 0===t?{}:t,n=r.minDate,o=r.maxDate,a=r.excludeDates,i=r.includeDates,s=r.filterDate;return jt(e,{minDate:n?(0,g.w)(n):void 0,maxDate:o?(0,F.p)(o):void 0})||(null===a||void 0===a?void 0:a.some(function(t){return Ct(e,t instanceof Date?t:t.date)}))||i&&!i.some(function(t){return Ct(e,t)})||s&&!s(it(e))||!1}function Nt(e,t,r,n){var o=L(e),a=O(e),i=L(t),s=O(t),u=L(n);return o===i&&o===u?a<=r&&r<=s:o<i&&(u===o&&a<=r||u===i&&s>=r||u<i&&u>o)}function Lt(e,t){var r=void 0===t?{}:t,n=r.minDate,o=r.maxDate,a=r.excludeDates,i=r.includeDates;return jt(e,{minDate:n,maxDate:o})||a&&a.some(function(t){return Ct(t instanceof Date?t:t.date,e)})||i&&!i.some(function(t){return Ct(t,e)})||!1}function Ot(e,t){var r=void 0===t?{}:t,n=r.minDate,o=r.maxDate,a=r.excludeDates,i=r.includeDates,s=r.filterDate;return!!r.disabled||(jt(e,{minDate:n,maxDate:o})||(null===a||void 0===a?void 0:a.some(function(t){return Ft(e,t instanceof Date?t:t.date)}))||i&&!i.some(function(t){return Ft(e,t)})||s&&!s(it(e))||!1)}function Rt(e,t,r){if(!t||!r)return!1;if(!(0,l.f)(t)||!(0,l.f)(r))return!1;var n=L(t),o=L(r);return n<=e&&o>=e}function It(e,t){var r=void 0===t?{}:t,n=r.minDate,o=r.maxDate,a=r.excludeDates,i=r.includeDates,s=r.filterDate;if(r.disabled)return!0;var u=new Date(e,0,1);return jt(u,{minDate:n?(0,v.D)(n):void 0,maxDate:o?(0,R.Q)(o):void 0})||(null===a||void 0===a?void 0:a.some(function(e){return kt(u,e instanceof Date?e:e.date)}))||i&&!i.some(function(e){return kt(u,e)})||s&&!s(it(u))||!1}function Yt(e,t,r,n){var o=L(e),a=I(e),i=L(t),s=I(t),u=L(n);return o===i&&o===u?a<=r&&r<=s:o<i&&(u===o&&a<=r||u===i&&s>=r||u<i&&u>o)}function jt(e,t){var r,n=void 0===t?{}:t,o=n.minDate,a=n.maxDate;return null!==(r=o&&(0,Y.m)(e,o)<0||a&&(0,Y.m)(e,a)>0)&&void 0!==r&&r}function qt(e,t){return t.some(function(t){return j(t)===j(e)&&q(t)===q(e)&&z(t)===z(e)})}function zt(e,t){var r=void 0===t?{}:t,n=r.excludeTimes,o=r.includeTimes,a=r.filterTime;return n&&qt(e,n)||o&&!qt(e,o)||a&&!a(e)||!1}function Ht(e,t){var r=t.minTime,n=t.maxTime;if(!r||!n)throw new Error("Both minTime and maxTime props required");var o=it();o=f(o=h(o=d(o,j(e)),q(e)),z(e));var a=it();a=f(a=h(a=d(a,j(r)),q(r)),z(r));var i,s=it();s=f(s=h(s=d(s,j(n)),q(n)),z(n));try{i=!(0,M.v)(o,{start:a,end:s})}catch(u){i=!1}return i}function Wt(e,t){var r=void 0===t?{}:t,n=r.minDate,o=r.includeDates,a=(0,H.a)(e,1);return n&&(0,W.U)(n,a)>0||o&&o.every(function(e){return(0,W.U)(e,a)>0})||!1}function Ut(e,t){var r=void 0===t?{}:t,n=r.maxDate,o=r.includeDates,a=(0,U.P)(e,1);return n&&(0,W.U)(a,n)>0||o&&o.every(function(e){return(0,W.U)(a,e)>0})||!1}function $t(e,t){var r=void 0===t?{}:t,n=r.minDate,o=r.includeDates,a=X(e,1);return n&&(0,Q.n)(n,a)>0||o&&o.every(function(e){return(0,Q.n)(e,a)>0})||!1}function Vt(e,t){var r=void 0===t?{}:t,n=r.maxDate,o=r.includeDates,a=(0,Z.e)(e,1);return n&&(0,Q.n)(a,n)>0||o&&o.every(function(e){return(0,Q.n)(a,e)>0})||!1}function Kt(e){var t=e.minDate,r=e.includeDates;return r&&t?G(r.filter(function(e){return(0,Y.m)(e,t)>=0})):r?G(r):t}function Zt(e){var t=e.maxDate,r=e.includeDates;return r&&t?J(r.filter(function(e){return(0,Y.m)(e,t)<=0})):r?J(r):t}function Xt(e,t){var r;void 0===e&&(e=[]),void 0===t&&(t="react-datepicker__day--highlighted");for(var n=new Map,o=0,a=e.length;o<a;o++){var i=e[o];if((0,c.$)(i)){var s=ct(i,"MM.dd.yyyy");(f=n.get(s)||[]).includes(t)||(f.push(t),n.set(s,f))}else if("object"===typeof i){var u=null!==(r=Object.keys(i)[0])&&void 0!==r?r:"",l=i[u];if("string"===typeof u&&Array.isArray(l))for(var p=0,d=l.length;p<d;p++){var h=l[p];if(h){var f;s=ct(h,"MM.dd.yyyy");(f=n.get(s)||[]).includes(u)||(f.push(u),n.set(s,f))}}}}return n}function Qt(e,t){void 0===e&&(e=[]),void 0===t&&(t="react-datepicker__day--holidays");var r=new Map;return e.forEach(function(e){var n=e.date,o=e.holidayName;if((0,c.$)(n)){var a=ct(n,"MM.dd.yyyy"),i=r.get(a)||{className:"",holidayNames:[]};if(!("className"in i)||i.className!==t||(s=i.holidayNames,u=[o],s.length!==u.length||!s.every(function(e,t){return e===u[t]}))){var s,u;i.className=t;var l=i.holidayNames;i.holidayNames=l?Xe(Xe([],l,!0),[o],!1):[o],r.set(a,i)}}}),r}function Gt(e,t,r,n,o){for(var a=o.length,i=[],s=0;s<a;s++){var u=e,l=o[s];l&&(u=(0,ee.L)(u,j(l)),u=(0,te.z)(u,q(l)),u=(0,re.p)(u,z(l)));var c=(0,te.z)(e,(r+1)*n);ne(u,t)&&(0,oe.Y)(u,c)&&void 0!=l&&i.push(l)}return i}function Jt(e){return e<10?"0".concat(e):"".concat(e)}function er(e,t){void 0===t&&(t=12);var r=Math.ceil(L(e)/t)*t;return{startPeriod:r-(t-1),endPeriod:r}}function tr(e){var t=e.getSeconds(),r=e.getMilliseconds();return(0,s.a)(e.getTime()-1e3*t-r)}function rr(e,t){return tr(e).getTime()===tr(t).getTime()}function nr(e){if(!(0,c.$)(e))throw new Error("Invalid date");var t=new Date(e);return t.setHours(0,0,0,0),t}function or(e,t){if(!(0,c.$)(e)||!(0,c.$)(t))throw new Error("Invalid date received");var r=nr(e),n=nr(t);return(0,oe.Y)(r,n)}function ar(e){return e.key===Qe.Space}var ir,sr=function(e){function t(t){var r=e.call(this,t)||this;return r.inputRef=o.createRef(),r.onTimeChange=function(e){var t,n;r.setState({time:e});var o=r.props.date,a=o instanceof Date&&!isNaN(+o)?o:new Date;if(null===e||void 0===e?void 0:e.includes(":")){var i=e.split(":"),s=i[0],u=i[1];a.setHours(Number(s)),a.setMinutes(Number(u))}null===(n=(t=r.props).onChange)||void 0===n||n.call(t,a)},r.renderTimeInput=function(){var e=r.state.time,t=r.props,n=t.date,a=t.timeString,i=t.customTimeInput;return i?(0,o.cloneElement)(i,{date:n,value:e,onChange:r.onTimeChange}):o.createElement("input",{type:"time",className:"react-datepicker-time__input",placeholder:"Time",name:"time-input",ref:r.inputRef,onClick:function(){var e;null===(e=r.inputRef.current)||void 0===e||e.focus()},required:!0,value:e,onChange:function(e){r.onTimeChange(e.target.value||a)}})},r.state={time:r.props.timeString},r}return Ke(t,e),t.getDerivedStateFromProps=function(e,t){return e.timeString!==t.time?{time:e.timeString}:null},t.prototype.render=function(){return o.createElement("div",{className:"react-datepicker__input-time-container"},o.createElement("div",{className:"react-datepicker-time__caption"},this.props.timeInputLabel),o.createElement("div",{className:"react-datepicker-time__input-container"},o.createElement("div",{className:"react-datepicker-time__input"},this.renderTimeInput())))},t}(o.Component),ur=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.dayEl=(0,o.createRef)(),t.handleClick=function(e){!t.isDisabled()&&t.props.onClick&&t.props.onClick(e)},t.handleMouseEnter=function(e){!t.isDisabled()&&t.props.onMouseEnter&&t.props.onMouseEnter(e)},t.handleOnKeyDown=function(e){var r,n;e.key===Qe.Space&&(e.preventDefault(),e.key=Qe.Enter),null===(n=(r=t.props).handleOnKeyDown)||void 0===n||n.call(r,e)},t.isSameDay=function(e){return wt(t.props.day,e)},t.isKeyboardSelected=function(){var e;if(t.props.disabledKeyboardNavigation)return!1;var r=t.props.selectsMultiple?null===(e=t.props.selectedDates)||void 0===e?void 0:e.some(function(e){return t.isSameDayOrWeek(e)}):t.isSameDayOrWeek(t.props.selected),n=t.props.preSelection&&t.isDisabled(t.props.preSelection);return!r&&t.isSameDayOrWeek(t.props.preSelection)&&!n},t.isDisabled=function(e){return void 0===e&&(e=t.props.day),Tt(e,{minDate:t.props.minDate,maxDate:t.props.maxDate,excludeDates:t.props.excludeDates,excludeDateIntervals:t.props.excludeDateIntervals,includeDateIntervals:t.props.includeDateIntervals,includeDates:t.props.includeDates,filterDate:t.props.filterDate,disabled:t.props.disabled})},t.isExcluded=function(){return Pt(t.props.day,{excludeDates:t.props.excludeDates,excludeDateIntervals:t.props.excludeDateIntervals})},t.isStartOfWeek=function(){return wt(t.props.day,ft(t.props.day,t.props.locale,t.props.calendarStartDay))},t.isSameWeek=function(e){return t.props.showWeekPicker&&wt(e,ft(t.props.day,t.props.locale,t.props.calendarStartDay))},t.isSameDayOrWeek=function(e){return t.isSameDay(e)||t.isSameWeek(e)},t.getHighLightedClass=function(){var e=t.props,r=e.day,n=e.highlightDates;if(!n)return!1;var o=ct(r,"MM.dd.yyyy");return n.get(o)},t.getHolidaysClass=function(){var e,r=t.props,n=r.day,o=r.holidays;if(!o)return[void 0];var a=ct(n,"MM.dd.yyyy");return o.has(a)?[null===(e=o.get(a))||void 0===e?void 0:e.className]:[void 0]},t.isInRange=function(){var e=t.props,r=e.day,n=e.startDate,o=e.endDate;return!(!n||!o)&&_t(r,n,o)},t.isInSelectingRange=function(){var e,r=t.props,n=r.day,o=r.selectsStart,a=r.selectsEnd,i=r.selectsRange,s=r.selectsDisabledDaysInRange,u=r.startDate,l=r.swapRange,c=r.endDate,p=null!==(e=t.props.selectingDate)&&void 0!==e?e:t.props.preSelection;if(t.isAfterMonth()||t.isBeforeMonth())return!1;if(!(o||a||i)||!p||!s&&t.isDisabled())return!1;if(o&&c&&((0,oe.Y)(p,c)||Et(p,c)))return _t(n,p,c);if(a&&u&&(ne(p,u)||Et(p,u)))return _t(n,u,p);if(i&&u&&!c){if(Et(p,u))return _t(n,u,p);if(ne(p,u))return _t(n,u,p);if(l&&(0,oe.Y)(p,u))return _t(n,p,u)}return!1},t.isSelectingRangeStart=function(){var e;if(!t.isInSelectingRange())return!1;var r=t.props,n=r.day,o=r.startDate,a=r.selectsStart,i=r.swapRange,s=r.selectsRange,u=null!==(e=t.props.selectingDate)&&void 0!==e?e:t.props.preSelection;return wt(n,a||s&&i&&o&&u&&(0,oe.Y)(u,o)?u:o)},t.isSelectingRangeEnd=function(){var e;if(!t.isInSelectingRange())return!1;var r=t.props,n=r.day,o=r.endDate,a=r.selectsEnd,i=r.selectsRange,s=r.swapRange,u=r.startDate,l=null!==(e=t.props.selectingDate)&&void 0!==e?e:t.props.preSelection;return wt(n,a?l:i&&s&&u&&l?(0,oe.Y)(l,u)?u:l:i?l:o)},t.isRangeStart=function(){var e=t.props,r=e.day,n=e.startDate,o=e.endDate;return!(!n||!o)&&wt(n,r)},t.isRangeEnd=function(){var e=t.props,r=e.day,n=e.startDate,o=e.endDate;return!(!n||!o)&&wt(o,r)},t.isWeekend=function(){var e=ae(t.props.day);return 0===e||6===e},t.isAfterMonth=function(){return void 0!==t.props.month&&(t.props.month+1)%12===O(t.props.day)},t.isBeforeMonth=function(){return void 0!==t.props.month&&(O(t.props.day)+1)%12===t.props.month},t.isCurrentDay=function(){return t.isSameDay(it())},t.isSelected=function(){var e;return t.props.selectsMultiple?null===(e=t.props.selectedDates)||void 0===e?void 0:e.some(function(e){return t.isSameDayOrWeek(e)}):t.isSameDayOrWeek(t.props.selected)},t.getClassNames=function(e){var r,o=t.props.dayClassName?t.props.dayClassName(e):void 0;return(0,n.$)("react-datepicker__day",o,"react-datepicker__day--"+ct(t.props.day,"ddd",r),{"react-datepicker__day--disabled":t.isDisabled(),"react-datepicker__day--excluded":t.isExcluded(),"react-datepicker__day--selected":t.isSelected(),"react-datepicker__day--keyboard-selected":t.isKeyboardSelected(),"react-datepicker__day--range-start":t.isRangeStart(),"react-datepicker__day--range-end":t.isRangeEnd(),"react-datepicker__day--in-range":t.isInRange(),"react-datepicker__day--in-selecting-range":t.isInSelectingRange(),"react-datepicker__day--selecting-range-start":t.isSelectingRangeStart(),"react-datepicker__day--selecting-range-end":t.isSelectingRangeEnd(),"react-datepicker__day--today":t.isCurrentDay(),"react-datepicker__day--weekend":t.isWeekend(),"react-datepicker__day--outside-month":t.isAfterMonth()||t.isBeforeMonth()},t.getHighLightedClass(),t.getHolidaysClass())},t.getAriaLabel=function(){var e=t.props,r=e.day,n=e.ariaLabelPrefixWhenEnabled,o=void 0===n?"Choose":n,a=e.ariaLabelPrefixWhenDisabled,i=void 0===a?"Not available":a,s=t.isDisabled()||t.isExcluded()?i:o;return"".concat(s," ").concat(ct(r,"PPPP",t.props.locale))},t.getTitle=function(){var e=t.props,r=e.day,n=e.holidays,o=void 0===n?new Map:n,a=e.excludeDates,i=ct(r,"MM.dd.yyyy"),s=[];return o.has(i)&&s.push.apply(s,o.get(i).holidayNames),t.isExcluded()&&s.push(null===a||void 0===a?void 0:a.filter(function(e){return e instanceof Date?wt(e,r):wt(null===e||void 0===e?void 0:e.date,r)}).map(function(e){if(!(e instanceof Date))return null===e||void 0===e?void 0:e.message})),s.join(", ")},t.getTabIndex=function(){var e=t.props.selected,r=t.props.preSelection;return(!t.props.showWeekPicker||!t.props.showWeekNumber&&t.isStartOfWeek())&&(t.isKeyboardSelected()||t.isSameDay(e)&&wt(r,e))?0:-1},t.handleFocusDay=function(){var e;t.shouldFocusDay()&&(null===(e=t.dayEl.current)||void 0===e||e.focus({preventScroll:!0}))},t.renderDayContents=function(){return t.props.monthShowsDuplicateDaysEnd&&t.isAfterMonth()||t.props.monthShowsDuplicateDaysStart&&t.isBeforeMonth()?null:t.props.renderDayContents?t.props.renderDayContents(ie(t.props.day),t.props.day):ie(t.props.day)},t.render=function(){return o.createElement("div",{ref:t.dayEl,className:t.getClassNames(t.props.day),onKeyDown:t.handleOnKeyDown,onClick:t.handleClick,onMouseEnter:t.props.usePointerEvent?void 0:t.handleMouseEnter,onPointerEnter:t.props.usePointerEvent?t.handleMouseEnter:void 0,tabIndex:t.getTabIndex(),"aria-label":t.getAriaLabel(),role:"gridcell",title:t.getTitle(),"aria-disabled":t.isDisabled(),"aria-current":t.isCurrentDay()?"date":void 0,"aria-selected":t.isSelected()||t.isInRange()},t.renderDayContents(),""!==t.getTitle()&&o.createElement("span",{className:"overlay"},t.getTitle()))},t}return Ke(t,e),t.prototype.componentDidMount=function(){this.handleFocusDay()},t.prototype.componentDidUpdate=function(){this.handleFocusDay()},t.prototype.shouldFocusDay=function(){var e=!1;return 0===this.getTabIndex()&&this.isSameDay(this.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(e=!0),this.props.inline&&!this.props.shouldFocusDayInline&&(e=!1),this.isDayActiveElement()&&(e=!0),this.isDuplicateDay()&&(e=!1)),e},t.prototype.isDayActiveElement=function(){var e,t,r;return(null===(t=null===(e=this.props.containerRef)||void 0===e?void 0:e.current)||void 0===t?void 0:t.contains(document.activeElement))&&(null===(r=document.activeElement)||void 0===r?void 0:r.classList.contains("react-datepicker__day"))},t.prototype.isDuplicateDay=function(){return this.props.monthShowsDuplicateDaysEnd&&this.isAfterMonth()||this.props.monthShowsDuplicateDaysStart&&this.isBeforeMonth()},t}(o.Component),lr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.weekNumberEl=(0,o.createRef)(),t.handleClick=function(e){t.props.onClick&&t.props.onClick(e)},t.handleOnKeyDown=function(e){var r,n;e.key===Qe.Space&&(e.preventDefault(),e.key=Qe.Enter),null===(n=(r=t.props).handleOnKeyDown)||void 0===n||n.call(r,e)},t.isKeyboardSelected=function(){return!t.props.disabledKeyboardNavigation&&!wt(t.props.date,t.props.selected)&&wt(t.props.date,t.props.preSelection)},t.getTabIndex=function(){return t.props.showWeekPicker&&t.props.showWeekNumber&&(t.isKeyboardSelected()||wt(t.props.date,t.props.selected)&&wt(t.props.preSelection,t.props.selected))?0:-1},t.handleFocusWeekNumber=function(e){var r=!1;0===t.getTabIndex()&&!(null===e||void 0===e?void 0:e.isInputFocused)&&wt(t.props.date,t.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(r=!0),t.props.inline&&!t.props.shouldFocusDayInline&&(r=!1),t.props.containerRef&&t.props.containerRef.current&&t.props.containerRef.current.contains(document.activeElement)&&document.activeElement&&document.activeElement.classList.contains("react-datepicker__week-number")&&(r=!0)),r&&t.weekNumberEl.current&&t.weekNumberEl.current.focus({preventScroll:!0})},t}return Ke(t,e),Object.defineProperty(t,"defaultProps",{get:function(){return{ariaLabelPrefix:"week "}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.handleFocusWeekNumber()},t.prototype.componentDidUpdate=function(e){this.handleFocusWeekNumber(e)},t.prototype.render=function(){var e=this.props,r=e.weekNumber,a=e.isWeekDisabled,i=e.ariaLabelPrefix,s=void 0===i?t.defaultProps.ariaLabelPrefix:i,u=e.onClick,l={"react-datepicker__week-number":!0,"react-datepicker__week-number--clickable":!!u&&!a,"react-datepicker__week-number--selected":!!u&&wt(this.props.date,this.props.selected)};return o.createElement("div",{ref:this.weekNumberEl,className:(0,n.$)(l),"aria-label":"".concat(s," ").concat(this.props.weekNumber),onClick:this.handleClick,onKeyDown:this.handleOnKeyDown,tabIndex:this.getTabIndex(),role:"gridcell"},r)},t}(o.Component),cr=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.isDisabled=function(e){return Tt(e,{minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals,includeDateIntervals:r.props.includeDateIntervals,includeDates:r.props.includeDates,filterDate:r.props.filterDate})},r.handleDayClick=function(e,t){r.props.onDayClick&&r.props.onDayClick(e,t)},r.handleDayMouseEnter=function(e){r.props.onDayMouseEnter&&r.props.onDayMouseEnter(e)},r.handleWeekClick=function(e,n,o){for(var a,i,s,u=new Date(e),l=0;l<7;l++){var c=new Date(e);if(c.setDate(c.getDate()+l),!r.isDisabled(c)){u=c;break}}"function"===typeof r.props.onWeekSelect&&r.props.onWeekSelect(u,n,o),r.props.showWeekPicker&&r.handleDayClick(u,o),(null!==(a=r.props.shouldCloseOnSelect)&&void 0!==a?a:t.defaultProps.shouldCloseOnSelect)&&(null===(s=(i=r.props).setOpen)||void 0===s||s.call(i,!1))},r.formatWeekNumber=function(e){return r.props.formatWeekNumber?r.props.formatWeekNumber(e):function(e){return(0,D.s)(e)}(e)},r.isWeekDisabled=function(){for(var e=r.startOfWeek(),t=(0,se.f)(e,6),n=new Date(e);n<=t;){if(!r.isDisabled(n))return!1;n=(0,se.f)(n,1)}return!0},r.renderDays=function(){var e=r.startOfWeek(),n=[],a=r.formatWeekNumber(e);if(r.props.showWeekNumber){var i=r.props.onWeekSelect||r.props.showWeekPicker?r.handleWeekClick.bind(r,e,a):void 0;n.push(o.createElement(lr,Ze({key:"W"},t.defaultProps,r.props,{weekNumber:a,isWeekDisabled:r.isWeekDisabled(),date:e,onClick:i})))}return n.concat([0,1,2,3,4,5,6].map(function(n){var a=(0,se.f)(e,n);return o.createElement(ur,Ze({},t.defaultProps,r.props,{ariaLabelPrefixWhenEnabled:r.props.chooseDayAriaLabelPrefix,ariaLabelPrefixWhenDisabled:r.props.disabledDayAriaLabelPrefix,key:a.valueOf(),day:a,onClick:r.handleDayClick.bind(r,a),onMouseEnter:r.handleDayMouseEnter.bind(r,a)}))}))},r.startOfWeek=function(){return ft(r.props.day,r.props.locale,r.props.calendarStartDay)},r.isKeyboardSelected=function(){return!r.props.disabledKeyboardNavigation&&!wt(r.startOfWeek(),r.props.selected)&&wt(r.startOfWeek(),r.props.preSelection)},r}return Ke(t,e),Object.defineProperty(t,"defaultProps",{get:function(){return{shouldCloseOnSelect:!0}},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e={"react-datepicker__week":!0,"react-datepicker__week--selected":wt(this.startOfWeek(),this.props.selected),"react-datepicker__week--keyboard-selected":this.isKeyboardSelected()},t=this.props.weekClassName?this.props.weekClassName(this.startOfWeek()):void 0;return o.createElement("div",{className:(0,n.$)(e,t),role:"row"},this.renderDays())},t}(o.Component),pr="two_columns",dr="three_columns",hr="four_columns",fr=((ir={})[pr]={grid:[[0,1],[2,3],[4,5],[6,7],[8,9],[10,11]],verticalNavigationOffset:2},ir[dr]={grid:[[0,1,2],[3,4,5],[6,7,8],[9,10,11]],verticalNavigationOffset:3},ir[hr]={grid:[[0,1,2,3],[4,5,6,7],[8,9,10,11]],verticalNavigationOffset:4},ir);function Dr(e,t){return e?hr:t?pr:dr}var mr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.MONTH_REFS=Xe([],Array(12),!0).map(function(){return(0,o.createRef)()}),t.QUARTER_REFS=Xe([],Array(4),!0).map(function(){return(0,o.createRef)()}),t.isDisabled=function(e){return Tt(e,{minDate:t.props.minDate,maxDate:t.props.maxDate,excludeDates:t.props.excludeDates,excludeDateIntervals:t.props.excludeDateIntervals,includeDateIntervals:t.props.includeDateIntervals,includeDates:t.props.includeDates,filterDate:t.props.filterDate,disabled:t.props.disabled})},t.isExcluded=function(e){return Pt(e,{excludeDates:t.props.excludeDates,excludeDateIntervals:t.props.excludeDateIntervals})},t.handleDayClick=function(e,r){var n,o;null===(o=(n=t.props).onDayClick)||void 0===o||o.call(n,e,r,t.props.orderInDisplay)},t.handleDayMouseEnter=function(e){var r,n;null===(n=(r=t.props).onDayMouseEnter)||void 0===n||n.call(r,e)},t.handleMouseLeave=function(){var e,r;null===(r=(e=t.props).onMouseLeave)||void 0===r||r.call(e)},t.isRangeStartMonth=function(e){var r=t.props,n=r.day,o=r.startDate,a=r.endDate;return!(!o||!a)&&Ct(B(n,e),o)},t.isRangeStartQuarter=function(e){var r=t.props,n=r.day,o=r.startDate,a=r.endDate;return!(!o||!a)&&Ft(N(n,e),o)},t.isRangeEndMonth=function(e){var r=t.props,n=r.day,o=r.startDate,a=r.endDate;return!(!o||!a)&&Ct(B(n,e),a)},t.isRangeEndQuarter=function(e){var r=t.props,n=r.day,o=r.startDate,a=r.endDate;return!(!o||!a)&&Ft(N(n,e),a)},t.isInSelectingRangeMonth=function(e){var r,n=t.props,o=n.day,a=n.selectsStart,i=n.selectsEnd,s=n.selectsRange,u=n.startDate,l=n.endDate,c=null!==(r=t.props.selectingDate)&&void 0!==r?r:t.props.preSelection;return!(!(a||i||s)||!c)&&(a&&l?Nt(c,l,e,o):(i&&u||!(!s||!u||l))&&Nt(u,c,e,o))},t.isSelectingMonthRangeStart=function(e){var r;if(!t.isInSelectingRangeMonth(e))return!1;var n=t.props,o=n.day,a=n.startDate,i=n.selectsStart,s=B(o,e),u=null!==(r=t.props.selectingDate)&&void 0!==r?r:t.props.preSelection;return Ct(s,i?u:a)},t.isSelectingMonthRangeEnd=function(e){var r;if(!t.isInSelectingRangeMonth(e))return!1;var n=t.props,o=n.day,a=n.endDate,i=n.selectsEnd,s=n.selectsRange,u=B(o,e),l=null!==(r=t.props.selectingDate)&&void 0!==r?r:t.props.preSelection;return Ct(u,i||s?l:a)},t.isInSelectingRangeQuarter=function(e){var r,n=t.props,o=n.day,a=n.selectsStart,i=n.selectsEnd,s=n.selectsRange,u=n.startDate,l=n.endDate,c=null!==(r=t.props.selectingDate)&&void 0!==r?r:t.props.preSelection;return!(!(a||i||s)||!c)&&(a&&l?Yt(c,l,e,o):(i&&u||!(!s||!u||l))&&Yt(u,c,e,o))},t.isWeekInMonth=function(e){var r=t.props.day,n=(0,se.f)(e,6);return Ct(e,r)||Ct(n,r)},t.isCurrentMonth=function(e,t){return L(e)===L(it())&&t===O(it())},t.isCurrentQuarter=function(e,t){return L(e)===L(it())&&t===I(it())},t.isSelectedMonth=function(e,t,r){return O(r)===t&&L(e)===L(r)},t.isSelectMonthInList=function(e,r,n){return n.some(function(n){return t.isSelectedMonth(e,r,n)})},t.isSelectedQuarter=function(e,t,r){return I(r)===t&&L(e)===L(r)},t.isSelectQuarterInList=function(e,r,n){return n.some(function(n){return t.isSelectedQuarter(e,r,n)})},t.isMonthSelected=function(){var e=t.props,r=e.day,n=e.selected,o=e.selectedDates,a=e.selectsMultiple,i=O(r);return a?null===o||void 0===o?void 0:o.some(function(e){return t.isSelectedMonth(r,i,e)}):!!n&&t.isSelectedMonth(r,i,n)},t.isQuarterSelected=function(){var e=t.props,r=e.day,n=e.selected,o=e.selectedDates,a=e.selectsMultiple,i=I(r);return a?null===o||void 0===o?void 0:o.some(function(e){return t.isSelectedQuarter(r,i,e)}):!!n&&t.isSelectedQuarter(r,i,n)},t.renderWeeks=function(){if(!ut(t.props.day))return[];for(var e=[],r=t.props.fixedHeight,n=0,a=!1,i=ft(Dt(t.props.day),t.props.locale,t.props.calendarStartDay),s=t.props.selected?function(e){return t.props.showWeekPicker?ft(e,t.props.locale,t.props.calendarStartDay):t.props.selected}(t.props.selected):void 0,u=t.props.preSelection?function(e){return t.props.showWeekPicker?ft(e,t.props.locale,t.props.calendarStartDay):t.props.preSelection}(t.props.preSelection):void 0;e.push(o.createElement(cr,Ze({},t.props,{ariaLabelPrefix:t.props.weekAriaLabelPrefix,key:n,day:i,month:O(t.props.day),onDayClick:t.handleDayClick,onDayMouseEnter:t.handleDayMouseEnter,selected:s,preSelection:u,showWeekNumber:t.props.showWeekNumbers}))),!a;){n++,i=(0,ue.J)(i,1);var l=r&&n>=6,c=!r&&!t.isWeekInMonth(i);if(l||c){if(!t.props.peekNextMonth)break;a=!0}}return e},t.onMonthClick=function(e,r){var n=t.isMonthDisabledForLabelDate(r),o=n.isDisabled,a=n.labelDate;o||t.handleDayClick(Dt(a),e)},t.onMonthMouseEnter=function(e){var r=t.isMonthDisabledForLabelDate(e),n=r.isDisabled,o=r.labelDate;n||t.handleDayMouseEnter(Dt(o))},t.handleMonthNavigation=function(e,r){var n,o,a,i;null===(o=(n=t.props).setPreSelection)||void 0===o||o.call(n,r),null===(i=null===(a=t.MONTH_REFS[e])||void 0===a?void 0:a.current)||void 0===i||i.focus()},t.handleKeyboardNavigation=function(e,r,n){var o,a=t.props,i=a.selected,s=a.preSelection,u=a.setPreSelection,l=a.minDate,c=a.maxDate,p=a.showFourColumnMonthYearPicker,d=a.showTwoColumnMonthYearPicker;if(s){var h=Dr(p,d),f=t.getVerticalOffset(h),D=null===(o=fr[h])||void 0===o?void 0:o.grid,m=function(e,t,r){var n,o,a=t,i=r;switch(e){case Qe.ArrowRight:a=(0,U.P)(t,1),i=11===r?0:r+1;break;case Qe.ArrowLeft:a=(0,H.a)(t,1),i=0===r?11:r-1;break;case Qe.ArrowUp:a=(0,H.a)(t,f),i=(null===(n=null===D||void 0===D?void 0:D[0])||void 0===n?void 0:n.includes(r))?r+12-f:r-f;break;case Qe.ArrowDown:a=(0,U.P)(t,f),i=(null===(o=null===D||void 0===D?void 0:D[D.length-1])||void 0===o?void 0:o.includes(r))?r-12+f:r+f}return{newCalculatedDate:a,newCalculatedMonth:i}};if(r!==Qe.Enter){var y=function(e,r,n){for(var o=e,a=!1,i=0,s=m(o,r,n),u=s.newCalculatedDate,p=s.newCalculatedMonth;!a;){if(i>=40){u=r,p=n;break}var d;if(l&&u<l)o=Qe.ArrowRight,u=(d=m(o,u,p)).newCalculatedDate,p=d.newCalculatedMonth;if(c&&u>c)o=Qe.ArrowLeft,u=(d=m(o,u,p)).newCalculatedDate,p=d.newCalculatedMonth;if(Lt(u,t.props))u=(d=m(o,u,p)).newCalculatedDate,p=d.newCalculatedMonth;else a=!0;i++}return{newCalculatedDate:u,newCalculatedMonth:p}}(r,s,n),g=y.newCalculatedDate,v=y.newCalculatedMonth;switch(r){case Qe.ArrowRight:case Qe.ArrowLeft:case Qe.ArrowUp:case Qe.ArrowDown:t.handleMonthNavigation(v,g)}}else t.isMonthDisabled(n)||(t.onMonthClick(e,n),null===u||void 0===u||u(i))}},t.getVerticalOffset=function(e){var t,r;return null!==(r=null===(t=fr[e])||void 0===t?void 0:t.verticalNavigationOffset)&&void 0!==r?r:0},t.onMonthKeyDown=function(e,r){var n=t.props,o=n.disabledKeyboardNavigation,a=n.handleOnMonthKeyDown,i=e.key;i!==Qe.Tab&&e.preventDefault(),o||t.handleKeyboardNavigation(e,i,r),a&&a(e)},t.onQuarterClick=function(e,r){var n=N(t.props.day,r);Ot(n,t.props)||t.handleDayClick(yt(n),e)},t.onQuarterMouseEnter=function(e){var r=N(t.props.day,e);Ot(r,t.props)||t.handleDayMouseEnter(yt(r))},t.handleQuarterNavigation=function(e,r){var n,o,a,i;t.isDisabled(r)||t.isExcluded(r)||(null===(o=(n=t.props).setPreSelection)||void 0===o||o.call(n,r),null===(i=null===(a=t.QUARTER_REFS[e-1])||void 0===a?void 0:a.current)||void 0===i||i.focus())},t.onQuarterKeyDown=function(e,r){var n,o,a=e.key;if(!t.props.disabledKeyboardNavigation)switch(a){case Qe.Enter:t.onQuarterClick(e,r),null===(o=(n=t.props).setPreSelection)||void 0===o||o.call(n,t.props.selected);break;case Qe.ArrowRight:if(!t.props.preSelection)break;t.handleQuarterNavigation(4===r?1:r+1,(0,$.z)(t.props.preSelection,1));break;case Qe.ArrowLeft:if(!t.props.preSelection)break;t.handleQuarterNavigation(1===r?4:r-1,V(t.props.preSelection,1))}},t.isMonthDisabledForLabelDate=function(e){var r,n=t.props,o=n.day,a=n.disabled,i=n.minDate,s=n.maxDate,u=n.excludeDates,l=n.includeDates,c=B(o,e);return a?{isDisabled:!0,labelDate:B(o,e)}:{isDisabled:null!==(r=(i||s||u||l)&&Bt(c,t.props))&&void 0!==r&&r,labelDate:c}},t.isMonthDisabled=function(e){return t.isMonthDisabledForLabelDate(e).isDisabled},t.getMonthClassNames=function(e){var r=t.props,o=r.day,a=r.startDate,i=r.endDate,s=r.preSelection,u=r.monthClassName,l=u?u(B(o,e)):void 0,c=t.getSelection();return(0,n.$)("react-datepicker__month-text","react-datepicker__month-".concat(e),l,{"react-datepicker__month-text--disabled":t.isMonthDisabled(e),"react-datepicker__month-text--selected":c?t.isSelectMonthInList(o,e,c):void 0,"react-datepicker__month-text--keyboard-selected":!t.props.disabledKeyboardNavigation&&s&&t.isSelectedMonth(o,e,s)&&!t.isMonthSelected()&&!t.isMonthDisabled(e),"react-datepicker__month-text--in-selecting-range":t.isInSelectingRangeMonth(e),"react-datepicker__month-text--in-range":a&&i?Nt(a,i,e,o):void 0,"react-datepicker__month-text--range-start":t.isRangeStartMonth(e),"react-datepicker__month-text--range-end":t.isRangeEndMonth(e),"react-datepicker__month-text--selecting-range-start":t.isSelectingMonthRangeStart(e),"react-datepicker__month-text--selecting-range-end":t.isSelectingMonthRangeEnd(e),"react-datepicker__month-text--today":t.isCurrentMonth(o,e)})},t.getTabIndex=function(e){if(null==t.props.preSelection)return"-1";var r=O(t.props.preSelection),n=t.isMonthDisabledForLabelDate(r).isDisabled;return e!==r||n||t.props.disabledKeyboardNavigation?"-1":"0"},t.getQuarterTabIndex=function(e){if(null==t.props.preSelection)return"-1";var r=I(t.props.preSelection),n=Ot(t.props.day,t.props);return e!==r||n||t.props.disabledKeyboardNavigation?"-1":"0"},t.getAriaLabel=function(e){var r=t.props,n=r.chooseDayAriaLabelPrefix,o=void 0===n?"Choose":n,a=r.disabledDayAriaLabelPrefix,i=void 0===a?"Not available":a,s=r.day,u=r.locale,l=B(s,e),c=t.isDisabled(l)||t.isExcluded(l)?i:o;return"".concat(c," ").concat(ct(l,"MMMM yyyy",u))},t.getQuarterClassNames=function(e){var r=t.props,o=r.day,a=r.startDate,i=r.endDate,s=r.minDate,u=r.maxDate,l=r.excludeDates,c=r.includeDates,p=r.filterDate,d=r.preSelection,h=r.disabledKeyboardNavigation,f=r.disabled,D=(s||u||l||c||p||f)&&Ot(N(o,e),t.props),m=t.getSelection();return(0,n.$)("react-datepicker__quarter-text","react-datepicker__quarter-".concat(e),{"react-datepicker__quarter-text--disabled":D,"react-datepicker__quarter-text--selected":m?t.isSelectQuarterInList(o,e,m):void 0,"react-datepicker__quarter-text--keyboard-selected":!h&&d&&t.isSelectedQuarter(o,e,d)&&!t.isQuarterSelected()&&!D,"react-datepicker__quarter-text--in-selecting-range":t.isInSelectingRangeQuarter(e),"react-datepicker__quarter-text--in-range":a&&i?Yt(a,i,e,o):void 0,"react-datepicker__quarter-text--range-start":t.isRangeStartQuarter(e),"react-datepicker__quarter-text--range-end":t.isRangeEndQuarter(e),"react-datepicker__quarter-text--today":t.isCurrentQuarter(o,e)})},t.getMonthContent=function(e){var r=t.props,n=r.showFullMonthYearPicker,o=r.renderMonthContent,a=r.locale,i=r.day,s=Mt(e,a),u=At(e,a);return o?o(e,s,u,i):n?u:s},t.getQuarterContent=function(e){var r,n=t.props,o=n.renderQuarterContent,a=function(e,t){return ct(N(it(),e),"QQQ",t)}(e,n.locale);return null!==(r=null===o||void 0===o?void 0:o(e,a))&&void 0!==r?r:a},t.renderMonths=function(){var e,r=t.props,n=r.showTwoColumnMonthYearPicker,a=r.showFourColumnMonthYearPicker,i=r.day,s=r.selected,u=null===(e=fr[Dr(a,n)])||void 0===e?void 0:e.grid;return null===u||void 0===u?void 0:u.map(function(e,r){return o.createElement("div",{className:"react-datepicker__month-wrapper",key:r},e.map(function(e,r){return o.createElement("div",{ref:t.MONTH_REFS[e],key:r,onClick:function(r){t.onMonthClick(r,e)},onKeyDown:function(r){ar(r)&&(r.preventDefault(),r.key=Qe.Enter),t.onMonthKeyDown(r,e)},onMouseEnter:t.props.usePointerEvent?void 0:function(){return t.onMonthMouseEnter(e)},onPointerEnter:t.props.usePointerEvent?function(){return t.onMonthMouseEnter(e)}:void 0,tabIndex:Number(t.getTabIndex(e)),className:t.getMonthClassNames(e),"aria-disabled":t.isMonthDisabled(e),role:"option","aria-label":t.getAriaLabel(e),"aria-current":t.isCurrentMonth(i,e)?"date":void 0,"aria-selected":s?t.isSelectedMonth(i,e,s):void 0},t.getMonthContent(e))}))})},t.renderQuarters=function(){var e=t.props,r=e.day,n=e.selected;return o.createElement("div",{className:"react-datepicker__quarter-wrapper"},[1,2,3,4].map(function(e,a){return o.createElement("div",{key:a,ref:t.QUARTER_REFS[a],role:"option",onClick:function(r){t.onQuarterClick(r,e)},onKeyDown:function(r){t.onQuarterKeyDown(r,e)},onMouseEnter:t.props.usePointerEvent?void 0:function(){return t.onQuarterMouseEnter(e)},onPointerEnter:t.props.usePointerEvent?function(){return t.onQuarterMouseEnter(e)}:void 0,className:t.getQuarterClassNames(e),"aria-selected":n?t.isSelectedQuarter(r,e,n):void 0,tabIndex:Number(t.getQuarterTabIndex(e)),"aria-current":t.isCurrentQuarter(r,e)?"date":void 0},t.getQuarterContent(e))}))},t.getClassNames=function(){var e=t.props,r=e.selectingDate,o=e.selectsStart,a=e.selectsEnd,i=e.showMonthYearPicker,s=e.showQuarterYearPicker,u=e.showWeekPicker;return(0,n.$)("react-datepicker__month",{"react-datepicker__month--selecting-range":r&&(o||a)},{"react-datepicker__monthPicker":i},{"react-datepicker__quarterPicker":s},{"react-datepicker__weekPicker":u})},t}return Ke(t,e),t.prototype.getSelection=function(){var e=this.props,t=e.selected,r=e.selectedDates;return e.selectsMultiple?r:t?[t]:void 0},t.prototype.render=function(){var e=this.props,t=e.showMonthYearPicker,r=e.showQuarterYearPicker,n=e.day,a=e.ariaLabelPrefix,i=void 0===a?"Month ":a,s=i?i.trim()+" ":"",u=ut(n)?"".concat(s).concat(ct(n,"MMMM, yyyy",this.props.locale)):"";return t||r?o.createElement("div",{className:this.getClassNames(),onMouseLeave:this.props.usePointerEvent?void 0:this.handleMouseLeave,onPointerLeave:this.props.usePointerEvent?this.handleMouseLeave:void 0,"aria-label":u,role:"listbox"},t?this.renderMonths():this.renderQuarters()):o.createElement("div",{role:"table"},this.props.dayNamesHeader&&o.createElement("div",{role:"rowgroup"},this.props.dayNamesHeader),this.props.monthHeader&&o.createElement("div",{role:"rowgroup"},this.props.monthHeader),o.createElement("div",{className:this.getClassNames(),onMouseLeave:this.props.usePointerEvent?void 0:this.handleMouseLeave,onPointerLeave:this.props.usePointerEvent?this.handleMouseLeave:void 0,"aria-label":u,role:"rowgroup"},this.renderWeeks()),this.props.monthFooter&&o.createElement("div",{role:"rowgroup"},this.props.monthFooter))},t}(o.Component),yr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.monthOptionButtonsRef={},t.isSelectedMonth=function(e){return t.props.month===e},t.handleOptionKeyDown=function(e,r){var n;switch(r.key){case"Enter":r.preventDefault(),t.onChange(e);break;case"Escape":r.preventDefault(),t.props.onCancel();break;case"ArrowUp":case"ArrowDown":r.preventDefault();var o=(e+("ArrowUp"===r.key?-1:1)+t.props.monthNames.length)%t.props.monthNames.length;null===(n=t.monthOptionButtonsRef[o])||void 0===n||n.focus()}},t.renderOptions=function(){return t.monthOptionButtonsRef={},t.props.monthNames.map(function(e,r){return o.createElement("div",{ref:function(e){t.monthOptionButtonsRef[r]=e,t.isSelectedMonth(r)&&(null===e||void 0===e||e.focus())},role:"button",tabIndex:0,className:t.isSelectedMonth(r)?"react-datepicker__month-option react-datepicker__month-option--selected_month":"react-datepicker__month-option",key:e,onClick:t.onChange.bind(t,r),onKeyDown:t.handleOptionKeyDown.bind(t,r),"aria-selected":t.isSelectedMonth(r)?"true":void 0},t.isSelectedMonth(r)?o.createElement("span",{className:"react-datepicker__month-option--selected"},"\u2713"):"",e)})},t.onChange=function(e){return t.props.onChange(e)},t.handleClickOutside=function(){return t.props.onCancel()},t}return Ke(t,e),t.prototype.render=function(){return o.createElement(Je,{className:"react-datepicker__month-dropdown",onClickOutside:this.handleClickOutside},this.renderOptions())},t}(o.Component),gr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(e){return e.map(function(e,t){return o.createElement("option",{key:e,value:t},e)})},t.renderSelectMode=function(e){return o.createElement("select",{value:t.props.month,className:"react-datepicker__month-select",onChange:function(e){return t.onChange(parseInt(e.target.value))}},t.renderSelectOptions(e))},t.renderReadView=function(e,r){return o.createElement("button",{key:"read",type:"button",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__month-read-view",onClick:t.toggleDropdown},o.createElement("span",{className:"react-datepicker__month-read-view--down-arrow"}),o.createElement("span",{className:"react-datepicker__month-read-view--selected-month"},r[t.props.month]))},t.renderDropdown=function(e){return o.createElement(yr,Ze({key:"dropdown"},t.props,{monthNames:e,onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(e){var r=t.state.dropdownVisible,n=[t.renderReadView(!r,e)];return r&&n.unshift(t.renderDropdown(e)),n},t.onChange=function(e){t.toggleDropdown(),e!==t.props.month&&t.props.onChange(e)},t.toggleDropdown=function(){return t.setState({dropdownVisible:!t.state.dropdownVisible})},t}return Ke(t,e),t.prototype.render=function(){var e,t=this,r=[0,1,2,3,4,5,6,7,8,9,10,11].map(this.props.useShortMonthInDropdown?function(e){return Mt(e,t.props.locale)}:function(e){return At(e,t.props.locale)});switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode(r);break;case"select":e=this.renderSelectMode(r)}return o.createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--".concat(this.props.dropdownMode)},e)},t}(o.Component);function vr(e,t,r){for(var n=[],o=null!==e&&void 0!==e?e:X(r,5),a=null!==t&&void 0!==t?t:(0,Z.e)(r,5),i=Dt(o),s=Dt(a);!ne(i,s);)n.push(it(i)),i=(0,U.P)(i,1);return n}var br=function(e){function t(t){var r=e.call(this,t)||this;return r.renderOptions=function(){return r.state.monthYearsList.map(function(e){var t=(0,le.W)(e),n=kt(r.props.date,e)&&Ct(r.props.date,e);return o.createElement("div",{className:n?"react-datepicker__month-year-option--selected_month-year":"react-datepicker__month-year-option",key:t,onClick:r.onChange.bind(r,t),"aria-selected":n?"true":void 0},n?o.createElement("span",{className:"react-datepicker__month-year-option--selected"},"\u2713"):"",ct(e,r.props.dateFormat,r.props.locale))})},r.onChange=function(e){return r.props.onChange(e)},r.handleClickOutside=function(){r.props.onCancel()},r.state={monthYearsList:vr(r.props.minDate,r.props.maxDate,r.props.date)},r}return Ke(t,e),t.prototype.render=function(){var e=(0,n.$)({"react-datepicker__month-year-dropdown":!0,"react-datepicker__month-year-dropdown--scrollable":this.props.scrollableMonthYearDropdown});return o.createElement(Je,{className:e,onClickOutside:this.handleClickOutside},this.renderOptions())},t}(o.Component),kr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(){for(var e,r,n=null!==(e=t.props.minDate)&&void 0!==e?e:X(t.props.date,5),a=null!==(r=t.props.maxDate)&&void 0!==r?r:(0,Z.e)(t.props.date,5),i=Dt(n),s=Dt(a),u=[];!ne(i,s);){var l=(0,le.W)(i);u.push(o.createElement("option",{key:l,value:l},ct(i,t.props.dateFormat,t.props.locale))),i=(0,U.P)(i,1)}return u},t.onSelectChange=function(e){t.onChange(parseInt(e.target.value))},t.renderSelectMode=function(){return o.createElement("select",{value:(0,le.W)(Dt(t.props.date)),className:"react-datepicker__month-year-select",onChange:t.onSelectChange},t.renderSelectOptions())},t.renderReadView=function(e){var r=ct(t.props.date,t.props.dateFormat,t.props.locale);return o.createElement("div",{key:"read",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__month-year-read-view",onClick:t.toggleDropdown},o.createElement("span",{className:"react-datepicker__month-year-read-view--down-arrow"}),o.createElement("span",{className:"react-datepicker__month-year-read-view--selected-month-year"},r))},t.renderDropdown=function(){return o.createElement(br,Ze({key:"dropdown"},t.props,{onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(){var e=t.state.dropdownVisible,r=[t.renderReadView(!e)];return e&&r.unshift(t.renderDropdown()),r},t.onChange=function(e){t.toggleDropdown();var r=it(e);kt(t.props.date,r)&&Ct(t.props.date,r)||t.props.onChange(r)},t.toggleDropdown=function(){return t.setState({dropdownVisible:!t.state.dropdownVisible})},t}return Ke(t,e),t.prototype.render=function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return o.createElement("div",{className:"react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode)},e)},t}(o.Component),Cr=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.state={height:null},r.scrollToTheSelectedTime=function(){requestAnimationFrame(function(){var e,n,o;r.list&&(r.list.scrollTop=null!==(o=r.centerLi&&t.calcCenterPosition(r.props.monthRef?r.props.monthRef.clientHeight-(null!==(n=null===(e=r.header)||void 0===e?void 0:e.clientHeight)&&void 0!==n?n:0):r.list.clientHeight,r.centerLi))&&void 0!==o?o:0)})},r.handleClick=function(e){var t,n;(r.props.minTime||r.props.maxTime)&&Ht(e,r.props)||(r.props.excludeTimes||r.props.includeTimes||r.props.filterTime)&&zt(e,r.props)||null===(n=(t=r.props).onChange)||void 0===n||n.call(t,e)},r.isSelectedTime=function(e){var t=lt(r.props.selected);return t&&rr(t,e)},r.isDisabledTime=function(e){return(r.props.minTime||r.props.maxTime)&&Ht(e,r.props)||(r.props.excludeTimes||r.props.includeTimes||r.props.filterTime)&&zt(e,r.props)},r.liClasses=function(e){var n,o=["react-datepicker__time-list-item",r.props.timeClassName?r.props.timeClassName(e):void 0];return r.isSelectedTime(e)&&o.push("react-datepicker__time-list-item--selected"),r.isDisabledTime(e)&&o.push("react-datepicker__time-list-item--disabled"),r.props.injectTimes&&(3600*j(e)+60*q(e)+z(e))%(60*(null!==(n=r.props.intervals)&&void 0!==n?n:t.defaultProps.intervals))!==0&&o.push("react-datepicker__time-list-item--injected"),o.join(" ")},r.handleOnKeyDown=function(e,t){var n,o;e.key===Qe.Space&&(e.preventDefault(),e.key=Qe.Enter),(e.key===Qe.ArrowUp||e.key===Qe.ArrowLeft)&&e.target instanceof HTMLElement&&e.target.previousSibling&&(e.preventDefault(),e.target.previousSibling instanceof HTMLElement&&e.target.previousSibling.focus()),(e.key===Qe.ArrowDown||e.key===Qe.ArrowRight)&&e.target instanceof HTMLElement&&e.target.nextSibling&&(e.preventDefault(),e.target.nextSibling instanceof HTMLElement&&e.target.nextSibling.focus()),e.key===Qe.Enter&&r.handleClick(t),null===(o=(n=r.props).handleOnKeyDown)||void 0===o||o.call(n,e)},r.renderTimes=function(){for(var e,n=[],a="string"===typeof r.props.format?r.props.format:"p",i=null!==(e=r.props.intervals)&&void 0!==e?e:t.defaultProps.intervals,s=lt(r.props.selected)||lt(r.props.openToDate)||it(),u=ht(s),l=r.props.injectTimes&&r.props.injectTimes.sort(function(e,t){return e.getTime()-t.getTime()}),c=60*function(e){var t=new Date(e.getFullYear(),e.getMonth(),e.getDate()),r=new Date(e.getFullYear(),e.getMonth(),e.getDate(),24);return Math.round((+r-+t)/36e5)}(s),p=c/i,d=0;d<p;d++){var h=(0,te.z)(u,d*i);if(n.push(h),l){var f=Gt(u,h,d,i,l);n=n.concat(f)}}var D=n.reduce(function(e,t){return t.getTime()<=s.getTime()?t:e},n[0]);return n.map(function(e){return o.createElement("li",{key:e.valueOf(),onClick:r.handleClick.bind(r,e),className:r.liClasses(e),ref:function(t){e===D&&(r.centerLi=t)},onKeyDown:function(t){r.handleOnKeyDown(t,e)},tabIndex:e===D?0:-1,role:"option","aria-selected":r.isSelectedTime(e)?"true":void 0,"aria-disabled":r.isDisabledTime(e)?"true":void 0},ct(e,a,r.props.locale))})},r.renderTimeCaption=function(){return!1===r.props.showTimeCaption?o.createElement(o.Fragment,null):o.createElement("div",{className:"react-datepicker__header react-datepicker__header--time ".concat(r.props.showTimeSelectOnly?"react-datepicker__header--time--only":""),ref:function(e){r.header=e}},o.createElement("div",{className:"react-datepicker-time__header"},r.props.timeCaption))},r}return Ke(t,e),Object.defineProperty(t,"defaultProps",{get:function(){return{intervals:30,todayButton:null,timeCaption:"Time",showTimeCaption:!0}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.scrollToTheSelectedTime(),this.observeDatePickerHeightChanges()},t.prototype.componentWillUnmount=function(){var e;null===(e=this.resizeObserver)||void 0===e||e.disconnect()},t.prototype.observeDatePickerHeightChanges=function(){var e=this,t=this.props.monthRef;this.updateContainerHeight(),t&&(this.resizeObserver=new ResizeObserver(function(){e.updateContainerHeight()}),this.resizeObserver.observe(t))},t.prototype.updateContainerHeight=function(){if(this.props.monthRef&&this.header){var e=this.props.monthRef.clientHeight-this.header.clientHeight;this.state.height!==e&&this.setState({height:e})}},t.prototype.render=function(){var e,r=this,n=this.state.height;return o.createElement("div",{className:"react-datepicker__time-container ".concat((null!==(e=this.props.todayButton)&&void 0!==e?e:t.defaultProps.todayButton)?"react-datepicker__time-container--with-today-button":"")},this.renderTimeCaption(),o.createElement("div",{className:"react-datepicker__time"},o.createElement("div",{className:"react-datepicker__time-box"},o.createElement("ul",{className:"react-datepicker__time-list",ref:function(e){r.list=e},style:n?{height:n}:{},role:"listbox","aria-label":this.props.timeCaption},this.renderTimes()))))},t.calcCenterPosition=function(e,t){return t.offsetTop-(e/2-t.clientHeight/2)},t}(o.Component),Fr=function(e){function t(t){var r=e.call(this,t)||this;return r.YEAR_REFS=Xe([],Array(r.props.yearItemNumber),!0).map(function(){return(0,o.createRef)()}),r.isDisabled=function(e){return Tt(e,{minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,includeDates:r.props.includeDates,filterDate:r.props.filterDate})},r.isExcluded=function(e){return Pt(e,{excludeDates:r.props.excludeDates})},r.selectingDate=function(){var e;return null!==(e=r.props.selectingDate)&&void 0!==e?e:r.props.preSelection},r.updateFocusOnPaginate=function(e){window.requestAnimationFrame(function(){var t,n;null===(n=null===(t=r.YEAR_REFS[e])||void 0===t?void 0:t.current)||void 0===n||n.focus()})},r.handleYearClick=function(e,t){r.props.onDayClick&&r.props.onDayClick(e,t)},r.handleYearNavigation=function(e,t){var n,o,a,i,s=r.props,u=s.date,l=s.yearItemNumber;if(void 0!==u&&void 0!==l){var c=er(u,l).startPeriod;r.isDisabled(t)||r.isExcluded(t)||(null===(o=(n=r.props).setPreSelection)||void 0===o||o.call(n,t),e-c<0?r.updateFocusOnPaginate(l-(c-e)):e-c>=l?r.updateFocusOnPaginate(Math.abs(l-(e-c))):null===(i=null===(a=r.YEAR_REFS[e-c])||void 0===a?void 0:a.current)||void 0===i||i.focus())}},r.isSameDay=function(e,t){return wt(e,t)},r.isCurrentYear=function(e){return e===L(it())},r.isRangeStart=function(e){return r.props.startDate&&r.props.endDate&&kt(ce(it(),e),r.props.startDate)},r.isRangeEnd=function(e){return r.props.startDate&&r.props.endDate&&kt(ce(it(),e),r.props.endDate)},r.isInRange=function(e){return Rt(e,r.props.startDate,r.props.endDate)},r.isInSelectingRange=function(e){var t=r.props,n=t.selectsStart,o=t.selectsEnd,a=t.selectsRange,i=t.startDate,s=t.endDate;return!(!(n||o||a)||!r.selectingDate())&&(n&&s?Rt(e,r.selectingDate(),s):(o&&i||!(!a||!i||s))&&Rt(e,i,r.selectingDate()))},r.isSelectingRangeStart=function(e){var t;if(!r.isInSelectingRange(e))return!1;var n=r.props,o=n.startDate,a=n.selectsStart,i=ce(it(),e);return kt(i,a?null!==(t=r.selectingDate())&&void 0!==t?t:null:null!==o&&void 0!==o?o:null)},r.isSelectingRangeEnd=function(e){var t;if(!r.isInSelectingRange(e))return!1;var n=r.props,o=n.endDate,a=n.selectsEnd,i=n.selectsRange,s=ce(it(),e);return kt(s,a||i?null!==(t=r.selectingDate())&&void 0!==t?t:null:null!==o&&void 0!==o?o:null)},r.isKeyboardSelected=function(e){if(!r.props.disabledKeyboardNavigation&&void 0!==r.props.date&&null!=r.props.preSelection){var t=r.props,n=t.minDate,o=t.maxDate,a=t.excludeDates,i=t.includeDates,s=t.filterDate,u=t.selected,l=mt(ce(r.props.date,e)),c=(n||o||a||i||s)&&It(e,r.props),p=!!u&&wt(l,mt(u)),d=wt(l,mt(r.props.preSelection));return!r.props.inline&&!p&&d&&!c}},r.isSelectedYear=function(e){var t=r.props,n=t.selectsMultiple,o=t.selected,a=t.selectedDates;return n?null===a||void 0===a?void 0:a.some(function(t){return e===L(t)}):!!o&&e===L(o)},r.onYearClick=function(e,t){var n=r.props.date;void 0!==n&&r.handleYearClick(mt(ce(n,t)),e)},r.onYearKeyDown=function(e,t){var n,o,a=e.key,i=r.props,s=i.date,u=i.yearItemNumber,l=i.handleOnKeyDown;if(a!==Qe.Tab&&e.preventDefault(),!r.props.disabledKeyboardNavigation)switch(a){case Qe.Enter:if(null==r.props.selected)break;r.onYearClick(e,t),null===(o=(n=r.props).setPreSelection)||void 0===o||o.call(n,r.props.selected);break;case Qe.ArrowRight:if(null==r.props.preSelection)break;r.handleYearNavigation(t+1,(0,Z.e)(r.props.preSelection,1));break;case Qe.ArrowLeft:if(null==r.props.preSelection)break;r.handleYearNavigation(t-1,X(r.props.preSelection,1));break;case Qe.ArrowUp:if(void 0===s||void 0===u||null==r.props.preSelection)break;var c=er(s,u).startPeriod;if((h=t-(d=3))<c){var p=u%d;t>=c&&t<c+p?d=p:d+=p,h=t-d}r.handleYearNavigation(h,X(r.props.preSelection,d));break;case Qe.ArrowDown:if(void 0===s||void 0===u||null==r.props.preSelection)break;var d,h,f=er(s,u).endPeriod;if((h=t+(d=3))>f){p=u%d;t<=f&&t>f-p?d=p:d+=p,h=t+d}r.handleYearNavigation(h,(0,Z.e)(r.props.preSelection,d))}l&&l(e)},r.getYearClassNames=function(e){var t=r.props,o=t.date,a=t.disabled,i=t.minDate,s=t.maxDate,u=t.excludeDates,l=t.includeDates,c=t.filterDate,p=t.yearClassName;return(0,n.$)("react-datepicker__year-text","react-datepicker__year-".concat(e),o?null===p||void 0===p?void 0:p(ce(o,e)):void 0,{"react-datepicker__year-text--selected":r.isSelectedYear(e),"react-datepicker__year-text--disabled":(i||s||u||l||c||a)&&It(e,r.props),"react-datepicker__year-text--keyboard-selected":r.isKeyboardSelected(e),"react-datepicker__year-text--range-start":r.isRangeStart(e),"react-datepicker__year-text--range-end":r.isRangeEnd(e),"react-datepicker__year-text--in-range":r.isInRange(e),"react-datepicker__year-text--in-selecting-range":r.isInSelectingRange(e),"react-datepicker__year-text--selecting-range-start":r.isSelectingRangeStart(e),"react-datepicker__year-text--selecting-range-end":r.isSelectingRangeEnd(e),"react-datepicker__year-text--today":r.isCurrentYear(e)})},r.getYearTabIndex=function(e){if(r.props.disabledKeyboardNavigation||null==r.props.preSelection)return"-1";var t=L(r.props.preSelection),n=It(e,r.props);return e!==t||n?"-1":"0"},r.getYearContent=function(e){return r.props.renderYearContent?r.props.renderYearContent(e):e},r}return Ke(t,e),t.prototype.render=function(){var e=this,t=[],r=this.props,n=r.date,a=r.yearItemNumber,i=r.onYearMouseEnter,s=r.onYearMouseLeave;if(void 0===n)return null;for(var u=er(n,a),l=u.startPeriod,c=u.endPeriod,p=function(r){t.push(o.createElement("div",{ref:d.YEAR_REFS[r-l],onClick:function(t){e.onYearClick(t,r)},onKeyDown:function(t){ar(t)&&(t.preventDefault(),t.key=Qe.Enter),e.onYearKeyDown(t,r)},tabIndex:Number(d.getYearTabIndex(r)),className:d.getYearClassNames(r),onMouseEnter:d.props.usePointerEvent?void 0:function(e){return i(e,r)},onPointerEnter:d.props.usePointerEvent?function(e){return i(e,r)}:void 0,onMouseLeave:d.props.usePointerEvent?void 0:function(e){return s(e,r)},onPointerLeave:d.props.usePointerEvent?function(e){return s(e,r)}:void 0,key:r,"aria-current":d.isCurrentYear(r)?"date":void 0},d.getYearContent(r)))},d=this,h=l;h<=c;h++)p(h);return o.createElement("div",{className:"react-datepicker__year"},o.createElement("div",{className:"react-datepicker__year-wrapper",onMouseLeave:this.props.usePointerEvent?void 0:this.props.clearSelectingDate,onPointerLeave:this.props.usePointerEvent?this.props.clearSelectingDate:void 0},t))},t}(o.Component);function wr(e,t,r,n){for(var o=[],a=0;a<2*t+1;a++){var i=e+t-a,s=!0;r&&(s=L(r)<=i),n&&s&&(s=L(n)>=i),s&&o.push(i)}return o}var Er=function(e){function t(t){var r=e.call(this,t)||this;r.yearOptionButtonsRef={},r.handleOptionKeyDown=function(e,t){var n;switch(t.key){case"Enter":t.preventDefault(),r.onChange(e);break;case"Escape":t.preventDefault(),r.props.onCancel();break;case"ArrowUp":case"ArrowDown":t.preventDefault();var o=e+("ArrowUp"===t.key?1:-1);r.yearOptionButtonsRef[o]&&(null===(n=r.yearOptionButtonsRef[o])||void 0===n||n.focus())}},r.renderOptions=function(){r.yearOptionButtonsRef={};var e=r.props.year,t=r.state.yearsList.map(function(t){return o.createElement("div",{ref:function(n){r.yearOptionButtonsRef[t]=n,t===e&&(null===n||void 0===n||n.focus())},role:"button",tabIndex:0,className:e===t?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:t,onClick:r.onChange.bind(r,t),onKeyDown:r.handleOptionKeyDown.bind(r,t),"aria-selected":e===t?"true":void 0},e===t?o.createElement("span",{className:"react-datepicker__year-option--selected"},"\u2713"):"",t)}),n=r.props.minDate?L(r.props.minDate):null,a=r.props.maxDate?L(r.props.maxDate):null;return a&&r.state.yearsList.find(function(e){return e===a})||t.unshift(o.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:r.incrementYears},o.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),n&&r.state.yearsList.find(function(e){return e===n})||t.push(o.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:r.decrementYears},o.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),t},r.onChange=function(e){r.props.onChange(e)},r.handleClickOutside=function(){r.props.onCancel()},r.shiftYears=function(e){var t=r.state.yearsList.map(function(t){return t+e});r.setState({yearsList:t})},r.incrementYears=function(){return r.shiftYears(1)},r.decrementYears=function(){return r.shiftYears(-1)};var n=t.yearDropdownItemNumber,a=t.scrollableYearDropdown,i=n||(a?10:5);return r.state={yearsList:wr(r.props.year,i,r.props.minDate,r.props.maxDate)},r.dropdownRef=(0,o.createRef)(),r}return Ke(t,e),t.prototype.componentDidMount=function(){var e=this.dropdownRef.current;if(e){var t=e.children?Array.from(e.children):null,r=t?t.find(function(e){return e.ariaSelected}):null;e.scrollTop=r&&r instanceof HTMLElement?r.offsetTop+(r.clientHeight-e.clientHeight)/2:(e.scrollHeight-e.clientHeight)/2}},t.prototype.render=function(){var e=(0,n.$)({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return o.createElement(Je,{className:e,containerRef:this.dropdownRef,onClickOutside:this.handleClickOutside},this.renderOptions())},t}(o.Component),_r=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(){for(var e=t.props.minDate?L(t.props.minDate):1900,r=t.props.maxDate?L(t.props.maxDate):2100,n=[],a=e;a<=r;a++)n.push(o.createElement("option",{key:a,value:a},a));return n},t.onSelectChange=function(e){t.onChange(parseInt(e.target.value))},t.renderSelectMode=function(){return o.createElement("select",{value:t.props.year,className:"react-datepicker__year-select",onChange:t.onSelectChange},t.renderSelectOptions())},t.renderReadView=function(e){return o.createElement("button",{key:"read",type:"button",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__year-read-view",onClick:t.toggleDropdown},o.createElement("span",{className:"react-datepicker__year-read-view--down-arrow"}),o.createElement("span",{className:"react-datepicker__year-read-view--selected-year"},t.props.year))},t.renderDropdown=function(){return o.createElement(Er,Ze({key:"dropdown"},t.props,{onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(){var e=t.state.dropdownVisible,r=[t.renderReadView(!e)];return e&&r.unshift(t.renderDropdown()),r},t.onChange=function(e){t.toggleDropdown(),e!==t.props.year&&t.props.onChange(e)},t.toggleDropdown=function(e){t.setState({dropdownVisible:!t.state.dropdownVisible},function(){t.props.adjustDateOnChange&&t.handleYearChange(t.props.date,e)})},t.handleYearChange=function(e,r){var n;null===(n=t.onSelect)||void 0===n||n.call(t,e,r),t.setOpen()},t.onSelect=function(e,r){var n,o;null===(o=(n=t.props).onSelect)||void 0===o||o.call(n,e,r)},t.setOpen=function(){var e,r;null===(r=(e=t.props).setOpen)||void 0===r||r.call(e,!0)},t}return Ke(t,e),t.prototype.render=function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return o.createElement("div",{className:"react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--".concat(this.props.dropdownMode)},e)},t}(o.Component),Sr=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"],xr="react-datepicker-ignore-onclickoutside",Ar=function(e){function t(r){var a=e.call(this,r)||this;return a.monthContainer=void 0,a.handleClickOutside=function(e){a.props.onClickOutside(e)},a.setClickOutsideRef=function(){return a.containerRef.current},a.handleDropdownFocus=function(e){var t,r;(function(e){var t=(e.className||"").split(/\s+/);return Sr.some(function(e){return t.indexOf(e)>=0})})(e.target)&&(null===(r=(t=a.props).onDropdownFocus)||void 0===r||r.call(t,e))},a.getDateInView=function(){var e=a.props,t=e.preSelection,r=e.selected,n=e.openToDate,o=Kt(a.props),i=Zt(a.props),s=it(),u=n||r||t;return u||(o&&(0,oe.Y)(s,o)?o:i&&ne(s,i)?i:s)},a.increaseMonth=function(){a.setState(function(e){var t=e.date;return{date:(0,U.P)(t,1)}},function(){return a.handleMonthChange(a.state.date)})},a.decreaseMonth=function(){a.setState(function(e){var t=e.date;return{date:(0,H.a)(t,1)}},function(){return a.handleMonthChange(a.state.date)})},a.handleDayClick=function(e,t,r){a.props.onSelect(e,t,r),a.props.setPreSelection&&a.props.setPreSelection(e)},a.handleDayMouseEnter=function(e){a.setState({selectingDate:e}),a.props.onDayMouseEnter&&a.props.onDayMouseEnter(e)},a.handleMonthMouseLeave=function(){a.setState({selectingDate:void 0}),a.props.onMonthMouseLeave&&a.props.onMonthMouseLeave()},a.handleYearMouseEnter=function(e,t){a.setState({selectingDate:ce(it(),t)}),a.props.onYearMouseEnter&&a.props.onYearMouseEnter(e,t)},a.handleYearMouseLeave=function(e,t){a.props.onYearMouseLeave&&a.props.onYearMouseLeave(e,t)},a.handleYearChange=function(e){var t,r,n,o;null===(r=(t=a.props).onYearChange)||void 0===r||r.call(t,e),a.setState({isRenderAriaLiveMessage:!0}),a.props.adjustDateOnChange&&(a.props.onSelect(e),null===(o=(n=a.props).setOpen)||void 0===o||o.call(n,!0)),a.props.setPreSelection&&a.props.setPreSelection(e)},a.getEnabledPreSelectionDateForMonth=function(e){if(!Tt(e,a.props))return e;for(var t=Dt(e),r=bt(e),n=(0,pe.c)(r,t),o=null,i=0;i<=n;i++){var s=(0,se.f)(t,i);if(!Tt(s,a.props)){o=s;break}}return o},a.handleMonthChange=function(e){var t,r,n,o=null!==(t=a.getEnabledPreSelectionDateForMonth(e))&&void 0!==t?t:e;a.handleCustomMonthChange(o),a.props.adjustDateOnChange&&(a.props.onSelect(o),null===(n=(r=a.props).setOpen)||void 0===n||n.call(r,!0)),a.props.setPreSelection&&a.props.setPreSelection(o)},a.handleCustomMonthChange=function(e){var t,r;null===(r=(t=a.props).onMonthChange)||void 0===r||r.call(t,e),a.setState({isRenderAriaLiveMessage:!0})},a.handleMonthYearChange=function(e){a.handleYearChange(e),a.handleMonthChange(e)},a.changeYear=function(e){a.setState(function(t){return{date:ce(t.date,Number(e))}},function(){return a.handleYearChange(a.state.date)})},a.changeMonth=function(e){a.setState(function(t){return{date:B(t.date,Number(e))}},function(){var e,t;a.handleMonthChange(a.state.date),null===(t=(e=a.props).onMonthSelectedInChange)||void 0===t||t.call(e,0)})},a.changeMonthYear=function(e){a.setState(function(t){return{date:ce(B(t.date,O(e)),L(e))}},function(){return a.handleMonthYearChange(a.state.date)})},a.header=function(e,t){if(void 0===e&&(e=a.state.date),void 0===t&&(t=0),!ut(e))return[];var r=a.props.disabled,i=ft(e,a.props.locale,a.props.calendarStartDay),s=[];return a.props.showWeekNumbers&&s.push(o.createElement("div",{key:"W",className:"react-datepicker__day-name ".concat(r?"react-datepicker__day-name--disabled":""),role:"columnheader"},o.createElement("span",{className:"react-datepicker__sr-only"},"Week number"),o.createElement("span",{"aria-hidden":"true"},a.props.weekLabel||"#"))),s.concat([0,1,2,3,4,5,6].map(function(e){var s=(0,se.f)(i,e),u=a.formatWeekday(s,a.props.locale),l=ct(s,"EEEE",a.props.locale),c=a.props.weekDayClassName?a.props.weekDayClassName(s):void 0;if(a.props.renderCustomDayName){var p=a.props.renderCustomDayName({day:s,shortName:u,fullName:l,locale:a.props.locale,customDayNameCount:t});return o.createElement("div",{key:e,role:"columnheader",className:(0,n.$)("react-datepicker__day-name",c,r?"react-datepicker__day-name--disabled":"")},p)}return o.createElement("div",{key:e,role:"columnheader",className:(0,n.$)("react-datepicker__day-name",c,r?"react-datepicker__day-name--disabled":"")},o.createElement("span",{className:"react-datepicker__sr-only"},l),o.createElement("span",{"aria-hidden":"true"},u))}))},a.formatWeekday=function(e,t){return a.props.formatWeekDay?function(e,t,r){return t(ct(e,"EEEE",r))}(e,a.props.formatWeekDay,t):a.props.useWeekdaysShort?function(e,t){return ct(e,"EEE",t)}(e,t):function(e,t){return ct(e,"EEEEEE",t)}(e,t)},a.decreaseYear=function(){a.setState(function(e){var r;return{date:X(e.date,a.props.showYearPicker?null!==(r=a.props.yearItemNumber)&&void 0!==r?r:t.defaultProps.yearItemNumber:1)}},function(){return a.handleYearChange(a.state.date)})},a.clearSelectingDate=function(){a.setState({selectingDate:void 0})},a.renderPreviousButton=function(){var e,r,n;if(!a.props.renderCustomHeader){var i,s=null!==(e=a.props.monthsShown)&&void 0!==e?e:t.defaultProps.monthsShown,u=a.props.showPreviousMonths?s-1:0,l=null!==(r=a.props.monthSelectedIn)&&void 0!==r?r:u,c=(0,H.a)(a.state.date,l);switch(!0){case a.props.disabled:i=!0;break;case a.props.showMonthYearPicker:i=$t(a.state.date,a.props);break;case a.props.showYearPicker:i=function(e,t){var r=void 0===t?{}:t,n=r.minDate,o=r.yearItemNumber,a=void 0===o?12:o,i=er(mt(X(e,a)),a).endPeriod,s=n&&L(n);return s&&s>i||!1}(a.state.date,a.props);break;case a.props.showQuarterYearPicker:i=function(e,t){var r=void 0===t?{}:t,n=r.minDate,o=r.includeDates,a=V((0,v.D)(e),1);return n&&K(n,a)>0||o&&o.every(function(e){return K(e,a)>0})||!1}(a.state.date,a.props);break;default:i=Wt(c,a.props)}if(((null!==(n=a.props.forceShowMonthNavigation)&&void 0!==n?n:t.defaultProps.forceShowMonthNavigation)||a.props.showDisabledMonthNavigation||!i)&&!a.props.showTimeSelectOnly){var p=["react-datepicker__navigation","react-datepicker__navigation--previous"],d=a.decreaseMonth;(a.props.showMonthYearPicker||a.props.showQuarterYearPicker||a.props.showYearPicker)&&(d=a.decreaseYear),i&&a.props.showDisabledMonthNavigation&&(p.push("react-datepicker__navigation--previous--disabled"),d=void 0);var h=a.props.showMonthYearPicker||a.props.showQuarterYearPicker||a.props.showYearPicker,f=a.props,D=f.previousMonthButtonLabel,m=void 0===D?t.defaultProps.previousMonthButtonLabel:D,y=f.previousYearButtonLabel,g=void 0===y?t.defaultProps.previousYearButtonLabel:y,b=a.props,k=b.previousMonthAriaLabel,C=void 0===k?"string"===typeof m?m:"Previous Month":k,F=b.previousYearAriaLabel,w=void 0===F?"string"===typeof g?g:"Previous Year":F;return o.createElement("button",{type:"button",className:p.join(" "),onClick:d,onKeyDown:a.props.handleOnKeyDown,"aria-label":h?w:C},o.createElement("span",{className:["react-datepicker__navigation-icon","react-datepicker__navigation-icon--previous"].join(" ")},h?g:m))}}},a.increaseYear=function(){a.setState(function(e){var r,n=e.date;return{date:(0,Z.e)(n,a.props.showYearPicker?null!==(r=a.props.yearItemNumber)&&void 0!==r?r:t.defaultProps.yearItemNumber:1)}},function(){return a.handleYearChange(a.state.date)})},a.renderNextButton=function(){var e;if(!a.props.renderCustomHeader){var r;switch(!0){case a.props.disabled:r=!0;break;case a.props.showMonthYearPicker:r=Vt(a.state.date,a.props);break;case a.props.showYearPicker:r=function(e,t){var r=void 0===t?{}:t,n=r.maxDate,o=r.yearItemNumber,a=void 0===o?12:o,i=er((0,Z.e)(e,a),a).startPeriod,s=n&&L(n);return s&&s<i||!1}(a.state.date,a.props);break;case a.props.showQuarterYearPicker:r=function(e,t){var r=void 0===t?{}:t,n=r.maxDate,o=r.includeDates,a=(0,R.Q)(e),i=(0,$.z)(a,1);return n&&K(i,n)>0||o&&o.every(function(e){return K(i,e)>0})||!1}(a.state.date,a.props);break;default:r=Ut(a.state.date,a.props)}if(((null!==(e=a.props.forceShowMonthNavigation)&&void 0!==e?e:t.defaultProps.forceShowMonthNavigation)||a.props.showDisabledMonthNavigation||!r)&&!a.props.showTimeSelectOnly){var n=["react-datepicker__navigation","react-datepicker__navigation--next"];a.props.showTimeSelect&&n.push("react-datepicker__navigation--next--with-time"),a.props.todayButton&&n.push("react-datepicker__navigation--next--with-today-button");var i=a.increaseMonth;(a.props.showMonthYearPicker||a.props.showQuarterYearPicker||a.props.showYearPicker)&&(i=a.increaseYear),r&&a.props.showDisabledMonthNavigation&&(n.push("react-datepicker__navigation--next--disabled"),i=void 0);var s=a.props.showMonthYearPicker||a.props.showQuarterYearPicker||a.props.showYearPicker,u=a.props,l=u.nextMonthButtonLabel,c=void 0===l?t.defaultProps.nextMonthButtonLabel:l,p=u.nextYearButtonLabel,d=void 0===p?t.defaultProps.nextYearButtonLabel:p,h=a.props,f=h.nextMonthAriaLabel,D=void 0===f?"string"===typeof c?c:"Next Month":f,m=h.nextYearAriaLabel,y=void 0===m?"string"===typeof d?d:"Next Year":m;return o.createElement("button",{type:"button",className:n.join(" "),onClick:i,onKeyDown:a.props.handleOnKeyDown,"aria-label":s?y:D},o.createElement("span",{className:["react-datepicker__navigation-icon","react-datepicker__navigation-icon--next"].join(" ")},s?d:c))}}},a.renderCurrentMonth=function(e){void 0===e&&(e=a.state.date);var t=["react-datepicker__current-month"];return a.props.showYearDropdown&&t.push("react-datepicker__current-month--hasYearDropdown"),a.props.showMonthDropdown&&t.push("react-datepicker__current-month--hasMonthDropdown"),a.props.showMonthYearDropdown&&t.push("react-datepicker__current-month--hasMonthYearDropdown"),o.createElement("h2",{className:t.join(" ")},ut(e)?ct(e,a.props.dateFormat,a.props.locale):"")},a.renderYearDropdown=function(e){if(void 0===e&&(e=!1),a.props.showYearDropdown&&!e)return o.createElement(_r,Ze({},t.defaultProps,a.props,{date:a.state.date,onChange:a.changeYear,year:L(a.state.date)}))},a.renderMonthDropdown=function(e){if(void 0===e&&(e=!1),a.props.showMonthDropdown&&!e)return o.createElement(gr,Ze({},t.defaultProps,a.props,{month:O(a.state.date),onChange:a.changeMonth}))},a.renderMonthYearDropdown=function(e){if(void 0===e&&(e=!1),a.props.showMonthYearDropdown&&!e)return o.createElement(kr,Ze({},t.defaultProps,a.props,{date:a.state.date,onChange:a.changeMonthYear}))},a.handleTodayButtonClick=function(e){a.props.onSelect(gt(),e),a.props.setPreSelection&&a.props.setPreSelection(gt())},a.renderTodayButton=function(){if(a.props.todayButton&&!a.props.showTimeSelectOnly)return o.createElement("div",{className:"react-datepicker__today-button",onClick:a.handleTodayButtonClick},a.props.todayButton)},a.renderDayNamesHeader=function(e,t){return void 0===t&&(t=0),o.createElement("div",{className:"react-datepicker__day-names",role:"row"},a.header(e,t))},a.renderDefaultHeader=function(e){var t=e.monthDate,r=e.i,i=o.createElement("div",{className:(0,n.$)("react-datepicker__header",{"react-datepicker__header--has-time-select":a.props.showTimeSelect,"react-datepicker__header--middle":"middle"===a.props.monthHeaderPosition,"react-datepicker__header--bottom":"bottom"===a.props.monthHeaderPosition})},a.renderCurrentMonth(t),o.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(a.props.dropdownMode),onFocus:a.handleDropdownFocus},a.renderMonthDropdown(0!==r),a.renderMonthYearDropdown(0!==r),a.renderYearDropdown(0!==r)));return"top"===a.props.monthHeaderPosition?i:o.createElement("div",{className:"react-datepicker__header-wrapper"},a.renderPreviousButton()||null,a.renderNextButton()||null,i)},a.renderCustomHeader=function(e){var t,r,n=e.monthDate,i=e.i;if(a.props.showTimeSelect&&!a.state.monthContainer||a.props.showTimeSelectOnly)return null;var s,u=a.props,l=u.showYearPicker,c=u.yearItemNumber;if(l){var p=er(n,c);s={startYear:p.startPeriod,endYear:p.endPeriod}}var d=Wt(a.state.date,a.props),h=Ut(a.state.date,a.props),f=$t(a.state.date,a.props),D=Vt(a.state.date,a.props);return o.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:a.props.onDropdownFocus},null===(r=(t=a.props).renderCustomHeader)||void 0===r?void 0:r.call(t,Ze(Ze(Ze({},a.state),l&&{visibleYearsRange:s}),{customHeaderCount:i,monthDate:n,changeMonth:a.changeMonth,changeYear:a.changeYear,decreaseMonth:a.decreaseMonth,increaseMonth:a.increaseMonth,decreaseYear:a.decreaseYear,increaseYear:a.increaseYear,prevMonthButtonDisabled:d,nextMonthButtonDisabled:h,prevYearButtonDisabled:f,nextYearButtonDisabled:D})))},a.renderYearHeader=function(e){var r=e.monthDate,n=a.props,i=n.showYearPicker,s=n.yearItemNumber,u=er(r,void 0===s?t.defaultProps.yearItemNumber:s),l=u.startPeriod,c=u.endPeriod;return o.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},i?"".concat(l," - ").concat(c):L(r))},a.renderHeader=function(e){var t=e.monthDate,r=e.i,n={monthDate:t,i:void 0===r?0:r};switch(!0){case void 0!==a.props.renderCustomHeader:return a.renderCustomHeader(n);case a.props.showMonthYearPicker||a.props.showQuarterYearPicker||a.props.showYearPicker:return a.renderYearHeader(n);default:return a.renderDefaultHeader(n)}},a.renderMonths=function(){var e,r;if(!a.props.showTimeSelectOnly&&!a.props.showYearPicker){for(var n=[],i=null!==(e=a.props.monthsShown)&&void 0!==e?e:t.defaultProps.monthsShown,s=a.props.showPreviousMonths?i-1:0,u=a.props.showMonthYearPicker||a.props.showQuarterYearPicker?(0,Z.e)(a.state.date,s):(0,H.a)(a.state.date,s),l=null!==(r=a.props.monthSelectedIn)&&void 0!==r?r:s,c=0;c<i;++c){var p=c-l+s,d=a.props.showMonthYearPicker||a.props.showQuarterYearPicker?(0,Z.e)(u,p):(0,U.P)(u,p),h="month-".concat(c),f=c<i-1,D=c>0;n.push(o.createElement("div",{key:h,ref:function(e){a.monthContainer=null!==e&&void 0!==e?e:void 0},className:"react-datepicker__month-container"},"top"===a.props.monthHeaderPosition&&a.renderHeader({monthDate:d,i:c}),o.createElement(mr,Ze({},t.defaultProps,a.props,{containerRef:a.containerRef,ariaLabelPrefix:a.props.monthAriaLabelPrefix,day:d,onDayClick:a.handleDayClick,handleOnKeyDown:a.props.handleOnDayKeyDown,handleOnMonthKeyDown:a.props.handleOnKeyDown,onDayMouseEnter:a.handleDayMouseEnter,onMouseLeave:a.handleMonthMouseLeave,orderInDisplay:c,selectingDate:a.state.selectingDate,monthShowsDuplicateDaysEnd:f,monthShowsDuplicateDaysStart:D,dayNamesHeader:a.renderDayNamesHeader(d,c),monthHeader:"middle"===a.props.monthHeaderPosition?a.renderHeader({monthDate:d,i:c}):void 0,monthFooter:"bottom"===a.props.monthHeaderPosition?a.renderHeader({monthDate:d,i:c}):void 0}))))}return n}},a.renderYears=function(){if(!a.props.showTimeSelectOnly)return a.props.showYearPicker?o.createElement("div",{className:"react-datepicker__year--container"},a.renderHeader({monthDate:a.state.date}),o.createElement(Fr,Ze({},t.defaultProps,a.props,{selectingDate:a.state.selectingDate,date:a.state.date,onDayClick:a.handleDayClick,clearSelectingDate:a.clearSelectingDate,onYearMouseEnter:a.handleYearMouseEnter,onYearMouseLeave:a.handleYearMouseLeave}))):void 0},a.renderTimeSection=function(){if(a.props.showTimeSelect&&(a.state.monthContainer||a.props.showTimeSelectOnly))return o.createElement(Cr,Ze({},t.defaultProps,a.props,{onChange:a.props.onTimeChange,format:a.props.timeFormat,intervals:a.props.timeIntervals,monthRef:a.state.monthContainer}))},a.renderInputTimeSection=function(){var e,r;if(a.props.showTimeInput){if(a.props.selectsRange){var n=a.props,i=n.startDate,s=n.endDate,u=i?new Date(i):void 0,l=u&&ut(u)&&Boolean(i)?"".concat(Jt(u.getHours()),":").concat(Jt(u.getMinutes())):"",c=s?new Date(s):void 0,p=c&&ut(c)&&Boolean(s)?"".concat(Jt(c.getHours()),":").concat(Jt(c.getMinutes())):"";return o.createElement(o.Fragment,null,o.createElement(sr,Ze({},t.defaultProps,a.props,{date:u,timeString:l,onChange:function(e){var t,r;null===(r=(t=a.props).onTimeChange)||void 0===r||r.call(t,e,"start")},timeInputLabel:(null!==(e=a.props.timeInputLabel)&&void 0!==e?e:"Time")+" (Start)"})),o.createElement(sr,Ze({},t.defaultProps,a.props,{date:c,timeString:p,onChange:function(e){var t,r;null===(r=(t=a.props).onTimeChange)||void 0===r||r.call(t,e,"end")},timeInputLabel:(null!==(r=a.props.timeInputLabel)&&void 0!==r?r:"Time")+" (End)"})))}var d=a.props.selected?new Date(a.props.selected):void 0,h=d&&ut(d)&&Boolean(a.props.selected)?"".concat(Jt(d.getHours()),":").concat(Jt(d.getMinutes())):"";return o.createElement(sr,Ze({},t.defaultProps,a.props,{date:d,timeString:h,onChange:function(e){var t,r;null===(r=(t=a.props).onTimeChange)||void 0===r||r.call(t,e)}}))}},a.renderAriaLiveRegion=function(){var e;if(!ut(a.state.date))return o.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"});var r,n=er(a.state.date,null!==(e=a.props.yearItemNumber)&&void 0!==e?e:t.defaultProps.yearItemNumber),i=n.startPeriod,s=n.endPeriod;return r=a.props.showYearPicker?"".concat(i," - ").concat(s):a.props.showMonthYearPicker||a.props.showQuarterYearPicker?L(a.state.date):"".concat(At(O(a.state.date),a.props.locale)," ").concat(L(a.state.date)),o.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},a.state.isRenderAriaLiveMessage&&r)},a.renderChildren=function(){if(a.props.children)return o.createElement("div",{className:"react-datepicker__children-container"},a.props.children)},a.containerRef=(0,o.createRef)(),a.state={date:a.getDateInView(),selectingDate:void 0,monthContainer:void 0,isRenderAriaLiveMessage:!1},a}return Ke(t,e),Object.defineProperty(t,"defaultProps",{get:function(){return{monthsShown:1,forceShowMonthNavigation:!1,outsideClickIgnoreClass:xr,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",yearItemNumber:12,monthHeaderPosition:"top"}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){var e=this;this.props.showTimeSelect&&(this.assignMonthContainer=void e.setState({monthContainer:e.monthContainer}))},t.prototype.componentDidUpdate=function(e){var t=this;if(!this.props.preSelection||!ut(this.props.preSelection)||wt(this.props.preSelection,e.preSelection)&&this.props.monthSelectedIn===e.monthSelectedIn)this.props.openToDate&&!wt(this.props.openToDate,e.openToDate)&&this.setState({date:this.props.openToDate});else{var r=!Ct(this.state.date,this.props.preSelection);this.setState({date:this.props.preSelection},function(){return r&&t.handleCustomMonthChange(t.state.date)})}},t.prototype.render=function(){var e=this.props.container||Ge;return o.createElement(Je,{onClickOutside:this.handleClickOutside,style:{display:"contents"},ignoreClass:this.props.outsideClickIgnoreClass},o.createElement("div",{style:{display:"contents"},ref:this.containerRef},o.createElement(e,{className:(0,n.$)("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showTime:this.props.showTimeSelect||this.props.showTimeInput,showTimeSelectOnly:this.props.showTimeSelectOnly,inline:this.props.inline},this.renderAriaLiveRegion(),"top"===this.props.monthHeaderPosition&&this.renderPreviousButton(),"top"===this.props.monthHeaderPosition&&this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.renderChildren())))},t}(o.Component),Mr=function(e){var t=e.icon,r=e.className,n=void 0===r?"":r,a=e.onClick,i="react-datepicker__calendar-icon";if("string"===typeof t)return o.createElement("i",{className:"".concat(i," ").concat(t," ").concat(n),"aria-hidden":"true",onClick:a});if(o.isValidElement(t)){var s=t;return o.cloneElement(s,{className:"".concat(s.props.className||""," ").concat(i," ").concat(n),onClick:function(e){"function"===typeof s.props.onClick&&s.props.onClick(e),"function"===typeof a&&a(e)}})}return o.createElement("svg",{className:"".concat(i," ").concat(n),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",onClick:a},o.createElement("path",{d:"M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"}))},Tr=function(e){function t(t){var r=e.call(this,t)||this;return r.portalRoot=null,r.el=document.createElement("div"),r}return Ke(t,e),t.prototype.componentDidMount=function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)},t.prototype.componentWillUnmount=function(){this.portalRoot&&this.portalRoot.removeChild(this.el)},t.prototype.render=function(){return ge.createPortal(this.props.children,this.el)},t}(o.Component),Pr=function(e){return(e instanceof HTMLAnchorElement||!e.disabled)&&-1!==e.tabIndex},Br=function(e){function t(t){var r=e.call(this,t)||this;return r.getTabChildren=function(){var e;return Array.prototype.slice.call(null===(e=r.tabLoopRef.current)||void 0===e?void 0:e.querySelectorAll("[tabindex], a, button, input, select, textarea"),1,-1).filter(Pr)},r.handleFocusStart=function(){var e=r.getTabChildren();e&&e.length>1&&e[e.length-1].focus()},r.handleFocusEnd=function(){var e=r.getTabChildren();e&&e.length>1&&e[0].focus()},r.tabLoopRef=(0,o.createRef)(),r}return Ke(t,e),t.prototype.render=function(){var e;return(null!==(e=this.props.enableTabLoop)&&void 0!==e?e:t.defaultProps.enableTabLoop)?o.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},o.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:0,onFocus:this.handleFocusStart}),this.props.children,o.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:0,onFocus:this.handleFocusEnd})):this.props.children},t.defaultProps={enableTabLoop:!0},t}(o.Component);var Nr=function(e){function t(t){var r,n="boolean"!==typeof t.hidePopper||t.hidePopper,a=(0,o.useRef)(null),i=$e(Ze({open:!n,whileElementsMounted:ve.ll,placement:t.popperPlacement,middleware:Xe([_e({padding:15}),Ee(10),Se({element:a})],null!==(r=t.popperModifiers)&&void 0!==r?r:[],!0)},t.popperProps)),s=Ze(Ze({},t),{hidePopper:n,popperProps:Ze(Ze({},i),{arrowRef:a})});return o.createElement(e,Ze({},s))}return t.displayName="withFloating(".concat(e.displayName||e.name||"Component",")"),t}(function(e){var t=e.className,r=e.wrapperClassName,a=e.hidePopper,i=void 0===a||a,s=e.popperComponent,u=e.targetComponent,l=e.enableTabLoop,c=e.popperOnKeyDown,p=e.portalId,d=e.portalHost,h=e.popperProps,f=e.showArrow,D=e.popperTargetRef,m=e.monthHeaderPosition;(0,o.useEffect)(function(){(null===D||void 0===D?void 0:D.current)&&h.refs.setPositionReference(D.current)},[D,h.refs]);var y=void 0;if(!i){var g=(0,n.$)("react-datepicker-popper",!f&&"react-datepicker-popper-offset","middle"===m&&"react-datepicker-popper--header-middle","bottom"===m&&"react-datepicker-popper--header-bottom",t);y=o.createElement(Br,{enableTabLoop:l},o.createElement("div",{ref:h.refs.setFloating,style:h.floatingStyles,className:g,"data-placement":h.placement,onKeyDown:c},s,f&&o.createElement(Ye,{ref:h.arrowRef,context:h.context,fill:"currentColor",strokeWidth:1,height:8,width:16,style:{transform:"translateY(-1px)"},className:"react-datepicker__triangle"})))}e.popperContainer&&(y=(0,o.createElement)(e.popperContainer,{},y)),p&&!i&&(y=o.createElement(Tr,{portalId:p,portalHost:d},y));var v=(0,n.$)("react-datepicker-wrapper",r);return o.createElement(o.Fragment,null,o.createElement("div",{ref:h.refs.setReference,className:v},u),y)});function Lr(e,t){return e&&t?O(e)!==O(t)||L(e)!==L(t):e!==t}var Or="Date input not valid.",Rr=function(e){function t(r){var a=e.call(this,r)||this;return a.calendar=null,a.input=null,a.getPreSelection=function(){var e=a.props.timeZone,t=a.props.openToDate?a.props.openToDate:a.props.selectsEnd&&a.props.startDate?a.props.startDate:a.props.selectsStart&&a.props.endDate?a.props.endDate:it();return e?nt(t,e):t},a.modifyHolidays=function(){var e;return null===(e=a.props.holidays)||void 0===e?void 0:e.reduce(function(e,t){var r=st(t.date,"yyyy-MM-dd",void 0,!1);return r?Xe(Xe([],e,!0),[Ze(Ze({},t),{date:r})],!1):e},[])},a.calcInitialState=function(){var e=a.props.timeZone,t=a.getPreSelection(),r=Kt(a.props),n=Zt(a.props),o=r&&(0,oe.Y)(t,ht(r))?r:n&&ne(t,vt(n))?n:t,i=a.props.selectsRange?a.props.startDate:a.props.selected;return i&&e&&(i=nt(i,e)),{open:a.props.startOpen||!1,preventFocus:!1,inputValue:null,preSelection:null!==i&&void 0!==i?i:o,highlightDates:Xt(a.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1,wasHidden:!1}},a.getInputValue=function(){var e,r=a.props,n=r.locale,o=r.startDate,i=r.endDate,s=r.rangeSeparator,u=r.selected,l=r.selectedDates,c=r.selectsMultiple,p=r.selectsRange,d=r.formatMultipleDates,h=r.value,f=null!==(e=a.props.dateFormat)&&void 0!==e?e:t.defaultProps.dateFormat,D=a.state.inputValue;if("string"===typeof h)return h;if("string"===typeof D)return D;if(p)return function(e,t,r){if(!e&&!t)return"";var n=e?pt(e,r):"",o=t?pt(t,r):"",a=r.rangeSeparator||" - ";return"".concat(n).concat(a).concat(o)}(o,i,{dateFormat:f,locale:n,rangeSeparator:s});if(c){if(d){return d(null!==l&&void 0!==l?l:[],function(e){return pt(e,{dateFormat:f,locale:n})})}return function(e,t){if(!(null===e||void 0===e?void 0:e.length))return"";var r=e[0]?pt(e[0],t):"";if(1===e.length)return r;if(2===e.length&&e[1]){var n=pt(e[1],t);return"".concat(r,", ").concat(n)}var o=e.length-1;return"".concat(r," (+").concat(o,")")}(null!==l&&void 0!==l?l:[],{dateFormat:f,locale:n})}return pt(u,{dateFormat:f,locale:n})},a.resetHiddenStatus=function(){a.setState(Ze(Ze({},a.state),{wasHidden:!1}))},a.setHiddenStatus=function(){a.setState(Ze(Ze({},a.state),{wasHidden:!0}))},a.setHiddenStateOnVisibilityHidden=function(){"hidden"===document.visibilityState&&a.setHiddenStatus()},a.clearPreventFocusTimeout=function(){a.preventFocusTimeout&&clearTimeout(a.preventFocusTimeout)},a.setFocus=function(){var e,t;null===(t=null===(e=a.input)||void 0===e?void 0:e.focus)||void 0===t||t.call(e,{preventScroll:!0})},a.setBlur=function(){var e,t;null===(t=null===(e=a.input)||void 0===e?void 0:e.blur)||void 0===t||t.call(e),a.cancelFocusInput()},a.deferBlur=function(){requestAnimationFrame(function(){a.setBlur()})},a.setOpen=function(e,t){void 0===t&&(t=!1),a.setState({open:e,preSelection:e&&a.state.open?a.state.preSelection:a.calcInitialState().preSelection,lastPreSelectChange:Yr},function(){e||a.setState(function(e){return{focused:!!t&&e.focused}},function(){!t&&a.deferBlur(),a.setState({inputValue:null})})})},a.inputOk=function(){return(0,c.$)(a.state.preSelection)},a.isCalendarOpen=function(){return void 0===a.props.open?a.state.open&&!a.props.disabled&&!a.props.readOnly:a.props.open},a.handleFocus=function(e){var t,r,n=a.state.wasHidden,o=!n||a.state.open;n&&a.resetHiddenStatus(),a.state.preventFocus||(null===(r=(t=a.props).onFocus)||void 0===r||r.call(t,e),!o||a.props.preventOpenOnFocus||a.props.readOnly||a.setOpen(!0)),a.setState({focused:!0})},a.sendFocusBackToInput=function(){a.preventFocusTimeout&&a.clearPreventFocusTimeout(),a.setState({preventFocus:!0},function(){a.preventFocusTimeout=setTimeout(function(){a.setFocus(),a.setState({preventFocus:!1})})})},a.cancelFocusInput=function(){clearTimeout(a.inputFocusTimeout),a.inputFocusTimeout=void 0},a.deferFocusInput=function(){a.cancelFocusInput(),a.inputFocusTimeout=setTimeout(function(){return a.setFocus()},1)},a.handleDropdownFocus=function(){a.cancelFocusInput()},a.resetInputValue=function(){a.setState(Ze(Ze({},a.state),{inputValue:null}))},a.handleBlur=function(e){var t,r;(!a.state.open||a.props.withPortal||a.props.showTimeInput)&&(null===(r=(t=a.props).onBlur)||void 0===r||r.call(t,e));var n=a.state.inputValue;"string"===typeof n&&n.length>0&&(!/[a-zA-Z0-9]/.test(n)&&a.props.selected&&a.setSelected(null,void 0,!0));a.resetInputValue(),a.state.open&&!1===a.props.open&&a.setOpen(!1),a.setState({focused:!1})},a.handleCalendarClickOutside=function(e){var t,r;null===(r=(t=a.props).onClickOutside)||void 0===r||r.call(t,e),a.props.inline||e.defaultPrevented||a.setOpen(!1),a.props.withPortal&&e.preventDefault()},a.handleChange=function(){for(var e,r,n,o,i,s,u,l,c=[],p=0;p<arguments.length;p++)c[p]=arguments[p];var d=c[0];if(!a.props.onChangeRaw||(a.props.onChangeRaw.apply(a,c),d&&"function"===typeof d.isDefaultPrevented&&!d.isDefaultPrevented())){a.setState({inputValue:(null===d||void 0===d?void 0:d.target)instanceof HTMLInputElement?d.target.value:null,lastPreSelectChange:Ir});var h=a.props,f=h.selectsRange,D=h.startDate,m=h.endDate,y=null!==(e=a.props.dateFormat)&&void 0!==e?e:t.defaultProps.dateFormat,g=null!==(r=a.props.strictParsing)&&void 0!==r?r:t.defaultProps.strictParsing,v=(null===d||void 0===d?void 0:d.target)instanceof HTMLInputElement?d.target.value:"";if(f){var b=a.props.rangeSeparator,k=b.trim(),C=v.split(y.includes(k)?b:k,2).map(function(e){return e.trim()}),F=C[0],w=C[1],E=st(null!==F&&void 0!==F?F:"",y,a.props.locale,g),_=E?st(null!==w&&void 0!==w?w:"",y,a.props.locale,g):null,S=(null===(n=lt(D))||void 0===n?void 0:n.getTime())!==(null===E||void 0===E?void 0:E.getTime()),x=(null===(o=lt(m))||void 0===o?void 0:o.getTime())!==(null===_||void 0===_?void 0:_.getTime());if(!S&&!x)return;if(E&&Tt(E,a.props))return;if(_&&Tt(_,a.props))return;E&&a.setState({preSelection:E}),null===(s=(i=a.props).onChange)||void 0===s||s.call(i,[E,_],d)}else{var A=st(v,y,a.props.locale,g,null!==(u=a.props.selected)&&void 0!==u?u:void 0);if(A||!v)a.setSelected(A,d,!0);else if(!a.props.inline){var M=function(e,t){if(void 0===t&&(t=it()),!e)return null;var r=e.match(/\b(1\d{3}|2\d{3})\b/);if(!r||!r[1])return null;var n=parseInt(r[1],10),o=e.match(/(?:^|[/\-\s])?(0?[1-9]|1[0-2])(?:[/\-\s]|$)/),a=o&&o[1]?parseInt(o[1],10)-1:t.getMonth();return new Date(n,a,1)}(v,null!==(l=a.state.preSelection)&&void 0!==l?l:void 0);!M||a.props.minDate&&(0,oe.Y)(M,a.props.minDate)||a.props.maxDate&&ne(M,a.props.maxDate)||a.setState({preSelection:M})}}}},a.handleSelect=function(e,r,n){var o;if(!a.props.readOnly){var i=a.props,s=i.selectsRange,u=i.startDate,l=i.endDate,c=i.locale,p=i.swapRange,d=null!==(o=a.props.dateFormat)&&void 0!==o?o:t.defaultProps.dateFormat,h=!s||u&&!l&&(p||!or(e,u));if(a.props.shouldCloseOnSelect&&!a.props.showTimeSelect&&h&&a.sendFocusBackToInput(),a.props.onChangeRaw){var f=pt(e,{dateFormat:d,locale:c});a.props.onChangeRaw(r,{date:e,formattedDate:f})}a.setSelected(e,r,!1,n),a.props.showDateSelect&&a.setState({isRenderAriaLiveMessage:!0}),!a.props.shouldCloseOnSelect||a.props.showTimeSelect?a.setPreSelection(e):h&&a.setOpen(!1)}},a.setSelected=function(e,t,r,n){var o,i,s=a.props.timeZone,u=e;if(u&&s&&(u=ot(u,s)),a.props.showYearPicker){if(null!==u&&It(L(u),a.props))return}else if(a.props.showMonthYearPicker){if(null!==u&&Bt(u,a.props))return}else if(null!==u&&Tt(u,a.props))return;var l=a.props,c=l.onChange,p=l.selectsRange,d=l.startDate,h=l.endDate,f=l.selectsMultiple,D=l.selectedDates,m=l.minTime,y=l.swapRange;if(!Et(a.props.selected,u)||a.props.allowSameDay||p||f)if(null!==u&&(!a.props.selected||r&&(a.props.showTimeSelect||a.props.showTimeSelectOnly||a.props.showTimeInput)||(u=dt(u,{hour:j(a.props.selected),minute:q(a.props.selected),second:z(a.props.selected)})),r||!a.props.showTimeSelect&&!a.props.showTimeSelectOnly||m&&(u=dt(u,{hour:m.getHours(),minute:m.getMinutes(),second:m.getSeconds()})),a.props.inline||a.setState({preSelection:u}),a.props.focusSelectedMonth||a.setState({monthSelectedIn:n})),p){var g=c,v=d&&!h,b=!d&&!!h,k=d&&h;!d&&!h?null===g||void 0===g||g([u,null],t):v?null===u?null===g||void 0===g||g([null,null],t):or(u,d)?y?null===g||void 0===g||g([u,d],t):null===g||void 0===g||g([u,null],t):null===g||void 0===g||g([d,u],t):b&&(u&&or(u,h)?null===g||void 0===g||g([u,h],t):null===g||void 0===g||g([u,null],t)),k&&(null===g||void 0===g||g([u,null],t))}else if(f){var C=c;if(null!==u)if(null===D||void 0===D?void 0:D.length)if(D.some(function(e){return wt(e,u)})){var F=D.filter(function(e){return!wt(e,u)});null===C||void 0===C||C(F,t)}else null===C||void 0===C||C(Xe(Xe([],D,!0),[u],!1),t);else null===C||void 0===C||C([u],t)}else null===c||void 0===c||c(u,t);r||(null===(i=(o=a.props).onSelect)||void 0===i||i.call(o,u,t),a.setState({inputValue:null}))},a.setPreSelection=function(e){if(!a.props.readOnly){var t=(0,c.$)(a.props.minDate),r=(0,c.$)(a.props.maxDate),n=!0;if(e){var o=ht(e);if(t&&r)n=_t(e,a.props.minDate,a.props.maxDate);else if(t){var i=ht(a.props.minDate);n=ne(e,i)||Et(o,i)}else if(r){var s=vt(a.props.maxDate);n=(0,oe.Y)(e,s)||Et(o,s)}}n&&a.setState({preSelection:e})}},a.toggleCalendar=function(){a.setOpen(!a.state.open)},a.handleTimeChange=function(e,t){var r,n;if(!a.props.selectsMultiple){var o=a.props,i=o.selectsRange,s=o.startDate,u=o.endDate,l=o.onChange,c=o.timeZone;if(i){var p=l;if("start"===t){if(s){var d=dt(s,{hour:j(e),minute:q(e)});a.setState({preSelection:d}),c&&(d=ot(d,c)),null===p||void 0===p||p([d,u?c?ot(u,c):u:null],void 0)}}else if("end"===t){if(u){var h=dt(u,{hour:j(e),minute:q(e)});a.setState({preSelection:h}),c&&(h=ot(h,c)),null===p||void 0===p||p([s?c?ot(s,c):s:null,h],void 0)}}else{if(s&&!u){d=dt(s,{hour:j(e),minute:q(e)});a.setState({preSelection:d}),c&&(d=ot(d,c)),null===p||void 0===p||p([d,null],void 0)}else if(s&&u){h=dt(u,{hour:j(e),minute:q(e)});a.setState({preSelection:h}),c&&(h=ot(h,c)),null===p||void 0===p||p([c?ot(s,c):s,h],void 0)}else{var f=dt(a.getPreSelection(),{hour:j(e),minute:q(e)});a.setState({preSelection:f})}}}else{var D=a.props.selected?a.props.selected:a.getPreSelection();f=a.props.selected?e:dt(D,{hour:j(e),minute:q(e)});a.setState({preSelection:f}),f&&c&&(f=ot(f,c)),null===(n=(r=a.props).onChange)||void 0===n||n.call(r,f)}a.props.shouldCloseOnSelect&&!a.props.showTimeInput&&(a.sendFocusBackToInput(),a.setOpen(!1)),a.props.showTimeInput&&a.setOpen(!0),(a.props.showTimeSelectOnly||a.props.showTimeSelect)&&a.setState({isRenderAriaLiveMessage:!0}),a.setState({inputValue:null})}},a.onInputClick=function(){var e,t;a.props.disabled||a.props.readOnly||a.setOpen(!0),null===(t=(e=a.props).onInputClick)||void 0===t||t.call(e)},a.handleTimeOnlyArrowKey=function(e){var r,n,o,i,s,u=lt(a.props.selected)||a.state.preSelection||it(),l=null!==(r=a.props.timeIntervals)&&void 0!==r?r:30,c=null!==(n=a.props.dateFormat)&&void 0!==n?n:t.defaultProps.dateFormat,p=Array.isArray(c)?c[0]:c,d=ht(u),h=60*j(u)+q(u),f=1440-l;if(e===Qe.ArrowUp){var D=Math.max(0,h-l);s=(0,te.z)(d,D)}else{D=Math.min(f,h+l);s=(0,te.z)(d,D)}var m=ct(s,p||t.defaultProps.dateFormat,a.props.locale);if(a.setState({preSelection:s,inputValue:m}),!a.props.selectsRange&&!a.props.selectsMultiple){var y=a.props.selected?a.props.selected:a.getPreSelection(),g=a.props.selected?s:dt(y,{hour:j(s),minute:q(s)});null===(i=(o=a.props).onChange)||void 0===i||i.call(o,g),(a.props.showTimeSelectOnly||a.props.showTimeSelect)&&a.setState({isRenderAriaLiveMessage:!0}),requestAnimationFrame(function(){a.scrollToTimeOption(s)})}},a.handleTimeOnlyEnterKey=function(e){var r,n,o,i,s=e.target.value,u=null!==(r=a.props.dateFormat)&&void 0!==r?r:t.defaultProps.dateFormat,l=a.props.timeFormat||"p",c=a.state.preSelection||lt(a.props.selected)||it(),p=st(s,u,a.props.locale,null!==(n=a.props.strictParsing)&&void 0!==n&&n,c),d=c;if(p&&ut(p))d=p;else{var h=(null===(o=a.calendar)||void 0===o?void 0:o.containerRef.current)instanceof Element&&a.calendar.containerRef.current.querySelector(".react-datepicker__time-list-item[tabindex='0']");if(h instanceof HTMLElement){var f=null===(i=h.textContent)||void 0===i?void 0:i.trim();if(f){var D=st(f,l,a.props.locale,!1,c);D&&ut(D)&&(d=D)}}}a.handleTimeChange(d),a.setOpen(!1),a.sendFocusBackToInput()},a.scrollToTimeOption=function(e){var t,r;if(null===(t=a.calendar)||void 0===t?void 0:t.containerRef.current){for(var n=a.calendar.containerRef.current,o=Array.from(n.querySelectorAll(".react-datepicker__time-list-item")),i=null,s=1/0,u=a.props.timeFormat||"p",l=0,c=o;l<c.length;l++){var p=c[l],d=null===(r=p.textContent)||void 0===r?void 0:r.trim();if(d){var h=st(d,u,a.props.locale,!1,e);if(h&&ut(h)){if(rr(h,e)){i=p;break}var f=Math.abs(h.getTime()-e.getTime());f<s&&(s=f,i=p)}}}i&&(o.forEach(function(e){e.setAttribute("tabindex","-1")}),i.setAttribute("tabindex","0"),i.scrollIntoView({behavior:"smooth",block:"center"}))}},a.onInputKeyDown=function(e){var t,r,n,o,i,s;null===(r=(t=a.props).onKeyDown)||void 0===r||r.call(t,e);var u=e.key;if(a.state.open||a.props.inline||a.props.preventOpenOnFocus){if(a.state.open&&a.props.showTimeSelectOnly){if(u===Qe.ArrowDown||u===Qe.ArrowUp)return e.preventDefault(),void a.handleTimeOnlyArrowKey(u);if(u===Qe.Enter)return e.preventDefault(),void a.handleTimeOnlyEnterKey(e)}if(a.state.open){if(u===Qe.ArrowDown||u===Qe.ArrowUp){e.preventDefault();var l=a.props.showTimeSelectOnly?".react-datepicker__time-list-item[tabindex='0']":a.props.showWeekPicker&&a.props.showWeekNumbers?'.react-datepicker__week-number[tabindex="0"]':a.props.showFullMonthYearPicker||a.props.showMonthYearPicker?'.react-datepicker__month-text[tabindex="0"]':'.react-datepicker__day[tabindex="0"]',c=(null===(o=a.calendar)||void 0===o?void 0:o.containerRef.current)instanceof Element&&a.calendar.containerRef.current.querySelector(l);return void(c instanceof HTMLElement&&c.focus({preventScroll:!0}))}var p=it(a.state.preSelection);u===Qe.Enter?(e.preventDefault(),e.target.blur(),a.inputOk()&&a.state.lastPreSelectChange===Yr?(a.handleSelect(p,e),!a.props.shouldCloseOnSelect&&a.setPreSelection(p)):a.setOpen(!1)):u===Qe.Escape?(e.preventDefault(),e.target.blur(),a.sendFocusBackToInput(),a.setOpen(!1)):u===Qe.Tab&&a.setOpen(!1),a.inputOk()||null===(s=(i=a.props).onInputError)||void 0===s||s.call(i,{code:1,msg:Or})}}else u!==Qe.ArrowDown&&u!==Qe.ArrowUp&&u!==Qe.Enter||null===(n=a.onInputClick)||void 0===n||n.call(a)},a.onPortalKeyDown=function(e){e.key===Qe.Escape&&(e.preventDefault(),a.setState({preventFocus:!0},function(){a.setOpen(!1),setTimeout(function(){a.setFocus(),a.setState({preventFocus:!1})})}))},a.onDayKeyDown=function(e){var t,r,n,o,i,s,u=a.props,l=u.minDate,c=u.maxDate,p=u.disabledKeyboardNavigation,d=u.showWeekPicker,h=u.shouldCloseOnSelect,f=u.locale,D=u.calendarStartDay,m=u.adjustDateOnChange,y=u.inline;if(null===(r=(t=a.props).onKeyDown)||void 0===r||r.call(t,e),!p){var g=e.key,v=e.shiftKey,b=it(a.state.preSelection),k=function(e,t){var r=t;switch(e){case Qe.ArrowRight:r=d?(0,ue.J)(t,1):(0,se.f)(t,1);break;case Qe.ArrowLeft:r=d?de(t,1):(0,he.e)(t,1);break;case Qe.ArrowUp:r=de(t,1);break;case Qe.ArrowDown:r=(0,ue.J)(t,1);break;case Qe.PageUp:r=v?X(t,1):(0,H.a)(t,1);break;case Qe.PageDown:r=v?(0,Z.e)(t,1):(0,U.P)(t,1);break;case Qe.Home:r=ft(t,f,D);break;case Qe.End:r=function(e){return(0,C.$)(e)}(t)}return r};if(g===Qe.Enter)return e.preventDefault(),a.handleSelect(b,e),void(!h&&a.setPreSelection(b));if(g===Qe.Escape)return e.preventDefault(),a.setOpen(!1),void(a.inputOk()||null===(o=(n=a.props).onInputError)||void 0===o||o.call(n,{code:1,msg:Or}));var F=null;switch(g){case Qe.ArrowLeft:case Qe.ArrowRight:case Qe.ArrowUp:case Qe.ArrowDown:case Qe.PageUp:case Qe.PageDown:case Qe.Home:case Qe.End:F=function(e,t){for(var r=e,n=!1,o=0,i=k(e,t);!n;){if(o>=40){i=t;break}l&&i<l&&(r=Qe.ArrowRight,i=Tt(l,a.props)?k(r,i):l),c&&i>c&&(r=Qe.ArrowLeft,i=Tt(c,a.props)?k(r,i):c),Tt(i,a.props)?(r!==Qe.PageUp&&r!==Qe.Home||(r=Qe.ArrowRight),r!==Qe.PageDown&&r!==Qe.End||(r=Qe.ArrowLeft),i=k(r,i)):n=!0,o++}return i}(g,b)}F?(e.preventDefault(),a.setState({lastPreSelectChange:Yr}),m&&a.setSelected(F),a.setPreSelection(F),y&&a.setState({shouldFocusDayInline:!0})):null===(s=(i=a.props).onInputError)||void 0===s||s.call(i,{code:1,msg:Or})}},a.onPopperKeyDown=function(e){e.key===Qe.Escape&&(e.preventDefault(),a.sendFocusBackToInput(),a.setOpen(!1))},a.onClearClick=function(e){e&&e.preventDefault&&e.preventDefault(),a.sendFocusBackToInput();var t=a.props,r=t.selectsRange,n=t.onChange;r?null===n||void 0===n||n([null,null],e):null===n||void 0===n||n(null,e),a.setState({inputValue:null})},a.clear=function(){a.onClearClick()},a.onScroll=function(e){"boolean"===typeof a.props.closeOnScroll&&a.props.closeOnScroll?e.target!==document&&e.target!==document.documentElement&&e.target!==document.body||a.setOpen(!1):"function"===typeof a.props.closeOnScroll&&a.props.closeOnScroll(e)&&a.setOpen(!1)},a.handleMonthSelectedInChange=function(e){a.setState({monthSelectedIn:e})},a.renderCalendar=function(){var e,r;return a.props.inline||a.isCalendarOpen()?o.createElement(Ar,Ze({showMonthYearDropdown:void 0,ref:function(e){a.calendar=e}},a.props,a.state,{setOpen:a.setOpen,dateFormat:null!==(e=a.props.dateFormatCalendar)&&void 0!==e?e:t.defaultProps.dateFormatCalendar,onSelect:a.handleSelect,onClickOutside:a.handleCalendarClickOutside,holidays:Qt(a.modifyHolidays()),outsideClickIgnoreClass:a.props.outsideClickIgnoreClass,onDropdownFocus:a.handleDropdownFocus,onTimeChange:a.handleTimeChange,className:a.props.calendarClassName,container:a.props.calendarContainer,handleOnKeyDown:a.props.onKeyDown,handleOnDayKeyDown:a.onDayKeyDown,setPreSelection:a.setPreSelection,dropdownMode:null!==(r=a.props.dropdownMode)&&void 0!==r?r:t.defaultProps.dropdownMode,onMonthSelectedInChange:a.handleMonthSelectedInChange}),a.props.children):null},a.renderAriaLiveRegion=function(){var e,r,n=a.props.locale,i=null!==(e=a.props.dateFormat)&&void 0!==e?e:t.defaultProps.dateFormat,s=a.props.showTimeInput||a.props.showTimeSelect?"PPPPp":"PPPP";return r=a.props.selectsRange?"Selected start date: ".concat(pt(a.props.startDate,{dateFormat:s,locale:n}),". ").concat(a.props.endDate?"End date: "+pt(a.props.endDate,{dateFormat:s,locale:n}):""):a.props.showTimeSelectOnly?"Selected time: ".concat(pt(a.props.selected,{dateFormat:i,locale:n})):a.props.showYearPicker?"Selected year: ".concat(pt(a.props.selected,{dateFormat:"yyyy",locale:n})):a.props.showMonthYearPicker?"Selected month: ".concat(pt(a.props.selected,{dateFormat:"MMMM yyyy",locale:n})):a.props.showQuarterYearPicker?"Selected quarter: ".concat(pt(a.props.selected,{dateFormat:"yyyy, QQQ",locale:n})):"Selected date: ".concat(pt(a.props.selected,{dateFormat:s,locale:n})),o.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},r)},a.renderDateInput=function(){var e,r,i,s,u,l,c,p=(0,n.$)(a.props.className,((e={})[a.props.outsideClickIgnoreClass||t.defaultProps.outsideClickIgnoreClass]=a.state.open,e)),d=a.props.customInput||o.createElement("input",{type:"text"}),h=a.props.customInputRef||"ref",f={},D=null!==(i=a.props["aria-describedby"])&&void 0!==i?i:a.props.ariaDescribedBy,m=null!==(s=a.props["aria-invalid"])&&void 0!==s?s:a.props.ariaInvalid,y=null!==(u=a.props["aria-label"])&&void 0!==u?u:a.props.ariaLabel,g=null!==(l=a.props["aria-labelledby"])&&void 0!==l?l:a.props.ariaLabelledBy,v=null!==(c=a.props["aria-required"])&&void 0!==c?c:a.props.ariaRequired;return null!=D&&(f["aria-describedby"]=D),null!=m&&(f["aria-invalid"]=m),null!=y&&(f["aria-label"]=y),null!=g&&(f["aria-labelledby"]=g),null!=v&&(f["aria-required"]=v),(0,o.cloneElement)(d,Ze(((r={})[h]=function(e){a.input=e},r.value=a.getInputValue(),r.onBlur=a.handleBlur,r.onChange=a.handleChange,r.onClick=a.onInputClick,r.onFocus=a.handleFocus,r.onKeyDown=a.onInputKeyDown,r.id=a.props.id,r.name=a.props.name,r.form=a.props.form,r.autoFocus=a.props.autoFocus,r.placeholder=a.props.placeholderText,r.disabled=a.props.disabled,r.autoComplete=a.props.autoComplete,r.className=(0,n.$)(d.props.className,p),r.title=a.props.title,r.readOnly=a.props.readOnly,r.required=a.props.required,r.tabIndex=a.props.tabIndex,r),f))},a.renderClearButton=function(){var e=a.props,t=e.isClearable,r=e.disabled,i=e.selected,s=e.startDate,u=e.endDate,l=e.clearButtonTitle,c=e.clearButtonClassName,p=void 0===c?"":c,d=e.ariaLabelClose,h=void 0===d?"Close":d,f=e.selectedDates,D=e.readOnly;return!t||D||null==i&&null==s&&null==u&&!(null===f||void 0===f?void 0:f.length)?null:o.createElement("button",{type:"button",className:(0,n.$)("react-datepicker__close-icon",p,{"react-datepicker__close-icon--disabled":r}),disabled:r,"aria-label":h,onClick:a.onClearClick,title:l,tabIndex:-1})},a.state=a.calcInitialState(),a.preventFocusTimeout=void 0,a}return Ke(t,e),Object.defineProperty(t,"defaultProps",{get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",preventOpenOnFocus:!1,monthsShown:1,outsideClickIgnoreClass:xr,readOnly:!1,rangeSeparator:" - ",withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,showWeekPicker:!1,strictParsing:!1,swapRange:!1,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:12,focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null,calendarStartDay:void 0,toggleCalendarOnIconClick:!1,usePointerEvent:!1}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){window.addEventListener("scroll",this.onScroll,!0),document.addEventListener("visibilitychange",this.setHiddenStateOnVisibilityHidden)},t.prototype.componentDidUpdate=function(e,t){var r,n,o,a;this.props.selectsRange&&Lr(e.startDate,this.props.startDate)?this.setPreSelection(this.props.startDate):Lr(e.selected,this.props.selected)&&this.setPreSelection(this.props.selected),void 0!==this.state.monthSelectedIn&&e.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),this.props.selectsRange&&!1===t.open&&!0===this.state.open&&0!==this.state.monthSelectedIn&&this.setState({monthSelectedIn:0}),e.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:Xt(this.props.highlightDates)}),t.focused||Et(e.selected,this.props.selected)||this.setState({inputValue:null}),t.open!==this.state.open&&(!1===t.open&&!0===this.state.open&&(null===(n=(r=this.props).onCalendarOpen)||void 0===n||n.call(r)),!0===t.open&&!1===this.state.open&&(null===(a=(o=this.props).onCalendarClose)||void 0===a||a.call(o)))},t.prototype.componentWillUnmount=function(){this.clearPreventFocusTimeout(),window.removeEventListener("scroll",this.onScroll,!0),document.removeEventListener("visibilitychange",this.setHiddenStateOnVisibilityHidden)},t.prototype.renderInputContainer=function(){var e=this.props,t=e.showIcon,r=e.icon,a=e.calendarIconClassname,i=e.calendarIconClassName,s=e.toggleCalendarOnIconClick,u=this.state.open;return a&&console.warn("calendarIconClassname props is deprecated. should use calendarIconClassName props."),o.createElement("div",{className:"react-datepicker__input-container".concat(t?" react-datepicker__view-calendar-icon":"")},t&&o.createElement(Mr,Ze({icon:r,className:(0,n.$)(i,!i&&a,u&&"react-datepicker-ignore-onclickoutside")},s?{onClick:this.toggleCalendar}:null)),this.state.isRenderAriaLiveMessage&&this.renderAriaLiveRegion(),this.renderDateInput(),this.renderClearButton())},t.prototype.render=function(){var e=this.renderCalendar();if(this.props.inline)return e;if(this.props.withPortal){var t=this.state.open?o.createElement(Br,{enableTabLoop:this.props.enableTabLoop},o.createElement("div",{className:"react-datepicker__portal",tabIndex:-1,onKeyDown:this.onPortalKeyDown},e)):null;return this.state.open&&this.props.portalId&&(t=o.createElement(Tr,Ze({portalId:this.props.portalId},this.props),t)),o.createElement(o.Fragment,null,this.renderInputContainer(),t)}return o.createElement(Nr,Ze({},this.props,{className:this.props.popperClassName,hidePopper:!this.isCalendarOpen(),targetComponent:this.renderInputContainer(),popperComponent:e,popperOnKeyDown:this.onPopperKeyDown,showArrow:this.props.showPopperArrow,monthHeaderPosition:this.props.monthHeaderPosition}))},t}(o.Component),Ir="input",Yr="navigate"},71211(e,t,r){"use strict";r.d(t,{p3:()=>qe,w$:()=>g,YI:()=>We});var n=["MO","TU","WE","TH","FR","SA","SU"],o=function(){function e(e,t){if(0===t)throw new Error("Can't create weekday with n == 0");this.weekday=e,this.n=t}return e.fromStr=function(t){return new e(n.indexOf(t))},e.prototype.nth=function(t){return this.n===t?this:new e(this.weekday,t)},e.prototype.equals=function(e){return this.weekday===e.weekday&&this.n===e.n},e.prototype.toString=function(){var e=n[this.weekday];return this.n&&(e=(this.n>0?"+":"")+String(this.n)+e),e},e.prototype.getJsWeekday=function(){return 6===this.weekday?0:this.weekday+1},e}(),a=function(e){return null!==e&&void 0!==e},i=function(e){return"number"===typeof e},s=function(e){return"string"===typeof e&&n.includes(e)},u=Array.isArray,l=function(e,t){void 0===t&&(t=e),1===arguments.length&&(t=e,e=0);for(var r=[],n=e;n<t;n++)r.push(n);return r},c=function(e,t){var r=0,n=[];if(u(e))for(;r<t;r++)n[r]=[].concat(e);else for(;r<t;r++)n[r]=e;return n},p=function(e){return u(e)?e:[e]};function d(e,t,r){void 0===r&&(r=" ");var n=String(e);return t|=0,n.length>t?String(n):((t-=n.length)>r.length&&(r+=c(r,t/r.length)),r.slice(0,t)+String(n))}var h=function(e,t){var r=e%t;return r*t<0?r+t:r},f=function(e,t){return{div:Math.floor(e/t),mod:h(e,t)}},D=function(e){return!a(e)||0===e.length},m=function(e){return!D(e)},y=function(e,t){return m(e)&&-1!==e.indexOf(t)},g=function(e,t,r,n,o,a){return void 0===n&&(n=0),void 0===o&&(o=0),void 0===a&&(a=0),new Date(Date.UTC(e,t-1,r,n,o,a))},v=[31,28,31,30,31,30,31,31,30,31,30,31],b=864e5,k=g(1970,1,1),C=[6,0,1,2,3,4,5],F=function(e){return e%4===0&&e%100!==0||e%400===0},w=function(e){return e instanceof Date},E=function(e){return w(e)&&!isNaN(e.getTime())},_=function(e){return function(e,t){var r=e.getTime()-t.getTime();return Math.round(r/b)}(e,k)},S=function(e){return new Date(k.getTime()+e*b)},x=function(e){var t=e.getUTCMonth();return 1===t&&F(e.getUTCFullYear())?29:v[t]},A=function(e){return C[e.getUTCDay()]},M=function(e,t){var r=g(e,t+1,1);return[A(r),x(r)]},T=function(e,t){return t=t||e,new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()))},P=function(e){return new Date(e.getTime())},B=function(e){for(var t=[],r=0;r<e.length;r++)t.push(P(e[r]));return t},N=function(e){e.sort(function(e,t){return e.getTime()-t.getTime()})},L=function(e,t){void 0===t&&(t=!0);var r=new Date(e);return[d(r.getUTCFullYear().toString(),4,"0"),d(r.getUTCMonth()+1,2,"0"),d(r.getUTCDate(),2,"0"),"T",d(r.getUTCHours(),2,"0"),d(r.getUTCMinutes(),2,"0"),d(r.getUTCSeconds(),2,"0"),t?"Z":""].join("")},O=function(e){var t=/^(\d{4})(\d{2})(\d{2})(T(\d{2})(\d{2})(\d{2})Z?)?$/.exec(e);if(!t)throw new Error("Invalid UNTIL value: ".concat(e));return new Date(Date.UTC(parseInt(t[1],10),parseInt(t[2],10)-1,parseInt(t[3],10),parseInt(t[5],10)||0,parseInt(t[6],10)||0,parseInt(t[7],10)||0))},R=function(e,t){return e.toLocaleString("sv-SE",{timeZone:t}).replace(" ","T")+"Z"};const I=function(){function e(e,t){this.minDate=null,this.maxDate=null,this._result=[],this.total=0,this.method=e,this.args=t,"between"===e?(this.maxDate=t.inc?t.before:new Date(t.before.getTime()-1),this.minDate=t.inc?t.after:new Date(t.after.getTime()+1)):"before"===e?this.maxDate=t.inc?t.dt:new Date(t.dt.getTime()-1):"after"===e&&(this.minDate=t.inc?t.dt:new Date(t.dt.getTime()+1))}return e.prototype.accept=function(e){++this.total;var t=this.minDate&&e<this.minDate,r=this.maxDate&&e>this.maxDate;if("between"===this.method){if(t)return!0;if(r)return!1}else if("before"===this.method){if(r)return!1}else if("after"===this.method)return!!t||(this.add(e),!1);return this.add(e)},e.prototype.add=function(e){return this._result.push(e),!0},e.prototype.getValue=function(){var e=this._result;switch(this.method){case"all":case"between":return e;default:return e.length?e[e.length-1]:null}},e.prototype.clone=function(){return new e(this.method,this.args)},e}();var Y=r(31635);const j=function(e){function t(t,r,n){var o=e.call(this,t,r)||this;return o.iterator=n,o}return(0,Y.C6)(t,e),t.prototype.add=function(e){return!!this.iterator(e,this._result.length)&&(this._result.push(e),!0)},t}(I);const q={dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],tokens:{SKIP:/^[ \r\n\t]+|^\.$/,number:/^[1-9][0-9]*/,numberAsText:/^(one|two|three)/i,every:/^every/i,"day(s)":/^days?/i,"weekday(s)":/^weekdays?/i,"week(s)":/^weeks?/i,"hour(s)":/^hours?/i,"minute(s)":/^minutes?/i,"month(s)":/^months?/i,"year(s)":/^years?/i,on:/^(on|in)/i,at:/^(at)/i,the:/^the/i,first:/^first/i,second:/^second/i,third:/^third/i,nth:/^([1-9][0-9]*)(\.|th|nd|rd|st)/i,last:/^last/i,for:/^for/i,"time(s)":/^times?/i,until:/^(un)?til/i,monday:/^mo(n(day)?)?/i,tuesday:/^tu(e(s(day)?)?)?/i,wednesday:/^we(d(n(esday)?)?)?/i,thursday:/^th(u(r(sday)?)?)?/i,friday:/^fr(i(day)?)?/i,saturday:/^sa(t(urday)?)?/i,sunday:/^su(n(day)?)?/i,january:/^jan(uary)?/i,february:/^feb(ruary)?/i,march:/^mar(ch)?/i,april:/^apr(il)?/i,may:/^may/i,june:/^june?/i,july:/^july?/i,august:/^aug(ust)?/i,september:/^sep(t(ember)?)?/i,october:/^oct(ober)?/i,november:/^nov(ember)?/i,december:/^dec(ember)?/i,comma:/^(,\s*|(and|or)\s*)+/i}};var z=function(e,t){return-1!==e.indexOf(t)},H=function(e){return e.toString()},W=function(e,t,r){return"".concat(t," ").concat(r,", ").concat(e)};const U=function(){function e(e,t,r,n){if(void 0===t&&(t=H),void 0===r&&(r=q),void 0===n&&(n=W),this.text=[],this.language=r||q,this.gettext=t,this.dateFormatter=n,this.rrule=e,this.options=e.options,this.origOptions=e.origOptions,this.origOptions.bymonthday){var o=[].concat(this.options.bymonthday),i=[].concat(this.options.bynmonthday);o.sort(function(e,t){return e-t}),i.sort(function(e,t){return t-e}),this.bymonthday=o.concat(i),this.bymonthday.length||(this.bymonthday=null)}if(a(this.origOptions.byweekday)){var s=u(this.origOptions.byweekday)?this.origOptions.byweekday:[this.origOptions.byweekday],l=String(s);this.byweekday={allWeeks:s.filter(function(e){return!e.n}),someWeeks:s.filter(function(e){return Boolean(e.n)}),isWeekdays:-1!==l.indexOf("MO")&&-1!==l.indexOf("TU")&&-1!==l.indexOf("WE")&&-1!==l.indexOf("TH")&&-1!==l.indexOf("FR")&&-1===l.indexOf("SA")&&-1===l.indexOf("SU"),isEveryDay:-1!==l.indexOf("MO")&&-1!==l.indexOf("TU")&&-1!==l.indexOf("WE")&&-1!==l.indexOf("TH")&&-1!==l.indexOf("FR")&&-1!==l.indexOf("SA")&&-1!==l.indexOf("SU")};var c=function(e,t){return e.weekday-t.weekday};this.byweekday.allWeeks.sort(c),this.byweekday.someWeeks.sort(c),this.byweekday.allWeeks.length||(this.byweekday.allWeeks=null),this.byweekday.someWeeks.length||(this.byweekday.someWeeks=null)}else this.byweekday=null}return e.isFullyConvertible=function(t){if(!(t.options.freq in e.IMPLEMENTED))return!1;if(t.origOptions.until&&t.origOptions.count)return!1;for(var r in t.origOptions){if(z(["dtstart","tzid","wkst","freq"],r))return!0;if(!z(e.IMPLEMENTED[t.options.freq],r))return!1}return!0},e.prototype.isFullyConvertible=function(){return e.isFullyConvertible(this.rrule)},e.prototype.toString=function(){var t=this.gettext;if(!(this.options.freq in e.IMPLEMENTED))return t("RRule error: Unable to fully convert this rrule to text");if(this.text=[t("every")],this[qe.FREQUENCIES[this.options.freq]](),this.options.until){this.add(t("until"));var r=this.options.until;this.add(this.dateFormatter(r.getUTCFullYear(),this.language.monthNames[r.getUTCMonth()],r.getUTCDate()))}else this.options.count&&this.add(t("for")).add(this.options.count.toString()).add(this.plural(this.options.count)?t("times"):t("time"));return this.isFullyConvertible()||this.add(t("(~ approximate)")),this.text.join("")},e.prototype.HOURLY=function(){var e=this.gettext;1!==this.options.interval&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?e("hours"):e("hour"))},e.prototype.MINUTELY=function(){var e=this.gettext;1!==this.options.interval&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?e("minutes"):e("minute"))},e.prototype.DAILY=function(){var e=this.gettext;1!==this.options.interval&&this.add(this.options.interval.toString()),this.byweekday&&this.byweekday.isWeekdays?this.add(this.plural(this.options.interval)?e("weekdays"):e("weekday")):this.add(this.plural(this.options.interval)?e("days"):e("day")),this.origOptions.bymonth&&(this.add(e("in")),this._bymonth()),this.bymonthday?this._bymonthday():this.byweekday?this._byweekday():this.origOptions.byhour&&this._byhour()},e.prototype.WEEKLY=function(){var e=this.gettext;1!==this.options.interval&&this.add(this.options.interval.toString()).add(this.plural(this.options.interval)?e("weeks"):e("week")),this.byweekday&&this.byweekday.isWeekdays?1===this.options.interval?this.add(this.plural(this.options.interval)?e("weekdays"):e("weekday")):this.add(e("on")).add(e("weekdays")):this.byweekday&&this.byweekday.isEveryDay?this.add(this.plural(this.options.interval)?e("days"):e("day")):(1===this.options.interval&&this.add(e("week")),this.origOptions.bymonth&&(this.add(e("in")),this._bymonth()),this.bymonthday?this._bymonthday():this.byweekday&&this._byweekday(),this.origOptions.byhour&&this._byhour())},e.prototype.MONTHLY=function(){var e=this.gettext;this.origOptions.bymonth?(1!==this.options.interval&&(this.add(this.options.interval.toString()).add(e("months")),this.plural(this.options.interval)&&this.add(e("in"))),this._bymonth()):(1!==this.options.interval&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?e("months"):e("month"))),this.bymonthday?this._bymonthday():this.byweekday&&this.byweekday.isWeekdays?this.add(e("on")).add(e("weekdays")):this.byweekday&&this._byweekday()},e.prototype.YEARLY=function(){var e=this.gettext;this.origOptions.bymonth?(1!==this.options.interval&&(this.add(this.options.interval.toString()),this.add(e("years"))),this._bymonth()):(1!==this.options.interval&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?e("years"):e("year"))),this.bymonthday?this._bymonthday():this.byweekday&&this._byweekday(),this.options.byyearday&&this.add(e("on the")).add(this.list(this.options.byyearday,this.nth,e("and"))).add(e("day")),this.options.byweekno&&this.add(e("in")).add(this.plural(this.options.byweekno.length)?e("weeks"):e("week")).add(this.list(this.options.byweekno,void 0,e("and")))},e.prototype._bymonthday=function(){var e=this.gettext;this.byweekday&&this.byweekday.allWeeks?this.add(e("on")).add(this.list(this.byweekday.allWeeks,this.weekdaytext,e("or"))).add(e("the")).add(this.list(this.bymonthday,this.nth,e("or"))):this.add(e("on the")).add(this.list(this.bymonthday,this.nth,e("and")))},e.prototype._byweekday=function(){var e=this.gettext;this.byweekday.allWeeks&&!this.byweekday.isWeekdays&&this.add(e("on")).add(this.list(this.byweekday.allWeeks,this.weekdaytext)),this.byweekday.someWeeks&&(this.byweekday.allWeeks&&this.add(e("and")),this.add(e("on the")).add(this.list(this.byweekday.someWeeks,this.weekdaytext,e("and"))))},e.prototype._byhour=function(){var e=this.gettext;this.add(e("at")).add(this.list(this.origOptions.byhour,void 0,e("and")))},e.prototype._bymonth=function(){this.add(this.list(this.options.bymonth,this.monthtext,this.gettext("and")))},e.prototype.nth=function(e){var t;e=parseInt(e.toString(),10);var r=this.gettext;if(-1===e)return r("last");var n=Math.abs(e);switch(n){case 1:case 21:case 31:t=n+r("st");break;case 2:case 22:t=n+r("nd");break;case 3:case 23:t=n+r("rd");break;default:t=n+r("th")}return e<0?t+" "+r("last"):t},e.prototype.monthtext=function(e){return this.language.monthNames[e-1]},e.prototype.weekdaytext=function(e){var t=i(e)?(e+1)%7:e.getJsWeekday();return(e.n?this.nth(e.n)+" ":"")+this.language.dayNames[t]},e.prototype.plural=function(e){return e%100!==1},e.prototype.add=function(e){return this.text.push(" "),this.text.push(e),this},e.prototype.list=function(e,t,r,n){var o=this;void 0===n&&(n=","),u(e)||(e=[e]);t=t||function(e){return e.toString()};var a=function(e){return t&&t.call(o,e)};return r?function(e,t,r){for(var n="",o=0;o<e.length;o++)0!==o&&(o===e.length-1?n+=" "+r+" ":n+=t+" "),n+=e[o];return n}(e.map(a),n,r):e.map(a).join(n+" ")},e}();var $,V=function(){function e(e){this.done=!0,this.rules=e}return e.prototype.start=function(e){return this.text=e,this.done=!1,this.nextSymbol()},e.prototype.isDone=function(){return this.done&&null===this.symbol},e.prototype.nextSymbol=function(){var e,t;this.symbol=null,this.value=null;do{if(this.done)return!1;for(var r in e=null,this.rules){var n=this.rules[r].exec(this.text);n&&(null===e||n[0].length>e[0].length)&&(e=n,t=r)}if(null!=e&&(this.text=this.text.substr(e[0].length),""===this.text&&(this.done=!0)),null==e)return this.done=!0,this.symbol=null,void(this.value=null)}while("SKIP"===t);return this.symbol=t,this.value=e,!0},e.prototype.accept=function(e){if(this.symbol===e){if(this.value){var t=this.value;return this.nextSymbol(),t}return this.nextSymbol(),!0}return!1},e.prototype.acceptNumber=function(){return this.accept("number")},e.prototype.expect=function(e){if(this.accept(e))return!0;throw new Error("expected "+e+" but found "+this.symbol)},e}();function K(e,t){void 0===t&&(t=q);var r={},n=new V(t.tokens);return n.start(e)?(function(){n.expect("every");var e=n.acceptNumber();e&&(r.interval=parseInt(e[0],10));if(n.isDone())throw new Error("Unexpected end");switch(n.symbol){case"day(s)":r.freq=qe.DAILY,n.nextSymbol()&&(a(),l());break;case"weekday(s)":r.freq=qe.WEEKLY,r.byweekday=[qe.MO,qe.TU,qe.WE,qe.TH,qe.FR],n.nextSymbol(),a(),l();break;case"week(s)":r.freq=qe.WEEKLY,n.nextSymbol()&&(o(),a(),l());break;case"hour(s)":r.freq=qe.HOURLY,n.nextSymbol()&&(o(),l());break;case"minute(s)":r.freq=qe.MINUTELY,n.nextSymbol()&&(o(),l());break;case"month(s)":r.freq=qe.MONTHLY,n.nextSymbol()&&(o(),l());break;case"year(s)":r.freq=qe.YEARLY,n.nextSymbol()&&(o(),l());break;case"monday":case"tuesday":case"wednesday":case"thursday":case"friday":case"saturday":case"sunday":r.freq=qe.WEEKLY;var t=n.symbol.substr(0,2).toUpperCase();if(r.byweekday=[qe[t]],!n.nextSymbol())return;for(;n.accept("comma");){if(n.isDone())throw new Error("Unexpected end");var c=s();if(!c)throw new Error("Unexpected symbol "+n.symbol+", expected weekday");r.byweekday.push(qe[c]),n.nextSymbol()}a(),function(){n.accept("on"),n.accept("the");var e=u();if(!e)return;r.bymonthday=[e],n.nextSymbol();for(;n.accept("comma");){if(!(e=u()))throw new Error("Unexpected symbol "+n.symbol+"; expected monthday");r.bymonthday.push(e),n.nextSymbol()}}(),l();break;case"january":case"february":case"march":case"april":case"may":case"june":case"july":case"august":case"september":case"october":case"november":case"december":if(r.freq=qe.YEARLY,r.bymonth=[i()],!n.nextSymbol())return;for(;n.accept("comma");){if(n.isDone())throw new Error("Unexpected end");var p=i();if(!p)throw new Error("Unexpected symbol "+n.symbol+", expected month");r.bymonth.push(p),n.nextSymbol()}o(),l();break;default:throw new Error("Unknown symbol")}}(),r):null;function o(){var e=n.accept("on"),t=n.accept("the");if(e||t)do{var o=u(),a=s(),l=i();if(o)a?(n.nextSymbol(),r.byweekday||(r.byweekday=[]),r.byweekday.push(qe[a].nth(o))):(r.bymonthday||(r.bymonthday=[]),r.bymonthday.push(o),n.accept("day(s)"));else if(a)n.nextSymbol(),r.byweekday||(r.byweekday=[]),r.byweekday.push(qe[a]);else if("weekday(s)"===n.symbol)n.nextSymbol(),r.byweekday||(r.byweekday=[qe.MO,qe.TU,qe.WE,qe.TH,qe.FR]);else if("week(s)"===n.symbol){n.nextSymbol();var c=n.acceptNumber();if(!c)throw new Error("Unexpected symbol "+n.symbol+", expected week number");for(r.byweekno=[parseInt(c[0],10)];n.accept("comma");){if(!(c=n.acceptNumber()))throw new Error("Unexpected symbol "+n.symbol+"; expected monthday");r.byweekno.push(parseInt(c[0],10))}}else{if(!l)return;n.nextSymbol(),r.bymonth||(r.bymonth=[]),r.bymonth.push(l)}}while(n.accept("comma")||n.accept("the")||n.accept("on"))}function a(){if(n.accept("at"))do{var e=n.acceptNumber();if(!e)throw new Error("Unexpected symbol "+n.symbol+", expected hour");for(r.byhour=[parseInt(e[0],10)];n.accept("comma");){if(!(e=n.acceptNumber()))throw new Error("Unexpected symbol "+n.symbol+"; expected hour");r.byhour.push(parseInt(e[0],10))}}while(n.accept("comma")||n.accept("at"))}function i(){switch(n.symbol){case"january":return 1;case"february":return 2;case"march":return 3;case"april":return 4;case"may":return 5;case"june":return 6;case"july":return 7;case"august":return 8;case"september":return 9;case"october":return 10;case"november":return 11;case"december":return 12;default:return!1}}function s(){switch(n.symbol){case"monday":case"tuesday":case"wednesday":case"thursday":case"friday":case"saturday":case"sunday":return n.symbol.substr(0,2).toUpperCase();default:return!1}}function u(){switch(n.symbol){case"last":return n.nextSymbol(),-1;case"first":return n.nextSymbol(),1;case"second":return n.nextSymbol(),n.accept("last")?-2:2;case"third":return n.nextSymbol(),n.accept("last")?-3:3;case"nth":var e=parseInt(n.value[1],10);if(e<-366||e>366)throw new Error("Nth out of range: "+e);return n.nextSymbol(),n.accept("last")?-e:e;default:return!1}}function l(){if("until"===n.symbol){var e=Date.parse(n.text);if(!e)throw new Error("Cannot parse until date:"+n.text);r.until=new Date(e)}else n.accept("for")&&(r.count=parseInt(n.value[0],10),n.expect("number"))}}function Z(e){return e<$.HOURLY}!function(e){e[e.YEARLY=0]="YEARLY",e[e.MONTHLY=1]="MONTHLY",e[e.WEEKLY=2]="WEEKLY",e[e.DAILY=3]="DAILY",e[e.HOURLY=4]="HOURLY",e[e.MINUTELY=5]="MINUTELY",e[e.SECONDLY=6]="SECONDLY"}($||($={}));var X=function(e,t){return void 0===t&&(t=q),new qe(K(e,t)||void 0)},Q=["count","until","interval","byweekday","bymonthday","bymonth"];U.IMPLEMENTED=[],U.IMPLEMENTED[$.HOURLY]=Q,U.IMPLEMENTED[$.MINUTELY]=Q,U.IMPLEMENTED[$.DAILY]=["byhour"].concat(Q),U.IMPLEMENTED[$.WEEKLY]=Q,U.IMPLEMENTED[$.MONTHLY]=Q,U.IMPLEMENTED[$.YEARLY]=["byweekno","byyearday"].concat(Q);var G=U.isFullyConvertible,J=function(){function e(e,t,r,n){this.hour=e,this.minute=t,this.second=r,this.millisecond=n||0}return e.prototype.getHours=function(){return this.hour},e.prototype.getMinutes=function(){return this.minute},e.prototype.getSeconds=function(){return this.second},e.prototype.getMilliseconds=function(){return this.millisecond},e.prototype.getTime=function(){return 1e3*(60*this.hour*60+60*this.minute+this.second)+this.millisecond},e}(),ee=function(e){function t(t,r,n,o,a,i,s){var u=e.call(this,o,a,i,s)||this;return u.year=t,u.month=r,u.day=n,u}return(0,Y.C6)(t,e),t.fromDate=function(e){return new this(e.getUTCFullYear(),e.getUTCMonth()+1,e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.valueOf()%1e3)},t.prototype.getWeekday=function(){return A(new Date(this.getTime()))},t.prototype.getTime=function(){return new Date(Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second,this.millisecond)).getTime()},t.prototype.getDay=function(){return this.day},t.prototype.getMonth=function(){return this.month},t.prototype.getYear=function(){return this.year},t.prototype.addYears=function(e){this.year+=e},t.prototype.addMonths=function(e){if(this.month+=e,this.month>12){var t=Math.floor(this.month/12),r=h(this.month,12);this.month=r,this.year+=t,0===this.month&&(this.month=12,--this.year)}},t.prototype.addWeekly=function(e,t){t>this.getWeekday()?this.day+=-(this.getWeekday()+1+(6-t))+7*e:this.day+=-(this.getWeekday()-t)+7*e,this.fixDay()},t.prototype.addDaily=function(e){this.day+=e,this.fixDay()},t.prototype.addHours=function(e,t,r){for(t&&(this.hour+=Math.floor((23-this.hour)/e)*e);;){this.hour+=e;var n=f(this.hour,24),o=n.div,a=n.mod;if(o&&(this.hour=a,this.addDaily(o)),D(r)||y(r,this.hour))break}},t.prototype.addMinutes=function(e,t,r,n){for(t&&(this.minute+=Math.floor((1439-(60*this.hour+this.minute))/e)*e);;){this.minute+=e;var o=f(this.minute,60),a=o.div,i=o.mod;if(a&&(this.minute=i,this.addHours(a,!1,r)),(D(r)||y(r,this.hour))&&(D(n)||y(n,this.minute)))break}},t.prototype.addSeconds=function(e,t,r,n,o){for(t&&(this.second+=Math.floor((86399-(3600*this.hour+60*this.minute+this.second))/e)*e);;){this.second+=e;var a=f(this.second,60),i=a.div,s=a.mod;if(i&&(this.second=s,this.addMinutes(i,!1,r,n)),(D(r)||y(r,this.hour))&&(D(n)||y(n,this.minute))&&(D(o)||y(o,this.second)))break}},t.prototype.fixDay=function(){if(!(this.day<=28)){var e=M(this.year,this.month-1)[1];if(!(this.day<=e))for(;this.day>e;){if(this.day-=e,++this.month,13===this.month&&(this.month=1,++this.year,this.year>9999))return;e=M(this.year,this.month-1)[1]}}},t.prototype.add=function(e,t){var r=e.freq,n=e.interval,o=e.wkst,a=e.byhour,i=e.byminute,s=e.bysecond;switch(r){case $.YEARLY:return this.addYears(n);case $.MONTHLY:return this.addMonths(n);case $.WEEKLY:return this.addWeekly(n,o);case $.DAILY:return this.addDaily(n);case $.HOURLY:return this.addHours(n,t,a);case $.MINUTELY:return this.addMinutes(n,t,a,i);case $.SECONDLY:return this.addSeconds(n,t,a,i,s)}},t}(J);function te(e){for(var t=[],r=0,n=Object.keys(e);r<n.length;r++){var o=n[r];y(je,o)||t.push(o),w(e[o])&&!E(e[o])&&t.push(o)}if(t.length)throw new Error("Invalid options: "+t.join(", "));return(0,Y.Cl)({},e)}function re(e){var t=(0,Y.Cl)((0,Y.Cl)({},Ye),te(e));if(a(t.byeaster)&&(t.freq=qe.YEARLY),!a(t.freq)||!qe.FREQUENCIES[t.freq])throw new Error("Invalid frequency: ".concat(t.freq," ").concat(e.freq));if(t.dtstart||(t.dtstart=new Date((new Date).setMilliseconds(0))),a(t.wkst)?i(t.wkst)||(t.wkst=t.wkst.weekday):t.wkst=qe.MO.weekday,a(t.bysetpos)){i(t.bysetpos)&&(t.bysetpos=[t.bysetpos]);for(var r=0;r<t.bysetpos.length;r++){if(0===(c=t.bysetpos[r])||!(c>=-366&&c<=366))throw new Error("bysetpos must be between 1 and 366, or between -366 and -1")}}if(!(Boolean(t.byweekno)||m(t.byweekno)||m(t.byyearday)||Boolean(t.bymonthday)||m(t.bymonthday)||a(t.byweekday)||a(t.byeaster)))switch(t.freq){case qe.YEARLY:t.bymonth||(t.bymonth=t.dtstart.getUTCMonth()+1),t.bymonthday=t.dtstart.getUTCDate();break;case qe.MONTHLY:t.bymonthday=t.dtstart.getUTCDate();break;case qe.WEEKLY:t.byweekday=[A(t.dtstart)]}if(a(t.bymonth)&&!u(t.bymonth)&&(t.bymonth=[t.bymonth]),a(t.byyearday)&&!u(t.byyearday)&&i(t.byyearday)&&(t.byyearday=[t.byyearday]),a(t.bymonthday))if(u(t.bymonthday)){var n=[],l=[];for(r=0;r<t.bymonthday.length;r++){var c;(c=t.bymonthday[r])>0?n.push(c):c<0&&l.push(c)}t.bymonthday=n,t.bynmonthday=l}else t.bymonthday<0?(t.bynmonthday=[t.bymonthday],t.bymonthday=[]):(t.bynmonthday=[],t.bymonthday=[t.bymonthday]);else t.bymonthday=[],t.bynmonthday=[];if(a(t.byweekno)&&!u(t.byweekno)&&(t.byweekno=[t.byweekno]),a(t.byweekday))if(i(t.byweekday))t.byweekday=[t.byweekday],t.bynweekday=null;else if(s(t.byweekday))t.byweekday=[o.fromStr(t.byweekday).weekday],t.bynweekday=null;else if(t.byweekday instanceof o)!t.byweekday.n||t.freq>qe.MONTHLY?(t.byweekday=[t.byweekday.weekday],t.bynweekday=null):(t.bynweekday=[[t.byweekday.weekday,t.byweekday.n]],t.byweekday=null);else{var p=[],d=[];for(r=0;r<t.byweekday.length;r++){var h=t.byweekday[r];i(h)?p.push(h):s(h)?p.push(o.fromStr(h).weekday):!h.n||t.freq>qe.MONTHLY?p.push(h.weekday):d.push([h.weekday,h.n])}t.byweekday=m(p)?p:null,t.bynweekday=m(d)?d:null}else t.bynweekday=null;return a(t.byhour)?i(t.byhour)&&(t.byhour=[t.byhour]):t.byhour=t.freq<qe.HOURLY?[t.dtstart.getUTCHours()]:null,a(t.byminute)?i(t.byminute)&&(t.byminute=[t.byminute]):t.byminute=t.freq<qe.MINUTELY?[t.dtstart.getUTCMinutes()]:null,a(t.bysecond)?i(t.bysecond)&&(t.bysecond=[t.bysecond]):t.bysecond=t.freq<qe.SECONDLY?[t.dtstart.getUTCSeconds()]:null,{parsedOptions:t}}function ne(e){var t=e.split("\n").map(ae).filter(function(e){return null!==e});return(0,Y.Cl)((0,Y.Cl)({},t[0]),t[1])}function oe(e){var t={},r=/DTSTART(?:;TZID=([^:=]+?))?(?::|=)([^;\s]+)/i.exec(e);if(!r)return t;var n=r[1],o=r[2];return n&&(t.tzid=n),t.dtstart=O(o),t}function ae(e){if(!(e=e.replace(/^\s+|\s+$/,"")).length)return null;var t=/^([A-Z]+?)[:;]/.exec(e.toUpperCase());if(!t)return ie(e);var r=t[1];switch(r.toUpperCase()){case"RRULE":case"EXRULE":return ie(e);case"DTSTART":return oe(e);default:throw new Error("Unsupported RFC prop ".concat(r," in ").concat(e))}}function ie(e){var t=oe(e.replace(/^RRULE:/i,""));return e.replace(/^(?:RRULE|EXRULE):/i,"").split(";").forEach(function(r){var n=r.split("="),a=n[0],i=n[1];switch(a.toUpperCase()){case"FREQ":t.freq=$[i.toUpperCase()];break;case"WKST":t.wkst=Ie[i.toUpperCase()];break;case"COUNT":case"INTERVAL":case"BYSETPOS":case"BYMONTH":case"BYMONTHDAY":case"BYYEARDAY":case"BYWEEKNO":case"BYHOUR":case"BYMINUTE":case"BYSECOND":var s=function(e){if(-1!==e.indexOf(",")){return e.split(",").map(se)}return se(e)}(i),u=a.toLowerCase();t[u]=s;break;case"BYWEEKDAY":case"BYDAY":t.byweekday=function(e){var t=e.split(",");return t.map(function(e){if(2===e.length)return Ie[e];var t=e.match(/^([+-]?\d{1,2})([A-Z]{2})$/);if(!t||t.length<3)throw new SyntaxError("Invalid weekday string: ".concat(e));var r=Number(t[1]),n=t[2],a=Ie[n].weekday;return new o(a,r)})}(i);break;case"DTSTART":case"TZID":var l=oe(e);t.tzid=l.tzid,t.dtstart=l.dtstart;break;case"UNTIL":t.until=O(i);break;case"BYEASTER":t.byeaster=Number(i);break;default:throw new Error("Unknown RRULE property '"+a+"'")}}),t}function se(e){return/^[+-]?\d+$/.test(e)?Number(e):e}var ue=function(){function e(e,t){if(isNaN(e.getTime()))throw new RangeError("Invalid date passed to DateWithZone");this.date=e,this.tzid=t}return Object.defineProperty(e.prototype,"isUTC",{get:function(){return!this.tzid||"UTC"===this.tzid.toUpperCase()},enumerable:!1,configurable:!0}),e.prototype.toString=function(){var e=L(this.date.getTime(),this.isUTC);return this.isUTC?":".concat(e):";TZID=".concat(this.tzid,":").concat(e)},e.prototype.getTime=function(){return this.date.getTime()},e.prototype.rezonedDate=function(){return this.isUTC?this.date:function(e,t){var r=Intl.DateTimeFormat().resolvedOptions().timeZone,n=new Date(R(e,r)),o=new Date(R(e,null!==t&&void 0!==t?t:"UTC")).getTime()-n.getTime();return new Date(e.getTime()-o)}(this.date,this.tzid)},e}();function le(e){for(var t=[],r="",n=Object.keys(e),s=Object.keys(Ye),l=0;l<n.length;l++)if("tzid"!==n[l]&&y(s,n[l])){var c=n[l].toUpperCase(),d=e[n[l]],h="";if(a(d)&&(!u(d)||d.length)){switch(c){case"FREQ":h=qe.FREQUENCIES[e.freq];break;case"WKST":h=i(d)?new o(d).toString():d.toString();break;case"BYWEEKDAY":c="BYDAY",h=p(d).map(function(e){return e instanceof o?e:u(e)?new o(e[0],e[1]):new o(e)}).toString();break;case"DTSTART":r=ce(d,e.tzid);break;case"UNTIL":h=L(d,!e.tzid);break;default:if(u(d)){for(var f=[],D=0;D<d.length;D++)f[D]=String(d[D]);h=f.toString()}else h=String(d)}h&&t.push([c,h])}}var m=t.map(function(e){var t=e[0],r=e[1];return"".concat(t,"=").concat(r.toString())}).join(";"),g="";return""!==m&&(g="RRULE:".concat(m)),[r,g].filter(function(e){return!!e}).join("\n")}function ce(e,t){return e?"DTSTART"+new ue(new Date(e),t).toString():""}function pe(e,t){return Array.isArray(e)?!!Array.isArray(t)&&(e.length===t.length&&e.every(function(e,r){return e.getTime()===t[r].getTime()})):e instanceof Date?t instanceof Date&&e.getTime()===t.getTime():e===t}var de=function(){function e(){this.all=!1,this.before=[],this.after=[],this.between=[]}return e.prototype._cacheAdd=function(e,t,r){t&&(t=t instanceof Date?P(t):B(t)),"all"===e?this.all=t:(r._value=t,this[e].push(r))},e.prototype._cacheGet=function(e,t){var r=!1,n=t?Object.keys(t):[],o=function(e){for(var r=0;r<n.length;r++){var o=n[r];if(!pe(t[o],e[o]))return!0}return!1},a=this[e];if("all"===e)r=this.all;else if(u(a))for(var i=0;i<a.length;i++){var s=a[i];if(!n.length||!o(s)){r=s._value;break}}if(!r&&this.all){var l=new I(e,t);for(i=0;i<this.all.length&&l.accept(this.all[i]);i++);r=l.getValue(),this._cacheAdd(e,r,t)}return u(r)?B(r):r instanceof Date?P(r):r},e}(),he=(0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)([],c(1,31),!0),c(2,28),!0),c(3,31),!0),c(4,30),!0),c(5,31),!0),c(6,30),!0),c(7,31),!0),c(8,31),!0),c(9,30),!0),c(10,31),!0),c(11,30),!0),c(12,31),!0),c(1,7),!0),fe=(0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)([],c(1,31),!0),c(2,29),!0),c(3,31),!0),c(4,30),!0),c(5,31),!0),c(6,30),!0),c(7,31),!0),c(8,31),!0),c(9,30),!0),c(10,31),!0),c(11,30),!0),c(12,31),!0),c(1,7),!0),De=l(1,29),me=l(1,30),ye=l(1,31),ge=l(1,32),ve=(0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)([],ge,!0),me,!0),ge,!0),ye,!0),ge,!0),ye,!0),ge,!0),ge,!0),ye,!0),ge,!0),ye,!0),ge,!0),ge.slice(0,7),!0),be=(0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)([],ge,!0),De,!0),ge,!0),ye,!0),ge,!0),ye,!0),ge,!0),ge,!0),ye,!0),ge,!0),ye,!0),ge,!0),ge.slice(0,7),!0),ke=l(-28,0),Ce=l(-29,0),Fe=l(-30,0),we=l(-31,0),Ee=(0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)([],we,!0),Ce,!0),we,!0),Fe,!0),we,!0),Fe,!0),we,!0),we,!0),Fe,!0),we,!0),Fe,!0),we,!0),we.slice(0,7),!0),_e=(0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)((0,Y.fX)([],we,!0),ke,!0),we,!0),Fe,!0),we,!0),Fe,!0),we,!0),we,!0),Fe,!0),we,!0),Fe,!0),we,!0),we.slice(0,7),!0),Se=[0,31,60,91,121,152,182,213,244,274,305,335,366],xe=[0,31,59,90,120,151,181,212,243,273,304,334,365],Ae=function(){for(var e=[],t=0;t<55;t++)e=e.concat(l(7));return e}();function Me(e,t){var r,n,o=g(e,1,1),a=F(e)?366:365,i=F(e+1)?366:365,s=_(o),u=A(o),l=(0,Y.Cl)((0,Y.Cl)({yearlen:a,nextyearlen:i,yearordinal:s,yearweekday:u},function(e){var t=F(e)?366:365,r=g(e,1,1),n=A(r);if(365===t)return{mmask:he,mdaymask:be,nmdaymask:_e,wdaymask:Ae.slice(n),mrange:xe};return{mmask:fe,mdaymask:ve,nmdaymask:Ee,wdaymask:Ae.slice(n),mrange:Se}}(e)),{wnomask:null});if(D(t.byweekno))return l;l.wnomask=c(0,a+7);var p=r=h(7-u+t.wkst,7);p>=4?(p=0,n=l.yearlen+h(u-t.wkst,7)):n=a-p;for(var d=Math.floor(n/7),f=h(n,7),m=Math.floor(d+f/4),v=0;v<t.byweekno.length;v++){var b=t.byweekno[v];if(b<0&&(b+=m+1),b>0&&b<=m){var k=void 0;b>1?(k=p+7*(b-1),p!==r&&(k-=7-r)):k=p;for(var C=0;C<7&&(l.wnomask[k]=1,k++,l.wdaymask[k]!==t.wkst);C++);}}if(y(t.byweekno,1)){k=p+7*m;if(p!==r&&(k-=7-r),k<a)for(v=0;v<7&&(l.wnomask[k]=1,k+=1,l.wdaymask[k]!==t.wkst);v++);}if(p){var w=void 0;if(y(t.byweekno,-1))w=-1;else{var E=A(g(e-1,1,1)),S=h(7-E.valueOf()+t.wkst,7),x=F(e-1)?366:365,M=void 0;S>=4?(S=0,M=x+h(E-t.wkst,7)):M=a-p,w=Math.floor(52+h(M,7)/4)}if(y(t.byweekno,w))for(k=0;k<p;k++)l.wnomask[k]=1}return l}const Te=function(){function e(e){this.options=e}return e.prototype.rebuild=function(e,t){var r=this.options;if(e!==this.lastyear&&(this.yearinfo=Me(e,r)),m(r.bynweekday)&&(t!==this.lastmonth||e!==this.lastyear)){var n=this.yearinfo,o=n.yearlen,i=n.mrange,s=n.wdaymask;this.monthinfo=function(e,t,r,n,o,a){var i={lastyear:e,lastmonth:t,nwdaymask:[]},s=[];if(a.freq===qe.YEARLY)if(D(a.bymonth))s=[[0,r]];else for(var u=0;u<a.bymonth.length;u++)t=a.bymonth[u],s.push(n.slice(t-1,t+1));else a.freq===qe.MONTHLY&&(s=[n.slice(t-1,t+1)]);if(D(s))return i;for(i.nwdaymask=c(0,r),u=0;u<s.length;u++)for(var l=s[u],p=l[0],d=l[1]-1,f=0;f<a.bynweekday.length;f++){var m=void 0,y=a.bynweekday[f],g=y[0],v=y[1];v<0?(m=d+7*(v+1),m-=h(o[m]-g,7)):(m=p+7*(v-1),m+=h(7-o[m]+g,7)),p<=m&&m<=d&&(i.nwdaymask[m]=1)}return i}(e,t,o,i,s,r)}a(r.byeaster)&&(this.eastermask=function(e,t){void 0===t&&(t=0);var r=e%19,n=Math.floor(e/100),o=e%100,a=Math.floor(n/4),i=n%4,s=Math.floor((n+8)/25),u=Math.floor((n-s+1)/3),l=Math.floor(19*r+n-a-u+15)%30,c=Math.floor(o/4),p=o%4,d=Math.floor(32+2*i+2*c-l-p)%7,h=Math.floor((r+11*l+22*d)/451),f=Math.floor((l+d-7*h+114)/31),D=(l+d-7*h+114)%31+1,m=Date.UTC(e,f-1,D+t),y=Date.UTC(e,0,1);return[Math.ceil((m-y)/864e5)]}(e,r.byeaster))},Object.defineProperty(e.prototype,"lastyear",{get:function(){return this.monthinfo?this.monthinfo.lastyear:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastmonth",{get:function(){return this.monthinfo?this.monthinfo.lastmonth:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"yearlen",{get:function(){return this.yearinfo.yearlen},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"yearordinal",{get:function(){return this.yearinfo.yearordinal},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"mrange",{get:function(){return this.yearinfo.mrange},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"wdaymask",{get:function(){return this.yearinfo.wdaymask},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"mmask",{get:function(){return this.yearinfo.mmask},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"wnomask",{get:function(){return this.yearinfo.wnomask},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nwdaymask",{get:function(){return this.monthinfo?this.monthinfo.nwdaymask:[]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextyearlen",{get:function(){return this.yearinfo.nextyearlen},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"mdaymask",{get:function(){return this.yearinfo.mdaymask},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nmdaymask",{get:function(){return this.yearinfo.nmdaymask},enumerable:!1,configurable:!0}),e.prototype.ydayset=function(){return[l(this.yearlen),0,this.yearlen]},e.prototype.mdayset=function(e,t){for(var r=this.mrange[t-1],n=this.mrange[t],o=c(null,this.yearlen),a=r;a<n;a++)o[a]=a;return[o,r,n]},e.prototype.wdayset=function(e,t,r){for(var n=c(null,this.yearlen+7),o=_(g(e,t,r))-this.yearordinal,a=o,i=0;i<7&&(n[o]=o,++o,this.wdaymask[o]!==this.options.wkst);i++);return[n,a,o]},e.prototype.ddayset=function(e,t,r){var n=c(null,this.yearlen),o=_(g(e,t,r))-this.yearordinal;return n[o]=o,[n,o,o+1]},e.prototype.htimeset=function(e,t,r,n){var o=this,a=[];return this.options.byminute.forEach(function(t){a=a.concat(o.mtimeset(e,t,r,n))}),N(a),a},e.prototype.mtimeset=function(e,t,r,n){var o=this.options.bysecond.map(function(r){return new J(e,t,r,n)});return N(o),o},e.prototype.stimeset=function(e,t,r,n){return[new J(e,t,r,n)]},e.prototype.getdayset=function(e){switch(e){case $.YEARLY:return this.ydayset.bind(this);case $.MONTHLY:return this.mdayset.bind(this);case $.WEEKLY:return this.wdayset.bind(this);case $.DAILY:default:return this.ddayset.bind(this)}},e.prototype.gettimeset=function(e){switch(e){case $.HOURLY:return this.htimeset.bind(this);case $.MINUTELY:return this.mtimeset.bind(this);case $.SECONDLY:return this.stimeset.bind(this)}},e}();function Pe(e,t,r,n,o,i){for(var s=[],u=0;u<e.length;u++){var l=void 0,c=void 0,p=e[u];p<0?(l=Math.floor(p/t.length),c=h(p,t.length)):(l=Math.floor((p-1)/t.length),c=h(p-1,t.length));for(var d=[],f=r;f<n;f++){var D=i[f];a(D)&&d.push(D)}var m=void 0;m=l<0?d.slice(l)[0]:d[l];var g=t[c],v=S(o.yearordinal+m),b=T(v,g);y(s,b)||s.push(b)}return N(s),s}function Be(e,t){var r=t.dtstart,n=t.freq,o=t.interval,i=t.until,s=t.bysetpos,u=t.count;if(0===u||0===o)return Oe(e);var l=ee.fromDate(r),c=new Te(t);c.rebuild(l.year,l.month);for(var p=function(e,t,r){var n=r.freq,o=r.byhour,a=r.byminute,i=r.bysecond;if(Z(n))return function(e){var t=e.dtstart.getTime()%1e3;if(!Z(e.freq))return[];var r=[];return e.byhour.forEach(function(n){e.byminute.forEach(function(o){e.bysecond.forEach(function(e){r.push(new J(n,o,e,t))})})}),r}(r);if(n>=qe.HOURLY&&m(o)&&!y(o,t.hour)||n>=qe.MINUTELY&&m(a)&&!y(a,t.minute)||n>=qe.SECONDLY&&m(i)&&!y(i,t.second))return[];return e.gettimeset(n)(t.hour,t.minute,t.second,t.millisecond)}(c,l,t);;){var d=c.getdayset(n)(l.year,l.month,l.day),h=d[0],f=d[1],D=d[2],g=Re(h,f,D,c,t);if(m(s))for(var v=Pe(s,p,f,D,c,h),b=0;b<v.length;b++){var k=v[b];if(i&&k>i)return Oe(e);if(k>=r){var C=Le(k,t);if(!e.accept(C))return Oe(e);if(u&&! --u)return Oe(e)}}else for(b=f;b<D;b++){var F=h[b];if(a(F))for(var w=S(c.yearordinal+F),E=0;E<p.length;E++){var _=p[E];k=T(w,_);if(i&&k>i)return Oe(e);if(k>=r){C=Le(k,t);if(!e.accept(C))return Oe(e);if(u&&! --u)return Oe(e)}}}if(0===t.interval)return Oe(e);if(l.add(t,g),l.year>9999)return Oe(e);Z(n)||(p=c.gettimeset(n)(l.hour,l.minute,l.second,0)),c.rebuild(l.year,l.month)}}function Ne(e,t,r){var n=r.bymonth,o=r.byweekno,a=r.byweekday,i=r.byeaster,s=r.bymonthday,u=r.bynmonthday,l=r.byyearday;return m(n)&&!y(n,e.mmask[t])||m(o)&&!e.wnomask[t]||m(a)&&!y(a,e.wdaymask[t])||m(e.nwdaymask)&&!e.nwdaymask[t]||null!==i&&!y(e.eastermask,t)||(m(s)||m(u))&&!y(s,e.mdaymask[t])&&!y(u,e.nmdaymask[t])||m(l)&&(t<e.yearlen&&!y(l,t+1)&&!y(l,-e.yearlen+t)||t>=e.yearlen&&!y(l,t+1-e.yearlen)&&!y(l,-e.nextyearlen+t-e.yearlen))}function Le(e,t){return new ue(e,t.tzid).rezonedDate()}function Oe(e){return e.getValue()}function Re(e,t,r,n,o){for(var a=!1,i=t;i<r;i++){var s=e[i];(a=Ne(n,s,o))&&(e[s]=null)}return a}var Ie={MO:new o(0),TU:new o(1),WE:new o(2),TH:new o(3),FR:new o(4),SA:new o(5),SU:new o(6)},Ye={freq:$.YEARLY,dtstart:null,interval:1,wkst:Ie.MO,count:null,until:null,tzid:null,bysetpos:null,bymonth:null,bymonthday:null,bynmonthday:null,byyearday:null,byweekno:null,byweekday:null,bynweekday:null,byhour:null,byminute:null,bysecond:null,byeaster:null},je=Object.keys(Ye),qe=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t=!1),this._cache=t?null:new de,this.origOptions=te(e);var r=re(e).parsedOptions;this.options=r}return e.parseText=function(e,t){return K(e,t)},e.fromText=function(e,t){return X(e,t)},e.fromString=function(t){return new e(e.parseString(t)||void 0)},e.prototype._iter=function(e){return Be(e,this.options)},e.prototype._cacheGet=function(e,t){return!!this._cache&&this._cache._cacheGet(e,t)},e.prototype._cacheAdd=function(e,t,r){if(this._cache)return this._cache._cacheAdd(e,t,r)},e.prototype.all=function(e){if(e)return this._iter(new j("all",{},e));var t=this._cacheGet("all");return!1===t&&(t=this._iter(new I("all",{})),this._cacheAdd("all",t)),t},e.prototype.between=function(e,t,r,n){if(void 0===r&&(r=!1),!E(e)||!E(t))throw new Error("Invalid date passed in to RRule.between");var o={before:t,after:e,inc:r};if(n)return this._iter(new j("between",o,n));var a=this._cacheGet("between",o);return!1===a&&(a=this._iter(new I("between",o)),this._cacheAdd("between",a,o)),a},e.prototype.before=function(e,t){if(void 0===t&&(t=!1),!E(e))throw new Error("Invalid date passed in to RRule.before");var r={dt:e,inc:t},n=this._cacheGet("before",r);return!1===n&&(n=this._iter(new I("before",r)),this._cacheAdd("before",n,r)),n},e.prototype.after=function(e,t){if(void 0===t&&(t=!1),!E(e))throw new Error("Invalid date passed in to RRule.after");var r={dt:e,inc:t},n=this._cacheGet("after",r);return!1===n&&(n=this._iter(new I("after",r)),this._cacheAdd("after",n,r)),n},e.prototype.count=function(){return this.all().length},e.prototype.toString=function(){return le(this.origOptions)},e.prototype.toText=function(e,t,r){return function(e,t,r,n){return new U(e,t,r,n).toString()}(this,e,t,r)},e.prototype.isFullyConvertibleToText=function(){return G(this)},e.prototype.clone=function(){return new e(this.origOptions)},e.FREQUENCIES=["YEARLY","MONTHLY","WEEKLY","DAILY","HOURLY","MINUTELY","SECONDLY"],e.YEARLY=$.YEARLY,e.MONTHLY=$.MONTHLY,e.WEEKLY=$.WEEKLY,e.DAILY=$.DAILY,e.HOURLY=$.HOURLY,e.MINUTELY=$.MINUTELY,e.SECONDLY=$.SECONDLY,e.MO=Ie.MO,e.TU=Ie.TU,e.WE=Ie.WE,e.TH=Ie.TH,e.FR=Ie.FR,e.SA=Ie.SA,e.SU=Ie.SU,e.parseString=ne,e.optionsToString=le,e}();var ze={dtstart:null,cache:!1,unfold:!1,forceset:!1,compatible:!1,tzid:null};function He(e,t){var r=[],n=[],o=[],a=[],i=oe(e),s=i.dtstart,u=i.tzid,l=function(e,t){void 0===t&&(t=!1);if(e=e&&e.trim(),!e)throw new Error("Invalid empty string");if(!t)return e.split(/\s/);var r=e.split("\n"),n=0;for(;n<r.length;){var o=r[n]=r[n].replace(/\s+$/g,"");o?n>0&&" "===o[0]?(r[n-1]+=o.slice(1),r.splice(n,1)):n+=1:r.splice(n,1)}return r}(e,t.unfold);return l.forEach(function(e){var t;if(e){var i=function(e){var t=function(e){if(-1===e.indexOf(":"))return{name:"RRULE",value:e};var t=function(e,t,r){var n=e.split(t);return r?n.slice(0,r).concat([n.slice(r).join(t)]):n}(e,":",1),r=t[0],n=t[1];return{name:r,value:n}}(e),r=t.name,n=t.value,o=r.split(";");if(!o)throw new Error("empty property name");return{name:o[0].toUpperCase(),parms:o.slice(1),value:n}}(e),s=i.name,l=i.parms,c=i.value;switch(s.toUpperCase()){case"RRULE":if(l.length)throw new Error("unsupported RRULE parm: ".concat(l.join(",")));r.push(ne(e));break;case"RDATE":var p=(null!==(t=/RDATE(?:;TZID=([^:=]+))?/i.exec(e))&&void 0!==t?t:[])[1];p&&!u&&(u=p),n=n.concat($e(c,l));break;case"EXRULE":if(l.length)throw new Error("unsupported EXRULE parm: ".concat(l.join(",")));o.push(ne(c));break;case"EXDATE":a=a.concat($e(c,l));break;case"DTSTART":break;default:throw new Error("unsupported property: "+s)}}}),{dtstart:s,tzid:u,rrulevals:r,rdatevals:n,exrulevals:o,exdatevals:a}}function We(e,t){return void 0===t&&(t={}),function(e,t){var r=He(e,t),n=r.rrulevals,o=r.rdatevals,a=r.exrulevals,i=r.exdatevals,s=r.dtstart,u=r.tzid,l=!1===t.cache;if(t.compatible&&(t.forceset=!0,t.unfold=!0),t.forceset||n.length>1||o.length||a.length||i.length){var c=new Ke(l);return c.dtstart(s),c.tzid(u||void 0),n.forEach(function(e){c.rrule(new qe(Ue(e,s,u),l))}),o.forEach(function(e){c.rdate(e)}),a.forEach(function(e){c.exrule(new qe(Ue(e,s,u),l))}),i.forEach(function(e){c.exdate(e)}),t.compatible&&t.dtstart&&c.rdate(s),c}var p=n[0]||{};return new qe(Ue(p,p.dtstart||t.dtstart||s,p.tzid||t.tzid||u),l)}(e,function(e){var t=[],r=Object.keys(e),n=Object.keys(ze);if(r.forEach(function(e){y(n,e)||t.push(e)}),t.length)throw new Error("Invalid options: "+t.join(", "));return(0,Y.Cl)((0,Y.Cl)({},ze),e)}(t))}function Ue(e,t,r){return(0,Y.Cl)((0,Y.Cl)({},e),{dtstart:t,tzid:r})}function $e(e,t){return function(e){e.forEach(function(e){if(!/(VALUE=DATE(-TIME)?)|(TZID=)/.test(e))throw new Error("unsupported RDATE/EXDATE parm: "+e)})}(t),e.split(",").map(function(e){return O(e)})}function Ve(e){var t=this;return function(r){if(void 0!==r&&(t["_".concat(e)]=r),void 0!==t["_".concat(e)])return t["_".concat(e)];for(var n=0;n<t._rrule.length;n++){var o=t._rrule[n].origOptions[e];if(o)return o}}}var Ke=function(e){function t(t){void 0===t&&(t=!1);var r=e.call(this,{},t)||this;return r.dtstart=Ve.apply(r,["dtstart"]),r.tzid=Ve.apply(r,["tzid"]),r._rrule=[],r._rdate=[],r._exrule=[],r._exdate=[],r}return(0,Y.C6)(t,e),t.prototype._iter=function(e){return function(e,t,r,n,o,a){var i={},s=e.accept;function u(e,t){r.forEach(function(r){r.between(e,t,!0).forEach(function(e){i[Number(e)]=!0})})}o.forEach(function(e){var t=new ue(e,a).rezonedDate();i[Number(t)]=!0}),e.accept=function(e){var t=Number(e);return isNaN(t)?s.call(this,e):!(!i[t]&&(u(new Date(t-1),new Date(t+1)),!i[t]))||(i[t]=!0,s.call(this,e))},"between"===e.method&&(u(e.args.after,e.args.before),e.accept=function(e){var t=Number(e);return!!i[t]||(i[t]=!0,s.call(this,e))});for(var l=0;l<n.length;l++){var c=new ue(n[l],a).rezonedDate();if(!e.accept(new Date(c.getTime())))break}t.forEach(function(t){Be(e,t.options)});var p=e._result;switch(N(p),e.method){case"all":case"between":return p;case"before":return p.length&&p[p.length-1]||null;default:return p.length&&p[0]||null}}(e,this._rrule,this._exrule,this._rdate,this._exdate,this.tzid())},t.prototype.rrule=function(e){Ze(e,this._rrule)},t.prototype.exrule=function(e){Ze(e,this._exrule)},t.prototype.rdate=function(e){Xe(e,this._rdate)},t.prototype.exdate=function(e){Xe(e,this._exdate)},t.prototype.rrules=function(){return this._rrule.map(function(e){return We(e.toString())})},t.prototype.exrules=function(){return this._exrule.map(function(e){return We(e.toString())})},t.prototype.rdates=function(){return this._rdate.map(function(e){return new Date(e.getTime())})},t.prototype.exdates=function(){return this._exdate.map(function(e){return new Date(e.getTime())})},t.prototype.valueOf=function(){var e=[];return!this._rrule.length&&this._dtstart&&(e=e.concat(le({dtstart:this._dtstart}))),this._rrule.forEach(function(t){e=e.concat(t.toString().split("\n"))}),this._exrule.forEach(function(t){e=e.concat(t.toString().split("\n").map(function(e){return e.replace(/^RRULE:/,"EXRULE:")}).filter(function(e){return!/^DTSTART/.test(e)}))}),this._rdate.length&&e.push(Qe("RDATE",this._rdate,this.tzid())),this._exdate.length&&e.push(Qe("EXDATE",this._exdate,this.tzid())),e},t.prototype.toString=function(){return this.valueOf().join("\n")},t.prototype.clone=function(){var e=new t(!!this._cache);return this._rrule.forEach(function(t){return e.rrule(t.clone())}),this._exrule.forEach(function(t){return e.exrule(t.clone())}),this._rdate.forEach(function(t){return e.rdate(new Date(t.getTime()))}),this._exdate.forEach(function(t){return e.exdate(new Date(t.getTime()))}),e},t}(qe);function Ze(e,t){if(!(e instanceof qe))throw new TypeError(String(e)+" is not RRule instance");y(t.map(String),String(e))||t.push(e)}function Xe(e,t){if(!(e instanceof Date))throw new TypeError(String(e)+" is not Date instance");y(t.map(Number),Number(e))||(t.push(e),N(t))}function Qe(e,t,r){var n=!r||"UTC"===r.toUpperCase(),o=n?"".concat(e,":"):"".concat(e,";TZID=").concat(r,":"),a=t.map(function(e){return L(e.valueOf(),n)}).join(",");return"".concat(o).concat(a)}},17271(e){e.exports=function(e,t,r){"use strict";if(e===t)return 1;if(""===t)return 0;var n=0,o=e.toLowerCase(),a=e.length,i=t.toLowerCase(),s=t.length,u=0,l=1;r=r?1-r:0;for(var c=0;c<s;c+=1){var p=o.indexOf(i[c],u);if(-1===p){if(!r)return 0;l+=r}else{var d=0;u===p?d=.7:(d=.1," "===e[p-1]&&(d+=.8)),e[p]===t[c]&&(d+=.1),n+=d,u=p+1}}var h=.5*(n/a+n/s)/l;return i[0]===o[0]&&h<.85&&(h+=.15),h}},7897(e,t,r){"use strict";r.d(t,{a$:()=>o,k6j:()=>a,pS3:()=>n});var n={prefix:"far",iconName:"eye",icon:[576,512,[128065],"f06e","M288 80C222.8 80 169.2 109.6 128.1 147.7 89.6 183.5 63 226 49.4 256 63 286 89.6 328.5 128.1 364.3 169.2 402.4 222.8 432 288 432s118.8-29.6 159.9-67.7C486.4 328.5 513 286 526.6 256 513 226 486.4 183.5 447.9 147.7 406.8 109.6 353.2 80 288 80zM95.4 112.6C142.5 68.8 207.2 32 288 32s145.5 36.8 192.6 80.6c46.8 43.5 78.1 95.4 93 131.1 3.3 7.9 3.3 16.7 0 24.6-14.9 35.7-46.2 87.7-93 131.1-47.1 43.7-111.8 80.6-192.6 80.6S142.5 443.2 95.4 399.4c-46.8-43.5-78.1-95.4-93-131.1-3.3-7.9-3.3-16.7 0-24.6 14.9-35.7 46.2-87.7 93-131.1zM288 336c44.2 0 80-35.8 80-80 0-29.6-16.1-55.5-40-69.3-1.4 59.7-49.6 107.9-109.3 109.3 13.8 23.9 39.7 40 69.3 40zm-79.6-88.4c2.5 .3 5 .4 7.6 .4 35.3 0 64-28.7 64-64 0-2.6-.2-5.1-.4-7.6-37.4 3.9-67.2 33.7-71.1 71.1zm45.6-115c10.8-3 22.2-4.5 33.9-4.5 8.8 0 17.5 .9 25.8 2.6 .3 .1 .5 .1 .8 .2 57.9 12.2 101.4 63.7 101.4 125.2 0 70.7-57.3 128-128 128-61.6 0-113-43.5-125.2-101.4-1.8-8.6-2.8-17.5-2.8-26.6 0-11 1.4-21.8 4-32 .2-.7 .3-1.3 .5-1.9 11.9-43.4 46.1-77.6 89.5-89.5z"]},o={prefix:"far",iconName:"clock",icon:[512,512,[128339,"clock-four"],"f017","M464 256a208 208 0 1 1 -416 0 208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0 256 256 0 1 0 -512 0zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"]},a={prefix:"far",iconName:"eye-slash",icon:[576,512,[],"f070","M41-24.9c-9.4-9.4-24.6-9.4-33.9 0S-2.3-.3 7 9.1l528 528c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-96.4-96.4c2.7-2.4 5.4-4.8 8-7.2 46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6-56.8 0-105.6 18.2-146 44.2L41-24.9zM176.9 111.1c32.1-18.9 69.2-31.1 111.1-31.1 65.2 0 118.8 29.6 159.9 67.7 38.5 35.7 65.1 78.3 78.6 108.3-13.6 30-40.2 72.5-78.6 108.3-3.1 2.8-6.2 5.6-9.4 8.4L393.8 328c14-20.5 22.2-45.3 22.2-72 0-70.7-57.3-128-128-128-26.7 0-51.5 8.2-72 22.2l-39.1-39.1zm182 182l-108-108c11.1-5.8 23.7-9.1 37.1-9.1 44.2 0 80 35.8 80 80 0 13.4-3.3 26-9.1 37.1zM103.4 173.2l-34-34c-32.6 36.8-55 75.8-66.9 104.5-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6 37.3 0 71.2-7.9 101.5-20.6L352.2 422c-20 6.4-41.4 10-64.2 10-65.2 0-118.8-29.6-159.9-67.7-38.5-35.7-65.1-78.3-78.6-108.3 10.4-23.1 28.6-53.6 54-82.8z"]}},13083(e,t,r){"use strict";r.d(t,{Ay:()=>zr});var n=Object.create,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,s=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,l=e=>o(e,"__esModule",{value:!0}),c=(e,t)=>function(){return t||(0,e[Object.keys(e)[0]])((t={exports:{}}).exports,t),t.exports},p=(e,t)=>{for(var r in l(e),t)o(e,r,{get:t[r],enumerable:!0})},d=e=>((e,t,r)=>{if(t&&"object"===typeof t||"function"===typeof t)for(let n of i(t))u.call(e,n)||"default"===n||o(e,n,{get:()=>t[n],enumerable:!(r=a(t,n))||r.enumerable});return e})(l(o(null!=e?n(s(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e),h=c({"src/grammar/tag.js"(e,t){function r(e,t,n,o){this.message=e,this.expected=t,this.found=n,this.location=o,this.name="SyntaxError","function"===typeof Error.captureStackTrace&&Error.captureStackTrace(this,r)}!function(e,t){function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r}(r,Error),r.buildMessage=function(e,t,r){var n,o={literal:function(e){return'"'+i(e.text)+'"'},class:function(e){var t=e.parts.map(function(e){return Array.isArray(e)?s(e[0])+"-"+s(e[1]):s(e)});return"["+(e.inverted?"^":"")+t+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(e){return e.description},not:function(e){return"not "+u(e.expected)}};function a(e){return e.charCodeAt(0).toString(16).toUpperCase()}function i(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+a(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+a(e)})}function s(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+a(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+a(e)})}function u(e){return o[e.type](e)}return"Expected "+function(e){var t,r,n=e.map(u);if(n.sort(),n.length>0){for(t=1,r=1;t<n.length;t++)n[t-1]!==n[t]&&(n[r]=n[t],r++);n.length=r}switch(n.length){case 1:return n[0];case 2:return n[0]+" or "+n[1];default:return n.slice(0,-1).join(", ")+", or "+n[n.length-1]}}(e)+" but "+(((n=t)?'"'+i(n)+'"':"end of input")+" found.")},t.exports={SyntaxError:r,parse:function(e,t){t=void 0!==t?t:{};var n,o={},a={Top:We},i=We,s="/",u=".",l="#",c="=",p="(",d=")",h=",",f="[",D="]",m="null",y="true",g="false",v="{",b="}",k=":",C="-",F='"',w="\\",E="n",_="r",S="t",x=/^[$@]/,A=/^[0-9]/,M=/^[^\0-\x1F"\\]/,T=/^[a-zA-Z0-9_\-]/,P=/^[ \n\t]/,B=Re("/",!1),N=Ie("tag name"),L=Ie("class"),O=Ie("id"),R=Re("=",!1),I=Re("(",!1),Y=Re(")",!1),j=Re(",",!1),q=Ie("variable"),z=Ie("null"),H=Ie("boolean"),W=Re("[",!1),U=Re("]",!1),$=Re("{",!1),V=Re("}",!1),K=Re(":",!1),Z=Ie("number"),X=Ie("string"),Q=Ie("identifier"),G=Ie("whitespace"),J=function(e){return{type:"variable",meta:{variable:e}}},ee=function(e){return{type:"annotation",meta:{attributes:e}}},te=function(e,t){return t},re=function(e,t,r,n){t&&(r=r||[]).unshift({type:"attribute",name:"primary",value:t});const[o,a]=n?["tag",0]:["tag_open",1];return{type:o,nesting:a,meta:{tag:e,attributes:r}}},ne=function(e){return{type:"tag_close",nesting:-1,meta:{tag:e}}},oe=function(e,t){return e?[e,...t]:[]},ae=function(e){return e},ie=function(e){return e},se=function(e){return e},ue=function(e){return e},le=function(e){return{type:"class",name:e,value:!0}},ce=function(e){return{type:"attribute",name:"id",value:e}},pe=function(e,t){return{type:"attribute",name:e,value:t}},de=function(e,t,r){return t?[t,...r]:[]},he=function(e,t){let r={};for(let[n,{name:o,value:a}]of t.entries())r[o||n]=a;return new pt(e,r)},fe=function(e){return e},De=function(e,t){return{name:e,value:t}},me=function(e){return e},ye=function(e,t,r){return"@"===e?[t,...r]:new ct([t,...r])},ge=function(){return null},ve=function(){return!0},be=function(){return!1},ke=function(e,t){return[e,...t]},Ce=function(e){return e||[]},Fe=function(e,t){return Object.assign(e,...t)},we=function(e){return e||{}},Ee=function(e,t){return"$$mdtype"===e?{}:{[e]:t}},_e=function(){return parseFloat(e.substring(Be,Pe))},Se=function(e){return e.join("")},xe=function(){return"\n"},Ae=function(){return"\r"},Me=function(){return"\t"},Te=function(e){return e},Pe=0,Be=0,Ne=[{line:1,column:1}],Le=[],Oe=0;if("startRule"in t){if(!(t.startRule in a))throw new Error("Can't start parsing from rule \""+t.startRule+'".');i=a[t.startRule]}function Re(e,t){return{type:"literal",text:e,ignoreCase:t}}function Ie(e){return{type:"other",description:e}}function Ye(t){var r,n=Ne[t];if(n)return n;for(r=t-1;!Ne[r];)r--;for(n={line:(n=Ne[r]).line,column:n.column};r<t;)10===e.charCodeAt(r)?(n.line++,n.column=1):n.column++,r++;return Ne[t]=n,n}var je="string"===typeof t.filename&&t.filename.length>0;function qe(e,r){var n={};je&&(n.filename=t.filename);var o=Ye(e);n.start={offset:e,line:o.line,column:o.column};var a=Ye(r);return n.end={offset:r,line:a.line,column:a.column},n}function ze(e){var t=Le[Le.length-1];Pe<t.pos||(Pe>t.pos&&(t.pos=Pe,t.variants=[]),t.variants.push(e))}function He(e,t,n){return new r(r.buildMessage(e,t,n),e,t,n)}function We(){var t;return(t=function(){var e,t;e=Pe,(t=Je())===o&&(t=Ze());t!==o&&(Be=e,t=J(t));return e=t,e}())===o&&(t=function(){var e,t,r,n;if(e=Pe,(t=$e())!==o){for(r=[],n=lt();n!==o;)r.push(n),n=lt();Be=e,e=ee(t)}else Pe=e,e=o;return e}())===o&&(t=function(){var t,r,n,a,i,u,l,c=function(e){0===Oe&&ze(e)};if(t=Pe,(r=Ue())!==o){for(n=[],a=lt();a!==o;)n.push(a),a=lt();for(a=Pe,(i=tt())!==o?((u=lt())===o&&(u=null),Be=a,a=te(r,i)):(Pe=a,a=o),a===o&&(a=null),(i=$e())===o&&(i=null),u=[],l=lt();l!==o;)u.push(l),l=lt();c(B),47===e.charCodeAt(Pe)?(l=s,Pe++):l=o,l===o&&(l=null),Be=t,t=re(r,a,i,l)}else Pe=t,t=o;return t}(),t===o&&(t=function(){var t,r,n,a=function(e){0===Oe&&ze(e)};t=Pe,a(B),47===e.charCodeAt(Pe)?(r=s,Pe++):r=o;r!==o&&(n=Ue())!==o?(Be=t,t=ne(n)):(Pe=t,t=o);return t}())),t}function Ue(){var e,t;return t=N,0===Oe&&ze(t),Oe++,e=ut(),Oe--,e}function $e(){var e,t,r,n;if(e=Pe,(t=Ke())!==o){for(r=[],n=Ve();n!==o;)r.push(n),n=Ve();Be=e,e=oe(t,r)}else Pe=e,e=o;return e}function Ve(){var e,t,r;if(e=Pe,t=[],(r=lt())!==o)for(;r!==o;)t.push(r),r=lt();else t=o;return t!==o&&(r=Ke())!==o?(Be=e,e=ae(r)):(Pe=e,e=o),e}function Ke(){var t,r;return t=Pe,r=function(){var t,r,n,a=function(e){0===Oe&&ze(e)};a(O),Oe++,t=Pe,35===e.charCodeAt(Pe)?(r=l,Pe++):r=o;r!==o&&(n=ut())!==o?(Be=t,t=ce(n)):(Pe=t,t=o);return Oe--,t}(),r!==o&&(Be=t,r=ie(r)),(t=r)===o&&(t=Pe,r=function(){var t,r,n,a=function(e){0===Oe&&ze(e)};a(L),Oe++,t=Pe,46===e.charCodeAt(Pe)?(r=u,Pe++):r=o;r!==o&&(n=ut())!==o?(Be=t,t=le(n)):(Pe=t,t=o);return Oe--,t}(),r!==o&&(Be=t,r=se(r)),(t=r)===o&&(t=Pe,r=function(){var t,r,n,a,i=function(e){0===Oe&&ze(e)};t=Pe,r=ut(),r!==o?(i(R),61===e.charCodeAt(Pe)?(n=c,Pe++):n=o,n!==o&&(a=tt())!==o?(Be=t,t=pe(r,a)):(Pe=t,t=o)):(Pe=t,t=o);return t}(),r!==o&&(Be=t,r=ue(r)),t=r)),t}function Ze(){var t,r,n,a,i,s,u,l,c=function(e){0===Oe&&ze(e)};if(t=Pe,(r=ut())!==o)if(c(I),40===e.charCodeAt(Pe)?(n=p,Pe++):n=o,n!==o){for(a=[],i=lt();i!==o;)a.push(i),i=lt();for(i=Pe,(s=Xe())===o&&(s=null),u=[],l=Qe();l!==o;)u.push(l),l=Qe();Be=i,i=de(r,s,u),c(Y),41===e.charCodeAt(Pe)?(s=d,Pe++):s=o,s!==o?(Be=t,t=he(r,i)):(Pe=t,t=o)}else Pe=t,t=o;else Pe=t,t=o;return t}function Xe(){var t,r,n,a,i;return t=Pe,r=Pe,(n=ut())!==o?(i=R,0===Oe&&ze(i),61===e.charCodeAt(Pe)?(a=c,Pe++):a=o,a!==o?(Be=r,r=fe(n)):(Pe=r,r=o)):(Pe=r,r=o),r===o&&(r=null),(n=tt())!==o?(Be=t,t=De(r,n)):(Pe=t,t=o),t}function Qe(){var t,r,n,a,i,s;for(t=Pe,r=[],n=lt();n!==o;)r.push(n),n=lt();if(s=j,0===Oe&&ze(s),44===e.charCodeAt(Pe)?(n=h,Pe++):n=o,n!==o){for(a=[],i=lt();i!==o;)a.push(i),i=lt();(i=Xe())!==o?(Be=t,t=me(i)):(Pe=t,t=o)}else Pe=t,t=o;return t}function Ge(){var t,r,n,a;for(t=Pe,r=[],n=lt();n!==o;)r.push(n),n=lt();return a=j,0===Oe&&ze(a),44===e.charCodeAt(Pe)?(n=h,Pe++):n=o,n!==o?t=r=[r,n]:(Pe=t,t=o),t===o&&(t=null),t}function Je(){var t,r,n,a,i,s;if(s=q,0===Oe&&ze(s),Oe++,t=Pe,x.test(e.charAt(Pe))?(r=e.charAt(Pe),Pe++):r=o,r!==o)if((n=ut())!==o){for(a=[],i=et();i!==o;)a.push(i),i=et();Be=t,t=ye(r,n,a)}else Pe=t,t=o;else Pe=t,t=o;return Oe--,t}function et(){var t,r,n,a;return t=Pe,46===e.charCodeAt(Pe)?(r=u,Pe++):r=o,r!==o&&(n=ut())!==o?(Be=t,t=fe(n)):(Pe=t,t=o),t===o&&(t=Pe,91===e.charCodeAt(Pe)?(r=f,Pe++):r=o,r!==o?((n=at())===o&&(n=it()),n!==o?(93===e.charCodeAt(Pe)?(a=D,Pe++):a=o,a!==o?(Be=t,t=me(n)):(Pe=t,t=o)):(Pe=t,t=o)):(Pe=t,t=o)),t}function tt(){var t;return t=function(){var t,r,n=function(e){0===Oe&&ze(e)};n(z),Oe++,t=Pe,e.substr(Pe,4)===m?(r=m,Pe+=4):r=o;r!==o&&(Be=t,r=ge());return t=r,Oe--,t}(),t===o&&(t=function(){var t,r,n=function(e){0===Oe&&ze(e)};n(H),Oe++,t=Pe,e.substr(Pe,4)===y?(r=y,Pe+=4):r=o;r!==o&&(Be=t,r=ve());t=r,t===o&&(t=Pe,e.substr(Pe,5)===g?(r=g,Pe+=5):r=o,r!==o&&(Be=t,r=be()),t=r);return Oe--,t}(),t===o&&(t=it())===o&&(t=at())===o&&(t=function(){var t,r,n,a,i,s,u,l=function(e){0===Oe&&ze(e)};t=Pe,l(W),91===e.charCodeAt(Pe)?(r=f,Pe++):r=o;if(r!==o){for(n=[],a=lt();a!==o;)n.push(a),a=lt();if(a=Pe,(i=tt())!==o){for(s=[],u=rt();u!==o;)s.push(u),u=rt();u=Ge(),Be=a,a=ke(i,s)}else Pe=a,a=o;for(a===o&&(a=null),i=[],s=lt();s!==o;)i.push(s),s=lt();l(U),93===e.charCodeAt(Pe)?(s=D,Pe++):s=o,s!==o?(Be=t,t=Ce(a)):(Pe=t,t=o)}else Pe=t,t=o;return t}(),t===o&&(t=function(){var t,r,n,a,i,s,u,l=function(e){0===Oe&&ze(e)};t=Pe,l($),123===e.charCodeAt(Pe)?(r=v,Pe++):r=o;if(r!==o){for(n=[],a=lt();a!==o;)n.push(a),a=lt();if(a=Pe,(i=ot())!==o){for(s=[],u=nt();u!==o;)s.push(u),u=nt();u=Ge(),Be=a,a=Fe(i,s)}else Pe=a,a=o;for(a===o&&(a=null),i=[],s=lt();s!==o;)i.push(s),s=lt();l(V),125===e.charCodeAt(Pe)?(s=b,Pe++):s=o,s!==o?(Be=t,t=we(a)):(Pe=t,t=o)}else Pe=t,t=o;return t}(),t===o&&(t=Ze())===o&&(t=Je())))),t}function rt(){var t,r,n,a,i,s;for(t=Pe,r=[],n=lt();n!==o;)r.push(n),n=lt();if(s=j,0===Oe&&ze(s),44===e.charCodeAt(Pe)?(n=h,Pe++):n=o,n!==o){for(a=[],i=lt();i!==o;)a.push(i),i=lt();(i=tt())!==o?(Be=t,t=me(i)):(Pe=t,t=o)}else Pe=t,t=o;return t}function nt(){var t,r,n,a,i,s;for(t=Pe,r=[],n=lt();n!==o;)r.push(n),n=lt();if(s=j,0===Oe&&ze(s),44===e.charCodeAt(Pe)?(n=h,Pe++):n=o,n!==o){for(a=[],i=lt();i!==o;)a.push(i),i=lt();(i=ot())!==o?(Be=t,t=ae(i)):(Pe=t,t=o)}else Pe=t,t=o;return t}function ot(){var t,r,n,a,i,s;if(t=Pe,(r=ut())===o&&(r=it()),r!==o)if(s=K,0===Oe&&ze(s),58===e.charCodeAt(Pe)?(n=k,Pe++):n=o,n!==o){for(a=[],i=lt();i!==o;)a.push(i),i=lt();(i=tt())!==o?(Be=t,t=Ee(r,i)):(Pe=t,t=o)}else Pe=t,t=o;else Pe=t,t=o;return t}function at(){var t,r,n,a,i,s,l,c;if(c=Z,0===Oe&&ze(c),Oe++,t=Pe,45===e.charCodeAt(Pe)?(r=C,Pe++):r=o,r===o&&(r=null),n=[],A.test(e.charAt(Pe))?(a=e.charAt(Pe),Pe++):a=o,a!==o)for(;a!==o;)n.push(a),A.test(e.charAt(Pe))?(a=e.charAt(Pe),Pe++):a=o;else n=o;if(n!==o){if(a=Pe,46===e.charCodeAt(Pe)?(i=u,Pe++):i=o,i!==o){if(s=[],A.test(e.charAt(Pe))?(l=e.charAt(Pe),Pe++):l=o,l!==o)for(;l!==o;)s.push(l),A.test(e.charAt(Pe))?(l=e.charAt(Pe),Pe++):l=o;else s=o;s!==o?a=i=[i,s]:(Pe=a,a=o)}else Pe=a,a=o;a===o&&(a=null),Be=t,t=_e()}else Pe=t,t=o;return Oe--,t}function it(){var t,r,n,a,i;if(i=X,0===Oe&&ze(i),Oe++,t=Pe,34===e.charCodeAt(Pe)?(r=F,Pe++):r=o,r!==o){for(n=[],a=st();a!==o;)n.push(a),a=st();34===e.charCodeAt(Pe)?(a=F,Pe++):a=o,a!==o?(Be=t,t=Se(n)):(Pe=t,t=o)}else Pe=t,t=o;return Oe--,t}function st(){var t;return M.test(e.charAt(Pe))?(t=e.charAt(Pe),Pe++):t=o,t===o&&(t=function(){var t,r,n,a;t=Pe,92===e.charCodeAt(Pe)?(r=w,Pe++):r=o;r!==o?(34===e.charCodeAt(Pe)?(n=F,Pe++):n=o,n===o&&(92===e.charCodeAt(Pe)?(n=w,Pe++):n=o,n===o&&(n=Pe,110===e.charCodeAt(Pe)?(a=E,Pe++):a=o,a!==o&&(Be=n,a=xe()),(n=a)===o&&(n=Pe,114===e.charCodeAt(Pe)?(a=_,Pe++):a=o,a!==o&&(Be=n,a=Ae()),(n=a)===o&&(n=Pe,116===e.charCodeAt(Pe)?(a=S,Pe++):a=o,a!==o&&(Be=n,a=Me()),n=a)))),n!==o?(Be=t,t=Te(n)):(Pe=t,t=o)):(Pe=t,t=o);return t}()),t}function ut(){var t,r,n,a;if(a=Q,0===Oe&&ze(a),Oe++,t=Pe,r=[],T.test(e.charAt(Pe))?(n=e.charAt(Pe),Pe++):n=o,n!==o)for(;n!==o;)r.push(n),T.test(e.charAt(Pe))?(n=e.charAt(Pe),Pe++):n=o;else r=o;return t=r!==o?e.substring(t,Pe):r,Oe--,t}function lt(){var t,r;return r=G,0===Oe&&ze(r),Oe++,P.test(e.charAt(Pe))?(t=e.charAt(Pe),Pe++):t=o,Oe--,t}const{Variable:ct,Function:pt}=t;if(Le.push({pos:Pe,variants:[]}),(n=i())!==o&&Pe===e.length)return n;throw n!==o&&Pe<e.length&&ze({type:"end"}),function(){var t=Le[0],r=t.pos;return He(t.variants,r<e.length?e.charAt(r):null,r<e.length?qe(r,r+1):qe(r,r))}()}}}}),f=c({"node_modules/entities/lib/maps/entities.json"(e,t){t.exports={Aacute:"\xc1",aacute:"\xe1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223e",acd:"\u223f",acE:"\u223e\u0333",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",Acy:"\u0410",acy:"\u0430",AElig:"\xc6",aelig:"\xe6",af:"\u2061",Afr:"\ud835\udd04",afr:"\ud835\udd1e",Agrave:"\xc0",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03b1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2a3f",amp:"&",AMP:"&",andand:"\u2a55",And:"\u2a53",and:"\u2227",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angmsd:"\u2221",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",Aogon:"\u0104",aogon:"\u0105",Aopf:"\ud835\udd38",aopf:"\ud835\udd52",apacir:"\u2a6f",ap:"\u2248",apE:"\u2a70",ape:"\u224a",apid:"\u224b",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224a",Aring:"\xc5",aring:"\xe5",Ascr:"\ud835\udc9c",ascr:"\ud835\udcb6",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224d",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",awconint:"\u2233",awint:"\u2a11",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",Backslash:"\u2216",Barv:"\u2ae7",barvee:"\u22bd",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",Bernoullis:"\u212c",Beta:"\u0392",beta:"\u03b2",beth:"\u2136",between:"\u226c",Bfr:"\ud835\udd05",bfr:"\ud835\udd1f",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bNot:"\u2aed",bnot:"\u2310",Bopf:"\ud835\udd39",bopf:"\ud835\udd53",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxbox:"\u29c9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250c",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252c",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxul:"\u2518",boxuL:"\u255b",boxUl:"\u255c",boxUL:"\u255d",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255a",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253c",boxvH:"\u256a",boxVh:"\u256b",boxVH:"\u256c",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251c",boxvR:"\u255e",boxVr:"\u255f",boxVR:"\u2560",bprime:"\u2035",breve:"\u02d8",Breve:"\u02d8",brvbar:"\xa6",bscr:"\ud835\udcb7",Bscr:"\u212c",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsolb:"\u29c5",bsol:"\\",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpE:"\u2aae",bumpe:"\u224f",Bumpeq:"\u224e",bumpeq:"\u224f",Cacute:"\u0106",cacute:"\u0107",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",cap:"\u2229",Cap:"\u22d2",capcup:"\u2a47",capdot:"\u2a40",CapitalDifferentialD:"\u2145",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",Cayleys:"\u212d",ccaps:"\u2a4d",Ccaron:"\u010c",ccaron:"\u010d",Ccedil:"\xc7",ccedil:"\xe7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2a4c",ccupssm:"\u2a50",Cdot:"\u010a",cdot:"\u010b",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"\u29b2",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\ud835\udd20",Cfr:"\u212d",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03a7",chi:"\u03c7",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",CircleDot:"\u2299",circledR:"\xae",circledS:"\u24c8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25cb",cirE:"\u29c3",cire:"\u2257",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2a74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",Congruent:"\u2261",conint:"\u222e",Conint:"\u222f",ContourIntegral:"\u222e",copf:"\ud835\udd54",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xa9",COPY:"\xa9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21b5",cross:"\u2717",Cross:"\u2a2f",Cscr:"\ud835\udc9e",cscr:"\ud835\udcb8",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",cupbrcap:"\u2a48",cupcap:"\u2a46",CupCap:"\u224d",cup:"\u222a",Cup:"\u22d3",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21a1",dArr:"\u21d3",dash:"\u2010",Dashv:"\u2ae4",dashv:"\u22a3",dbkarow:"\u290f",dblac:"\u02dd",Dcaron:"\u010e",dcaron:"\u010f",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21ca",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2a77",deg:"\xb0",Del:"\u2207",Delta:"\u0394",delta:"\u03b4",demptyv:"\u29b1",dfisht:"\u297f",Dfr:"\ud835\udd07",dfr:"\ud835\udd21",dHar:"\u2965",dharl:"\u21c3",dharr:"\u21c2",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",diam:"\u22c4",diamond:"\u22c4",Diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",DifferentialD:"\u2146",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",Dopf:"\ud835\udd3b",dopf:"\ud835\udd55",Dot:"\xa8",dot:"\u02d9",DotDot:"\u20dc",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222f",DoubleDot:"\xa8",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleRightTee:"\u22a8",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21d3",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21bd",DownRightTeeVector:"\u295f",DownRightVectorBar:"\u2957",DownRightVector:"\u21c1",DownTeeArrow:"\u21a7",DownTee:"\u22a4",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",Dscr:"\ud835\udc9f",dscr:"\ud835\udcb9",DScy:"\u0405",dscy:"\u0455",dsol:"\u29f6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",DZcy:"\u040f",dzcy:"\u045f",dzigrarr:"\u27ff",Eacute:"\xc9",eacute:"\xe9",easter:"\u2a6e",Ecaron:"\u011a",ecaron:"\u011b",Ecirc:"\xca",ecirc:"\xea",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042d",ecy:"\u044d",eDDot:"\u2a77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\ud835\udd08",efr:"\ud835\udd22",eg:"\u2a9a",Egrave:"\xc8",egrave:"\xe8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",Element:"\u2208",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25fb",emptyv:"\u2205",EmptyVerySmallSquare:"\u25ab",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014a",eng:"\u014b",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\ud835\udd3c",eopf:"\ud835\udd56",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",Epsilon:"\u0395",epsilon:"\u03b5",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",Equal:"\u2a75",equals:"=",EqualTilde:"\u2242",equest:"\u225f",Equilibrium:"\u21cc",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erarr:"\u2971",erDot:"\u2253",escr:"\u212f",Escr:"\u2130",esdot:"\u2250",Esim:"\u2a73",esim:"\u2242",Eta:"\u0397",eta:"\u03b7",ETH:"\xd0",eth:"\xf0",Euml:"\xcb",euml:"\xeb",euro:"\u20ac",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",Ffr:"\ud835\udd09",ffr:"\ud835\udd23",filig:"\ufb01",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",Fopf:"\ud835\udd3d",fopf:"\ud835\udd57",forall:"\u2200",ForAll:"\u2200",fork:"\u22d4",forkv:"\u2ad9",Fouriertrf:"\u2131",fpartint:"\u2a0d",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",fscr:"\ud835\udcbb",Fscr:"\u2131",gacute:"\u01f5",Gamma:"\u0393",gamma:"\u03b3",Gammad:"\u03dc",gammad:"\u03dd",gap:"\u2a86",Gbreve:"\u011e",gbreve:"\u011f",Gcedil:"\u0122",Gcirc:"\u011c",gcirc:"\u011d",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2a8c",gel:"\u22db",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",gescc:"\u2aa9",ges:"\u2a7e",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",Gfr:"\ud835\udd0a",gfr:"\ud835\udd24",gg:"\u226b",Gg:"\u22d9",ggg:"\u22d9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2aa5",gl:"\u2277",glE:"\u2a92",glj:"\u2aa4",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gnE:"\u2269",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",Gopf:"\ud835\udd3e",gopf:"\ud835\udd58",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",Gscr:"\ud835\udca2",gscr:"\u210a",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",gtcc:"\u2aa7",gtcir:"\u2a7a",gt:">",GT:">",Gt:"\u226b",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",Hacek:"\u02c7",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",HARDcy:"\u042a",hardcy:"\u044a",harrcir:"\u2948",harr:"\u2194",hArr:"\u21d4",harrw:"\u21ad",Hat:"^",hbar:"\u210f",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",hfr:"\ud835\udd25",Hfr:"\u210c",HilbertSpace:"\u210b",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",hopf:"\ud835\udd59",Hopf:"\u210d",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\ud835\udcbd",Hscr:"\u210b",hslash:"\u210f",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224e",HumpEqual:"\u224f",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xcd",iacute:"\xed",ic:"\u2063",Icirc:"\xce",icirc:"\xee",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xa1",iff:"\u21d4",ifr:"\ud835\udd26",Ifr:"\u2111",Igrave:"\xcc",igrave:"\xec",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012a",imacr:"\u012b",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22b7",imped:"\u01b5",Implies:"\u21d2",incare:"\u2105",in:"\u2208",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",intcal:"\u22ba",int:"\u222b",Int:"\u222c",integers:"\u2124",Integral:"\u222b",intercal:"\u22ba",Intersection:"\u22c2",intlarhk:"\u2a17",intprod:"\u2a3c",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012e",iogon:"\u012f",Iopf:"\ud835\udd40",iopf:"\ud835\udd5a",Iota:"\u0399",iota:"\u03b9",iprod:"\u2a3c",iquest:"\xbf",iscr:"\ud835\udcbe",Iscr:"\u2110",isin:"\u2208",isindot:"\u22f5",isinE:"\u22f9",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xcf",iuml:"\xef",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\ud835\udd0d",jfr:"\ud835\udd27",jmath:"\u0237",Jopf:"\ud835\udd41",jopf:"\ud835\udd5b",Jscr:"\ud835\udca5",jscr:"\ud835\udcbf",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039a",kappa:"\u03ba",kappav:"\u03f0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041a",kcy:"\u043a",Kfr:"\ud835\udd0e",kfr:"\ud835\udd28",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040c",kjcy:"\u045c",Kopf:"\ud835\udd42",kopf:"\ud835\udd5c",Kscr:"\ud835\udca6",kscr:"\ud835\udcc0",lAarr:"\u21da",Lacute:"\u0139",lacute:"\u013a",laemptyv:"\u29b4",lagran:"\u2112",Lambda:"\u039b",lambda:"\u03bb",lang:"\u27e8",Lang:"\u27ea",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",Laplacetrf:"\u2112",laquo:"\xab",larrb:"\u21e4",larrbfs:"\u291f",larr:"\u2190",Larr:"\u219e",lArr:"\u21d0",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",latail:"\u2919",lAtail:"\u291b",lat:"\u2aab",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lBarr:"\u290e",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",Lcaron:"\u013d",lcaron:"\u013e",Lcedil:"\u013b",lcedil:"\u013c",lceil:"\u2308",lcub:"{",Lcy:"\u041b",lcy:"\u043b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27e8",LeftArrowBar:"\u21e4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21d0",LeftArrowRightArrow:"\u21c6",leftarrowtail:"\u21a2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21c3",LeftFloor:"\u230a",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21d4",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",LeftRightVector:"\u294e",LeftTeeArrow:"\u21a4",LeftTee:"\u22a3",LeftTeeVector:"\u295a",leftthreetimes:"\u22cb",LeftTriangleBar:"\u29cf",LeftTriangle:"\u22b2",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21bf",LeftVectorBar:"\u2952",LeftVector:"\u21bc",lEg:"\u2a8b",leg:"\u22da",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",lescc:"\u2aa8",les:"\u2a7d",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2aa1",lesssim:"\u2272",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",lfisht:"\u297c",lfloor:"\u230a",Lfr:"\ud835\udd0f",lfr:"\ud835\udd29",lg:"\u2276",lgE:"\u2a91",lHar:"\u2962",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21c7",ll:"\u226a",Ll:"\u22d8",llcorner:"\u231e",Lleftarrow:"\u21da",llhard:"\u296b",lltri:"\u25fa",Lmidot:"\u013f",lmidot:"\u0140",lmoustache:"\u23b0",lmoust:"\u23b0",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lnE:"\u2268",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",LongLeftArrow:"\u27f5",Longleftarrow:"\u27f8",longleftrightarrow:"\u27f7",LongLeftRightArrow:"\u27f7",Longleftrightarrow:"\u27fa",longmapsto:"\u27fc",longrightarrow:"\u27f6",LongRightArrow:"\u27f6",Longrightarrow:"\u27f9",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",Lopf:"\ud835\udd43",lopf:"\ud835\udd5d",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\ud835\udcc1",Lscr:"\u2112",lsh:"\u21b0",Lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2aa6",ltcir:"\u2a79",lt:"<",LT:"<",Lt:"\u226a",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",ltrPar:"\u2996",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21a6",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",Mcy:"\u041c",mcy:"\u043c",mdash:"\u2014",mDDot:"\u223a",measuredangle:"\u2221",MediumSpace:"\u205f",Mellintrf:"\u2133",Mfr:"\ud835\udd10",mfr:"\ud835\udd2a",mho:"\u2127",micro:"\xb5",midast:"*",midcir:"\u2af0",mid:"\u2223",middot:"\xb7",minusb:"\u229f",minus:"\u2212",minusd:"\u2238",minusdu:"\u2a2a",MinusPlus:"\u2213",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",Mopf:"\ud835\udd44",mopf:"\ud835\udd5e",mp:"\u2213",mscr:"\ud835\udcc2",Mscr:"\u2133",mstpos:"\u223e",Mu:"\u039c",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266e",naturals:"\u2115",natur:"\u266e",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",Ncy:"\u041d",ncy:"\u043d",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21d7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",nexist:"\u2204",nexists:"\u2204",Nfr:"\ud835\udd11",nfr:"\ud835\udd2b",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",nGg:"\u22d9\u0338",ngsim:"\u2275",nGt:"\u226b\u20d2",ngt:"\u226f",ngtr:"\u226f",nGtv:"\u226b\u0338",nharr:"\u21ae",nhArr:"\u21ce",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",NJcy:"\u040a",njcy:"\u045a",nlarr:"\u219a",nlArr:"\u21cd",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219a",nLeftarrow:"\u21cd",nleftrightarrow:"\u21ae",nLeftrightarrow:"\u21ce",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nLl:"\u22d8\u0338",nlsim:"\u2274",nLt:"\u226a\u20d2",nlt:"\u226e",nltri:"\u22ea",nltrie:"\u22ec",nLtv:"\u226a\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nopf:"\ud835\udd5f",Nopf:"\u2115",Not:"\u2aec",not:"\xac",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",notin:"\u2209",notindot:"\u22f5\u0338",notinE:"\u22f9\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangle:"\u22ea",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangle:"\u22eb",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",nprec:"\u2280",npreceq:"\u2aaf\u0338",npre:"\u2aaf\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219b",nrArr:"\u21cf",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nRightarrow:"\u21cf",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",Nscr:"\ud835\udca9",nscr:"\ud835\udcc3",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsube:"\u2288",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",Ntilde:"\xd1",ntilde:"\xf1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",Nu:"\u039d",nu:"\u03bd",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvDash:"\u22ad",nVdash:"\u22ae",nVDash:"\u22af",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvHarr:"\u2904",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21d6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xd3",oacute:"\xf3",oast:"\u229b",Ocirc:"\xd4",ocirc:"\xf4",ocir:"\u229a",Ocy:"\u041e",ocy:"\u043e",odash:"\u229d",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29bf",Ofr:"\ud835\udd12",ofr:"\ud835\udd2c",ogon:"\u02db",Ograve:"\xd2",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",Omacr:"\u014c",omacr:"\u014d",Omega:"\u03a9",omega:"\u03c9",Omicron:"\u039f",omicron:"\u03bf",omid:"\u29b6",ominus:"\u2296",Oopf:"\ud835\udd46",oopf:"\ud835\udd60",opar:"\u29b7",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",operp:"\u29b9",oplus:"\u2295",orarr:"\u21bb",Or:"\u2a54",or:"\u2228",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oS:"\u24c8",Oscr:"\ud835\udcaa",oscr:"\u2134",Oslash:"\xd8",oslash:"\xf8",osol:"\u2298",Otilde:"\xd5",otilde:"\xf5",otimesas:"\u2a36",Otimes:"\u2a37",otimes:"\u2297",Ouml:"\xd6",ouml:"\xf6",ovbar:"\u233d",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",para:"\xb6",parallel:"\u2225",par:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",PartialD:"\u2202",Pcy:"\u041f",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",Pfr:"\ud835\udd13",pfr:"\ud835\udd2d",Phi:"\u03a6",phi:"\u03c6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",Pi:"\u03a0",pi:"\u03c0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plus:"+",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",Poincareplane:"\u210c",pointint:"\u2a15",popf:"\ud835\udd61",Popf:"\u2119",pound:"\xa3",prap:"\u2ab7",Pr:"\u2abb",pr:"\u227a",prcue:"\u227c",precapprox:"\u2ab7",prec:"\u227a",preccurlyeq:"\u227c",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",pre:"\u2aaf",prE:"\u2ab3",precsim:"\u227e",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2ab9",prnE:"\u2ab5",prnsim:"\u22e8",prod:"\u220f",Product:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",Proportional:"\u221d",Proportion:"\u2237",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",Pscr:"\ud835\udcab",pscr:"\ud835\udcc5",Psi:"\u03a8",psi:"\u03c8",puncsp:"\u2008",Qfr:"\ud835\udd14",qfr:"\ud835\udd2e",qint:"\u2a0c",qopf:"\ud835\udd62",Qopf:"\u211a",qprime:"\u2057",Qscr:"\ud835\udcac",qscr:"\ud835\udcc6",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quot:'"',QUOT:'"',rAarr:"\u21db",race:"\u223d\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",Rang:"\u27eb",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21a0",rArr:"\u21d2",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21a3",rarrw:"\u219d",ratail:"\u291a",rAtail:"\u291c",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rBarr:"\u290f",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",Re:"\u211c",rect:"\u25ad",reg:"\xae",REG:"\xae",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",rfisht:"\u297d",rfloor:"\u230b",rfr:"\ud835\udd2f",Rfr:"\u211c",rHar:"\u2964",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",Rho:"\u03a1",rho:"\u03c1",rhov:"\u03f1",RightAngleBracket:"\u27e9",RightArrowBar:"\u21e5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21d2",RightArrowLeftArrow:"\u21c4",rightarrowtail:"\u21a3",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVectorBar:"\u2955",RightDownVector:"\u21c2",RightFloor:"\u230b",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",RightTeeArrow:"\u21a6",RightTee:"\u22a2",RightTeeVector:"\u295b",rightthreetimes:"\u22cc",RightTriangleBar:"\u29d0",RightTriangle:"\u22b3",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVectorBar:"\u2954",RightUpVector:"\u21be",RightVectorBar:"\u2953",RightVector:"\u21c0",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoustache:"\u23b1",rmoust:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",ropf:"\ud835\udd63",Ropf:"\u211d",roplus:"\u2a2e",rotimes:"\u2a35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",Rrightarrow:"\u21db",rsaquo:"\u203a",rscr:"\ud835\udcc7",Rscr:"\u211b",rsh:"\u21b1",Rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",RuleDelayed:"\u29f4",ruluhar:"\u2968",rx:"\u211e",Sacute:"\u015a",sacute:"\u015b",sbquo:"\u201a",scap:"\u2ab8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2abc",sc:"\u227b",sccue:"\u227d",sce:"\u2ab0",scE:"\u2ab4",Scedil:"\u015e",scedil:"\u015f",Scirc:"\u015c",scirc:"\u015d",scnap:"\u2aba",scnE:"\u2ab6",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",Scy:"\u0421",scy:"\u0441",sdotb:"\u22a1",sdot:"\u22c5",sdote:"\u2a66",searhk:"\u2925",searr:"\u2198",seArr:"\u21d8",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\ud835\udd16",sfr:"\ud835\udd30",sfrown:"\u2322",sharp:"\u266f",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xad",Sigma:"\u03a3",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",SOFTcy:"\u042c",softcy:"\u044c",solbar:"\u233f",solb:"\u29c4",sol:"/",Sopf:"\ud835\udd4a",sopf:"\ud835\udd64",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",Sqrt:"\u221a",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25a1",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25aa",squ:"\u25a1",squf:"\u25aa",srarr:"\u2192",Sscr:"\ud835\udcae",sscr:"\ud835\udcc8",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",Star:"\u22c6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",Sub:"\u22d0",subdot:"\u2abd",subE:"\u2ac5",sube:"\u2286",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subne:"\u228a",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",Subset:"\u22d0",subseteq:"\u2286",subseteqq:"\u2ac5",SubsetEqual:"\u2286",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succapprox:"\u2ab8",succ:"\u227b",succcurlyeq:"\u227d",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",SuchThat:"\u220b",sum:"\u2211",Sum:"\u2211",sung:"\u266a",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",sup:"\u2283",Sup:"\u22d1",supdot:"\u2abe",supdsub:"\u2ad8",supE:"\u2ac6",supe:"\u2287",supedot:"\u2ac4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supne:"\u228b",supplus:"\u2ac0",supset:"\u2283",Supset:"\u22d1",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21d9",swarrow:"\u2199",swnwar:"\u292a",szlig:"\xdf",Tab:"\t",target:"\u2316",Tau:"\u03a4",tau:"\u03c4",tbrk:"\u23b4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20db",telrec:"\u2315",Tfr:"\ud835\udd17",tfr:"\ud835\udd31",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",ThickSpace:"\u205f\u200a",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223c",THORN:"\xde",thorn:"\xfe",tilde:"\u02dc",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2a31",timesb:"\u22a0",times:"\xd7",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",topbot:"\u2336",topcir:"\u2af1",top:"\u22a4",Topf:"\ud835\udd4b",topf:"\ud835\udd65",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",TripleDot:"\u20db",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",Tscr:"\ud835\udcaf",tscr:"\ud835\udcc9",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040b",tshcy:"\u045b",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",Uacute:"\xda",uacute:"\xfa",uarr:"\u2191",Uarr:"\u219f",uArr:"\u21d1",Uarrocir:"\u2949",Ubrcy:"\u040e",ubrcy:"\u045e",Ubreve:"\u016c",ubreve:"\u016d",Ucirc:"\xdb",ucirc:"\xfb",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21c5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296e",ufisht:"\u297e",Ufr:"\ud835\udd18",ufr:"\ud835\udd32",Ugrave:"\xd9",ugrave:"\xf9",uHar:"\u2963",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",Umacr:"\u016a",umacr:"\u016b",uml:"\xa8",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",Uogon:"\u0172",uogon:"\u0173",Uopf:"\ud835\udd4c",uopf:"\ud835\udd66",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21d1",UpArrowDownArrow:"\u21c5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21d5",UpEquilibrium:"\u296e",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03c5",Upsi:"\u03d2",upsih:"\u03d2",Upsilon:"\u03a5",upsilon:"\u03c5",UpTeeArrow:"\u21a5",UpTee:"\u22a5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",Uring:"\u016e",uring:"\u016f",urtri:"\u25f9",Uscr:"\ud835\udcb0",uscr:"\ud835\udcca",utdot:"\u22f0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",Uuml:"\xdc",uuml:"\xfc",uwangle:"\u29a7",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",varr:"\u2195",vArr:"\u21d5",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",vBar:"\u2ae8",Vbar:"\u2aeb",vBarv:"\u2ae9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22a2",vDash:"\u22a8",Vdash:"\u22a9",VDash:"\u22ab",Vdashl:"\u2ae6",veebar:"\u22bb",vee:"\u2228",Vee:"\u22c1",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",Vfr:"\ud835\udd19",vfr:"\ud835\udd33",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",Vopf:"\ud835\udd4d",vopf:"\ud835\udd67",vprop:"\u221d",vrtri:"\u22b3",Vscr:"\ud835\udcb1",vscr:"\ud835\udccb",vsubnE:"\u2acb\ufe00",vsubne:"\u228a\ufe00",vsupnE:"\u2acc\ufe00",vsupne:"\u228b\ufe00",Vvdash:"\u22aa",vzigzag:"\u299a",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2a5f",wedge:"\u2227",Wedge:"\u22c0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\ud835\udd1a",wfr:"\ud835\udd34",Wopf:"\ud835\udd4e",wopf:"\ud835\udd68",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\ud835\udcb2",wscr:"\ud835\udccc",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",Xfr:"\ud835\udd1b",xfr:"\ud835\udd35",xharr:"\u27f7",xhArr:"\u27fa",Xi:"\u039e",xi:"\u03be",xlarr:"\u27f5",xlArr:"\u27f8",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",Xopf:"\ud835\udd4f",xopf:"\ud835\udd69",xoplus:"\u2a01",xotime:"\u2a02",xrarr:"\u27f6",xrArr:"\u27f9",Xscr:"\ud835\udcb3",xscr:"\ud835\udccd",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",Yacute:"\xdd",yacute:"\xfd",YAcy:"\u042f",yacy:"\u044f",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042b",ycy:"\u044b",yen:"\xa5",Yfr:"\ud835\udd1c",yfr:"\ud835\udd36",YIcy:"\u0407",yicy:"\u0457",Yopf:"\ud835\udd50",yopf:"\ud835\udd6a",Yscr:"\ud835\udcb4",yscr:"\ud835\udcce",YUcy:"\u042e",yucy:"\u044e",yuml:"\xff",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017a",Zcaron:"\u017d",zcaron:"\u017e",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017b",zdot:"\u017c",zeetrf:"\u2128",ZeroWidthSpace:"\u200b",Zeta:"\u0396",zeta:"\u03b6",zfr:"\ud835\udd37",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21dd",zopf:"\ud835\udd6b",Zopf:"\u2124",Zscr:"\ud835\udcb5",zscr:"\ud835\udccf",zwj:"\u200d",zwnj:"\u200c"}}}),D=c({"node_modules/markdown-it/lib/common/entities.js"(e,t){t.exports=f()}}),m=c({"node_modules/uc.micro/categories/P/regex.js"(e,t){t.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/}}),y=c({"node_modules/mdurl/encode.js"(e,t){var r={};function n(e,t,o){var a,i,s,u,l,c="";for("string"!==typeof t&&(o=t,t=n.defaultChars),"undefined"===typeof o&&(o=!0),l=function(e){var t,n,o=r[e];if(o)return o;for(o=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?o.push(n):o.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)o[e.charCodeAt(t)]=e[t];return o}(t),a=0,i=e.length;a<i;a++)if(s=e.charCodeAt(a),o&&37===s&&a+2<i&&/^[0-9a-f]{2}$/i.test(e.slice(a+1,a+3)))c+=e.slice(a,a+3),a+=2;else if(s<128)c+=l[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&a+1<i&&(u=e.charCodeAt(a+1))>=56320&&u<=57343){c+=encodeURIComponent(e[a]+e[a+1]),a++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[a]);return c}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",t.exports=n}}),g=c({"node_modules/mdurl/decode.js"(e,t){var r={};function n(e,t){var o;return"string"!==typeof t&&(t=n.defaultChars),o=function(e){var t,n,o=r[e];if(o)return o;for(o=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),o.push(n);for(t=0;t<e.length;t++)o[n=e.charCodeAt(t)]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return o}(t),e.replace(/(%[a-f0-9]{2})+/gi,function(e){var t,r,n,a,i,s,u,l="";for(t=0,r=e.length;t<r;t+=3)(n=parseInt(e.slice(t+1,t+3),16))<128?l+=o[n]:192===(224&n)&&t+3<r&&128===(192&(a=parseInt(e.slice(t+4,t+6),16)))?(l+=(u=n<<6&1984|63&a)<128?"\ufffd\ufffd":String.fromCharCode(u),t+=3):224===(240&n)&&t+6<r&&(a=parseInt(e.slice(t+4,t+6),16),i=parseInt(e.slice(t+7,t+9),16),128===(192&a)&&128===(192&i))?(l+=(u=n<<12&61440|a<<6&4032|63&i)<2048||u>=55296&&u<=57343?"\ufffd\ufffd\ufffd":String.fromCharCode(u),t+=6):240===(248&n)&&t+9<r&&(a=parseInt(e.slice(t+4,t+6),16),i=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128===(192&a)&&128===(192&i)&&128===(192&s))?((u=n<<18&1835008|a<<12&258048|i<<6&4032|63&s)<65536||u>1114111?l+="\ufffd\ufffd\ufffd\ufffd":(u-=65536,l+=String.fromCharCode(55296+(u>>10),56320+(1023&u))),t+=9):l+="\ufffd";return l})}n.defaultChars=";/?:@&=+$,#",n.componentChars="",t.exports=n}}),v=c({"node_modules/mdurl/format.js"(e,t){t.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}}}),b=c({"node_modules/mdurl/parse.js"(e,t){function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),s=["'"].concat(i),u=["%","/","?",";","#"].concat(s),l=["/","?","#"],c=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,d={javascript:!0,"javascript:":!0},h={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var r,o,i,s,f,D=e;if(D=D.trim(),!t&&1===e.split("#").length){var m=a.exec(D);if(m)return this.pathname=m[1],m[2]&&(this.search=m[2]),this}var y=n.exec(D);if(y&&(i=(y=y[0]).toLowerCase(),this.protocol=y,D=D.substr(y.length)),(t||y||D.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(f="//"===D.substr(0,2))||y&&d[y]||(D=D.substr(2),this.slashes=!0)),!d[y]&&(f||y&&!h[y])){var g,v,b=-1;for(r=0;r<l.length;r++)-1!==(s=D.indexOf(l[r]))&&(-1===b||s<b)&&(b=s);for(-1!==(v=-1===b?D.lastIndexOf("@"):D.lastIndexOf("@",b))&&(g=D.slice(0,v),D=D.slice(v+1),this.auth=g),b=-1,r=0;r<u.length;r++)-1!==(s=D.indexOf(u[r]))&&(-1===b||s<b)&&(b=s);-1===b&&(b=D.length),":"===D[b-1]&&b--;var k=D.slice(0,b);D=D.slice(b),this.parseHost(k),this.hostname=this.hostname||"";var C="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!C){var F=this.hostname.split(/\./);for(r=0,o=F.length;r<o;r++){var w=F[r];if(w&&!w.match(c)){for(var E="",_=0,S=w.length;_<S;_++)w.charCodeAt(_)>127?E+="x":E+=w[_];if(!E.match(c)){var x=F.slice(0,r),A=F.slice(r+1),M=w.match(p);M&&(x.push(M[1]),A.unshift(M[2])),A.length&&(D=A.join(".")+D),this.hostname=x.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),C&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var T=D.indexOf("#");-1!==T&&(this.hash=D.substr(T),D=D.slice(0,T));var P=D.indexOf("?");return-1!==P&&(this.search=D.substr(P),D=D.slice(0,P)),D&&(this.pathname=D),h[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=o.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.exports=function(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}}}),k=c({"node_modules/mdurl/index.js"(e,t){t.exports.encode=y(),t.exports.decode=g(),t.exports.format=v(),t.exports.parse=b()}}),C=c({"node_modules/uc.micro/properties/Any/regex.js"(e,t){t.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/}}),F=c({"node_modules/uc.micro/categories/Cc/regex.js"(e,t){t.exports=/[\0-\x1F\x7F-\x9F]/}}),w=c({"node_modules/uc.micro/categories/Cf/regex.js"(e,t){t.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/}}),E=c({"node_modules/uc.micro/categories/Z/regex.js"(e,t){t.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/}}),_=c({"node_modules/uc.micro/index.js"(e){e.Any=C(),e.Cc=F(),e.Cf=w(),e.P=m(),e.Z=E()}}),S=c({"node_modules/markdown-it/lib/common/utils.js"(e){var t=Object.prototype.hasOwnProperty;function r(e,r){return t.call(e,r)}function n(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!==(65535&e)&&65534!==(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function o(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var a=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,i=new RegExp(a.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),s=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=D();var l=/[&<>"]/,c=/[&<>"]/g,p={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function d(e){return p[e]}var h=/[.?*+^$[\]\\(){}|-]/g;var f=m();e.lib={},e.lib.mdurl=k(),e.lib.ucmicro=_(),e.assign=function(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if("object"!==typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(r){e[r]=t[r]})}}),e},e.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},e.has=r,e.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(a,"$1")},e.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(i,function(e,t,a){return t||function(e,t){var a=0;return r(u,t)?u[t]:35===t.charCodeAt(0)&&s.test(t)&&n(a="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?o(a):e}(e,a)})},e.isValidEntityCode=n,e.fromCodePoint=o,e.escapeHtml=function(e){return l.test(e)?e.replace(c,d):e},e.arrayReplaceAt=function(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))},e.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},e.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},e.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},e.isPunctChar=function(e){return f.test(e)},e.escapeRE=function(e){return e.replace(h,"\\$&")},e.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"\u1e7e"==="\u1e9e".toLowerCase()&&(e=e.replace(/\u1e9e/g,"\xdf")),e.toLowerCase().toUpperCase()}}}),x=c({"node_modules/markdown-it/lib/helpers/parse_link_label.js"(e,t){t.exports=function(e,t,r){var n,o,a,i,s=-1,u=e.posMax,l=e.pos;for(e.pos=t+1,n=1;e.pos<u;){if(93===(a=e.src.charCodeAt(e.pos))&&0===--n){o=!0;break}if(i=e.pos,e.md.inline.skipToken(e),91===a)if(i===e.pos-1)n++;else if(r)return e.pos=l,-1}return o&&(s=e.pos),e.pos=l,s}}}),A=c({"node_modules/markdown-it/lib/helpers/parse_link_destination.js"(e,t){var r=S().unescapeAll;t.exports=function(e,t,n){var o,a,i=t,s={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(o=e.charCodeAt(t)))return s;if(60===o)return s;if(62===o)return s.pos=t+1,s.str=r(e.slice(i+1,t)),s.ok=!0,s;92===o&&t+1<n?t+=2:t++}return s}for(a=0;t<n&&32!==(o=e.charCodeAt(t))&&!(o<32||127===o);)if(92===o&&t+1<n){if(32===e.charCodeAt(t+1))break;t+=2}else{if(40===o&&++a>32)return s;if(41===o){if(0===a)break;a--}t++}return i===t||0!==a||(s.str=r(e.slice(i,t)),s.lines=0,s.pos=t,s.ok=!0),s}}}),M=c({"node_modules/markdown-it/lib/helpers/parse_link_title.js"(e,t){var r=S().unescapeAll;t.exports=function(e,t,n){var o,a,i=0,s=t,u={ok:!1,pos:0,lines:0,str:""};if(t>=n)return u;if(34!==(a=e.charCodeAt(t))&&39!==a&&40!==a)return u;for(t++,40===a&&(a=41);t<n;){if((o=e.charCodeAt(t))===a)return u.pos=t+1,u.lines=i,u.str=r(e.slice(s+1,t)),u.ok=!0,u;if(40===o&&41===a)return u;10===o?i++:92===o&&t+1<n&&(t++,10===e.charCodeAt(t)&&i++),t++}return u}}}),T=c({"node_modules/markdown-it/lib/helpers/index.js"(e){e.parseLinkLabel=x(),e.parseLinkDestination=A(),e.parseLinkTitle=M()}}),P=c({"node_modules/markdown-it/lib/renderer.js"(e,t){var r=S().assign,n=S().unescapeAll,o=S().escapeHtml,a={};function i(){this.rules=r({},a)}a.code_inline=function(e,t,r,n,a){var i=e[t];return"<code"+a.renderAttrs(i)+">"+o(e[t].content)+"</code>"},a.code_block=function(e,t,r,n,a){var i=e[t];return"<pre"+a.renderAttrs(i)+"><code>"+o(e[t].content)+"</code></pre>\n"},a.fence=function(e,t,r,a,i){var s,u,l,c,p,d=e[t],h=d.info?n(d.info).trim():"",f="",D="";return h&&(f=(l=h.split(/(\s+)/g))[0],D=l.slice(2).join("")),0===(s=r.highlight&&r.highlight(d.content,f,D)||o(d.content)).indexOf("<pre")?s+"\n":h?(u=d.attrIndex("class"),c=d.attrs?d.attrs.slice():[],u<0?c.push(["class",r.langPrefix+f]):(c[u]=c[u].slice(),c[u][1]+=" "+r.langPrefix+f),p={attrs:c},"<pre><code"+i.renderAttrs(p)+">"+s+"</code></pre>\n"):"<pre><code"+i.renderAttrs(d)+">"+s+"</code></pre>\n"},a.image=function(e,t,r,n,o){var a=e[t];return a.attrs[a.attrIndex("alt")][1]=o.renderInlineAsText(a.children,r,n),o.renderToken(e,t,r)},a.hardbreak=function(e,t,r){return r.xhtmlOut?"<br />\n":"<br>\n"},a.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"<br />\n":"<br>\n":"\n"},a.text=function(e,t){return o(e[t].content)},a.html_block=function(e,t){return e[t].content},a.html_inline=function(e,t){return e[t].content},i.prototype.renderAttrs=function(e){var t,r,n;if(!e.attrs)return"";for(n="",t=0,r=e.attrs.length;t<r;t++)n+=" "+o(e.attrs[t][0])+'="'+o(e.attrs[t][1])+'"';return n},i.prototype.renderToken=function(e,t,r){var n,o="",a=!1,i=e[t];return i.hidden?"":(i.block&&-1!==i.nesting&&t&&e[t-1].hidden&&(o+="\n"),o+=(-1===i.nesting?"</":"<")+i.tag,o+=this.renderAttrs(i),0===i.nesting&&r.xhtmlOut&&(o+=" /"),i.block&&(a=!0,1===i.nesting&&t+1<e.length&&("inline"===(n=e[t+1]).type||n.hidden||-1===n.nesting&&n.tag===i.tag)&&(a=!1)),o+=a?">\n":">")},i.prototype.renderInline=function(e,t,r){for(var n,o="",a=this.rules,i=0,s=e.length;i<s;i++)"undefined"!==typeof a[n=e[i].type]?o+=a[n](e,i,t,r,this):o+=this.renderToken(e,i,t);return o},i.prototype.renderInlineAsText=function(e,t,r){for(var n="",o=0,a=e.length;o<a;o++)"text"===e[o].type?n+=e[o].content:"image"===e[o].type?n+=this.renderInlineAsText(e[o].children,t,r):"softbreak"===e[o].type&&(n+="\n");return n},i.prototype.render=function(e,t,r){var n,o,a,i="",s=this.rules;for(n=0,o=e.length;n<o;n++)"inline"===(a=e[n].type)?i+=this.renderInline(e[n].children,t,r):"undefined"!==typeof s[a]?i+=s[e[n].type](e,n,t,r,this):i+=this.renderToken(e,n,t,r);return i},t.exports=i}}),B=c({"node_modules/markdown-it/lib/ruler.js"(e,t){function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},r.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){t.indexOf(e)<0&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(r){r.enabled&&(t&&r.alt.indexOf(t)<0||e.__cache__[t].push(r.fn))})})},r.prototype.at=function(e,t,r){var n=this.__find__(e),o=r||{};if(-1===n)throw new Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=o.alt||[],this.__cache__=null},r.prototype.before=function(e,t,r,n){var o=this.__find__(e),a=n||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o,0,{name:t,enabled:!0,fn:r,alt:a.alt||[]}),this.__cache__=null},r.prototype.after=function(e,t,r,n){var o=this.__find__(e),a=n||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o+1,0,{name:t,enabled:!0,fn:r,alt:a.alt||[]}),this.__cache__=null},r.prototype.push=function(e,t,r){var n=r||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null},r.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var r=[];return e.forEach(function(e){var n=this.__find__(e);if(n<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!0,r.push(e)},this),this.__cache__=null,r},r.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},r.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var r=[];return e.forEach(function(e){var n=this.__find__(e);if(n<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!1,r.push(e)},this),this.__cache__=null,r},r.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},t.exports=r}}),N=c({"node_modules/markdown-it/lib/rules_core/normalize.js"(e,t){var r=/\r\n?|\n/g,n=/\0/g;t.exports=function(e){var t;t=(t=e.src.replace(r,"\n")).replace(n,"\ufffd"),e.src=t}}}),L=c({"node_modules/markdown-it/lib/rules_core/block.js"(e,t){t.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}}}),O=c({"node_modules/markdown-it/lib/rules_core/inline.js"(e,t){t.exports=function(e){var t,r,n,o=e.tokens;for(r=0,n=o.length;r<n;r++)"inline"===(t=o[r]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}}}),R=c({"node_modules/markdown-it/lib/rules_core/linkify.js"(e,t){var r=S().arrayReplaceAt;function n(e){return/^<a[>\s]/i.test(e)}function o(e){return/^<\/a\s*>/i.test(e)}t.exports=function(e){var t,a,i,s,u,l,c,p,d,h,f,D,m,y,g,v,b,k=e.tokens;if(e.md.options.linkify)for(a=0,i=k.length;a<i;a++)if("inline"===k[a].type&&e.md.linkify.pretest(k[a].content))for(m=0,t=(s=k[a].children).length-1;t>=0;t--)if("link_close"!==(l=s[t]).type){if("html_inline"===l.type&&(n(l.content)&&m>0&&m--,o(l.content)&&m++),!(m>0)&&"text"===l.type&&e.md.linkify.test(l.content)){for(d=l.content,b=e.md.linkify.match(d),c=[],D=l.level,f=0,p=0;p<b.length;p++)y=b[p].url,g=e.md.normalizeLink(y),e.md.validateLink(g)&&(v=b[p].text,v=b[p].schema?"mailto:"!==b[p].schema||/^mailto:/i.test(v)?e.md.normalizeLinkText(v):e.md.normalizeLinkText("mailto:"+v).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+v).replace(/^http:\/\//,""),(h=b[p].index)>f&&((u=new e.Token("text","",0)).content=d.slice(f,h),u.level=D,c.push(u)),(u=new e.Token("link_open","a",1)).attrs=[["href",g]],u.level=D++,u.markup="linkify",u.info="auto",c.push(u),(u=new e.Token("text","",0)).content=v,u.level=D,c.push(u),(u=new e.Token("link_close","a",-1)).level=--D,u.markup="linkify",u.info="auto",c.push(u),f=b[p].lastIndex);f<d.length&&((u=new e.Token("text","",0)).content=d.slice(f),u.level=D,c.push(u)),k[a].children=s=r(s,t,c)}}else for(t--;s[t].level!==l.level&&"link_open"!==s[t].type;)t--}}}),I=c({"node_modules/markdown-it/lib/rules_core/replacements.js"(e,t){var r=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,n=/\((c|tm|r|p)\)/i,o=/\((c|tm|r|p)\)/gi,a={c:"\xa9",r:"\xae",p:"\xa7",tm:"\u2122"};function i(e,t){return a[t.toLowerCase()]}function s(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||(r.content=r.content.replace(o,i)),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}function u(e){var t,n,o=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||o||r.test(n.content)&&(n.content=n.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1\u2014").replace(/(^|\s)--(?=\s|$)/gm,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1\u2013")),"link_open"===n.type&&"auto"===n.info&&o--,"link_close"===n.type&&"auto"===n.info&&o++}t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(n.test(e.tokens[t].content)&&s(e.tokens[t].children),r.test(e.tokens[t].content)&&u(e.tokens[t].children))}}}),Y=c({"node_modules/markdown-it/lib/rules_core/smartquotes.js"(e,t){var r=S().isWhiteSpace,n=S().isPunctChar,o=S().isMdAsciiPunct,a=/['"]/,i=/['"]/g;function s(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}function u(e,t){var a,u,l,c,p,d,h,f,D,m,y,g,v,b,k,C,F,w,E,_,S;for(E=[],a=0;a<e.length;a++){for(u=e[a],h=e[a].level,F=E.length-1;F>=0&&!(E[F].level<=h);F--);if(E.length=F+1,"text"===u.type){p=0,d=(l=u.content).length;e:for(;p<d&&(i.lastIndex=p,c=i.exec(l));){if(k=C=!0,p=c.index+1,w="'"===c[0],D=32,c.index-1>=0)D=l.charCodeAt(c.index-1);else for(F=a-1;F>=0&&("softbreak"!==e[F].type&&"hardbreak"!==e[F].type);F--)if(e[F].content){D=e[F].content.charCodeAt(e[F].content.length-1);break}if(m=32,p<d)m=l.charCodeAt(p);else for(F=a+1;F<e.length&&("softbreak"!==e[F].type&&"hardbreak"!==e[F].type);F++)if(e[F].content){m=e[F].content.charCodeAt(0);break}if(y=o(D)||n(String.fromCharCode(D)),g=o(m)||n(String.fromCharCode(m)),v=r(D),(b=r(m))?k=!1:g&&(v||y||(k=!1)),v?C=!1:y&&(b||g||(C=!1)),34===m&&'"'===c[0]&&D>=48&&D<=57&&(C=k=!1),k&&C&&(k=y,C=g),k||C){if(C)for(F=E.length-1;F>=0&&(f=E[F],!(E[F].level<h));F--)if(f.single===w&&E[F].level===h){f=E[F],w?(_=t.md.options.quotes[2],S=t.md.options.quotes[3]):(_=t.md.options.quotes[0],S=t.md.options.quotes[1]),u.content=s(u.content,c.index,S),e[f.token].content=s(e[f.token].content,f.pos,_),p+=S.length-1,f.token===a&&(p+=_.length-1),d=(l=u.content).length,E.length=F;continue e}k?E.push({token:a,pos:c.index,single:w,level:h}):C&&w&&(u.content=s(u.content,c.index,"\u2019"))}else w&&(u.content=s(u.content,c.index,"\u2019"))}}}}t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&a.test(e.tokens[t].content)&&u(e.tokens[t].children,e)}}}),j=c({"node_modules/markdown-it/lib/token.js"(e,t){function r(e,t,r){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}r.prototype.attrIndex=function(e){var t,r,n;if(!this.attrs)return-1;for(r=0,n=(t=this.attrs).length;r<n;r++)if(t[r][0]===e)return r;return-1},r.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},r.prototype.attrSet=function(e,t){var r=this.attrIndex(e),n=[e,t];r<0?this.attrPush(n):this.attrs[r]=n},r.prototype.attrGet=function(e){var t=this.attrIndex(e),r=null;return t>=0&&(r=this.attrs[t][1]),r},r.prototype.attrJoin=function(e,t){var r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t},t.exports=r}}),q=c({"node_modules/markdown-it/lib/rules_core/state_core.js"(e,t){var r=j();function n(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}n.prototype.Token=r,t.exports=n}}),z=c({"node_modules/markdown-it/lib/parser_core.js"(e,t){var r=B(),n=[["normalize",N()],["block",L()],["inline",O()],["linkify",R()],["replacements",I()],["smartquotes",Y()]];function o(){this.ruler=new r;for(var e=0;e<n.length;e++)this.ruler.push(n[e][0],n[e][1])}o.prototype.process=function(e){var t,r,n;for(t=0,r=(n=this.ruler.getRules("")).length;t<r;t++)n[t](e)},o.prototype.State=q(),t.exports=o}}),H=c({"node_modules/markdown-it/lib/rules_block/table.js"(e,t){var r=S().isSpace;function n(e,t){var r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.substr(r,n-r)}function o(e){var t,r=[],n=0,o=e.length,a=!1,i=0,s="";for(t=e.charCodeAt(n);n<o;)124===t&&(a?(s+=e.substring(i,n-1),i=n):(r.push(s+e.substring(i,n)),s="",i=n+1)),a=92===t,n++,t=e.charCodeAt(n);return r.push(s+e.substring(i)),r}t.exports=function(e,t,a,i){var s,u,l,c,p,d,h,f,D,m,y,g,v,b,k,C,F,w;if(t+2>a)return!1;if(d=t+1,e.sCount[d]<e.blkIndent)return!1;if(!e.md.options.allowIndentation&&e.sCount[d]-e.blkIndent>=4)return!1;if((l=e.bMarks[d]+e.tShift[d])>=e.eMarks[d])return!1;if(124!==(F=e.src.charCodeAt(l++))&&45!==F&&58!==F)return!1;if(l>=e.eMarks[d])return!1;if(124!==(w=e.src.charCodeAt(l++))&&45!==w&&58!==w&&!r(w))return!1;if(45===F&&r(w))return!1;for(;l<e.eMarks[d];){if(124!==(s=e.src.charCodeAt(l))&&45!==s&&58!==s&&!r(s))return!1;l++}for(h=(u=n(e,t+1)).split("|"),m=[],c=0;c<h.length;c++){if(!(y=h[c].trim())){if(0===c||c===h.length-1)continue;return!1}if(!/^:?-+:?$/.test(y))return!1;58===y.charCodeAt(y.length-1)?m.push(58===y.charCodeAt(0)?"center":"right"):58===y.charCodeAt(0)?m.push("left"):m.push("")}if(-1===(u=n(e,t).trim()).indexOf("|"))return!1;if(!e.md.options.allowIndentation&&e.sCount[t]-e.blkIndent>=4)return!1;if((h=o(u)).length&&""===h[0]&&h.shift(),h.length&&""===h[h.length-1]&&h.pop(),0===(f=h.length)||f!==m.length)return!1;if(i)return!0;for(b=e.parentType,e.parentType="table",C=e.md.block.ruler.getRules("blockquote"),(D=e.push("table_open","table",1)).map=g=[t,0],(D=e.push("thead_open","thead",1)).map=[t,t+1],(D=e.push("tr_open","tr",1)).map=[t,t+1],c=0;c<h.length;c++)D=e.push("th_open","th",1),m[c]&&(D.attrs=[["style","text-align:"+m[c]]]),(D=e.push("inline","",0)).content=h[c].trim(),D.children=[],D=e.push("th_close","th",-1);for(D=e.push("tr_close","tr",-1),D=e.push("thead_close","thead",-1),d=t+2;d<a&&!(e.sCount[d]<e.blkIndent);d++){for(k=!1,c=0,p=C.length;c<p;c++)if(C[c](e,d,a,!0)){k=!0;break}if(k)break;if(!(u=n(e,d).trim()))break;if(!e.md.options.allowIndentation&&e.sCount[d]-e.blkIndent>=4)break;for((h=o(u)).length&&""===h[0]&&h.shift(),h.length&&""===h[h.length-1]&&h.pop(),d===t+2&&((D=e.push("tbody_open","tbody",1)).map=v=[t+2,0]),(D=e.push("tr_open","tr",1)).map=[d,d+1],c=0;c<f;c++)D=e.push("td_open","td",1),m[c]&&(D.attrs=[["style","text-align:"+m[c]]]),(D=e.push("inline","",0)).content=h[c]?h[c].trim():"",D.children=[],D=e.push("td_close","td",-1);D=e.push("tr_close","tr",-1)}return v&&(D=e.push("tbody_close","tbody",-1),v[1]=d),D=e.push("table_close","table",-1),g[1]=d,e.parentType=b,e.line=d,!0}}}),W=c({"node_modules/markdown-it/lib/rules_block/code.js"(e,t){t.exports=function(e,t,r){if(e.md.options.allowIndentation)return!1;var n,o,a;if(e.sCount[t]-e.blkIndent<4)return!1;for(o=n=t+1;n<r;)if(e.isEmpty(n))n++;else{if(!(e.sCount[n]-e.blkIndent>=4))break;o=++n}return e.line=o,(a=e.push("code_block","code",0)).content=e.getLines(t,o,4+e.blkIndent,!1)+"\n",a.map=[t,e.line],!0}}}),U=c({"node_modules/markdown-it/lib/rules_block/fence.js"(e,t){t.exports=function(e,t,r,n){var o,a,i,s,u,l,c,p=!1,d=e.bMarks[t]+e.tShift[t],h=e.eMarks[t];if(!e.md.options.allowIndentation&&e.sCount[t]-e.blkIndent>=4)return!1;if(d+3>h)return!1;if(126!==(o=e.src.charCodeAt(d))&&96!==o)return!1;if(u=d,(a=(d=e.skipChars(d,o))-u)<3)return!1;if(c=e.src.slice(u,d),i=e.src.slice(d,h),96===o&&i.indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;for(s=t;!(++s>=r)&&!((d=u=e.bMarks[s]+e.tShift[s])<(h=e.eMarks[s])&&e.sCount[s]<e.blkIndent);)if(e.src.charCodeAt(d)===o&&(e.md.options.allowIndentation||!(e.sCount[s]-e.blkIndent>=4))&&!((d=e.skipChars(d,o))-u<a)&&!((d=e.skipSpaces(d))<h)){p=!0;break}return a=e.sCount[t],e.line=s+(p?1:0),(l=e.push("fence","code",0)).info=i,l.content=e.getLines(t+1,s,a,!0),l.markup=c,l.map=[t,e.line],!0}}}),$=c({"node_modules/markdown-it/lib/rules_block/blockquote.js"(e,t){var r=S().isSpace;t.exports=function(e,t,n,o){var a,i,s,u,l,c,p,d,h,f,D,m,y,g,v,b,k,C,F,w,E=e.lineMax,_=e.bMarks[t]+e.tShift[t],S=e.eMarks[t];if(!e.md.options.allowIndentation&&e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(_++))return!1;if(o)return!0;for(u=h=e.sCount[t]+1,32===e.src.charCodeAt(_)?(_++,u++,h++,a=!1,b=!0):9===e.src.charCodeAt(_)?(b=!0,(e.bsCount[t]+h)%4===3?(_++,u++,h++,a=!1):a=!0):b=!1,f=[e.bMarks[t]],e.bMarks[t]=_;_<S&&(i=e.src.charCodeAt(_),r(i));)9===i?h+=4-(h+e.bsCount[t]+(a?1:0))%4:h++,_++;for(D=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(b?1:0),c=_>=S,g=[e.sCount[t]],e.sCount[t]=h-u,v=[e.tShift[t]],e.tShift[t]=_-e.bMarks[t],C=e.md.block.ruler.getRules("blockquote"),y=e.parentType,e.parentType="blockquote",d=t+1;d<n&&(w=e.sCount[d]<e.blkIndent,!((_=e.bMarks[d]+e.tShift[d])>=(S=e.eMarks[d])));d++)if(62!==e.src.charCodeAt(_++)||w){if(c)break;for(k=!1,s=0,l=C.length;s<l;s++)if(C[s](e,d,n,!0)){k=!0;break}if(k){e.lineMax=d,0!==e.blkIndent&&(f.push(e.bMarks[d]),D.push(e.bsCount[d]),v.push(e.tShift[d]),g.push(e.sCount[d]),e.sCount[d]-=e.blkIndent);break}f.push(e.bMarks[d]),D.push(e.bsCount[d]),v.push(e.tShift[d]),g.push(e.sCount[d]),e.sCount[d]=-1}else{for(u=h=e.sCount[d]+1,32===e.src.charCodeAt(_)?(_++,u++,h++,a=!1,b=!0):9===e.src.charCodeAt(_)?(b=!0,(e.bsCount[d]+h)%4===3?(_++,u++,h++,a=!1):a=!0):b=!1,f.push(e.bMarks[d]),e.bMarks[d]=_;_<S&&(i=e.src.charCodeAt(_),r(i));)9===i?h+=4-(h+e.bsCount[d]+(a?1:0))%4:h++,_++;c=_>=S,D.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(b?1:0),g.push(e.sCount[d]),e.sCount[d]=h-u,v.push(e.tShift[d]),e.tShift[d]=_-e.bMarks[d]}for(m=e.blkIndent,e.blkIndent=0,(F=e.push("blockquote_open","blockquote",1)).markup=">",F.map=p=[t,0],e.md.block.tokenize(e,t,d),(F=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=E,e.parentType=y,p[1]=e.line,s=0;s<v.length;s++)e.bMarks[s+t]=f[s],e.tShift[s+t]=v[s],e.sCount[s+t]=g[s],e.bsCount[s+t]=D[s];return e.blkIndent=m,!0}}}),V=c({"node_modules/markdown-it/lib/rules_block/hr.js"(e,t){var r=S().isSpace;t.exports=function(e,t,n,o){var a,i,s,u,l=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(!e.md.options.allowIndentation&&e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(a=e.src.charCodeAt(l++))&&45!==a&&95!==a)return!1;for(i=1;l<c;){if((s=e.src.charCodeAt(l++))!==a&&!r(s))return!1;s===a&&i++}return!(i<3)&&(o||(e.line=t+1,(u=e.push("hr","hr",0)).map=[t,e.line],u.markup=Array(i+1).join(String.fromCharCode(a))),!0)}}}),K=c({"node_modules/markdown-it/lib/rules_block/list.js"(e,t){var r=S().isSpace;function n(e,t){var n,o,a,i;return o=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],42!==(n=e.src.charCodeAt(o++))&&45!==n&&43!==n||o<a&&(i=e.src.charCodeAt(o),!r(i))?-1:o}function o(e,t){var n,o=e.bMarks[t]+e.tShift[t],a=o,i=e.eMarks[t];if(a+1>=i)return-1;if((n=e.src.charCodeAt(a++))<48||n>57)return-1;for(;;){if(a>=i)return-1;if(!((n=e.src.charCodeAt(a++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(a-o>=10)return-1}return a<i&&(n=e.src.charCodeAt(a),!r(n))?-1:a}t.exports=function(e,t,r,a){var i,s,u,l,c,p,d,h,f,D,m,y,g,v,b,k,C,F,w,E,_,S,x,A,M,T,P,B,N=!1,L=!0;if(!e.md.options.allowIndentation&&e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.allowIndentation&&e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(a&&"paragraph"===e.parentType&&e.sCount[t]>=e.blkIndent&&(N=!0),(x=o(e,t))>=0){if(d=!0,M=e.bMarks[t]+e.tShift[t],g=Number(e.src.slice(M,x-1)),N&&1!==g)return!1}else{if(!((x=n(e,t))>=0))return!1;d=!1}if(N&&e.skipSpaces(x)>=e.eMarks[t])return!1;if(y=e.src.charCodeAt(x-1),a)return!0;for(m=e.tokens.length,d?(B=e.push("ordered_list_open","ol",1),1!==g&&(B.attrs=[["start",g]])):B=e.push("bullet_list_open","ul",1),B.map=D=[t,0],B.markup=String.fromCharCode(y),b=t,A=!1,P=e.md.block.ruler.getRules("list"),F=e.parentType,e.parentType="list";b<r;){for(S=x,v=e.eMarks[b],p=k=e.sCount[b]+x-(e.bMarks[t]+e.tShift[t]);S<v;){if(9===(i=e.src.charCodeAt(S)))k+=4-(k+e.bsCount[b])%4;else{if(32!==i)break;k++}S++}if(c=(s=S)>=v?1:k-p,!e.md.options.allowIndentation&&c>4&&(c=1),l=p+c,(B=e.push("list_item_open","li",1)).markup=String.fromCharCode(y),B.map=h=[t,0],d&&(B.info=e.src.slice(M,x-1)),_=e.tight,E=e.tShift[t],w=e.sCount[t],C=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=l,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=k,s>=v&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,t,r,!0),e.tight&&!A||(L=!1),A=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=C,e.tShift[t]=E,e.sCount[t]=w,e.tight=_,(B=e.push("list_item_close","li",-1)).markup=String.fromCharCode(y),b=t=e.line,h[1]=b,s=e.bMarks[t],b>=r)break;if(e.sCount[b]<e.blkIndent)break;if(!e.md.options.allowIndentation&&e.sCount[t]-e.blkIndent>=4)break;for(T=!1,u=0,f=P.length;u<f;u++)if(P[u](e,b,r,!0)){T=!0;break}if(T)break;if(d){if((x=o(e,b))<0)break;M=e.bMarks[b]+e.tShift[b]}else if((x=n(e,b))<0)break;if(y!==e.src.charCodeAt(x-1))break}return(B=d?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(y),D[1]=b,e.line=b,e.parentType=F,L&&function(e,t){var r,n,o=e.level+2;for(r=t+2,n=e.tokens.length-2;r<n;r++)e.tokens[r].level===o&&"paragraph_open"===e.tokens[r].type&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}(e,m),!0}}}),Z=c({"node_modules/markdown-it/lib/rules_block/reference.js"(e,t){var r=S().normalizeReference,n=S().isSpace;t.exports=function(e,t,o,a){var i,s,u,l,c,p,d,h,f,D,m,y,g,v,b,k,C=0,F=e.bMarks[t]+e.tShift[t],w=e.eMarks[t],E=t+1;if(!e.md.options.allowIndentation&&e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(F))return!1;for(;++F<w;)if(93===e.src.charCodeAt(F)&&92!==e.src.charCodeAt(F-1)){if(F+1===w)return!1;if(58!==e.src.charCodeAt(F+1))return!1;break}for(l=e.lineMax,b=e.md.block.ruler.getRules("reference"),D=e.parentType,e.parentType="reference";E<l&&!e.isEmpty(E);E++)if((e.md.options.allowIndentation||!(e.sCount[E]-e.blkIndent>3))&&!(e.sCount[E]<0)){for(v=!1,p=0,d=b.length;p<d;p++)if(b[p](e,E,l,!0)){v=!0;break}if(v)break}for(w=(g=e.getLines(t,E,e.blkIndent,!1).trim()).length,F=1;F<w;F++){if(91===(i=g.charCodeAt(F)))return!1;if(93===i){f=F;break}(10===i||92===i&&++F<w&&10===g.charCodeAt(F))&&C++}if(f<0||58!==g.charCodeAt(f+1))return!1;for(F=f+2;F<w;F++)if(10===(i=g.charCodeAt(F)))C++;else if(!n(i))break;if(!(m=e.md.helpers.parseLinkDestination(g,F,w)).ok)return!1;if(c=e.md.normalizeLink(m.str),!e.md.validateLink(c))return!1;for(s=F=m.pos,u=C+=m.lines,y=F;F<w;F++)if(10===(i=g.charCodeAt(F)))C++;else if(!n(i))break;for(m=e.md.helpers.parseLinkTitle(g,F,w),F<w&&y!==F&&m.ok?(k=m.str,F=m.pos,C+=m.lines):(k="",F=s,C=u);F<w&&(i=g.charCodeAt(F),n(i));)F++;if(F<w&&10!==g.charCodeAt(F)&&k)for(k="",F=s,C=u;F<w&&(i=g.charCodeAt(F),n(i));)F++;return!(F<w&&10!==g.charCodeAt(F))&&(!!(h=r(g.slice(1,f)))&&(a||("undefined"===typeof e.env.references&&(e.env.references={}),"undefined"===typeof e.env.references[h]&&(e.env.references[h]={title:k,href:c}),e.parentType=D,e.line=t+C+1),!0))}}}),X=c({"node_modules/markdown-it/lib/common/html_blocks.js"(e,t){t.exports=["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","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]}}),Q=c({"node_modules/markdown-it/lib/common/html_re.js"(e,t){var r="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",n="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",o=new RegExp("^(?:"+r+"|"+n+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),a=new RegExp("^(?:"+r+"|"+n+")");t.exports.HTML_TAG_RE=o,t.exports.HTML_OPEN_CLOSE_TAG_RE=a}}),G=c({"node_modules/markdown-it/lib/rules_block/html_block.js"(e,t){var r=X(),n=Q().HTML_OPEN_CLOSE_TAG_RE,o=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(n.source+"\\s*$"),/^$/,!1]];t.exports=function(e,t,r,n){var a,i,s,u,l=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(!e.md.options.allowIndentation&&e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(u=e.src.slice(l,c),a=0;a<o.length&&!o[a][0].test(u);a++);if(a===o.length)return!1;if(n)return o[a][2];if(i=t+1,!o[a][1].test(u))for(;i<r&&!(e.sCount[i]<e.blkIndent);i++)if(l=e.bMarks[i]+e.tShift[i],c=e.eMarks[i],u=e.src.slice(l,c),o[a][1].test(u)){0!==u.length&&i++;break}return e.line=i,(s=e.push("html_block","",0)).map=[t,i],s.content=e.getLines(t,i,e.blkIndent,!0),!0}}}),J=c({"node_modules/markdown-it/lib/rules_block/heading.js"(e,t){var r=S().isSpace;t.exports=function(e,t,n,o){var a,i,s,u,l=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(!e.md.options.allowIndentation&&e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(a=e.src.charCodeAt(l))||l>=c)return!1;for(i=1,a=e.src.charCodeAt(++l);35===a&&l<c&&i<=6;)i++,a=e.src.charCodeAt(++l);return!(i>6||l<c&&!r(a))&&(o||(c=e.skipSpacesBack(c,l),(s=e.skipCharsBack(c,35,l))>l&&r(e.src.charCodeAt(s-1))&&(c=s),e.line=t+1,(u=e.push("heading_open","h"+String(i),1)).markup="########".slice(0,i),u.map=[t,e.line],(u=e.push("inline","",0)).content=e.src.slice(l,c).trim(),u.map=[t,e.line],u.children=[],(u=e.push("heading_close","h"+String(i),-1)).markup="########".slice(0,i)),!0)}}}),ee=c({"node_modules/markdown-it/lib/rules_block/lheading.js"(e,t){t.exports=function(e,t,r){var n,o,a,i,s,u,l,c,p,d,h=t+1,f=e.md.block.ruler.getRules("paragraph");if(!e.md.options.allowIndentation&&e.sCount[t]-e.blkIndent>=4)return!1;for(d=e.parentType,e.parentType="paragraph";h<r&&!e.isEmpty(h);h++)if(e.md.options.allowIndentation||!(e.sCount[h]-e.blkIndent>3)){if(e.sCount[h]>=e.blkIndent&&(u=e.bMarks[h]+e.tShift[h])<(l=e.eMarks[h])&&(45===(p=e.src.charCodeAt(u))||61===p)&&(u=e.skipChars(u,p),(u=e.skipSpaces(u))>=l)){c=61===p?1:2;break}if(!(e.sCount[h]<0)){for(o=!1,a=0,i=f.length;a<i;a++)if(f[a](e,h,r,!0)){o=!0;break}if(o)break}}return!!c&&(n=e.getLines(t,h,e.blkIndent,!1).trim(),e.line=h+1,(s=e.push("heading_open","h"+String(c),1)).markup=String.fromCharCode(p),s.map=[t,e.line],(s=e.push("inline","",0)).content=n,s.map=[t,e.line-1],s.children=[],(s=e.push("heading_close","h"+String(c),-1)).markup=String.fromCharCode(p),e.parentType=d,!0)}}}),te=c({"node_modules/markdown-it/lib/rules_block/paragraph.js"(e,t){t.exports=function(e,t){var r,n,o,a,i,s,u=t+1,l=e.md.block.ruler.getRules("paragraph"),c=e.lineMax;for(s=e.parentType,e.parentType="paragraph";u<c&&!e.isEmpty(u);u++)if((e.md.options.allowIndentation||!(e.sCount[u]-e.blkIndent>3))&&!(e.sCount[u]<0)){for(n=!1,o=0,a=l.length;o<a;o++)if(l[o](e,u,c,!0)){n=!0;break}if(n)break}return r=e.getLines(t,u,e.blkIndent,!1).trim(),e.line=u,(i=e.push("paragraph_open","p",1)).map=[t,e.line],(i=e.push("inline","",0)).content=r,i.map=[t,e.line],i.children=[],i=e.push("paragraph_close","p",-1),e.parentType=s,!0}}}),re=c({"node_modules/markdown-it/lib/rules_block/state_block.js"(e,t){var r=j(),n=S().isSpace;function o(e,t,r,o){var a,i,s,u,l,c,p,d;for(this.src=e,this.md=t,this.env=r,this.tokens=o,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",d=!1,s=u=c=p=0,l=(i=this.src).length;u<l;u++){if(a=i.charCodeAt(u),!d){if(n(a)){c++,9===a?p+=4-p%4:p++;continue}d=!0}10!==a&&u!==l-1||(10!==a&&u++,this.bMarks.push(s),this.eMarks.push(u),this.tShift.push(c),this.sCount.push(p),this.bsCount.push(0),d=!1,c=0,p=0,s=u+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}o.prototype.push=function(e,t,n){var o=new r(e,t,n);return o.block=!0,n<0&&this.level--,o.level=this.level,n>0&&this.level++,this.tokens.push(o),o},o.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},o.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},o.prototype.skipSpaces=function(e){for(var t,r=this.src.length;e<r&&(t=this.src.charCodeAt(e),n(t));e++);return e},o.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!n(this.src.charCodeAt(--e)))return e+1;return e},o.prototype.skipChars=function(e,t){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===t;e++);return e},o.prototype.skipCharsBack=function(e,t,r){if(e<=r)return e;for(;e>r;)if(t!==this.src.charCodeAt(--e))return e+1;return e},o.prototype.getLines=function(e,t,r,o){var a,i,s,u,l,c,p,d=e;if(e>=t)return"";for(c=new Array(t-e),a=0;d<t;d++,a++){for(i=0,p=u=this.bMarks[d],l=d+1<t||o?this.eMarks[d]+1:this.eMarks[d];u<l&&i<r;){if(s=this.src.charCodeAt(u),n(s))9===s?i+=4-(i+this.bsCount[d])%4:i++;else{if(!(u-p<this.tShift[d]))break;i++}u++}c[a]=i>r?new Array(i-r+1).join(" ")+this.src.slice(u,l):this.src.slice(u,l)}return c.join("")},o.prototype.Token=r,t.exports=o}}),ne=c({"node_modules/markdown-it/lib/parser_block.js"(e,t){var r=B(),n=[["table",H(),["paragraph","reference"]],["code",W()],["fence",U(),["paragraph","reference","blockquote","list"]],["blockquote",$(),["paragraph","reference","blockquote","list"]],["hr",V(),["paragraph","reference","blockquote","list"]],["list",K(),["paragraph","reference","blockquote"]],["reference",Z()],["html_block",G(),["paragraph","reference","blockquote"]],["heading",J(),["paragraph","reference","blockquote"]],["lheading",ee()],["paragraph",te()]];function o(){this.ruler=new r;for(var e=0;e<n.length;e++)this.ruler.push(n[e][0],n[e][1],{alt:(n[e][2]||[]).slice()})}o.prototype.tokenize=function(e,t,r){for(var n,o=this.ruler.getRules(""),a=o.length,i=t,s=!1,u=e.md.options.maxNesting;i<r&&(e.line=i=e.skipEmptyLines(i),!(i>=r))&&!(e.sCount[i]<e.blkIndent);){if(e.level>=u){e.line=r;break}for(n=0;n<a&&!o[n](e,i,r,!1);n++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(i=e.line)<r&&e.isEmpty(i)&&(s=!0,i++,e.line=i)}},o.prototype.parse=function(e,t,r,n){var o;e&&(o=new this.State(e,t,r,n),this.tokenize(o,o.line,o.lineMax))},o.prototype.State=re(),t.exports=o}}),oe=c({"node_modules/markdown-it/lib/rules_inline/text.js"(e,t){function r(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}t.exports=function(e,t){for(var n=e.pos;n<e.posMax&&!r(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}}}),ae=c({"node_modules/markdown-it/lib/rules_inline/newline.js"(e,t){var r=S().isSpace;t.exports=function(e,t){var n,o,a,i=e.pos;if(10!==e.src.charCodeAt(i))return!1;if(n=e.pending.length-1,o=e.posMax,!t)if(n>=0&&32===e.pending.charCodeAt(n))if(n>=1&&32===e.pending.charCodeAt(n-1)){for(a=n-1;a>=1&&32===e.pending.charCodeAt(a-1);)a--;e.pending=e.pending.slice(0,a),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(i++;i<o&&r(e.src.charCodeAt(i));)i++;return e.pos=i,!0}}}),ie=c({"node_modules/markdown-it/lib/rules_inline/escape.js"(e,t){var r,n=S().isSpace,o=[];for(r=0;r<256;r++)o.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){o[e.charCodeAt(0)]=1}),t.exports=function(e,t){var r,a=e.pos,i=e.posMax;if(92!==e.src.charCodeAt(a))return!1;if(++a<i){if((r=e.src.charCodeAt(a))<256&&0!==o[r])return t||(e.pending+=e.src[a]),e.pos+=2,!0;if(10===r){for(t||e.push("hardbreak","br",0),a++;a<i&&(r=e.src.charCodeAt(a),n(r));)a++;return e.pos=a,!0}}return t||(e.pending+="\\"),e.pos++,!0}}}),se=c({"node_modules/markdown-it/lib/rules_inline/backticks.js"(e,t){t.exports=function(e,t){var r,n,o,a,i,s,u,l,c=e.pos;if(96!==e.src.charCodeAt(c))return!1;for(r=c,c++,n=e.posMax;c<n&&96===e.src.charCodeAt(c);)c++;if(u=(o=e.src.slice(r,c)).length,e.backticksScanned&&(e.backticks[u]||0)<=r)return t||(e.pending+=o),e.pos+=u,!0;for(i=s=c;-1!==(i=e.src.indexOf("`",s));){for(s=i+1;s<n&&96===e.src.charCodeAt(s);)s++;if((l=s-i)===u)return t||((a=e.push("code_inline","code",0)).markup=o,a.content=e.src.slice(c,i).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=s,!0;e.backticks[l]=i}return e.backticksScanned=!0,t||(e.pending+=o),e.pos+=u,!0}}}),ue=c({"node_modules/markdown-it/lib/rules_inline/strikethrough.js"(e,t){function r(e,t){var r,n,o,a,i,s=[],u=t.length;for(r=0;r<u;r++)126===(o=t[r]).marker&&-1!==o.end&&(a=t[o.end],(i=e.tokens[o.token]).type="s_open",i.tag="s",i.nesting=1,i.markup="~~",i.content="",(i=e.tokens[a.token]).type="s_close",i.tag="s",i.nesting=-1,i.markup="~~",i.content="","text"===e.tokens[a.token-1].type&&"~"===e.tokens[a.token-1].content&&s.push(a.token-1));for(;s.length;){for(n=(r=s.pop())+1;n<e.tokens.length&&"s_close"===e.tokens[n].type;)n++;r!==--n&&(i=e.tokens[n],e.tokens[n]=e.tokens[r],e.tokens[r]=i)}}t.exports.tokenize=function(e,t){var r,n,o,a,i=e.pos,s=e.src.charCodeAt(i);if(t)return!1;if(126!==s)return!1;if(o=(n=e.scanDelims(e.pos,!0)).length,a=String.fromCharCode(s),o<2)return!1;for(o%2&&(e.push("text","",0).content=a,o--),r=0;r<o;r+=2)e.push("text","",0).content=a+a,e.delimiters.push({marker:s,length:0,token:e.tokens.length-1,end:-1,open:n.can_open,close:n.can_close});return e.pos+=n.length,!0},t.exports.postProcess=function(e){var t,n=e.tokens_meta,o=e.tokens_meta.length;for(r(e,e.delimiters),t=0;t<o;t++)n[t]&&n[t].delimiters&&r(e,n[t].delimiters)}}}),le=c({"node_modules/markdown-it/lib/rules_inline/emphasis.js"(e,t){function r(e,t){var r,n,o,a,i,s;for(r=t.length-1;r>=0;r--)95!==(n=t[r]).marker&&42!==n.marker||-1!==n.end&&(o=t[n.end],s=r>0&&t[r-1].end===n.end+1&&t[r-1].marker===n.marker&&t[r-1].token===n.token-1&&t[n.end+1].token===o.token+1,i=String.fromCharCode(n.marker),(a=e.tokens[n.token]).type=s?"strong_open":"em_open",a.tag=s?"strong":"em",a.nesting=1,a.markup=s?i+i:i,a.content="",(a=e.tokens[o.token]).type=s?"strong_close":"em_close",a.tag=s?"strong":"em",a.nesting=-1,a.markup=s?i+i:i,a.content="",s&&(e.tokens[t[r-1].token].content="",e.tokens[t[n.end+1].token].content="",r--))}t.exports.tokenize=function(e,t){var r,n,o=e.pos,a=e.src.charCodeAt(o);if(t)return!1;if(95!==a&&42!==a)return!1;for(n=e.scanDelims(e.pos,42===a),r=0;r<n.length;r++)e.push("text","",0).content=String.fromCharCode(a),e.delimiters.push({marker:a,length:n.length,token:e.tokens.length-1,end:-1,open:n.can_open,close:n.can_close});return e.pos+=n.length,!0},t.exports.postProcess=function(e){var t,n=e.tokens_meta,o=e.tokens_meta.length;for(r(e,e.delimiters),t=0;t<o;t++)n[t]&&n[t].delimiters&&r(e,n[t].delimiters)}}}),ce=c({"node_modules/markdown-it/lib/rules_inline/link.js"(e,t){var r=S().normalizeReference,n=S().isSpace;t.exports=function(e,t){var o,a,i,s,u,l,c,p,d="",h="",f=e.pos,D=e.posMax,m=e.pos,y=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(u=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((l=s+1)<D&&40===e.src.charCodeAt(l)){for(y=!1,l++;l<D&&(a=e.src.charCodeAt(l),n(a)||10===a);l++);if(l>=D)return!1;if(m=l,(c=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok){for(d=e.md.normalizeLink(c.str),e.md.validateLink(d)?l=c.pos:d="",m=l;l<D&&(a=e.src.charCodeAt(l),n(a)||10===a);l++);if(c=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<D&&m!==l&&c.ok)for(h=c.str,l=c.pos;l<D&&(a=e.src.charCodeAt(l),n(a)||10===a);l++);}(l>=D||41!==e.src.charCodeAt(l))&&(y=!0),l++}if(y){if("undefined"===typeof e.env.references)return!1;if(l<D&&91===e.src.charCodeAt(l)?(m=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?i=e.src.slice(m,l++):l=s+1):l=s+1,i||(i=e.src.slice(u,s)),!(p=e.env.references[r(i)]))return e.pos=f,!1;d=p.href,h=p.title}return t||(e.pos=u,e.posMax=s,e.push("link_open","a",1).attrs=o=[["href",d]],h&&o.push(["title",h]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=l,e.posMax=D,!0}}}),pe=c({"node_modules/markdown-it/lib/rules_inline/image.js"(e,t){var r=S().normalizeReference,n=S().isSpace;t.exports=function(e,t){var o,a,i,s,u,l,c,p,d,h,f,D,m,y="",g=e.pos,v=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(l=e.pos+2,(u=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((c=u+1)<v&&40===e.src.charCodeAt(c)){for(c++;c<v&&(a=e.src.charCodeAt(c),n(a)||10===a);c++);if(c>=v)return!1;for(m=c,(d=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok&&(y=e.md.normalizeLink(d.str),e.md.validateLink(y)?c=d.pos:y=""),m=c;c<v&&(a=e.src.charCodeAt(c),n(a)||10===a);c++);if(d=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<v&&m!==c&&d.ok)for(h=d.str,c=d.pos;c<v&&(a=e.src.charCodeAt(c),n(a)||10===a);c++);else h="";if(c>=v||41!==e.src.charCodeAt(c))return e.pos=g,!1;c++}else{if("undefined"===typeof e.env.references)return!1;if(c<v&&91===e.src.charCodeAt(c)?(m=c+1,(c=e.md.helpers.parseLinkLabel(e,c))>=0?s=e.src.slice(m,c++):c=u+1):c=u+1,s||(s=e.src.slice(l,u)),!(p=e.env.references[r(s)]))return e.pos=g,!1;y=p.href,h=p.title}return t||(i=e.src.slice(l,u),e.md.inline.parse(i,e.md,e.env,D=[]),(f=e.push("image","img",0)).attrs=o=[["src",y],["alt",""]],f.children=D,f.content=i,h&&o.push(["title",h])),e.pos=c,e.posMax=v,!0}}}),de=c({"node_modules/markdown-it/lib/rules_inline/autolink.js"(e,t){var r=/^([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])?)*)$/,n=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;t.exports=function(e,t){var o,a,i,s,u,l,c=e.pos;if(60!==e.src.charCodeAt(c))return!1;for(u=e.pos,l=e.posMax;;){if(++c>=l)return!1;if(60===(s=e.src.charCodeAt(c)))return!1;if(62===s)break}return o=e.src.slice(u+1,c),n.test(o)?(a=e.md.normalizeLink(o),!!e.md.validateLink(a)&&(t||((i=e.push("link_open","a",1)).attrs=[["href",a]],i.markup="autolink",i.info="auto",(i=e.push("text","",0)).content=e.md.normalizeLinkText(o),(i=e.push("link_close","a",-1)).markup="autolink",i.info="auto"),e.pos+=o.length+2,!0)):!!r.test(o)&&(a=e.md.normalizeLink("mailto:"+o),!!e.md.validateLink(a)&&(t||((i=e.push("link_open","a",1)).attrs=[["href",a]],i.markup="autolink",i.info="auto",(i=e.push("text","",0)).content=e.md.normalizeLinkText(o),(i=e.push("link_close","a",-1)).markup="autolink",i.info="auto"),e.pos+=o.length+2,!0))}}}),he=c({"node_modules/markdown-it/lib/rules_inline/html_inline.js"(e,t){var r=Q().HTML_TAG_RE;t.exports=function(e,t){var n,o,a,i=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(i)||i+2>=a)&&(!(33!==(n=e.src.charCodeAt(i+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(o=e.src.slice(i).match(r))&&(t||(e.push("html_inline","",0).content=e.src.slice(i,i+o[0].length)),e.pos+=o[0].length,!0))))}}}),fe=c({"node_modules/markdown-it/lib/rules_inline/entity.js"(e,t){var r=D(),n=S().has,o=S().isValidEntityCode,a=S().fromCodePoint,i=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,s=/^&([a-z][a-z0-9]{1,31});/i;t.exports=function(e,t){var u,l,c=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(c))return!1;if(c+1<p)if(35===e.src.charCodeAt(c+1)){if(l=e.src.slice(c).match(i))return t||(u="x"===l[1][0].toLowerCase()?parseInt(l[1].slice(1),16):parseInt(l[1],10),e.pending+=o(u)?a(u):a(65533)),e.pos+=l[0].length,!0}else if((l=e.src.slice(c).match(s))&&n(r,l[1]))return t||(e.pending+=r[l[1]]),e.pos+=l[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}}}),De=c({"node_modules/markdown-it/lib/rules_inline/balance_pairs.js"(e,t){function r(e,t){var r,n,o,a,i,s,u,l,c={},p=t.length;if(p){var d=0,h=-2,f=[];for(r=0;r<p;r++)if(o=t[r],f.push(0),t[d].marker===o.marker&&h===o.token-1||(d=r),h=o.token,o.length=o.length||0,o.close){for(c.hasOwnProperty(o.marker)||(c[o.marker]=[-1,-1,-1,-1,-1,-1]),i=c[o.marker][(o.open?3:0)+o.length%3],s=n=d-f[d]-1;n>i;n-=f[n]+1)if((a=t[n]).marker===o.marker&&a.open&&a.end<0&&(u=!1,(a.close||o.open)&&(a.length+o.length)%3===0&&(a.length%3===0&&o.length%3===0||(u=!0)),!u)){l=n>0&&!t[n-1].open?f[n-1]+1:0,f[r]=r-n+l,f[n]=l,o.open=!1,a.end=r,a.close=!1,s=-1,h=-2;break}-1!==s&&(c[o.marker][(o.open?3:0)+(o.length||0)%3]=s)}}}t.exports=function(e){var t,n=e.tokens_meta,o=e.tokens_meta.length;for(r(0,e.delimiters),t=0;t<o;t++)n[t]&&n[t].delimiters&&r(0,n[t].delimiters)}}}),me=c({"node_modules/markdown-it/lib/rules_inline/text_collapse.js"(e,t){t.exports=function(e){var t,r,n=0,o=e.tokens,a=e.tokens.length;for(t=r=0;t<a;t++)o[t].nesting<0&&n--,o[t].level=n,o[t].nesting>0&&n++,"text"===o[t].type&&t+1<a&&"text"===o[t+1].type?o[t+1].content=o[t].content+o[t+1].content:(t!==r&&(o[r]=o[t]),r++);t!==r&&(o.length=r)}}}),ye=c({"node_modules/markdown-it/lib/rules_inline/state_inline.js"(e,t){var r=j(),n=S().isWhiteSpace,o=S().isPunctChar,a=S().isMdAsciiPunct;function i(e,t,r,n){this.src=e,this.env=r,this.md=t,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}i.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},i.prototype.push=function(e,t,n){this.pending&&this.pushPending();var o=new r(e,t,n),a=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),o.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],a={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(o),this.tokens_meta.push(a),o},i.prototype.scanDelims=function(e,t){var r,i,s,u,l,c,p,d,h,f=e,D=!0,m=!0,y=this.posMax,g=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;f<y&&this.src.charCodeAt(f)===g;)f++;return s=f-e,i=f<y?this.src.charCodeAt(f):32,p=a(r)||o(String.fromCharCode(r)),h=a(i)||o(String.fromCharCode(i)),c=n(r),(d=n(i))?D=!1:h&&(c||p||(D=!1)),c?m=!1:p&&(d||h||(m=!1)),t?(u=D,l=m):(u=D&&(!m||p),l=m&&(!D||h)),{can_open:u,can_close:l,length:s}},i.prototype.Token=r,t.exports=i}}),ge=c({"node_modules/markdown-it/lib/parser_inline.js"(e,t){var r=B(),n=[["text",oe()],["newline",ae()],["escape",ie()],["backticks",se()],["strikethrough",ue().tokenize],["emphasis",le().tokenize],["link",ce()],["image",pe()],["autolink",de()],["html_inline",he()],["entity",fe()]],o=[["balance_pairs",De()],["strikethrough",ue().postProcess],["emphasis",le().postProcess],["text_collapse",me()]];function a(){var e;for(this.ruler=new r,e=0;e<n.length;e++)this.ruler.push(n[e][0],n[e][1]);for(this.ruler2=new r,e=0;e<o.length;e++)this.ruler2.push(o[e][0],o[e][1])}a.prototype.skipToken=function(e){var t,r,n=e.pos,o=this.ruler.getRules(""),a=o.length,i=e.md.options.maxNesting,s=e.cache;if("undefined"===typeof s[n]){if(e.level<i)for(r=0;r<a&&(e.level++,t=o[r](e,!0),e.level--,!t);r++);else e.pos=e.posMax;t||e.pos++,s[n]=e.pos}else e.pos=s[n]},a.prototype.tokenize=function(e){for(var t,r,n=this.ruler.getRules(""),o=n.length,a=e.posMax,i=e.md.options.maxNesting;e.pos<a;){if(e.level<i)for(r=0;r<o&&!(t=n[r](e,!1));r++);if(t){if(e.pos>=a)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},a.prototype.parse=function(e,t,r,n){var o,a,i,s=new this.State(e,t,r,n);for(this.tokenize(s),i=(a=this.ruler2.getRules("")).length,o=0;o<i;o++)a[o](s)},a.prototype.State=ye(),t.exports=a}}),ve=c({"node_modules/linkify-it/lib/re.js"(e,t){t.exports=function(e){var t={};t.src_Any=C().source,t.src_Cc=F().source,t.src_Z=E().source,t.src_P=m().source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var r="[><\uff5c]";return t.src_pseudo_letter="(?:(?![><\uff5c]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><\uff5c]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+r+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+").|;(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><\uff5c]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}}}),be=c({"node_modules/linkify-it/index.js"(e,t){function r(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(r){e[r]=t[r]})}),e}function n(e){return Object.prototype.toString.call(e)}function o(e){return"[object Function]"===n(e)}function a(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var i={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var s={"http:":{validate:function(e,t,r){var n=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){var n=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},u="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function l(e){var t=e.re=ve()(e.__opts__),r=e.__tlds__.slice();function i(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(i(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(i(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(i(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(i(t.tpl_host_fuzzy_test),"i");var s=[];function u(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){var r=e.__schemas__[t];if(null!==r){var a={validate:null,link:null};if(e.__compiled__[t]=a,"[object Object]"===n(r))return!function(e){return"[object RegExp]"===n(e)}(r.validate)?o(r.validate)?a.validate=r.validate:u(t,r):a.validate=function(e){return function(t,r){var n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}(r.validate),void(o(r.normalize)?a.normalize=r.normalize:r.normalize?u(t,r):a.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===n(e)}(r)?u(t,r):s.push(t)}}),s.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var l=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(a).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+l+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+l+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function c(e,t){var r=e.__index__,n=e.__last_index__,o=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=o,this.text=o,this.url=o}function p(e,t){var r=new c(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function d(e,t){if(!(this instanceof d))return new d(e,t);var n;t||(n=e,Object.keys(n||{}).reduce(function(e,t){return e||i.hasOwnProperty(t)},!1)&&(t=e,e={})),this.__opts__=r({},i,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},s,e),this.__compiled__={},this.__tlds__=u,this.__tlds_replaced__=!1,this.re={},l(this)}d.prototype.add=function(e,t){return this.__schemas__[e]=t,l(this),this},d.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},d.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,n,o,a,i,s,u;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(o=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||u<this.__index__)&&null!==(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(a=r.index+r[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__="",this.__index__=a,this.__last_index__=r.index+r[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(n=e.match(this.re.email_fuzzy))&&(a=n.index+n[1].length,i=n.index+n[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=i)),this.__index__>=0},d.prototype.pretest=function(e){return this.re.pretest.test(e)},d.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},d.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(p(this,t)),t=this.__last_index__);for(var n=t?e.slice(t):e;this.test(n);)r.push(p(this,t)),n=n.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},d.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,r){return e!==r[t-1]}).reverse(),l(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,l(this),this)},d.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},d.prototype.onCompile=function(){},t.exports=d}}),ke=c({"node_modules/punycode/punycode.js"(e,t){var r=2147483647,n=36,o=/^xn--/,a=/[^\0-\x7E]/,i=/[\x2E\u3002\uFF0E\uFF61]/g,s={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},u=Math.floor,l=String.fromCharCode;function c(e){throw new RangeError(s[e])}function p(e,t){const r=e.split("@");let n="";r.length>1&&(n=r[0]+"@",e=r[1]);const o=function(e,t){const r=[];let n=e.length;for(;n--;)r[n]=t(e[n]);return r}((e=e.replace(i,".")).split("."),t).join(".");return n+o}function d(e){const t=[];let r=0;const n=e.length;for(;r<n;){const o=e.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){const n=e.charCodeAt(r++);56320==(64512&n)?t.push(((1023&o)<<10)+(1023&n)+65536):(t.push(o),r--)}else t.push(o)}return t}var h=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:n},f=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},D=function(e,t,r){let o=0;for(e=r?u(e/700):e>>1,e+=u(e/t);e>455;o+=n)e=u(e/35);return u(o+36*e/(e+38))},m=function(e){const t=[],o=e.length;let a=0,i=128,s=72,l=e.lastIndexOf("-");l<0&&(l=0);for(let r=0;r<l;++r)e.charCodeAt(r)>=128&&c("not-basic"),t.push(e.charCodeAt(r));for(let p=l>0?l+1:0;p<o;){let l=a;for(let t=1,i=n;;i+=n){p>=o&&c("invalid-input");const l=h(e.charCodeAt(p++));(l>=n||l>u((r-a)/t))&&c("overflow"),a+=l*t;const d=i<=s?1:i>=s+26?26:i-s;if(l<d)break;const f=n-d;t>u(r/f)&&c("overflow"),t*=f}const d=t.length+1;s=D(a-l,d,0==l),u(a/d)>r-i&&c("overflow"),i+=u(a/d),a%=d,t.splice(a++,0,i)}return String.fromCodePoint(...t)},y=function(e){const t=[];let o=(e=d(e)).length,a=128,i=0,s=72;for(const r of e)r<128&&t.push(l(r));let p=t.length,h=p;for(p&&t.push("-");h<o;){let o=r;for(const t of e)t>=a&&t<o&&(o=t);const d=h+1;o-a>u((r-i)/d)&&c("overflow"),i+=(o-a)*d,a=o;for(const m of e)if(m<a&&++i>r&&c("overflow"),m==a){let e=i;for(let r=n;;r+=n){const o=r<=s?1:r>=s+26?26:r-s;if(e<o)break;const a=e-o,i=n-o;t.push(l(f(o+a%i,0))),e=u(a/i)}t.push(l(f(e,0))),s=D(i,d,h==p),i=0,++h}++i,++a}return t.join("")},g={version:"2.1.0",ucs2:{decode:d,encode:e=>String.fromCodePoint(...e)},decode:m,encode:y,toASCII:function(e){return p(e,function(e){return a.test(e)?"xn--"+y(e):e})},toUnicode:function(e){return p(e,function(e){return o.test(e)?m(e.slice(4).toLowerCase()):e})}};t.exports=g}}),Ce=c({"node_modules/markdown-it/lib/presets/default.js"(e,t){t.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}}}),Fe=c({"node_modules/markdown-it/lib/presets/zero.js"(e,t){t.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}}}),we=c({"node_modules/markdown-it/lib/presets/commonmark.js"(e,t){t.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}}}),Ee=c({"node_modules/markdown-it/lib/index.js"(e,t){var r=S(),n=T(),o=P(),a=z(),i=ne(),s=ge(),u=be(),l=k(),c=ke(),p={default:Ce(),zero:Fe(),commonmark:we()},d=/^(vbscript|javascript|file|data):/,h=/^data:image\/(gif|png|jpeg|webp);/;function f(e){var t=e.trim().toLowerCase();return!d.test(t)||!!h.test(t)}var D=["http:","https:","mailto:"];function m(e){var t=l.parse(e,!0);if(t.hostname&&(!t.protocol||D.indexOf(t.protocol)>=0))try{t.hostname=c.toASCII(t.hostname)}catch(r){}return l.encode(l.format(t))}function y(e){var t=l.parse(e,!0);if(t.hostname&&(!t.protocol||D.indexOf(t.protocol)>=0))try{t.hostname=c.toUnicode(t.hostname)}catch(r){}return l.decode(l.format(t),l.decode.defaultChars+"%")}function g(e,t){if(!(this instanceof g))return new g(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new s,this.block=new i,this.core=new a,this.renderer=new o,this.linkify=new u,this.validateLink=f,this.normalizeLink=m,this.normalizeLinkText=y,this.utils=r,this.helpers=r.assign({},n),this.options={},this.configure(e),t&&this.set(t)}g.prototype.set=function(e){return r.assign(this.options,e),this},g.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=p[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)}),this},g.prototype.enable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.enable(e,!0))},this),r=r.concat(this.inline.ruler2.enable(e,!0));var n=e.filter(function(e){return r.indexOf(e)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},g.prototype.disable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.disable(e,!0))},this),r=r.concat(this.inline.ruler2.disable(e,!0));var n=e.filter(function(e){return r.indexOf(e)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},g.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},g.prototype.parse=function(e,t){if("string"!==typeof e)throw new Error("Input data should be a String");var r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},g.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},g.prototype.parseInline=function(e,t){var r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},g.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},t.exports=g}}),_e=c({"node_modules/markdown-it/index.js"(e,t){t.exports=Ee()}}),Se={};function xe(e){return!!e?.$$mdtype}function Ae(e){return!("Function"!==e?.$$mdtype)}function Me(e){return!("Variable"!==e?.$$mdtype)}function*Te(e){if(null!=e&&"object"===typeof e){if(Array.isArray(e))for(const t of e)yield*Te(t);if(xe(e)&&(yield e),Object.getPrototypeOf(e)===Object.prototype)for(const t of Object.values(e))yield*Te(t)}}function Pe(e,t={}){if(null==e||"object"!==typeof e)return e;if(Array.isArray(e))return e.map(e=>Pe(e,t));if(xe(e)&&e?.resolve instanceof Function)return e.resolve(t);if(Object.getPrototypeOf(e)!==Object.prototype)return e;const r={};for(const[n,o]of Object.entries(e))r[n]=Pe(o,t);return r}p(Se,{getAstValues:()=>Te,isAst:()=>xe,isFunction:()=>Ae,isVariable:()=>Me,resolve:()=>Pe});var Be=class{constructor(e="div",t={},r=[]){this.$$mdtype="Tag",this.name=e,this.attributes=t,this.children=r}};Be.isTag=e=>!("Tag"!==e?.$$mdtype);var Ne,Le,Oe=d(h()),Re=class{constructor(e=[]){this.$$mdtype="Variable",this.path=e}resolve({variables:e}={}){return e instanceof Function?e(this.path):this.path.reduce((e={},t)=>e[t],e)}},Ie=class{constructor(e,t){this.$$mdtype="Function",this.name=e,this.parameters=t}resolve(e={}){const t=e?.functions?.[this.name];if(!t)return null;const r=Pe(this.parameters,e);return t.transform?.(r,e)}};(Le=Ne||(Ne={}))[Le.normal=0]="normal",Le[Le.string=1]="string",Le[Le.escape=2]="escape";var Ye="{%",je="%}",qe=/^[a-zA-Z0-9_-]+$/;function ze(e){return"string"===typeof e&&qe.test(e)}function He(e){return e&&"object"===typeof e&&"function"===typeof e.then}function We(e,t=0){let r=0;for(let n=t;n<e.length;n++){const t=e[n];switch(r){case 1:switch(t){case'"':r=0;break;case"\\":r=2}break;case 2:r=1;break;case 0:if('"'===t)r=1;else if(e.startsWith(je,n))return n}}return null}function Ue(e,t,r){try{return(0,Oe.parse)(e,{Variable:Re,Function:Ie})}catch(n){if(!(n instanceof Oe.SyntaxError))throw n;const{message:e,location:{start:o,end:a}}=n;return{type:"error",meta:{error:{message:e,location:{start:{line:t,character:o.offset+r},end:{line:t+1,character:a.offset+r}}}}}}}function $e(e,t=0){let r=t+1;const n=[];let o=0;for(let a=0;a<e.length;a++){if("\n"===e[a]){r++;continue}if(!e.startsWith(Ye,a))continue;const t=We(e,a);if(null==t){a+=2;continue}const i=e.slice(a,t+2),s=e.slice(a+2,t),u=e.lastIndexOf("\n",a),l=e.indexOf("\n",t),c=e.slice(u,l),p=Ue(s.trim(),r,a-u),d=c.trim()===i?u:a,h=e.slice(o,d);n.push({type:"text",start:o,end:a-1,content:h}),n.push({map:[r,r+1],position:{start:a-u,end:a-u+i.length},start:a,end:a+i.length-1,info:i,...p}),o=t+2,a=o-1}return n.push({type:"text",start:o,end:e.length-1,content:e.slice(o)}),n}var Ve={class:{type:class{validate(e,t,r){return"string"===typeof e||"object"===typeof e?[]:[{id:"attribute-type-invalid",level:"error",message:`Attribute '${r}' must be type 'string | object'`}]}transform(e){if(!e||"string"===typeof e)return e;const t=[];for(const[r,n]of Object.entries(e??{}))n&&t.push(r);return t.join(" ")}},render:!0},id:{type:class{validate(e){return"string"===typeof e&&e.match(/^[a-zA-Z]/)?[]:[{id:"attribute-value-invalid",level:"error",message:"The 'id' attribute must start with a letter"}]}},render:!0}},Ke={findSchema:(e,{nodes:t={},tags:r={}}={})=>e.tag?r[e.tag]:t[e.type],attributes(e,t={}){const r=this.findSchema(e,t)??{},n={},o={...Ve,...r.attributes};for(const[a,i]of Object.entries(o)){if(0==i.render)continue;const r="string"===typeof i.render?i.render:a;let o=e.attributes[a];if("function"===typeof i.type){const e=new i.type;e.transform&&(o=e.transform(o,t))}o=void 0===o?i.default:o,void 0!==o&&(n[r]=o)}if(r.slots)for(const[a,i]of Object.entries(r.slots)){if(!1===i.render)continue;const r="string"===typeof i.render?i.render:a;e.slots[a]&&(n[r]=this.node(e.slots[a],t))}return n},children(e,t={}){const r=e.children.flatMap(e=>this.node(e,t));return r.some(He)?Promise.all(r):r},node(e,t={}){const r=this.findSchema(e,t)??{};if(r&&r.transform instanceof Function)return r.transform(e,t);const n=this.children(e,t);if(!r||!r.render)return n;const o=this.attributes(e,t);return He(o)||He(n)?Promise.all([o,n]).then(e=>new Be(r.render,...e)):new Be(r.render,o,n)}},Ze=class{constructor(e="node",t={},r=[],n){this.$$mdtype="Node",this.errors=[],this.lines=[],this.inline=!1,this.attributes=t,this.children=r,this.type=e,this.tag=n,this.annotations=[],this.slots={}}*walk(){for(const e of[...Object.values(this.slots),...this.children])yield e,yield*e.walk()}push(e){this.children.push(e)}resolve(e={}){return Object.assign(new Ze,this,{children:this.children.map(t=>t.resolve(e)),attributes:Pe(this.attributes,e),slots:Object.fromEntries(Object.entries(this.slots).map(([t,r])=>[t,r.resolve(e)]))})}findSchema(e={}){return Ke.findSchema(this,e)}transformAttributes(e={}){return Ke.attributes(this,e)}transformChildren(e){return Ke.children(this,e)}transform(e){return Ke.node(this,e)}},Xe={Function:Ie,Node:Ze,Variable:Re};function Qe(e,t){if(!t)return t;const r=Xe[t.$$mdtype];return r?Object.assign(new r,t):t}var Ge={...Xe,...Se,fromJSON:function(e){return JSON.parse(e,Qe)}},Je=" ",et=", ",tt="\n",rt=["strong","em","s"],nt=(e,t)=>Math.max(e,t),ot=(e,t=2)=>({...e,indent:(e.indent||0)+t});function*at(e,t){for(const r of e.children)yield*ft(r,t)}function*it(e){yield[...e].join("").trim()}function*st(e){yield`| ${e.join(" | ")} |`}function ut(e){if(void 0!==e)return Ge.isAst(e)?Dt(e):null===e?"null":Array.isArray(e)?"["+e.map(ut).join(et)+"]":"object"===typeof e?"{"+Object.entries(e).map(([e,t])=>`${ze(e)?e:`"${e}"`}: ${ut(t)}`).join(et)+"}":JSON.stringify(e)}function lt(e){const t=ut(e.value);if(void 0!==t)return"primary"===e.name?t:"id"===e.name&&"string"===typeof e.value&&ze(e.value)?"#"+e.value:"class"===e.type&&ze(e.name)?"."+e.name:`${e.name}=${t}`}function*ct(e){for(const[t,r]of Object.entries(e.attributes))if("class"!==t||"object"!==typeof r||Ge.isAst(r))yield lt({type:"attribute",name:t,value:r});else for(const e of Object.keys(r))yield lt({type:"class",name:e,value:r})}function*pt(e){e.annotations.length&&(yield Ye+Je,yield e.annotations.map(lt).join(Je),yield Je+je)}function*dt(e){let t;do{const{value:r,done:n}=e.next();if(n)return;t=r.trimStart()}while(!t.length);yield t,yield*e}function*ht(e,t){yield e.replace(t,"\\$&").replace(new RegExp("\xa0","g"),"&nbsp;")}function*ft(e,t={}){switch(typeof e){case"undefined":break;case"boolean":case"number":case"string":yield e.toString();break;case"object":if(null===e)break;if(Array.isArray(e)){for(const r of e)yield*ft(r,t);break}switch(e.$$mdtype){case"Function":yield*function*(e){yield e.name,yield"(",yield Object.values(e.parameters).map(ut).join(et),yield")"}(e);break;case"Node":yield*function*(e,t={}){const r={...t,parent:e},n=Je.repeat(r.indent||0);switch(e.type){case"document":e.attributes.frontmatter&&e.attributes.frontmatter.length&&(yield"---\n"+e.attributes.frontmatter+"\n---"+tt+tt),yield*dt(at(e,r));break;case"heading":yield tt,yield n,yield"#".repeat(e.attributes.level||1),yield Je,yield*dt(at(e,r)),yield*pt(e),yield tt;break;case"paragraph":yield tt,yield*at(e,r),yield*pt(e),yield tt;break;case"inline":yield n,yield*at(e,r);break;case"image":yield"!",yield"[",yield*ft(e.attributes.alt,r),yield"]",yield"(",yield*"string"===typeof e.attributes.src?ht(e.attributes.src,/[()]/g):ft(e.attributes.src,r),e.attributes.title&&(yield Je+`"${e.attributes.title}"`),yield")";break;case"link":{const t=[...at(e,r)].join("");if(t===e.attributes.href&&!e.attributes.title){yield`<${e.attributes.href}>`;break}yield"[",yield t,yield"]",yield"(",yield*"string"===typeof e.attributes.href?ht(e.attributes.href,/[()]/g):ft(e.attributes.href,r),e.attributes.title&&(yield Je+`"${e.attributes.title}"`),yield")";break}case"text":{const{content:n}=e.attributes;Ge.isAst(n)?(yield Ye+Je,yield*ft(n,r),yield Je+je):t.parent&&rt.includes(t.parent.type)?yield*ht(n,/[*_~]/g):yield*ht(n,/^\*|#+\s|^>/);break}case"blockquote":{const t="> ";yield e.children.map(e=>Dt(e,r).trimStart()).map(e=>tt+n+t+e).join(n+t);break}case"hr":yield tt,yield n,yield"---",yield tt;break;case"fence":{yield tt,yield n;const t=(e.attributes.content.match(/`{3,}/g)||[]).map(e=>e.length).reduce(nt,0),r="`".repeat(t?t+1:3),o=!e.attributes.content.endsWith(tt);yield r,e.attributes.language&&(yield e.attributes.language),e.annotations.length&&(yield Je),yield*pt(e),yield tt,yield n,yield e.attributes.content.split(tt).join(tt+n),o&&(yield tt),yield r,yield tt;break}case"tag":{e.inline||(yield tt,yield n);const o=Ye+Je,a=[...ct(e)].filter(e=>void 0!==e),i=[o+e.tag,...a],s=i.join(Je),u=s.length+2*o.length>(t.maxTagOpeningWidth||80);yield(!e.inline&&u?i.join(tt+Je.repeat(o.length)+n):s)+Je+(e.children.length?"":"/")+je,e.children.length&&(yield*at(e,r.allowIndentation?ot(r):r),e.inline||(yield n),yield"{% /"+e.tag+Je+je),e.inline||(yield tt);break}case"list":{const o=e.children.some(e=>e.children.some(e=>"paragraph"===e.type));for(let a=0;a<e.children.length;a++){const i=(()=>{if(!e.attributes.ordered)return e.attributes.marker??"-";let r="1";const n=e.attributes.start??1;return 0===a&&(r=n.toString()),"increment"===t.orderedListMode&&(r=(parseInt(n)+a).toString()),`${r}${e.attributes.marker??"."}`})();let s=Dt(e.children[a],ot(r,i.length+1));o&&a!==e.children.length-1||(s=s.trim()),yield tt+n+i+" "+s}yield tt;break}case"item":for(let t=0;t<e.children.length;t++)yield*ft(e.children[t],r),0===t&&(yield*pt(e));break;case"strong":yield e.attributes.marker??"**",yield*it(at(e,r)),yield e.attributes.marker??"**";break;case"em":yield e.attributes.marker??"*",yield*it(at(e,r)),yield e.attributes.marker??"*";break;case"code":yield"`",yield*it(ft(e.attributes.content,r)),yield"`";break;case"s":yield"~~",yield*it(at(e,r)),yield"~~";break;case"hardbreak":yield"\\\n",yield n;break;case"softbreak":yield tt,yield n;break;case"table":{const o=[...at(e,ot(r))];if(t.parent&&"tag"===t.parent.type&&"table"===t.parent.tag){for(let e=0;e<o.length;e++){const t=o[e];if("string"===typeof t)t.trim().length&&(yield tt,yield t);else{0!==e&&(yield tt,yield n+"---");for(const e of t)yield tt+n+"- "+e}}yield tt}else{const e=[];for(const n of o)for(let t=0;t<n.length;t++)e[t]=e[t]?Math.max(e[t],n[t].length):n[t].length;const[t,...r]=o;yield tt,yield*st(t.map((t,r)=>t+Je.repeat(e[r]-t.length))),yield tt,yield*st(t.map((t,r)=>"-".repeat(e[r]))),yield tt;for(const n of r)yield*st(n.map((t,r)=>t+Je.repeat(e[r]-t.length))),yield tt}break}case"thead":{const[t]=[...at(e,r)];yield t||[];break}case"tr":yield[...at(e,r)];break;case"td":case"th":yield[...at(e,r),...pt(e)].join("").trim();break;case"tbody":yield*at(e,r);break;case"comment":yield"\x3c!-- "+e.attributes.content+" --\x3e\n"}}(e,t);break;case"Variable":yield*function*(e){yield"$",yield e.path.map((e,t)=>0===t?e:ze(e)?"."+e:"number"===typeof e?`[${e}]`:`["${e}"]`).join("")}(e);break;default:throw new Error(`Unimplemented: "${e.$$mdtype}"`)}}}function Dt(e,t){let r="";for(const n of ft(e,t))r+=n;return r.trimStart()}var mt=class{validate(e,t,r){return"boolean"===typeof e||null===e||void 0===e||"object"===typeof e?[]:[{id:"attribute-type-invalid",level:"error",message:`Attribute '${r}' must be type 'boolean | object' (null or undefined are also allowed)`}]}};function yt(e){return!1!==e&&void 0!==e&&null!==e}var gt={attributes:{primary:{type:mt,render:!1}},transform(e,t){const r=function(e){const t=[{condition:e.attributes.primary,children:[]}];for(const r of e.children)"tag"===r.type&&"else"===r.tag?t.push({condition:!("primary"in r.attributes)||r.attributes.primary,children:[]}):t[t.length-1].children.push(r);return t}(e);for(const{condition:n,children:o}of r)if(yt(n)){const e=o.flatMap(e=>e.transform(t));return e.some(He)?Promise.all(e).then(e=>e.flat()):e}return[]}},vt={selfClosing:!0,attributes:{primary:{type:mt,render:!1}}},bt={and:{transform:e=>Object.values(e).every(e=>yt(e))},or:{transform:e=>void 0!==Object.values(e).find(e=>yt(e))},not:{parameters:{0:{required:!0}},transform:e=>!yt(e[0])},equals:{transform(e){const t=Object.values(e);return t.every(e=>e===t[0])}},default:{transform:e=>void 0===e[0]?e[1]:e[0]},debug:{transform:e=>JSON.stringify(e[0],null,2)}};function kt(e,t="td"){e.type="tr",e.attributes={};for(const r of e.children)r.type=t;return e}function Ct(e,t){return"tag"===e.type&&!!e.tag&&t.includes(e.tag)}function Ft(e){return"comment"===e.type||"tag"===e.type&&"comment"===e.tag}function wt({type:e,tag:t}){return{id:"table-syntax",level:"critical",message:`Found ${e}${t?` ${t}`:""} where a list was expected. Make sure all content inside table cells is indented.`}}var Et=[function(e,t=["if"]){for(const r of e.walk()){if("tag"!==r.type||"table"!==r.tag)continue;const[e,...n]=r.children;if(!e||"table"===e.type)continue;const o=new Ge.Node("table",r.attributes,[new Ge.Node("thead"),new Ge.Node("tbody")]),[a,i]=o.children;"list"===e.type&&a.push(kt(e,"th"));for(const s of n){if("list"===s.type)kt(s);else{if(!Ct(s,t)){if("hr"===s.type||Ft(s))continue;r.errors.push(wt({type:s.type,tag:s.tag}));continue}{const e=[];for(const r of s.children)if("hr"!==r.type){if("list"===r.type)kt(r);else if(!Ft(r)&&"else"!==r.tag&&!Ct(r,t)){s.errors.push(wt({type:r.type,tag:r.tag}));continue}e.push(r)}s.children=e}}i.push(s)}r.children=[o]}}],_t={ordered_list:"list",bullet_list:"list",code_inline:"code",list_item:"item",variable:"text"};function St(e,t){for(const r of t){e.annotations.push(r);const{name:t,value:n,type:o}=r;"attribute"===o?(void 0!==e.attributes[t]&&e.errors.push({id:"duplicate-attribute",level:"warning",message:`Attribute '${t}' already set`}),e.attributes[t]=n):"class"===o&&(e.attributes.class?e.attributes.class[t]=n:e.attributes.class={[t]:n})}}function xt(e,t,r,n,o,a){if("frontmatter"===e.type)return void(t[0].attributes.frontmatter=e.content);if(e.hidden||"text"===e.type&&""===e.content)return;const i=e.errors||[],s=t[t.length-1],{tag:u,attributes:l,error:c}=e.meta||{};if("annotation"===e.type)return a?St(a,l):s.errors.push({id:"no-inline-annotations",level:"error",message:`Can't apply inline annotations to '${s.type}'`});let p=e.type.replace(/_(open|close)$/,"");if(_t[p]&&(p=_t[p]),"error"===p){const{message:e,location:t}=c;i.push({id:"parse-error",level:"critical",message:e,location:t})}if(e.nesting<0){if(s.type===p&&s.tag===u)return s.lines&&e.map&&s.lines.push(...e.map),t.pop();i.push({id:"missing-opening",level:"critical",message:`Node '${p}' is missing opening`})}const d=function(e,t){switch(t){case"heading":return{level:Number(e.tag.replace("h",""))};case"list":{const t=e.attrs?Object.fromEntries(e.attrs):void 0,r=e.type.startsWith("ordered");return r&&t?.start?{ordered:!0,start:t.start,marker:e.markup}:{ordered:r,marker:e.markup}}case"link":{const t=Object.fromEntries(e.attrs);return t.title?{href:t.href,title:t.title}:{href:t.href}}case"image":{const t=Object.fromEntries(e.attrs);return t.title?{alt:e.content,src:t.src,title:t.title}:{alt:e.content,src:t.src}}case"em":case"strong":return{marker:e.markup};case"text":case"code":case"comment":return{content:(e.meta||{}).variable||e.content};case"fence":{const[t]=e.info.split(" ",1);return""===t||t===Ye?{content:e.content}:{content:e.content,language:t}}case"td":case"th":if(e.attrs){const t=Object.fromEntries(e.attrs);let r;if(t.style&&(t.style.includes("left")?r="left":t.style.includes("center")?r="center":t.style.includes("right")&&(r="right")),r)return{align:r}}return{};default:return{}}}(e,p),h=new Ze(p,d,void 0,u||void 0),{position:f={}}=e;if(h.errors=i,!1!==o&&(h.lines=e.map||s.lines||[],h.location={file:r,start:{line:h.lines[0],character:f.start},end:{line:h.lines[1],character:f.end}}),a&&(h.inline=!0),l&&["tag","fence","image"].includes(p)&&St(h,l),n&&"slot"===u&&"string"===typeof h.attributes.primary?s.slots[h.attributes.primary]=h:s.push(h),e.nesting>0&&t.push(h),!Array.isArray(e.children))return;"inline"===h.type&&(a=s),t.push(h);if(!("image"===p))for(const D of e.children)xt(D,t,r,n,o,a);t.pop()}var At={};p(At,{blockquote:()=>Lt,code:()=>Xt,comment:()=>er,document:()=>Mt,em:()=>$t,error:()=>tr,fence:()=>Nt,hardbreak:()=>Gt,heading:()=>Tt,hr:()=>It,image:()=>Bt,inline:()=>Kt,item:()=>Ot,link:()=>Zt,list:()=>Rt,node:()=>rr,paragraph:()=>Pt,s:()=>Vt,softbreak:()=>Jt,strong:()=>Ut,table:()=>Yt,tbody:()=>Ht,td:()=>jt,text:()=>Qt,th:()=>qt,thead:()=>Wt,tr:()=>zt});var Mt={render:"article",children:["heading","paragraph","image","table","tag","fence","blockquote","comment","list","hr"],attributes:{frontmatter:{render:!1}}},Tt={children:["inline"],attributes:{level:{type:Number,render:!1,required:!0}},transform:(e,t)=>new Be(`h${e.attributes.level}`,e.transformAttributes(t),e.transformChildren(t))},Pt={render:"p",children:["inline"]},Bt={render:"img",attributes:{src:{type:String,required:!0},alt:{type:String},title:{type:String}}},Nt={render:"pre",attributes:{content:{type:String,render:!1,required:!0},language:{type:String,render:"data-language"},process:{type:Boolean,render:!1,default:!0}},transform(e,t){const r=e.transformAttributes(t),n=e.children.length?e.transformChildren(t):[e.attributes.content];return new Be("pre",r,n)}},Lt={render:"blockquote",children:["heading","paragraph","image","table","tag","fence","blockquote","list","hr"]},Ot={render:"li",children:["inline","heading","paragraph","image","table","tag","fence","blockquote","list","hr"]},Rt={children:["item"],attributes:{ordered:{type:Boolean,render:!1,required:!0},start:{type:Number},marker:{type:String,render:!1}},transform:(e,t)=>new Be(e.attributes.ordered?"ol":"ul",e.transformAttributes(t),e.transformChildren(t))},It={render:"hr"},Yt={render:"table"},jt={render:"td",children:["inline","heading","paragraph","image","table","tag","fence","blockquote","list","hr"],attributes:{align:{type:String},colspan:{type:Number,render:"colSpan"},rowspan:{type:Number,render:"rowSpan"}}},qt={render:"th",attributes:{width:{type:String},align:{type:String},colspan:{type:Number,render:"colSpan"},rowspan:{type:Number,render:"rowSpan"}}},zt={render:"tr",children:["th","td"]},Ht={render:"tbody",children:["tr","tag"]},Wt={render:"thead",children:["tr"]},Ut={render:"strong",children:["em","s","link","code","text","tag"],attributes:{marker:{type:String,render:!1}}},$t={render:"em",children:["strong","s","link","code","text","tag"],attributes:{marker:{type:String,render:!1}}},Vt={render:"s",children:["strong","em","link","code","text","tag"]},Kt={children:["strong","em","s","code","text","tag","link","image","hardbreak","softbreak","comment"]},Zt={render:"a",children:["strong","em","s","code","text","tag"],attributes:{href:{type:String,required:!0},title:{type:String}}},Xt={render:"code",attributes:{content:{type:String,render:!1,required:!0}},transform(e,t){const r=e.transformAttributes(t);return new Be("code",r,[e.attributes.content])}},Qt={attributes:{content:{type:String,required:!0}},transform:e=>e.attributes.content},Gt={render:"br"},Jt={transform:()=>" "},er={attributes:{content:{type:String,required:!0}}},tr={},rr={},nr=d(_e()),{escapeHtml:or}=(0,nr.default)().utils,ar=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]);function ir(e,t){return"string"!==typeof e||e[0]!==e[0].toUpperCase()?e:t instanceof Function?t(e):t[e]}function sr(e,t){return"string"!==typeof e?"Fragment":e[0]!==e[0].toUpperCase()?e:t instanceof Function?t(e):t[e]}function ur(e){return e.map(cr).join(", ")}function lr(e){if(null==e||"object"!==typeof e)return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(e=>lr(e)).join(", ")}]`;if("Tag"===e.$$mdtype)return cr(e);if("object"!==typeof e)return JSON.stringify(e);return`{${Object.entries(e).map(([e,t])=>[JSON.stringify(e),lr(t)].join(": ")).join(", ")}}`}function cr(e){if(Array.isArray(e))return`React.createElement(React.Fragment, null, ${ur(e)})`;if(null===e||"object"!==typeof e||!Be.isTag(e))return JSON.stringify(e);const{name:t,attributes:{class:r,...n}={},children:o=[]}=e;return r&&(n.className=r),`React.createElement(\n    tagName(${JSON.stringify(t)}, components),\n    ${0==Object.keys(n).length?"null":lr(n)},\n    ${ur(o)})`}var pr={html:function e(t){if("string"===typeof t||"number"===typeof t)return or(String(t));if(Array.isArray(t))return t.map(e).join("");if(null===t||"object"!==typeof t||!Be.isTag(t))return"";const{name:r,attributes:n,children:o=[]}=t;if(!r)return e(o);let a=`<${r}`;for(const[i,s]of Object.entries(n??{}))a+=` ${i.toLowerCase()}="${or(String(s))}"`;return a+=">",ar.has(r)||(o.length&&(a+=e(o)),a+=`</${r}>`),a},react:function(e,t,{components:r={},resolveTagName:n=ir}={}){function o(e){if(null==e||"object"!==typeof e)return e;if(Array.isArray(e))return e.map(e=>o(e));if("Tag"===e.$$mdtype)return a(e);if("object"!==typeof e)return e;const t={};for(const[r,n]of Object.entries(e))t[r]=o(n);return t}function a(e){if(Array.isArray(e))return t.createElement(t.Fragment,null,...e.map(a));if(null===e||"object"!==typeof e||!Be.isTag(e))return e;const{name:i,attributes:{class:s,...u}={},children:l=[]}=e;return s&&(u.className=s),t.createElement(n(i,r),0==Object.keys(u).length?null:o(u),...l.map(a))}return a(e)},reactStatic:function(e,{resolveTagName:t=sr}={}){if("tagName"!==t.name)throw new Error("resolveTagName must be named tagName");return`\n  (({components = {}} = {}) => {\n    ${t}\n    return ${cr(e)};\n  })\n`}},dr={else:vt,if:gt,partial:{inline:!1,selfClosing:!0,attributes:{file:{type:class{validate(e,t){const{partials:r={}}=t;return r[e]?[]:[{id:"attribute-value-invalid",level:"error",message:`Partial \`${e}\` not found. The 'file' attribute must be set in \`config.partials\``}]}},render:!1,required:!0},variables:{type:Object,render:!1}},transform(e,t){const{partials:r={}}=t,{file:n,variables:o}=e.attributes,a=r[n];if(!a)return null;const i={...t,variables:{...t.variables,...o,"$$partial:filename":n}},s=e=>e.resolve(i).transformChildren(i);return Array.isArray(a)?a.flatMap(s):s(a)}},slot:{attributes:{primary:{type:String,required:!0}}},table:{children:["table"],inline:!1}},hr=d(Ee()),fr=d(h());function Dr(e,t,r){try{const{type:r,meta:n,nesting:o=0}=(0,fr.parse)(t,{Variable:Re,Function:Ie}),a=e.push(r,"",o);return a.info=t,a.meta=n,e.delimiters||(e.delimiters=[]),a}catch(n){if(!(n instanceof fr.SyntaxError))throw n;const{message:t,location:{start:o,end:a}}=n,i=r?{start:{offset:o.offset+r},end:{offset:a.offset+r}}:null,s=e.push("error","",0);return s.meta={error:{message:t,location:i}},s}}function mr(e,t,r,n){const o=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(!e.src.startsWith(Ye,o))return!1;const i=We(e.src,o),s=e.src.slice(0,a).trim().length;if(!i||i<s-2)return!1;const u=o+2,l=e.src.slice(u,i).trim(),c=e.src.slice(o,i+2).split("\n").length;if("$"===l[0])return!1;if(n)return!0;return Dr(e,l,u).map=[t,t+c],e.line+=c,!0}function yr(e,t){if(!e.src.startsWith(Ye,e.pos))return!1;const r=We(e.src,e.pos);if(!r)return!1;const n=e.src.slice(e.pos+2,r);return t||Dr(e,n.trim()),e.pos=r+2,!0}function gr(e){let t;for(t of e.tokens)if("fence"===t.type){if(t.info.includes(Ye)){const e=t.info.indexOf(Ye),n=We(t.info,e),o=t.info.slice(e+2,n);try{const{meta:e}=(0,fr.parse)(o.trim(),{Variable:Re,Function:Ie});t.meta=e}catch(r){if(!(r instanceof fr.SyntaxError))throw r;t.errors||(t.errors=[]),t.errors.push({id:"fence-tag-error",level:"error",message:`Syntax error in fence tag: ${r.message}`})}}t?.meta?.attributes?.find(e=>"process"===e.name&&!e.value)||(t.children=$e(t.content,t.map[0]))}}function vr(e){e.block.ruler.before("paragraph","annotations",mr,{alt:["paragraph","blockquote"]}),e.inline.ruler.push("containers",yr),e.core.ruler.push("annotations",gr)}function br(e,t){return e.src.slice(e.bMarks[t],e.eMarks[t]).trim()}function kr(e,t,r,n){if(0!=t||"---"!=br(e,0))return!1;const o=function(e,t){for(let r=1;r<t;r++)if("---"===br(e,r))return r}(e,r);if(!o)return!1;if(n)return!0;const a=e.push("frontmatter","",0);return a.content=e.src.slice(e.eMarks[0],e.bMarks[o]).trim(),a.map=[0,o],a.hidden=!0,e.line=o+1,!0}function Cr(e){e.block.ruler.before("hr","frontmatter",kr)}var Fr="\x3c!--",wr="--\x3e";function Er(e,t,r,n){const o=e.bMarks[t]+e.tShift[t];if(!e.src.startsWith(Fr,o))return!1;const a=e.src.indexOf(wr,o);if(-1===a)return!1;if(n)return!0;const i=e.src.slice(o+4,a),s=i.split("\n").length,u=e.push("comment","",0);return u.content=i.trim(),u.map=[t,t+s],e.line+=s,!0}function _r(e,t){if(!e.src.startsWith(Fr,e.pos))return!1;const r=e.src.indexOf(wr,e.pos);if(-1===r)return!1;if(t)return!0;const n=e.src.slice(e.pos+4,r);return e.push("comment","",0).content=n.trim(),e.pos=r+3,!0}function Sr(e){e.block.ruler.before("table","comment",Er,{alt:["paragraph"]}),e.inline.ruler.push("comment",_r)}var xr=class{constructor(e={}){this.parser=new hr.default(e),this.parser.use(vr,"annotations",{}),this.parser.use(Cr,"frontmatter",{}),this.parser.disable(["lheading","code"]),e.allowComments&&this.parser.use(Sr,"comments",{})}tokenize(e){return this.parser.parse(e.toString(),{})}},Ar={String:String,Number:Number,Array:Array,Object:Object,Boolean:Boolean};function Mr(e,t,r,n){if(!e)return!0;if(Ge.isFunction(t)&&r.validation?.validateFunctions){const n=r.functions?.[t.name];return!n?.returns||(Array.isArray(n.returns)?void 0!==n.returns.find(t=>t===e):n.returns===e)}if(Ge.isAst(t))return!0;if(Array.isArray(e))return e.some(e=>Mr(e,t,r,n));if("string"===typeof e&&(e=Ar[e]),"function"===typeof e){const o=new e;if(o.validate)return o.validate(t,r,n)}return null!=t&&t.constructor===e}function Tr(e){return"string"===typeof e?e:Array.isArray(e)?e.map(Tr).join(" | "):e.name}function Pr(e,t){const r=t.functions?.[e.name],n=[];if(!r)return[{id:"function-undefined",level:"critical",message:`Undefined function: '${e.name}'`}];if(r.validate&&n.push(...r.validate(e,t)),r.parameters)for(const[o,a]of Object.entries(e.parameters)){const i=r.parameters?.[o];if(i){if((!Ge.isAst(a)||Ge.isFunction(a))&&i.type){const r=Mr(i.type,a,t,o);!1===r?n.push({id:"parameter-type-invalid",level:"error",message:`Parameter '${o}' of '${e.name}' must be type of '${Tr(i.type)}'`}):Array.isArray(r)&&n.push(...r)}}else n.push({id:"parameter-undefined",level:"error",message:`Invalid parameter: '${o}'`})}for(const[o,{required:a}]of Object.entries(r.parameters??{}))a&&void 0===e.parameters[o]&&n.push({id:"parameter-missing-required",level:"error",message:`Missing required parameter: '${o}'`});return n}function Br(e,t){if(e.length<=t)return JSON.stringify(e);return`[${e.slice(0,t).map(e=>JSON.stringify(e)).join(",")}, ... ${e.length-t} more]`}function Nr(e,t){const r=e.findSchema(t),n=[...e.errors||[]];if(!r)return n.push({id:e.tag?"tag-undefined":"node-undefined",level:"critical",message:e.tag?`Undefined tag: '${e.tag}'`:`Undefined node: '${e.type}'`}),n;void 0!=r.inline&&e.inline!==r.inline&&n.push({id:"tag-placement-invalid",level:"critical",message:`'${e.tag}' tag should be ${r.inline?"inline":"block"}`}),r.selfClosing&&e.children.length>0&&n.push({id:"tag-selfclosing-has-children",level:"critical",message:`'${e.tag}' tag should be self-closing`});const o={...Ve,...r.attributes};for(const a of Object.keys(e.slots)){const e=r.slots?.[a];e||n.push({id:"slot-undefined",level:"error",message:`Invalid slot: '${a}'`})}for(let[a,i]of Object.entries(e.attributes)){const e=o[a];if(!e){n.push({id:"attribute-undefined",level:"error",message:`Invalid attribute: '${a}'`});continue}let{type:r,matches:s,errorLevel:u}=e;if(Ge.isAst(i))if(Ge.isFunction(i)&&t.validation?.validateFunctions)n.push(...Pr(i,t));else{if(!Ge.isVariable(i)||!t.variables)continue;{let e=!1,r=t.variables;for(const t of i.path){if(!Object.prototype.hasOwnProperty.call(r,t)){e=!0;break}r=r[t]}e&&n.push({id:"variable-undefined",level:"error",message:`Undefined variable: '${i.path.join(".")}'`})}}if(r){const e=Mr(r,i,t,a);!1===e&&n.push({id:"attribute-type-invalid",level:u||"error",message:`Attribute '${a}' must be type of '${Tr(r)}'`}),Array.isArray(e)&&n.push(...e)}if("function"===typeof s&&(s=s(t)),Array.isArray(s)&&!s.includes(i)&&n.push({id:"attribute-value-invalid",level:u||"error",message:`Attribute '${a}' must match one of ${Br(s,8)}. Got '${i}' instead.`}),s instanceof RegExp&&!s.test(i)&&n.push({id:"attribute-value-invalid",level:u||"error",message:`Attribute '${a}' must match ${s}. Got '${i}' instead.`}),"function"===typeof e.validate){const r=e.validate(i,t,a);Array.isArray(r)&&n.push(...r)}}for(const[a,{required:i}]of Object.entries(o))i&&void 0===e.attributes[a]&&n.push({id:"attribute-missing-required",level:"error",message:`Missing required attribute: '${a}'`});if(r.slots)for(const[a,{required:i}]of Object.entries(r.slots))i&&void 0===e.slots[a]&&n.push({id:"slot-missing-required",level:"error",message:`Missing required slot: '${a}'`});for(const{type:a}of e.children)r.children&&"error"!==a&&!r.children.includes(a)&&n.push({id:"child-invalid",level:"warning",message:`Can't nest '${a}' in '${e.tag||e.type}'`});if(r.validate){const o=r.validate(e,t);if(He(o))return o.then(e=>n.concat(e));n.push(...o)}return n}function*Lr(e,t=[]){yield[e,t];for(const r of[...Object.values(e.slots),...e.children])yield*Lr(r,[...t,e])}var Or=new xr;function Rr(e={}){return{...e,tags:{...dr,...e.tags},nodes:{...At,...e.nodes},functions:{...bt,...e.functions}}}function Ir(e,t){return"string"===typeof e&&(e=Or.tokenize(e)),function(e,t){const r=new Ze("document"),n=[r];"string"===typeof t&&(t={file:t});for(const o of e)xt(o,n,t?.file,t?.slots,t?.location);if(n.length>1)for(const o of n.slice(1))o.errors.push({id:"missing-closing",level:"critical",message:`Node '${o.tag||o.type}' is missing closing`});for(const o of Et)o(r,t?.conditionalTags);return r}(e,t)}function Yr(e,t){return Array.isArray(e)?e.flatMap(e=>e.resolve(t)):e.resolve(t)}function jr(e,t){const r=Rr(t),n=Yr(e,r);return Array.isArray(n)?n.flatMap(e=>e.transform(r)):n.transform(r)}function qr(e,t){return function(e,t){const r=[...Lr(e)].map(([e,r])=>{const{type:n,lines:o,location:a}=e,i=Nr(e,{...t,validation:{...t.validation,parents:r}});return He(i)?i.then(e=>e.map(e=>({type:n,lines:o,location:a,error:e}))):i.map(e=>({type:n,lines:o,location:a,error:e}))});return r.some(He)?Promise.all(r).then(e=>e.flat()):r.flat()}(e,Rr(t))}var zr=class{constructor(e){this.parse=Ir,this.resolve=e=>Yr(e,this.config),this.transform=e=>jr(e,this.config),this.validate=e=>qr(e,this.config),this.config=e}};zr.nodes=At,zr.tags=dr,zr.functions=bt,zr.globalAttributes=Ve,zr.renderers=pr,zr.transforms=Et,zr.Ast=Ge,zr.Tag=Be,zr.Tokenizer=xr,zr.parseTags=$e,zr.transformer=Ke,zr.validator=Nr,zr.parse=Ir,zr.transform=jr,zr.validate=qr,zr.createElement=function(e,t={},...r){return{name:e,attributes:t,children:r}},zr.truthy=yt,zr.format=Dt},59007(e,t,r){"use strict";r.d(t,{P:()=>o});var n=r(5305);function o(e,t){const[r,o]=(0,n.x)(e,t.start,t.end);return{start:r,end:o}}},49176(e,t,r){"use strict";r.d(t,{L:()=>a});var n=r(79197),o=r(61501);function a(e,t,r){return(0,n.A)(e,t*o.s0,r)}},79197(e,t,r){"use strict";r.d(t,{A:()=>a});var n=r(43329),o=r(29407);function a(e,t,r){return(0,n.w)(r?.in||e,+(0,o.a)(e)+t)}},38342(e,t,r){"use strict";r.d(t,{z:()=>a});var n=r(61501),o=r(29407);function a(e,t,r){const a=(0,o.a)(e,r?.in);return a.setTime(a.getTime()+t*n.Cg),a}},37122(e,t,r){"use strict";r.d(t,{z:()=>o});var n=r(66304);function o(e,t,r){return(0,n.P)(e,3*t,r)}},49914(e,t,r){"use strict";r.d(t,{p:()=>o});var n=r(79197);function o(e,t,r){return(0,n.A)(e,1e3*t,r)}},79114(e,t,r){"use strict";r.d(t,{J:()=>o});var n=r(16172);function o(e,t,r){return(0,n.f)(e,7*t,r)}},95413(e,t,r){"use strict";r.d(t,{e:()=>o});var n=r(66304);function o(e,t,r){return(0,n.P)(e,12*t,r)}},52365(e,t,r){"use strict";r.d(t,{A:()=>o});var n=r(43329);function o(e){return(0,n.w)(e,Date.now())}},29543(e,t,r){"use strict";r.d(t,{U:()=>o});var n=r(5305);function o(e,t,r){const[o,a]=(0,n.x)(r?.in,e,t);return 12*(o.getFullYear()-a.getFullYear())+(o.getMonth()-a.getMonth())}},32688(e,t,r){"use strict";r.d(t,{n:()=>o});var n=r(5305);function o(e,t,r){const[o,a]=(0,n.x)(r?.in,e,t);return o.getFullYear()-a.getFullYear()}},18373(e,t,r){"use strict";r.d(t,{c:()=>a});var n=r(5305),o=r(2831);function a(e,t,r){const[a,s]=(0,n.x)(r?.in,e,t),u=i(a,s),l=Math.abs((0,o.m)(a,s));a.setDate(a.getDate()-u*l);const c=u*(l-Number(i(a,s)===-u));return 0===c?0:c}function i(e,t){const r=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return r<0?-1:r>0?1:r}},98163(e,t,r){"use strict";r.d(t,{M:()=>i});var n=r(92555),o=r(5305),a=r(61501);function i(e,t,r){const[i,s]=(0,o.x)(r?.in,e,t),u=(+i-+s)/a.s0;return(0,n.u)(r?.roundingMethod)(u)}},92488(e,t,r){"use strict";r.d(t,{b:()=>o});var n=r(29407);function o(e,t){return+(0,n.a)(e)-+(0,n.a)(t)}},49785(e,t,r){"use strict";r.d(t,{o:()=>i});var n=r(92555),o=r(61501),a=r(92488);function i(e,t,r){const i=(0,a.b)(e,t)/o.Cg;return(0,n.u)(r?.roundingMethod)(i)}},10911(e,t,r){"use strict";r.d(t,{W:()=>c});var n=r(5305),o=r(96054),a=r(29543),i=r(12268),s=r(11580),u=r(29407);function l(e,t){const r=(0,u.a)(e,t?.in);return+(0,i.D)(r,t)===+(0,s.p)(r,t)}function c(e,t,r){const[i,s,u]=(0,n.x)(r?.in,e,e,t),c=(0,o.z)(s,u),p=Math.abs((0,a.U)(s,u));if(p<1)return 0;1===s.getMonth()&&s.getDate()>27&&s.setDate(30),s.setMonth(s.getMonth()-c*p);let d=(0,o.z)(s,u)===-c;l(i)&&1===p&&1===(0,o.z)(i,u)&&(d=!1);const h=c*(p-+d);return 0===h?0:h}},91349(e,t,r){"use strict";r.d(t,{O:()=>a});var n=r(92555),o=r(92488);function a(e,t,r){const a=(0,o.b)(e,t)/1e3;return(0,n.u)(r?.roundingMethod)(a)}},26382(e,t,r){"use strict";r.d(t,{V:()=>i});var n=r(5305),o=r(96054),a=r(32688);function i(e,t,r){const[i,s]=(0,n.x)(r?.in,e,t),u=(0,o.z)(i,s),l=Math.abs((0,a.n)(i,s));i.setFullYear(1584),s.setFullYear(1584);const c=u*(l-+((0,o.z)(i,s)===-u));return 0===c?0:c}},7685(e,t,r){"use strict";r.d(t,{k:()=>a});var n=r(59007),o=r(43329);function a(e,t){const{start:r,end:a}=(0,n.P)(t?.in,e);let i=+r>+a;const s=i?+r:+a,u=i?a:r;u.setHours(0,0,0,0);let l=t?.step??1;if(!l)return[];l<0&&(l=-l,i=!i);const c=[];for(;+u<=s;)c.push((0,o.w)(r,u)),u.setDate(u.getDate()+l),u.setHours(0,0,0,0);return i?c.reverse():c}},12268(e,t,r){"use strict";r.d(t,{D:()=>o});var n=r(29407);function o(e,t){const r=(0,n.a)(e,t?.in);return r.setHours(23,59,59,999),r}},11580(e,t,r){"use strict";r.d(t,{p:()=>o});var n=r(29407);function o(e,t){const r=(0,n.a)(e,t?.in),o=r.getMonth();return r.setFullYear(r.getFullYear(),o+1,0),r.setHours(23,59,59,999),r}},54352(e,t,r){"use strict";r.d(t,{$:()=>a});var n=r(92516),o=r(29407);function a(e,t){const r=(0,n.q)(),a=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,i=(0,o.a)(e,t?.in),s=i.getDay(),u=6+(s<a?-7:0)-(s-a);return i.setDate(i.getDate()+u),i.setHours(23,59,59,999),i}},64169(e,t,r){"use strict";r.d(t,{Q:()=>o});var n=r(29407);function o(e,t){const r=(0,n.a)(e,t?.in),o=r.getFullYear();return r.setFullYear(o+1,0,0),r.setHours(23,59,59,999),r}},16798(e,t,r){"use strict";r.d(t,{B:()=>a});var n=r(52365),o=r(84287);function a(e,t){return(0,o.k)(e,(0,n.A)(e),t)}},55378(e,t,r){"use strict";r.d(t,{F:()=>p});var n=r(59007),o=r(42539),a=r(18373),i=r(98163),s=r(49785),u=r(10911),l=r(91349),c=r(26382);function p(e,t){const{start:r,end:p}=(0,n.P)(t?.in,e),d={},h=(0,c.V)(p,r);h&&(d.years=h);const f=(0,o.W)(r,{years:d.years}),D=(0,u.W)(p,f);D&&(d.months=D);const m=(0,o.W)(f,{months:d.months}),y=(0,a.c)(p,m);y&&(d.days=y);const g=(0,o.W)(m,{days:d.days}),v=(0,i.M)(p,g);v&&(d.hours=v);const b=(0,o.W)(g,{hours:d.hours}),k=(0,s.o)(p,b);k&&(d.minutes=k);const C=(0,o.W)(b,{minutes:d.minutes}),F=(0,l.O)(p,C);return F&&(d.seconds=F),d}},48497(e,t,r){"use strict";r.d(t,{Y:()=>o});var n=r(29407);function o(e,t){return+(0,n.a)(e)<+(0,n.a)(t)}},45710(e,t,r){"use strict";r.d(t,{R:()=>o});var n=r(29407);function o(e){return+(0,n.a)(e)<Date.now()}},88652(e,t,r){"use strict";r.d(t,{r:()=>a});var n=r(5305),o=r(6463);function a(e,t,r){const[a,i]=(0,n.x)(r?.in,e,t);return+(0,o.o)(a)===+(0,o.o)(i)}},91868(e,t,r){"use strict";r.d(t,{t:()=>o});var n=r(5305);function o(e,t,r){const[o,a]=(0,n.x)(r?.in,e,t);return o.getFullYear()===a.getFullYear()&&o.getMonth()===a.getMonth()}},73604(e,t,r){"use strict";r.d(t,{v:()=>o});var n=r(29407);function o(e,t,r){const o=+(0,n.a)(e,r?.in),[a,i]=[+(0,n.a)(t.start,r?.in),+(0,n.a)(t.end,r?.in)].sort((e,t)=>e-t);return o>=a&&o<=i}},41394(e,t,r){"use strict";r.d(t,{H:()=>i});var n=r(61501),o=r(43329),a=r(29407);function i(e,t){const r=()=>(0,o.w)(t?.in,NaN),i=t?.additionalDigits??2,D=function(e){const t={},r=e.split(s.dateTimeDelimiter);let n;if(r.length>2)return t;/:/.test(r[0])?n=r[0]:(t.date=r[0],n=r[1],s.timeZoneDelimiter.test(t.date)&&(t.date=e.split(s.timeZoneDelimiter)[0],n=e.substr(t.date.length,e.length)));if(n){const e=s.timezone.exec(n);e?(t.time=n.replace(e[1],""),t.timezone=e[1]):t.time=n}return t}(e);let m;if(D.date){const e=function(e,t){const r=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),n=e.match(r);if(!n)return{year:NaN,restDateString:""};const o=n[1]?parseInt(n[1]):null,a=n[2]?parseInt(n[2]):null;return{year:null===a?o:100*a,restDateString:e.slice((n[1]||n[2]).length)}}(D.date,i);m=function(e,t){if(null===t)return new Date(NaN);const r=e.match(u);if(!r)return new Date(NaN);const n=!!r[4],o=p(r[1]),a=p(r[2])-1,i=p(r[3]),s=p(r[4]),l=p(r[5])-1;if(n)return function(e,t,r){return t>=1&&t<=53&&r>=0&&r<=6}(0,s,l)?function(e,t,r){const n=new Date(0);n.setUTCFullYear(e,0,4);const o=n.getUTCDay()||7,a=7*(t-1)+r+1-o;return n.setUTCDate(n.getUTCDate()+a),n}(t,s,l):new Date(NaN);{const e=new Date(0);return function(e,t,r){return t>=0&&t<=11&&r>=1&&r<=(h[t]||(f(e)?29:28))}(t,a,i)&&function(e,t){return t>=1&&t<=(f(e)?366:365)}(t,o)?(e.setUTCFullYear(t,a,Math.max(o,i)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!m||isNaN(+m))return r();const y=+m;let g,v=0;if(D.time&&(v=function(e){const t=e.match(l);if(!t)return NaN;const r=d(t[1]),o=d(t[2]),a=d(t[3]);if(!function(e,t,r){if(24===e)return 0===t&&0===r;return r>=0&&r<60&&t>=0&&t<60&&e>=0&&e<25}(r,o,a))return NaN;return r*n.s0+o*n.Cg+1e3*a}(D.time),isNaN(v)))return r();if(!D.timezone){const e=new Date(y+v),r=(0,a.a)(0,t?.in);return r.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),r.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),r}return g=function(e){if("Z"===e)return 0;const t=e.match(c);if(!t)return 0;const r="+"===t[1]?-1:1,o=parseInt(t[2]),a=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,a))return NaN;return r*(o*n.s0+a*n.Cg)}(D.timezone),isNaN(g)?r():(0,a.a)(y+v+g,t?.in)}const s={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},u=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,l=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,c=/^([+-])(\d{2})(?::?(\d{2}))?$/;function p(e){return e?parseInt(e):1}function d(e){return e&&parseFloat(e.replace(",","."))||0}const h=[31,null,31,30,31,30,31,31,30,31,30,31];function f(e){return e%400===0||e%4===0&&e%100!==0}},99574(e,t,r){"use strict";r.d(t,{c:()=>o});var n=r(29407);function o(e,t){const r=(0,n.a)(e,t?.in);return r.setSeconds(0,0),r}},27763(e,t,r){"use strict";r.d(t,{w:()=>o});var n=r(29407);function o(e,t){const r=(0,n.a)(e,t?.in);return r.setDate(1),r.setHours(0,0,0,0),r}},4501(e,t,r){"use strict";r.d(t,{a:()=>o});var n=r(29407);function o(e,t){const r=(0,n.a)(e,t?.in),o=r.getMonth(),a=o-o%3;return r.setMonth(a,1),r.setHours(0,0,0,0),r}},80696(e,t,r){"use strict";r.d(t,{R:()=>o});var n=r(6463);function o(e){return(0,n.o)(Date.now(),e)}},9618(e,t,r){"use strict";r.d(t,{R:()=>a});var n=r(43329),o=r(52365);function a(e){const t=(0,o.A)(e?.in),r=t.getFullYear(),a=t.getMonth(),i=t.getDate(),s=(0,n.w)(e?.in,0);return s.setFullYear(r,a,i+1),s.setHours(0,0,0,0),s}},69821(e,t,r){"use strict";r.d(t,{e:()=>o});var n=r(16172);function o(e,t,r){return(0,n.f)(e,-t,r)}},60125(e,t,r){"use strict";r.d(t,{a:()=>o});var n=r(66304);function o(e,t,r){return(0,n.P)(e,-t,r)}},90631(e,t,r){"use strict";r.d(t,{A:()=>n});const n=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g},25708(e,t,r){"use strict";function n(e,t,r,n,o){n=n||{};var a=o.internal.scaleFactor,i=o.internal.getFontSize()/a,s=i*(o.getLineHeightFactor?o.getLineHeightFactor():1.15),u="",l=1;if("middle"!==n.valign&&"bottom"!==n.valign&&"center"!==n.halign&&"right"!==n.halign||(l=(u="string"===typeof e?e.split(/\r\n|\r|\n/g):e).length||1),r+=i*(2-1.15),"middle"===n.valign?r-=l/2*s:"bottom"===n.valign&&(r-=l*s),"center"===n.halign||"right"===n.halign){var c=i;if("center"===n.halign&&(c*=.5),u&&l>=1){for(var p=0;p<u.length;p++)o.text(u[p],t-o.getStringUnitWidth(u[p])*c,r),r+=s;return o}t-=o.getStringUnitWidth(e)*c}return"justify"===n.halign?o.text(e,t,r,{maxWidth:n.maxWidth||100,align:"justify"}):o.text(e,t,r),o}r.d(t,{cs:()=>K});var o={},a=function(){function e(e){this.jsPDFDocument=e,this.userStyles={textColor:e.getTextColor?this.jsPDFDocument.getTextColor():0,fontSize:e.internal.getFontSize(),fontStyle:e.internal.getFont().fontStyle,font:e.internal.getFont().fontName,lineWidth:e.getLineWidth?this.jsPDFDocument.getLineWidth():0,lineColor:e.getDrawColor?this.jsPDFDocument.getDrawColor():0}}return e.setDefaults=function(e,t){void 0===t&&(t=null),t?t.__autoTableDocumentDefaults=e:o=e},e.unifyColor=function(e){return Array.isArray(e)?e:"number"===typeof e?[e,e,e]:"string"===typeof e?[e]:null},e.prototype.applyStyles=function(t,r){var n,o,a;void 0===r&&(r=!1),t.fontStyle&&this.jsPDFDocument.setFontStyle&&this.jsPDFDocument.setFontStyle(t.fontStyle);var i=this.jsPDFDocument.internal.getFont(),s=i.fontStyle,u=i.fontName;if(t.font&&(u=t.font),t.fontStyle){s=t.fontStyle;var l=this.getFontList()[u];l&&-1===l.indexOf(s)&&this.jsPDFDocument.setFontStyle&&(this.jsPDFDocument.setFontStyle(l[0]),s=l[0])}if(this.jsPDFDocument.setFont(u,s),t.fontSize&&this.jsPDFDocument.setFontSize(t.fontSize),!r){var c=e.unifyColor(t.fillColor);c&&(n=this.jsPDFDocument).setFillColor.apply(n,c),(c=e.unifyColor(t.textColor))&&(o=this.jsPDFDocument).setTextColor.apply(o,c),(c=e.unifyColor(t.lineColor))&&(a=this.jsPDFDocument).setDrawColor.apply(a,c),"number"===typeof t.lineWidth&&this.jsPDFDocument.setLineWidth(t.lineWidth)}},e.prototype.splitTextToSize=function(e,t,r){return this.jsPDFDocument.splitTextToSize(e,t,r)},e.prototype.rect=function(e,t,r,n,o){return this.jsPDFDocument.rect(e,t,r,n,o)},e.prototype.getLastAutoTable=function(){return this.jsPDFDocument.lastAutoTable||null},e.prototype.getTextWidth=function(e){return this.jsPDFDocument.getTextWidth(e)},e.prototype.getDocument=function(){return this.jsPDFDocument},e.prototype.setPage=function(e){this.jsPDFDocument.setPage(e)},e.prototype.addPage=function(){return this.jsPDFDocument.addPage()},e.prototype.getFontList=function(){return this.jsPDFDocument.getFontList()},e.prototype.getGlobalOptions=function(){return o||{}},e.prototype.getDocumentOptions=function(){return this.jsPDFDocument.__autoTableDocumentDefaults||{}},e.prototype.pageSize=function(){var e=this.jsPDFDocument.internal.pageSize;return null==e.width&&(e={width:e.getWidth(),height:e.getHeight()}),e},e.prototype.scaleFactor=function(){return this.jsPDFDocument.internal.scaleFactor},e.prototype.getLineHeightFactor=function(){var e=this.jsPDFDocument;return e.getLineHeightFactor?e.getLineHeightFactor():1.15},e.prototype.getLineHeight=function(e){return e/this.scaleFactor()*this.getLineHeightFactor()},e.prototype.pageNumber=function(){var e=this.jsPDFDocument.internal.getCurrentPageInfo();return e?e.pageNumber:this.jsPDFDocument.internal.getNumberOfPages()},e}(),i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},i(e,t)};function s(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}"function"===typeof SuppressedError&&SuppressedError;var u=function(e){function t(t){var r=e.call(this)||this;return r._element=t,r}return s(t,e),t}(Array);function l(e,t,r){return r.applyStyles(t,!0),(Array.isArray(e)?e:[e]).map(function(e){return r.getTextWidth(e)}).reduce(function(e,t){return Math.max(e,t)},0)}function c(e,t,r,n){var o=t.settings.tableLineWidth,a=t.settings.tableLineColor;e.applyStyles({lineWidth:o,lineColor:a});var i=p(o,!1);i&&e.rect(r.x,r.y,t.getWidth(e.pageSize().width),n.y-r.y,i)}function p(e,t){var r=e>0,n=t||0===t;return r&&n?"DF":r?"S":n?"F":null}function d(e,t){var r,n,o,a;if(e=e||t,Array.isArray(e)){if(e.length>=4)return{top:e[0],right:e[1],bottom:e[2],left:e[3]};if(3===e.length)return{top:e[0],right:e[1],bottom:e[2],left:e[1]};if(2===e.length)return{top:e[0],right:e[1],bottom:e[0],left:e[1]};e=1===e.length?e[0]:t}return"object"===typeof e?("number"===typeof e.vertical&&(e.top=e.vertical,e.bottom=e.vertical),"number"===typeof e.horizontal&&(e.right=e.horizontal,e.left=e.horizontal),{left:null!==(r=e.left)&&void 0!==r?r:t,top:null!==(n=e.top)&&void 0!==n?n:t,right:null!==(o=e.right)&&void 0!==o?o:t,bottom:null!==(a=e.bottom)&&void 0!==a?a:t}):("number"!==typeof e&&(e=t),{top:e,right:e,bottom:e,left:e})}function h(e,t){var r=d(t.settings.margin,0);return e.pageSize().width-(r.left+r.right)}function f(e,t,r,n,o){var a={},i=96/72,s=D(t,function(e){return o.getComputedStyle(e).backgroundColor});null!=s&&(a.fillColor=s);var u=D(t,function(e){return o.getComputedStyle(e).color});null!=u&&(a.textColor=u);var l=function(e,t){var r=[e.paddingTop,e.paddingRight,e.paddingBottom,e.paddingLeft],n=96/(72/t),o=(parseInt(e.lineHeight)-parseInt(e.fontSize))/t/2,a=r.map(function(e){return parseInt(e||"0")/n}),i=d(a,0);o>i.top&&(i.top=o);o>i.bottom&&(i.bottom=o);return i}(n,r);l&&(a.cellPadding=l);var c="borderTopColor",p=i*r,h=n.borderTopWidth;if(n.borderBottomWidth===h&&n.borderRightWidth===h&&n.borderLeftWidth===h){var f=(parseFloat(h)||0)/p;f&&(a.lineWidth=f)}else a.lineWidth={top:(parseFloat(n.borderTopWidth)||0)/p,right:(parseFloat(n.borderRightWidth)||0)/p,bottom:(parseFloat(n.borderBottomWidth)||0)/p,left:(parseFloat(n.borderLeftWidth)||0)/p},a.lineWidth.top||(a.lineWidth.right?c="borderRightColor":a.lineWidth.bottom?c="borderBottomColor":a.lineWidth.left&&(c="borderLeftColor"));var m=D(t,function(e){return o.getComputedStyle(e)[c]});null!=m&&(a.lineColor=m);var y=["left","right","center","justify"];-1!==y.indexOf(n.textAlign)&&(a.halign=n.textAlign),-1!==(y=["middle","bottom","top"]).indexOf(n.verticalAlign)&&(a.valign=n.verticalAlign);var g=parseInt(n.fontSize||"");isNaN(g)||(a.fontSize=g/i);var v=function(e){var t="";("bold"===e.fontWeight||"bolder"===e.fontWeight||parseInt(e.fontWeight)>=700)&&(t="bold");"italic"!==e.fontStyle&&"oblique"!==e.fontStyle||(t+="italic");return t}(n);v&&(a.fontStyle=v);var b=(n.fontFamily||"").toLowerCase();return-1!==e.indexOf(b)&&(a.font=b),a}function D(e,t){var r=m(e,t);if(!r)return null;var n=r.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d*\.?\d*))?\)$/);if(!n||!Array.isArray(n))return null;var o=[parseInt(n[1]),parseInt(n[2]),parseInt(n[3])];return 0===parseInt(n[4])||isNaN(o[0])||isNaN(o[1])||isNaN(o[2])?null:o}function m(e,t){var r=t(e);return"rgba(0, 0, 0, 0)"===r||"transparent"===r||"initial"===r||"inherit"===r?null==e.parentElement?null:m(e.parentElement,t):r}function y(e,t,r,n,o){var a,i,s;void 0===n&&(n=!1),void 0===o&&(o=!1),s="string"===typeof t?r.document.querySelector(t):t;var u=Object.keys(e.getFontList()),l=e.scaleFactor(),c=[],p=[],d=[];if(!s)return console.error("Html table could not be found with input: ",t),{head:c,body:p,foot:d};for(var h=0;h<s.rows.length;h++){var f=s.rows[h],D=null===(i=null===(a=null===f||void 0===f?void 0:f.parentElement)||void 0===a?void 0:a.tagName)||void 0===i?void 0:i.toLowerCase(),m=g(u,l,r,f,n,o);m&&("thead"===D?c.push(m):"tfoot"===D?d.push(m):p.push(m))}return{head:c,body:p,foot:d}}function g(e,t,r,n,o,a){for(var i=new u(n),s=0;s<n.cells.length;s++){var l=n.cells[s],c=r.getComputedStyle(l);if(o||"none"!==c.display){var p=void 0;a&&(p=f(e,l,t,c,r)),i.push({rowSpan:l.rowSpan,colSpan:l.colSpan,styles:p,_element:l,content:v(l)})}}var d=r.getComputedStyle(n);if(i.length>0&&(o||"none"!==d.display))return i}function v(e){var t=e.cloneNode(!0);return t.innerHTML=t.innerHTML.replace(/\n/g,"").replace(/ +/g," "),t.innerHTML=t.innerHTML.split(/<br.*?>/).map(function(e){return e.trim()}).join("\n"),t.innerText||t.textContent||""}function b(e,t,r,n,o){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var a=Object(e),i=1;i<arguments.length;i++){var s=arguments[i];if(null!=s)for(var u in s)Object.prototype.hasOwnProperty.call(s,u)&&(a[u]=s[u])}return a}function k(e,t){var r=new a(e),n=r.getDocumentOptions(),o=r.getGlobalOptions();!function(e,t,r){for(var n=0,o=[e,t,r];n<o.length;n++){var a=o[n];a&&"object"!==typeof a&&console.error("The options parameter should be of type object, is: "+typeof a),a.startY&&"number"!==typeof a.startY&&(console.error("Invalid value for startY option",a.startY),delete a.startY)}}(o,n,t);var i,s=b({},o,n,t);"undefined"!==typeof window&&(i=window);var u=function(e,t,r){for(var n={styles:{},headStyles:{},bodyStyles:{},footStyles:{},alternateRowStyles:{},columnStyles:{}},o=function(o){if("columnStyles"===o){var a=e[o],i=t[o],s=r[o];n.columnStyles=b({},a,i,s)}else{var u=[e,t,r].map(function(e){return e[o]||{}});n[o]=b({},u[0],u[1],u[2])}},a=0,i=Object.keys(n);a<i.length;a++){o(i[a])}return n}(o,n,t),l=function(e,t,r){for(var n={didParseCell:[],willDrawCell:[],didDrawCell:[],willDrawPage:[],didDrawPage:[]},o=0,a=[e,t,r];o<a.length;o++){var i=a[o];i.didParseCell&&n.didParseCell.push(i.didParseCell),i.willDrawCell&&n.willDrawCell.push(i.willDrawCell),i.didDrawCell&&n.didDrawCell.push(i.didDrawCell),i.willDrawPage&&n.willDrawPage.push(i.willDrawPage),i.didDrawPage&&n.didDrawPage.push(i.didDrawPage)}return n}(o,n,t),c=function(e,t){var r,n,o,a,i,s,u,l,c,p,h,f,D,m,y=d(t.margin,40/e.scaleFactor()),g=null!==(r=function(e,t){var r=e.getLastAutoTable(),n=e.scaleFactor(),o=e.pageNumber(),a=!1;if(r&&r.startPageNumber){a=r.startPageNumber+r.pageNumber-1===o}if("number"===typeof t)return t;if((null==t||!1===t)&&a&&null!=(null===r||void 0===r?void 0:r.finalY))return r.finalY+20/n;return null}(e,t.startY))&&void 0!==r?r:y.top;D=!0===t.showFoot?"everyPage":!1===t.showFoot?"never":null!==(n=t.showFoot)&&void 0!==n?n:"everyPage";m=!0===t.showHead?"everyPage":!1===t.showHead?"never":null!==(o=t.showHead)&&void 0!==o?o:"everyPage";var v=null!==(a=t.useCss)&&void 0!==a&&a,b=t.theme||(v?"plain":"striped"),k=!!t.horizontalPageBreak,C=null!==(i=t.horizontalPageBreakRepeat)&&void 0!==i?i:null;return{includeHiddenHtml:null!==(s=t.includeHiddenHtml)&&void 0!==s&&s,useCss:v,theme:b,startY:g,margin:y,pageBreak:null!==(u=t.pageBreak)&&void 0!==u?u:"auto",rowPageBreak:null!==(l=t.rowPageBreak)&&void 0!==l?l:"auto",tableWidth:null!==(c=t.tableWidth)&&void 0!==c?c:"auto",showHead:m,showFoot:D,tableLineWidth:null!==(p=t.tableLineWidth)&&void 0!==p?p:0,tableLineColor:null!==(h=t.tableLineColor)&&void 0!==h?h:200,horizontalPageBreak:k,horizontalPageBreakRepeat:C,horizontalPageBreakBehaviour:null!==(f=t.horizontalPageBreakBehaviour)&&void 0!==f?f:"afterAllRows"}}(r,s),p=function(e,t,r){var n=t.head||[],o=t.body||[],a=t.foot||[];if(t.html){var i=t.includeHiddenHtml;if(r){var s=y(e,t.html,r,i,t.useCss)||{};n=s.head||n,o=s.body||n,a=s.foot||n}else console.error("Cannot parse html in non browser environment")}var u=t.columns||function(e,t,r){var n=e[0]||t[0]||r[0]||[],o=[];return Object.keys(n).filter(function(e){return"_element"!==e}).forEach(function(e){var t,r=1;"object"!==typeof(t=Array.isArray(n)?n[parseInt(e)]:n[e])||Array.isArray(t)||(r=(null===t||void 0===t?void 0:t.colSpan)||1);for(var a=0;a<r;a++){var i={dataKey:Array.isArray(n)?o.length:e+(a>0?"_".concat(a):"")};o.push(i)}}),o}(n,o,a);return{columns:u,head:n,body:o,foot:a}}(r,s,i);return{id:t.tableId,content:p,hooks:l,styles:u,settings:c}}var C,F=function(e,t,r){this.table=t,this.pageNumber=t.pageNumber,this.settings=t.settings,this.cursor=r,this.doc=e.getDocument()},w=function(e){function t(t,r,n,o,a,i){var s=e.call(this,t,r,i)||this;return s.cell=n,s.row=o,s.column=a,s.section=o.section,s}return s(t,e),t}(F),E=function(){function e(e,t){this.pageNumber=1,this.id=e.id,this.settings=e.settings,this.styles=e.styles,this.hooks=e.hooks,this.columns=t.columns,this.head=t.head,this.body=t.body,this.foot=t.foot}return e.prototype.getHeadHeight=function(e){return this.head.reduce(function(t,r){return t+r.getMaxCellHeight(e)},0)},e.prototype.getFootHeight=function(e){return this.foot.reduce(function(t,r){return t+r.getMaxCellHeight(e)},0)},e.prototype.allRows=function(){return this.head.concat(this.body).concat(this.foot)},e.prototype.callCellHooks=function(e,t,r,n,o,a){for(var i=0,s=t;i<s.length;i++){var u=!1===(0,s[i])(new w(e,this,r,n,o,a));if(r.text=Array.isArray(r.text)?r.text:[r.text],u)return!1}return!0},e.prototype.callEndPageHooks=function(e,t){e.applyStyles(e.userStyles);for(var r=0,n=this.hooks.didDrawPage;r<n.length;r++){(0,n[r])(new F(e,this,t))}},e.prototype.callWillDrawPageHooks=function(e,t){for(var r=0,n=this.hooks.willDrawPage;r<n.length;r++){(0,n[r])(new F(e,this,t))}},e.prototype.getWidth=function(e){if("number"===typeof this.settings.tableWidth)return this.settings.tableWidth;if("wrap"===this.settings.tableWidth)return this.columns.reduce(function(e,t){return e+t.wrappedWidth},0);var t=this.settings.margin;return e-t.left-t.right},e}(),_=function(){function e(e,t,r,n,o){void 0===o&&(o=!1),this.height=0,this.raw=e,e instanceof u&&(this.raw=e._element,this.element=e._element),this.index=t,this.section=r,this.cells=n,this.spansMultiplePages=o}return e.prototype.getMaxCellHeight=function(e){var t=this;return e.reduce(function(e,r){var n;return Math.max(e,(null===(n=t.cells[r.index])||void 0===n?void 0:n.height)||0)},0)},e.prototype.hasRowSpan=function(e){var t=this;return e.filter(function(e){var r=t.cells[e.index];return!!r&&r.rowSpan>1}).length>0},e.prototype.canEntireRowFit=function(e,t){return this.getMaxCellHeight(t)<=e},e.prototype.getMinimumRowHeight=function(e,t){var r=this;return e.reduce(function(e,n){var o=r.cells[n.index];if(!o)return 0;var a=t.getLineHeight(o.styles.fontSize),i=o.padding("vertical")+a;return i>e?i:e},0)},e}(),S=function(){function e(e,t,r){var n;this.contentHeight=0,this.contentWidth=0,this.wrappedWidth=0,this.minReadableWidth=0,this.minWidth=0,this.width=0,this.height=0,this.x=0,this.y=0,this.styles=t,this.section=r,this.raw=e;var o=e;null==e||"object"!==typeof e||Array.isArray(e)?(this.rowSpan=1,this.colSpan=1):(this.rowSpan=e.rowSpan||1,this.colSpan=e.colSpan||1,o=null!==(n=e.content)&&void 0!==n?n:e,e._element&&(this.raw=e._element));var a=null!=o?""+o:"";this.text=a.split(/\r\n|\r|\n/g)}return e.prototype.getTextPos=function(){var e,t;if("top"===this.styles.valign)e=this.y+this.padding("top");else if("bottom"===this.styles.valign)e=this.y+this.height-this.padding("bottom");else{var r=this.height-this.padding("vertical");e=this.y+r/2+this.padding("top")}if("right"===this.styles.halign)t=this.x+this.width-this.padding("right");else if("center"===this.styles.halign){var n=this.width-this.padding("horizontal");t=this.x+n/2+this.padding("left")}else t=this.x+this.padding("left");return{x:t,y:e}},e.prototype.getContentHeight=function(e,t){void 0===t&&(t=1.15);var r=(Array.isArray(this.text)?this.text.length:1)*(this.styles.fontSize/e*t)+this.padding("vertical");return Math.max(r,this.styles.minCellHeight)},e.prototype.padding=function(e){var t=d(this.styles.cellPadding,0);return"vertical"===e?t.top+t.bottom:"horizontal"===e?t.left+t.right:t[e]},e}(),x=function(){function e(e,t,r){this.wrappedWidth=0,this.minReadableWidth=0,this.minWidth=0,this.width=0,this.dataKey=e,this.raw=t,this.index=r}return e.prototype.getMaxCustomCellWidth=function(e){for(var t=0,r=0,n=e.allRows();r<n.length;r++){var o=n[r].cells[this.index];o&&"number"===typeof o.styles.cellWidth&&(t=Math.max(t,o.styles.cellWidth))}return t},e}();function A(e,t){!function(e,t){var r=e.scaleFactor(),n=t.settings.horizontalPageBreak,o=h(e,t);t.allRows().forEach(function(a){for(var i=0,s=t.columns;i<s.length;i++){var u=s[i],c=a.cells[u.index];if(c){var p=t.hooks.didParseCell;t.callCellHooks(e,p,c,a,u,null);var d=c.padding("horizontal");c.contentWidth=l(c.text,c.styles,e)+d;var h=l(c.text.join(" ").split(/[^\S\u00A0]+/),c.styles,e);if(c.minReadableWidth=h+c.padding("horizontal"),"number"===typeof c.styles.cellWidth)c.minWidth=c.styles.cellWidth,c.wrappedWidth=c.styles.cellWidth;else if("wrap"===c.styles.cellWidth||!0===n)c.contentWidth>o?(c.minWidth=o,c.wrappedWidth=o):(c.minWidth=c.contentWidth,c.wrappedWidth=c.contentWidth);else{var f=10/r;c.minWidth=c.styles.minCellWidth||f,c.wrappedWidth=c.contentWidth,c.minWidth>c.wrappedWidth&&(c.wrappedWidth=c.minWidth)}}}}),t.allRows().forEach(function(e){for(var r=0,n=t.columns;r<n.length;r++){var o=n[r],a=e.cells[o.index];if(a&&1===a.colSpan)o.wrappedWidth=Math.max(o.wrappedWidth,a.wrappedWidth),o.minWidth=Math.max(o.minWidth,a.minWidth),o.minReadableWidth=Math.max(o.minReadableWidth,a.minReadableWidth);else{var i=t.styles.columnStyles[o.dataKey]||t.styles.columnStyles[o.index]||{},s=i.cellWidth||i.minCellWidth;s&&"number"===typeof s&&(o.minWidth=s,o.wrappedWidth=s)}a&&(a.colSpan>1&&!o.minWidth&&(o.minWidth=a.minWidth),a.colSpan>1&&!o.wrappedWidth&&(o.wrappedWidth=a.minWidth))}})}(e,t);var r=[],n=0;t.columns.forEach(function(e){var o=e.getMaxCustomCellWidth(t);o?e.width=o:(e.width=e.wrappedWidth,r.push(e)),n+=e.width});var o=t.getWidth(e.pageSize().width)-n;o&&(o=M(r,o,function(e){return Math.max(e.minReadableWidth,e.minWidth)})),o&&(o=M(r,o,function(e){return e.minWidth})),o=Math.abs(o),!t.settings.horizontalPageBreak&&o>.1/e.scaleFactor()&&(o=o<1?o:Math.round(o),console.log("Of the table content, ".concat(o," units width could not fit page"))),function(e){for(var t=e.allRows(),r=0;r<t.length;r++)for(var n=t[r],o=null,a=0,i=0,s=0;s<e.columns.length;s++){var u=e.columns[s];if((i-=1)>1&&e.columns[s+1])a+=u.width,delete n.cells[u.index];else if(o){var l=o;delete n.cells[u.index],o=null,l.width=u.width+a}else{if(!(l=n.cells[u.index]))continue;if(i=l.colSpan,a=0,l.colSpan>1){o=l,a+=u.width;continue}l.width=u.width+a}}}(t),function(e,t){for(var r={count:0,height:0},n=0,o=e.allRows();n<o.length;n++){for(var a=o[n],i=0,s=e.columns;i<s.length;i++){var u=s[i],l=a.cells[u.index];if(l){t.applyStyles(l.styles,!0);var c=l.width-l.padding("horizontal");if("linebreak"===l.styles.overflow)l.text=t.splitTextToSize(l.text,c+1/t.scaleFactor(),{fontSize:l.styles.fontSize});else if("ellipsize"===l.styles.overflow)l.text=T(l.text,c,l.styles,t,"...");else if("hidden"===l.styles.overflow)l.text=T(l.text,c,l.styles,t,"");else if("function"===typeof l.styles.overflow){var p=l.styles.overflow(l.text,c);l.text="string"===typeof p?[p]:p}l.contentHeight=l.getContentHeight(t.scaleFactor(),t.getLineHeightFactor());var d=l.contentHeight/l.rowSpan;l.rowSpan>1&&r.count*r.height<d*l.rowSpan?r={height:d,count:l.rowSpan}:r&&r.count>0&&r.height>d&&(d=r.height),d>a.height&&(a.height=d)}}r.count--}}(t,e),function(e){for(var t={},r=1,n=e.allRows(),o=0;o<n.length;o++)for(var a=n[o],i=0,s=e.columns;i<s.length;i++){var u=s[i],l=t[u.index];if(r>1)r--,delete a.cells[u.index];else if(l)l.cell.height+=a.height,r=l.cell.colSpan,delete a.cells[u.index],l.left--,l.left<=1&&delete t[u.index];else{var c=a.cells[u.index];if(!c)continue;if(c.height=a.height,c.rowSpan>1){var p=n.length-o,d=c.rowSpan>p?p:c.rowSpan;t[u.index]={cell:c,left:d,row:a}}}}}(t)}function M(e,t,r){for(var n=t,o=e.reduce(function(e,t){return e+t.wrappedWidth},0),a=0;a<e.length;a++){var i=e[a],s=n*(i.wrappedWidth/o),u=i.width+s,l=r(i),c=u<l?l:u;t-=c-i.width,i.width=c}if(t=Math.round(1e10*t)/1e10){var p=e.filter(function(e){return!(t<0)||e.width>r(e)});p.length&&(t=M(p,t,r))}return t}function T(e,t,r,n,o){return e.map(function(e){return function(e,t,r,n,o){var a=1e4*n.scaleFactor();if(t=Math.ceil(t*a)/a,t>=l(e,r,n))return e;for(;t<l(e+o,r,n)&&!(e.length<=1);)e=e.substring(0,e.length-1);return e.trim()+o}(e,t,r,n,o)})}function P(e,t){var r=new a(e),n=function(e,t){var r=e.content,n=function(e){return e.map(function(e,t){var r,n;return n="object"===typeof e&&null!==(r=e.dataKey)&&void 0!==r?r:t,new x(n,e,t)})}(r.columns);if(0===r.head.length){(o=N(n,"head"))&&r.head.push(o)}if(0===r.foot.length){var o;(o=N(n,"foot"))&&r.foot.push(o)}var a=e.settings.theme,i=e.styles;return{columns:n,head:B("head",r.head,n,i,a,t),body:B("body",r.body,n,i,a,t),foot:B("foot",r.foot,n,i,a,t)}}(t,r.scaleFactor()),o=new E(t,n);return A(r,o),r.applyStyles(r.userStyles),o}function B(e,t,r,n,o,a){var i={};return t.map(function(t,s){for(var u=0,l={},c=0,p=0,d=0,h=r;d<h.length;d++){var f=h[d];if(null==i[f.index]||0===i[f.index].left)if(0===p){var D=void 0,m={};"object"!==typeof(D=Array.isArray(t)?t[f.index-c-u]:t[f.dataKey])||Array.isArray(D)||(m=(null===D||void 0===D?void 0:D.styles)||{});var y=L(e,f,s,o,n,a,m),g=new S(D,y,e);l[f.dataKey]=g,l[f.index]=g,p=g.colSpan-1,i[f.index]={left:g.rowSpan-1,times:p}}else p--,c++;else i[f.index].left--,p=i[f.index].times,u++}return new _(t,s,e,l)})}function N(e,t){var r={};return e.forEach(function(e){if(null!=e.raw){var n=function(e,t){if("head"===e){if("object"===typeof t)return t.header||null;if("string"===typeof t||"number"===typeof t)return t}else if("foot"===e&&"object"===typeof t)return t.footer;return null}(t,e.raw);null!=n&&(r[e.dataKey]=n)}}),Object.keys(r).length>0?r:null}function L(e,t,r,n,o,a,i){var s,u={striped:{table:{fillColor:255,textColor:80,fontStyle:"normal"},head:{textColor:255,fillColor:[41,128,185],fontStyle:"bold"},body:{},foot:{textColor:255,fillColor:[41,128,185],fontStyle:"bold"},alternateRow:{fillColor:245}},grid:{table:{fillColor:255,textColor:80,fontStyle:"normal",lineWidth:.1},head:{textColor:255,fillColor:[26,188,156],fontStyle:"bold",lineWidth:0},body:{},foot:{textColor:255,fillColor:[26,188,156],fontStyle:"bold",lineWidth:0},alternateRow:{}},plain:{head:{fontStyle:"bold"},foot:{fontStyle:"bold"}}}[n];"head"===e?s=o.headStyles:"body"===e?s=o.bodyStyles:"foot"===e&&(s=o.footStyles);var l=b({},u.table,u[e],o.styles,s),c=o.columnStyles[t.dataKey]||o.columnStyles[t.index]||{},p="body"===e?c:{},d="body"===e&&r%2===0?b({},u.alternateRow,o.alternateRowStyles):{},h=function(e){return{font:"helvetica",fontStyle:"normal",overflow:"linebreak",fillColor:!1,textColor:20,halign:"left",valign:"top",fontSize:10,cellPadding:5/e,lineColor:200,lineWidth:0,cellWidth:"auto",minCellHeight:0,minCellWidth:0}}(a),f=b({},h,l,d,p);return b(f,i)}function O(e,t,r){var n;void 0===r&&(r={});var o=h(e,t),a=new Map,i=[],s=[],u=[];Array.isArray(t.settings.horizontalPageBreakRepeat)?u=t.settings.horizontalPageBreakRepeat:"string"!==typeof t.settings.horizontalPageBreakRepeat&&"number"!==typeof t.settings.horizontalPageBreakRepeat||(u=[t.settings.horizontalPageBreakRepeat]),u.forEach(function(e){var r=t.columns.find(function(t){return t.dataKey===e||t.index===e});r&&!a.has(r.index)&&(a.set(r.index,!0),i.push(r.index),s.push(t.columns[r.index]),o-=r.wrappedWidth)});for(var l=!0,c=null!==(n=null===r||void 0===r?void 0:r.start)&&void 0!==n?n:0;c<t.columns.length;)if(a.has(c))c++;else{var p=t.columns[c].wrappedWidth;if(!(l||o>=p))break;l=!1,i.push(c),s.push(t.columns[c]),o-=p,c++}return{colIndexes:i,columns:s,lastIndex:c-1}}function R(e,t){var r=t.settings,n=r.startY,o=r.margin,i={x:o.left,y:n},s=t.getHeadHeight(t.columns)+t.getFootHeight(t.columns),u=n+o.bottom+s;"avoid"===r.pageBreak&&(u+=t.body.reduce(function(e,t){return e+t.height},0));var l=new a(e);("always"===r.pageBreak||null!=r.startY&&u>l.pageSize().height)&&(V(l),i.y=o.top),t.callWillDrawPageHooks(l,i);var p=b({},i);t.startPageNumber=l.pageNumber(),r.horizontalPageBreak?function(e,t,r,n){var o=function(e,t){for(var r=[],n=0;n<t.columns.length;n++){var o=O(e,t,{start:n});o.columns.length&&(r.push(o),n=o.lastIndex)}return r}(e,t),a=t.settings;if("afterAllRows"===a.horizontalPageBreakBehaviour)o.forEach(function(o,a){e.applyStyles(e.userStyles),a>0?$(e,t,r,n,o.columns,!0):I(e,t,n,o.columns),function(e,t,r,n,o){e.applyStyles(e.userStyles),t.body.forEach(function(a,i){var s=i===t.body.length-1;z(e,t,a,s,r,n,o)})}(e,t,r,n,o.columns),j(e,t,n,o.columns)});else for(var i=-1,s=o[0],u=function(){var a=i;if(s){e.applyStyles(e.userStyles);var u=s.columns;i>=0?$(e,t,r,n,u,!0):I(e,t,n,u),a=Y(e,t,i+1,n,u),j(e,t,n,u)}var l=a-i;o.slice(1).forEach(function(o){e.applyStyles(e.userStyles),$(e,t,r,n,o.columns,!0),Y(e,t,i+1,n,o.columns,l),j(e,t,n,o.columns)}),i=a};i<t.body.length-1;)u()}(l,t,p,i):(l.applyStyles(l.userStyles),"firstPage"!==r.showHead&&"everyPage"!==r.showHead||t.head.forEach(function(e){return H(l,t,e,i,t.columns)}),l.applyStyles(l.userStyles),t.body.forEach(function(e,r){var n=r===t.body.length-1;z(l,t,e,n,p,i,t.columns)}),l.applyStyles(l.userStyles),"lastPage"!==r.showFoot&&"everyPage"!==r.showFoot||t.foot.forEach(function(e){return H(l,t,e,i,t.columns)})),c(l,t,p,i),t.callEndPageHooks(l,i),t.finalY=i.y,e.lastAutoTable=t,l.applyStyles(l.userStyles)}function I(e,t,r,n){var o=t.settings;e.applyStyles(e.userStyles),"firstPage"!==o.showHead&&"everyPage"!==o.showHead||t.head.forEach(function(o){return H(e,t,o,r,n)})}function Y(e,t,r,n,o,a){e.applyStyles(e.userStyles),a=null!==a&&void 0!==a?a:t.body.length;var i=Math.min(r+a,t.body.length),s=-1;return t.body.slice(r,i).forEach(function(a,i){var u=r+i===t.body.length-1,l=U(e,t,u,n);a.canEntireRowFit(l,o)&&(H(e,t,a,n,o),s=r+i)}),s}function j(e,t,r,n){var o=t.settings;e.applyStyles(e.userStyles),"lastPage"!==o.showFoot&&"everyPage"!==o.showFoot||t.foot.forEach(function(o){return H(e,t,o,r,n)})}function q(e,t,r){var n=r.getLineHeight(e.styles.fontSize),o=e.padding("vertical"),a=Math.floor((t-o)/n);return Math.max(0,a)}function z(e,t,r,n,o,a,i){var s=U(e,t,n,a);if(r.canEntireRowFit(s,i))H(e,t,r,a,i);else if(function(e,t,r,n){var o=e.pageSize().height,a=n.settings.margin,i=o-(a.top+a.bottom);"body"===t.section&&(i-=n.getHeadHeight(n.columns)+n.getFootHeight(n.columns));var s=t.getMinimumRowHeight(n.columns,e),u=s<r;if(s>i)return console.log("Will not be able to print row ".concat(t.index," correctly since it's minimum height is larger than page height")),!0;if(!u)return!1;var l=t.hasRowSpan(n.columns);return t.getMaxCellHeight(n.columns)>i?(l&&console.log("The content of row ".concat(t.index," will not be drawn correctly since drawing rows with a height larger than the page height and has cells with rowspans is not supported.")),!0):!l&&"avoid"!==n.settings.rowPageBreak}(e,r,s,t)){var u=function(e,t,r,n){var o={};e.spansMultiplePages=!0,e.height=0;for(var a=0,i=0,s=r.columns;i<s.length;i++){var u=s[i];if(m=e.cells[u.index]){Array.isArray(m.text)||(m.text=[m.text]),(D=b(D=new S(m.raw,m.styles,m.section),m)).text=[];var l=q(m,t,n);m.text.length>l&&(D.text=m.text.splice(l,m.text.length));var c=n.scaleFactor(),p=n.getLineHeightFactor();m.contentHeight=m.getContentHeight(c,p),m.contentHeight>=t&&(m.contentHeight=t,D.styles.minCellHeight-=t),m.contentHeight>e.height&&(e.height=m.contentHeight),D.contentHeight=D.getContentHeight(c,p),D.contentHeight>a&&(a=D.contentHeight),o[u.index]=D}}var d=new _(e.raw,-1,e.section,o,!0);d.height=a;for(var h=0,f=r.columns;h<f.length;h++){var D,m;u=f[h],(D=d.cells[u.index])&&(D.height=d.height),(m=e.cells[u.index])&&(m.height=e.height)}return d}(r,s,t,e);H(e,t,r,a,i),$(e,t,o,a,i),z(e,t,u,n,o,a,i)}else $(e,t,o,a,i),z(e,t,r,n,o,a,i)}function H(e,t,r,o,a){o.x=t.settings.margin.left;for(var i=0,s=a;i<s.length;i++){var u=s[i],l=r.cells[u.index];if(l)if(e.applyStyles(l.styles),l.x=o.x,l.y=o.y,!1!==t.callCellHooks(e,t.hooks.willDrawCell,l,r,u,o)){W(e,l,o);var c=l.getTextPos();n(l.text,c.x,c.y,{halign:l.styles.halign,valign:l.styles.valign,maxWidth:Math.ceil(l.width-l.padding("left")-l.padding("right"))},e.getDocument()),t.callCellHooks(e,t.hooks.didDrawCell,l,r,u,o),o.x+=u.width}else o.x+=u.width;else o.x+=u.width}o.y+=r.height}function W(e,t,r){var n=t.styles;if(e.getDocument().setFillColor(e.getDocument().getFillColor()),"number"===typeof n.lineWidth){var o=p(n.lineWidth,n.fillColor);o&&e.rect(t.x,r.y,t.width,t.height,o)}else"object"===typeof n.lineWidth&&(n.fillColor&&e.rect(t.x,r.y,t.width,t.height,"F"),function(e,t,r,n){var o,a,i,s;n.top&&(o=r.x,a=r.y,i=r.x+t.width,s=r.y,n.right&&(i+=.5*n.right),n.left&&(o-=.5*n.left),u(n.top,o,a,i,s));n.bottom&&(o=r.x,a=r.y+t.height,i=r.x+t.width,s=r.y+t.height,n.right&&(i+=.5*n.right),n.left&&(o-=.5*n.left),u(n.bottom,o,a,i,s));n.left&&(o=r.x,a=r.y,i=r.x,s=r.y+t.height,n.top&&(a-=.5*n.top),n.bottom&&(s+=.5*n.bottom),u(n.left,o,a,i,s));n.right&&(o=r.x+t.width,a=r.y,i=r.x+t.width,s=r.y+t.height,n.top&&(a-=.5*n.top),n.bottom&&(s+=.5*n.bottom),u(n.right,o,a,i,s));function u(t,r,n,o,a){e.getDocument().setLineWidth(t),e.getDocument().line(r,n,o,a,"S")}}(e,t,r,n.lineWidth))}function U(e,t,r,n){var o=t.settings.margin.bottom,a=t.settings.showFoot;return("everyPage"===a||"lastPage"===a&&r)&&(o+=t.getFootHeight(t.columns)),e.pageSize().height-n.y-o}function $(e,t,r,n,o,a){void 0===o&&(o=[]),void 0===a&&(a=!1),e.applyStyles(e.userStyles),"everyPage"!==t.settings.showFoot||a||t.foot.forEach(function(r){return H(e,t,r,n,o)}),t.callEndPageHooks(e,n);var i=t.settings.margin;c(e,t,r,n),V(e),t.pageNumber++,n.x=i.left,n.y=i.top,r.y=i.top,t.callWillDrawPageHooks(e,n),"everyPage"===t.settings.showHead&&(t.head.forEach(function(r){return H(e,t,r,n,o)}),e.applyStyles(e.userStyles))}function V(e){var t=e.pageNumber();return e.setPage(t+1),e.pageNumber()===t&&(e.addPage(),!0)}function K(e,t){R(e,P(e,k(e,t)))}try{if("undefined"!==typeof window&&window){var Z=window,X=Z.jsPDF||(null===(C=Z.jspdf)||void 0===C?void 0:C.jsPDF);X&&function(e){e.API.autoTable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return R(this,P(this,k(this,e[0]))),this},e.API.lastAutoTable=!1,e.API.autoTableText=function(e,t,r,o){n(e,t,r,o,this)},e.API.autoTableSetDefaults=function(e){return a.setDefaults(e,this),this},e.autoTableSetDefaults=function(e,t){a.setDefaults(e,t)},e.API.autoTableHtmlToJson=function(e,t){var r;if(void 0===t&&(t=!1),"undefined"===typeof window)return console.error("Cannot run autoTableHtmlToJson in non browser environment"),null;var n=y(new a(this),e,window,t,!1),o=n.head,i=n.body;return{columns:(null===(r=o[0])||void 0===r?void 0:r.map(function(e){return e.content}))||[],rows:i,data:i}}}(X)}}catch(Q){console.error("Could not apply autoTable plugin",Q)}}}]);