PluralKit/docs/assets/vendor.349e51ea.js

48 lines
1.5 MiB
JavaScript
Raw Normal View History

2021-12-19 00:00:33 +00:00
var vu=Object.defineProperty,Iu=Object.defineProperties;var yu=Object.getOwnPropertyDescriptors;var Il=Object.getOwnPropertySymbols;var Lu=Object.prototype.hasOwnProperty,Du=Object.prototype.propertyIsEnumerable;var yl=(e,t,n)=>t in e?vu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,kn=(e,t)=>{for(var n in t||(t={}))Lu.call(t,n)&&yl(e,n,t[n]);if(Il)for(var n of Il(t))Du.call(t,n)&&yl(e,n,t[n]);return e},ya=(e,t)=>Iu(e,yu(t));function ue(){}const Ti=e=>e;function B(e,t){for(const n in t)e[n]=t[n];return e}function Ll(e){return e()}function Dl(){return Object.create(null)}function Ge(e){e.forEach(Ll)}function Lt(e){return typeof e=="function"}function Ce(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let _r;function VP(e,t){return _r||(_r=document.createElement("a")),_r.href=t,e===_r.href}function Pu(e){return Object.keys(e).length===0}function zn(e,...t){if(e==null)return ue;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 fe(e,t,n,a){if(e){const i=Pl(e,t,n,a);return e[0](i)}}function Pl(e,t,n,a){return e[1]&&a?B(n.ctx.slice(),e[1](a(t))):n.ctx}function Ee(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 ge(e,t,n,a,i,o){if(i){const r=Pl(t,n,a,o);e.p(r,i)}}function be(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 ve(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 wu(e){const t={};for(const n in e)t[n]=!0;return t}function wl(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:ue}const kl=typeof window!="undefined";let dr=kl?()=>window.performance.now():()=>Date.now(),Wo=kl?e=>requestAnimationFrame(e):ue;const Da=new Set;function zl(e){Da.forEach(t=>{t.c(e)||(Da.delete(t),t.f())}),Da.size!==0&&Wo(zl)}function ur(e){let t;return Da.size===0&&Wo(zl),{promise:new Promise(n=>{Da.add(t={c:e,f:n})}),abort(){Da.delete(t)}}}function De(e,t){e.appendChild(t)}function Bl(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function ku(e){const t=X("style");return zu(Bl(e),t),t}function zu(e,t){De(e.head||e,t)}function q(e,t,n){e.insertBefore(t,n||null)}function x(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 X(e){return document.createElement(e)}function Bn(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ct(e){return document.createTextNode(e)}function at(){return ct(" ")}function _t(){return ct("")}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 Bu(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function Q(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function H(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]:Q(e,a,t[a])}function Yo(e){return e===""?null:+e}function xu(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 xl(e,t){for(let n=0;n<e.options.length;n+=1){const a=e.options[n];a.selected=~t.indexOf(a.__value)}}function Uu(e){const t=e.querySelector(":checked")||e.options[0];return t&&t.__value}let mr;function
`;for(let E=0;E<=1;E+=l){const b=t+(n-t)*o(E);c+=E*100+`%{${r(b,1-b)}}
`}const _=c+`100% {${r(n,1-n)}}
}`,d=`__svelte_${Wu(_)}_${s}`,u=Bl(e);Xo.add(u);const p=u.__svelte_stylesheet||(u.__svelte_stylesheet=ku(e).sheet),m=u.__svelte_rules||(u.__svelte_rules={});m[d]||(m[d]=!0,p.insertRule(`@keyframes ${d} ${_}`,p.cssRules.length));const f=e.style.animation||"";return e.style.animation=`${f?`${f}, `:""}${d} ${a}ms linear ${i}ms 1 both`,fr+=1,d}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||Gu())}function Gu(){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 Yu(e,t,n,a){if(!t)return ue;const i=e.getBoundingClientRect();if(t.left===i.left&&t.right===i.right&&t.top===i.top&&t.bottom===i.bottom)return ue;const{delay:o=0,duration:r=300,easing:s=Ti,start:l=dr()+o,end:c=l+r,tick:_=ue,css:d}=n(e,{from:t,to:i},a);let u=!0,p=!1,m;function f(){d&&(m=Mi(e,0,1,r,o,s,d)),o||(p=!0)}function E(){d&&Ai(e,m),u=!1}return ur(b=>{if(!p&&b>=l&&(p=!0),p&&b>=c&&(_(1,0),E()),!u)return!1;if(p){const O=b-l,S=0+1*s(O/r);_(S,1-S)}return!0}),f(),_(0,1),E}function Hu(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,Xu(e,i)}}function Xu(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 Vu(e){wa().$$.after_update.push(e)}function _a(e){wa().$$.on_destroy.push(e)}function nn(){const e=wa();return(t,n)=>{const a=e.$$.callbacks[t];if(a){const i=Ul(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=[],ql=Promise.resolve();let Ko=!1;function Wl(){Ko||(Ko=!0,ql.then(Gl))}function Un(){return Wl(),ql}function Kt(e){br.push(e)}function Ni(e){Vo.push(e)}let Qo=!1;const Zo=new Set;function Gl(){if(!Qo){Qo=!0;do{for(let e=0;e<Oi.length;e+=1){const t=Oi[e];gr(t),Ku(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 Ku(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 da(e,t,n){e.dispatchEvent(Ul(`${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 k(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 l(){o&&Ai(e,o)}function c(){const{delay:d=0,duration:u=300,easing:p=Ti,tick:m=ue,css:f}=a||jo;f&&(o=Mi(e,0,1,u,d,p,f,s++)),m(0,1);const E=dr()+d,b=E+u;r&&r.abort(),i=!0,Kt(()=>da(e,!0,"start")),r=ur(O=>{if(i){if(O>=b)return m(1,0),da(e,!0,"end"),l(),i=!1;if(O>=E){const S=p((O-E)/u);m(S,1-S)}}return i})}let _=!1;return{start(){_||(_=!0,Ai(e),Lt(a)?(a=a(),Jo().then(c)):c())},invalidate(){_=!1},end(){i&&(l(),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:l=0,duration:c=300,easing:_=Ti,tick:d=ue,css:u}=a||jo;u&&(o=Mi(e,1,0,c,l,_,u));const p=dr()+l,m=p+c;Kt(()=>da(e,!1,"start")),ur(f=>{if(i){if(f>=m)return d(0,1),da(e,!1,"end"),--r.r||Ge(r.c),!1;if(f>=p){const E=_((f-p)/c);d(1-E,E)}}return i})}return Lt(a)?Jo().then(()=>{a=a(),s()}):s(
2021-12-12 11:05:24 +00:00
2021-12-19 00:00:33 +00:00
Occurred in: ${i}`:"",r=ss(e),s=Kl(t)?t(r):t;return`<${r}> ${s}${o}`}const s0=e=>(...t)=>e(_p(...t)),l0=s0(e=>{throw new Error(e)}),Tr=s0(console.warn),c0=4,dp=3,up=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+=c0,np(i)?o+=mp:ap(i)?o+=up:e0(i)?o-=c0+pp:o+=dp,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 _0(e,t){let n,a;const[i]=t.split("?"),o=An(i),r=o[0]==="",s=Ep(e);for(let l=0,c=s.length;l<c;l++){const{route:_}=s[l];let d=!1;const u={},p=b=>ya(kn({},_),{params:u,uri:b});if(_.default){a=p(t);continue}const m=An(_.fullPath),f=Math.max(o.length,m.length);let E=0;for(;E<f;E++){const b=m[E],O=o[E];if(!Vl(b)&&e0(b)){const A=b==="*"?"*":b.slice(1);u[A]=o.slice(E).map(decodeURIComponent).join("/");break}if(Vl(O)){d=!0;break}const S=$l.exec(b);if(S&&!r){const A=decodeURIComponent(O);u[S[1]]=A}else if(b!==O){d=!0;break}}if(!d){n=p(vi(...o.slice(0,E)));break}}return n||a||null}function d0(e,t){return _0([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 c=r.concat(o).join("/");return is((i==="/"?"":"/")+c,a)}const s=r.concat(o),l=[];return s.forEach(c=>{c===".."?l.pop():c!=="."&&l.push(c)}),is(`/${l.join("/")}`,a)}function u0(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]&&l0(ua,`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 p0=e=>e.length===1?"":e;function m0(e){const t=e.indexOf("?"),n=e.indexOf("#"),a=t!==-1,i=n!==-1,o=i?p0(e.substr(n)):"",r=i?e.substr(0,n):e,s=a?p0(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=d0({fullPath:n},vi(...i));return o&&o.uri}const ls="POP",Tp="PUSH",Mp="REPLACE";function cs(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=cs(e),a=ls;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=cs(e),a=ls,i([o])};i([o]);const s=Jl(e,"popstate",r);return()=>{s(),t=t.filter(l=>l!==o)}},navigate(o,r){const{state:s={},replace:l=!1}=r||{};if(a=l?Mp:Tp,Ql(o))r&&Tr(o0,"Navigation options (state or replace) are not supported, when passing a number as the first argument to navigate. They are ignored."),a=ls,e.history.go(o);else{const c=ya(kn({},s),{_key:ju()});try{e.history[l?"replaceState":"pushState"](c,"",o)}catch{e.location[l?"replace":"assign"](o)}}n=cs(e),i()}}}function _s(e,t){return ya(kn({},m0(t)),{state:e})}function Op(e="/"){let t=0,n=[_s(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(_s(a,o))},replaceState(a,i,o){n[t]=_s(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",f0=Ap(Np&&!hp?window:Op()),{navigate:KP}=f0;let Fn=null,E0=!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(){E0=!1}function g0(e){if(!e)return!1;const t="tabindex";try{if(!e.hasAttribute(t)){e.setAttribute(t,"-1");let n;n=Jl(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 b0(e,t=document){return t.
2021-12-12 11:05:24 +00:00
//! version : 2.29.1
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
2021-12-19 00:00:33 +00:00
var Oc;function Se(){return Oc.apply(null,arguments)}function iS(e){Oc=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 dt(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(dt(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 Nc(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)dt(t,n)&&(e[n]=t[n]);return dt(t,"toString")&&(e.toString=t.toString),dt(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Rn(e,t,n,a){return Zc(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=Se.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,Se.updateOffset(this),Os=!1)}function En(e){return e instanceof Ui||e!=null&&e._isAMomentObject!=null}function hc(e){Se.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+e)}function ln(e,t){var n=!0;return ta(function(){if(Se.deprecationHandler!=null&&Se.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])dt(arguments[0],r)&&(i+=r+": "+arguments[0][r]+", ");i=i.slice(0,-2)}else i=arguments[o];a.push(i)}hc(e+`
2021-12-12 11:05:24 +00:00
Arguments: `+Array.prototype.slice.call(a).join("")+`
2021-12-19 00:00:33 +00:00
`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var Rc={};function Cc(e,t){Se.deprecationHandler!=null&&Se.deprecationHandler(e,t),Rc[e]||(hc(t),Rc[e]=!0)}Se.suppressDeprecationWarnings=!1;Se.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)dt(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)dt(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)dt(e,a)&&!dt(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)dt(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 lS(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 ke(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 cS(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function _S(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]=cS(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=vc(t,e.localeData()),Is[t]=Is[t]||_S(t),Is[t](e)):e.localeData().invalidDate()}function vc(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 dS={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 uS(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 cn(e){return typeof e=="string"?Fi[e]||Fi[e.toLowerCase()]:void 0}function ys(e){var t={},n,a;for(a in e)dt(e,a)&&(n=cn(a),n&&(t[n]=e[a]));return t}var Ic={};function Bt(e,t){Ic[e]=t}function MS(e){var t=[],n;for(n in e)dt(e,n)&&t.push({unit:n,priority:Ic[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 _n(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=_n(t)),n}function Ha(e,t){return function(n){return n!=null?(yc(this,e,n),Se.updateOffset(this,t),this):yr(this,e)}}function yr(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function
Se.version="2.29.1";iS(At);Se.fn=ce;Se.min=YT;Se.max=HT;Se.now=XT;Se.utc=Rn;Se.unix=TA;Se.months=AA;Se.isDate=xi;Se.locale=na;Se.invalid=Rr;Se.duration=bn;Se.isMoment=En;Se.weekdays=NA;Se.parseZone=MA;Se.localeData=Hn;Se.isDuration=Wr;Se.monthsShort=OA;Se.weekdaysMin=RA;Se.defineLocale=Bs;Se.updateLocale=MT;Se.locales=AT;Se.weekdaysShort=hA;Se.normalizeUnits=cn;Se.relativeTimeRounding=eO;Se.relativeTimeThreshold=tO;Se.calendarFormat=gM;Se.prototype=ce;Se.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:Se}),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(T){return T.replace(n,`
`).replace(i,"").replace(a," ")},r=function(T,D){var y=T||{};if(D!=null)for(var K in D)Object.prototype.hasOwnProperty.call(D,K)&&(y[K]=D[K]);return y},s=function(T,D){var y=Object.keys(T).filter(function($){var ne=T[$];if(ne==null||ne.match==null)return!1;var Me=ne.order;return(typeof Me!="number"||!isFinite(Me))&&typeof console!="undefined"&&console.warn("simple-markdown: Invalid order for rule `"+$+"`: "+String(Me)),!0});y.sort(function($,ne){var Me=T[$],We=T[ne],qe=Me.order,we=We.order;if(qe!==we)return qe-we;var rt=Me.quality?0:1,pt=We.quality?0:1;return rt!==pt?rt-pt:$<ne?-1:$>ne?1:0});var K,pe=function($,ne){var Me=[];for(ne=ne||K,K=ne;$;){var We=null,qe=null,we=null,rt=NaN,pt=0,bt=y[0],mt=T[bt];do{var $e=mt.order,Ct=ne.prevCapture==null?"":ne.prevCapture[0],tt=mt.match($,ne,Ct);if(tt){var gt=mt.quality?mt.quality(tt,ne,Ct):0;gt<=rt||(We=bt,qe=mt,we=tt,rt=gt)}pt++,bt=y[pt],mt=T[bt]}while(mt&&(!we||mt.order===$e&&mt.quality));if(qe==null||we==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:
`+$);if(we.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(we,pe,ne);Array.isArray(Pt)?Array.prototype.push.apply(Me,Pt):(Pt.type==null&&(Pt.type=We),Me.push(Pt)),ne.prevCapture=we,$=$.substring(ne.prevCapture[0].length)}return Me},V=function($,ne){return K=r(ne,D),!K.inline&&!K.disableAutoBlockNewlines&&($=$+`
2021-12-12 11:05:24 +00:00
2021-12-19 00:00:33 +00:00
`),K.prevCapture=null,pe(o($),K)};return V},l=function(T){var D=function(y,K){return K.inline?T.exec(y):null};return D.regex=T,D},c=function(T){var D=function(y,K){return K.inline?null:T.exec(y)};return D.regex=T,D},_=function(T){var D=function(y,K){return T.exec(y)};return D.regex=T,D},d=typeof Symbol=="function"&&Symbol.for&&Symbol.for("react.element")||60103,u=function(T,D,y){var K={$$typeof:d,type:T,key:D==null?void 0:D,ref:null,props:y,_owner:null};return K},p=function(T,D,y,K){y=y||{},K=typeof K!="undefined"?K:!0;var pe="";for(var V in y){var $=y[V];Object.prototype.hasOwnProperty.call(y,V)&&$&&(pe+=" "+O(V)+'="'+O($)+'"')}var ne="<"+T+pe+">";return K?ne+D+"</"+T+">":ne},m={},f=function(T){if(T==null)return null;try{var D=decodeURIComponent(T).replace(/[^A-Za-z0-9/:]/g,"").toLowerCase();if(D.indexOf("javascript:")===0||D.indexOf("vbscript:")===0||D.indexOf("data:")===0)return null}catch{return null}return T},E=/[<>&"']/g,b={"<":"&lt;",">":"&gt;","&":"&amp;",'"':"&quot;","'":"&#x27;","/":"&#x2F;","`":"&#96;"},O=function(T){return String(T).replace(E,function(D){return b[D]})},S=/\\([^0-9A-Za-z\s])/g,A=function(T){return T.replace(S,"$1")},M=function(T,D,y){var K=y.inline||!1;y.inline=!0;var pe=T(D,y);return y.inline=K,pe},h=function(T,D,y){var K=y.inline||!1;y.inline=!1;var pe=T(D+`
2021-12-12 11:05:24 +00:00
2021-12-19 00:00:33 +00:00
`,y);return y.inline=K,pe},N=function(T,D,y){return{content:M(D,T[1],y)}},J=function(){return{}},te="(?:[*+-]|\\d+\\.)",W="( *)("+te+") +",U=new RegExp("^"+W),Ae=new RegExp(W+"[^\\n]*(?:\\n(?!\\1"+te+` )[^\\n]*)*(
|$)`,"gm"),he=/\n{2,}$/,Le=/^ (?= *`)|(` *) $/g,oe=he,z=/ *\n+$/,F=new RegExp("^( *)("+te+`) [\\s\\S]+?(?:
2021-12-15 12:57:29 +00:00
{2,}(?! )(?!\\1`+te+` )\\n*|\\s*
2021-12-19 00:00:33 +00:00
*$)`),ee=/(?:^|\n)( *)$/,Y=function(){var T=/^ *\| *| *\| *$/g,D=/ *$/,y=/^ *-+: *$/,K=/^ *:-+: *$/,pe=/^ *:-+ *$/,V=function(qe){return y.test(qe)?"right":K.test(qe)?"center":pe.test(qe)?"left":null},$=function(qe,we,rt,pt){pt&&(qe=qe.replace(T,""));var bt=qe.trim().split("|");return bt.map(V)},ne=function(qe,we,rt,pt){var bt=rt.inTable;rt.inTable=!0;var mt=we(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(D,"")),$e[$e.length-1].push(Ct))}),$e},Me=function(qe,we,rt,pt){var bt=qe.trim().split(`
`);return bt.map(function(mt){return ne(mt,we,rt,pt)})},We=function(qe){return function(we,rt,pt){pt.inline=!0;var bt=ne(we[1],rt,pt,qe),mt=$(we[2],rt,pt,qe),$e=Me(we[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*/}}(),_e="(?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*",Re=`\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*`,Ue=/mailto:/i,ie=function(T,D,y){var K=(T[2]||T[1]).replace(/\s+/g," ").toLowerCase();if(D._defs&&D._defs[K]){var pe=D._defs[K];y.target=pe.target,y.title=pe.title}return D._refs=D._refs||{},D._refs[K]=D._refs[K]||[],D._refs[K].push(y),y},ae=0,Ne={Array:{react:function(T,D,y){for(var K=y.key,pe=[],V=0,$=0;V<T.length;V++,$++){y.key=""+V;var ne=T[V];if(ne.type==="text")for(ne={type:"text",content:ne.content};V+1<T.length&&T[V+1].type==="text";V++)ne.content+=T[V+1].content;pe.push(D(ne,y))}return y.key=K,pe},html:function(T,D,y){for(var K="",pe=0;pe<T.length;pe++){var V=T[pe];if(V.type==="text")for(V={type:"text",content:V.content};pe+1<T.length&&T[pe+1].type==="text";pe++)V.content+=T[pe+1].content;K+=D(V,y)}return K}},heading:{order:ae++,match:c(/^ *(#{1,6})([^\n]+?)#* *(?:\n *)+\n/),parse:function(T,D,y){return{level:T[1].length,content:M(D,T[2].trim(),y)}},react:function(T,D,y){return u("h"+T.level,y.key,{children:D(T.content,y)})},html:function(T,D,y){return p("h"+T.level,D(T.content,y))}},nptable:{order:ae++,match:c(Y.NPTABLE_REGEX),parse:Y.parseNpTable,react:null,html:null},lheading:{order:ae++,match:c(/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/),parse:function(T,D,y){return{type:"heading",level:T[2]==="="?1:2,content:M(D,T[1],y)}},react:null,html:null},hr:{order:ae++,match:c(/^( *[-*_]){3,} *(?:\n *)+\n/),parse:J,react:function(T,D,y){return u("hr",y.key,m)},html:function(T,D,y){return"<hr>"}},codeBlock:{order:ae++,match:c(/^(?: [^\n]+\n*)+(?:\n *)+\n/),parse:function(T,D,y){var K=T[0].replace(/^ /gm,"").replace(/\n+$/,"");return{lang:void 0,content:K}},react:function(T,D,y){var K=T.lang?"markdown-code-"+T.lang:void 0;return u("pre",y.key,{children:u("code",null,{className:K,children:T.content})})},html:function(T,D,y){var K=T.lang?"markdown-code-"+T.lang:void 0,pe=p("code",O(T.content),{class:K});return p("pre",pe)}},fence:{order:ae++,match:c(/^ *(`{3,}|~{3,}) *(?:(\S+) *)?\n([\s\S]+?)\n?\1 *(?:\n *)+\n/),parse:function(T,D,y){return{type:"codeBlock",lang:T[2]||void 0,content:T[3]}},react:null,html:null},blockQuote:{order:ae++,match:c(/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/),parse:function(T,D,y){var K=T[0].replace(/^ *> ?/gm,"");return{content:D(K,y)}},react:function(T,D,y){return u("blockquote",y.key,{children:D(T.content,y)})},html:function(T,D,y){return p("blockquote",D(T.content,y))}},list:{order:ae++,match:function(T,D){var y=D.prevCapture==null?"":D.prevCapture[0],K=ee.exec(y),pe=D._list||!D.inline;return K&&pe?(T=K[1]+T,F.exec(T)):null},parse:function(T,D,y){var K=T[2],pe=K.length>1,V=pe?+K:void 0,$=T[0].replace(oe,`
`).match(Ae),ne=!1,Me=$.map(function(We,qe){var we=U.exec(We),rt=we?we[0].length:0,pt=new RegExp("^ {1,"+rt+"}","gm"),bt=We.replace(pt,"").replace(U,""),mt=qe===$.length-1,$e=bt.indexOf(`
2021-12-12 11:05:24 +00:00
2021-12-19 00:00:33 +00:00
`)!==-1,Ct=$e||mt&&ne;ne=Ct;var tt=y.inline,gt=y._list;y._list=!0;var Pt;Ct?(y.inline=!1,Pt=bt.replace(z,`
2021-12-12 11:05:24 +00:00
2021-12-19 00:00:33 +00:00
`)):(y.inline=!0,Pt=bt.replace(z,""));var ra=D(Pt,y);return y.inline=tt,y._list=gt,ra});return{ordered:pe,start:V,items:Me}},react:function(T,D,y){var K=T.ordered?"ol":"ul";return u(K,y.key,{start:T.start,children:T.items.map(function(pe,V){return u("li",""+V,{children:D(pe,y)})})})},html:function(T,D,y){var K=T.items.map(function($){return p("li",D($,y))}).join(""),pe=T.ordered?"ol":"ul",V={start:T.start};return p(pe,K,V)}},def:{order:ae++,match:c(/^ *\[([^\]]+)\]: *<?([^\s>]*)>?(?: +["(]([^\n]+)[")])? *\n(?: *\n)*/),parse:function(T,D,y){var K=T[1].replace(/\s+/g," ").toLowerCase(),pe=T[2],V=T[3];return y._refs&&y._refs[K]&&y._refs[K].forEach(function($){$.target=pe,$.title=V}),y._defs=y._defs||{},y._defs[K]={target:pe,title:V},{def:K,target:pe,title:V}},react:function(){return null},html:function(){return""}},table:{order:ae++,match:c(Y.TABLE_REGEX),parse:Y.parseTable,react:function(T,D,y){var K=function($){return T.align[$]==null?{}:{textAlign:T.align[$]}},pe=T.header.map(function($,ne){return u("th",""+ne,{style:K(ne),scope:"col",children:D($,y)})}),V=T.cells.map(function($,ne){return u("tr",""+ne,{children:$.map(function(Me,We){return u("td",""+We,{style:K(We),children:D(Me,y)})})})});return u("table",y.key,{children:[u("thead","thead",{children:u("tr",null,{children:pe})}),u("tbody","tbody",{children:V})]})},html:function(T,D,y){var K=function(Me){return T.align[Me]==null?"":"text-align:"+T.align[Me]+";"},pe=T.header.map(function(Me,We){return p("th",D(Me,y),{style:K(We),scope:"col"})}).join(""),V=T.cells.map(function(Me){var We=Me.map(function(qe,we){return p("td",D(qe,y),{style:K(we)})}).join("");return p("tr",We)}).join(""),$=p("thead",p("tr",pe)),ne=p("tbody",V);return p("table",$+ne)}},newline:{order:ae++,match:c(/^(?:\n *)*\n/),parse:J,react:function(T,D,y){return`
`},html:function(T,D,y){return`
`}},paragraph:{order:ae++,match:c(/^((?:[^\n]|\n(?! *\n))+)(?:\n *)+\n/),parse:N,react:function(T,D,y){return u("div",y.key,{className:"paragraph",children:D(T.content,y)})},html:function(T,D,y){var K={class:"paragraph"};return p("div",D(T.content,y),K)}},escape:{order:ae++,match:l(/^\\([^0-9A-Za-z\s])/),parse:function(T,D,y){return{type:"text",content:T[1]}},react:null,html:null},tableSeparator:{order:ae++,match:function(T,D){return D.inTable?/^ *\| */.exec(T):null},parse:function(){return{type:"tableSeparator"}},react:function(){return" | "},html:function(){return" &vert; "}},autolink:{order:ae++,match:l(/^<([^: >]+:\/[^ >]+)>/),parse:function(T,D,y){return{type:"link",content:[{type:"text",content:T[1]}],target:T[1]}},react:null,html:null},mailto:{order:ae++,match:l(/^<([^ >]+@[^ >]+)>/),parse:function(T,D,y){var K=T[1],pe=T[1];return Ue.test(pe)||(pe="mailto:"+pe),{type:"link",content:[{type:"text",content:K}],target:pe}},react:null,html:null},url:{order:ae++,match:l(/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/),parse:function(T,D,y){return{type:"link",content:[{type:"text",content:T[1]}],target:T[1],title:void 0}},react:null,html:null},link:{order:ae++,match:l(new RegExp("^\\[("+_e+")\\]\\("+Re+"\\)")),parse:function(T,D,y){var K={content:D(T[1],y),target:A(T[2]),title:T[3]};return K},react:function(T,D,y){return u("a",y.key,{href:f(T.target),title:T.title,children:D(T.content,y)})},html:function(T,D,y){var K={href:f(T.target),title:T.title};return p("a",D(T.content,y),K)}},image:{order:ae++,match:l(new RegExp("^!\\[("+_e+")\\]\\("+Re+"\\)")),parse:function(T,D,y){var K={alt:T[1],target:A(T[2]),title:T[3]};return K},react:function(T,D,y){return u("img",y.key,{src:f(T.target),alt:T.alt,title:T.title})},html:function(T,D,y){var K={src:f(T.target),alt:T.alt,title:T.title};return p("img","",K,!1)}},reflink:{order:ae++,match:l(new RegExp("^\\[("+_e+")\\]\\s*\\[([^\\]]*)\\]")),parse:function(T,D,y){return ie(T,y,{type:"link",content:D(T[1],y)})},react:null,html:null},refimage:{order:ae++,match:l(new RegExp("^!\\[("+_e+")\\]\\s*\\[([^\\]]*)\\]")),parse:function(T,D,y){return ie(T,y,{type:"image",alt:T[1]})},react:null,html:null},em:{order:ae,match:l(new RegExp("^\\b_((?:__|\\\\[\\s\\S]|[^\\\\_])+?)_\\b|^\\*(?=\\S)((?:\\*\\*|\\\\[\\s\\S]|\\s+(?:\\\\[\\s\\S]|[^\\s\\*\\\\]|\\*\\*)|[^\\s\\*\\\\])+?)\\*(?!\\*)")),quality:function(T){return T[0].length+.2},parse:function(T,D,y){return{content:D(T[2]||T[1],y)}},react:function(T,D,y){return u("em",y.key,{children:D(T.content,y)})},html:function(T,D,y){return p("em",D(T.content,y))}},strong:{order:ae,match:l(/^\*\*((?:\\[\s\S]|[^\\])+?)\*\*(?!\*)/),quality:function(T){return T[0].length+.1},parse:N,react:function(T,D,y){return u("strong",y.key,{children:D(T.content,y)})},html:function(T,D,y){return p("strong",D(T.content,y))}},u:{order:ae++,match:l(/^__((?:\\[\s\S]|[^\\])+?)__(?!_)/),quality:function(T){return T[0].length},parse:N,react:function(T,D,y){return u("u",y.key,{children:D(T.content,y)})},html:function(T,D,y){return p("u",D(T.content,y))}},del:{order:ae++,match:l(/^~~(?=\S)((?:\\[\s\S]|~(?!~)|[^\s~\\]|\s(?!~~))+?)~~/),parse:N,react:function(T,D,y){return u("del",y.key,{children:D(T.content,y)})},html:function(T,D,y){return p("del",D(T.content,y))}},inlineCode:{order:ae++,match:l(/^(`+)([\s\S]*?[^`])\1(?!`)/),parse:function(T,D,y){return{content:T[2].replace(Le,"$1")}},react:function(T,D,y){return u("code",y.key,{children:T.content})},html:function(T,D,y){return p("code",O(T.content))}},br:{order:ae++,match:_(/^ {2,}\n/),parse:J,react:function(T,D,y){return u("br",y.key,m)},html:function(T,D,y){return"<br>"}},text:{order:ae++,match:_(/^[\s\S]+?(?=[^0-9A-Za-z\s\u00c0-\uffff]|\n\n| {2,}\n|\w+:\S|$)/),parse:function(T,D,y){return{content:T[0]}},react:function(T,D,y){return T.content},html:function(T,D,y){return O(T.content)}}},Te=function(T,D){!D&&typeof console!="undefined"&&console.warn("simple-markdown ruleOutput should take 'react' or 'html' as the second argument.");var y=function(K,pe,V){return T[K.type][D](K,pe,V)};return y},Z=function(T){var D=function(y,K){if(K=K||{},Arra
https://github.com/highlightjs/highlight.js/issues/2277`),_e=z,Y=F),ee===void 0&&(ee=!0);const Re={code:Y,language:_e};Le("before:highlight",Re);const Ue=Re.result?Re.result:d(Re.language,Re.code,ee);return Ue.code=Re.code,Le("after:highlight",Ue),Ue}function d(z,F,ee,Y){const _e=Object.create(null);function Re(V,$){return V.keywords[$]}function Ue(){if(!re.keywords){ze.addText(T);return}let V=0;re.keywordPatternRe.lastIndex=0;let $=re.keywordPatternRe.exec(T),ne="";for(;$;){ne+=T.substring(V,$.index);const Me=P.case_insensitive?$[0].toLowerCase():$[0],We=Re(re,Me);if(We){const[qe,we]=We;if(ze.addText(ne),ne="",_e[Me]=(_e[Me]||0)+1,_e[Me]<=JO&&(D+=we),qe.startsWith("_"))ne+=$[0];else{const rt=P.classNameAliases[qe]||qe;ze.addKeyword($[0],rt)}}else ne+=$[0];V=re.keywordPatternRe.lastIndex,$=re.keywordPatternRe.exec(T)}ne+=T.substr(V),ze.addText(ne)}function ie(){if(T==="")return;let V=null;if(typeof re.subLanguage=="string"){if(!t[re.subLanguage]){ze.addText(T);return}V=d(re.subLanguage,T,!0,Je[re.subLanguage]),Je[re.subLanguage]=V._top}else V=p(T,re.subLanguage.length?re.subLanguage:null);re.relevance>0&&(D+=V.relevance),ze.addSublanguage(V._emitter,V.language)}function ae(){re.subLanguage!=null?ie():Ue(),T=""}function Ne(V,$){let ne=1;for(;$[ne]!==void 0;){if(!V._emit[ne]){ne++;continue}const Me=P.classNameAliases[V[ne]]||V[ne],We=$[ne];Me?ze.addKeyword(We,Me):(T=We,Ue(),T=""),ne++}}function Te(V,$){return V.scope&&typeof V.scope=="string"&&ze.openNode(P.classNameAliases[V.scope]||V.scope),V.beginScope&&(V.beginScope._wrap?(ze.addKeyword(T,P.classNameAliases[V.beginScope._wrap]||V.beginScope._wrap),T=""):V.beginScope._multi&&(Ne(V.beginScope,$),T="")),re=Object.create(V,{parent:{value:re}}),re}function Z(V,$,ne){let Me=pO(V.endRe,ne);if(Me){if(V["on:end"]){const We=new T1(V);V["on:end"]($,We),We.isMatchIgnored&&(Me=!1)}if(Me){for(;V.endsParent&&V.parent;)V=V.parent;return V}}if(V.endsWithParent)return Z(V.parent,$,ne)}function nt(V){return re.matcher.regexIndex===0?(T+=V[0],1):(pe=!0,0)}function Pe(V){const $=V[0],ne=V.rule,Me=new T1(ne),We=[ne.__beforeBegin,ne["on:begin"]];for(const qe of We)if(!!qe&&(qe(V,Me),Me.isMatchIgnored))return nt($);return ne.skip?T+=$:(ne.excludeBegin&&(T+=$),ae(),!ne.returnBegin&&!ne.excludeBegin&&(T=$)),Te(ne,V),ne.returnBegin?0:$.length}function se(V){const $=V[0],ne=F.substr(V.index),Me=Z(re,V,ne);if(!Me)return k1;const We=re;re.endScope&&re.endScope._wrap?(ae(),ze.addKeyword($,re.endScope._wrap)):re.endScope&&re.endScope._multi?(ae(),Ne(re.endScope,V)):We.skip?T+=$:(We.returnEnd||We.excludeEnd||(T+=$),ae(),We.excludeEnd&&(T=$));do re.scope&&ze.closeNode(),!re.skip&&!re.subLanguage&&(D+=re.relevance),re=re.parent;while(re!==Me.parent);return Me.starts&&Te(Me.starts,V),We.returnEnd?0:$.length}function st(){const V=[];for(let $=re;$!==P;$=$.parent)$.scope&&V.unshift($.scope);V.forEach($=>ze.openNode($))}let L={};function j(V,$){const ne=$&&$[0];if(T+=V,ne==null)return ae(),0;if(L.type==="begin"&&$.type==="end"&&L.index===$.index&&ne===""){if(T+=F.slice($.index,$.index+1),!i){const Me=new Error(`0 width match regex (${z})`);throw Me.languageName=z,Me.badRule=L.rule,Me}return 1}if(L=$,$.type==="begin")return Pe($);if($.type==="illegal"&&!ee){const Me=new Error('Illegal lexeme "'+ne+'" for mode "'+(re.scope||"<unnamed>")+'"');throw Me.mode=re,Me}else if($.type==="end"){const Me=se($);if(Me!==k1)return Me}if($.type==="illegal"&&ne==="")return 1;if(K>1e5&&K>$.index*3)throw new Error("potential infinite loop, way more iterations than matches");return T+=ne,ne.length}const P=te(z);if(!P)throw Ta(o.replace("{}",z)),new Error('Unknown language: "'+z+'"');const G=VO(P);let me="",re=Y||G;const Je={},ze=new s.__emitter(s);st();let T="",D=0,y=0,K=0,pe=!1;try{for(re.matcher.considerAll();;){K++,pe?pe=!1:re.matcher.considerAll(),re.matcher.lastIndex=y;const V=re.matcher.exec(F);if(!V)break;const $=F.substring(y,V.index),ne=j($,V);y=V.index+ne}return j(F.substr(y)),ze.closeAllNodes(),ze.finalize(),me=ze.toHTML(),{language:z,value:me,relevance:D,illegal:!1,_emitter:ze,_top:re}}catch(V){if(V.message&&V.mess
2021-12-12 11:05:24 +00:00
]`,`[\\[\\]\\.,\\+\\-<> \r
2021-12-19 00:00:33 +00:00
]`,{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/}]},l="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+l+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},_={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},d={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(c,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={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=[d,s,n,e.C_BLOCK_COMMENT_MODE,_,c],O={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(u,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,c,_,s,{begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,c,_,s]}]},s,n,e.C_BLOCK_COMMENT_MODE,d]};return{name:"C",aliases:["h"],keywords:E,disableAutodetect:!0,illegal:"</",contains:[].concat(O,S,b,[d,{begin:e.IDENT_RE+"::",keywords:E},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:d,strings:c,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="
`},c]}}var FC=UC;function qC(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},l={className:"symbol",begin:"'"+t+"'"},c=[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:[l]},{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(c)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(c)}}var WC=qC;function GC(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(W=>W+"(?![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
2021-12-12 11:05:24 +00:00
]*?"'`},{begin:`"[^\r
2021-12-19 00:00:33 +00:00
"]*"`}]},{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
2021-12-12 11:05:24 +00:00
(multipart)?`,end:`\\]
2021-12-19 00:00:33 +00:00
`},{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 ll=e=>St(/\b/,e,/\w$/.test(e)?/\b/:/\B/),ry=["Protocol","Type"].map(ll),K1=["init","self"].map(ll),oy=["Any","Self"],cl=["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"],ly=["#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]/),_l=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,"*"),dl=St(/[A-Z]/,io,"*"),cy=["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"],_y=["iOS","iOSApplicationExtension","macOS","macOS
`),function(s){if(o=s.indexOf(":"),a=Sl.trim(s.substr(0,o)).toLowerCase(),i=Sl.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},b_=Jt,GL=b_.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=b_.isString(r)?i(r):r;return s.protocol===a.protocol&&s.host===a.host}}():function(){return function(){return!0}}();function Tl(e){this.message=e}Tl.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};Tl.prototype.__CANCEL__=!0;var co=Tl,_o=Jt,YL=wL,HL=kL,XL=f_,VL=FL,KL=WL,QL=GL,Ml=g_,ZL=po,JL=co,S_=function(t){return new Promise(function(a,i){var o=t.data,r=t.headers,s=t.responseType,l;function c(){t.cancelToken&&t.cancelToken.unsubscribe(l),t.signal&&t.signal.removeEventListener("abort",l)}_o.isFormData(o)&&delete r["Content-Type"];var _=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",u=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.Authorization="Basic "+btoa(d+":"+u)}var p=VL(t.baseURL,t.url);_.open(t.method.toUpperCase(),XL(p,t.params,t.paramsSerializer),!0),_.timeout=t.timeout;function m(){if(!!_){var E="getAllResponseHeaders"in _?KL(_.getAllResponseHeaders()):null,b=!s||s==="text"||s==="json"?_.responseText:_.response,O={data:b,status:_.status,statusText:_.statusText,headers:E,config:t,request:_};YL(function(A){a(A),c()},function(A){i(A),c()},O),_=null}}if("onloadend"in _?_.onloadend=m:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(m)},_.onabort=function(){!_||(i(Ml("Request aborted",t,"ECONNABORTED",_)),_=null)},_.onerror=function(){i(Ml("Network Error",t,null,_)),_=null},_.ontimeout=function(){var b=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",O=t.transitional||ZL.transitional;t.timeoutErrorMessage&&(b=t.timeoutErrorMessage),i(Ml(b,t,O.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",_)),_=null},_o.isStandardBrowserEnv()){var f=(t.withCredentials||QL(p))&&t.xsrfCookieName?HL.read(t.xsrfCookieName):void 0;f&&(r[t.xsrfHeaderName]=f)}"setRequestHeader"in _&&_o.forEach(r,function(b,O){typeof o=="undefined"&&O.toLowerCase()==="content-type"?delete r[O]:_.setRequestHeader(O,b)}),_o.isUndefined(t.withCredentials)||(_.withCredentials=!!t.withCredentials),s&&s!=="json"&&(_.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&_.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&_.upload&&_.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(l=function(E){!_||(i(!E||E&&E.type?new JL("canceled"):E),_.abort(),_=null)},t.cancelToken&&t.cancelToken.subscribe(l),t.signal&&(t.signal.aborted?l():t.signal.addEventListener("abort",l))),o||(o=null),_.send(o)})},wt=Jt,T_=LL,jL=E_,$L={"Content-Type":"application/x-www-form-urlencoded"};function M_(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=S_),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 uo={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:eD(),transformRequest:[function(t,n){return T_(n,"Accept"),T_(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)
2021-12-12 11:05:24 +00:00
//! version : 0.5.34
//! Copyright (c) JS Foundation and other contributors
//! license : MIT
//! github.com/moment/moment-timezone
2021-12-19 00:00:33 +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={},l;(!t||typeof t.version!="string")&&Ne("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var c=t.version.split("."),_=+c[0],d=+c[1];(_<2||_===2&&d<6)&&Ne("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+t.version+". See momentjs.com");function u(L){return L>96?L-87:L>64?L-29:L-48}function p(L){var j=0,P=L.split("."),G=P[0],me=P[1]||"",re=1,Je,ze=0,T=1;for(L.charCodeAt(0)===45&&(j=1,T=-1),j;j<G.length;j++)Je=u(G.charCodeAt(j)),ze=60*ze+Je;for(j=0;j<me.length;j++)re=re/60,Je=u(me.charCodeAt(j)),ze+=Je*re;return ze*T}function m(L){for(var j=0;j<L.length;j++)L[j]=p(L[j])}function f(L,j){for(var P=0;P<j;P++)L[P]=Math.round((L[P-1]||0)+L[P]*6e4);L[j-1]=1/0}function E(L,j){var P=[],G;for(G=0;G<j.length;G++)P[G]=L[j[G]];return P}function b(L){var j=L.split("|"),P=j[2].split(" "),G=j[3].split(""),me=j[4].split(" ");return m(P),m(G),m(me),f(me,G.length),{name:j[0],abbrs:E(j[1].split(" "),G),offsets:E(P,G),untils:me,population:j[5]|0}}function O(L){L&&this._set(b(L))}O.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 j=+L,P=this.untils,G;for(G=0;G<P.length;G++)if(j<P[G])return G},countries:function(){var L=this.name;return Object.keys(o).filter(function(j){return o[j].zones.indexOf(L)!==-1})},parse:function(L){var j=+L,P=this.offsets,G=this.untils,me=G.length-1,re,Je,ze,T;for(T=0;T<me;T++)if(re=P[T],Je=P[T+1],ze=P[T&&T-1],re<Je&&Te.moveAmbiguousForward?re=Je:re>ze&&Te.moveInvalidForward&&(re=ze),j<G[T]-re*6e4)return P[T];return P[me]},abbr:function(L){return this.abbrs[this._index(L)]},offset:function(L){return Ne("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,j){this.name=L,this.zones=j}function A(L){var j=L.toTimeString(),P=j.match(/\([a-z ]+\)/i);P&&P[0]?(P=P[0].match(/[A-Z]/g),P=P?P.join(""):void 0):(P=j.match(/[A-Z]{3,5}/g),P=P?P[0]:void 0),P==="GMT"&&(P=void 0),this.at=+L,this.abbr=P,this.offset=L.getTimezoneOffset()}function M(L){this.zone=L,this.offsetScore=0,this.abbrScore=0}M.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,j){for(var P,G;G=((j.at-L.at)/12e4|0)*6e4;)P=new A(new Date(L.at+G)),P.offset===L.offset?L=P:j=P;return L}function N(){var L=new Date().getFullYear()-2,j=new A(new Date(L,0,1)),P=[j],G,me,re;for(re=1;re<48;re++)me=new A(new Date(L,re,1)),me.offset!==j.offset&&(G=h(j,me),P.push(G),P.push(new A(new Date(G.at+6e4)))),j=me;for(re=0;re<4;re++)P.push(new A(new Date(L+re,0,1))),P.push(new A(new Date(L+re,6,1)));return P}function J(L,j){return L.offsetScore!==j.offsetScore?L.offsetScore-j.offsetScore:L.abbrScore!==j.abbrScore?L.abbrScore-j.abbrScore:L.zone.population!==j.zone.population?j.zone.population-L.zone.population:j.zone.name.localeCompare(L.zone.name)}function te(L,j){var P,G;for(m(j),P=0;P<j.length;P++)G=j[P],s[G]=s[G]||{},s[G][L]=!0}function W(L){var j=L.length,P={},G=[],me,re,Je;for(me=0;me<j;me++){Je=s[L[me].offset]||{};for(re in Je)Je.hasOwnProperty(re)&&(P[re]=!0)}for(me in P)P.hasOwnProperty(me)&&G.push(r[me]);return G}function U(){try{var L=Intl.DateTimeFormat().resolvedOptions().timeZone;if(L&&L.length>3){var j=r[he(L)];if(j)return j;Ne("Moment Timezone found "+L+" from the Intl api, but did not have that data loaded.")}}catch{}var P=N(),G=P.length,me=W(P),re=[],Je,ze,T;for(ze=0;ze<me.length;ze++){for(Je=new M(oe(me[ze]),G),T=0;T<G;T++)Je.scoreOffsetAt(P[T]);re.push(Je)}return re.sort(J),re.length>0?re[0].zone.name:void 0}function Ae(L){return(!l||L)&&(l=U()),l}function he(L){return(L||"").toLowerCase().replace(/\//g,"_")}function Le(L){var j,P,G,me;for(typeof L=="string"&&(L=[L]),j=0;j<L.length;j++)G=L[j].split("|