PluralKit/docs/assets/vendor.975d8a20.js

48 lines
1.5 MiB
JavaScript
Raw Normal View History

2021-12-19 08:54:23 +00:00
var v_=Object.defineProperty,I_=Object.defineProperties;var y_=Object.getOwnPropertyDescriptors;var I0=Object.getOwnPropertySymbols;var L_=Object.prototype.hasOwnProperty,D_=Object.prototype.propertyIsEnumerable;var y0=(e,t,n)=>t in e?v_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,kn=(e,t)=>{for(var n in t||(t={}))L_.call(t,n)&&y0(e,n,t[n]);if(I0)for(var n of I0(t))D_.call(t,n)&&y0(e,n,t[n]);return e},ya=(e,t)=>I_(e,y_(t));function pe(){}const Ti=e=>e;function x(e,t){for(const n in t)e[n]=t[n];return e}function L0(e){return e()}function D0(){return Object.create(null)}function Ge(e){e.forEach(L0)}function Lt(e){return typeof e=="function"}function ve(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let dr;function V3(e,t){return dr||(dr=document.createElement("a")),dr.href=t,e===dr.href}function P_(e){return Object.keys(e).length===0}function zn(e,...t){if(e==null)return pe;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function La(e){let t;return zn(e,n=>t=n)(),t}function It(e,t,n){e.$$.on_destroy.push(zn(t,n))}function Se(e,t,n,a){if(e){const i=P0(e,t,n,a);return e[0](i)}}function P0(e,t,n,a){return e[1]&&a?x(n.ctx.slice(),e[1](a(t))):n.ctx}function Te(e,t,n,a){if(e[2]&&a){const i=e[2](a(n));if(t.dirty===void 0)return i;if(typeof i=="object"){const o=[],r=Math.max(t.dirty.length,i.length);for(let s=0;s<r;s+=1)o[s]=t.dirty[s]|i[s];return o}return t.dirty|i}return t.dirty}function Me(e,t,n,a,i,o){if(i){const r=P0(t,n,a,o);e.p(r,i)}}function Ae(e){if(e.ctx.length>32){const t=[],n=e.ctx.length/32;for(let a=0;a<n;a++)t[a]=-1;return t}return-1}function Ie(e){const t={};for(const n in e)n[0]!=="$"&&(t[n]=e[n]);return t}function le(e,t){const n={};t=new Set(t);for(const a in e)!t.has(a)&&a[0]!=="$"&&(n[a]=e[a]);return n}function w_(e){const t={};for(const n in e)t[n]=!0;return t}function w0(e){return e==null?"":e}function Dt(e,t,n){return e.set(n),t}function jn(e){return e&&Lt(e.destroy)?e.destroy:pe}const k0=typeof window!="undefined";let ur=k0?()=>window.performance.now():()=>Date.now(),Wo=k0?e=>requestAnimationFrame(e):pe;const Da=new Set;function z0(e){Da.forEach(t=>{t.c(e)||(Da.delete(t),t.f())}),Da.size!==0&&Wo(z0)}function _r(e){let t;return Da.size===0&&Wo(z0),{promise:new Promise(n=>{Da.add(t={c:e,f:n})}),abort(){Da.delete(t)}}}function De(e,t){e.appendChild(t)}function B0(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function k_(e){const t=V("style");return z_(B0(e),t),t}function z_(e,t){De(e.head||e,t)}function W(e,t,n){e.insertBefore(t,n||null)}function q(e){e.parentNode.removeChild(e)}function Go(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function V(e){return document.createElement(e)}function Bn(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function lt(e){return document.createTextNode(e)}function at(){return lt(" ")}function dt(){return lt("")}function R(e,t,n,a){return e.addEventListener(t,n,a),()=>e.removeEventListener(t,n,a)}function Pa(e){return function(t){return t.preventDefault(),e.call(this,t)}}function B_(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function Z(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function X(e,t){const n=Object.getOwnPropertyDescriptors(e.__proto__);for(const a in t)t[a]==null?e.removeAttribute(a):a==="style"?e.style.cssText=t[a]:a==="__value"?e.value=e[a]=t[a]:n[a]&&n[a].set?e[a]=t[a]:Z(e,a,t[a])}function Yo(e){return e===""?null:+e}function x_(e){return Array.from(e.childNodes)}function ft(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function it(e,t){e.value=t==null?"":t}function Ho(e,t,n,a){e.style.setProperty(t,n,a?"important":"")}function pr(e,t){for(let n=0;n<e.options.length;n+=1){const a=e.options[n];if(a.__value===t){a.selected=!0;return}}e.selectedIndex=-1}function x0(e,t){for(let n=0;n<e.options.length;n+=1){const a=e.options[n];a.selected=~t.indexOf(a.__value)}}function U_(e){const t=e.querySelector(":checked")||e.options[0];return t&&t.__value}let mr;function
`;for(let E=0;E<=1;E+=c){const b=t+(n-t)*o(E);l+=E*100+`%{${r(b,1-b)}}
`}const d=l+`100% {${r(n,1-n)}}
}`,u=`__svelte_${W_(d)}_${s}`,_=B0(e);Xo.add(_);const p=_.__svelte_stylesheet||(_.__svelte_stylesheet=k_(e).sheet),m=_.__svelte_rules||(_.__svelte_rules={});m[u]||(m[u]=!0,p.insertRule(`@keyframes ${u} ${d}`,p.cssRules.length));const f=e.style.animation||"";return e.style.animation=`${f?`${f}, `:""}${u} ${a}ms linear ${i}ms 1 both`,fr+=1,u}function Ai(e,t){const n=(e.style.animation||"").split(", "),a=n.filter(t?o=>o.indexOf(t)<0:o=>o.indexOf("__svelte")===-1),i=n.length-a.length;i&&(e.style.animation=a.join(", "),fr-=i,fr||G_())}function G_(){Wo(()=>{fr||(Xo.forEach(e=>{const t=e.__svelte_stylesheet;let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.__svelte_rules={}}),Xo.clear())})}function Y_(e,t,n,a){if(!t)return pe;const i=e.getBoundingClientRect();if(t.left===i.left&&t.right===i.right&&t.top===i.top&&t.bottom===i.bottom)return pe;const{delay:o=0,duration:r=300,easing:s=Ti,start:c=ur()+o,end:l=c+r,tick:d=pe,css:u}=n(e,{from:t,to:i},a);let _=!0,p=!1,m;function f(){u&&(m=Mi(e,0,1,r,o,s,u)),o||(p=!0)}function E(){u&&Ai(e,m),_=!1}return _r(b=>{if(!p&&b>=c&&(p=!0),p&&b>=l&&(d(1,0),E()),!_)return!1;if(p){const N=b-c,S=0+1*s(N/r);d(S,1-S)}return!0}),f(),d(0,1),E}function H_(e){const t=getComputedStyle(e);if(t.position!=="absolute"&&t.position!=="fixed"){const{width:n,height:a}=t,i=e.getBoundingClientRect();e.style.position="absolute",e.style.width=n,e.style.height=a,X_(e,i)}}function X_(e,t){const n=e.getBoundingClientRect();if(t.left!==n.left||t.top!==n.top){const a=getComputedStyle(e),i=a.transform==="none"?"":a.transform;e.style.transform=`${i} translate(${t.left-n.left}px, ${t.top-n.top}px)`}}let Er;function gr(e){Er=e}function wa(){if(!Er)throw new Error("Function called outside component initialization");return Er}function Tn(e){wa().$$.on_mount.push(e)}function V_(e){wa().$$.after_update.push(e)}function da(e){wa().$$.on_destroy.push(e)}function nn(){const e=wa();return(t,n)=>{const a=e.$$.callbacks[t];if(a){const i=U0(t,n);a.slice().forEach(o=>{o.call(e,i)})}}}function xn(e,t){wa().$$.context.set(e,t)}function Ft(e){return wa().$$.context.get(e)}function I(e,t){const n=e.$$.callbacks[t.type];n&&n.slice().forEach(a=>a.call(this,t))}const Oi=[],Fe=[],br=[],Vo=[],q0=Promise.resolve();let Ko=!1;function W0(){Ko||(Ko=!0,q0.then(G0))}function Un(){return W0(),q0}function Kt(e){br.push(e)}function Ni(e){Vo.push(e)}let Qo=!1;const Zo=new Set;function G0(){if(!Qo){Qo=!0;do{for(let e=0;e<Oi.length;e+=1){const t=Oi[e];gr(t),K_(t.$$)}for(gr(null),Oi.length=0;Fe.length;)Fe.pop()();for(let e=0;e<br.length;e+=1){const t=br[e];Zo.has(t)||(Zo.add(t),t())}br.length=0}while(Oi.length);for(;Vo.length;)Vo.pop()();Ko=!1,Qo=!1,Zo.clear()}}function K_(e){if(e.fragment!==null){e.update(),Ge(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Kt)}}let hi;function Jo(){return hi||(hi=Promise.resolve(),hi.then(()=>{hi=null})),hi}function ua(e,t,n){e.dispatchEvent(U0(`${t?"intro":"outro"}${n}`))}const Sr=new Set;let Mn;function Ye(){Mn={r:0,c:[],p:Mn}}function He(){Mn.r||Ge(Mn.c),Mn=Mn.p}function v(e,t){e&&e.i&&(Sr.delete(e),e.i(t))}function B(e,t,n,a){if(e&&e.o){if(Sr.has(e))return;Sr.add(e),Mn.c.push(()=>{Sr.delete(e),a&&(n&&e.d(1),a())}),e.o(t)}}const jo={duration:0};function $o(e,t,n){let a=t(e,n),i=!1,o,r,s=0;function c(){o&&Ai(e,o)}function l(){const{delay:u=0,duration:_=300,easing:p=Ti,tick:m=pe,css:f}=a||jo;f&&(o=Mi(e,0,1,_,u,p,f,s++)),m(0,1);const E=ur()+u,b=E+_;r&&r.abort(),i=!0,Kt(()=>ua(e,!0,"start")),r=_r(N=>{if(i){if(N>=b)return m(1,0),ua(e,!0,"end"),c(),i=!1;if(N>=E){const S=p((N-E)/_);m(S,1-S)}}return i})}let d=!1;return{start(){d||(d=!0,Ai(e),Lt(a)?(a=a(),Jo().then(l)):l())},invalidate(){d=!1},end(){i&&(c(),i=!1)}}}function es(e,t,n){let a=t(e,n),i=!0,o;const r=Mn;r.r+=1;function s(){const{delay:c=0,duration:l=300,easing:d=Ti,tick:u=pe,css:_}=a||jo;_&&(o=Mi(e,1,0,l,c,d,_));const p=ur()+c,m=p+l;Kt(()=>ua(e,!1,"start")),_r(f=>{if(i){if(f>=m)return u(0,1),ua(e,!1,"end"),--r.r||Ge(r.c),!1;if(f>=p){const E=d((f-p)/l);u(1-E,E)}}return i})}return Lt(a)?Jo().then(()=>{a=a(),s()}):s(
Occurred in: ${i}`:"",r=ss(e),s=K0(t)?t(r):t;return`<${r}> ${s}${o}`}const sc=e=>(...t)=>e(dp(...t)),cc=sc(e=>{throw new Error(e)}),Tr=sc(console.warn),lc=4,up=3,_p=2,pp=1,mp=1;function fp(e,t){const n=e.default?0:An(e.fullPath).reduce((a,i)=>{let o=a;return o+=lc,np(i)?o+=mp:ap(i)?o+=_p:ec(i)?o-=lc+pp:o+=up,o},0);return{route:e,score:n,index:t}}function Ep(e){return e.map(fp).sort((t,n)=>t.score<n.score?1:t.score>n.score?-1:t.index-n.index)}function dc(e,t){let n,a;const[i]=t.split("?"),o=An(i),r=o[0]==="",s=Ep(e);for(let c=0,l=s.length;c<l;c++){const{route:d}=s[c];let u=!1;const _={},p=b=>ya(kn({},d),{params:_,uri:b});if(d.default){a=p(t);continue}const m=An(d.fullPath),f=Math.max(o.length,m.length);let E=0;for(;E<f;E++){const b=m[E],N=o[E];if(!V0(b)&&ec(b)){const O=b==="*"?"*":b.slice(1);_[O]=o.slice(E).map(decodeURIComponent).join("/");break}if(V0(N)){u=!0;break}const S=$0.exec(b);if(S&&!r){const O=decodeURIComponent(N);_[S[1]]=O}else if(b!==N){u=!0;break}}if(!u){n=p(vi(...o.slice(0,E)));break}}return n||a||null}function uc(e,t){return dc([e],t)}function gp(e,t){if(as(e,"/"))return e;const[n,a]=e.split("?"),[i]=t.split("?"),o=An(n),r=An(i);if(o[0]==="")return is(i,a);if(!as(o[0],".")){const l=r.concat(o).join("/");return is((i==="/"?"":"/")+l,a)}const s=r.concat(o),c=[];return s.forEach(l=>{l===".."?c.pop():l!=="."&&c.push(l)}),is(`/${c.join("/")}`,a)}function _c(e,t){const{pathname:n,hash:a="",search:i="",state:o}=e,r=An(t,!0),s=An(n,!0);for(;r.length;)r[0]!==s[0]&&cc(_a,`Invalid state: All locations must begin with the basepath "${t}", found "${n}"`),r.shift(),s.shift();return{pathname:vi(...s),hash:a,search:i,state:o}}const pc=e=>e.length===1?"":e;function mc(e){const t=e.indexOf("?"),n=e.indexOf("#"),a=t!==-1,i=n!==-1,o=i?pc(e.substr(n)):"",r=i?e.substr(0,n):e,s=a?pc(r.substr(t)):"";return{pathname:a?r.substr(0,t):r,search:s,hash:o}}function bp(e,t,n){return vi(n,gp(e,t))}function Sp(e,t){const n=rs(ip(e)),a=An(n,!0),i=An(t,!0).slice(0,a.length),o=uc({fullPath:n},vi(...i));return o&&o.uri}const cs="POP",Tp="PUSH",Mp="REPLACE";function ls(e){return ya(kn({},e.location),{pathname:encodeURI(decodeURI(e.location.pathname)),state:e.history.state,_key:e.history.state&&e.history.state._key||"initial"})}function Ap(e){let t=[],n=ls(e),a=cs;const i=(o=t)=>o.forEach(r=>r({location:n,action:a}));return{get location(){return n},listen(o){t.push(o);const r=()=>{n=ls(e),a=cs,i([o])};i([o]);const s=J0(e,"popstate",r);return()=>{s(),t=t.filter(c=>c!==o)}},navigate(o,r){const{state:s={},replace:c=!1}=r||{};if(a=c?Mp:Tp,Q0(o))r&&Tr(oc,"Navigation options (state or replace) are not supported, when passing a number as the first argument to navigate. They are ignored."),a=cs,e.history.go(o);else{const l=ya(kn({},s),{_key:j_()});try{e.history[c?"replaceState":"pushState"](l,"",o)}catch{e.location[c?"replace":"assign"](o)}}n=ls(e),i()}}}function ds(e,t){return ya(kn({},mc(t)),{state:e})}function Op(e="/"){let t=0,n=[ds(null,e)];return{get entries(){return n},get location(){return n[t]},addEventListener(){},removeEventListener(){},history:{get state(){return n[t].state},pushState(a,i,o){t++,n=n.slice(0,t),n.push(ds(a,o))},replaceState(a,i,o){n[t]=ds(a,o)},go(a){const i=t+a;i<0||i>n.length-1||(t=i)}}}}const Np=!!(!$n&&window.document&&window.document.createElement),hp=!$n&&window.location.origin==="null",fc=Ap(Np&&!hp?window:Op()),{navigate:K3}=fc;let Fn=null,Ec=!0;function Rp(e,t){const n=document.querySelectorAll("[data-svnav-router]");for(let a=0;a<n.length;a++){const i=n[a],o=Number(i.dataset.svnavRouter);if(o===e)return!0;if(o===t)return!1}return!1}function Cp(e){(!Fn||e.level>Fn.level||e.level===Fn.level&&Rp(e.routerId,Fn.routerId))&&(Fn=e)}function vp(){Fn=null}function Ip(){Ec=!1}function gc(e){if(!e)return!1;const t="tabindex";try{if(!e.hasAttribute(t)){e.setAttribute(t,"-1");let n;n=J0(e,"blur",()=>{e.removeAttribute(t),n()})}return e.focus(),document.activeElement===e}catch{return!1}}function yp(e,t){return Number(e.dataset.svnavRouteEnd)===t}function Lp(e){return/^H[1-6]$/i.test(e.tagName)}function bc(e,t=document){return t.
//! version : 2.29.1
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
var Ol;function Oe(){return Ol.apply(null,arguments)}function iS(e){Ol=e}function fn(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function fa(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function ut(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ss(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(ut(e,t))return!1;return!0}function Gt(e){return e===void 0}function qn(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function xi(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Nl(e,t){var n=[],a;for(a=0;a<e.length;++a)n.push(t(e[a],a));return n}function ta(e,t){for(var n in t)ut(t,n)&&(e[n]=t[n]);return ut(t,"toString")&&(e.toString=t.toString),ut(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Rn(e,t,n,a){return Zl(e,t,n,a,!0).utc()}function rS(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function je(e){return e._pf==null&&(e._pf=rS()),e._pf}var Ts;Array.prototype.some?Ts=Array.prototype.some:Ts=function(e){var t=Object(this),n=t.length>>>0,a;for(a=0;a<n;a++)if(a in t&&e.call(this,t[a],a,t))return!0;return!1};function Ms(e){if(e._isValid==null){var t=je(e),n=Ts.call(t.parsedDateParts,function(i){return i!=null}),a=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(a=a&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=a;else return a}return e._isValid}function Rr(e){var t=Rn(NaN);return e!=null?ta(je(t),e):je(t).userInvalidated=!0,t}var As=Oe.momentProperties=[],Os=!1;function Ns(e,t){var n,a,i;if(Gt(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),Gt(t._i)||(e._i=t._i),Gt(t._f)||(e._f=t._f),Gt(t._l)||(e._l=t._l),Gt(t._strict)||(e._strict=t._strict),Gt(t._tzm)||(e._tzm=t._tzm),Gt(t._isUTC)||(e._isUTC=t._isUTC),Gt(t._offset)||(e._offset=t._offset),Gt(t._pf)||(e._pf=je(t)),Gt(t._locale)||(e._locale=t._locale),As.length>0)for(n=0;n<As.length;n++)a=As[n],i=t[a],Gt(i)||(e[a]=i);return e}function Ui(e){Ns(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Os===!1&&(Os=!0,Oe.updateOffset(this),Os=!1)}function En(e){return e instanceof Ui||e!=null&&e._isAMomentObject!=null}function hl(e){Oe.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+e)}function cn(e,t){var n=!0;return ta(function(){if(Oe.deprecationHandler!=null&&Oe.deprecationHandler(null,e),n){var a=[],i,o,r;for(o=0;o<arguments.length;o++){if(i="",typeof arguments[o]=="object"){i+=`
[`+o+"] ";for(r in arguments[0])ut(arguments[0],r)&&(i+=r+": "+arguments[0][r]+", ");i=i.slice(0,-2)}else i=arguments[o];a.push(i)}hl(e+`
Arguments: `+Array.prototype.slice.call(a).join("")+`
`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var Rl={};function Cl(e,t){Oe.deprecationHandler!=null&&Oe.deprecationHandler(e,t),Rl[e]||(hl(t),Rl[e]=!0)}Oe.suppressDeprecationWarnings=!1;Oe.deprecationHandler=null;function Cn(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function oS(e){var t,n;for(n in e)ut(e,n)&&(t=e[n],Cn(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function hs(e,t){var n=ta({},e),a;for(a in t)ut(t,a)&&(fa(e[a])&&fa(t[a])?(n[a]={},ta(n[a],e[a]),ta(n[a],t[a])):t[a]!=null?n[a]=t[a]:delete n[a]);for(a in e)ut(e,a)&&!ut(t,a)&&fa(e[a])&&(n[a]=ta({},n[a]));return n}function Rs(e){e!=null&&this.set(e)}var Cs;Object.keys?Cs=Object.keys:Cs=function(e){var t,n=[];for(t in e)ut(e,t)&&n.push(t);return n};var sS={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function cS(e,t,n){var a=this._calendar[e]||this._calendar.sameElse;return Cn(a)?a.call(t,n):a}function vn(e,t,n){var a=""+Math.abs(e),i=t-a.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+a}var vs=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Cr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Is={},Ya={};function ze(e,t,n,a){var i=a;typeof a=="string"&&(i=function(){return this[a]()}),e&&(Ya[e]=i),t&&(Ya[t[0]]=function(){return vn(i.apply(this,arguments),t[1],t[2])}),n&&(Ya[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function lS(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function dS(e){var t=e.match(vs),n,a;for(n=0,a=t.length;n<a;n++)Ya[t[n]]?t[n]=Ya[t[n]]:t[n]=lS(t[n]);return function(i){var o="",r;for(r=0;r<a;r++)o+=Cn(t[r])?t[r].call(i,e):t[r];return o}}function vr(e,t){return e.isValid()?(t=vl(t,e.localeData()),Is[t]=Is[t]||dS(t),Is[t](e)):e.localeData().invalidDate()}function vl(e,t){var n=5;function a(i){return t.longDateFormat(i)||i}for(Cr.lastIndex=0;n>=0&&Cr.test(e);)e=e.replace(Cr,a),Cr.lastIndex=0,n-=1;return e}var uS={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function _S(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(vs).map(function(a){return a==="MMMM"||a==="MM"||a==="DD"||a==="dddd"?a.slice(1):a}).join(""),this._longDateFormat[e])}var pS="Invalid date";function mS(){return this._invalidDate}var fS="%d",ES=/\d{1,2}/;function gS(e){return this._ordinal.replace("%d",e)}var bS={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function SS(e,t,n,a){var i=this._relativeTime[n];return Cn(i)?i(e,t,n,a):i.replace(/%d/i,e)}function TS(e,t){var n=this._relativeTime[e>0?"future":"past"];return Cn(n)?n(t):n.replace(/%s/i,t)}var Fi={};function zt(e,t){var n=e.toLowerCase();Fi[n]=Fi[n+"s"]=Fi[t]=e}function ln(e){return typeof e=="string"?Fi[e]||Fi[e.toLowerCase()]:void 0}function ys(e){var t={},n,a;for(a in e)ut(e,a)&&(n=ln(a),n&&(t[n]=e[a]));return t}var Il={};function Bt(e,t){Il[e]=t}function MS(e){var t=[],n;for(n in e)ut(e,n)&&t.push({unit:n,priority:Il[n]});return t.sort(function(a,i){return a.priority-i.priority}),t}function Ir(e){return e%4==0&&e%100!=0||e%400==0}function dn(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function et(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=dn(t)),n}function Ha(e,t){return function(n){return n!=null?(yl(this,e,n),Oe.updateOffset(this,t),this):yr(this,e)}}function yr(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function
Oe.version="2.29.1";iS(At);Oe.fn=de;Oe.min=YT;Oe.max=HT;Oe.now=XT;Oe.utc=Rn;Oe.unix=TA;Oe.months=AA;Oe.isDate=xi;Oe.locale=na;Oe.invalid=Rr;Oe.duration=bn;Oe.isMoment=En;Oe.weekdays=NA;Oe.parseZone=MA;Oe.localeData=Hn;Oe.isDuration=Wr;Oe.monthsShort=OA;Oe.weekdaysMin=RA;Oe.defineLocale=Bs;Oe.updateLocale=MT;Oe.locales=AT;Oe.weekdaysShort=hA;Oe.normalizeUnits=ln;Oe.relativeTimeRounding=eO;Oe.relativeTimeThreshold=tO;Oe.calendarFormat=gM;Oe.prototype=de;Oe.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};var aO=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Oe}),b1=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function iO(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}),t}var S1={exports:{}};(function(e,t){(function(n,a){e.exports=a()})(b1,function(){var n=/\r\n?/g,a=/\t/g,i=/\f/g,o=function(M){return M.replace(n,`
`).replace(i,"").replace(a," ")},r=function(M,P){var y=M||{};if(P!=null)for(var Q in P)Object.prototype.hasOwnProperty.call(P,Q)&&(y[Q]=P[Q]);return y},s=function(M,P){var y=Object.keys(M).filter(function(te){var ae=M[te];if(ae==null||ae.match==null)return!1;var he=ae.order;return(typeof he!="number"||!isFinite(he))&&typeof console!="undefined"&&console.warn("simple-markdown: Invalid order for rule `"+te+"`: "+String(he)),!0});y.sort(function(te,ae){var he=M[te],We=M[ae],qe=he.order,ke=We.order;if(qe!==ke)return qe-ke;var rt=he.quality?0:1,pt=We.quality?0:1;return rt!==pt?rt-pt:te<ae?-1:te>ae?1:0});var Q,me=function(te,ae){var he=[];for(ae=ae||Q,Q=ae;te;){var We=null,qe=null,ke=null,rt=NaN,pt=0,bt=y[0],mt=M[bt];do{var $e=mt.order,Ct=ae.prevCapture==null?"":ae.prevCapture[0],tt=mt.match(te,ae,Ct);if(tt){var gt=mt.quality?mt.quality(tt,ae,Ct):0;gt<=rt||(We=bt,qe=mt,ke=tt,rt=gt)}pt++,bt=y[pt],mt=M[bt]}while(mt&&(!ke||mt.order===$e&&mt.quality));if(qe==null||ke==null)throw new Error("Could not find a matching rule for the below content. The rule with highest `order` should always match content provided to it. Check the definition of `match` for '"+y[y.length-1]+`'. It seems to not match the following source:
`+te);if(ke.index)throw new Error("`match` must return a capture starting at index 0 (the current parse index). Did you forget a ^ at the start of the RegExp?");var Pt=qe.parse(ke,me,ae);Array.isArray(Pt)?Array.prototype.push.apply(he,Pt):(Pt.type==null&&(Pt.type=We),he.push(Pt)),ae.prevCapture=ke,te=te.substring(ae.prevCapture[0].length)}return he},K=function(te,ae){return Q=r(ae,P),!Q.inline&&!Q.disableAutoBlockNewlines&&(te=te+`
`),Q.prevCapture=null,me(o(te),Q)};return K},c=function(M){var P=function(y,Q){return Q.inline?M.exec(y):null};return P.regex=M,P},l=function(M){var P=function(y,Q){return Q.inline?null:M.exec(y)};return P.regex=M,P},d=function(M){var P=function(y,Q){return M.exec(y)};return P.regex=M,P},u=typeof Symbol=="function"&&Symbol.for&&Symbol.for("react.element")||60103,_=function(M,P,y){var Q={$$typeof:u,type:M,key:P==null?void 0:P,ref:null,props:y,_owner:null};return Q},p=function(M,P,y,Q){y=y||{},Q=typeof Q!="undefined"?Q:!0;var me="";for(var K in y){var te=y[K];Object.prototype.hasOwnProperty.call(y,K)&&te&&(me+=" "+N(K)+'="'+N(te)+'"')}var ae="<"+M+me+">";return Q?ae+P+"</"+M+">":ae},m={},f=function(M){if(M==null)return null;try{var P=decodeURIComponent(M).replace(/[^A-Za-z0-9/:]/g,"").toLowerCase();if(P.indexOf("javascript:")===0||P.indexOf("vbscript:")===0||P.indexOf("data:")===0)return null}catch{return null}return M},E=/[<>&"']/g,b={"<":"&lt;",">":"&gt;","&":"&amp;",'"':"&quot;","'":"&#x27;","/":"&#x2F;","`":"&#96;"},N=function(M){return String(M).replace(E,function(P){return b[P]})},S=/\\([^0-9A-Za-z\s])/g,O=function(M){return M.replace(S,"$1")},A=function(M,P,y){var Q=y.inline||!1;y.inline=!0;var me=M(P,y);return y.inline=Q,me},h=function(M,P,y){var Q=y.inline||!1;y.inline=!1;var me=M(P+`
`,y);return y.inline=Q,me},T=function(M,P,y){return{content:A(P,M[1],y)}},G=function(){return{}},J="(?:[*+-]|\\d+\\.)",U="( *)("+J+") +",D=new RegExp("^"+U),ue=new RegExp(U+"[^\\n]*(?:\\n(?!\\1"+J+` )[^\\n]*)*(
|$)`,"gm"),ge=/\n{2,}$/,Ee=/^ (?= *`)|(` *) $/g,re=ge,k=/ *\n+$/,F=new RegExp("^( *)("+J+`) [\\s\\S]+?(?:
{2,}(?! )(?!\\1`+J+` )\\n*|\\s*
*$)`),$=/(?:^|\n)( *)$/,Y=function(){var M=/^ *\| *| *\| *$/g,P=/ *$/,y=/^ *-+: *$/,Q=/^ *:-+: *$/,me=/^ *:-+ *$/,K=function(qe){return y.test(qe)?"right":Q.test(qe)?"center":me.test(qe)?"left":null},te=function(qe,ke,rt,pt){pt&&(qe=qe.replace(M,""));var bt=qe.trim().split("|");return bt.map(K)},ae=function(qe,ke,rt,pt){var bt=rt.inTable;rt.inTable=!0;var mt=ke(qe.trim(),rt);rt.inTable=bt;var $e=[[]];return mt.forEach(function(Ct,tt){Ct.type==="tableSeparator"?(!pt||tt!==0&&tt!==mt.length-1)&&$e.push([]):(Ct.type==="text"&&(mt[tt+1]==null||mt[tt+1].type==="tableSeparator")&&(Ct.content=Ct.content.replace(P,"")),$e[$e.length-1].push(Ct))}),$e},he=function(qe,ke,rt,pt){var bt=qe.trim().split(`
`);return bt.map(function(mt){return ae(mt,ke,rt,pt)})},We=function(qe){return function(ke,rt,pt){pt.inline=!0;var bt=ae(ke[1],rt,pt,qe),mt=te(ke[2],rt,pt,qe),$e=he(ke[3],rt,pt,qe);return pt.inline=!1,{type:"table",header:bt,align:mt,cells:$e}}};return{parseTable:We(!0),parseNpTable:We(!1),TABLE_REGEX:/^ *(\|.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/,NPTABLE_REGEX:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/}}(),ne="(?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*",be=`\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*`,we=/mailto:/i,ie=function(M,P,y){var Q=(M[2]||M[1]).replace(/\s+/g," ").toLowerCase();if(P._defs&&P._defs[Q]){var me=P._defs[Q];y.target=me.target,y.title=me.title}return P._refs=P._refs||{},P._refs[Q]=P._refs[Q]||[],P._refs[Q].push(y),y},oe=0,Ce={Array:{react:function(M,P,y){for(var Q=y.key,me=[],K=0,te=0;K<M.length;K++,te++){y.key=""+K;var ae=M[K];if(ae.type==="text")for(ae={type:"text",content:ae.content};K+1<M.length&&M[K+1].type==="text";K++)ae.content+=M[K+1].content;me.push(P(ae,y))}return y.key=Q,me},html:function(M,P,y){for(var Q="",me=0;me<M.length;me++){var K=M[me];if(K.type==="text")for(K={type:"text",content:K.content};me+1<M.length&&M[me+1].type==="text";me++)K.content+=M[me+1].content;Q+=P(K,y)}return Q}},heading:{order:oe++,match:l(/^ *(#{1,6})([^\n]+?)#* *(?:\n *)+\n/),parse:function(M,P,y){return{level:M[1].length,content:A(P,M[2].trim(),y)}},react:function(M,P,y){return _("h"+M.level,y.key,{children:P(M.content,y)})},html:function(M,P,y){return p("h"+M.level,P(M.content,y))}},nptable:{order:oe++,match:l(Y.NPTABLE_REGEX),parse:Y.parseNpTable,react:null,html:null},lheading:{order:oe++,match:l(/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/),parse:function(M,P,y){return{type:"heading",level:M[2]==="="?1:2,content:A(P,M[1],y)}},react:null,html:null},hr:{order:oe++,match:l(/^( *[-*_]){3,} *(?:\n *)+\n/),parse:G,react:function(M,P,y){return _("hr",y.key,m)},html:function(M,P,y){return"<hr>"}},codeBlock:{order:oe++,match:l(/^(?: [^\n]+\n*)+(?:\n *)+\n/),parse:function(M,P,y){var Q=M[0].replace(/^ /gm,"").replace(/\n+$/,"");return{lang:void 0,content:Q}},react:function(M,P,y){var Q=M.lang?"markdown-code-"+M.lang:void 0;return _("pre",y.key,{children:_("code",null,{className:Q,children:M.content})})},html:function(M,P,y){var Q=M.lang?"markdown-code-"+M.lang:void 0,me=p("code",N(M.content),{class:Q});return p("pre",me)}},fence:{order:oe++,match:l(/^ *(`{3,}|~{3,}) *(?:(\S+) *)?\n([\s\S]+?)\n?\1 *(?:\n *)+\n/),parse:function(M,P,y){return{type:"codeBlock",lang:M[2]||void 0,content:M[3]}},react:null,html:null},blockQuote:{order:oe++,match:l(/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/),parse:function(M,P,y){var Q=M[0].replace(/^ *> ?/gm,"");return{content:P(Q,y)}},react:function(M,P,y){return _("blockquote",y.key,{children:P(M.content,y)})},html:function(M,P,y){return p("blockquote",P(M.content,y))}},list:{order:oe++,match:function(M,P){var y=P.prevCapture==null?"":P.prevCapture[0],Q=$.exec(y),me=P._list||!P.inline;return Q&&me?(M=Q[1]+M,F.exec(M)):null},parse:function(M,P,y){var Q=M[2],me=Q.length>1,K=me?+Q:void 0,te=M[0].replace(re,`
`).match(ue),ae=!1,he=te.map(function(We,qe){var ke=D.exec(We),rt=ke?ke[0].length:0,pt=new RegExp("^ {1,"+rt+"}","gm"),bt=We.replace(pt,"").replace(D,""),mt=qe===te.length-1,$e=bt.indexOf(`
`)!==-1,Ct=$e||mt&&ae;ae=Ct;var tt=y.inline,gt=y._list;y._list=!0;var Pt;Ct?(y.inline=!1,Pt=bt.replace(k,`
`)):(y.inline=!0,Pt=bt.replace(k,""));var ra=P(Pt,y);return y.inline=tt,y._list=gt,ra});return{ordered:me,start:K,items:he}},react:function(M,P,y){var Q=M.ordered?"ol":"ul";return _(Q,y.key,{start:M.start,children:M.items.map(function(me,K){return _("li",""+K,{children:P(me,y)})})})},html:function(M,P,y){var Q=M.items.map(function(te){return p("li",P(te,y))}).join(""),me=M.ordered?"ol":"ul",K={start:M.start};return p(me,Q,K)}},def:{order:oe++,match:l(/^ *\[([^\]]+)\]: *<?([^\s>]*)>?(?: +["(]([^\n]+)[")])? *\n(?: *\n)*/),parse:function(M,P,y){var Q=M[1].replace(/\s+/g," ").toLowerCase(),me=M[2],K=M[3];return y._refs&&y._refs[Q]&&y._refs[Q].forEach(function(te){te.target=me,te.title=K}),y._defs=y._defs||{},y._defs[Q]={target:me,title:K},{def:Q,target:me,title:K}},react:function(){return null},html:function(){return""}},table:{order:oe++,match:l(Y.TABLE_REGEX),parse:Y.parseTable,react:function(M,P,y){var Q=function(te){return M.align[te]==null?{}:{textAlign:M.align[te]}},me=M.header.map(function(te,ae){return _("th",""+ae,{style:Q(ae),scope:"col",children:P(te,y)})}),K=M.cells.map(function(te,ae){return _("tr",""+ae,{children:te.map(function(he,We){return _("td",""+We,{style:Q(We),children:P(he,y)})})})});return _("table",y.key,{children:[_("thead","thead",{children:_("tr",null,{children:me})}),_("tbody","tbody",{children:K})]})},html:function(M,P,y){var Q=function(he){return M.align[he]==null?"":"text-align:"+M.align[he]+";"},me=M.header.map(function(he,We){return p("th",P(he,y),{style:Q(We),scope:"col"})}).join(""),K=M.cells.map(function(he){var We=he.map(function(qe,ke){return p("td",P(qe,y),{style:Q(ke)})}).join("");return p("tr",We)}).join(""),te=p("thead",p("tr",me)),ae=p("tbody",K);return p("table",te+ae)}},newline:{order:oe++,match:l(/^(?:\n *)*\n/),parse:G,react:function(M,P,y){return`
`},html:function(M,P,y){return`
`}},paragraph:{order:oe++,match:l(/^((?:[^\n]|\n(?! *\n))+)(?:\n *)+\n/),parse:T,react:function(M,P,y){return _("div",y.key,{className:"paragraph",children:P(M.content,y)})},html:function(M,P,y){var Q={class:"paragraph"};return p("div",P(M.content,y),Q)}},escape:{order:oe++,match:c(/^\\([^0-9A-Za-z\s])/),parse:function(M,P,y){return{type:"text",content:M[1]}},react:null,html:null},tableSeparator:{order:oe++,match:function(M,P){return P.inTable?/^ *\| */.exec(M):null},parse:function(){return{type:"tableSeparator"}},react:function(){return" | "},html:function(){return" &vert; "}},autolink:{order:oe++,match:c(/^<([^: >]+:\/[^ >]+)>/),parse:function(M,P,y){return{type:"link",content:[{type:"text",content:M[1]}],target:M[1]}},react:null,html:null},mailto:{order:oe++,match:c(/^<([^ >]+@[^ >]+)>/),parse:function(M,P,y){var Q=M[1],me=M[1];return we.test(me)||(me="mailto:"+me),{type:"link",content:[{type:"text",content:Q}],target:me}},react:null,html:null},url:{order:oe++,match:c(/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/),parse:function(M,P,y){return{type:"link",content:[{type:"text",content:M[1]}],target:M[1],title:void 0}},react:null,html:null},link:{order:oe++,match:c(new RegExp("^\\[("+ne+")\\]\\("+be+"\\)")),parse:function(M,P,y){var Q={content:P(M[1],y),target:O(M[2]),title:M[3]};return Q},react:function(M,P,y){return _("a",y.key,{href:f(M.target),title:M.title,children:P(M.content,y)})},html:function(M,P,y){var Q={href:f(M.target),title:M.title};return p("a",P(M.content,y),Q)}},image:{order:oe++,match:c(new RegExp("^!\\[("+ne+")\\]\\("+be+"\\)")),parse:function(M,P,y){var Q={alt:M[1],target:O(M[2]),title:M[3]};return Q},react:function(M,P,y){return _("img",y.key,{src:f(M.target),alt:M.alt,title:M.title})},html:function(M,P,y){var Q={src:f(M.target),alt:M.alt,title:M.title};return p("img","",Q,!1)}},reflink:{order:oe++,match:c(new RegExp("^\\[("+ne+")\\]\\s*\\[([^\\]]*)\\]")),parse:function(M,P,y){return ie(M,y,{type:"link",content:P(M[1],y)})},react:null,html:null},refimage:{order:oe++,match:c(new RegExp("^!\\[("+ne+")\\]\\s*\\[([^\\]]*)\\]")),parse:function(M,P,y){return ie(M,y,{type:"image",alt:M[1]})},react:null,html:null},em:{order:oe,match:c(new RegExp("^\\b_((?:__|\\\\[\\s\\S]|[^\\\\_])+?)_\\b|^\\*(?=\\S)((?:\\*\\*|\\\\[\\s\\S]|\\s+(?:\\\\[\\s\\S]|[^\\s\\*\\\\]|\\*\\*)|[^\\s\\*\\\\])+?)\\*(?!\\*)")),quality:function(M){return M[0].length+.2},parse:function(M,P,y){return{content:P(M[2]||M[1],y)}},react:function(M,P,y){return _("em",y.key,{children:P(M.content,y)})},html:function(M,P,y){return p("em",P(M.content,y))}},strong:{order:oe,match:c(/^\*\*((?:\\[\s\S]|[^\\])+?)\*\*(?!\*)/),quality:function(M){return M[0].length+.1},parse:T,react:function(M,P,y){return _("strong",y.key,{children:P(M.content,y)})},html:function(M,P,y){return p("strong",P(M.content,y))}},u:{order:oe++,match:c(/^__((?:\\[\s\S]|[^\\])+?)__(?!_)/),quality:function(M){return M[0].length},parse:T,react:function(M,P,y){return _("u",y.key,{children:P(M.content,y)})},html:function(M,P,y){return p("u",P(M.content,y))}},del:{order:oe++,match:c(/^~~(?=\S)((?:\\[\s\S]|~(?!~)|[^\s~\\]|\s(?!~~))+?)~~/),parse:T,react:function(M,P,y){return _("del",y.key,{children:P(M.content,y)})},html:function(M,P,y){return p("del",P(M.content,y))}},inlineCode:{order:oe++,match:c(/^(`+)([\s\S]*?[^`])\1(?!`)/),parse:function(M,P,y){return{content:M[2].replace(Ee,"$1")}},react:function(M,P,y){return _("code",y.key,{children:M.content})},html:function(M,P,y){return p("code",N(M.content))}},br:{order:oe++,match:d(/^ {2,}\n/),parse:G,react:function(M,P,y){return _("br",y.key,m)},html:function(M,P,y){return"<br>"}},text:{order:oe++,match:d(/^[\s\S]+?(?=[^0-9A-Za-z\s\u00c0-\uffff]|\n\n| {2,}\n|\w+:\S|$)/),parse:function(M,P,y){return{content:M[0]}},react:function(M,P,y){return M.content},html:function(M,P,y){return N(M.content)}}},Ne=function(M,P){!P&&typeof console!="undefined"&&console.warn("simple-markdown ruleOutput should take 'react' or 'html' as the second argument.");var y=function(Q,me,K){return M[Q.type][P](Q,me,K)};return y},j=function(M){var P=function(y,Q){if(Q=Q||{},Arra
https://github.com/highlightjs/highlight.js/issues/2277`),ne=k,Y=F),$===void 0&&($=!0);const be={code:Y,language:ne};Ee("before:highlight",be);const we=be.result?be.result:u(be.language,be.code,$);return we.code=be.code,Ee("after:highlight",we),we}function u(k,F,$,Y){const ne=Object.create(null);function be(K,te){return K.keywords[te]}function we(){if(!se.keywords){Be.addText(M);return}let K=0;se.keywordPatternRe.lastIndex=0;let te=se.keywordPatternRe.exec(M),ae="";for(;te;){ae+=M.substring(K,te.index);const he=w.case_insensitive?te[0].toLowerCase():te[0],We=be(se,he);if(We){const[qe,ke]=We;if(Be.addText(ae),ae="",ne[he]=(ne[he]||0)+1,ne[he]<=JO&&(P+=ke),qe.startsWith("_"))ae+=te[0];else{const rt=w.classNameAliases[qe]||qe;Be.addKeyword(te[0],rt)}}else ae+=te[0];K=se.keywordPatternRe.lastIndex,te=se.keywordPatternRe.exec(M)}ae+=M.substr(K),Be.addText(ae)}function ie(){if(M==="")return;let K=null;if(typeof se.subLanguage=="string"){if(!t[se.subLanguage]){Be.addText(M);return}K=u(se.subLanguage,M,!0,Je[se.subLanguage]),Je[se.subLanguage]=K._top}else K=p(M,se.subLanguage.length?se.subLanguage:null);se.relevance>0&&(P+=K.relevance),Be.addSublanguage(K._emitter,K.language)}function oe(){se.subLanguage!=null?ie():we(),M=""}function Ce(K,te){let ae=1;for(;te[ae]!==void 0;){if(!K._emit[ae]){ae++;continue}const he=w.classNameAliases[K[ae]]||K[ae],We=te[ae];he?Be.addKeyword(We,he):(M=We,we(),M=""),ae++}}function Ne(K,te){return K.scope&&typeof K.scope=="string"&&Be.openNode(w.classNameAliases[K.scope]||K.scope),K.beginScope&&(K.beginScope._wrap?(Be.addKeyword(M,w.classNameAliases[K.beginScope._wrap]||K.beginScope._wrap),M=""):K.beginScope._multi&&(Ce(K.beginScope,te),M="")),se=Object.create(K,{parent:{value:se}}),se}function j(K,te,ae){let he=pO(K.endRe,ae);if(he){if(K["on:end"]){const We=new T1(K);K["on:end"](te,We),We.isMatchIgnored&&(he=!1)}if(he){for(;K.endsParent&&K.parent;)K=K.parent;return K}}if(K.endsWithParent)return j(K.parent,te,ae)}function nt(K){return se.matcher.regexIndex===0?(M+=K[0],1):(me=!0,0)}function Pe(K){const te=K[0],ae=K.rule,he=new T1(ae),We=[ae.__beforeBegin,ae["on:begin"]];for(const qe of We)if(!!qe&&(qe(K,he),he.isMatchIgnored))return nt(te);return ae.skip?M+=te:(ae.excludeBegin&&(M+=te),oe(),!ae.returnBegin&&!ae.excludeBegin&&(M=te)),Ne(ae,K),ae.returnBegin?0:te.length}function ce(K){const te=K[0],ae=F.substr(K.index),he=j(se,K,ae);if(!he)return k1;const We=se;se.endScope&&se.endScope._wrap?(oe(),Be.addKeyword(te,se.endScope._wrap)):se.endScope&&se.endScope._multi?(oe(),Ce(se.endScope,K)):We.skip?M+=te:(We.returnEnd||We.excludeEnd||(M+=te),oe(),We.excludeEnd&&(M=te));do se.scope&&Be.closeNode(),!se.skip&&!se.subLanguage&&(P+=se.relevance),se=se.parent;while(se!==he.parent);return he.starts&&Ne(he.starts,K),We.returnEnd?0:te.length}function st(){const K=[];for(let te=se;te!==w;te=te.parent)te.scope&&K.unshift(te.scope);K.forEach(te=>Be.openNode(te))}let L={};function ee(K,te){const ae=te&&te[0];if(M+=K,ae==null)return oe(),0;if(L.type==="begin"&&te.type==="end"&&L.index===te.index&&ae===""){if(M+=F.slice(te.index,te.index+1),!i){const he=new Error(`0 width match regex (${k})`);throw he.languageName=k,he.badRule=L.rule,he}return 1}if(L=te,te.type==="begin")return Pe(te);if(te.type==="illegal"&&!$){const he=new Error('Illegal lexeme "'+ae+'" for mode "'+(se.scope||"<unnamed>")+'"');throw he.mode=se,he}else if(te.type==="end"){const he=ce(te);if(he!==k1)return he}if(te.type==="illegal"&&ae==="")return 1;if(Q>1e5&&Q>te.index*3)throw new Error("potential infinite loop, way more iterations than matches");return M+=ae,ae.length}const w=J(k);if(!w)throw Ta(o.replace("{}",k)),new Error('Unknown language: "'+k+'"');const H=VO(w);let fe="",se=Y||H;const Je={},Be=new s.__emitter(s);st();let M="",P=0,y=0,Q=0,me=!1;try{for(se.matcher.considerAll();;){Q++,me?me=!1:se.matcher.considerAll(),se.matcher.lastIndex=y;const K=se.matcher.exec(F);if(!K)break;const te=F.substring(y,K.index),ae=ee(te,K);y=K.index+ae}return ee(F.substr(y)),Be.closeAllNodes(),Be.finalize(),fe=Be.toHTML(),{language:k,value:fe,relevance:P,illegal:
]`,`[\\[\\]\\.,\\+\\-<> \r
]`,{returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?:\+\+|--)/,contains:[t]},t]}}var XN=HN;function VN(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",o="<[^<>]+>",r="("+a+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional(o)+")",s={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",l={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},d={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},u={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(l,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},_={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},p=t.optional(i)+e.IDENT_RE+"\\s*\\(",E={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},b=[u,s,n,e.C_BLOCK_COMMENT_MODE,d,l],N={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:E,contains:b.concat([{begin:/\(/,end:/\)/,keywords:E,contains:b.concat(["self"]),relevance:0}]),relevance:0},S={begin:"("+r+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:E,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:E,relevance:0},{begin:p,returnBegin:!0,contains:[e.inherit(_,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,l,d,s,{begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,l,d,s]}]},s,n,e.C_BLOCK_COMMENT_MODE,u]};return{name:"C",aliases:["h"],keywords:E,disableAutodetect:!0,illegal:"</",contains:[].concat(N,S,b,[u,{begin:e.IDENT_RE+"::",keywords:E},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:u,strings:l,keywords:E}}}var KN=VN;function QN(e){const t="div mod in and or not xor asserterror begin case do downto else end exit for if of repeat then to until while with var",n="
`},l]}}var FR=UR;function qR(e){const t="[a-zA-Z_][\\w.]*",n="<\\?(lasso(script)?|=)",a="\\]|\\?>",i={$pattern:t+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},o=e.COMMENT("<!--","-->",{relevance:0}),r={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[o]}},s={className:"meta",begin:"\\[/noprocess|"+n},c={className:"symbol",begin:"'"+t+"'"},l=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.inherit(e.C_NUMBER_MODE,{begin:e.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+t},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:t,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+t,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[c]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[e.inherit(e.TITLE_MODE,{begin:t+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:i,contains:[{className:"meta",begin:a,relevance:0,starts:{end:"\\[|"+n,returnEnd:!0,relevance:0,contains:[o]}},r,s,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:i,contains:[{className:"meta",begin:a,relevance:0,starts:{end:"\\[noprocess\\]|"+n,returnEnd:!0,contains:[o]}},r,s].concat(l)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(l)}}var WR=qR;function GR(e){const n=e.regex.either(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(U=>U+"(?![a-zA-Z@:_])")),a=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|
]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}var PI=DI;function wI(e){const t="[a-z][a-zA-Z0-9_]*",n={className:"string",begin:"\\$.{1}"},a={className:"symbol",begin:"#"+e.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[e.COMMENT('"','"'),e.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:t+":",relevance:0},e.C_NUMBER_MODE,a,n,{begin:"\\|[ ]*"+t+"([ ]+"+t+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+t}]},{begin:"#\\(",end:"\\)",contains:[e.APOS_STRING_MODE,n,e.C_NUMBER_MODE,a]}]}}var kI=wI;function zI(e){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}var BI=zI;function xI(e){const t={className:"variable",begin:/\b_+[a-zA-Z]\w*/},n={className:"title",begin:/[a-zA-Z]\w+_fnc_\w+/},a={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},i=["case","catch","default","do","else","exit","exitWith","for","forEach","from","if","private","switch","then","throw","to","try","waitUntil","while","with"],o=["blufor","civilian","configNull","controlNull","displayNull","east","endl","false","grpNull","independent","lineBreak","locationNull","nil","objNull","opfor","pi","resistance","scriptNull","sideAmbientLife","sideEmpty","sideLogic","sideUnknown","taskNull","teamMemberNull","true","west"],r=["abs","accTime","acos","action","actionIDs","actionKeys","actionKeysImages","actionKeysNames","actionKeysNamesArray","actionName","actionParams","activateAddons","activatedAddons","activateKey","add3DENConnection","add3DENEventHandler","add3DENLayer","addAction","addBackpack","addBackpackCargo","addBackpackCargoGlobal","addBackpackGlobal","addBinocularItem","addCamShake","addCuratorAddons","addCuratorCameraArea","addCuratorEditableObjects","addCuratorEditingArea","addCuratorPoints","addEditorObject","addEventHandler","addForce","addForceGeneratorRTD","addGoggles","addGroupIcon","addHandgunItem","addHeadgear","addItem","addItemCargo","addItemCargoGlobal","addItemPool","addItemToBackpack","addItemToUniform","addItemToVest","addLiveStats","addMagazine","addMagazineAmmoCargo","addMagazineCargo","addMagazineCargoGlobal","addMagazineGlobal","addMagazinePool","addMagazines","addMagazineTurret","addMenu","addMenuItem","addMissionEventHandler","addMPEventHandler","addMusicEventHandler","addonFiles","addOwnedMine","addPlayerScores","addPrimaryWeaponItem","addPublicVariableEventHandler","addRating","addResources","addScore","addScoreSide","addSecondaryWeaponItem","addSwitchableUnit","addTeamMember","addToRemainsCollector","addTorque","addUniform","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponItem","addWeaponPool","addWeaponTurret","addWeaponWithAttachmentsCargo","addWeaponWithAttachmentsCargoGlobal","admin","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityCurveRTD","airDensityRTD","airplaneThrottle","airportSide","AISFinish
]*?"'`},{begin:`"[^\r
"]*"`}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},e.COMMENT("^[ ]*\\*.*$",!1),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}var HI=YI;function XI(e){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:["HEADER","ENDSEC","DATA"]},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*!","\\*/"),e.C_NUMBER_MODE,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}var VI=XI;const KI=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),QI=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],ZI=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],JI=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-l
(multipart)?`,end:`\\]
`},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}var ay=ny;function V1(e){return e?typeof e=="string"?e:e.source:null}function ao(e){return St("(?=",e,")")}function St(...e){return e.map(n=>V1(n)).join("")}function iy(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function Yt(...e){const t=iy(e);return"("+(t.capture?"":"?:")+e.map(a=>V1(a)).join("|")+")"}const c0=e=>St(/\b/,e,/\w$/.test(e)?/\b/:/\B/),ry=["Protocol","Type"].map(c0),K1=["init","self"].map(c0),oy=["Any","Self"],l0=["actor","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],Q1=["false","nil","true"],sy=["assignment","associativity","higherThan","left","lowerThan","none","right"],cy=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],Z1=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],J1=Yt(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),j1=Yt(J1,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),d0=St(J1,j1,"*"),$1=Yt(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),io=Yt($1,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),Qn=St($1,io,"*"),u0=St(/[A-Z]/,io,"*"),ly=["autoclosure",St(/convention\(/,Yt("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",St(/objc\(/,Qn,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],dy=["iOS","iOSApplicationExtension","macOS","macOS
`),function(s){if(o=s.indexOf(":"),a=S0.trim(s.substr(0,o)).toLowerCase(),i=S0.trim(s.substr(o+1)),a){if(n[a]&&qL.indexOf(a)>=0)return;a==="set-cookie"?n[a]=(n[a]?n[a]:[]).concat([i]):n[a]=n[a]?n[a]+", "+i:i}}),n},bd=Jt,GL=bd.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),a;function i(o){var r=o;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return a=i(window.location.href),function(r){var s=bd.isString(r)?i(r):r;return s.protocol===a.protocol&&s.host===a.host}}():function(){return function(){return!0}}();function T0(e){this.message=e}T0.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};T0.prototype.__CANCEL__=!0;var lo=T0,uo=Jt,YL=wL,HL=kL,XL=fd,VL=FL,KL=WL,QL=GL,M0=gd,ZL=po,JL=lo,Sd=function(t){return new Promise(function(a,i){var o=t.data,r=t.headers,s=t.responseType,c;function l(){t.cancelToken&&t.cancelToken.unsubscribe(c),t.signal&&t.signal.removeEventListener("abort",c)}uo.isFormData(o)&&delete r["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var u=t.auth.username||"",_=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.Authorization="Basic "+btoa(u+":"+_)}var p=VL(t.baseURL,t.url);d.open(t.method.toUpperCase(),XL(p,t.params,t.paramsSerializer),!0),d.timeout=t.timeout;function m(){if(!!d){var E="getAllResponseHeaders"in d?KL(d.getAllResponseHeaders()):null,b=!s||s==="text"||s==="json"?d.responseText:d.response,N={data:b,status:d.status,statusText:d.statusText,headers:E,config:t,request:d};YL(function(O){a(O),l()},function(O){i(O),l()},N),d=null}}if("onloadend"in d?d.onloadend=m:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(m)},d.onabort=function(){!d||(i(M0("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){i(M0("Network Error",t,null,d)),d=null},d.ontimeout=function(){var b=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",N=t.transitional||ZL.transitional;t.timeoutErrorMessage&&(b=t.timeoutErrorMessage),i(M0(b,t,N.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},uo.isStandardBrowserEnv()){var f=(t.withCredentials||QL(p))&&t.xsrfCookieName?HL.read(t.xsrfCookieName):void 0;f&&(r[t.xsrfHeaderName]=f)}"setRequestHeader"in d&&uo.forEach(r,function(b,N){typeof o=="undefined"&&N.toLowerCase()==="content-type"?delete r[N]:d.setRequestHeader(N,b)}),uo.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),s&&s!=="json"&&(d.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&d.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(c=function(E){!d||(i(!E||E&&E.type?new JL("canceled"):E),d.abort(),d=null)},t.cancelToken&&t.cancelToken.subscribe(c),t.signal&&(t.signal.aborted?c():t.signal.addEventListener("abort",c))),o||(o=null),d.send(o)})},wt=Jt,Td=LL,jL=Ed,$L={"Content-Type":"application/x-www-form-urlencoded"};function Md(e,t){!wt.isUndefined(e)&&wt.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function eD(){var e;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(e=Sd),e}function tD(e,t,n){if(wt.isString(e))try{return(t||JSON.parse)(e),wt.trim(e)}catch(a){if(a.name!=="SyntaxError")throw a}return(n||JSON.stringify)(e)}var _o={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:eD(),transformRequest:[function(t,n){return Td(n,"Accept"),Td(n,"Content-Type"),wt.isFormData(t)||wt.isArrayBuffer(t)||wt.isBuffer(t)||wt.isStream(t)||wt.isFile(t)||wt.isBlob(t)?t:wt.isArrayBufferView(t)?t.buffer:wt.isURLSearchParams(t)
//! version : 0.5.34
//! Copyright (c) JS Foundation and other contributors
//! license : MIT
//! github.com/moment/moment-timezone
2021-12-19 11:03:07 +00:00
(function(t,n){e.exports?e.exports=n(OD):n(t.moment)})(b1,function(t){t.version===void 0&&t.default&&(t=t.default);var n="0.5.34",a={},i={},o={},r={},s={},c;(!t||typeof t.version!="string")&&Ce("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var l=t.version.split("."),d=+l[0],u=+l[1];(d<2||d===2&&u<6)&&Ce("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+t.version+". See momentjs.com");function _(L){return L>96?L-87:L>64?L-29:L-48}function p(L){var ee=0,w=L.split("."),H=w[0],fe=w[1]||"",se=1,Je,Be=0,M=1;for(L.charCodeAt(0)===45&&(ee=1,M=-1),ee;ee<H.length;ee++)Je=_(H.charCodeAt(ee)),Be=60*Be+Je;for(ee=0;ee<fe.length;ee++)se=se/60,Je=_(fe.charCodeAt(ee)),Be+=Je*se;return Be*M}function m(L){for(var ee=0;ee<L.length;ee++)L[ee]=p(L[ee])}function f(L,ee){for(var w=0;w<ee;w++)L[w]=Math.round((L[w-1]||0)+L[w]*6e4);L[ee-1]=1/0}function E(L,ee){var w=[],H;for(H=0;H<ee.length;H++)w[H]=L[ee[H]];return w}function b(L){var ee=L.split("|"),w=ee[2].split(" "),H=ee[3].split(""),fe=ee[4].split(" ");return m(w),m(H),m(fe),f(fe,H.length),{name:ee[0],abbrs:E(ee[1].split(" "),H),offsets:E(w,H),untils:fe,population:ee[5]|0}}function N(L){L&&this._set(b(L))}N.prototype={_set:function(L){this.name=L.name,this.abbrs=L.abbrs,this.untils=L.untils,this.offsets=L.offsets,this.population=L.population},_index:function(L){var ee=+L,w=this.untils,H;for(H=0;H<w.length;H++)if(ee<w[H])return H},countries:function(){var L=this.name;return Object.keys(o).filter(function(ee){return o[ee].zones.indexOf(L)!==-1})},parse:function(L){var ee=+L,w=this.offsets,H=this.untils,fe=H.length-1,se,Je,Be,M;for(M=0;M<fe;M++)if(se=w[M],Je=w[M+1],Be=w[M&&M-1],se<Je&&Ne.moveAmbiguousForward?se=Je:se>Be&&Ne.moveInvalidForward&&(se=Be),ee<H[M]-se*6e4)return w[M];return w[fe]},abbr:function(L){return this.abbrs[this._index(L)]},offset:function(L){return Ce("zone.offset has been deprecated in favor of zone.utcOffset"),this.offsets[this._index(L)]},utcOffset:function(L){return this.offsets[this._index(L)]}};function S(L,ee){this.name=L,this.zones=ee}function O(L){var ee=L.toTimeString(),w=ee.match(/\([a-z ]+\)/i);w&&w[0]?(w=w[0].match(/[A-Z]/g),w=w?w.join(""):void 0):(w=ee.match(/[A-Z]{3,5}/g),w=w?w[0]:void 0),w==="GMT"&&(w=void 0),this.at=+L,this.abbr=w,this.offset=L.getTimezoneOffset()}function A(L){this.zone=L,this.offsetScore=0,this.abbrScore=0}A.prototype.scoreOffsetAt=function(L){this.offsetScore+=Math.abs(this.zone.utcOffset(L.at)-L.offset),this.zone.abbr(L.at).replace(/[^A-Z]/g,"")!==L.abbr&&this.abbrScore++};function h(L,ee){for(var w,H;H=((ee.at-L.at)/12e4|0)*6e4;)w=new O(new Date(L.at+H)),w.offset===L.offset?L=w:ee=w;return L}function T(){var L=new Date().getFullYear()-2,ee=new O(new Date(L,0,1)),w=[ee],H,fe,se;for(se=1;se<48;se++)fe=new O(new Date(L,se,1)),fe.offset!==ee.offset&&(H=h(ee,fe),w.push(H),w.push(new O(new Date(H.at+6e4)))),ee=fe;for(se=0;se<4;se++)w.push(new O(new Date(L+se,0,1))),w.push(new O(new Date(L+se,6,1)));return w}function G(L,ee){return L.offsetScore!==ee.offsetScore?L.offsetScore-ee.offsetScore:L.abbrScore!==ee.abbrScore?L.abbrScore-ee.abbrScore:L.zone.population!==ee.zone.population?ee.zone.population-L.zone.population:ee.zone.name.localeCompare(L.zone.name)}function J(L,ee){var w,H;for(m(ee),w=0;w<ee.length;w++)H=ee[w],s[H]=s[H]||{},s[H][L]=!0}function U(L){var ee=L.length,w={},H=[],fe,se,Je;for(fe=0;fe<ee;fe++){Je=s[L[fe].offset]||{};for(se in Je)Je.hasOwnProperty(se)&&(w[se]=!0)}for(fe in w)w.hasOwnProperty(fe)&&H.push(r[fe]);return H}function D(){try{var L=Intl.DateTimeFormat().resolvedOptions().timeZone;if(L&&L.length>3){var ee=r[ge(L)];if(ee)return ee;Ce("Moment Timezone found "+L+" from the Intl api, but did not have that data loaded.")}}catch{}var w=T(),H=w.length,fe=U(w),se=[],Je,Be,M;for(Be=0;Be<fe.length;Be++){for(Je=new A(re(fe[Be]),H),M=0;M<H;M++)Je.scoreOffsetAt(w[M]);se.push(Je)}return se.sort(G),se.length>0?se[0].zone.name:void 0}function ue(L){return(!c||L)&&(c=D()),c}function ge(L){return(L||"").toLowerCase().replace(/\//g,"_")}function Ee(L){var ee,w,H,fe;fo