pan.xlmy.net
Open in
urlscan Pro
40.83.76.5
Public Scan
Submitted URL: http://pan.xlmy.net/assets/index.a0597adf.js
Effective URL: https://pan.xlmy.net/assets/index.a0597adf.js
Submission: On November 09 via api from US — Scanned from DE
Effective URL: https://pan.xlmy.net/assets/index.a0597adf.js
Submission: On November 09 via api from US — Scanned from DE
Form analysis
0 forms found in the DOMText Content
function aU(){import("data:text/javascript,")}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerpolicy&&(a.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?a.credentials="include":i.crossorigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();const mt={};function ta(e){mt.context=e}const Gb=(e,t)=>e===t,Ho=Symbol("solid-proxy"),uh=Symbol("solid-track"),C0={equals:Gb};let Ba=null,Mp=$p;const Po={},Xr=1,Ha=2,Ip={owned:null,cleanups:null,context:null,owner:null},[qb,Jf]=qe(!1);var Tt=null;let Be=null,cn=null,Nl=null,ir=null,jn=null,dh=0;function ra(e,t){const n=cn,r=Tt,i=e.length===0,a=i?Ip:{owned:null,cleanups:null,context:null,owner:t||r},o=i?e:()=>e(()=>As(a));Tt=a,cn=null;try{return Bs(o,!0)}finally{cn=n,Tt=r}}function qe(e,t){t=t?Object.assign({},C0,t):C0;const n={value:e,observers:null,observerSlots:null,pending:Po,comparator:t.equals||void 0},r=i=>(typeof i=="function"&&(Be&&Be.running&&Be.sources.has(n)?i=i(n.pending!==Po?n.pending:n.tValue):i=i(n.pending!==Po?n.pending:n.value)),fh(n,i));return[Pp.bind(n),r]}function Wl(e,t,n){const r=ec(e,t,!0,Xr);$s(r)}function ar(e,t,n){const r=ec(e,t,!1,Xr);$s(r)}function Rn(e,t,n){Mp=Zb;const r=ec(e,t,!1,Xr),i=jo&&a1(Tt,jo.id);i&&(r.suspense=i),r.user=!0,jn?jn.push(r):$s(r)}function vt(e,t,n){n=n?Object.assign({},C0,n):C0;const r=ec(e,t,!0,0);return r.pending=Po,r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,$s(r),Pp.bind(r)}function Rp(e,t,n){arguments.length===2?typeof t=="object"&&(n=t,t=e,e=!0):arguments.length===1&&(t=e,e=!0),n||(n={});const r=new Set,[i,a]=qe(n.initialValue),[o,s]=qe(void 0,{equals:!1}),[l,c]=qe(!1),[u,d]=qe();let f,h=null,m=null,p=null,b=!1,v=!1,x="initialValue"in n,_=typeof e=="function"&&vt(e);mt.context&&(p=`${mt.context.id}${mt.context.count++}`,mt.load&&(m=mt.load(p)));function D(R,L,Q,K){return h===R&&(h=null,x=!0,m&&(R===m||L===m)&&n.onHydrated&&queueMicrotask(()=>n.onHydrated(K,{value:L})),m=null,d(f=Q),Be&&R&&b?(Be.promises.delete(R),b=!1,Bs(()=>{Be.running=!0,Be.promises.size||(jn.push.apply(jn,Be.effects),Be.effects=[]),I(L)},!1)):I(L)),L}function I(R){Uo(()=>{a(()=>R),c(!1);for(const L of r.keys())L.decrement();r.clear()})}function C(){const R=jo&&a1(Tt,jo.id),L=i();if(f)throw f;return cn&&!cn.user&&R&&Wl(()=>{o(),h&&(R.resolved&&Be?Be.promises.add(h):r.has(R)||(R.increment(),r.add(R)))}),L}function w(R=!0){if(R&&v)return;v=!1,d(f=void 0);const L=_?_():e;if(b=Be&&Be.running,L==null||L===!1){D(h,Bn(i));return}Be&&h&&Be.promises.delete(h);const Q=m||Bn(()=>t(L,{value:i(),refetching:R}));return typeof Q!="object"||!("then"in Q)?(D(h,Q),Q):(h=Q,v=!0,queueMicrotask(()=>v=!1),Uo(()=>{c(!0),s()}),Q.then(K=>D(Q,K,void 0,L),K=>D(Q,K,K)))}return Object.defineProperties(C,{loading:{get(){return l()}},error:{get(){return u()}},latest:{get(){if(!x)return C();if(f)throw f;return i()}}}),_?Wl(()=>w(!1)):w(!1),[C,{refetch:w,mutate:a}]}function Uo(e){if(Nl)return e();let t;const n=Nl=[];try{t=e()}finally{Nl=null}return Bs(()=>{for(let r=0;r<n.length;r+=1){const i=n[r];if(i.pending!==Po){const a=i.pending;i.pending=Po,fh(i,a)}}},!1),t}function Bn(e){let t,n=cn;return cn=null,t=e(),cn=n,t}function ia(e,t,n){const r=Array.isArray(e);let i,a=n&&n.defer;return o=>{let s;if(r){s=Array(e.length);for(let c=0;c<e.length;c++)s[c]=e[c]()}else s=e();if(a){a=!1;return}const l=Bn(()=>t(s,i,o));return i=s,l}}function pr(e){Rn(()=>Bn(e))}function Jt(e){return Tt===null||(Tt.cleanups===null?Tt.cleanups=[e]:Tt.cleanups.push(e)),e}function Wb(e){Ba||(Ba=Symbol("error")),Tt===null||(Tt.context===null?Tt.context={[Ba]:[e]}:Tt.context[Ba]?Tt.context[Ba].push(e):Tt.context[Ba]=[e])}function Lp(){return cn}function hh(){return Tt}function Dp(e,t){const n=Tt;Tt=e;try{return Bs(t,!0)}finally{Tt=n}}function Kb(e){if(Be&&Be.running)return e(),Be.done;const t=cn,n=Tt;return Promise.resolve().then(()=>{cn=t,Tt=n;let r;return jo&&(r=Be||(Be={sources:new Set,effects:[],promises:new Set,disposed:new Set,queue:new Set,running:!0}),r.done||(r.done=new Promise(i=>r.resolve=i)),r.running=!0),Uo(e),cn=Tt=null,r?r.done:void 0})}function Vb(){return[qb,Kb]}function Yb(e){jn.push.apply(jn,e),e.length=0}function Kt(e){const t=Symbol("context");return{id:t,Provider:Jb(t),defaultValue:e}}function an(e){let t;return(t=a1(Tt,e.id))!==void 0?t:e.defaultValue}function yi(e){const t=vt(e);return vt(()=>hd(t()))}let jo;function Xb(){return jo||(jo=Kt({}))}function Pp(){const e=Be&&Be.running;if(this.sources&&(!e&&this.state||e&&this.tState)){const t=ir;ir=null,!e&&this.state===Xr||e&&this.tState===Xr?$s(this):A0(this),ir=t}if(cn){const t=this.observers?this.observers.length:0;cn.sources?(cn.sources.push(this),cn.sourceSlots.push(t)):(cn.sources=[this],cn.sourceSlots=[t]),this.observers?(this.observers.push(cn),this.observerSlots.push(cn.sources.length-1)):(this.observers=[cn],this.observerSlots=[cn.sources.length-1])}return e&&Be.sources.has(this)?this.tValue:this.value}function fh(e,t,n){if(Nl)return e.pending===Po&&Nl.push(e),e.pending=t,t;if(e.comparator){if(Be&&Be.running&&Be.sources.has(e)){if(e.comparator(e.tValue,t))return t}else if(e.comparator(e.value,t))return t}let r=!1;return Be?(r=Be.running,(r||!n&&Be.sources.has(e))&&(Be.sources.add(e),e.tValue=t),r||(e.value=t)):e.value=t,e.observers&&e.observers.length&&Bs(()=>{for(let i=0;i<e.observers.length;i+=1){const a=e.observers[i];r&&Be.disposed.has(a)||((r&&!a.tState||!r&&!a.state)&&(a.pure?ir.push(a):jn.push(a),a.observers&&Bp(a)),r?a.tState=Xr:a.state=Xr)}if(ir.length>1e6)throw ir=[],new Error},!1),t}function $s(e){if(!e.fn)return;As(e);const t=Tt,n=cn,r=dh;cn=Tt=e,e5(e,Be&&Be.running&&Be.sources.has(e)?e.tValue:e.value,r),Be&&!Be.running&&Be.sources.has(e)&&queueMicrotask(()=>{Bs(()=>{Be&&(Be.running=!0),e5(e,e.tValue,r)},!1)}),cn=n,Tt=t}function e5(e,t,n){let r;try{r=e.fn(t)}catch(i){zp(i)}(!e.updatedAt||e.updatedAt<=n)&&(e.observers&&e.observers.length?fh(e,r,!0):Be&&Be.running&&e.pure?(Be.sources.add(e),e.tValue=r):e.value=r,e.updatedAt=n)}function ec(e,t,n,r=Xr,i){const a={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:Tt,context:null,pure:n};return Be&&Be.running&&(a.state=0,a.tState=r),Tt===null||Tt!==Ip&&(Be&&Be.running&&Tt.pure?Tt.tOwned?Tt.tOwned.push(a):Tt.tOwned=[a]:Tt.owned?Tt.owned.push(a):Tt.owned=[a]),a}function Ol(e){const t=Be&&Be.running;if(!t&&e.state===0||t&&e.tState===0)return;if(!t&&e.state===Ha||t&&e.tState===Ha)return A0(e);if(e.suspense&&Bn(e.suspense.inFallback))return e.suspense.effects.push(e);const n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<dh);){if(t&&Be.disposed.has(e))return;(!t&&e.state||t&&e.tState)&&n.push(e)}for(let r=n.length-1;r>=0;r--){if(e=n[r],t){let i=e,a=n[r+1];for(;(i=i.owner)&&i!==a;)if(Be.disposed.has(i))return}if(!t&&e.state===Xr||t&&e.tState===Xr)$s(e);else if(!t&&e.state===Ha||t&&e.tState===Ha){const i=ir;ir=null,A0(e,n[0]),ir=i}}}function Bs(e,t){if(ir)return e();let n=!1;t||(ir=[]),jn?n=!0:jn=[],dh++;try{const r=e();return Qb(n),r}catch(r){ir||(jn=null),zp(r)}}function Qb(e){if(ir&&($p(ir),ir=null),e)return;let t;if(Be&&Be.running){if(Be.promises.size||Be.queue.size){Be.running=!1,Be.effects.push.apply(Be.effects,jn),jn=null,Jf(!0);return}const n=Be.sources,r=Be.disposed;t=Be.resolve;for(const i of jn)"tState"in i&&(i.state=i.tState),delete i.tState;Be=null,Uo(()=>{for(const i of r)As(i);for(const i of n){if(i.value=i.tValue,i.owned)for(let a=0,o=i.owned.length;a<o;a++)As(i.owned[a]);i.tOwned&&(i.owned=i.tOwned),delete i.tValue,delete i.tOwned,i.tState=0}Jf(!1)})}jn.length?Uo(()=>{Mp(jn),jn=null}):jn=null,t&&t()}function $p(e){for(let t=0;t<e.length;t++)Ol(e[t])}function Zb(e){let t,n=0;for(t=0;t<e.length;t++){const i=e[t];i.user?e[n++]=i:Ol(i)}mt.context&&ta();const r=e.length;for(t=0;t<n;t++)Ol(e[t]);for(t=r;t<e.length;t++)Ol(e[t])}function A0(e,t){const n=Be&&Be.running;n?e.tState=0:e.state=0;for(let r=0;r<e.sources.length;r+=1){const i=e.sources[r];i.sources&&(!n&&i.state===Xr||n&&i.tState===Xr?i!==t&&Ol(i):(!n&&i.state===Ha||n&&i.tState===Ha)&&A0(i,t))}}function Bp(e){const t=Be&&Be.running;for(let n=0;n<e.observers.length;n+=1){const r=e.observers[n];(!t&&!r.state||t&&!r.tState)&&(t?r.tState=Ha:r.state=Ha,r.pure?ir.push(r):jn.push(r),r.observers&&Bp(r))}}function As(e){let t;if(e.sources)for(;e.sources.length;){const n=e.sources.pop(),r=e.sourceSlots.pop(),i=n.observers;if(i&&i.length){const a=i.pop(),o=n.observerSlots.pop();r<i.length&&(a.sourceSlots[o]=r,i[r]=a,n.observerSlots[r]=o)}}if(Be&&Be.running&&e.pure){if(e.tOwned){for(t=0;t<e.tOwned.length;t++)As(e.tOwned[t]);delete e.tOwned}Fp(e,!0)}else if(e.owned){for(t=0;t<e.owned.length;t++)As(e.owned[t]);e.owned=null}if(e.cleanups){for(t=0;t<e.cleanups.length;t++)e.cleanups[t]();e.cleanups=null}Be&&Be.running?e.tState=0:e.state=0,e.context=null}function Fp(e,t){if(t||(e.tState=0,Be.disposed.add(e)),e.owned)for(let n=0;n<e.owned.length;n++)Fp(e.owned[n])}function zp(e){const t=Ba&&a1(Tt,Ba);if(!t)throw e;for(const n of t)n(e)}function a1(e,t){return e?e.context&&e.context[t]!==void 0?e.context[t]:a1(e.owner,t):void 0}function hd(e){if(typeof e=="function"&&!e.length)return hd(e());if(Array.isArray(e)){const t=[];for(let n=0;n<e.length;n++){const r=hd(e[n]);Array.isArray(r)?t.push.apply(t,r):t.push(r)}return t}return e}function Jb(e){return function(n){let r;return Wl(()=>r=Bn(()=>(Tt.context={[e]:n.value},yi(()=>n.children)))),r}}const fd=Symbol("fallback");function k0(e){for(let t=0;t<e.length;t++)e[t]()}function ev(e,t,n={}){let r=[],i=[],a=[],o=0,s=t.length>1?[]:null;return Jt(()=>k0(a)),()=>{let l=e()||[],c,u;return l[uh],Bn(()=>{let f=l.length,h,m,p,b,v,x,_,D,I;if(f===0)o!==0&&(k0(a),a=[],r=[],i=[],o=0,s&&(s=[])),n.fallback&&(r=[fd],i[0]=ra(C=>(a[0]=C,n.fallback())),o=1);else if(o===0){for(i=new Array(f),u=0;u<f;u++)r[u]=l[u],i[u]=ra(d);o=f}else{for(p=new Array(f),b=new Array(f),s&&(v=new Array(f)),x=0,_=Math.min(o,f);x<_&&r[x]===l[x];x++);for(_=o-1,D=f-1;_>=x&&D>=x&&r[_]===l[D];_--,D--)p[D]=i[_],b[D]=a[_],s&&(v[D]=s[_]);for(h=new Map,m=new Array(D+1),u=D;u>=x;u--)I=l[u],c=h.get(I),m[u]=c===void 0?-1:c,h.set(I,u);for(c=x;c<=_;c++)I=r[c],u=h.get(I),u!==void 0&&u!==-1?(p[u]=i[c],b[u]=a[c],s&&(v[u]=s[c]),u=m[u],h.set(I,u)):a[c]();for(u=x;u<f;u++)u in p?(i[u]=p[u],a[u]=b[u],s&&(s[u]=v[u],s[u](u))):i[u]=ra(d);i=i.slice(0,o=f),r=l.slice(0)}return i});function d(f){if(a[u]=f,s){const[h,m]=qe(u);return s[u]=m,t(l[u],h)}return t(l[u])}}}function tv(e,t,n={}){let r=[],i=[],a=[],o=[],s=0,l;return Jt(()=>k0(a)),()=>{const c=e()||[];return c[uh],Bn(()=>{if(c.length===0)return s!==0&&(k0(a),a=[],r=[],i=[],s=0,o=[]),n.fallback&&(r=[fd],i[0]=ra(d=>(a[0]=d,n.fallback())),s=1),i;for(r[0]===fd&&(a[0](),a=[],r=[],i=[],s=0),l=0;l<c.length;l++)l<r.length&&r[l]!==c[l]?o[l](()=>c[l]):l>=r.length&&(i[l]=ra(u));for(;l<r.length;l++)a[l]();return s=o.length=a.length=c.length,r=c.slice(0),i=i.slice(0,s)});function u(d){a[l]=d;const[f,h]=qe(c[l]);return o[l]=h,t(f,l)}}}function A(e,t){return Bn(()=>e(t||{}))}function M1(){return!0}const Hp={get(e,t,n){return t===Ho?n:e.get(t)},has(e,t){return e.has(t)},set:M1,deleteProperty:M1,getOwnPropertyDescriptor(e,t){return{configurable:!0,enumerable:!0,get(){return e.get(t)},set:M1,deleteProperty:M1}},ownKeys(e){return e.keys()}};function eu(e){return(e=typeof e=="function"?e():e)==null?{}:e}function ie(...e){return new Proxy({get(t){for(let n=e.length-1;n>=0;n--){const r=eu(e[n])[t];if(r!==void 0)return r}},has(t){for(let n=e.length-1;n>=0;n--)if(t in eu(e[n]))return!0;return!1},keys(){const t=[];for(let n=0;n<e.length;n++)t.push(...Object.keys(eu(e[n])));return[...new Set(t)]}},Hp)}function xe(e,...t){const n=new Set(t.flat()),r=Object.getOwnPropertyDescriptors(e),i=t.map(a=>{const o={};for(let s=0;s<a.length;s++){const l=a[s];Object.defineProperty(o,l,r[l]?r[l]:{get(){return e[l]},set(){return!0}})}return o});return i.push(new Proxy({get(a){return n.has(a)?void 0:e[a]},has(a){return n.has(a)?!1:a in e},keys(){return Object.keys(e).filter(a=>!n.has(a))}},Hp)),i}function tc(e){let t,n;const r=i=>{const a=mt.context;if(a){const[s,l]=qe();(n||(n=e())).then(c=>{ta(a),l(()=>c.default),ta()}),t=s}else if(t){const s=t();if(s)return s(i)}else{const[s]=Rp(()=>(n||(n=e())).then(l=>l.default));t=s}let o;return vt(()=>(o=t())&&Bn(()=>{if(!a)return o(i);const s=mt.context;ta(a);const l=o(i);return ta(s),l}))};return r.preload=()=>n||((n=e()).then(i=>t=()=>i.default),n),r}let nv=0;function Dr(){const e=mt.context;return e?`${e.id}${e.count++}`:`cl-${nv++}`}function Fs(e){const t="fallback"in e&&{fallback:()=>e.fallback};return vt(ev(()=>e.each,e.children,t||void 0))}function oU(e){const t="fallback"in e&&{fallback:()=>e.fallback};return vt(tv(()=>e.each,e.children,t||void 0))}function We(e){let t=!1;const n=vt(()=>e.when,void 0,{equals:(r,i)=>t?r===i:!r==!i});return vt(()=>{const r=n();if(r){const i=e.children;return(t=typeof i=="function"&&i.length>0)?Bn(()=>i(r)):i}return e.fallback})}function nc(e){let t=!1;const n=yi(()=>e.children),r=vt(()=>{let i=n();Array.isArray(i)||(i=[i]);for(let a=0;a<i.length;a++){const o=i[a].when;if(o)return[a,o,i[a]]}return[-1]},void 0,{equals:(i,a)=>i[0]===a[0]&&(t?i[1]===a[1]:!i[1]==!a[1])&&i[2]===a[2]});return vt(()=>{const[i,a,o]=r();if(i<0)return e.fallback;const s=o.children;return(t=typeof s=="function"&&s.length>0)?Bn(()=>s(a)):s})}function aa(e){return e}let gs;const Tl={};function rv(){gs&&[...gs].forEach(e=>e(Tl))}function iv(e){let t=Tl;mt.context&&mt.load&&(t=mt.load(mt.context.id+mt.context.count)||Tl);const[n,r]=qe(t);return gs||(gs=new Set),gs.add(r),Jt(()=>gs.delete(r)),vt(()=>{let i;if((i=n())!==Tl){const a=e.fallback;return typeof a=="function"&&a.length?Bn(()=>a(i,()=>r(Tl))):a}return Wb(r),e.children})}const av=Kt();function ov(e){let t=0,n,r,i,a,o,s;const[l,c]=qe(!1),u=Xb(),d={increment:()=>{++t===1&&c(!0)},decrement:()=>{--t===0&&c(!1)},inFallback:l,effects:[],resolved:!1},f=hh();if(mt.context&&mt.load){const p=mt.context.id+mt.context.count;if(a=mt.load(p),a){(typeof a!="object"||!("then"in a))&&(a=Promise.resolve(a));const[b,v]=qe(void 0,{equals:!1});o=b,a.then(x=>{if((s=x)||mt.done)return v();mt.gather(p),ta(i),v(),ta()})}else a===null&&mt.gather(p)}const h=an(av);h&&([n,r]=h.register(d.inFallback));let m;return Jt(()=>m&&m()),A(u.Provider,{value:d,get children(){return vt(()=>{if(s)throw s;if(i=mt.context,o)return o(),o=void 0;i&&a===void 0&&ta();const p=vt(()=>e.children);return vt(()=>{const b=d.inFallback(),v=n?n():!0,x=r?r():!0;if(m&&m(),(!b||a!==void 0)&&v)return d.resolved=!0,i=a=void 0,Yb(d.effects),p();if(!!x)return ra(_=>(m=_,i&&(ta({id:i.id+"f",count:0}),i=void 0),e.fallback),f)})})}})}const sv=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected"],lv=new Set(["className","value","readOnly","formNoValidate","isMap","noModule","playsInline",...sv]),cv=new Set(["innerHTML","textContent","innerText","children"]),uv={className:"class",htmlFor:"for"},t5={class:"className",formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly"},dv=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),hv=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),fv={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"};function bi(e,t){return vt(e,void 0,t?void 0:{equals:t})}function mv(e,t,n){let r=n.length,i=t.length,a=r,o=0,s=0,l=t[i-1].nextSibling,c=null;for(;o<i||s<a;){if(t[o]===n[s]){o++,s++;continue}for(;t[i-1]===n[a-1];)i--,a--;if(i===o){const u=a<r?s?n[s-1].nextSibling:n[a-s]:l;for(;s<a;)e.insertBefore(n[s++],u)}else if(a===s)for(;o<i;)(!c||!c.has(t[o]))&&t[o].remove(),o++;else if(t[o]===n[a-1]&&n[s]===t[i-1]){const u=t[--i].nextSibling;e.insertBefore(n[s++],t[o++].nextSibling),e.insertBefore(n[--a],u),t[i]=n[a]}else{if(!c){c=new Map;let d=s;for(;d<a;)c.set(n[d],d++)}const u=c.get(t[o]);if(u!=null)if(s<u&&u<a){let d=o,f=1,h;for(;++d<i&&d<a&&!((h=c.get(t[d]))==null||h!==u+f);)f++;if(f>u-s){const m=t[o];for(;s<u;)e.insertBefore(n[s++],m)}else e.replaceChild(n[s++],t[o++])}else o++;else t[o++].remove()}}}const n5="_$DX_DELEGATE";function pv(e,t,n){let r;return ra(i=>{r=i,t===document?e():vi(t,e(),t.firstChild?null:void 0,n)}),()=>{r(),t.textContent=""}}function en(e,t,n){const r=document.createElement("template");r.innerHTML=e;let i=r.content.firstChild;return n&&(i=i.firstChild),i}function gv(e,t=window.document){const n=t[n5]||(t[n5]=new Set);for(let r=0,i=e.length;r<i;r++){const a=e[r];n.has(a)||(n.add(a),t.addEventListener(a,xv))}}function wt(e,t,n){n==null?e.removeAttribute(t):e.setAttribute(t,n)}function bv(e,t,n,r){r==null?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,r)}function Up(e,t){t==null?e.removeAttribute("class"):e.className=t}function vv(e,t,n,r){if(r)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){const i=n[0];e.addEventListener(t,n[0]=a=>i.call(e,n[1],a))}else e.addEventListener(t,n)}function yv(e,t,n={}){const r=Object.keys(t||{}),i=Object.keys(n);let a,o;for(a=0,o=i.length;a<o;a++){const s=i[a];!s||s==="undefined"||t[s]||(r5(e,s,!1),delete n[s])}for(a=0,o=r.length;a<o;a++){const s=r[a],l=!!t[s];!s||s==="undefined"||n[s]===l||!l||(r5(e,s,!0),n[s]=l)}return n}function jp(e,t,n={}){const r=e.style,i=typeof n=="string";if(t==null&&i||typeof t=="string")return r.cssText=t;i&&(r.cssText=void 0,n={}),t||(t={});let a,o;for(o in n)t[o]==null&&r.removeProperty(o),delete n[o];for(o in t)a=t[o],a!==n[o]&&(r.setProperty(o,a),n[o]=a);return n}function N0(e,t,n,r){typeof t=="function"?ar(i=>a5(e,t(),i,n,r)):a5(e,t,void 0,n,r)}function vi(e,t,n,r){if(n!==void 0&&!r&&(r=[]),typeof t!="function")return ks(e,t,r,n);ar(i=>ks(e,t(),i,n),r)}function Tv(e,t,n,r,i={},a=!1){t||(t={});for(const o in i)if(!(o in t)){if(o==="children")continue;i5(e,o,null,i[o],n,a)}for(const o in t){if(o==="children"){r||ks(e,t.children);continue}const s=t[o];i[o]=i5(e,o,s,i[o],n,a)}}function Ev(e){let t,n;return!mt.context||!(t=mt.registry.get(n=Sv()))?e.cloneNode(!0):(mt.completed&&mt.completed.add(t),mt.registry.delete(n),t)}function _v(e){return e.toLowerCase().replace(/-([a-z])/g,(t,n)=>n.toUpperCase())}function r5(e,t,n){const r=t.trim().split(/\s+/);for(let i=0,a=r.length;i<a;i++)e.classList.toggle(r[i],n)}function i5(e,t,n,r,i,a){let o,s,l;if(t==="style")return jp(e,n,r);if(t==="classList")return yv(e,n,r);if(n===r)return r;if(t==="ref")a||n(e);else if(t.slice(0,3)==="on:"){const c=t.slice(3);r&&e.removeEventListener(c,r),n&&e.addEventListener(c,n)}else if(t.slice(0,10)==="oncapture:"){const c=t.slice(10);r&&e.removeEventListener(c,r,!0),n&&e.addEventListener(c,n,!0)}else if(t.slice(0,2)==="on"){const c=t.slice(2).toLowerCase(),u=dv.has(c);if(!u&&r){const d=Array.isArray(r)?r[0]:r;e.removeEventListener(c,d)}(u||n)&&(vv(e,c,n,u),u&&gv([c]))}else if((l=cv.has(t))||!i&&(t5[t]||(s=lv.has(t)))||(o=e.nodeName.includes("-")))t==="class"||t==="className"?Up(e,n):o&&!s&&!l?e[_v(t)]=n:e[t5[t]||t]=n;else{const c=i&&t.indexOf(":")>-1&&fv[t.split(":")[0]];c?bv(e,c,t,n):wt(e,uv[t]||t,n)}return n}function xv(e){const t=`$$${e.type}`;let n=e.composedPath&&e.composedPath()[0]||e.target;for(e.target!==n&&Object.defineProperty(e,"target",{configurable:!0,value:n}),Object.defineProperty(e,"currentTarget",{configurable:!0,get(){return n||document}}),mt.registry&&!mt.done&&(mt.done=!0,document.querySelectorAll("[id^=pl-]").forEach(r=>r.remove()));n!==null;){const r=n[t];if(r&&!n.disabled){const i=n[`${t}Data`];if(i!==void 0?r.call(n,i,e):r.call(n,e),e.cancelBubble)return}n=n.host&&n.host!==n&&n.host instanceof Node?n.host:n.parentNode}}function a5(e,t,n={},r,i){return t||(t={}),!i&&"children"in t&&ar(()=>n.children=ks(e,t.children,n.children)),t.ref&&t.ref(e),ar(()=>Tv(e,t,r,!0,n,!0)),n}function ks(e,t,n,r,i){for(mt.context&&!n&&(n=[...e.childNodes]);typeof n=="function";)n=n();if(t===n)return n;const a=typeof t,o=r!==void 0;if(e=o&&n[0]&&n[0].parentNode||e,a==="string"||a==="number"){if(mt.context)return n;if(a==="number"&&(t=t.toString()),o){let s=n[0];s&&s.nodeType===3?s.data=t:s=document.createTextNode(t),n=is(e,n,r,s)}else n!==""&&typeof n=="string"?n=e.firstChild.data=t:n=e.textContent=t}else if(t==null||a==="boolean"){if(mt.context)return n;n=is(e,n,r)}else{if(a==="function")return ar(()=>{let s=t();for(;typeof s=="function";)s=s();n=ks(e,s,n,r)}),()=>n;if(Array.isArray(t)){const s=[],l=n&&Array.isArray(n);if(md(s,t,n,i))return ar(()=>n=ks(e,s,n,r,!0)),()=>n;if(mt.context){for(let c=0;c<s.length;c++)if(s[c].parentNode)return n=s}if(s.length===0){if(n=is(e,n,r),o)return n}else l?n.length===0?o5(e,s,r):mv(e,n,s):(n&&is(e),o5(e,s));n=s}else if(t instanceof Node){if(mt.context&&t.parentNode)return n=o?[t]:t;if(Array.isArray(n)){if(o)return n=is(e,n,r,t);is(e,n,null,t)}else n==null||n===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}}return n}function md(e,t,n,r){let i=!1;for(let a=0,o=t.length;a<o;a++){let s=t[a],l=n&&n[a];if(s instanceof Node)e.push(s);else if(!(s==null||s===!0||s===!1))if(Array.isArray(s))i=md(e,s,l)||i;else if(typeof s=="function")if(r){for(;typeof s=="function";)s=s();i=md(e,Array.isArray(s)?s:[s],l)||i}else e.push(s),i=!0;else{const c=String(s);l&&l.nodeType===3&&l.data===c?e.push(l):e.push(document.createTextNode(c))}}return i}function o5(e,t,n){for(let r=0,i=t.length;r<i;r++)e.insertBefore(t[r],n)}function is(e,t,n,r){if(n===void 0)return e.textContent="";const i=r||document.createTextNode("");if(t.length){let a=!1;for(let o=t.length-1;o>=0;o--){const s=t[o];if(i!==s){const l=s.parentNode===e;!a&&!o?l?e.replaceChild(i,s):e.insertBefore(i,n):l&&s.remove()}else a=!0}}else e.insertBefore(i,n);return[i]}function Sv(){const e=mt.context;return`${e.id}${e.count++}`}const wv="http://www.w3.org/2000/svg";function Gp(e,t=!1){return t?document.createElementNS(wv,e):document.createElement(e)}function ro(e){const{useShadow:t}=e,n=document.createTextNode(""),r=e.mount||document.body;function i(){if(mt.context){const[a,o]=qe(!1);return queueMicrotask(()=>o(!0)),()=>a()&&e.children}else return()=>e.children}if(r instanceof HTMLHeadElement){const[a,o]=qe(!1),s=()=>o(!0);ra(l=>vi(r,()=>a()?l():i()(),null)),Jt(()=>{mt.context?queueMicrotask(s):s()})}else{const a=Gp(e.isSVG?"g":"div",e.isSVG),o=t&&a.attachShadow?a.attachShadow({mode:"open"}):a;Object.defineProperty(a,"host",{get(){return n.parentNode}}),vi(o,i()),r.appendChild(a),e.ref&&e.ref(a),Jt(()=>r.removeChild(a))}return n}function mh(e){const[t,n]=xe(e,["component"]),r=vt(()=>t.component);return vt(()=>{const i=r();switch(typeof i){case"function":return Bn(()=>i(n));case"string":const a=hv.has(i),o=mt.context?Ev():Gp(i,a);return N0(o,n,a),o}})}function Cv(e,t,n){return e.addEventListener(t,n),()=>e.removeEventListener(t,n)}function Av([e,t],n,r){return[n?()=>n(e()):e,r?i=>t(r(i)):t]}function kv(e){try{return document.querySelector(e)}catch{return null}}function Nv(e,t){const n=kv(`#${e}`);n?n.scrollIntoView():t&&window.scrollTo(0,0)}function Ov(e,t,n,r){let i=!1;const a=s=>typeof s=="string"?{value:s}:s,o=Av(qe(a(e()),{equals:(s,l)=>s.value===l.value}),void 0,s=>(!i&&t(s),s));return n&&Jt(n((s=e())=>{i=!0,o[1](a(s)),i=!1})),{signal:o,utils:r}}function Mv(e){if(e){if(Array.isArray(e))return{signal:e}}else return{signal:qe({value:""})};return e}function Iv(){return Ov(()=>({value:window.location.pathname+window.location.search+window.location.hash,state:history.state}),({value:e,replace:t,scroll:n,state:r})=>{t?window.history.replaceState(r,"",e):window.history.pushState(r,"",e),Nv(window.location.hash.slice(1),n)},e=>Cv(window,"popstate",()=>e()),{go:e=>window.history.go(e)})}const Rv=/^(?:[a-z0-9]+:)?\/\//i,Lv=/^\/+|\/+$/g;function Ml(e,t=!1){const n=e.replace(Lv,"");return n?t||/^[?#]/.test(n)?n:"/"+n:""}function h0(e,t,n){if(Rv.test(t))return;const r=Ml(e),i=n&&Ml(n);let a="";return!i||t.startsWith("/")?a=r:i.toLowerCase().indexOf(r.toLowerCase())!==0?a=r+i:a=i,(a||"/")+Ml(t,!a)}function Dv(e,t){if(e==null)throw new Error(t);return e}function qp(e,t){return Ml(e).replace(/\/*(\*.*)?$/g,"")+Ml(t)}function Pv(e){const t={};return e.searchParams.forEach((n,r)=>{t[r]=n}),t}function Il(e,t){return decodeURIComponent(t?e.replace(/\+/g," "):e)}function $v(e,t){const[n,r]=e.split("/*",2),i=n.split("/").filter(Boolean),a=i.length;return o=>{const s=o.split("/").filter(Boolean),l=s.length-a;if(l<0||l>0&&r===void 0&&!t)return null;const c={path:a?"":"/",params:{}};for(let u=0;u<a;u++){const d=i[u],f=s[u];if(d[0]===":")c.params[d.slice(1)]=f;else if(d.localeCompare(f,void 0,{sensitivity:"base"})!==0)return null;c.path+=`/${f}`}return r&&(c.params[r]=l?s.slice(-l).join("/"):""),c}}function Bv(e){const[t,n]=e.pattern.split("/*",2),r=t.split("/").filter(Boolean);return r.reduce((i,a)=>i+(a.startsWith(":")?2:3),r.length-(n===void 0?0:1))}function Wp(e){const t=new Map,n=hh();return new Proxy({},{get(r,i){return t.has(i)||Dp(n,()=>t.set(i,vt(()=>e()[i]))),t.get(i)()},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},ownKeys(){return Reflect.ownKeys(e())}})}function Fv(e,t){const n=new URLSearchParams(e);Object.entries(t).forEach(([i,a])=>{a==null||a===""?n.delete(i):n.set(i,String(a))});const r=n.toString();return r?`?${r}`:""}function Kp(e){let t=/(\/?\:[^\/]+)\?/.exec(e);if(!t)return[e];let n=e.slice(0,t.index),r=e.slice(t.index+t[0].length);const i=[n,n+=t[1]];for(;t=/^(\/\:[^\/]+)\?/.exec(r);)i.push(n+=t[1]),r=r.slice(t[0].length);return Kp(r).reduce((a,o)=>[...a,...i.map(s=>s+o)],[])}const zv=100,Vp=Kt(),rc=Kt(),zs=()=>Dv(an(Vp),"Make sure your app is wrapped in a <Router />");let Kl;const ic=()=>Kl||an(rc)||zs().base,Hv=e=>{const t=ic();return vt(()=>t.resolvePath(e()))},Uv=e=>{const t=zs();return vt(()=>{const n=e();return n!==void 0?t.renderPath(n):n})},Yp=()=>zs().navigatorFactory(),Xp=()=>zs().location,jv=()=>zs().isRouting,Gv=()=>ic().params,qv=()=>{const e=Xp(),t=Yp(),n=(r,i)=>{const a=Bn(()=>Fv(e.search,r));t(a,{scroll:!1,...i,resolve:!0})};return[e.query,n]};function Wv(e,t="",n){const{component:r,data:i,children:a}=e,o=!a||Array.isArray(a)&&!a.length,s={key:e,element:r?()=>A(r,{}):()=>{const{element:l}=e;return l===void 0&&n?A(n,{}):l},preload:e.component?r.preload:e.preload,data:i};return Qp(e.path).reduce((l,c)=>{for(const u of Kp(c)){const d=qp(t,u),f=o?d:d.split("/*",1)[0];l.push({...s,originalPath:u,pattern:f,matcher:$v(f,!o)})}return l},[])}function Kv(e,t=0){return{routes:e,score:Bv(e[e.length-1])*1e4-t,matcher(n){const r=[];for(let i=e.length-1;i>=0;i--){const a=e[i],o=a.matcher(n);if(!o)return null;r.unshift({...o,route:a})}return r}}}function Qp(e){return Array.isArray(e)?e:[e]}function Zp(e,t="",n,r=[],i=[]){const a=Qp(e);for(let o=0,s=a.length;o<s;o++){const l=a[o];if(l&&typeof l=="object"&&l.hasOwnProperty("path")){const c=Wv(l,t,n);for(const u of c){if(r.push(u),l.children)Zp(l.children,u.pattern,n,r,i);else{const d=Kv([...r],i.length);i.push(d)}r.pop()}}}return r.length?i:i.sort((o,s)=>s.score-o.score)}function Vv(e,t){for(let n=0,r=e.length;n<r;n++){const i=e[n].matcher(t);if(i)return i}return[]}function Yv(e,t){const n=new URL("http://sar"),r=vt(l=>{const c=e();try{return new URL(c,n)}catch{return console.error(`Invalid path ${c}`),l}},n,{equals:(l,c)=>l.href===c.href}),i=vt(()=>Il(r().pathname)),a=vt(()=>Il(r().search,!0)),o=vt(()=>Il(r().hash)),s=vt(()=>"");return{get pathname(){return i()},get search(){return a()},get hash(){return o()},get state(){return t()},get key(){return s()},query:Wp(ia(a,()=>Pv(r())))}}function Xv(e,t="",n,r){const{signal:[i,a],utils:o={}}=Mv(e),s=o.parsePath||(w=>w),l=o.renderPath||(w=>w),c=h0("",t),u=void 0;if(c===void 0)throw new Error(`${c} is not a valid base path`);c&&!i().value&&a({value:c,replace:!0,scroll:!1});const[d,f]=Vb(),[h,m]=qe(i().value),[p,b]=qe(i().state),v=Yv(h,p),x=[],_={pattern:c,params:{},path:()=>c,outlet:()=>null,resolvePath(w){return h0(c,w)}};if(n)try{Kl=_,_.data=n({data:void 0,params:{},location:v,navigate:I(_)})}finally{Kl=void 0}function D(w,R,L){Bn(()=>{if(typeof R=="number"){R&&(o.go?o.go(R):console.warn("Router integration does not support relative routing"));return}const{replace:Q,resolve:K,scroll:J,state:oe}={replace:!1,resolve:!0,scroll:!0,...L},se=K?w.resolvePath(R):h0("",R);if(se===void 0)throw new Error(`Path '${R}' is not a routable path`);if(x.length>=zv)throw new Error("Too many redirects");const de=h();if(se!==de||oe!==p()){const U=x.push({value:de,replace:Q,scroll:J,state:p()});f(()=>{m(se),b(oe),rv()}).then(()=>{x.length===U&&C({value:se,state:oe})})}})}function I(w){return w=w||an(rc)||_,(R,L)=>D(w,R,L)}function C(w){const R=x[0];R&&((w.value!==R.value||w.state!==R.state)&&a({...w,replace:R.replace,scroll:R.scroll}),x.length=0)}ar(()=>{const{value:w,state:R}=i();Bn(()=>{w!==h()&&f(()=>{m(w),b(R)})})});{let w=function(L){return L.namespaceURI==="http://www.w3.org/2000/svg"},R=function(L){if(L.defaultPrevented||L.button!==0||L.metaKey||L.altKey||L.ctrlKey||L.shiftKey)return;const Q=L.composedPath().find(Ge=>Ge instanceof Node&&Ge.nodeName.toUpperCase()==="A");if(!Q)return;const K=w(Q),J=K?Q.href.baseVal:Q.href;if((K?Q.target.baseVal:Q.target)||!J&&!Q.hasAttribute("state"))return;const se=(Q.getAttribute("rel")||"").split(/\s+/);if(Q.hasAttribute("download")||se&&se.includes("external"))return;const de=K?new URL(J,document.baseURI):new URL(J),U=de.pathname;if(de.origin!==window.location.origin||c&&U&&!U.toLowerCase().startsWith(c.toLowerCase()))return;const De=s(U+Il(de.search,!0)+Il(de.hash)),ne=Q.getAttribute("state");L.preventDefault(),D(_,De,{resolve:!1,replace:Q.hasAttribute("replace"),scroll:!Q.hasAttribute("noscroll"),state:ne&&JSON.parse(ne)})};document.addEventListener("click",R),Jt(()=>document.removeEventListener("click",R))}return{base:_,out:u,location:v,isRouting:d,renderPath:l,parsePath:s,navigatorFactory:I}}function Qv(e,t,n,r){const{base:i,location:a,navigatorFactory:o}=e,{pattern:s,element:l,preload:c,data:u}=r().route,d=vt(()=>r().path),f=Wp(()=>r().params);c&&c();const h={parent:t,pattern:s,get child(){return n()},path:d,params:f,data:t.data,outlet:l,resolvePath(m){return h0(i.path(),m,d())}};if(u)try{Kl=h,h.data=u({data:t.data,params:f,location:a,navigate:o(h)})}finally{Kl=void 0}return h}const Zv=en("<a></a>"),Jv=e=>{const{source:t,url:n,base:r,data:i,out:a}=e,o=t||Iv(),s=Xv(o,r,i);return A(Vp.Provider,{value:s,get children(){return e.children}})},ey=e=>{const t=zs(),n=ic(),r=yi(()=>e.children),i=vt(()=>Zp(r(),qp(n.pattern,e.base||""),ty)),a=vt(()=>Vv(i(),t.location.pathname));t.out&&t.out.matches.push(a().map(({route:c,path:u,params:d})=>({originalPath:c.originalPath,pattern:c.pattern,path:u,params:d})));const o=[];let s;const l=vt(ia(a,(c,u,d)=>{let f=u&&c.length===u.length;const h=[];for(let m=0,p=c.length;m<p;m++){const b=u&&u[m],v=c[m];d&&b&&v.route.key===b.route.key?h[m]=d[m]:(f=!1,o[m]&&o[m](),ra(x=>{o[m]=x,h[m]=Qv(t,h[m-1]||n,()=>l()[m+1],()=>a()[m])}))}return o.splice(c.length).forEach(m=>m()),d&&f?d:(s=h[0],h)}));return A(We,{get when(){return l()&&s},children:c=>A(rc.Provider,{value:c,get children(){return c.outlet()}})})},I1=e=>{const t=yi(()=>e.children);return ie(e,{get children(){return t()}})},ty=()=>{const e=ic();return A(We,{get when(){return e.child},children:t=>A(rc.Provider,{value:t,get children(){return t.outlet()}})})};function ny(e){const[,t]=xe(e,["children","to","href","state"]),n=Uv(()=>e.to);return(()=>{const r=Zv.cloneNode(!0);return N0(r,t,!1,!0),vi(r,()=>e.children),ar(i=>{const a=n()||e.href,o=JSON.stringify(e.state);return a!==i._v$&&wt(r,"href",i._v$=a),o!==i._v$2&&wt(r,"state",i._v$2=o),i},{_v$:void 0,_v$2:void 0}),r})()}function sU(e){const t=Hv(()=>e.href);return A(ny,ie(e,{get to(){return t()}}))}const ph=Symbol("store-raw"),O0=Symbol("store-node"),ry=Symbol("store-name");function Jp(e,t){let n=e[Ho];if(!n){Object.defineProperty(e,Ho,{value:n=new Proxy(e,oy)});const r=Object.keys(e),i=Object.getOwnPropertyDescriptors(e);for(let a=0,o=r.length;a<o;a++){const s=r[a];if(i[s].get){const l=i[s].get.bind(n);Object.defineProperty(e,s,{get:l})}}}return n}function Ns(e){let t;return e!=null&&typeof e=="object"&&(e[Ho]||!(t=Object.getPrototypeOf(e))||t===Object.prototype||Array.isArray(e))}function Os(e,t=new Set){let n,r,i,a;if(n=e!=null&&e[ph])return n;if(!Ns(e)||t.has(e))return e;if(Array.isArray(e)){Object.isFrozen(e)?e=e.slice(0):t.add(e);for(let o=0,s=e.length;o<s;o++)i=e[o],(r=Os(i,t))!==i&&(e[o]=r)}else{Object.isFrozen(e)?e=Object.assign({},e):t.add(e);const o=Object.keys(e),s=Object.getOwnPropertyDescriptors(e);for(let l=0,c=o.length;l<c;l++)a=o[l],!s[a].get&&(i=e[a],(r=Os(i,t))!==i&&(e[a]=r))}return e}function gh(e){let t=e[O0];return t||Object.defineProperty(e,O0,{value:t={}}),t}function pd(e,t,n){return e[t]||(e[t]=tg(n,!0))}function iy(e,t){const n=Reflect.getOwnPropertyDescriptor(e,t);return!n||n.get||!n.configurable||t===Ho||t===O0||t===ry||(delete n.value,delete n.writable,n.get=()=>e[Ho][t]),n}function eg(e){if(Lp()){const t=gh(e);(t._||(t._=tg()))()}}function ay(e){return eg(e),Reflect.ownKeys(e)}function tg(e,t){const[n,r]=qe(e,t?{internal:!0}:{equals:!1,internal:!0});return n.$=r,n}const oy={get(e,t,n){if(t===ph)return e;if(t===Ho)return n;if(t===uh)return eg(e);const r=gh(e),i=r[t];let a=i?r[t]():e[t];if(t===O0||t==="__proto__")return a;if(!i){const o=Object.getOwnPropertyDescriptor(e,t);Lp()&&(typeof a!="function"||e.hasOwnProperty(t))&&!(o&&o.get)&&(a=pd(r,t,a)())}return Ns(a)?Jp(a):a},set(){return!0},deleteProperty(){return!0},ownKeys:ay,getOwnPropertyDescriptor:iy};function Ms(e,t,n){if(e[t]===n)return;const r=e[t],i=e.length;n===void 0?delete e[t]:e[t]=n;let a=gh(e),o;(o=pd(a,t,r))&&o.$(()=>n),Array.isArray(e)&&e.length!==i&&(o=pd(a,"length",i))&&o.$(e.length),(o=a._)&&o.$()}function ng(e,t){const n=Object.keys(t);for(let r=0;r<n.length;r+=1){const i=n[r];Ms(e,i,t[i])}}function sy(e,t){if(typeof t=="function"&&(t=t(e)),t=Os(t),Array.isArray(t)){if(e===t)return;let n=0,r=t.length;for(;n<r;n++){const i=t[n];e[n]!==i&&Ms(e,n,i)}Ms(e,"length",r)}else ng(e,t)}function El(e,t,n=[]){let r,i=e;if(t.length>1){r=t.shift();const o=typeof r,s=Array.isArray(e);if(Array.isArray(r)){for(let l=0;l<r.length;l++)El(e,[r[l]].concat(t),n);return}else if(s&&o==="function"){for(let l=0;l<e.length;l++)r(e[l],l)&&El(e,[l].concat(t),n);return}else if(s&&o==="object"){const{from:l=0,to:c=e.length-1,by:u=1}=r;for(let d=l;d<=c;d+=u)El(e,[d].concat(t),n);return}else if(t.length>1){El(e[r],t,[r].concat(n));return}i=e[r],n=[r].concat(n)}let a=t[0];typeof a=="function"&&(a=a(i,n),a===i)||r===void 0&&a==null||(a=Os(a),r===void 0||Ns(i)&&Ns(a)&&!Array.isArray(a)?ng(i,a):Ms(e,r,a))}function Zn(...[e,t]){const n=Os(e||{}),r=Array.isArray(n),i=Jp(n);function a(...o){Uo(()=>{r&&o.length===1?sy(n,o[0]):El(n,o)})}return[i,a]}const M0=new WeakMap,rg={get(e,t){if(t===ph)return e;const n=e[t];let r;return Ns(n)?M0.get(n)||(M0.set(n,r=new Proxy(n,rg)),r):n},set(e,t,n){return Ms(e,t,Os(n)),!0},deleteProperty(e,t){return Ms(e,t,void 0),!0}};function bh(e){return t=>{if(Ns(t)){let n;(n=M0.get(t))||M0.set(t,n=new Proxy(t,rg)),e(n)}return t}}var Gt="colors",dr="sizes",Ue="space",ig={gap:Ue,gridGap:Ue,columnGap:Ue,gridColumnGap:Ue,rowGap:Ue,gridRowGap:Ue,inset:Ue,insetBlock:Ue,insetBlockEnd:Ue,insetBlockStart:Ue,insetInline:Ue,insetInlineEnd:Ue,insetInlineStart:Ue,margin:Ue,marginTop:Ue,marginRight:Ue,marginBottom:Ue,marginLeft:Ue,marginBlock:Ue,marginBlockEnd:Ue,marginBlockStart:Ue,marginInline:Ue,marginInlineEnd:Ue,marginInlineStart:Ue,padding:Ue,paddingTop:Ue,paddingRight:Ue,paddingBottom:Ue,paddingLeft:Ue,paddingBlock:Ue,paddingBlockEnd:Ue,paddingBlockStart:Ue,paddingInline:Ue,paddingInlineEnd:Ue,paddingInlineStart:Ue,top:Ue,right:Ue,bottom:Ue,left:Ue,scrollMargin:Ue,scrollMarginTop:Ue,scrollMarginRight:Ue,scrollMarginBottom:Ue,scrollMarginLeft:Ue,scrollMarginX:Ue,scrollMarginY:Ue,scrollMarginBlock:Ue,scrollMarginBlockEnd:Ue,scrollMarginBlockStart:Ue,scrollMarginInline:Ue,scrollMarginInlineEnd:Ue,scrollMarginInlineStart:Ue,scrollPadding:Ue,scrollPaddingTop:Ue,scrollPaddingRight:Ue,scrollPaddingBottom:Ue,scrollPaddingLeft:Ue,scrollPaddingX:Ue,scrollPaddingY:Ue,scrollPaddingBlock:Ue,scrollPaddingBlockEnd:Ue,scrollPaddingBlockStart:Ue,scrollPaddingInline:Ue,scrollPaddingInlineEnd:Ue,scrollPaddingInlineStart:Ue,fontSize:"fontSizes",background:Gt,backgroundColor:Gt,backgroundImage:Gt,borderImage:Gt,border:Gt,borderBlock:Gt,borderBlockEnd:Gt,borderBlockStart:Gt,borderBottom:Gt,borderBottomColor:Gt,borderColor:Gt,borderInline:Gt,borderInlineEnd:Gt,borderInlineStart:Gt,borderLeft:Gt,borderLeftColor:Gt,borderRight:Gt,borderRightColor:Gt,borderTop:Gt,borderTopColor:Gt,caretColor:Gt,color:Gt,columnRuleColor:Gt,fill:Gt,outline:Gt,outlineColor:Gt,stroke:Gt,textDecorationColor:Gt,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:dr,minBlockSize:dr,maxBlockSize:dr,inlineSize:dr,minInlineSize:dr,maxInlineSize:dr,width:dr,minWidth:dr,maxWidth:dr,height:dr,minHeight:dr,maxHeight:dr,flexBasis:dr,gridTemplateColumns:dr,gridTemplateRows:dr,borderWidth:"borderWidths",borderTopWidth:"borderWidths",borderRightWidth:"borderWidths",borderBottomWidth:"borderWidths",borderLeftWidth:"borderWidths",borderStyle:"borderStyles",borderTopStyle:"borderStyles",borderRightStyle:"borderStyles",borderBottomStyle:"borderStyles",borderLeftStyle:"borderStyles",borderRadius:"radii",borderTopLeftRadius:"radii",borderTopRightRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",boxShadow:"shadows",textShadow:"shadows",transition:"transitions",zIndex:"zIndices"},ly=(e,t)=>typeof t=="function"?{"()":Function.prototype.toString.call(t)}:t,o1=()=>{const e=Object.create(null);return(t,n,...r)=>{const i=(a=>JSON.stringify(a,ly))(t);return i in e?e[i]:e[i]=n(t,...r)}},f0=Symbol.for("sxs.internal"),vh=(e,t)=>Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),s5=e=>{for(const t in e)return!0;return!1},{hasOwnProperty:cy}=Object.prototype,gd=e=>e.includes("-")?e:e.replace(/[A-Z]/g,t=>"-"+t.toLowerCase()),uy=/\s+(?![^()]*\))/,as=e=>t=>e(...typeof t=="string"?String(t).split(uy):[t]),l5={appearance:e=>({WebkitAppearance:e,appearance:e}),backfaceVisibility:e=>({WebkitBackfaceVisibility:e,backfaceVisibility:e}),backdropFilter:e=>({WebkitBackdropFilter:e,backdropFilter:e}),backgroundClip:e=>({WebkitBackgroundClip:e,backgroundClip:e}),boxDecorationBreak:e=>({WebkitBoxDecorationBreak:e,boxDecorationBreak:e}),clipPath:e=>({WebkitClipPath:e,clipPath:e}),content:e=>({content:e.includes('"')||e.includes("'")||/^([A-Za-z]+\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)$/.test(e)?e:`"${e}"`}),hyphens:e=>({WebkitHyphens:e,hyphens:e}),maskImage:e=>({WebkitMaskImage:e,maskImage:e}),maskSize:e=>({WebkitMaskSize:e,maskSize:e}),tabSize:e=>({MozTabSize:e,tabSize:e}),textSizeAdjust:e=>({WebkitTextSizeAdjust:e,textSizeAdjust:e}),userSelect:e=>({WebkitUserSelect:e,userSelect:e}),marginBlock:as((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e})),marginInline:as((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e})),maxSize:as((e,t)=>({maxBlockSize:e,maxInlineSize:t||e})),minSize:as((e,t)=>({minBlockSize:e,minInlineSize:t||e})),paddingBlock:as((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e})),paddingInline:as((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e}))},tu=/([\d.]+)([^]*)/,dy=(e,t)=>e.length?e.reduce((n,r)=>(n.push(...t.map(i=>i.includes("&")?i.replace(/&/g,/[ +>|~]/.test(r)&&/&.*&/.test(i)?`:is(${r})`:r):r+" "+i)),n),[]):t,hy=(e,t)=>e in fy&&typeof t=="string"?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,(n,r,i,a)=>r+(i==="stretch"?`-moz-available${a};${gd(e)}:${r}-webkit-fill-available`:`-moz-fit-content${a};${gd(e)}:${r}fit-content`)+a):String(t),fy={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},da=e=>e?e+"-":"",ag=(e,t,n)=>e.replace(/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,(r,i,a,o,s)=>o=="$"==!!a?r:(i||o=="--"?"calc(":"")+"var(--"+(o==="$"?da(t)+(s.includes("$")?"":da(n))+s.replace(/\$/g,"-"):s)+")"+(i||o=="--"?"*"+(i||"")+(a||"1")+")":"")),my=/\s*,\s*(?![^()]*\))/,py=Object.prototype.toString,bs=(e,t,n,r,i)=>{let a,o,s;const l=(c,u,d)=>{let f,h;const m=p=>{for(f in p){const x=f.charCodeAt(0)===64,_=x&&Array.isArray(p[f])?p[f]:[p[f]];for(h of _){const D=/[A-Z]/.test(v=f)?v:v.replace(/-[^]/g,C=>C[1].toUpperCase()),I=typeof h=="object"&&h&&h.toString===py&&(!r.utils[D]||!u.length);if(D in r.utils&&!I){const C=r.utils[D];if(C!==o){o=C,m(C(h)),o=null;continue}}else if(D in l5){const C=l5[D];if(C!==s){s=C,m(C(h)),s=null;continue}}if(x&&(b=f.slice(1)in r.media?"@media "+r.media[f.slice(1)]:f,f=b.replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,(C,w,R,L,Q,K)=>{const J=tu.test(w),oe=.0625*(J?-1:1),[se,de]=J?[L,w]:[w,L];return"("+(R[0]==="="?"":R[0]===">"===J?"max-":"min-")+se+":"+(R[0]!=="="&&R.length===1?de.replace(tu,(U,De,ne)=>Number(De)+oe*(R===">"?1:-1)+ne):de)+(Q?") and ("+(Q[0]===">"?"min-":"max-")+se+":"+(Q.length===1?K.replace(tu,(U,De,ne)=>Number(De)+oe*(Q===">"?-1:1)+ne):K):"")+")"})),I){const C=x?d.concat(f):[...d],w=x?[...u]:dy(u,f.split(my));a!==void 0&&i(c5(...a)),a=void 0,l(h,w,C)}else a===void 0&&(a=[[],u,d]),f=x||f.charCodeAt(0)!==36?f:`--${da(r.prefix)}${f.slice(1).replace(/\$/g,"-")}`,h=I?h:typeof h=="number"?h&&D in gy?String(h)+"px":String(h):ag(hy(D,h==null?"":h),r.prefix,r.themeMap[D]),a[0].push(`${x?`${f} `:`${gd(f)}:`}${h}`)}}var b,v};m(c),a!==void 0&&i(c5(...a)),a=void 0};l(e,t,n)},c5=(e,t,n)=>`${n.map(r=>`${r}{`).join("")}${t.length?`${t.join(",")}{`:""}${e.join(";")}${t.length?"}":""}${Array(n.length?n.length+1:0).join("}")}`,gy={animationDelay:1,animationDuration:1,backgroundSize:1,blockSize:1,border:1,borderBlock:1,borderBlockEnd:1,borderBlockEndWidth:1,borderBlockStart:1,borderBlockStartWidth:1,borderBlockWidth:1,borderBottom:1,borderBottomLeftRadius:1,borderBottomRightRadius:1,borderBottomWidth:1,borderEndEndRadius:1,borderEndStartRadius:1,borderInlineEnd:1,borderInlineEndWidth:1,borderInlineStart:1,borderInlineStartWidth:1,borderInlineWidth:1,borderLeft:1,borderLeftWidth:1,borderRadius:1,borderRight:1,borderRightWidth:1,borderSpacing:1,borderStartEndRadius:1,borderStartStartRadius:1,borderTop:1,borderTopLeftRadius:1,borderTopRightRadius:1,borderTopWidth:1,borderWidth:1,bottom:1,columnGap:1,columnRule:1,columnRuleWidth:1,columnWidth:1,containIntrinsicSize:1,flexBasis:1,fontSize:1,gap:1,gridAutoColumns:1,gridAutoRows:1,gridTemplateColumns:1,gridTemplateRows:1,height:1,inlineSize:1,inset:1,insetBlock:1,insetBlockEnd:1,insetBlockStart:1,insetInline:1,insetInlineEnd:1,insetInlineStart:1,left:1,letterSpacing:1,margin:1,marginBlock:1,marginBlockEnd:1,marginBlockStart:1,marginBottom:1,marginInline:1,marginInlineEnd:1,marginInlineStart:1,marginLeft:1,marginRight:1,marginTop:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,offsetDistance:1,offsetRotate:1,outline:1,outlineOffset:1,outlineWidth:1,overflowClipMargin:1,padding:1,paddingBlock:1,paddingBlockEnd:1,paddingBlockStart:1,paddingBottom:1,paddingInline:1,paddingInlineEnd:1,paddingInlineStart:1,paddingLeft:1,paddingRight:1,paddingTop:1,perspective:1,right:1,rowGap:1,scrollMargin:1,scrollMarginBlock:1,scrollMarginBlockEnd:1,scrollMarginBlockStart:1,scrollMarginBottom:1,scrollMarginInline:1,scrollMarginInlineEnd:1,scrollMarginInlineStart:1,scrollMarginLeft:1,scrollMarginRight:1,scrollMarginTop:1,scrollPadding:1,scrollPaddingBlock:1,scrollPaddingBlockEnd:1,scrollPaddingBlockStart:1,scrollPaddingBottom:1,scrollPaddingInline:1,scrollPaddingInlineEnd:1,scrollPaddingInlineStart:1,scrollPaddingLeft:1,scrollPaddingRight:1,scrollPaddingTop:1,shapeMargin:1,textDecoration:1,textDecorationThickness:1,textIndent:1,textUnderlineOffset:1,top:1,transitionDelay:1,transitionDuration:1,verticalAlign:1,width:1,wordSpacing:1},u5=e=>String.fromCharCode(e+(e>25?39:97)),$o=e=>(t=>{let n,r="";for(n=Math.abs(t);n>52;n=n/52|0)r=u5(n%52)+r;return u5(n%52)+r})(((t,n)=>{let r=n.length;for(;r;)t=33*t^n.charCodeAt(--r);return t})(5381,JSON.stringify(e))>>>0),_l=["themed","global","styled","onevar","resonevar","allvar","inline"],by=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch{return!1}},vy=e=>{let t;const n=()=>{const{cssRules:i}=t.sheet;return[].map.call(i,(a,o)=>{const{cssText:s}=a;let l="";if(s.startsWith("--sxs"))return"";if(i[o-1]&&(l=i[o-1].cssText).startsWith("--sxs")){if(!a.cssRules.length)return"";for(const c in t.rules)if(t.rules[c].group===a)return`--sxs{--sxs:${[...t.rules[c].cache].join(" ")}}${s}`;return a.cssRules.length?`${l}${s}`:""}return s}).join("")},r=()=>{if(t){const{rules:s,sheet:l}=t;if(!l.deleteRule){for(;Object(Object(l.cssRules)[0]).type===3;)l.cssRules.splice(0,1);l.cssRules=[]}for(const c in s)delete s[c]}const i=Object(e).styleSheets||[];for(const s of i)if(by(s)){for(let l=0,c=s.cssRules;c[l];++l){const u=Object(c[l]);if(u.type!==1)continue;const d=Object(c[l+1]);if(d.type!==4)continue;++l;const{cssText:f}=u;if(!f.startsWith("--sxs"))continue;const h=f.slice(14,-3).trim().split(/\s+/),m=_l[h[0]];m&&(t||(t={sheet:s,reset:r,rules:{},toString:n}),t.rules[m]={group:d,index:l,cache:new Set(h)})}if(t)break}if(!t){const s=(l,c)=>({type:c,cssRules:[],insertRule(u,d){this.cssRules.splice(d,0,s(u,{import:3,undefined:1}[(u.toLowerCase().match(/^@([a-z]+)/)||[])[1]]||4))},get cssText(){return l==="@media{}"?`@media{${[].map.call(this.cssRules,u=>u.cssText).join("")}}`:l}});t={sheet:e?(e.head||e).appendChild(document.createElement("style")).sheet:s("","text/css"),rules:{},reset:r,toString:n}}const{sheet:a,rules:o}=t;for(let s=_l.length-1;s>=0;--s){const l=_l[s];if(!o[l]){const c=_l[s+1],u=o[c]?o[c].index:a.cssRules.length;a.insertRule("@media{}",u),a.insertRule(`--sxs{--sxs:${s}}`,u),o[l]={group:a.cssRules[u+1],index:u,cache:new Set([s])}}yy(o[l])}};return r(),t},yy=e=>{const t=e.group;let n=t.cssRules.length;e.apply=r=>{try{t.insertRule(r,n),++n}catch{}}},al=Symbol(),Ty=o1(),Ey=(e,t)=>Ty(e,()=>(...n)=>{let r={type:null,composers:new Set};for(const i of n)if(i!=null)if(i[f0]){r.type==null&&(r.type=i[f0].type);for(const a of i[f0].composers)r.composers.add(a)}else i.constructor!==Object||i.$$typeof?r.type==null&&(r.type=i):r.composers.add(_y(i,e));return r.type==null&&(r.type="span"),r.composers.size||r.composers.add(["PJLV",{},[],[],{},[]]),xy(e,r,t)}),_y=({variants:e,compoundVariants:t,defaultVariants:n,...r},i)=>{const a=`${da(i.prefix)}c-${$o(r)}`,o=[],s=[],l=Object.create(null),c=[];for(const f in n)l[f]=String(n[f]);if(typeof e=="object"&&e)for(const f in e){u=l,d=f,cy.call(u,d)||(l[f]="undefined");const h=e[f];for(const m in h){const p={[f]:String(m)};String(m)==="undefined"&&c.push(f);const b=h[m],v=[p,b,!s5(b)];o.push(v)}}var u,d;if(typeof t=="object"&&t)for(const f of t){let{css:h,...m}=f;h=typeof h=="object"&&h||{};for(const b in m)m[b]=String(m[b]);const p=[m,h,!s5(h)];s.push(p)}return[a,r,o,s,l,c]},xy=(e,t,n)=>{const[r,i,a,o]=Sy(t.composers),s=typeof t.type=="function"||t.type.$$typeof?(d=>{function f(){for(let h=0;h<f[al].length;h++){const[m,p]=f[al][h];d.rules[m].apply(p)}return f[al]=[],null}return f[al]=[],f.rules={},_l.forEach(h=>f.rules[h]={apply:m=>f[al].push([h,m])}),f})(n):null,l=(s||n).rules,c=`.${r}${i.length>1?`:where(.${i.slice(1).join(".")})`:""}`,u=d=>{d=typeof d=="object"&&d||wy;const{css:f,...h}=d,m={};for(const v in a)if(delete h[v],v in d){let x=d[v];typeof x=="object"&&x?m[v]={"@initial":a[v],...x}:(x=String(x),m[v]=x!=="undefined"||o.has(v)?x:a[v])}else m[v]=a[v];const p=new Set([...i]);for(const[v,x,_,D]of t.composers){n.rules.styled.cache.has(v)||(n.rules.styled.cache.add(v),bs(x,[`.${v}`],[],e,w=>{l.styled.apply(w)}));const I=d5(_,m,e.media),C=d5(D,m,e.media,!0);for(const w of I)if(w!==void 0)for(const[R,L,Q]of w){const K=`${v}-${$o(L)}-${R}`;p.add(K);const J=(Q?n.rules.resonevar:n.rules.onevar).cache,oe=Q?l.resonevar:l.onevar;J.has(K)||(J.add(K),bs(L,[`.${K}`],[],e,se=>{oe.apply(se)}))}for(const w of C)if(w!==void 0)for(const[R,L]of w){const Q=`${v}-${$o(L)}-${R}`;p.add(Q),n.rules.allvar.cache.has(Q)||(n.rules.allvar.cache.add(Q),bs(L,[`.${Q}`],[],e,K=>{l.allvar.apply(K)}))}}if(typeof f=="object"&&f){const v=`${r}-i${$o(f)}-css`;p.add(v),n.rules.inline.cache.has(v)||(n.rules.inline.cache.add(v),bs(f,[`.${v}`],[],e,x=>{l.inline.apply(x)}))}for(const v of String(d.className||"").trim().split(/\s+/))v&&p.add(v);const b=h.className=[...p].join(" ");return{type:t.type,className:b,selector:c,props:h,toString:()=>b,deferredInjector:s}};return vh(u,{className:r,selector:c,[f0]:t,toString:()=>(n.rules.styled.cache.has(r)||u(),r)})},Sy=e=>{let t="";const n=[],r={},i=[];for(const[a,,,,o,s]of e){t===""&&(t=a),n.push(a),i.push(...s);for(const l in o){const c=o[l];(r[l]===void 0||c!=="undefined"||s.includes(c))&&(r[l]=c)}}return[t,n,r,new Set(i)]},d5=(e,t,n,r)=>{const i=[];e:for(let[a,o,s]of e){if(s)continue;let l,c=0,u=!1;for(l in a){const d=a[l];let f=t[l];if(f!==d){if(typeof f!="object"||!f)continue e;{let h,m,p=0;for(const b in f){if(d===String(f[b])){if(b!=="@initial"){const v=b.slice(1);(m=m||[]).push(v in n?n[v]:b.replace(/^@media ?/,"")),u=!0}c+=p,h=!0}++p}if(m&&m.length&&(o={["@media "+m.join(", ")]:o}),!h)continue e}}}(i[c]=i[c]||[]).push([r?"cv":`${l}-${a[l]}`,o,u])}return i},wy={},Cy=o1(),Ay=(e,t)=>Cy(e,()=>(...n)=>{const r=()=>{for(let i of n){i=typeof i=="object"&&i||{};let a=$o(i);if(!t.rules.global.cache.has(a)){if(t.rules.global.cache.add(a),"@import"in i){let o=[].indexOf.call(t.sheet.cssRules,t.rules.themed.group)-1;for(let s of[].concat(i["@import"]))s=s.includes('"')||s.includes("'")?s:`"${s}"`,t.sheet.insertRule(`@import ${s};`,o++);delete i["@import"]}bs(i,[],[],e,o=>{t.rules.global.apply(o)})}}return""};return vh(r,{toString:r})}),ky=o1(),Ny=(e,t)=>ky(e,()=>n=>{const r=`${da(e.prefix)}k-${$o(n)}`,i=()=>{if(!t.rules.global.cache.has(r)){t.rules.global.cache.add(r);const a=[];bs(n,[],[],e,s=>a.push(s));const o=`@keyframes ${r}{${a.join("")}}`;t.rules.global.apply(o)}return r};return vh(i,{get name(){return i()},toString:i})}),Oy=class{constructor(e,t,n,r){this.token=e==null?"":String(e),this.value=t==null?"":String(t),this.scale=n==null?"":String(n),this.prefix=r==null?"":String(r)}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+da(this.prefix)+da(this.scale)+this.token}toString(){return this.computedValue}},My=o1(),Iy=(e,t)=>My(e,()=>(n,r)=>{r=typeof n=="object"&&n||Object(r);const i=`.${n=(n=typeof n=="string"?n:"")||`${da(e.prefix)}t-${$o(r)}`}`,a={},o=[];for(const l in r){a[l]={};for(const c in r[l]){const u=`--${da(e.prefix)}${l}-${c}`,d=ag(String(r[l][c]),e.prefix,l);a[l][c]=new Oy(c,d,l,e.prefix),o.push(`${u}:${d}`)}}const s=()=>{if(o.length&&!t.rules.themed.cache.has(n)){t.rules.themed.cache.add(n);const l=`${r===e.theme?":root,":""}.${n}{${o.join(";")}}`;t.rules.themed.apply(l)}return n};return{...a,get className(){return s()},selector:i,toString:s}}),Ry=o1(),Ly=e=>{let t=!1;const n=Ry(e,r=>{t=!0;const i="prefix"in(r=typeof r=="object"&&r||{})?String(r.prefix):"",a=typeof r.media=="object"&&r.media||{},o=typeof r.root=="object"?r.root||null:globalThis.document||null,s=typeof r.theme=="object"&&r.theme||{},l={prefix:i,media:a,theme:s,themeMap:typeof r.themeMap=="object"&&r.themeMap||{...ig},utils:typeof r.utils=="object"&&r.utils||{}},c=vy(o),u={css:Ey(l,c),globalCss:Ay(l,c),keyframes:Ny(l,c),createTheme:Iy(l,c),reset(){c.reset(),u.theme.toString()},theme:{},sheet:c,config:l,prefix:i,getCssText:c.toString,toString:c.toString};return String(u.theme=u.createTheme(s)),u});return t||n.reset(),n},Ua=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function lU(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function cU(e){var t=e.default;if(typeof t=="function"){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var bd={exports:{}};(function(e,t){var n=200,r="__lodash_hash_undefined__",i=800,a=16,o=9007199254740991,s="[object Arguments]",l="[object Array]",c="[object AsyncFunction]",u="[object Boolean]",d="[object Date]",f="[object Error]",h="[object Function]",m="[object GeneratorFunction]",p="[object Map]",b="[object Number]",v="[object Null]",x="[object Object]",_="[object Proxy]",D="[object RegExp]",I="[object Set]",C="[object String]",w="[object Undefined]",R="[object WeakMap]",L="[object ArrayBuffer]",Q="[object DataView]",K="[object Float32Array]",J="[object Float64Array]",oe="[object Int8Array]",se="[object Int16Array]",de="[object Int32Array]",U="[object Uint8Array]",De="[object Uint8ClampedArray]",ne="[object Uint16Array]",Ge="[object Uint32Array]",Ne=/[\\^$.*+?()[\]{}|]/g,N=/^\[object .+?Constructor\]$/,P=/^(?:0|[1-9]\d*)$/,be={};be[K]=be[J]=be[oe]=be[se]=be[de]=be[U]=be[De]=be[ne]=be[Ge]=!0,be[s]=be[l]=be[L]=be[u]=be[Q]=be[d]=be[f]=be[h]=be[p]=be[b]=be[x]=be[D]=be[I]=be[C]=be[R]=!1;var Ve=typeof Ua=="object"&&Ua&&Ua.Object===Object&&Ua,Et=typeof self=="object"&&self&&self.Object===Object&&self,ht=Ve||Et||Function("return this")(),st=t&&!t.nodeType&&t,ft=st&&!0&&e&&!e.nodeType&&e,Ct=ft&&ft.exports===st,ae=Ct&&Ve.process,Me=function(){try{var $=ft&&ft.require&&ft.require("util").types;return $||ae&&ae.binding&&ae.binding("util")}catch{}}(),dt=Me&&Me.isTypedArray;function At($,W,Z){switch(Z.length){case 0:return $.call(W);case 1:return $.call(W,Z[0]);case 2:return $.call(W,Z[0],Z[1]);case 3:return $.call(W,Z[0],Z[1],Z[2])}return $.apply(W,Z)}function zn($,W){for(var Z=-1,He=Array($);++Z<$;)He[Z]=W(Z);return He}function br($){return function(W){return $(W)}}function Je($,W){return $==null?void 0:$[W]}function bn($,W){return function(Z){return $(W(Z))}}var Hn=Array.prototype,qn=Function.prototype,Cn=Object.prototype,Jn=ht["__core-js_shared__"],lr=qn.toString,An=Cn.hasOwnProperty,cr=function(){var $=/[^.]+$/.exec(Jn&&Jn.keys&&Jn.keys.IE_PROTO||"");return $?"Symbol(src)_1."+$:""}(),$r=Cn.toString,_i=lr.call(Object),Cr=RegExp("^"+lr.call(An).replace(Ne,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=Ct?ht.Buffer:void 0,M=ht.Symbol,te=ht.Uint8Array,fe=j?j.allocUnsafe:void 0,Pe=bn(Object.getPrototypeOf,Object),En=Object.create,yt=Cn.propertyIsEnumerable,Bt=Hn.splice,vn=M?M.toStringTag:void 0,ur=function(){try{var $=kr(Object,"defineProperty");return $({},"",{}),$}catch{}}(),zt=j?j.isBuffer:void 0,Ut=Math.max,Wn=Date.now,wa=kr(ht,"Map"),Ar=kr(Object,"create"),Vc=function(){function $(){}return function(W){if(!fo(W))return{};if(En)return En(W);$.prototype=W;var Z=new $;return $.prototype=void 0,Z}}();function ri($){var W=-1,Z=$==null?0:$.length;for(this.clear();++W<Z;){var He=$[W];this.set(He[0],He[1])}}function S1(){this.__data__=Ar?Ar(null):{},this.size=0}function Yc($){var W=this.has($)&&delete this.__data__[$];return this.size-=W?1:0,W}function Xc($){var W=this.__data__;if(Ar){var Z=W[$];return Z===r?void 0:Z}return An.call(W,$)?W[$]:void 0}function w1($){var W=this.__data__;return Ar?W[$]!==void 0:An.call(W,$)}function C1($,W){var Z=this.__data__;return this.size+=this.has($)?0:1,Z[$]=Ar&&W===void 0?r:W,this}ri.prototype.clear=S1,ri.prototype.delete=Yc,ri.prototype.get=Xc,ri.prototype.has=w1,ri.prototype.set=C1;function Br($){var W=-1,Z=$==null?0:$.length;for(this.clear();++W<Z;){var He=$[W];this.set(He[0],He[1])}}function el(){this.__data__=[],this.size=0}function A1($){var W=this.__data__,Z=$e(W,$);if(Z<0)return!1;var He=W.length-1;return Z==He?W.pop():Bt.call(W,Z,1),--this.size,!0}function ts($){var W=this.__data__,Z=$e(W,$);return Z<0?void 0:W[Z][1]}function ii($){return $e(this.__data__,$)>-1}function tl($,W){var Z=this.__data__,He=$e(Z,$);return He<0?(++this.size,Z.push([$,W])):Z[He][1]=W,this}Br.prototype.clear=el,Br.prototype.delete=A1,Br.prototype.get=ts,Br.prototype.has=ii,Br.prototype.set=tl;function Ca($){var W=-1,Z=$==null?0:$.length;for(this.clear();++W<Z;){var He=$[W];this.set(He[0],He[1])}}function Qc(){this.size=0,this.__data__={hash:new ri,map:new(wa||Br),string:new ri}}function k1($){var W=ai(this,$).delete($);return this.size-=W?1:0,W}function N1($){return ai(this,$).get($)}function E($){return ai(this,$).has($)}function O($,W){var Z=ai(this,$),He=Z.size;return Z.set($,W),this.size+=Z.size==He?0:1,this}Ca.prototype.clear=Qc,Ca.prototype.delete=k1,Ca.prototype.get=N1,Ca.prototype.has=E,Ca.prototype.set=O;function G($){var W=this.__data__=new Br($);this.size=W.size}function X(){this.__data__=new Br,this.size=0}function ue($){var W=this.__data__,Z=W.delete($);return this.size=W.size,Z}function V($){return this.__data__.get($)}function le($){return this.__data__.has($)}function re($,W){var Z=this.__data__;if(Z instanceof Br){var He=Z.__data__;if(!wa||He.length<n-1)return He.push([$,W]),this.size=++Z.size,this;Z=this.__data__=new Ca(He)}return Z.set($,W),this.size=Z.size,this}G.prototype.clear=X,G.prototype.delete=ue,G.prototype.get=V,G.prototype.has=le,G.prototype.set=re;function _e($,W){var Z=Ht($),He=!Z&&Rt($),Mt=!Z&&!He&&rs($),Xt=!Z&&!He&&!Mt&&Yf($),dn=Z||He||Mt||Xt,kt=dn?zn($.length,String):[],hn=kt.length;for(var Fr in $)(W||An.call($,Fr))&&!(dn&&(Fr=="length"||Mt&&(Fr=="offset"||Fr=="parent")||Xt&&(Fr=="buffer"||Fr=="byteLength"||Fr=="byteOffset")||uo(Fr,hn)))&&kt.push(Fr);return kt}function ke($,W,Z){(Z!==void 0&&!Pt($[W],Z)||Z===void 0&&!(W in $))&&Qe($,W,Z)}function Le($,W,Z){var He=$[W];(!(An.call($,W)&&Pt(He,Z))||Z===void 0&&!(W in $))&&Qe($,W,Z)}function $e($,W){for(var Z=$.length;Z--;)if(Pt($[Z][0],W))return Z;return-1}function Qe($,W,Z){W=="__proto__"&&ur?ur($,W,{configurable:!0,enumerable:!0,value:Z,writable:!0}):$[W]=Z}var Ot=Ui();function at($){return $==null?$===void 0?w:v:vn&&vn in Object($)?Aa($):ns($)}function Vt($){return rl($)&&at($)==s}function er($){if(!fo($)||O1($))return!1;var W=Na($)?Cr:N;return W.test(tt($))}function tr($){return rl($)&&Vf($.length)&&!!be[at($)]}function Dn($){if(!fo($))return Yt($);var W=_n($),Z=[];for(var He in $)He=="constructor"&&(W||!An.call($,He))||Z.push(He);return Z}function Oe($,W,Z,He,Mt){$!==W&&Ot(W,function(Xt,dn){if(Mt||(Mt=new G),fo(Xt))Ke($,W,dn,Z,Oe,He,Mt);else{var kt=He?He(ho($,dn),Xt,dn+"",$,W,Mt):void 0;kt===void 0&&(kt=Xt),ke($,dn,kt)}},Xf)}function Ke($,W,Z,He,Mt,Xt,dn){var kt=ho($,Z),hn=ho(W,Z),Fr=dn.get(hn);if(Fr){ke($,Z,Fr);return}var Nr=Xt?Xt(kt,hn,Z+"",$,W,dn):void 0,il=Nr===void 0;if(il){var Zc=Ht(hn),Jc=!Zc&&rs(hn),Zf=!Zc&&!Jc&&Yf(hn);Nr=hn,Zc||Jc||Zf?Ht(kt)?Nr=kt:oi(kt)?Nr=mn(kt):Jc?(il=!1,Nr=jt(hn,!0)):Zf?(il=!1,Nr=un(hn,!0)):Nr=[]:Fb(hn)||Rt(hn)?(Nr=kt,Rt(kt)?Nr=zb(kt):(!fo(kt)||Na(kt))&&(Nr=xt(hn))):il=!1}il&&(dn.set(hn,Nr),Mt(Nr,hn,He,Xt,dn),dn.delete(hn)),ke($,Z,Nr)}function rt($,W){return nl(ji($,W,Qf),$+"")}var tn=ur?function($,W){return ur($,"toString",{configurable:!0,enumerable:!1,value:Ub(W),writable:!0})}:Qf;function jt($,W){if(W)return $.slice();var Z=$.length,He=fe?fe(Z):new $.constructor(Z);return $.copy(He),He}function Dt($){var W=new $.constructor($.byteLength);return new te(W).set(new te($)),W}function un($,W){var Z=W?Dt($.buffer):$.buffer;return new $.constructor(Z,$.byteOffset,$.length)}function mn($,W){var Z=-1,He=$.length;for(W||(W=Array(He));++Z<He;)W[Z]=$[Z];return W}function Ft($,W,Z,He){var Mt=!Z;Z||(Z={});for(var Xt=-1,dn=W.length;++Xt<dn;){var kt=W[Xt],hn=He?He(Z[kt],$[kt],kt,Z,$):void 0;hn===void 0&&(hn=$[kt]),Mt?Qe(Z,kt,hn):Le(Z,kt,hn)}return Z}function kn($){return rt(function(W,Z){var He=-1,Mt=Z.length,Xt=Mt>1?Z[Mt-1]:void 0,dn=Mt>2?Z[2]:void 0;for(Xt=$.length>3&&typeof Xt=="function"?(Mt--,Xt):void 0,dn&&ka(Z[0],Z[1],dn)&&(Xt=Mt<3?void 0:Xt,Mt=1),W=Object(W);++He<Mt;){var kt=Z[He];kt&&$(W,kt,He,Xt)}return W})}function Ui($){return function(W,Z,He){for(var Mt=-1,Xt=Object(W),dn=He(W),kt=dn.length;kt--;){var hn=dn[$?kt:++Mt];if(Z(Xt[hn],hn,Xt)===!1)break}return W}}function ai($,W){var Z=$.__data__;return ot(W)?Z[typeof W=="string"?"string":"hash"]:Z.map}function kr($,W){var Z=Je($,W);return er(Z)?Z:void 0}function Aa($){var W=An.call($,vn),Z=$[vn];try{$[vn]=void 0;var He=!0}catch{}var Mt=$r.call($);return He&&(W?$[vn]=Z:delete $[vn]),Mt}function xt($){return typeof $.constructor=="function"&&!_n($)?Vc(Pe($)):{}}function uo($,W){var Z=typeof $;return W=W==null?o:W,!!W&&(Z=="number"||Z!="symbol"&&P.test($))&&$>-1&&$%1==0&&$<W}function ka($,W,Z){if(!fo(Z))return!1;var He=typeof W;return(He=="number"?Un(Z)&&uo(W,Z.length):He=="string"&&W in Z)?Pt(Z[W],$):!1}function ot($){var W=typeof $;return W=="string"||W=="number"||W=="symbol"||W=="boolean"?$!=="__proto__":$===null}function O1($){return!!cr&&cr in $}function _n($){var W=$&&$.constructor,Z=typeof W=="function"&&W.prototype||Cn;return $===Z}function Yt($){var W=[];if($!=null)for(var Z in Object($))W.push(Z);return W}function ns($){return $r.call($)}function ji($,W,Z){return W=Ut(W===void 0?$.length-1:W,0),function(){for(var He=arguments,Mt=-1,Xt=Ut(He.length-W,0),dn=Array(Xt);++Mt<Xt;)dn[Mt]=He[W+Mt];Mt=-1;for(var kt=Array(W+1);++Mt<W;)kt[Mt]=He[Mt];return kt[W]=Z(dn),At($,this,kt)}}function ho($,W){if(!(W==="constructor"&&typeof $[W]=="function")&&W!="__proto__")return $[W]}var nl=ze(tn);function ze($){var W=0,Z=0;return function(){var He=Wn(),Mt=a-(He-Z);if(Z=He,Mt>0){if(++W>=i)return arguments[0]}else W=0;return $.apply(void 0,arguments)}}function tt($){if($!=null){try{return lr.call($)}catch{}try{return $+""}catch{}}return""}function Pt($,W){return $===W||$!==$&&W!==W}var Rt=Vt(function(){return arguments}())?Vt:function($){return rl($)&&An.call($,"callee")&&!yt.call($,"callee")},Ht=Array.isArray;function Un($){return $!=null&&Vf($.length)&&!Na($)}function oi($){return rl($)&&Un($)}var rs=zt||jb;function Na($){if(!fo($))return!1;var W=at($);return W==h||W==m||W==c||W==_}function Vf($){return typeof $=="number"&&$>-1&&$%1==0&&$<=o}function fo($){var W=typeof $;return $!=null&&(W=="object"||W=="function")}function rl($){return $!=null&&typeof $=="object"}function Fb($){if(!rl($)||at($)!=x)return!1;var W=Pe($);if(W===null)return!0;var Z=An.call(W,"constructor")&&W.constructor;return typeof Z=="function"&&Z instanceof Z&&lr.call(Z)==_i}var Yf=dt?br(dt):tr;function zb($){return Ft($,Xf($))}function Xf($){return Un($)?_e($,!0):Dn($)}var Hb=kn(function($,W,Z){Oe($,W,Z)});function Ub($){return function(){return $}}function Qf($){return $}function jb(){return!1}e.exports=Hb})(bd,bd.exports);const h5=bd.exports;function I0(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}const io=e=>{let t,n=!0;const[r,i]=qe(),[a,o]=qe(),s=yi(()=>e.children),{onBeforeEnter:l,onEnter:c,onAfterEnter:u,onBeforeExit:d,onExit:f,onAfterExit:h}=e,m=vt(()=>{const v=e.name||"s";return{enterActiveClass:e.enterActiveClass||v+"-enter-active",enterClass:e.enterClass||v+"-enter",enterToClass:e.enterToClass||v+"-enter-to",exitActiveClass:e.exitActiveClass||v+"-exit-active",exitClass:e.exitClass||v+"-exit",exitToClass:e.exitToClass||v+"-exit-to"}});function p(v,x){if(!n||e.appear){let C=function(w){v&&(!w||w.target===v)&&(v.removeEventListener("transitionend",C),v.removeEventListener("animationend",C),v.classList.remove(...D),v.classList.remove(...I),Uo(()=>{r()!==v&&i(v),a()===v&&o(void 0)}),u&&u(v),e.mode==="inout"&&b(v,x))};const _=m().enterClass.split(" "),D=m().enterActiveClass.split(" "),I=m().enterToClass.split(" ");l&&l(v),v.classList.add(..._),v.classList.add(...D),I0(()=>{v.classList.remove(..._),v.classList.add(...I),c&&c(v,()=>C()),(!c||c.length<2)&&(v.addEventListener("transitionend",C),v.addEventListener("animationend",C))})}x&&!e.mode?o(v):i(v)}function b(v,x){const _=m().exitClass.split(" "),D=m().exitActiveClass.split(" "),I=m().exitToClass.split(" ");if(!x.parentNode)return C();d&&d(x),x.classList.add(..._),x.classList.add(...D),I0(()=>{x.classList.remove(..._),x.classList.add(...I)}),f&&f(x,()=>C()),(!f||f.length<2)&&(x.addEventListener("transitionend",C),x.addEventListener("animationend",C));function C(w){(!w||w.target===x)&&(x.removeEventListener("transitionend",C),x.removeEventListener("animationend",C),x.classList.remove(...D),x.classList.remove(...I),r()===x&&i(void 0),h&&h(x),e.mode==="outin"&&p(v,x))}}return Wl(v=>{for(t=s();typeof t=="function";)t=t();return Bn(()=>(t&&t!==v&&(e.mode!=="outin"?p(t,v):n&&i(t)),v&&v!==t&&e.mode!=="inout"&&b(t,v),n=!1,t))}),[r,a]};function R1(e){const{top:t,bottom:n,left:r,right:i,width:a,height:o}=e.getBoundingClientRect(),s=e.parentNode.getBoundingClientRect();return{top:t-s.top,bottom:n,left:r-s.left,right:i,width:a,height:o}}const Dy=e=>{const t=yi(()=>e.children),n=vt(()=>{const h=e.name||"s";return{enterActiveClass:e.enterActiveClass||h+"-enter-active",enterClass:e.enterClass||h+"-enter",enterToClass:e.enterToClass||h+"-enter-to",exitActiveClass:e.exitActiveClass||h+"-exit-active",exitClass:e.exitClass||h+"-exit",exitToClass:e.exitToClass||h+"-exit-to",moveClass:e.moveClass||h+"-move"}}),{onBeforeEnter:r,onEnter:i,onAfterEnter:a,onBeforeExit:o,onExit:s,onAfterExit:l}=e,[c,u]=qe();let d=[],f=!0;return Wl(()=>{const h=t(),m=[...h],p=new Set(h),b=new Set(d),v=n().enterClass.split(" "),x=n().enterActiveClass.split(" "),_=n().enterToClass.split(" "),D=n().exitClass.split(" "),I=n().exitActiveClass.split(" "),C=n().exitToClass.split(" ");for(let w=0;w<h.length;w++){const R=h[w];if(!f&&!b.has(R)){let L=function(Q){R&&(!Q||Q.target===R)&&(R.removeEventListener("transitionend",L),R.removeEventListener("animationend",L),R.classList.remove(...x),R.classList.remove(..._),a&&a(R))};r&&r(R),R.classList.add(...v),R.classList.add(...x),I0(()=>{R.classList.remove(...v),R.classList.add(..._),i&&i(R,()=>L()),(!i||i.length<2)&&(R.addEventListener("transitionend",L),R.addEventListener("animationend",L))})}}for(let w=0;w<d.length;w++){const R=d[w];if(!p.has(R)&&R.parentNode){let L=function(Q){(!Q||Q.target===R)&&(R.removeEventListener("transitionend",L),R.removeEventListener("animationend",L),R.classList.remove(...I),R.classList.remove(...C),l&&l(R),d=d.filter(K=>K!==R),u(d))};m.splice(w,0,R),o&&o(R),R.classList.add(...D),R.classList.add(...I),I0(()=>{R.classList.remove(...D),R.classList.add(...C)}),s&&s(R,()=>L()),(!s||s.length<2)&&(R.addEventListener("transitionend",L),R.addEventListener("animationend",L))}}d=m,u(m)}),Rn(h=>{const m=c();return m.forEach(p=>{let b;(b=h.get(p))?b.new&&(b.new=!1,b.newPos=R1(p)):h.set(p,b={pos:R1(p),new:!f}),b.new&&p.addEventListener("transitionend",()=>{b.new=!1,p.parentNode&&(b.newPos=R1(p))},{once:!0}),b.newPos&&(b.pos=b.newPos),b.newPos=R1(p)}),f?(f=!1,h):(m.forEach(p=>{const b=h.get(p),v=b.pos,x=b.newPos,_=v.left-x.left,D=v.top-x.top;if(_||D){b.moved=!0;const I=p.style;I.transform=`translate(${_}px,${D}px)`,I.transitionDuration="0s"}}),document.body.offsetHeight,m.forEach(p=>{const b=h.get(p);if(b.moved){let _=function(D){D&&D.target!==p||!p.parentNode||(!D||/transform$/.test(D.propertyName))&&(p.removeEventListener("transitionend",_),p.classList.remove(...x))};b.moved=!1;const v=p.style,x=n().moveClass.split(" ");p.classList.add(...x),v.transform=v.transitionDuration="",p.addEventListener("transitionend",_)}}),h)},new Map),c};/*! * tabbable 5.3.3 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE */var og=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],R0=og.join(","),sg=typeof Element>"u",Go=sg?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,vd=!sg&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},lg=function(t,n,r){var i=Array.prototype.slice.apply(t.querySelectorAll(R0));return n&&Go.call(t,R0)&&i.unshift(t),i=i.filter(r),i},cg=function e(t,n,r){for(var i=[],a=Array.from(t);a.length;){var o=a.shift();if(o.tagName==="SLOT"){var s=o.assignedElements(),l=s.length?s:o.children,c=e(l,!0,r);r.flatten?i.push.apply(i,c):i.push({scope:o,candidates:c})}else{var u=Go.call(o,R0);u&&r.filter(o)&&(n||!t.includes(o))&&i.push(o);var d=o.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(o),f=!r.shadowRootFilter||r.shadowRootFilter(o);if(d&&f){var h=e(d===!0?o.children:d.children,!0,r);r.flatten?i.push.apply(i,h):i.push({scope:o,candidates:h})}else a.unshift.apply(a,o.children)}}return i},ug=function(t,n){return t.tabIndex<0&&(n||/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||t.isContentEditable)&&isNaN(parseInt(t.getAttribute("tabindex"),10))?0:t.tabIndex},Py=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},dg=function(t){return t.tagName==="INPUT"},$y=function(t){return dg(t)&&t.type==="hidden"},By=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},Fy=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},zy=function(t){if(!t.name)return!0;var n=t.form||vd(t),r=function(s){return n.querySelectorAll('input[type="radio"][name="'+s+'"]')},i;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")i=r(window.CSS.escape(t.name));else try{i=r(t.name)}catch(o){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",o.message),!1}var a=Fy(i,t.form);return!a||a===t},Hy=function(t){return dg(t)&&t.type==="radio"},Uy=function(t){return Hy(t)&&!zy(t)},f5=function(t){var n=t.getBoundingClientRect(),r=n.width,i=n.height;return r===0&&i===0},jy=function(t,n){var r=n.displayCheck,i=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var a=Go.call(t,"details>summary:first-of-type"),o=a?t.parentElement:t;if(Go.call(o,"details:not([open]) *"))return!0;var s=vd(t).host,l=(s==null?void 0:s.ownerDocument.contains(s))||t.ownerDocument.contains(t);if(!r||r==="full"){if(typeof i=="function"){for(var c=t;t;){var u=t.parentElement,d=vd(t);if(u&&!u.shadowRoot&&i(u)===!0)return f5(t);t.assignedSlot?t=t.assignedSlot:!u&&d!==t.ownerDocument?t=d.host:t=u}t=c}if(l)return!t.getClientRects().length}else if(r==="non-zero-area")return f5(t);return!1},Gy=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r<n.children.length;r++){var i=n.children.item(r);if(i.tagName==="LEGEND")return Go.call(n,"fieldset[disabled] *")?!0:!i.contains(t)}return!0}n=n.parentElement}return!1},L0=function(t,n){return!(n.disabled||$y(n)||jy(n,t)||By(n)||Gy(n))},yd=function(t,n){return!(Uy(n)||ug(n)<0||!L0(t,n))},qy=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},Wy=function e(t){var n=[],r=[];return t.forEach(function(i,a){var o=!!i.scope,s=o?i.scope:i,l=ug(s,o),c=o?e(i.candidates):s;l===0?o?n.push.apply(n,c):n.push(s):r.push({documentOrder:a,tabIndex:l,item:i,isScope:o,content:c})}),r.sort(Py).reduce(function(i,a){return a.isScope?i.push.apply(i,a.content):i.push(a.content),i},[]).concat(n)},Ky=function(t,n){n=n||{};var r;return n.getShadowRoot?r=cg([t],n.includeContainer,{filter:yd.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:qy}):r=lg(t,n.includeContainer,yd.bind(null,n)),Wy(r)},Vy=function(t,n){n=n||{};var r;return n.getShadowRoot?r=cg([t],n.includeContainer,{filter:L0.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=lg(t,n.includeContainer,L0.bind(null,n)),r},L1=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Go.call(t,R0)===!1?!1:yd(n,t)},Yy=og.concat("iframe").join(","),nu=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Go.call(t,Yy)===!1?!1:L0(n,t)};/*! * focus-trap 6.7.3 * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE */function m5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Xy(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?m5(Object(n),!0).forEach(function(r){Qy(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m5(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Qy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p5=function(){var e=[];return{activateTrap:function(n){if(e.length>0){var r=e[e.length-1];r!==n&&r.pause()}var i=e.indexOf(n);i===-1||e.splice(i,1),e.push(n)},deactivateTrap:function(n){var r=e.indexOf(n);r!==-1&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()}}}(),Zy=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},Jy=function(t){return t.key==="Escape"||t.key==="Esc"||t.keyCode===27},eT=function(t){return t.key==="Tab"||t.keyCode===9},g5=function(t){return setTimeout(t,0)},ru=function(t,n){var r=-1;return t.every(function(i,a){return n(i)?(r=a,!1):!0}),r},ol=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return typeof t=="function"?t.apply(void 0,r):t},D1=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},hg=function(t,n){var r=(n==null?void 0:n.document)||document,i=Xy({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},n),a={containers:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},o,s=function(C,w,R){return C&&C[w]!==void 0?C[w]:i[R||w]},l=function(C){return!!(C&&a.containers.some(function(w){return w.contains(C)}))},c=function(C){var w=i[C];if(typeof w=="function"){for(var R=arguments.length,L=new Array(R>1?R-1:0),Q=1;Q<R;Q++)L[Q-1]=arguments[Q];w=w.apply(void 0,L)}if(!w){if(w===void 0||w===!1)return w;throw new Error("`".concat(C,"` was specified but was not a node, or did not return a node"))}var K=w;if(typeof w=="string"&&(K=r.querySelector(w),!K))throw new Error("`".concat(C,"` as selector refers to no known node"));return K},u=function(){var C=c("initialFocus");if(C===!1)return!1;if(C===void 0)if(l(r.activeElement))C=r.activeElement;else{var w=a.tabbableGroups[0],R=w&&w.firstTabbableNode;C=R||c("fallbackFocus")}if(!C)throw new Error("Your focus-trap needs to have at least one focusable element");return C},d=function(){if(a.tabbableGroups=a.containers.map(function(C){var w=Ky(C),R=Vy(C);if(w.length>0)return{container:C,firstTabbableNode:w[0],lastTabbableNode:w[w.length-1],nextTabbableNode:function(Q){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,J=R.findIndex(function(oe){return oe===Q});return K?R.slice(J+1).find(function(oe){return L1(oe)}):R.slice(0,J).reverse().find(function(oe){return L1(oe)})}}}).filter(function(C){return!!C}),a.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},f=function I(C){if(C!==!1&&C!==r.activeElement){if(!C||!C.focus){I(u());return}C.focus({preventScroll:!!i.preventScroll}),a.mostRecentlyFocusedNode=C,Zy(C)&&C.select()}},h=function(C){var w=c("setReturnFocus",C);return w||(w===!1?!1:C)},m=function(C){var w=D1(C);if(!l(w)){if(ol(i.clickOutsideDeactivates,C)){o.deactivate({returnFocus:i.returnFocusOnDeactivate&&!nu(w)});return}ol(i.allowOutsideClick,C)||C.preventDefault()}},p=function(C){var w=D1(C),R=l(w);R||w instanceof Document?R&&(a.mostRecentlyFocusedNode=w):(C.stopImmediatePropagation(),f(a.mostRecentlyFocusedNode||u()))},b=function(C){var w=D1(C);d();var R=null;if(a.tabbableGroups.length>0){var L=ru(a.tabbableGroups,function(De){var ne=De.container;return ne.contains(w)}),Q=L>=0?a.tabbableGroups[L]:void 0;if(L<0)C.shiftKey?R=a.tabbableGroups[a.tabbableGroups.length-1].lastTabbableNode:R=a.tabbableGroups[0].firstTabbableNode;else if(C.shiftKey){var K=ru(a.tabbableGroups,function(De){var ne=De.firstTabbableNode;return w===ne});if(K<0&&(Q.container===w||nu(w)&&!L1(w)&&!Q.nextTabbableNode(w,!1))&&(K=L),K>=0){var J=K===0?a.tabbableGroups.length-1:K-1,oe=a.tabbableGroups[J];R=oe.lastTabbableNode}}else{var se=ru(a.tabbableGroups,function(De){var ne=De.lastTabbableNode;return w===ne});if(se<0&&(Q.container===w||nu(w)&&!L1(w)&&!Q.nextTabbableNode(w))&&(se=L),se>=0){var de=se===a.tabbableGroups.length-1?0:se+1,U=a.tabbableGroups[de];R=U.firstTabbableNode}}}else R=c("fallbackFocus");R&&(C.preventDefault(),f(R))},v=function(C){if(Jy(C)&&ol(i.escapeDeactivates,C)!==!1){C.preventDefault(),o.deactivate();return}if(eT(C)){b(C);return}},x=function(C){if(!ol(i.clickOutsideDeactivates,C)){var w=D1(C);l(w)||ol(i.allowOutsideClick,C)||(C.preventDefault(),C.stopImmediatePropagation())}},_=function(){if(!!a.active)return p5.activateTrap(o),a.delayInitialFocusTimer=i.delayInitialFocus?g5(function(){f(u())}):f(u()),r.addEventListener("focusin",p,!0),r.addEventListener("mousedown",m,{capture:!0,passive:!1}),r.addEventListener("touchstart",m,{capture:!0,passive:!1}),r.addEventListener("click",x,{capture:!0,passive:!1}),r.addEventListener("keydown",v,{capture:!0,passive:!1}),o},D=function(){if(!!a.active)return r.removeEventListener("focusin",p,!0),r.removeEventListener("mousedown",m,!0),r.removeEventListener("touchstart",m,!0),r.removeEventListener("click",x,!0),r.removeEventListener("keydown",v,!0),o};return o={activate:function(C){if(a.active)return this;var w=s(C,"onActivate"),R=s(C,"onPostActivate"),L=s(C,"checkCanFocusTrap");L||d(),a.active=!0,a.paused=!1,a.nodeFocusedBeforeActivation=r.activeElement,w&&w();var Q=function(){L&&d(),_(),R&&R()};return L?(L(a.containers.concat()).then(Q,Q),this):(Q(),this)},deactivate:function(C){if(!a.active)return this;clearTimeout(a.delayInitialFocusTimer),a.delayInitialFocusTimer=void 0,D(),a.active=!1,a.paused=!1,p5.deactivateTrap(o);var w=s(C,"onDeactivate"),R=s(C,"onPostDeactivate"),L=s(C,"checkCanReturnFocus");w&&w();var Q=s(C,"returnFocus","returnFocusOnDeactivate"),K=function(){g5(function(){Q&&f(h(a.nodeFocusedBeforeActivation)),R&&R()})};return Q&&L?(L(h(a.nodeFocusedBeforeActivation)).then(K,K),this):(K(),this)},pause:function(){return a.paused||!a.active?this:(a.paused=!0,D(),this)},unpause:function(){return!a.paused||!a.active?this:(a.paused=!1,d(),_(),this)},updateContainerElements:function(C){var w=[].concat(C).filter(Boolean);return a.containers=w.map(function(R){return typeof R=="string"?r.querySelector(R):R}),a.active&&d(),this}},o.updateContainerElements(t),o},us={exports:{}};(function(e,t){(function(r,i){e.exports=i()})(Ua,function(){return function(n){var r={};function i(a){if(r[a])return r[a].exports;var o=r[a]={i:a,l:!1,exports:{}};return n[a].call(o.exports,o,o.exports,i),o.l=!0,o.exports}return i.m=n,i.c=r,i.d=function(a,o,s){i.o(a,o)||Object.defineProperty(a,o,{enumerable:!0,get:s})},i.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},i.t=function(a,o){if(o&1&&(a=i(a)),o&8||o&4&&typeof a=="object"&&a&&a.__esModule)return a;var s=Object.create(null);if(i.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:a}),o&2&&typeof a!="string")for(var l in a)i.d(s,l,function(c){return a[c]}.bind(null,l));return s},i.n=function(a){var o=a&&a.__esModule?function(){return a.default}:function(){return a};return i.d(o,"a",o),o},i.o=function(a,o){return Object.prototype.hasOwnProperty.call(a,o)},i.p="",i(i.s=0)}([function(n,r,i){i.r(r);var a=function(M){return Array.isArray(M)?M:[M]},o=function(M){return M instanceof Node},s=function(M){return M instanceof NodeList},l=function(M,te){if(M&&te){M=s(M)?M:[M];for(var fe=0;fe<M.length&&te(M[fe],fe,M.length)!==!0;fe++);}},c=function(M){return console.error("[scroll-lock] ".concat(M))},u=function(M){if(Array.isArray(M)){var te=M.join(", ");return te}},d=function(M){var te=[];return l(M,function(fe){return te.push(fe)}),te},f=function(M,te){var fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,Pe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:document;if(fe&&d(Pe.querySelectorAll(te)).indexOf(M)!==-1)return M;for(;(M=M.parentElement)&&d(Pe.querySelectorAll(te)).indexOf(M)===-1;);return M},h=function(M,te){var fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:document,Pe=d(fe.querySelectorAll(te)).indexOf(M)!==-1;return Pe},m=function(M){if(M){var te=getComputedStyle(M),fe=te.overflow==="hidden";return fe}},p=function(M){if(M){if(m(M))return!0;var te=M.scrollTop;return te<=0}},b=function(M){if(M){if(m(M))return!0;var te=M.scrollTop,fe=M.scrollHeight,Pe=te+M.offsetHeight;return Pe>=fe}},v=function(M){if(M){if(m(M))return!0;var te=M.scrollLeft;return te<=0}},x=function(M){if(M){if(m(M))return!0;var te=M.scrollLeft,fe=M.scrollWidth,Pe=te+M.offsetWidth;return Pe>=fe}},_=function(M){var te='textarea, [contenteditable="true"]';return h(M,te)},D=function(M){var te='input[type="range"]';return h(M,te)};i.d(r,"disablePageScroll",function(){return Q}),i.d(r,"enablePageScroll",function(){return K}),i.d(r,"getScrollState",function(){return J}),i.d(r,"clearQueueScrollLocks",function(){return oe}),i.d(r,"getTargetScrollBarWidth",function(){return se}),i.d(r,"getCurrentTargetScrollBarWidth",function(){return de}),i.d(r,"getPageScrollBarWidth",function(){return U}),i.d(r,"getCurrentPageScrollBarWidth",function(){return De}),i.d(r,"addScrollableTarget",function(){return ne}),i.d(r,"removeScrollableTarget",function(){return Ge}),i.d(r,"addScrollableSelector",function(){return Ne}),i.d(r,"removeScrollableSelector",function(){return N}),i.d(r,"addLockableTarget",function(){return P}),i.d(r,"addLockableSelector",function(){return be}),i.d(r,"setFillGapMethod",function(){return Ve}),i.d(r,"addFillGapTarget",function(){return Et}),i.d(r,"removeFillGapTarget",function(){return ht}),i.d(r,"addFillGapSelector",function(){return st}),i.d(r,"removeFillGapSelector",function(){return ft}),i.d(r,"refillGaps",function(){return Ct});function I(j){for(var M=1;M<arguments.length;M++){var te=arguments[M]!=null?arguments[M]:{},fe=Object.keys(te);typeof Object.getOwnPropertySymbols=="function"&&(fe=fe.concat(Object.getOwnPropertySymbols(te).filter(function(Pe){return Object.getOwnPropertyDescriptor(te,Pe).enumerable}))),fe.forEach(function(Pe){C(j,Pe,te[Pe])})}return j}function C(j,M,te){return M in j?Object.defineProperty(j,M,{value:te,enumerable:!0,configurable:!0,writable:!0}):j[M]=te,j}var w=["padding","margin","width","max-width","none"],R=3,L={scroll:!0,queue:0,scrollableSelectors:["[data-scroll-lock-scrollable]"],lockableSelectors:["body","[data-scroll-lock-lockable]"],fillGapSelectors:["body","[data-scroll-lock-fill-gap]","[data-scroll-lock-lockable]"],fillGapMethod:w[0],startTouchY:0,startTouchX:0},Q=function(M){L.queue<=0&&(L.scroll=!1,ae(),Je()),ne(M),L.queue++},K=function(M){L.queue>0&&L.queue--,L.queue<=0&&(L.scroll=!0,Me(),bn()),Ge(M)},J=function(){return L.scroll},oe=function(){L.queue=0},se=function(M){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o(M)){var fe=M.style.overflowY;te?J()||(M.style.overflowY=M.getAttribute("data-scroll-lock-saved-overflow-y-property")):M.style.overflowY="scroll";var Pe=de(M);return M.style.overflowY=fe,Pe}else return 0},de=function(M){if(o(M))if(M===document.body){var te=document.documentElement.clientWidth,fe=window.innerWidth,Pe=fe-te;return Pe}else{var En=M.style.borderLeftWidth,yt=M.style.borderRightWidth;M.style.borderLeftWidth="0px",M.style.borderRightWidth="0px";var Bt=M.offsetWidth-M.clientWidth;return M.style.borderLeftWidth=En,M.style.borderRightWidth=yt,Bt}else return 0},U=function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return se(document.body,M)},De=function(){return de(document.body)},ne=function(M){if(M){var te=a(M);te.map(function(fe){l(fe,function(Pe){o(Pe)?Pe.setAttribute("data-scroll-lock-scrollable",""):c('"'.concat(Pe,'" is not a Element.'))})})}},Ge=function(M){if(M){var te=a(M);te.map(function(fe){l(fe,function(Pe){o(Pe)?Pe.removeAttribute("data-scroll-lock-scrollable"):c('"'.concat(Pe,'" is not a Element.'))})})}},Ne=function(M){if(M){var te=a(M);te.map(function(fe){L.scrollableSelectors.push(fe)})}},N=function(M){if(M){var te=a(M);te.map(function(fe){L.scrollableSelectors=L.scrollableSelectors.filter(function(Pe){return Pe!==fe})})}},P=function(M){if(M){var te=a(M);te.map(function(fe){l(fe,function(Pe){o(Pe)?Pe.setAttribute("data-scroll-lock-lockable",""):c('"'.concat(Pe,'" is not a Element.'))})}),J()||ae()}},be=function(M){if(M){var te=a(M);te.map(function(fe){L.lockableSelectors.push(fe)}),J()||ae(),st(M)}},Ve=function(M){if(M)if(w.indexOf(M)!==-1)L.fillGapMethod=M,Ct();else{var te=w.join(", ");c('"'.concat(M,`" method is not available! Available fill gap methods: `).concat(te,"."))}},Et=function(M){if(M){var te=a(M);te.map(function(fe){l(fe,function(Pe){o(Pe)?(Pe.setAttribute("data-scroll-lock-fill-gap",""),L.scroll||qn(Pe)):c('"'.concat(Pe,'" is not a Element.'))})})}},ht=function(M){if(M){var te=a(M);te.map(function(fe){l(fe,function(Pe){o(Pe)?(Pe.removeAttribute("data-scroll-lock-fill-gap"),L.scroll||Jn(Pe)):c('"'.concat(Pe,'" is not a Element.'))})})}},st=function(M){if(M){var te=a(M);te.map(function(fe){L.fillGapSelectors.indexOf(fe)===-1&&(L.fillGapSelectors.push(fe),L.scroll||Hn(fe))})}},ft=function(M){if(M){var te=a(M);te.map(function(fe){L.fillGapSelectors=L.fillGapSelectors.filter(function(Pe){return Pe!==fe}),L.scroll||Cn(fe)})}},Ct=function(){L.scroll||Je()},ae=function(){var M=u(L.lockableSelectors);dt(M)},Me=function(){var M=u(L.lockableSelectors);At(M)},dt=function(M){var te=document.querySelectorAll(M);l(te,function(fe){zn(fe)})},At=function(M){var te=document.querySelectorAll(M);l(te,function(fe){br(fe)})},zn=function(M){if(o(M)&&M.getAttribute("data-scroll-lock-locked")!=="true"){var te=window.getComputedStyle(M);M.setAttribute("data-scroll-lock-saved-overflow-y-property",te.overflowY),M.setAttribute("data-scroll-lock-saved-inline-overflow-property",M.style.overflow),M.setAttribute("data-scroll-lock-saved-inline-overflow-y-property",M.style.overflowY),M.style.overflow="hidden",M.setAttribute("data-scroll-lock-locked","true")}},br=function(M){o(M)&&M.getAttribute("data-scroll-lock-locked")==="true"&&(M.style.overflow=M.getAttribute("data-scroll-lock-saved-inline-overflow-property"),M.style.overflowY=M.getAttribute("data-scroll-lock-saved-inline-overflow-y-property"),M.removeAttribute("data-scroll-lock-saved-overflow-property"),M.removeAttribute("data-scroll-lock-saved-inline-overflow-property"),M.removeAttribute("data-scroll-lock-saved-inline-overflow-y-property"),M.removeAttribute("data-scroll-lock-locked"))},Je=function(){L.fillGapSelectors.map(function(M){Hn(M)})},bn=function(){L.fillGapSelectors.map(function(M){Cn(M)})},Hn=function(M){var te=document.querySelectorAll(M),fe=L.lockableSelectors.indexOf(M)!==-1;l(te,function(Pe){qn(Pe,fe)})},qn=function(M){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o(M)){var fe;if(M.getAttribute("data-scroll-lock-lockable")===""||te)fe=se(M,!0);else{var Pe=f(M,u(L.lockableSelectors));fe=se(Pe,!0)}M.getAttribute("data-scroll-lock-filled-gap")==="true"&&Jn(M);var En=window.getComputedStyle(M);if(M.setAttribute("data-scroll-lock-filled-gap","true"),M.setAttribute("data-scroll-lock-current-fill-gap-method",L.fillGapMethod),L.fillGapMethod==="margin"){var yt=parseFloat(En.marginRight);M.style.marginRight="".concat(yt+fe,"px")}else if(L.fillGapMethod==="width")M.style.width="calc(100% - ".concat(fe,"px)");else if(L.fillGapMethod==="max-width")M.style.maxWidth="calc(100% - ".concat(fe,"px)");else if(L.fillGapMethod==="padding"){var Bt=parseFloat(En.paddingRight);M.style.paddingRight="".concat(Bt+fe,"px")}}},Cn=function(M){var te=document.querySelectorAll(M);l(te,function(fe){Jn(fe)})},Jn=function(M){if(o(M)&&M.getAttribute("data-scroll-lock-filled-gap")==="true"){var te=M.getAttribute("data-scroll-lock-current-fill-gap-method");M.removeAttribute("data-scroll-lock-filled-gap"),M.removeAttribute("data-scroll-lock-current-fill-gap-method"),te==="margin"?M.style.marginRight="":te==="width"?M.style.width="":te==="max-width"?M.style.maxWidth="":te==="padding"&&(M.style.paddingRight="")}},lr=function(M){Ct()},An=function(M){L.scroll||(L.startTouchY=M.touches[0].clientY,L.startTouchX=M.touches[0].clientX)},cr=function(M){if(!L.scroll){var te=L.startTouchY,fe=L.startTouchX,Pe=M.touches[0].clientY,En=M.touches[0].clientX;if(M.touches.length<2){var yt=u(L.scrollableSelectors),Bt={up:te<Pe,down:te>Pe,left:fe<En,right:fe>En},vn={up:te+R<Pe,down:te-R>Pe,left:fe+R<En,right:fe-R>En},ur=function zt(Ut){var Wn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Ut){var wa=f(Ut,yt,!1);if(D(Ut))return!1;if(Wn||_(Ut)&&f(Ut,yt)||h(Ut,yt)){var Ar=!1;v(Ut)&&x(Ut)?(Bt.up&&p(Ut)||Bt.down&&b(Ut))&&(Ar=!0):p(Ut)&&b(Ut)?(Bt.left&&v(Ut)||Bt.right&&x(Ut))&&(Ar=!0):(vn.up&&p(Ut)||vn.down&&b(Ut)||vn.left&&v(Ut)||vn.right&&x(Ut))&&(Ar=!0),Ar&&(wa?zt(wa,!0):M.cancelable&&M.preventDefault())}else zt(wa)}else M.cancelable&&M.preventDefault()};ur(M.target)}}},$r=function(M){L.scroll||(L.startTouchY=0,L.startTouchX=0)};typeof window<"u"&&window.addEventListener("resize",lr),typeof document<"u"&&(document.addEventListener("touchstart",An),document.addEventListener("touchmove",cr,{passive:!1}),document.addEventListener("touchend",$r));var _i={hide:function(M){c(`"hide" is deprecated! Use "disablePageScroll" instead. https://github.com/FL3NKEY/scroll-lock#disablepagescrollscrollabletarget`),Q(M)},show:function(M){c(`"show" is deprecated! Use "enablePageScroll" instead. https://github.com/FL3NKEY/scroll-lock#enablepagescrollscrollabletarget`),K(M)},toggle:function(M){c('"toggle" is deprecated! Do not use it.'),J()?Q():K(M)},getState:function(){return c(`"getState" is deprecated! Use "getScrollState" instead. https://github.com/FL3NKEY/scroll-lock#getscrollstate`),J()},getWidth:function(){return c(`"getWidth" is deprecated! Use "getPageScrollBarWidth" instead. https://github.com/FL3NKEY/scroll-lock#getpagescrollbarwidth`),U()},getCurrentWidth:function(){return c(`"getCurrentWidth" is deprecated! Use "getCurrentPageScrollBarWidth" instead. https://github.com/FL3NKEY/scroll-lock#getcurrentpagescrollbarwidth`),De()},setScrollableTargets:function(M){c(`"setScrollableTargets" is deprecated! Use "addScrollableTarget" instead. https://github.com/FL3NKEY/scroll-lock#addscrollabletargetscrollabletarget`),ne(M)},setFillGapSelectors:function(M){c(`"setFillGapSelectors" is deprecated! Use "addFillGapSelector" instead. https://github.com/FL3NKEY/scroll-lock#addfillgapselectorfillgapselector`),st(M)},setFillGapTargets:function(M){c(`"setFillGapTargets" is deprecated! Use "addFillGapTarget" instead. https://github.com/FL3NKEY/scroll-lock#addfillgaptargetfillgaptarget`),Et(M)},clearQueue:function(){c(`"clearQueue" is deprecated! Use "clearQueueScrollLocks" instead. https://github.com/FL3NKEY/scroll-lock#clearqueuescrolllocks`),oe()}},Cr=I({disablePageScroll:Q,enablePageScroll:K,getScrollState:J,clearQueueScrollLocks:oe,getTargetScrollBarWidth:se,getCurrentTargetScrollBarWidth:de,getPageScrollBarWidth:U,getCurrentPageScrollBarWidth:De,addScrollableSelector:Ne,removeScrollableSelector:N,addScrollableTarget:ne,removeScrollableTarget:Ge,addLockableSelector:be,addLockableTarget:P,addFillGapSelector:st,removeFillGapSelector:ft,addFillGapTarget:Et,removeFillGapTarget:ht,setFillGapMethod:Ve,refillGaps:Ct,_state:L},_i);r.default=Cr}]).default})})(us);function Qa(e){return e.split("-")[0]}function ac(e){return e.split("-")[1]}function Hs(e){return["top","bottom"].includes(Qa(e))?"x":"y"}function yh(e){return e==="y"?"height":"width"}function b5(e,t,n){let{reference:r,floating:i}=e;const a=r.x+r.width/2-i.width/2,o=r.y+r.height/2-i.height/2,s=Hs(t),l=yh(s),c=r[l]/2-i[l]/2,u=s==="x";let d;switch(Qa(t)){case"top":d={x:a,y:r.y-i.height};break;case"bottom":d={x:a,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:o};break;case"left":d={x:r.x-i.width,y:o};break;default:d={x:r.x,y:r.y}}switch(ac(t)){case"start":d[s]-=c*(n&&u?-1:1);break;case"end":d[s]+=c*(n&&u?-1:1)}return d}const tT=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:o}=n,s=await(o.isRTL==null?void 0:o.isRTL(t));let l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:u}=b5(l,r,s),d=r,f={};for(let h=0;h<a.length;h++){const{name:m,fn:p}=a[h],{x:b,y:v,data:x,reset:_}=await p({x:c,y:u,initialPlacement:r,placement:d,strategy:i,middlewareData:f,rects:l,platform:o,elements:{reference:e,floating:t}});c=b!=null?b:c,u=v!=null?v:u,f={...f,[m]:{...f[m],...x}},_&&(typeof _=="object"&&(_.placement&&(d=_.placement),_.rects&&(l=_.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):_.rects),{x:c,y:u}=b5(l,d,s)),h=-1)}return{x:c,y:u,placement:d,strategy:i,middlewareData:f}};function Th(e){return typeof e!="number"?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(e):{top:e,right:e,bottom:e,left:e}}function Vl(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Yl(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:a,rects:o,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=t,m=Th(h),p=s[f?d==="floating"?"reference":"floating":d],b=Vl(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(p)))==null||n?p:p.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),v=Vl(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:d==="floating"?{...o.floating,x:r,y:i}:o.reference,offsetParent:await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),strategy:l}):o[d]);return{top:b.top-v.top+m.top,bottom:v.bottom-b.bottom+m.bottom,left:b.left-v.left+m.left,right:v.right-b.right+m.right}}const fg=Math.min,Fa=Math.max;function Td(e,t,n){return Fa(e,fg(t,n))}const mg=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e!=null?e:{},{x:i,y:a,placement:o,rects:s,platform:l}=t;if(n==null)return{};const c=Th(r),u={x:i,y:a},d=Hs(o),f=yh(d),h=await l.getDimensions(n),m=d==="y"?"top":"left",p=d==="y"?"bottom":"right",b=s.reference[f]+s.reference[d]-u[d]-s.floating[f],v=u[d]-s.reference[d],x=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n)),_=x?d==="y"?x.clientHeight||0:x.clientWidth||0:0,D=b/2-v/2,I=c[m],C=_-h[f]-c[p],w=_/2-h[f]/2+D,R=Td(I,w,C);return{data:{[d]:R,centerOffset:w-R}}}}),nT={left:"right",right:"left",bottom:"top",top:"bottom"};function D0(e){return e.replace(/left|right|bottom|top/g,t=>nT[t])}function rT(e,t,n){n===void 0&&(n=!1);const r=ac(e),i=Hs(e),a=yh(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(o=D0(o)),{main:o,cross:D0(o)}}const iT={start:"end",end:"start"};function v5(e){return e.replace(/start|end/g,t=>iT[t])}const pg=["top","right","bottom","left"];pg.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const oc=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:l}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",flipAlignment:h=!0,...m}=e,p=Qa(r),b=d||(p===o||!h?[D0(o)]:function(R){const L=D0(R);return[v5(R),L,v5(L)]}(o)),v=[o,...b],x=await Yl(t,m),_=[];let D=((n=i.flip)==null?void 0:n.overflows)||[];if(c&&_.push(x[p]),u){const{main:R,cross:L}=rT(r,a,await(s.isRTL==null?void 0:s.isRTL(l.floating)));_.push(x[R],x[L])}if(D=[...D,{placement:r,overflows:_}],!_.every(R=>R<=0)){var I,C;const R=((I=(C=i.flip)==null?void 0:C.index)!=null?I:0)+1,L=v[R];if(L)return{data:{index:R,overflows:D},reset:{placement:L}};let Q="bottom";switch(f){case"bestFit":{var w;const K=(w=D.map(J=>[J,J.overflows.filter(oe=>oe>0).reduce((oe,se)=>oe+se,0)]).sort((J,oe)=>J[1]-oe[1])[0])==null?void 0:w[0].placement;K&&(Q=K);break}case"initialPlacement":Q=o}if(r!==Q)return{reset:{placement:Q}}}return{}}}};function y5(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function T5(e){return pg.some(t=>e[t]>=0)}const gg=function(e){let{strategy:t="referenceHidden",...n}=e===void 0?{}:e;return{name:"hide",async fn(r){const{rects:i}=r;switch(t){case"referenceHidden":{const a=y5(await Yl(r,{...n,elementContext:"reference"}),i.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:T5(a)}}}case"escaped":{const a=y5(await Yl(r,{...n,altBoundary:!0}),i.floating);return{data:{escapedOffsets:a,escaped:T5(a)}}}default:return{}}}}},sc=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r,placement:i,rects:a,platform:o,elements:s}=t,l=function(c,u,d,f){f===void 0&&(f=!1);const h=Qa(c),m=ac(c),p=Hs(c)==="x",b=["left","top"].includes(h)?-1:1,v=f&&p?-1:1,x=typeof d=="function"?d({...u,placement:c}):d;let{mainAxis:_,crossAxis:D,alignmentAxis:I}=typeof x=="number"?{mainAxis:x,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...x};return m&&typeof I=="number"&&(D=m==="end"?-1*I:I),p?{x:D*v,y:_*b}:{x:_*b,y:D*v}}(i,a,e,await(o.isRTL==null?void 0:o.isRTL(s.floating)));return{x:n+l.x,y:r+l.y,data:l}}}};function aT(e){return e==="x"?"y":"x"}const lc=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:s={fn:b=>{let{x:v,y:x}=b;return{x:v,y:x}}},...l}=e,c={x:n,y:r},u=await Yl(t,l),d=Hs(Qa(i)),f=aT(d);let h=c[d],m=c[f];if(a){const b=d==="y"?"bottom":"right";h=Td(h+u[d==="y"?"top":"left"],h,h-u[b])}if(o){const b=f==="y"?"bottom":"right";m=Td(m+u[f==="y"?"top":"left"],m,m-u[b])}const p=s.fn({...t,[d]:h,[f]:m});return{...p,data:{x:p.x-n,y:p.y-r}}}}},oT=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:i,elements:a}=t,{apply:o,...s}=e,l=await Yl(t,s),c=Qa(n),u=ac(n);let d,f;c==="top"||c==="bottom"?(d=c,f=u===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(f=c,d=u==="end"?"top":"bottom");const h=Fa(l.left,0),m=Fa(l.right,0),p=Fa(l.top,0),b=Fa(l.bottom,0),v={height:r.floating.height-(["left","right"].includes(n)?2*(p!==0||b!==0?p+b:Fa(l.top,l.bottom)):l[d]),width:r.floating.width-(["top","bottom"].includes(n)?2*(h!==0||m!==0?h+m:Fa(l.left,l.right)):l[f])},x=await i.getDimensions(a.floating);o==null||o({...v,...r});const _=await i.getDimensions(a.floating);return x.width!==_.width||x.height!==_.height?{reset:{rects:!0}}:{}}}},bg=function(e){return e===void 0&&(e={}),{name:"inline",options:e,async fn(t){var n;const{placement:r,elements:i,rects:a,platform:o,strategy:s}=t,{padding:l=2,x:c,y:u}=e,d=Vl(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:a.reference,offsetParent:await(o.getOffsetParent==null?void 0:o.getOffsetParent(i.floating)),strategy:s}):a.reference),f=(n=await(o.getClientRects==null?void 0:o.getClientRects(i.reference)))!=null?n:[],h=Th(l),m=await o.getElementRects({reference:{getBoundingClientRect:function(){var p;if(f.length===2&&f[0].left>f[1].right&&c!=null&&u!=null)return(p=f.find(b=>c>b.left-h.left&&c<b.right+h.right&&u>b.top-h.top&&u<b.bottom+h.bottom))!=null?p:d;if(f.length>=2){if(Hs(r)==="x"){const C=f[0],w=f[f.length-1],R=Qa(r)==="top",L=C.top,Q=w.bottom,K=R?C.left:w.left,J=R?C.right:w.right;return{top:L,bottom:Q,left:K,right:J,width:J-K,height:Q-L,x:K,y:L}}const b=Qa(r)==="left",v=Fa(...f.map(C=>C.right)),x=fg(...f.map(C=>C.left)),_=f.filter(C=>b?C.left===x:C.right===v),D=_[0].top,I=_[_.length-1].bottom;return{top:D,bottom:I,left:x,right:v,width:v-x,height:I-D,x,y:D}}return d}},floating:i.floating,strategy:s});return a.reference.x!==m.reference.x||a.reference.y!==m.reference.y||a.reference.width!==m.reference.width||a.reference.height!==m.reference.height?{reset:{rects:m}}:{}}}};function vg(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function va(e){if(e==null)return window;if(!vg(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function s1(e){return va(e).getComputedStyle(e)}function oa(e){return vg(e)?"":e?(e.nodeName||"").toLowerCase():""}function Pi(e){return e instanceof va(e).HTMLElement}function Za(e){return e instanceof va(e).Element}function Eh(e){return e instanceof va(e).ShadowRoot||e instanceof ShadowRoot}function cc(e){const{overflow:t,overflowX:n,overflowY:r}=s1(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function sT(e){return["table","td","th"].includes(oa(e))}function E5(e){const t=navigator.userAgent.toLowerCase().includes("firefox"),n=s1(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"}function yg(){return!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}const _5=Math.min,Rl=Math.max,P0=Math.round;function sa(e,t,n){var r,i,a,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect();let l=1,c=1;t&&Pi(e)&&(l=e.offsetWidth>0&&P0(s.width)/e.offsetWidth||1,c=e.offsetHeight>0&&P0(s.height)/e.offsetHeight||1);const u=Za(e)?va(e):window,d=!yg()&&n,f=(s.left+(d&&(r=(i=u.visualViewport)==null?void 0:i.offsetLeft)!=null?r:0))/l,h=(s.top+(d&&(a=(o=u.visualViewport)==null?void 0:o.offsetTop)!=null?a:0))/c,m=s.width/l,p=s.height/c;return{width:m,height:p,top:h,right:f+m,bottom:h+p,left:f,x:f,y:h}}function Wa(e){return(t=e,(t instanceof va(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function uc(e){return Za(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Tg(e){return sa(Wa(e)).left+uc(e).scrollLeft}function lT(e,t,n){const r=Pi(t),i=Wa(t),a=sa(e,r&&function(l){const c=sa(l);return P0(c.width)!==l.offsetWidth||P0(c.height)!==l.offsetHeight}(t),n==="fixed");let o={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((oa(t)!=="body"||cc(i))&&(o=uc(t)),Pi(t)){const l=sa(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else i&&(s.x=Tg(i));return{x:a.left+o.scrollLeft-s.x,y:a.top+o.scrollTop-s.y,width:a.width,height:a.height}}function Eg(e){return oa(e)==="html"?e:e.assignedSlot||e.parentNode||(Eh(e)?e.host:null)||Wa(e)}function x5(e){return Pi(e)&&getComputedStyle(e).position!=="fixed"?e.offsetParent:null}function Ed(e){const t=va(e);let n=x5(e);for(;n&&sT(n)&&getComputedStyle(n).position==="static";)n=x5(n);return n&&(oa(n)==="html"||oa(n)==="body"&&getComputedStyle(n).position==="static"&&!E5(n))?t:n||function(r){let i=Eg(r);for(Eh(i)&&(i=i.host);Pi(i)&&!["html","body"].includes(oa(i));){if(E5(i))return i;i=i.parentNode}return null}(e)||t}function S5(e){if(Pi(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=sa(e);return{width:t.width,height:t.height}}function _g(e){const t=Eg(e);return["html","body","#document"].includes(oa(t))?e.ownerDocument.body:Pi(t)&&cc(t)?t:_g(t)}function $0(e,t){var n;t===void 0&&(t=[]);const r=_g(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),a=va(r),o=i?[a].concat(a.visualViewport||[],cc(r)?r:[]):r,s=t.concat(o);return i?s:s.concat($0(o))}function w5(e,t,n){return t==="viewport"?Vl(function(r,i){const a=va(r),o=Wa(r),s=a.visualViewport;let l=o.clientWidth,c=o.clientHeight,u=0,d=0;if(s){l=s.width,c=s.height;const f=yg();(f||!f&&i==="fixed")&&(u=s.offsetLeft,d=s.offsetTop)}return{width:l,height:c,x:u,y:d}}(e,n)):Za(t)?function(r,i){const a=sa(r,!1,i==="fixed"),o=a.top+r.clientTop,s=a.left+r.clientLeft;return{top:o,left:s,x:s,y:o,right:s+r.clientWidth,bottom:o+r.clientHeight,width:r.clientWidth,height:r.clientHeight}}(t,n):Vl(function(r){var i;const a=Wa(r),o=uc(r),s=(i=r.ownerDocument)==null?void 0:i.body,l=Rl(a.scrollWidth,a.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),c=Rl(a.scrollHeight,a.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let u=-o.scrollLeft+Tg(r);const d=-o.scrollTop;return s1(s||a).direction==="rtl"&&(u+=Rl(a.clientWidth,s?s.clientWidth:0)-l),{width:l,height:c,x:u,y:d}}(Wa(e)))}function cT(e){const t=$0(e),n=["absolute","fixed"].includes(s1(e).position)&&Pi(e)?Ed(e):e;return Za(n)?t.filter(r=>Za(r)&&function(i,a){const o=a==null||a.getRootNode==null?void 0:a.getRootNode();if(i!=null&&i.contains(a))return!0;if(o&&Eh(o)){let s=a;do{if(s&&i===s)return!0;s=s.parentNode||s.host}while(s)}return!1}(r,n)&&oa(r)!=="body"):[]}const uT={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const a=[...n==="clippingAncestors"?cT(t):[].concat(n),r],o=a[0],s=a.reduce((l,c)=>{const u=w5(t,c,i);return l.top=Rl(u.top,l.top),l.right=_5(u.right,l.right),l.bottom=_5(u.bottom,l.bottom),l.left=Rl(u.left,l.left),l},w5(t,o,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const i=Pi(n),a=Wa(n);if(n===a)return t;let o={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((i||!i&&r!=="fixed")&&((oa(n)!=="body"||cc(a))&&(o=uc(n)),Pi(n))){const l=sa(n,!0);s.x=l.x+n.clientLeft,s.y=l.y+n.clientTop}return{...t,x:t.x-o.scrollLeft+s.x,y:t.y-o.scrollTop+s.y}},isElement:Za,getDimensions:S5,getOffsetParent:Ed,getDocumentElement:Wa,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:lT(t,Ed(n),r),floating:{...S5(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>s1(e).direction==="rtl"};function dc(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=!0,animationFrame:s=!1}=r;let l=!1;const c=i&&!s,u=a&&!s,d=o&&!s,f=c||u?[...Za(e)?$0(e):[],...$0(t)]:[];f.forEach(b=>{c&&b.addEventListener("scroll",n,{passive:!0}),u&&b.addEventListener("resize",n)});let h,m=null;d&&(m=new ResizeObserver(n),Za(e)&&m.observe(e),m.observe(t));let p=s?sa(e):null;return s&&function b(){if(l)return;const v=sa(e);!p||v.x===p.x&&v.y===p.y&&v.width===p.width&&v.height===p.height||n(),p=v,h=requestAnimationFrame(b)}(),()=>{var b;l=!0,f.forEach(v=>{c&&v.removeEventListener("scroll",n),u&&v.removeEventListener("resize",n)}),(b=m)==null||b.disconnect(),m=null,s&&cancelAnimationFrame(h)}}const hc=(e,t,n)=>tT(e,t,{platform:uT,...n});var dT=Object.defineProperty,hT=Object.defineProperties,fT=Object.getOwnPropertyDescriptors,C5=Object.getOwnPropertySymbols,mT=Object.prototype.hasOwnProperty,pT=Object.prototype.propertyIsEnumerable,A5=(e,t,n)=>t in e?dT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ae=(e,t)=>{for(var n in t||(t={}))mT.call(t,n)&&A5(e,n,t[n]);if(C5)for(var n of C5(t))pT.call(t,n)&&A5(e,n,t[n]);return e},Mi=(e,t)=>hT(e,fT(t));function gT(e){return typeof e=="number"}function m0(e){return Array.isArray(e)}function _h(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!m0(e)}function or(e){return typeof e=="function"}function xg(e){return e==null}function bT(e){return Object.prototype.toString.call(e)==="[object String]"}function Yn(e,t){return e&&(or(e)?e(t):e[0](e[1],t)),t==null?void 0:t.defaultPrevented}function rr(...e){return function(t){e.some(n=>Yn(n,t))}}const Sg=()=>typeof Storage<"u",wg="hope-ui-color-mode",Is={light:"hope-ui-light",dark:"hope-ui-dark"};function vT(){if(!Sg())return null;try{return localStorage.getItem(wg)}catch{return null}}function yT(e){if(!!Sg())try{localStorage.setItem(wg,e)}catch{}}function TT(e){const t=vT();return t||(e==="system"?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e)}function ET(e){return e?Is.dark:Is.light}function _T(e){const t=document.body;t.classList.add(ET(e)),t.classList.remove(e?Is.light:Is.dark)}const Cg={px:"1px","0_5":"0.125rem",1:"0.25rem","1_5":"0.375rem",2:"0.5rem","2_5":"0.625rem",3:"0.75rem","3_5":"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},ds=Mi(Ae({},Cg),{prose:"65ch",max:"max-content",min:"min-content",full:"100%",screenW:"100vw",screenH:"100vh",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",containerSm:"640px",containerMd:"768px",containerLg:"1024px",containerXl:"1280px",container2xl:"1536px"}),xT={sm:`(min-width: ${ds.containerSm})`,md:`(min-width: ${ds.containerMd})`,lg:`(min-width: ${ds.containerLg})`,xl:`(min-width: ${ds.containerXl})`,"2xl":`(min-width: ${ds.container2xl})`,"reduce-motion":"(prefers-reduced-motion: reduce)",light:"(prefers-color-scheme: light)",dark:"(prefers-color-scheme: dark)"},ST={bg:e=>({background:e}),bgColor:e=>({backgroundColor:e})},wT={borderX:e=>({borderLeft:e,borderRight:e}),borderY:e=>({borderTop:e,borderBottom:e})},CT={d:e=>({display:e})},AT={m:e=>({margin:e}),mt:e=>({marginTop:e}),mr:e=>({marginRight:e}),marginStart:e=>({marginInlineStart:e}),ms:e=>({marginInlineStart:e}),mb:e=>({marginBottom:e}),ml:e=>({marginLeft:e}),marginEnd:e=>({marginInlineEnd:e}),me:e=>({marginInlineEnd:e}),mx:e=>({marginInlineStart:e,marginInlineEnd:e}),my:e=>({marginTop:e,marginBottom:e}),spaceX:e=>({"& > * + *":{marginLeft:e}}),spaceY:e=>({"& > * + *":{marginTop:e}})},kT={p:e=>({padding:e}),pt:e=>({paddingTop:e}),pr:e=>({paddingRight:e}),paddingStart:e=>({paddingInlineStart:e}),ps:e=>({paddingInlineStart:e}),pb:e=>({paddingBottom:e}),pl:e=>({paddingLeft:e}),pe:e=>({paddingInlineEnd:e}),paddingEnd:e=>({paddingInlineEnd:e}),px:e=>({paddingInlineStart:e,paddingInlineEnd:e}),py:e=>({paddingTop:e,paddingBottom:e})},NT={pos:e=>({position:e})};function Gi(...e){return e.map(t=>`[role=group]${t} &, [data-group]${t} &, .group${t} &`).join(", ")}function xi(...e){return e.map(t=>`[data-peer]${t} ~ &, .peer${t} ~ &`).join(", ")}const OT={_hover:e=>({"&:hover, &[data-hover]":e}),_active:e=>({"&:active, &[data-active]":e}),_focus:e=>({"&:focus, &[data-focus]":e}),_highlighted:e=>({"&[data-highlighted]":e}),_focusWithin:e=>({"&:focus-within":e}),_focusVisible:e=>({"&:focus-visible":e}),_disabled:e=>({"&[disabled], &[aria-disabled=true], &[data-disabled]":e}),_readOnly:e=>({"&[aria-readonly=true], &[readonly], &[data-readonly]":e}),_before:e=>({"&::before":e}),_after:e=>({"&::after":e}),_empty:e=>({"&:empty":e}),_expanded:e=>({"&[aria-expanded=true], &[data-expanded]":e}),_checked:e=>({"&[aria-checked=true], &[data-checked]":e}),_grabbed:e=>({"&[aria-grabbed=true], &[data-grabbed]":e}),_pressed:e=>({"&[aria-pressed=true], &[data-pressed]":e}),_invalid:e=>({"&[aria-invalid=true], &[data-invalid]":e}),_valid:e=>({"&[data-valid], &[data-state=valid]":e}),_loading:e=>({"&[data-loading], &[aria-busy=true]":e}),_selected:e=>({"&[aria-selected=true], &[data-selected]":e}),_hidden:e=>({"&[hidden], &[data-hidden]":e}),_even:e=>({"&:nth-of-type(even)":e}),_odd:e=>({"&:nth-of-type(odd)":e}),_first:e=>({"&:first-of-type":e}),_last:e=>({"&:last-of-type":e}),_notFirst:e=>({"&:not(:first-of-type)":e}),_notLast:e=>({"&:not(:last-of-type)":e}),_visited:e=>({"&:visited":e}),_activeLink:e=>({"&[aria-current=page]":e}),_activeStep:e=>({"&[aria-current=step]":e}),_indeterminate:e=>({"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]":e}),_groupHover:e=>({[Gi(":hover","[data-hover]")]:e}),_peerHover:e=>({[xi(":hover","[data-hover]")]:e}),_groupFocus:e=>({[Gi(":focus","[data-focus]")]:e}),_peerFocus:e=>({[xi(":focus","[data-focus]")]:e}),_groupFocusVisible:e=>({[Gi(":focus-visible")]:e}),_peerFocusVisible:e=>({[xi(":focus-visible")]:e}),_groupActive:e=>({[Gi(":active","[data-active]")]:e}),_peerActive:e=>({[xi(":active","[data-active]")]:e}),_groupSelected:e=>({[Gi("[aria-selected=true]","[data-selected]")]:e}),_peerSelected:e=>({[xi("[aria-selected=true]","[data-selected]")]:e}),_groupDisabled:e=>({[Gi(":disabled","[data-disabled]")]:e}),_peerDisabled:e=>({[xi(":disabled","[data-disabled]")]:e}),_groupInvalid:e=>({[Gi(":invalid","[data-invalid]")]:e}),_peerInvalid:e=>({[xi(":invalid","[data-invalid]")]:e}),_groupChecked:e=>({[Gi(":checked","[data-checked]")]:e}),_peerChecked:e=>({[xi(":checked","[data-checked]")]:e}),_groupFocusWithin:e=>({[Gi(":focus-within")]:e}),_peerFocusWithin:e=>({[xi(":focus-within")]:e}),_peerPlaceholderShown:e=>({[xi(":placeholder-shown")]:e}),_placeholder:e=>({"&::placeholder":e}),_placeholderShown:e=>({"&:placeholder-shown":e}),_fullScreen:e=>({"&:fullscreen":e}),_selection:e=>({"&::selection":e}),_mediaDark:e=>({"@media (prefers-color-scheme: dark)":e}),_mediaReduceMotion:e=>({"@media (prefers-reduced-motion: reduce)":e}),_dark:e=>({".hope-ui-dark &":e}),_light:e=>({".hope-ui-light &":e})},MT={borderTopRadius:e=>({borderTopLeftRadius:e,borderTopRightRadius:e}),borderRightRadius:e=>({borderTopRightRadius:e,borderBottomRightRadius:e}),borderStartRadius:e=>({borderStartStartRadius:e,borderEndStartRadius:e}),borderBottomRadius:e=>({borderBottomLeftRadius:e,borderBottomRightRadius:e}),borderLeftRadius:e=>({borderTopLeftRadius:e,borderBottomLeftRadius:e}),borderEndRadius:e=>({borderStartEndRadius:e,borderEndEndRadius:e}),rounded:e=>({borderRadius:e}),roundedTop:e=>({borderTopLeftRadius:e,borderTopRightRadius:e}),roundedRight:e=>({borderTopRightRadius:e,borderBottomRightRadius:e}),roundedStart:e=>({borderStartStartRadius:e,borderEndStartRadius:e}),roundedBottom:e=>({borderBottomLeftRadius:e,borderBottomRightRadius:e}),roundedLeft:e=>({borderTopLeftRadius:e,borderBottomLeftRadius:e}),roundedEnd:e=>({borderStartEndRadius:e,borderEndEndRadius:e})},IT={shadow:e=>({boxShadow:e})},RT={w:e=>({width:e}),minW:e=>({minWidth:e}),maxW:e=>({maxWidth:e}),h:e=>({height:e}),minH:e=>({minHeight:e}),maxH:e=>({maxHeight:e}),boxSize:e=>({width:e,height:e})},LT={noOfLines:e=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e})},DT=Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae({},ST),wT),CT),NT),OT),MT),AT),kT),IT),RT),LT),PT={blackAlpha1:"#00000003",blackAlpha2:"#00000007",blackAlpha3:"#0000000c",blackAlpha4:"#00000012",blackAlpha5:"#00000017",blackAlpha6:"#0000001d",blackAlpha7:"#00000024",blackAlpha8:"#00000038",blackAlpha9:"#00000070",blackAlpha10:"#0000007a",blackAlpha11:"#00000090",blackAlpha12:"#000000e8"},$T={whiteAlpha1:"#ffffff00",whiteAlpha2:"#ffffff03",whiteAlpha3:"#ffffff09",whiteAlpha4:"#ffffff0e",whiteAlpha5:"#ffffff16",whiteAlpha6:"#ffffff20",whiteAlpha7:"#ffffff2d",whiteAlpha8:"#ffffff3f",whiteAlpha9:"#ffffff62",whiteAlpha10:"#ffffff72",whiteAlpha11:"#ffffff97",whiteAlpha12:"#ffffffeb"},BT=Ae(Ae({},PT),$T),FT={primary1:"#fafdfe",primary2:"#f2fcfd",primary3:"#e7f9fb",primary4:"#d8f3f6",primary5:"#c4eaef",primary6:"#aadee6",primary7:"#84cdda",primary8:"#3db9cf",primary9:"#05a2c2",primary10:"#0894b3",primary11:"#0c7792",primary12:"#04313c"},zT={accent1:"#fdfcfe",accent2:"#fbfaff",accent3:"#f5f2ff",accent4:"#ede9fe",accent5:"#e4defc",accent6:"#d7cff9",accent7:"#c4b8f3",accent8:"#aa99ec",accent9:"#6e56cf",accent10:"#644fc1",accent11:"#5746af",accent12:"#20134b"},HT={neutral1:"#fbfcfd",neutral2:"#f8f9fa",neutral3:"#f1f3f5",neutral4:"#eceef0",neutral5:"#e6e8eb",neutral6:"#dfe3e6",neutral7:"#d7dbdf",neutral8:"#c1c8cd",neutral9:"#889096",neutral10:"#7e868c",neutral11:"#687076",neutral12:"#11181c"},UT={success1:"#fbfefc",success2:"#f2fcf5",success3:"#e9f9ee",success4:"#ddf3e4",success5:"#ccebd7",success6:"#b4dfc4",success7:"#92ceac",success8:"#5bb98c",success9:"#30a46c",success10:"#299764",success11:"#18794e",success12:"#153226"},jT={info1:"#fbfdff",info2:"#f5faff",info3:"#edf6ff",info4:"#e1f0ff",info5:"#cee7fe",info6:"#b7d9f8",info7:"#96c7f2",info8:"#5eb0ef",info9:"#0091ff",info10:"#0081f1",info11:"#006adc",info12:"#00254d"},GT={warning1:"#fefdfb",warning2:"#fff9ed",warning3:"#fff4d5",warning4:"#ffecbc",warning5:"#ffe3a2",warning6:"#ffd386",warning7:"#f3ba63",warning8:"#ee9d2b",warning9:"#ffb224",warning10:"#ffa01c",warning11:"#ad5700",warning12:"#4e2009"},qT={danger1:"#fffcfc",danger2:"#fff8f8",danger3:"#ffefef",danger4:"#ffe5e5",danger5:"#fdd8d8",danger6:"#f9c6c6",danger7:"#f3aeaf",danger8:"#eb9091",danger9:"#e5484d",danger10:"#dc3d43",danger11:"#cd2b31",danger12:"#381316"},WT={loContrast:"white",background:"$loContrast",focusRing:"#96c7f2",closeButtonHoverBackground:"$blackAlpha4",closeButtonActiveBackground:"$blackAlpha5",progressStripe:"$whiteAlpha6"},KT=Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae({},FT),zT),HT),UT),jT),GT),qT),WT),VT={primary1:"#07191d",primary2:"#061e24",primary3:"#072830",primary4:"#07303b",primary5:"#073844",primary6:"#064150",primary7:"#045063",primary8:"#00647d",primary9:"#05a2c2",primary10:"#00b1cc",primary11:"#00c2d7",primary12:"#e1f8fa"},YT={accent1:"#17151f",accent2:"#1c172b",accent3:"#251e40",accent4:"#2c2250",accent5:"#32275f",accent6:"#392c72",accent7:"#443592",accent8:"#5842c3",accent9:"#6e56cf",accent10:"#7c66dc",accent11:"#9e8cfc",accent12:"#f1eefe"},XT={neutral1:"#151718",neutral2:"#1a1d1e",neutral3:"#202425",neutral4:"#26292b",neutral5:"#2b2f31",neutral6:"#313538",neutral7:"#3a3f42",neutral8:"#4c5155",neutral9:"#697177",neutral10:"#787f85",neutral11:"#9ba1a6",neutral12:"#ecedee"},QT={success1:"#0d1912",success2:"#0c1f17",success3:"#0f291e",success4:"#113123",success5:"#133929",success6:"#164430",success7:"#1b543a",success8:"#236e4a",success9:"#30a46c",success10:"#3cb179",success11:"#4cc38a",success12:"#e5fbeb"},ZT={info1:"#0f1720",info2:"#0f1b2d",info3:"#10243e",info4:"#102a4c",info5:"#0f3058",info6:"#0d3868",info7:"#0a4481",info8:"#0954a5",info9:"#0091ff",info10:"#369eff",info11:"#52a9ff",info12:"#eaf6ff"},JT={warning1:"#1f1300",warning2:"#271700",warning3:"#341c00",warning4:"#3f2200",warning5:"#4a2900",warning6:"#573300",warning7:"#693f05",warning8:"#824e00",warning9:"#ffb224",warning10:"#ffcb47",warning11:"#f1a10d",warning12:"#fef3dd"},eE={danger1:"#1f1315",danger2:"#291415",danger3:"#3c181a",danger4:"#481a1d",danger5:"#541b1f",danger6:"#671e22",danger7:"#822025",danger8:"#aa2429",danger9:"#e5484d",danger10:"#f2555a",danger11:"#ff6369",danger12:"#feecee"},tE={loContrast:"$neutral1",background:"$loContrast",focusRing:"#0a4481",closeButtonHoverBackground:"$whiteAlpha4",closeButtonActiveBackground:"$whiteAlpha5",progressStripe:"$blackAlpha6"},nE=Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae({},VT),YT),XT),QT),ZT),JT),eE),tE),rE={none:"0",xs:"0.125rem",sm:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},iE={none:"0 0 #0000",xs:"0 1px 2px 0 rgb(0 0 0 / 0.05)",sm:"0 1px 3px 0 rgb(0 0 0 / 0.09), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.09), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.09), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.09), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.24)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.06)",outline:"0 0 0 3px $colors$focusRing"},aE={lg:"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},oE={sans:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol","Noto Color Emoji"',serif:'ui-serif, Georgia, Cambria, "Times New Roman", Times, serif',mono:'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'},sE={"2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},lE={hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},cE={normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:2,3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},uE={tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},dE={hide:-1,auto:"auto",base:0,docked:10,sticky:1e3,banner:1100,overlay:1200,modal:1300,dropdown:1400,popover:1500,tooltip:1600,skipLink:1700,notification:1800},hE={colors:Ae(Ae({},BT),KT),space:Cg,sizes:ds,fonts:oE,fontSizes:sE,fontWeights:lE,letterSpacings:uE,lineHeights:cE,radii:rE,shadows:iE,zIndices:dE},fE={colors:nE,shadows:aE},{theme:mE,css:ee,globalCss:ya,config:uU,createTheme:pE,getCssText:dU,keyframes:Us}=Ly({prefix:"hope",themeMap:Mi(Ae({},ig),{borderWidth:"sizes",borderTopWidth:"sizes",borderRightWidth:"sizes",borderBottomWidth:"sizes",borderLeftWidth:"sizes",strokeWidth:"sizes"}),theme:hE,media:xT,utils:DT}),Sn={fade:"hope-modal-fade-transition",fadeInBottom:"hope-modal-fade-in-bottom-transition",scale:"hope-modal-scale-transition"},gE=ya({[`.${Sn.fade}-enter, .${Sn.fade}-exit-to`]:{opacity:0},[`.${Sn.fade}-enter-to, .${Sn.fade}-exit`]:{opacity:1},[`.${Sn.fade}-enter-active`]:{transition:"opacity 300ms ease-out"},[`.${Sn.fade}-exit-active`]:{transition:"opacity 200ms ease-in"},[`.${Sn.fadeInBottom}-enter, .${Sn.fadeInBottom}-exit-to`]:{opacity:0,transform:"translateY(16px)"},[`.${Sn.fadeInBottom}-enter-to, .${Sn.fadeInBottom}-exit`]:{opacity:1,transform:"translateY(0)"},[`.${Sn.fadeInBottom}-enter-active`]:{transitionProperty:"opacity, transform",transitionDuration:"300ms",transitionTimingFunction:"ease-out"},[`.${Sn.fadeInBottom}-exit-active`]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-in"},[`.${Sn.scale}-enter, .${Sn.scale}-exit-to`]:{opacity:0,transform:"scale(0.95)"},[`.${Sn.scale}-enter-to, .${Sn.scale}-exit`]:{opacity:1,transform:"scale(1)"},[`.${Sn.scale}-enter-active`]:{transitionProperty:"opacity, transform",transitionDuration:"300ms",transitionTimingFunction:"ease-out"},[`.${Sn.scale}-exit-active`]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-in"}}),Ag=ee({zIndex:"$overlay",position:"fixed",top:0,left:0,width:"100vw",height:"100vh",backgroundColor:"hsl(0 0% 0% / 65%)"}),kg=ee({zIndex:"$modal",position:"fixed",top:0,left:0,display:"flex",width:"100vw",height:"100vh","@supports(height: -webkit-fill-available)":{height:"-webkit-fill-available"},outline:"none","&:focus":{outline:"none"}}),bE=ee(kg,{justifyContent:"center",variants:{centered:{true:{alignItems:"center"},false:{alignItems:"flex-start"}},scrollBehavior:{inside:{overflow:"hidden"},outside:{overflow:"auto"}}}}),Ng=ee({zIndex:"$modal",position:"relative",display:"flex",flexDirection:"column",width:"100%",outline:"none",boxShadow:"$lg",backgroundColor:"$loContrast",color:"inherit","&:focus":{outline:"none"}}),vE=ee(Ng,{justifyContent:"center",my:"3.75rem",borderRadius:"$sm",variants:{size:{xs:{maxWidth:"$xs"},sm:{maxWidth:"$sm"},md:{maxWidth:"$md"},lg:{maxWidth:"$lg"},xl:{maxWidth:"$xl"},"2xl":{maxWidth:"$2xl"},"3xl":{maxWidth:"$3xl"},"4xl":{maxWidth:"$4xl"},"5xl":{maxWidth:"$5xl"},"6xl":{maxWidth:"$6xl"},"7xl":{maxWidth:"$7xl"},"8xl":{maxWidth:"$8xl"},full:{maxWidth:"100vw",minHeight:"100vh","@supports(min-height: -webkit-fill-available)":{minHeight:"-webkit-fill-available"},my:0,borderRadius:"$none"}},scrollBehavior:{inside:{maxHeight:"calc(100% - 7.5rem)"},outside:{maxHeight:"none"}}}}),yE=ee({flex:0,pt:"$5",px:"$5",pb:"$3",fontSize:"$lg",fontWeight:"$medium"}),TE=ee({flex:1,px:"$5",py:"$2",variants:{scrollBehavior:{inside:{overflow:"auto"},outside:{overflow:void 0}}}}),EE=ee({display:"flex",alignItems:"center",justifyContent:"flex-end",pt:"$3",px:"$5",pb:"$5"}),_E=ee({position:"absolute",top:"$4",insetInlineEnd:"$4"}),Nt={fade:"hope-drawer-fade-transition",slideInTop:"hope-drawer-slide-in-top-transition",slideInRight:"hope-drawer-slide-in-right-transition",slideInBottom:"hope-drawer-slide-in-bottom-transition",slideInLeft:"hope-drawer-slide-in-left-transition"},xE=ya({[`.${Nt.fade}-enter, .${Nt.fade}-exit-to`]:{opacity:0},[`.${Nt.fade}-enter-to, .${Nt.fade}-exit`]:{opacity:1},[`.${Nt.fade}-enter-active, .${Nt.fade}-exit-active`]:{transition:"opacity 500ms ease-in-out"},[`.${Nt.slideInTop}-enter-active, .${Nt.slideInTop}-exit-active, .${Nt.slideInRight}-enter-active, .${Nt.slideInRight}-exit-active, .${Nt.slideInBottom}-enter-active, .${Nt.slideInBottom}-exit-active, .${Nt.slideInLeft}-enter-active, .${Nt.slideInLeft}-exit-active`]:{transition:"transform 500ms ease-in-out"},[`.${Nt.slideInTop}-enter, .${Nt.slideInTop}-exit-to`]:{transform:"translateY(-100%)"},[`.${Nt.slideInTop}-enter-to, .${Nt.slideInTop}-exit`]:{transform:"translateY(0)"},[`.${Nt.slideInRight}-enter, .${Nt.slideInRight}-exit-to`]:{transform:"translateX(100%)"},[`.${Nt.slideInRight}-enter-to, .${Nt.slideInRight}-exit`]:{transform:"translateX(0)"},[`.${Nt.slideInBottom}-enter, .${Nt.slideInBottom}-exit-to`]:{transform:"translateY(100%)"},[`.${Nt.slideInBottom}-enter-to, .${Nt.slideInBottom}-exit`]:{transform:"translateY(0)"},[`.${Nt.slideInLeft}-enter, .${Nt.slideInLeft}-exit-to`]:{transform:"translateX(-100%)"},[`.${Nt.slideInLeft}-enter-to, .${Nt.slideInLeft}-exit`]:{transform:"translateX(0)"}}),SE=ee(kg,{overflow:"hidden",variants:{placement:{top:{alignItems:"flex-start",justifyContent:"stretch"},right:{alignItems:"stretch",justifyContent:"flex-end"},bottom:{alignItems:"flex-end",justifyContent:"stretch"},left:{alignItems:"stretch",justifyContent:"flex-start"}}}}),wE=ee(Ng,{maxHeight:"100vh",variants:{size:{xs:{maxWidth:"$xs"},sm:{maxWidth:"$md"},md:{maxWidth:"$lg"},lg:{maxWidth:"$2xl"},xl:{maxWidth:"$4xl"},full:{maxWidth:"100vw",height:"100vh"}},placement:{top:{},right:{},bottom:{},left:{}},fullHeight:{true:{height:"100vh"},false:{}}},compoundVariants:[{placement:"top",size:"xs",css:{maxWidth:"100vw"}},{placement:"top",size:"sm",css:{maxWidth:"100vw"}},{placement:"top",size:"md",css:{maxWidth:"100vw"}},{placement:"top",size:"lg",css:{maxWidth:"100vw"}},{placement:"top",size:"xl",css:{maxWidth:"100vw"}},{placement:"bottom",size:"xs",css:{maxWidth:"100vw"}},{placement:"bottom",size:"sm",css:{maxWidth:"100vw"}},{placement:"bottom",size:"md",css:{maxWidth:"100vw"}},{placement:"bottom",size:"lg",css:{maxWidth:"100vw"}},{placement:"bottom",size:"xl",css:{maxWidth:"100vw"}}]}),ja={scaleTopLeft:"hope-menu-scale-top-left-transition",scaleTopRight:"hope-menu-scale-top-right-transition",scaleBottomLeft:"hope-menu-scale-bottom-left-transition",scaleBottomRight:"hope-menu-scale-bottom-right-transition"};function P1(e,t){return{[`.${e}-enter, .${e}-exit-to`]:{opacity:0,transform:"scale(0.8)"},[`.${e}-enter-to, .${e}-exit`]:{opacity:1,transform:"scale(1)"},[`.${e}-enter-active`]:{transformOrigin:t,transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-out"},[`.${e}-exit-active`]:{transformOrigin:t,transitionProperty:"opacity, transform",transitionDuration:"100ms",transitionTimingFunction:"ease-in"}}}const CE=ya(Ae(Ae(Ae(Ae({},P1(ja.scaleTopLeft,"top left")),P1(ja.scaleTopRight,"top right")),P1(ja.scaleBottomLeft,"bottom left")),P1(ja.scaleBottomRight,"bottom right"))),AE=ee({appearance:"none",display:"inline-flex",alignItems:"center",outline:"none"}),kE=ee({zIndex:"$dropdown",position:"absolute",left:0,top:"100%",display:"flex",flexDirection:"column",minWidth:"$56",overflowY:"auto",outline:"none",margin:0,boxShadow:"$md",border:"1px solid $colors$neutral7",borderRadius:"$sm",backgroundColor:"$loContrast",px:0,py:"$1","&:focus":{outline:"none"}});ee({});ee({display:"flex",alignItems:"center",mx:"$1",py:"$2",px:"$3",color:"$neutral11",fontSize:"$xs",fontWeight:"$medium",lineHeight:"$4"});function mo(e){return{color:e.color,["&[data-active]"]:{backgroundColor:e.bgColorActive}}}const NE=ee({position:"relative",display:"flex",alignItems:"center",mx:"$1",borderRadius:"$sm",py:"$2",px:"$3",fontSize:"$base",fontWeight:"$normal",lineHeight:"$6",cursor:"pointer",userSelect:"none",transition:"color 250ms, background-color 250ms","&[data-disabled]":{color:"$neutral8",cursor:"not-allowed"},variants:{colorScheme:{primary:mo({color:"$primary11",bgColorActive:"$primary3"}),accent:mo({color:"$accent11",bgColorActive:"$accent3"}),neutral:mo({color:"$neutral12",bgColorActive:"$neutral4"}),success:mo({color:"$success11",bgColorActive:"$success3"}),info:mo({color:"$info11",bgColorActive:"$info3"}),warning:mo({color:"$warning11",bgColorActive:"$warning3"}),danger:mo({color:"$danger11",bgColorActive:"$danger3"})}},defaultVariants:{colorScheme:"neutral"}}),OE=ee({display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0}),ME=ee({flexGrow:1}),IE=ee({flexShrink:0,color:"$neutral11",fontSize:"$sm",lineHeight:"$none"}),fc=Us({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}});Us({from:{opacity:0},to:{opacity:1}});const ui={slideInTop:"hope-notification-slide-in-top-transition",slideInRight:"hope-notification-slide-in-right-transition",slideInBottom:"hope-notification-slide-in-bottom-transition",slideInLeft:"hope-notification-slide-in-left-transition"};function $1(e){return{[`.${e.name}-enter, .${e.name}-exit-to`]:{opacity:0,transform:e.enterTransform},[`.${e.name}-enter-to, .${e.name}-exit`]:{opacity:1,transform:e.leaveTransform},[`.${e.name}-enter-active`]:{transitionProperty:"opacity, transform",transitionTimingFunction:"cubic-bezier(.51,.3,0,1.21)",transitionDuration:"300ms"},[`.${e.name}-exit-active`]:{transitionProperty:"opacity, transform",transitionTimingFunction:"ease-in",transitionDuration:"200ms"}}}const RE=ya(Ae(Ae(Ae(Ae({},$1({name:ui.slideInTop,enterTransform:"translateY(-100%)",leaveTransform:"translateY(0)"})),$1({name:ui.slideInRight,enterTransform:"translateX(100%)",leaveTransform:"translateX(0)"})),$1({name:ui.slideInBottom,enterTransform:"translateY(100%)",leaveTransform:"translateY(0)"})),$1({name:ui.slideInLeft,enterTransform:"translateX(-100%)",leaveTransform:"translateX(0)"}))),LE=ee({position:"fixed",zIndex:"$notification",display:"flex",flexDirection:"column",alignItems:"flex-end",gap:"$4",width:"calc(100% - 32px)",maxWidth:"$md",variants:{placement:{"top-start":{top:"$4",left:"$4"},top:{top:"$4",left:"50%",transform:"translateX(-50%)"},"top-end":{top:"$4",right:"$4"},"bottom-start":{bottom:"$4",left:"$4"},bottom:{bottom:"$4",left:"50%",transform:"translateX(-50%)"},"bottom-end":{bottom:"$4",right:"$4"}}},defaultVariants:{placement:"top-end"}}),DE=ee({position:"relative",display:"flex",alignItems:"center",width:"100%",maxWidth:"$md",borderRadius:"$sm",border:"1px solid $colors$neutral5",boxShadow:"$lg",backgroundColor:"$loContrast",padding:"$3",fontSize:"$sm",lineHeight:"$5",variants:{status:{success:{},info:{},warning:{},danger:{}}}}),PE=ee({animation:`1s linear infinite ${fc}`}),$E=ee({flexShrink:0,variants:{status:{success:{color:"$success9"},info:{color:"$info9"},warning:{color:"$warning9"},danger:{color:"$danger9"}}}}),BE=ee({fontWeight:"$medium"}),FE=ee({display:"inline-block",color:"$neutral11"}),Oo={scale:"hope-popover-scale-transition"},zE=ya({[`.${Oo.scale}-enter, .${Oo.scale}-exit-to`]:{opacity:0,transform:"scale(0.95)"},[`.${Oo.scale}-enter-to, .${Oo.scale}-exit`]:{opacity:1,transform:"scale(1)"},[`.${Oo.scale}-enter-active`]:{transitionProperty:"opacity, transform",transitionDuration:"300ms",transitionTimingFunction:"ease"},[`.${Oo.scale}-exit-active`]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-in-out"}}),HE=ee({zIndex:"$popover",position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",maxWidth:"$xs",outline:"none",boxShadow:"$md",border:"1px solid $colors$neutral7",borderRadius:"$sm",backgroundColor:"$loContrast",color:"inherit","&:focus":{outline:"none"}}),UE=ee({display:"flex",alignItems:"center",flex:0,borderColor:"inherit",borderBottomWidth:"1px",px:"$3",py:"$2",fontSize:"$base",fontWeight:"$medium"}),jE=ee({flex:1,px:"$3",py:"$2"});ee({display:"flex",alignItems:"center",borderColor:"inherit",borderTopWidth:"1px",px:"$3",py:"$2"});ee({position:"absolute",top:"$2",insetInlineEnd:"$2"});const GE=ee({zIndex:"$popover",position:"absolute",boxSize:"8px",borderWidth:"1px",borderStyle:"solid",borderColor:"inherit",backgroundColor:"inherit",transform:"rotate(45deg)",variants:{popoverPlacement:{left:{borderLeft:0,borderBottom:0},top:{borderLeft:0,borderTop:0},right:{borderTop:0,borderRight:0},bottom:{borderRight:0,borderBottom:0}}}});function B1(e){return{minHeight:e.minHeight,fontSize:e.fontSize,lineHeight:e.lineHeight}}const Ci={xs:B1({fontSize:"$xs",lineHeight:"$4",minHeight:"$6"}),sm:B1({fontSize:"$sm",lineHeight:"$5",minHeight:"$8"}),md:B1({fontSize:"$base",lineHeight:"$6",minHeight:"$10"}),lg:B1({fontSize:"$lg",lineHeight:"$7",minHeight:"$12"})},k5={"&:disabled":{opacity:.4,cursor:"not-allowed"},"&:focus":{boxShadow:"0 0 0 3px $colors$primary5",borderColor:"$primary8"},"&[aria-invalid=true]":{borderColor:"$danger8"},"&[aria-invalid=true]:focus":{boxShadow:"0 0 0 3px $colors$danger5"}},xh=ee({appearance:"none",position:"relative",width:"100%",minWidth:0,outline:"none",borderRadius:"$sm",backgroundColor:"transparent",padding:0,color:"$neutral12",fontSize:"$base",lineHeight:"$base",transition:"color 250ms, border-color 250ms, background-color 250ms, box-shadow 250ms","&[readonly]":{boxShadow:"none !important",userSelect:"all",cursor:"default"},"&::placeholder":{color:"$neutral9",opacity:1},variants:{variant:{outline:Ae({border:"1px solid $neutral7",backgroundColor:"transparent","&:hover":{borderColor:"$neutral8"}},k5),filled:Ae({border:"1px solid transparent",backgroundColor:"$neutral3","&:hover, &:focus":{backgroundColor:"$neutral4"}},k5),unstyled:{border:"1px solid transparent",backgroundColor:"transparent"}},size:Ae({},Ci)}});function zr(e){return[{variant:e.variant,size:e.size,css:{px:e.paddingX}},{withLeftElement:!0,variant:e.variant,size:e.size,css:{paddingInlineStart:e.paddingWithElement}},{withRightElement:!0,variant:e.variant,size:e.size,css:{paddingInlineEnd:e.paddingWithElement}}]}const qE=ee(xh,{variants:{withLeftElement:{true:{}},withRightElement:{true:{}},withLeftAddon:{true:{borderLeftRadius:0}},withRightAddon:{true:{borderRightRadius:0}}},compoundVariants:[...zr({variant:"outline",size:"xs",paddingX:"$2",paddingWithElement:"$6"}),...zr({variant:"outline",size:"sm",paddingX:"$2_5",paddingWithElement:"$8"}),...zr({variant:"outline",size:"md",paddingX:"$3",paddingWithElement:"$10"}),...zr({variant:"outline",size:"lg",paddingX:"$4",paddingWithElement:"$12"}),...zr({variant:"filled",size:"xs",paddingX:"$2",paddingWithElement:"$6"}),...zr({variant:"filled",size:"sm",paddingX:"$2_5",paddingWithElement:"$8"}),...zr({variant:"filled",size:"md",paddingX:"$3",paddingWithElement:"$10"}),...zr({variant:"filled",size:"lg",paddingX:"$4",paddingWithElement:"$12"}),...zr({variant:"unstyled",size:"xs",paddingX:0,paddingWithElement:"$6"}),...zr({variant:"unstyled",size:"sm",paddingX:0,paddingWithElement:"$8"}),...zr({variant:"unstyled",size:"md",paddingX:0,paddingWithElement:"$10"}),...zr({variant:"unstyled",size:"lg",paddingX:0,paddingWithElement:"$12"})]});ee({position:"relative",display:"flex",width:"100%"});ee({position:"absolute",top:"0",zIndex:2,display:"flex",alignItems:"center",justifyContent:"center",variants:{placement:{left:{insetInlineStart:"0"},right:{insetInlineEnd:"0"}},size:{xs:Mi(Ae({},Ci.xs),{width:Ci.xs.minHeight}),sm:Mi(Ae({},Ci.sm),{width:Ci.sm.minHeight}),md:Mi(Ae({},Ci.md),{width:Ci.md.minHeight}),lg:Mi(Ae({},Ci.lg),{width:Ci.lg.minHeight})}}});function Hr(e){return{variant:e.variant,size:e.size,css:{px:e.paddingX}}}ee({display:"flex",alignItems:"center",flex:"0 0 auto",width:"auto",whiteSpace:"nowrap",variants:{placement:{left:{marginEnd:"-1px"},right:{marginStart:"-1px"}},variant:{outline:{borderRadius:"$sm",border:"1px solid $neutral7",backgroundColor:"$neutral3",color:"$neutral12"},filled:{borderRadius:"$sm",border:"1px solid transparent",backgroundColor:"$neutral3",color:"$neutral12"},unstyled:{border:"1px solid transparent",backgroundColor:"transparent"}},size:Ae({},Ci)},compoundVariants:[{variant:"outline",placement:"left",css:{borderRightRadius:0,borderInlineEndColor:"transparent"}},{variant:"outline",placement:"right",css:{borderLeftRadius:0,borderInlineStartColor:"transparent"}},{variant:"filled",placement:"left",css:{borderStartEndRadius:0,borderEndEndRadius:0,borderInlineEndColor:"transparent"}},{variant:"filled",placement:"right",css:{borderStartStartRadius:0,borderEndStartRadius:0,borderInlineStartColor:"transparent"}},Hr({variant:"outline",size:"xs",paddingX:"$2"}),Hr({variant:"outline",size:"sm",paddingX:"$2_5"}),Hr({variant:"outline",size:"md",paddingX:"$3"}),Hr({variant:"outline",size:"lg",paddingX:"$4"}),Hr({variant:"filled",size:"xs",paddingX:"$2"}),Hr({variant:"filled",size:"sm",paddingX:"$2_5"}),Hr({variant:"filled",size:"md",paddingX:"$3"}),Hr({variant:"filled",size:"lg",paddingX:"$4"}),Hr({variant:"unstyled",size:"xs",paddingX:0}),Hr({variant:"unstyled",size:"sm",paddingX:0}),Hr({variant:"unstyled",size:"md",paddingX:0}),Hr({variant:"unstyled",size:"lg",paddingX:0})]});const Mo={fadeInTop:"hope-select-fade-in-top-transition"},WE=ya({[`.${Mo.fadeInTop}-enter, .${Mo.fadeInTop}-exit-to`]:{opacity:0,transform:"translateY(-16px)"},[`.${Mo.fadeInTop}-enter-to, .${Mo.fadeInTop}-exit`]:{opacity:1,transform:"translateY(0)"},[`.${Mo.fadeInTop}-enter-active`]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-out"},[`.${Mo.fadeInTop}-exit-active`]:{transitionProperty:"opacity, transform",transitionDuration:"100ms",transitionTimingFunction:"ease-in"}});function iu(e,t,n){return Object.entries({xs:{start:t!=null?t:"$2",end:n!=null?n:"$1"},sm:{start:t!=null?t:"$2_5",end:n!=null?n:"$1_5"},md:{start:t!=null?t:"$3",end:n!=null?n:"$2"},lg:{start:t!=null?t:"$4",end:n!=null?n:"$3"}}).map(([r,i])=>({variant:e,size:r,css:{paddingInlineStart:i.start,paddingInlineEnd:i.end}}))}const KE=ee(xh,{appearance:"none",display:"inline-flex",alignItems:"center",outline:"none",cursor:"pointer","&:focus":{outline:"none"},compoundVariants:[...iu("outline"),...iu("filled"),...iu("unstyled",0,0)]}),Og=ee({flexGrow:1,flexShrink:1,textAlign:"start",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),VE=ee({display:"inline-flex",alignItems:"center",justifyContent:"flex-start",flexWrap:"wrap",flexGrow:1,flexShrink:1,variants:{size:{xs:{gap:"$0_5",py:"$0_5"},sm:{gap:"$1",py:"$1"},md:{gap:"$1_5",py:"$1_5"},lg:{gap:"$2",py:"$2"}}}}),YE=ee({display:"inline-flex",justifyContent:"center",alignItems:"center",gap:"$0_5",borderRadius:"$sm",py:0,pl:"$2",lineHeight:"$none",variants:{variant:{subtle:{backgroundColor:"$neutral4",color:"$neutral12"},outline:{border:"1px solid $colors$neutral7",backgroundColor:"$loContrast",color:"$neutral12"}},size:{xs:{height:"$4",fontSize:"$2xs"},sm:{height:"$5",fontSize:"$xs"},md:{height:"$6",fontSize:"$sm"},lg:{height:"$7",fontSize:"$base"}}}}),XE=ee({appearance:"none",display:"inline-flex",justifyContent:"center",alignItems:"center",height:"100%",outline:"none",borderRightRadius:"$sm",backgroundColor:"transparent",px:"$1",color:"inherit",lineHeight:"$none",textDecoration:"none",cursor:"pointer",userSelect:"none",transition:"color 250ms, background-color 250ms, box-shadow 250ms","&:hover":{backgroundColor:"$neutral7"},"&:focus":{outline:"none",boxShadow:"$outline"}}),QE=ee(Og,{color:"$neutral9",opacity:1}),ZE=ee({flexGrow:0,flexShrink:0,marginInlineStart:"auto",color:"$neutral11",fontSize:"1.25em",pointerEvents:"none",transition:"transform 250ms",transformOrigin:"center",variants:{opened:{true:{transform:"rotate(-180deg)"}}}}),JE=ee({zIndex:"$dropdown",position:"absolute",left:0,top:"100%",display:"flex",flexDirection:"column",width:"100%",overflow:"hidden",margin:0,boxShadow:"$md",border:"1px solid $colors$neutral7",borderRadius:"$sm",backgroundColor:"$loContrast",padding:0}),e_=ee({position:"relative",display:"flex",flexDirection:"column",maxHeight:"$60",width:"100%",overflowY:"auto",margin:0,padding:"$1",listStyle:"none"});ee({});ee({display:"flex",alignItems:"center",py:"$2",px:"$3",color:"$neutral11",fontSize:"$xs",lineHeight:"$4"});const t_=ee({position:"relative",display:"flex",alignItems:"center",borderRadius:"$sm",color:"$neutral12",fontSize:"$base",fontWeight:"$normal",lineHeight:"$6",cursor:"pointer",userSelect:"none","&[data-disabled]":{color:"$neutral8",cursor:"not-allowed"},["&[data-active]"]:{backgroundColor:"$neutral4"}}),n_=ee({display:"inline-flex",alignItems:"center",py:"$2",paddingInlineStart:"$3",paddingInlineEnd:"$6"}),r_=ee({position:"absolute",top:0,bottom:0,right:0,display:"flex",alignItems:"center",paddingInlineEnd:"$3",color:"$primary10",pointerEvents:"none"}),Io={scale:"hope-tooltip-scale-transition"},i_=ya({[`.${Io.scale}-enter, .${Io.scale}-exit-to`]:{opacity:0,transform:"scale(0.90)"},[`.${Io.scale}-enter-to, .${Io.scale}-exit`]:{opacity:1,transform:"scale(1)"},[`.${Io.scale}-enter-active`]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease"},[`.${Io.scale}-exit-active`]:{transitionProperty:"opacity, transform",transitionDuration:"150ms",transitionTimingFunction:"ease-in-out"}}),a_=ee({zIndex:"$tooltip",position:"absolute",maxWidth:"$96",boxShadow:"$md",borderRadius:"$sm",backgroundColor:"$neutral12",px:"$2",py:"$1",color:"$neutral1",fontSize:"$sm",fontWeight:"$normal",lineHeight:"$4"}),o_=ee({zIndex:"$tooltip",position:"absolute",boxSize:"8px",backgroundColor:"inherit",transform:"rotate(45deg)"}),s_=ya({"*, ::before, ::after":{boxSizing:"border-box",borderWidth:"0",borderStyle:"solid"},"*":{margin:0},"html, body":{height:"100%"},html:{fontFamily:"$sans",lineHeight:"$base",fontSize:"16px"},body:{backgroundColor:"$background",color:"$neutral12",fontFamily:"inherit",lineHeight:"inherit","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"},"h1, h2, h3, h4, h5, h6":{fontSize:"inherit",fontWeight:"inherit"},"p, h1, h2, h3, h4, h5, h6":{overflowWrap:"break-word"},"img, picture, video, canvas, svg":{display:"block",maxWidth:"100%"},"button, input, textarea, select, optgroup":{fontFamily:"inherit",fontSize:"100%"},"button:focus":{outline:"5px auto -webkit-focus-ring-color"},fieldset:{margin:0,padding:0},"ol, ul":{margin:0,padding:0},a:{backgroundColor:"transparent",color:"inherit",textDecoration:"inherit"}});function N5(e,t,n){Object.entries(e).forEach(([r,i])=>{if(_h(i))if(r in n){const a=r;n[a]=Ae(Ae({},n[a]),i)}else t[r]=Ae(Ae({},t[r]),i);else t[r]=i})}function l_(e,t){const n={},r={"@sm":{},"@md":{},"@lg":{},"@xl":{},"@2xl":{},"@reduce-motion":{},"@light":{},"@dark":{}};return t==null||t.forEach(i=>i&&N5(i,n,r)),Object.entries(e).forEach(([i,a])=>{a!=null&&i!=="css"&&(i.startsWith("_")?n[i]=a:_h(a)?Object.keys(a).forEach(o=>{if(o==="@initial")n[i]=a[o];else if(o in r){const s=o;r[s]=Mi(Ae({},r[s]),{[i]:a[s]})}}):n[i]=a)}),e.css&&N5(e.css,n,r),Ae(Ae({},n),r)}function O5(e,t){const n=e==="dark",r=n?Is.dark:Is.light,i=n?h5({},fE,t):t,a=pE(r,i);return h5({},mE,a)}function Mg(e,t){return _h(e)?Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{}):e!=null?t(e):null}const mc=ee({position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}),Sh=Kt();function c_(){xE(),CE(),gE(),RE(),zE(),WE(),i_()}function u_(e){var t,n,r,i,a,o,s,l;e=ie({enableCssReset:!0},e);const u=O5("light",(n=(t=e.config)==null?void 0:t.lightTheme)!=null?n:{}),d=O5("dark",(i=(r=e.config)==null?void 0:r.darkTheme)!=null?i:{}),f=TT((o=(a=e.config)==null?void 0:a.initialColorMode)!=null?o:"light"),h=f==="dark"?d:u,[m,p]=qe(f),[b,v]=qe(h),x=()=>m()==="dark",_=C=>{p(C),yT(C)},D=()=>{_(x()?"light":"dark")},I={components:(l=(s=e.config)==null?void 0:s.components)!=null?l:{},theme:b,colorMode:m,setColorMode:_,toggleColorMode:D};return Rn(()=>{v(x()?d:u),_T(x())}),e.enableCssReset&&s_(),c_(),A(Sh.Provider,{value:I,get children(){return e.children}})}function Ie(){const e=an(Sh);if(!e)throw new Error("[Hope UI]: useStyleConfig must be used within a HopeProvider");return e.components}function Ig(){const e=an(Sh);if(!e)throw new Error("[Hope UI]: useColorMode must be used within a HopeProvider");return{colorMode:e.colorMode,setColorMode:e.setColorMode,toggleColorMode:e.toggleColorMode}}function pc(e,t){const{colorMode:n}=Ig();return()=>n()==="dark"?t:e}function Ce(e){return`.${e}`}function ge(...e){return e.filter(Boolean).join(" ")}function d_(e,t,n){return(e-t)*100/(n-t)}const h_={border:!0,borderWidth:!0,borderStyle:!0,borderColor:!0,borderTop:!0,borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0,borderRight:!0,borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0,borderBottom:!0,borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0,borderLeft:!0,borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0,borderX:!0,borderY:!0},f_={color:!0,background:!0,bg:!0,backgroundColor:!0,bgColor:!0,opacity:!0},m_={css:!0},p_={alignItems:!0,alignContent:!0,alignSelf:!0,justifyItems:!0,justifyContent:!0,justifySelf:!0,flexDirection:!0,flexWrap:!0,flex:!0,flexGrow:!0,flexShrink:!0,flexBasis:!0,order:!0},g_={gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0,gridRow:!0,gridRowStart:!0,gridRowEnd:!0,gridColumn:!0,gridColumnStart:!0,gridColumnEnd:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridAutoRows:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:!0,rowGap:!0,columnGap:!0},b_={appearance:!0,userSelect:!0,pointerEvents:!0,resize:!0,cursor:!0,outline:!0,outlineOffset:!0,outlineColor:!0},v_={display:!0,d:!0,verticalAlign:!0,overflow:!0,overflowX:!0,overflowY:!0,objectFit:!0,objectPosition:!0},y_={margin:!0,m:!0,marginTop:!0,mt:!0,marginRight:!0,mr:!0,marginStart:!0,ms:!0,marginBottom:!0,mb:!0,marginLeft:!0,ml:!0,marginEnd:!0,me:!0,mx:!0,my:!0},T_={padding:!0,p:!0,paddingTop:!0,pt:!0,paddingRight:!0,pr:!0,paddingStart:!0,ps:!0,paddingBottom:!0,pb:!0,paddingLeft:!0,pl:!0,paddingEnd:!0,pe:!0,px:!0,py:!0},E_={position:!0,pos:!0,zIndex:!0,top:!0,right:!0,bottom:!0,left:!0},__={_hover:!0,_active:!0,_focus:!0,_highlighted:!0,_focusWithin:!0,_focusVisible:!0,_disabled:!0,_readOnly:!0,_before:!0,_after:!0,_empty:!0,_expanded:!0,_checked:!0,_grabbed:!0,_pressed:!0,_invalid:!0,_valid:!0,_loading:!0,_selected:!0,_hidden:!0,_even:!0,_odd:!0,_first:!0,_last:!0,_notFirst:!0,_notLast:!0,_visited:!0,_activeLink:!0,_activeStep:!0,_indeterminate:!0,_groupHover:!0,_peerHover:!0,_groupFocus:!0,_peerFocus:!0,_groupFocusVisible:!0,_peerFocusVisible:!0,_groupActive:!0,_peerActive:!0,_groupSelected:!0,_peerSelected:!0,_groupDisabled:!0,_peerDisabled:!0,_groupInvalid:!0,_peerInvalid:!0,_groupChecked:!0,_peerChecked:!0,_groupFocusWithin:!0,_peerFocusWithin:!0,_peerPlaceholderShown:!0,_placeholder:!0,_placeholderShown:!0,_fullScreen:!0,_selection:!0,_mediaDark:!0,_mediaReduceMotion:!0,_dark:!0,_light:!0},x_={borderRadius:!0,borderTopRightRadius:!0,borderTopLeftRadius:!0,borderBottomRightRadius:!0,borderBottomLeftRadius:!0,borderTopRadius:!0,borderRightRadius:!0,borderStartRadius:!0,borderBottomRadius:!0,borderLeftRadius:!0,borderEndRadius:!0,rounded:!0,roundedTop:!0,roundedRight:!0,roundedStart:!0,roundedBottom:!0,roundedLeft:!0,roundedEnd:!0},S_={textShadow:!0,boxShadow:!0,shadow:!0},w_={width:!0,w:!0,minWidth:!0,minW:!0,maxWidth:!0,maxW:!0,height:!0,h:!0,minHeight:!0,minH:!0,maxHeight:!0,maxH:!0,boxSize:!0},C_={transform:!0,transformOrigin:!0,clipPath:!0},A_={transition:!0,transitionProperty:!0,transitionTimingFunction:!0,transitionDuration:!0,transitionDelay:!0,animation:!0,willChange:!0},k_={fontFamily:!0,fontSize:!0,fontWeight:!0,lineHeight:!0,letterSpacing:!0,textAlign:!0,fontStyle:!0,textTransform:!0,textDecoration:!0,noOfLines:!0},N_=Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae({},h_),f_),p_),g_),b_),v_),y_),T_),E_),x_),S_),w_),C_),A_),k_),__),m_),O_=ee({});function M_(e,t){return O_({css:l_(e,t)})}function I_(e){return Object.keys(e).filter(t=>t in N_)}const au=(e,t)=>{const n=r=>{const i=I_(r),a=ie({as:e},r),[o,s,l]=xe(a,["as","class","className","__baseStyle"],i),c=vt(()=>[or(t==null?void 0:t.baseStyle)?t==null?void 0:t.baseStyle(r):t==null?void 0:t.baseStyle,o.__baseStyle]),u=()=>ge(t==null?void 0:t.baseClass,o.class,o.className,M_(s,c()));return A(mh,ie({get component(){var d;return(d=o.as)!=null?d:"div"},get class(){return u()}},l))};return n.toString=()=>t!=null&&t.baseClass?Ce(t.baseClass):"",n};function R_(){const e=new Map;return new Proxy(au,{apply(t,n,r){return au(...r)},get(t,n){return e.has(n)||e.set(n,au(n)),e.get(n)}})}const ut=R_(),Ye=ut.div;ee({borderTopWidth:"1px",borderColor:"$neutral7",overflowAnchor:"none","&:last-of-type":{borderBottomWidth:"1px"}});ee({appearance:"none",display:"flex",alignItems:"center",width:"100%",outline:"none",backgroundColor:"transparent",px:"$4",py:"$2",color:"inherit",fontSize:"$base",lineHeight:"$6",cursor:"pointer",transition:"background-color 250ms","&:disabled":{opacity:.4,cursor:"not-allowed"},"&:hover":{backgroundColor:"$neutral4"},"&:focus":{outline:"none",boxShadow:"$outline"}});ee({flexGrow:0,flexShrink:0,fontSize:"1.25em",pointerEvents:"none",transition:"transform 250ms",transformOrigin:"center",variants:{expanded:{true:{transform:"rotate(-180deg)"}},disabled:{true:{opacity:.4}}}});ee({pt:"$2",px:"$4",pb:"$4"});function Rg(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function L_(e){var t;if(!Rg(e))return!1;const n=(t=e.ownerDocument.defaultView)!=null?t:window;return e instanceof n.HTMLElement}function B0(e){var t;return Rg(e)&&(t=e.ownerDocument)!=null?t:document}function ou(e,t){const n=e.target;return e.button>0||n&&!B0(n).body.contains(n)?!1:!(t!=null&&t.contains(n))}function D_(e){const t=B0(e);return t==null?void 0:t.activeElement}function Bo(e,t){return e?e===t||e.contains(t):!1}function F0(e){var t,n;const r=(t=e.target)!=null?t:e.currentTarget,i=D_(r);return(n=e.relatedTarget)!=null?n:i}function Lg(e){return e&&e.clientHeight<e.scrollHeight}function Dg(e,t){const{offsetHeight:n,offsetTop:r}=e,{offsetHeight:i,scrollTop:a}=t,o=r<a,s=r+n>a+i;o?t.scrollTo(0,r):s&&t.scrollTo(0,r-i+n)}function gc(e){const t=Object.getOwnPropertyDescriptor(e,"children");return t==null?!1:or(t.value)}const P_=ee({display:"inline-block",flexShrink:0,boxSize:"1em",color:"currentColor",lineHeight:"1em",verticalAlign:"middle"}),$_=en('<svg><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>',4,!0),M5={viewBox:"0 0 24 24",path:()=>$_.cloneNode(!0)},wh="hope-icon";function Wo(e){const t={viewBox:M5.viewBox},n=ie(t,e),[r,i]=xe(n,["as","class","children","viewBox"]),a=()=>ge(r.class,wh,P_()),o=()=>r.as&&!bT(r.as);return A(We,{get when(){return o()},get fallback(){return A(ut.svg,ie({get class(){return a()},get viewBox(){return r.viewBox}},i,{get children(){return A(We,{get when(){return r.children},get fallback(){return M5.path},get children(){return r.children}})}}))},get children(){return A(Ye,ie({get as(){return r.as},get class(){return a()}},i))}})}Wo.toString=()=>Ce(wh);function Jr(e){const{viewBox:t="0 0 24 24",defaultProps:n={}}=e,r=i=>A(Wo,ie({viewBox:t},n,i,{get children(){return e.path}}));return r.toString=()=>Ce(wh),r}const B_=en('<svg><path d="M4.18179 6.18181C4.35753 6.00608 4.64245 6.00608 4.81819 6.18181L7.49999 8.86362L10.1818 6.18181C10.3575 6.00608 10.6424 6.00608 10.8182 6.18181C10.9939 6.35755 10.9939 6.64247 10.8182 6.81821L7.81819 9.81821C7.73379 9.9026 7.61934 9.95001 7.49999 9.95001C7.38064 9.95001 7.26618 9.9026 7.18179 9.81821L4.18179 6.81821C4.00605 6.64247 4.00605 6.35755 4.18179 6.18181Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></svg>',4,!0);Jr({viewBox:"0 0 15 15",path:()=>B_.cloneNode(!0)});ee({overflow:"hidden"});const Or=ee({flexShrink:0}),F_=ee({fontWeight:"$semibold"}),z_=ee({display:"inline-block"}),H_=ee({position:"relative",display:"flex",alignItems:"center",borderRadius:"$sm",px:"$4",py:"$3",fontSize:"$base",lineHeight:"$6",variants:{variant:{solid:{},subtle:{},"left-accent":{borderLeftStyle:"solid",borderLeftWidth:"$sizes$1"},"top-accent":{borderTopStyle:"solid",borderTopWidth:"$sizes$1"}},status:{success:{},info:{},warning:{},danger:{}}},compoundVariants:[{variant:"solid",status:"success",css:{backgroundColor:"$success9",color:"white"}},{variant:"solid",status:"info",css:{backgroundColor:"$info9",color:"white"}},{variant:"solid",status:"warning",css:{backgroundColor:"$warning9",color:"$blackAlpha12"}},{variant:"solid",status:"danger",css:{backgroundColor:"$danger9",color:"white"}},{variant:"subtle",status:"success",css:{backgroundColor:"$success3",color:"$success11",[`& .${Or}`]:{color:"$success9"}}},{variant:"subtle",status:"info",css:{backgroundColor:"$info3",color:"$info11",[`& .${Or}`]:{color:"$info9"}}},{variant:"subtle",status:"warning",css:{backgroundColor:"$warning3",color:"$warning11",[`& .${Or}`]:{color:"$warning9"}}},{variant:"subtle",status:"danger",css:{backgroundColor:"$danger3",color:"$danger11",[`& .${Or}`]:{color:"$danger9"}}},{variant:"left-accent",status:"success",css:{borderLeftColor:"$success9",backgroundColor:"$success3",color:"$success11",[`& .${Or}`]:{color:"$success9"}}},{variant:"left-accent",status:"info",css:{borderLeftColor:"$info9",backgroundColor:"$info3",color:"$info11",[`& .${Or}`]:{color:"$info9"}}},{variant:"left-accent",status:"warning",css:{borderLeftColor:"$warning9",backgroundColor:"$warning3",color:"$warning11",[`& .${Or}`]:{color:"$warning9"}}},{variant:"left-accent",status:"danger",css:{borderLeftColor:"$danger9",backgroundColor:"$danger3",color:"$danger11",[`& .${Or}`]:{color:"$danger9"}}},{variant:"top-accent",status:"success",css:{borderTopColor:"$success9",backgroundColor:"$success3",color:"$success11",[`& .${Or}`]:{color:"$success9"}}},{variant:"top-accent",status:"info",css:{borderTopColor:"$info9",backgroundColor:"$info3",color:"$info11",[`& .${Or}`]:{color:"$info9"}}},{variant:"top-accent",status:"warning",css:{borderTopColor:"$warning9",backgroundColor:"$warning3",color:"$warning11",[`& .${Or}`]:{color:"$warning9"}}},{variant:"top-accent",status:"danger",css:{borderTopColor:"$danger9",backgroundColor:"$danger3",color:"$danger11",[`& .${Or}`]:{color:"$danger9"}}}]}),Pg="hope-alert";function U_(e){var t,n,r,i,a,o;const s=Ie().Alert,l={variant:(r=(n=(t=s==null?void 0:s.defaultProps)==null?void 0:t.root)==null?void 0:n.variant)!=null?r:"subtle",status:(o=(a=(i=s==null?void 0:s.defaultProps)==null?void 0:i.root)==null?void 0:a.status)!=null?o:"info"},c=ie(l,e),[u,d]=xe(c,["class","variant","status"]),f=()=>ge(u.class,Pg,H_({variant:u.variant,status:u.status})),m={status:()=>u.status};return A($g.Provider,{value:m,get children(){return A(Ye,ie({role:"alert",get class(){return f()},get __baseStyle(){var p;return(p=s==null?void 0:s.baseStyle)==null?void 0:p.root}},d))}})}U_.toString=()=>Ce(Pg);const $g=Kt();function j_(){const e=an($g);if(!e)throw new Error("[Hope UI]: useAlertContext must be used within an `<Alert />` component");return e}const Bg="hope-alert__description";function G_(e){const t=Ie().Alert,[n,r]=xe(e,["class"]),i=()=>ge(n.class,Bg,z_());return A(Ye,ie({get class(){return i()},get __baseStyle(){var a;return(a=t==null?void 0:t.baseStyle)==null?void 0:a.description}},r))}G_.toString=()=>Ce(Bg);const q_=en('<svg><path fill="currentColor" d="M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2Zm-2 19.59l-5-5L10.59 15L14 18.41L21.41 11l1.596 1.586Z"></path></svg>',4,!0),W_=en('<svg><path fill="none" d="m14 21.591l-5-5L10.591 15L14 18.409L21.41 11l1.595 1.585L14 21.591z"></path></svg>',4,!0),Fg=Jr({viewBox:"0 0 32 32",path:()=>[q_.cloneNode(!0),W_.cloneNode(!0)]}),K_=en('<svg><path fill="currentColor" d="M16 2C8.3 2 2 8.3 2 16s6.3 14 14 14s14-6.3 14-14S23.7 2 16 2zm-1.1 6h2.2v11h-2.2V8zM16 25c-.8 0-1.5-.7-1.5-1.5S15.2 22 16 22s1.5.7 1.5 1.5S16.8 25 16 25z"></path></svg>',4,!0),zg=Jr({viewBox:"0 0 32 32",path:()=>K_.cloneNode(!0)}),V_=en('<svg><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M29.4898 29.8706C29.3402 29.9548 29.1713 29.9991 28.9996 29.9993H2.99961C2.82787 29.9991 2.65905 29.9548 2.5094 29.8706C2.35976 29.7864 2.23433 29.665 2.14521 29.5182C2.05608 29.3713 2.00626 29.2041 2.00055 29.0325C1.99485 28.8608 2.03344 28.6907 2.1126 28.5382L15.1126 3.53821C15.1971 3.37598 15.3245 3.23999 15.4808 3.14514C15.6372 3.05017 15.8167 3 15.9996 3C16.1825 3 16.362 3.05017 16.5184 3.14514C16.6748 3.23999 16.8021 3.37598 16.8866 3.53821L29.8866 28.5382C29.9658 28.6907 30.0044 28.8608 29.9986 29.0325C29.9929 29.2041 29.9431 29.3713 29.854 29.5182C29.7649 29.665 29.6395 29.7864 29.4898 29.8706ZM16.0016 6.16919V6.17029H15.9976V6.16919H16.0016ZM15.9996 25.9993C15.7029 25.9993 15.4129 25.9113 15.1662 25.7465C14.9196 25.5817 14.7273 25.3474 14.6138 25.0734C14.5996 25.0391 14.5867 25.0044 14.5752 24.9694C14.4942 24.724 14.4778 24.4613 14.5284 24.2067C14.5863 23.9156 14.7292 23.6484 14.9389 23.4386C14.9652 23.4124 14.9923 23.3872 15.0202 23.3632C15.2159 23.1945 15.4524 23.0787 15.707 23.0281C15.7433 23.0209 15.7799 23.015 15.8165 23.0105C16.0723 22.979 16.3326 23.014 16.572 23.1129L16.5736 23.1135C16.8477 23.2271 17.082 23.4193 17.2468 23.6659C17.2674 23.6968 17.2868 23.7283 17.305 23.7604C17.4322 23.9852 17.4996 24.2397 17.4996 24.4993C17.4996 24.8971 17.3416 25.2787 17.0603 25.5599C16.7789 25.8413 16.3974 25.9993 15.9996 25.9993ZM17.1246 20.9993H14.8746V11.9993H17.1246V20.9993Z"></path></svg>',4,!0),Hg=Jr({viewBox:"0 0 32 32",path:()=>V_.cloneNode(!0)}),Y_=en('<svg><path fill="none" d="M16 8a1.5 1.5 0 1 1-1.5 1.5A1.5 1.5 0 0 1 16 8Zm4 13.875h-2.875v-8H13v2.25h1.875v5.75H12v2.25h8Z"></path></svg>',4,!0),X_=en('<svg><path fill="currentColor" d="M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2Zm0 6a1.5 1.5 0 1 1-1.5 1.5A1.5 1.5 0 0 1 16 8Zm4 16.125h-8v-2.25h2.875v-5.75H13v-2.25h4.125v8H20Z"></path></svg>',4,!0),Ug=Jr({viewBox:"0 0 32 32",path:()=>[Y_.cloneNode(!0),X_.cloneNode(!0)]}),jg="hope-alert__icon";function Q_(e){const t=Ie().Alert,{status:n}=j_(),i=ie({boxSize:"$6"},e),[a,o]=xe(i,["as","class"]),s=()=>ge(a.class,jg,Or()),l=()=>{if(a.as)return a.as;switch(n()){case"success":return Fg;case"info":return Ug;case"warning":return Hg;case"danger":return zg}};return A(Wo,ie({get as(){return l()},get class(){return s()},get __baseStyle(){var c;return(c=t==null?void 0:t.baseStyle)==null?void 0:c.icon}},o))}Q_.toString=()=>Ce(jg);const Gg="hope-alert__title";function Z_(e){const t=Ie().Alert,[n,r]=xe(e,["class"]),i=()=>ge(n.class,Gg,F_());return A(Ye,ie({get class(){return i()},get __baseStyle(){var a;return(a=t==null?void 0:t.baseStyle)==null?void 0:a.title}},r))}Z_.toString=()=>Ce(Gg);const J_=ee({position:"relative",outline:"none",backgroundColor:"transparent",textDecoration:"none",cursor:"pointer",transition:"text-decoration 250ms","&:hover":{textDecoration:"underline"},"&:focus":{boxShadow:"$outline"}}),qg="hope-anchor";function Wg(e){const t=Ie().Anchor,[n,r]=xe(e,["class","external"]),i=()=>ge(n.class,qg,J_());return A(ut.a,ie({get class(){return i()},get __baseStyle(){return t==null?void 0:t.baseStyle},get target(){return n.external?"_blank":void 0},get rel(){return n.external?"noopener noreferrer":void 0}},r))}Wg.toString=()=>Ce(qg);ee({position:"relative","&::before":{height:0,content:"''",display:"block"},"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}});const bc="hope-icon-button",ex=ee({display:"inline-flex",alignSelf:"center",flexShrink:0}),tx=ee({position:"absolute",display:"flex",alignItems:"center",flexShrink:0,fontSize:"1em",lineHeight:"$normal",variants:{withLoadingText:{true:{position:"relative"}}}}),nx=ee({fontSize:"1.3em",animation:`1s linear infinite ${fc}`});function sl(e){return{height:e.height,py:0,px:e.paddingX,fontSize:e.fontSize,[`&.${bc}`]:{width:e.height,padding:"0"}}}function ll(e){return{height:e.height,py:0,px:e.paddingX,[`&.${bc}`]:{width:e.height,padding:"0"}}}function po(e){return{backgroundColor:e.bgColor,color:e.color,"&:hover":{backgroundColor:e.bgColorHover}}}function go(e){return{backgroundColor:e.bgColor,color:e.color,"&:hover":{backgroundColor:e.bgColorHover},"&:active":{backgroundColor:e.bgColorActive}}}function vr(e){return{borderColor:e.borderColor,color:e.color,"&:hover":{borderColor:e.borderColorHover,backgroundColor:e.bgColorHover},"&:active":{backgroundColor:e.bgColorActive}}}function bo(e){return{color:e.color,"&:hover":{backgroundColor:e.bgColorHover},"&:active":{backgroundColor:e.bgColorActive}}}const Kg=ee({appearance:"none",position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",outline:"none",borderRadius:"$sm",padding:"0",fontWeight:"$medium",lineHeight:"$none",textDecoration:"none",cursor:"pointer",userSelect:"none",whiteSpace:"nowrap",verticalAlign:"middle",transition:"color 250ms, background-color 250ms, box-shadow 250ms","&:focus":{outline:"none",boxShadow:"$outline"},"&:disabled, &:hover:disabled":{color:"$neutral7",cursor:"not-allowed"},variants:{variant:{solid:{border:"1px solid transparent","&:disabled, &:hover:disabled":{backgroundColor:"$neutral3"}},subtle:{border:"1px solid transparent","&:disabled, &:hover:disabled":{backgroundColor:"$neutral3"}},outline:{borderStyle:"solid",borderWidth:"1px",backgroundColor:"transparent","&:disabled, &:hover:disabled":{borderColor:"$neutral3"}},dashed:{borderStyle:"dashed",borderWidth:"1px",backgroundColor:"transparent","&:disabled, &:hover:disabled":{borderColor:"$neutral3"}},ghost:{border:"1px solid transparent",backgroundColor:"transparent"}},colorScheme:{primary:{},accent:{},neutral:{},success:{},info:{},warning:{},danger:{}},size:{xs:sl({height:"$6",paddingX:"$2",fontSize:"$xs",spacing:"$1"}),sm:sl({height:"$8",paddingX:"$3",fontSize:"$sm",spacing:"$1_5"}),md:sl({height:"$10",paddingX:"$4",fontSize:"$base",spacing:"$1_5"}),lg:sl({height:"$12",paddingX:"$6",fontSize:"$lg",spacing:"$2"}),xl:sl({height:"$16",paddingX:"$10",fontSize:"$xl",spacing:"$2"})},compact:{true:{},false:{}},fullWidth:{true:{display:"flex",width:"100%"},false:{display:"inline-flex",width:"auto"}},loading:{true:{opacity:"0.75",cursor:"default",pointerEvents:"none"},false:{}}},compoundVariants:[{variant:"solid",colorScheme:"primary",css:po({color:"white",bgColor:"$primary9",bgColorHover:"$primary10"})},{variant:"solid",colorScheme:"accent",css:po({color:"white",bgColor:"$accent9",bgColorHover:"$accent10"})},{variant:"solid",colorScheme:"neutral",css:po({color:"white",bgColor:"$neutral9",bgColorHover:"$neutral10"})},{variant:"solid",colorScheme:"success",css:po({color:"white",bgColor:"$success9",bgColorHover:"$success10"})},{variant:"solid",colorScheme:"info",css:po({color:"white",bgColor:"$info9",bgColorHover:"$info10"})},{variant:"solid",colorScheme:"warning",css:po({color:"$blackAlpha12",bgColor:"$warning9",bgColorHover:"$warning10"})},{variant:"solid",colorScheme:"danger",css:po({color:"white",bgColor:"$danger9",bgColorHover:"$danger10"})},{variant:"subtle",colorScheme:"primary",css:go({color:"$primary11",bgColor:"$primary4",bgColorHover:"$primary5",bgColorActive:"$primary6"})},{variant:"subtle",colorScheme:"accent",css:go({color:"$accent11",bgColor:"$accent4",bgColorHover:"$accent5",bgColorActive:"$accent6"})},{variant:"subtle",colorScheme:"neutral",css:go({color:"$neutral12",bgColor:"$neutral4",bgColorHover:"$neutral5",bgColorActive:"$neutral6"})},{variant:"subtle",colorScheme:"success",css:go({color:"$success11",bgColor:"$success4",bgColorHover:"$success5",bgColorActive:"$success6"})},{variant:"subtle",colorScheme:"info",css:go({color:"$info11",bgColor:"$info4",bgColorHover:"$info5",bgColorActive:"$info6"})},{variant:"subtle",colorScheme:"warning",css:go({color:"$warning11",bgColor:"$warning4",bgColorHover:"$warning5",bgColorActive:"$warning6"})},{variant:"subtle",colorScheme:"danger",css:go({color:"$danger11",bgColor:"$danger4",bgColorHover:"$danger5",bgColorActive:"$danger6"})},{variant:"outline",colorScheme:"primary",css:vr({color:"$primary11",borderColor:"$primary7",borderColorHover:"$primary8",bgColorHover:"$primary4",bgColorActive:"$primary5"})},{variant:"outline",colorScheme:"accent",css:vr({color:"$accent11",borderColor:"$accent7",borderColorHover:"$accent8",bgColorHover:"$accent4",bgColorActive:"$accent5"})},{variant:"outline",colorScheme:"neutral",css:vr({color:"$neutral12",borderColor:"$neutral7",borderColorHover:"$neutral8",bgColorHover:"$neutral4",bgColorActive:"$neutral5"})},{variant:"outline",colorScheme:"success",css:vr({color:"$success11",borderColor:"$success7",borderColorHover:"$success8",bgColorHover:"$success4",bgColorActive:"$success5"})},{variant:"outline",colorScheme:"info",css:vr({color:"$info11",borderColor:"$info7",borderColorHover:"$info8",bgColorHover:"$info4",bgColorActive:"$info5"})},{variant:"outline",colorScheme:"warning",css:vr({color:"$warning11",borderColor:"$warning7",borderColorHover:"$warning8",bgColorHover:"$warning4",bgColorActive:"$warning5"})},{variant:"outline",colorScheme:"danger",css:vr({color:"$danger11",borderColor:"$danger7",borderColorHover:"$danger8",bgColorHover:"$danger4",bgColorActive:"$danger5"})},{variant:"dashed",colorScheme:"primary",css:vr({color:"$primary11",borderColor:"$primary7",borderColorHover:"$primary8",bgColorHover:"$primary4",bgColorActive:"$primary5"})},{variant:"dashed",colorScheme:"accent",css:vr({color:"$accent11",borderColor:"$accent7",borderColorHover:"$accent8",bgColorHover:"$accent4",bgColorActive:"$accent5"})},{variant:"dashed",colorScheme:"neutral",css:vr({color:"$neutral12",borderColor:"$neutral7",borderColorHover:"$neutral8",bgColorHover:"$neutral4",bgColorActive:"$neutral5"})},{variant:"dashed",colorScheme:"success",css:vr({color:"$success11",borderColor:"$success7",borderColorHover:"$success8",bgColorHover:"$success4",bgColorActive:"$success5"})},{variant:"dashed",colorScheme:"info",css:vr({color:"$info11",borderColor:"$info7",borderColorHover:"$info8",bgColorHover:"$info4",bgColorActive:"$info5"})},{variant:"dashed",colorScheme:"warning",css:vr({color:"$warning11",borderColor:"$warning7",borderColorHover:"$warning8",bgColorHover:"$warning4",bgColorActive:"$warning5"})},{variant:"dashed",colorScheme:"danger",css:vr({color:"$danger11",borderColor:"$danger7",borderColorHover:"$danger8",bgColorHover:"$danger4",bgColorActive:"$danger5"})},{variant:"ghost",colorScheme:"primary",css:bo({color:"$primary11",bgColorHover:"$primary4",bgColorActive:"$primary5"})},{variant:"ghost",colorScheme:"accent",css:bo({color:"$accent11",bgColorHover:"$accent4",bgColorActive:"$accent5"})},{variant:"ghost",colorScheme:"neutral",css:bo({color:"$neutral12",bgColorHover:"$neutral4",bgColorActive:"$neutral5"})},{variant:"ghost",colorScheme:"success",css:bo({color:"$success11",bgColorHover:"$success4",bgColorActive:"$success5"})},{variant:"ghost",colorScheme:"info",css:bo({color:"$info11",bgColorHover:"$info4",bgColorActive:"$info5"})},{variant:"ghost",colorScheme:"warning",css:bo({color:"$warning11",bgColorHover:"$warning4",bgColorActive:"$warning5"})},{variant:"ghost",colorScheme:"danger",css:bo({color:"$danger11",bgColorHover:"$danger4",bgColorActive:"$danger5"})},{size:"xs",compact:"true",css:ll({height:"$5",paddingX:"$1"})},{size:"sm",compact:"true",css:ll({height:"$6",paddingX:"$1_5"})},{size:"md",compact:"true",css:ll({height:"$7",paddingX:"$2"})},{size:"lg",compact:"true",css:ll({height:"$8",paddingX:"$2_5"})},{size:"xl",compact:"true",css:ll({height:"$10",paddingX:"$3_5"})}]});ee({display:"inline-flex",[`& .${Kg}:focus`]:{zIndex:1}});const rx=Kt();function Vg(){return an(rx)}const Yg="hope-button__icon";function _d(e){const[t,n]=xe(e,["class","children"]),r=()=>ge(t.class,Yg,ex());return A(ut.span,ie({get class(){return r()}},n,{get children(){return t.children}}))}_d.toString=()=>Ce(Yg);const ix=en('<svg><g fill="none"><path opacity=".2" fill-rule="evenodd" clip-rule="evenodd" d="M12 19a7 7 0 1 0 0-14a7 7 0 0 0 0 14zm0 3c5.523 0 10-4.477 10-10S17.523 2 12 2S2 6.477 2 12s4.477 10 10 10z" fill="currentColor"></path><path d="M2 12C2 6.477 6.477 2 12 2v3a7 7 0 0 0-7 7H2z" fill="currentColor"></path></g></svg>',8,!0),Xg=Jr({path:()=>ix.cloneNode(!0)}),Qg="hope-button__loader";function xd(e){const t={spacing:"0.5rem",children:A(Xg,{get class(){return nx()}})},n=ie(t,e),[r,i]=xe(n,["class","children","withLoadingText","placement","spacing"]),a=()=>r.placement==="start"?"marginEnd":"marginStart",o=()=>({[a()]:r.withLoadingText?r.spacing:0}),s=()=>ge(r.class,Qg,tx({withLoadingText:r.withLoadingText}));return A(ut.div,ie({get class(){return s()}},o,i,{get children(){return r.children}}))}xd.toString=()=>Ce(Qg);const Zg="hope-button";function Jg(e){var t,n,r;const i=Ie().Button,a=Vg(),o={loaderPlacement:(r=(n=(t=i==null?void 0:i.defaultProps)==null?void 0:t.root)==null?void 0:n.loaderPlacement)!=null?r:"start",iconSpacing:"0.5rem",type:"button",role:"button"},s=ie(o,e),[l,c,u]=xe(s,["class","disabled","loadingText","loader","loaderPlacement","variant","colorScheme","size","loading","compact","fullWidth"],["children","iconSpacing","leftIcon","rightIcon"]),d=()=>{var h;return(h=l.disabled)!=null?h:a==null?void 0:a.state.disabled},f=()=>{var h,m,p,b,v,x,_,D,I,C,w,R,L,Q,K;return ge(l.class,Zg,Kg({variant:(v=(b=(h=l.variant)!=null?h:a==null?void 0:a.state.variant)!=null?b:(p=(m=i==null?void 0:i.defaultProps)==null?void 0:m.root)==null?void 0:p.variant)!=null?v:"solid",colorScheme:(C=(I=(x=l.colorScheme)!=null?x:a==null?void 0:a.state.colorScheme)!=null?I:(D=(_=i==null?void 0:i.defaultProps)==null?void 0:_.root)==null?void 0:D.colorScheme)!=null?C:"primary",size:(K=(Q=(w=l.size)!=null?w:a==null?void 0:a.state.size)!=null?Q:(L=(R=i==null?void 0:i.defaultProps)==null?void 0:R.root)==null?void 0:L.size)!=null?K:"md",loading:l.loading,compact:l.compact,fullWidth:l.fullWidth}))};return A(ut.button,ie({get class(){return f()},get disabled(){return d()},get __baseStyle(){var h;return(h=i==null?void 0:i.baseStyle)==null?void 0:h.root}},u,{get children(){return[A(We,{get when(){return l.loading&&l.loaderPlacement==="start"},get children(){return A(xd,{class:"hope-button__loader--start",get withLoadingText(){return!!l.loadingText},placement:"start",get spacing(){return c.iconSpacing},get children(){return l.loader}})}}),A(We,{get when(){return l.loading},get fallback(){return A(I5,c)},get children(){return A(We,{get when(){return l.loadingText},get fallback(){return A(ut.span,{opacity:0,get children(){return A(I5,c)}})},get children(){return l.loadingText}})}}),A(We,{get when(){return l.loading&&l.loaderPlacement==="end"},get children(){return A(xd,{class:"hope-button__loader--end",get withLoadingText(){return!!l.loadingText},placement:"end",get spacing(){return c.iconSpacing},get children(){return l.loader}})}})]}}))}Jg.toString=()=>Ce(Zg);function I5(e){return[A(We,{get when(){return e.leftIcon},get children(){return A(_d,{get marginEnd(){return e.iconSpacing},get children(){return e.leftIcon}})}}),bi(()=>e.children),A(We,{get when(){return e.rightIcon},get children(){return A(_d,{get marginStart(){return e.iconSpacing},get children(){return e.rightIcon}})}})]}function vo(e){return{boxSize:e,fontSize:`calc(${e} / 2.5)`,lineHeight:e}}const e2=ee({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,borderRadius:"$full",borderColor:"$loContrast",backgroundColor:"$neutral8",color:"$neutral12",fontWeight:"$medium",textAlign:"center",textTransform:"uppercase",verticalAlign:"top",variants:{size:{"2xs":vo("$sizes$4"),xs:vo("$sizes$6"),sm:vo("$sizes$8"),md:vo("$sizes$12"),lg:vo("$sizes$16"),xl:vo("$sizes$24"),"2xl":vo("$sizes$32"),full:{boxSize:"$full",fontSize:"calc($sizes$full / 2.5)"}},withBorder:{true:{}}},compoundVariants:[{withBorder:!0,size:"2xs",css:{borderWidth:"1px"}},{withBorder:!0,size:"xs",css:{borderWidth:"1px"}},{withBorder:!0,size:"sm",css:{borderWidth:"2px"}},{withBorder:!0,size:"md",css:{borderWidth:"2px"}},{withBorder:!0,size:"lg",css:{borderWidth:"3px"}},{withBorder:!0,size:"xl",css:{borderWidth:"4px"}},{withBorder:!0,size:"2xl",css:{borderWidth:"5px"}},{withBorder:!0,size:"full",css:{borderWidth:"2px"}}]});ee(e2);ee({boxSize:"$full",borderRadius:"$full",objectFit:"cover"});ee({position:"absolute",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"$full",borderWidth:"0.2em",borderStyle:"solid",borderColor:"$loContrast",variants:{placement:{"top-start":{insetInlineStart:"0",top:"0",transform:"translate(-25%, -25%)"},"top-end":{insetInlineEnd:"0",top:"0",transform:"translate(25%, -25%)"},"bottom-start":{insetInlineStart:"0",bottom:"0",transform:"translate(-25%, 25%)"},"bottom-end":{insetInlineEnd:"0",bottom:"0",transform:"translate(25%, 25%)"}}}});ee({display:"flex",alignItems:"center",justifyContent:"flex-start",flexDirection:"row",[`& .${e2}:first-child`]:{marginStart:"0"}});function ax(e){const[t,n]=qe("pending"),r=()=>e.ignoreFallback?"loaded":t();let i=null;const a=()=>{i&&(i.onload=null,i.onerror=null,i=null)},o=()=>{if(!e.src)return;a();const s=new Image;s.src=e.src,e.crossOrigin&&(s.crossOrigin=e.crossOrigin),e.srcSet&&(s.srcset=e.srcSet),e.sizes&&(s.sizes=e.sizes),e.loading&&(s.loading=e.loading),s.onload=l=>{a(),n("loaded"),Yn(e.onLoad,l)},s.onerror=l=>{a(),n("failed"),Yn(e.onError,l)},i=s};return Rn(()=>{n(e.src?"loading":"pending")}),ar(()=>{e.ignoreFallback||(t()==="loading"&&o(),Jt(()=>{a()}))}),r}const ox=ee({display:"inline-block",borderRadius:"$sm",py:"$0_5",px:"$1",fontSize:"$xs",fontWeight:"$bold",lineHeight:"$none",letterSpacing:"$wide",textTransform:"uppercase",whiteSpace:"nowrap",verticalAlign:"middle",variants:{variant:{solid:{border:"1px solid transparent",color:"white"},subtle:{border:"1px solid transparent"},outline:{borderStyle:"solid",borderWidth:"1px",backgroundColor:"transparent"}},colorScheme:{primary:{},accent:{},neutral:{},success:{},info:{},warning:{},danger:{}}},compoundVariants:[{variant:"solid",colorScheme:"primary",css:{color:"white",bgColor:"$primary9"}},{variant:"solid",colorScheme:"accent",css:{color:"white",bgColor:"$accent9"}},{variant:"solid",colorScheme:"neutral",css:{color:"white",bgColor:"$neutral9"}},{variant:"solid",colorScheme:"success",css:{color:"white",bgColor:"$success9"}},{variant:"solid",colorScheme:"info",css:{color:"white",bgColor:"$info9"}},{variant:"solid",colorScheme:"warning",css:{color:"$blackAlpha12",bgColor:"$warning9"}},{variant:"solid",colorScheme:"danger",css:{color:"white",bgColor:"$danger9"}},{variant:"subtle",colorScheme:"primary",css:{color:"$primary11",bgColor:"$primary4"}},{variant:"subtle",colorScheme:"accent",css:{color:"$accent11",bgColor:"$accent4"}},{variant:"subtle",colorScheme:"neutral",css:{color:"$neutral12",bgColor:"$neutral4"}},{variant:"subtle",colorScheme:"success",css:{color:"$success11",bgColor:"$success4"}},{variant:"subtle",colorScheme:"info",css:{color:"$info11",bgColor:"$info4"}},{variant:"subtle",colorScheme:"warning",css:{color:"$warning11",bgColor:"$warning4"}},{variant:"subtle",colorScheme:"danger",css:{color:"$danger11",bgColor:"$danger4"}},{variant:"outline",colorScheme:"primary",css:{color:"$primary11",borderColor:"$primary7"}},{variant:"outline",colorScheme:"accent",css:{color:"$accent11",borderColor:"$accent7"}},{variant:"outline",colorScheme:"neutral",css:{color:"$neutral12",borderColor:"$neutral7"}},{variant:"outline",colorScheme:"success",css:{color:"$success11",borderColor:"$success7"}},{variant:"outline",colorScheme:"info",css:{color:"$info11",borderColor:"$info7"}},{variant:"outline",colorScheme:"warning",css:{color:"$warning11",borderColor:"$warning7"}},{variant:"outline",colorScheme:"danger",css:{color:"$danger11",borderColor:"$danger7"}}]}),t2="hope-badge";function sx(e){var t,n,r,i;const a=Ie().Badge,o={variant:(n=(t=a==null?void 0:a.defaultProps)==null?void 0:t.variant)!=null?n:"subtle",colorScheme:(i=(r=a==null?void 0:a.defaultProps)==null?void 0:r.colorScheme)!=null?i:"neutral"},s=ie(o,e),[l,c,u]=xe(s,["class"],["variant","colorScheme"]),d=()=>ge(l.class,t2,ox(c));return A(ut.span,ie({get class(){return d()},get __baseStyle(){return a==null?void 0:a.baseStyle}},u))}sx.toString=()=>Ce(t2);const lx=ee({display:"block",fontSize:"$base",lineHeight:"$6"}),cx=ee({display:"flex",alignItems:"center",margin:0,padding:0,listStyle:"none"}),ux=ee({display:"inline-flex",alignItems:"center"}),dx=ee({display:"inline-flex",alignItems:"center",justifyContent:"center"}),hx=ee({position:"relative",display:"inline-flex",alignItems:"center",outline:"none",backgroundColor:"transparent",color:"$neutral11",textDecoration:"none",cursor:"pointer",transition:"color 250ms, text-decoration 250ms","&:focus":{boxShadow:"$outline"},variants:{currentPage:{true:{color:"$neutral12",cursor:"default"},false:{"&:hover":{color:"$primary11"}}}}}),n2=Kt(),r2="hope-breadcrumb",fx="hope-breadcrumb__list";function mx(e){const t=Ie().Breadcrumb,[n]=Zn({get spacing(){var l,c,u,d;return(d=(u=e.spacing)!=null?u:(c=(l=t==null?void 0:t.defaultProps)==null?void 0:l.root)==null?void 0:c.spacing)!=null?d:"0.5rem"},get separator(){var l,c,u,d;return(d=(u=e.separator)!=null?u:(c=(l=t==null?void 0:t.defaultProps)==null?void 0:l.root)==null?void 0:c.separator)!=null?d:"/"}}),[r,i]=xe(e,["class","children","separator","spacing"]),a=()=>ge(r.class,r2,lx()),o=()=>ge(fx,cx()),s={state:n};return A(n2.Provider,{value:s,get children(){return A(ut.nav,ie({"aria-label":"breadcrumb",get class(){return a()},get __baseStyle(){var l;return(l=t==null?void 0:t.baseStyle)==null?void 0:l.root}},i,{get children(){return A(ut.ol,{get class(){return o()},get gap(){return n.spacing},get children(){return r.children}})}}))}})}mx.toString=()=>Ce(r2);function i2(){const e=an(n2);if(!e)throw new Error("[Hope UI]: useBreadcrumbContext must be used within a `<Breadcrumb />` component");return e}const a2="hope-breadcrumb__item";function px(e){const t=Ie().Breadcrumb,n=i2(),[r,i]=xe(e,["class"]),a=()=>ge(r.class,a2,ux());return A(ut.li,ie({get class(){return a()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.item},get gap(){return n.state.spacing}},i))}px.toString=()=>Ce(a2);const o2="hope-breadcrumb__link";function gx(e){const t=Ie().Breadcrumb,[n,r]=xe(e,["class","currentPage","href"]),i=()=>ge(n.class,o2,hx({currentPage:n.currentPage===!0}));return A(We,{get when(){return n.currentPage},get fallback(){return A(ut.a,ie({get href(){return n.href},get class(){return i()},get __baseStyle(){var a;return(a=t==null?void 0:t.baseStyle)==null?void 0:a.link}},r))},get children(){return A(ut.span,ie({"aria-current":"page",get class(){return i()},get __baseStyle(){var a;return(a=t==null?void 0:t.baseStyle)==null?void 0:a.link}},r))}})}gx.toString=()=>Ce(o2);const s2="hope-breadcrumb__separator";function bx(e){const t=Ie().Breadcrumb,n=i2(),[r,i]=xe(e,["class","children"]),a=()=>ge(r.class,s2,dx());return A(ut.span,ie({role:"presentation",get class(){return a()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.separator}},i,{get children(){return A(We,{get when(){return r.children},get fallback(){return n.state.separator},get children(){return r.children}})}}))}bx.toString=()=>Ce(s2);const vx=ee({display:"flex",justifyContent:"center",alignItems:"center"}),l2="hope-center";function js(e){const[t,n]=xe(e,["class"]),r=()=>ge(t.class,l2,vx());return A(Ye,ie({get class(){return r()}},n))}js.toString=()=>Ce(l2);function yo(e){return{color:e.color,"&[data-disabled]":{color:"$neutral10"},"&[data-focus]":{boxShadow:`0 0 0 3px $colors${e.boxShadowColorFocus}`,borderColor:e.borderColorFocus}}}const Ch=ee({position:"relative",display:"inline-flex",alignItems:"center",gap:"$2",cursor:"pointer",userSelect:"none","&[data-disabled]":{opacity:"0.5",cursor:"not-allowed"},variants:{size:{sm:{fontSize:"$sm",lineHeight:"$5"},md:{fontSize:"$base",lineHeight:"$6"},lg:{fontSize:"$lg",lineHeight:"$7"}}}}),Ah=ee({cursor:"pointer",userSelect:"none","&[data-disabled]":{opacity:"0.5",cursor:"not-allowed"}}),kh=ee({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,height:"100%",outline:"none",padding:0,verticalAlign:"middle",cursor:"pointer",userSelect:"none",transition:"border-color 250ms, box-shadow 250ms","&[data-disabled]":{opacity:"0.5",cursor:"not-allowed"},"&[data-invalid]":{borderColor:"$danger8",color:"$danger9"},"&[data-focus][data-invalid]":{boxShadow:"0 0 0 3px $colors$danger5",borderColor:"$danger8"},"&[data-checked], &[data-focus][data-checked]":{borderColor:"transparent",backgroundColor:"currentColor"},variants:{variant:{outline:{border:"1px solid $colors$neutral8",backgroundColor:"transparent"},filled:{border:"1px solid transparent",backgroundColor:"$neutral7"}},colorScheme:{primary:yo({color:"$primary9",boxShadowColorFocus:"$primary5",borderColorFocus:"$primary8"}),accent:yo({color:"$accent9",boxShadowColorFocus:"$accent5",borderColorFocus:"$accent8"}),neutral:yo({color:"$neutral9",boxShadowColorFocus:"$neutral5",borderColorFocus:"$neutral8"}),success:yo({color:"$success9",boxShadowColorFocus:"$success5",borderColorFocus:"$success8"}),info:yo({color:"$info9",boxShadowColorFocus:"$info5",borderColorFocus:"$info8"}),warning:yo({color:"$warning9",boxShadowColorFocus:"$warning5",borderColorFocus:"$warning8"}),danger:yo({color:"$danger9",boxShadowColorFocus:"$danger5",borderColorFocus:"$danger8"})},size:{sm:{boxSize:"$3"},md:{boxSize:"$4"},lg:{boxSize:"$5"}}}}),yx=ee(Ch,{variants:{labelPlacement:{start:{flexDirection:"row-reverse"},end:{flexDirection:"row"}}}}),Tx=ee(Ah),Ex=ee(kh,{borderRadius:"$sm","& svg":{color:"$loContrast"},"&[data-indeterminate], &[data-focus][data-indeterminate]":{borderColor:"transparent",backgroundColor:"currentColor"}}),_x=Kt();function c2(){return an(_x)}const xx=ee({position:"relative",width:"$full"}),Sx=ee({display:"inline-block",marginBottom:"$1",color:"$neutral12",fontWeight:"$medium",fontSize:"$sm",lineHeight:"$5",textAlign:"start",opacity:1,"&[data-disabled]":{opacity:.4,cursor:"not-allowed"}}),wx=ee({marginInlineStart:"$1",color:"$danger9",fontSize:"$base"}),Cx=ee({display:"inline-block",marginTop:"$1",color:"$neutral11",fontWeight:"$normal",fontSize:"$sm",lineHeight:"$5",textAlign:"start",opacity:1,"&[data-disabled]":{opacity:.4,cursor:"not-allowed"}});ee({display:"inline-block",marginTop:"$1",color:"$danger9",fontWeight:"$normal",fontSize:"$sm",lineHeight:"$5",textAlign:"start",opacity:1,"&[data-disabled]":{opacity:.4,cursor:"not-allowed"}});const u2=Kt(),d2="hope-form-control";function Ax(e){const t=`hope-field-${Dr()}`,n=Ie().FormControl,[r,i]=Zn({get id(){var h;return(h=e.id)!=null?h:t},get labelId(){return`${this.id}-label`},get helperTextId(){return`${this.id}-helper-text`},get errorMessageId(){return`${this.id}-error-message`},get required(){return e.required},get disabled(){return e.disabled},get invalid(){return e.invalid},get readOnly(){return e.readOnly},get["data-focus"](){return this.isFocused?"":void 0},get["data-disabled"](){return this.disabled?"":void 0},get["data-invalid"](){return this.invalid?"":void 0},get["data-readonly"](){return this.readOnly?"":void 0},hasHelperText:!1,hasErrorMessage:!1,isFocused:!1}),[a,o]=xe(e,["id","required","disabled","invalid","readOnly","class"]),s=h=>i("hasHelperText",h),l=h=>i("hasErrorMessage",h),c=()=>i("isFocused",!0),u=()=>i("isFocused",!1),d=()=>({state:r,setHasHelperText:s,setHasErrorMessage:l,onFocus:c,onBlur:u}),f=()=>ge(a.class,d2,xx());return A(u2.Provider,{get value(){return d()},get children(){return A(Ye,ie({role:"group",get class(){return f()},get __baseStyle(){var h;return(h=n==null?void 0:n.baseStyle)==null?void 0:h.root}},o))}})}Ax.toString=()=>Ce(d2);function l1(){return an(u2)}function Gs(e){const t=l1(),n=vt(()=>rr(t==null?void 0:t.onFocus,e.onFocus)),r=vt(()=>rr(t==null?void 0:t.onBlur,e.onBlur)),[i]=Zn({get id(){var a;return(a=e.id)!=null?a:t==null?void 0:t.state.id},get required(){var a;return(a=e.required)!=null?a:t==null?void 0:t.state.required},get disabled(){var a;return(a=e.disabled)!=null?a:t==null?void 0:t.state.disabled},get invalid(){var a;return(a=e.invalid)!=null?a:t==null?void 0:t.state.invalid},get readOnly(){var a;return(a=e.readOnly)!=null?a:t==null?void 0:t.state.readOnly},get["aria-required"](){return this.required?!0:void 0},get["aria-disabled"](){return this.disabled?!0:void 0},get["aria-invalid"](){return this.invalid?!0:void 0},get["aria-readonly"](){return this.readOnly?!0:void 0},get["aria-describedby"](){const a=e["aria-describedby"]?[e["aria-describedby"]]:[];return(t==null?void 0:t.state.hasErrorMessage)&&(t==null?void 0:t.state.invalid)&&a.push(t.state.errorMessageId),t!=null&&t.state.hasHelperText&&a.push(t.state.helperTextId),a.join(" ")||void 0},get onFocus(){return n},get onBlur(){return r}});return i}const kx=en('<input type="checkbox">');function Nx(e){const t=`hope-checkbox-${Dr()}`,n=l1(),r=c2(),i=Gs(e),[a,o]=Zn({_checked:!!e.defaultChecked,isFocused:!1,get isControlled(){return e.checked!==void 0},get checked(){if(r){const b=r.state.value;return b!=null?b.some(v=>String(e.value)===String(v)):!1}return this.isControlled?!!e.checked:this._checked},get id(){var b;return n&&!r?i.id:(b=e.id)!=null?b:t},get name(){var b;return(b=e.name)!=null?b:r==null?void 0:r.state.name},get value(){return e.value},get indeterminate(){return e.indeterminate},get required(){var b;return(b=i.required)!=null?b:r==null?void 0:r.state.required},get disabled(){var b;return(b=i.disabled)!=null?b:r==null?void 0:r.state.disabled},get invalid(){var b;return(b=i.invalid)!=null?b:r==null?void 0:r.state.invalid},get readOnly(){var b;return(b=i.readOnly)!=null?b:r==null?void 0:r.state.readOnly},get["aria-required"](){return this.required?!0:void 0},get["aria-disabled"](){return this.disabled?!0:void 0},get["aria-invalid"](){return this.invalid?!0:void 0},get["aria-readonly"](){return this.readOnly?!0:void 0},get["aria-label"](){return e["aria-label"]},get["aria-labelledby"](){return e["aria-labelledby"]},get["aria-describedby"](){return e["aria-describedby"]},get["data-indeterminate"](){return this.indeterminate?"":void 0},get["data-focus"](){return this.isFocused?"":void 0},get["data-checked"](){return this.checked?"":void 0},get["data-required"](){return this.required?"":void 0},get["data-disabled"](){return this.disabled?"":void 0},get["data-invalid"](){return this.invalid?"":void 0},get["data-readonly"](){return this.readOnly?"":void 0}}),[s,l,c]=xe(e,["inputClass","children","ref","tabIndex","onChange"],["id","name","value","indeterminate","checked","defaultChecked","required","disabled","invalid","readOnly","onFocus","onBlur"]),u=b=>{if(a.readOnly||a.disabled){b.preventDefault();return}if(!a.isControlled){const v=b.target;o("_checked",v.checked)}rr(r==null?void 0:r.onChange,s.onChange)(b)},d=b=>{o("isFocused",!0),Yn(i.onFocus,b)},f=b=>{o("isFocused",!1),Yn(i.onBlur,b)},h=()=>ge(s.inputClass,mc()),m=()=>a,p={state:a};return A(Ox.Provider,{value:p,get children(){return A(ut.label,ie({get for(){return a.id},"data-group":!0,get["data-indeterminate"](){return a["data-indeterminate"]},get["data-focus"](){return a["data-focus"]},get["data-checked"](){return a["data-checked"]},get["data-required"](){return a["data-required"]},get["data-disabled"](){return a["data-disabled"]},get["data-invalid"](){return a["data-invalid"]},get["data-readonly"](){return a["data-readonly"]}},c,{get children(){return[(()=>{const b=kx.cloneNode(!0);b.addEventListener("blur",f),b.addEventListener("focus",d),b.addEventListener("change",u);const v=s.ref;return typeof v=="function"?v(b):s.ref=b,ar(x=>{const _=h(),D=s.tabIndex,I=a.value,C=a.id,w=a.name,R=a.checked,L=a.required,Q=a.disabled,K=a.readOnly,J=a["aria-required"],oe=a["aria-disabled"],se=a["aria-invalid"],de=a["aria-readonly"],U=a["aria-label"],De=a["aria-labelledby"],ne=a["aria-describedby"];return _!==x._v$&&(b.className=x._v$=_),D!==x._v$2&&wt(b,"tabindex",x._v$2=D),I!==x._v$3&&(b.value=x._v$3=I),C!==x._v$4&&wt(b,"id",x._v$4=C),w!==x._v$5&&wt(b,"name",x._v$5=w),R!==x._v$6&&(b.checked=x._v$6=R),L!==x._v$7&&(b.required=x._v$7=L),Q!==x._v$8&&(b.disabled=x._v$8=Q),K!==x._v$9&&(b.readOnly=x._v$9=K),J!==x._v$10&&wt(b,"aria-required",x._v$10=J),oe!==x._v$11&&wt(b,"aria-disabled",x._v$11=oe),se!==x._v$12&&wt(b,"aria-invalid",x._v$12=se),de!==x._v$13&&wt(b,"aria-readonly",x._v$13=de),U!==x._v$14&&wt(b,"aria-label",x._v$14=U),De!==x._v$15&&wt(b,"aria-labelledby",x._v$15=De),ne!==x._v$16&&wt(b,"aria-describedby",x._v$16=ne),x},{_v$:void 0,_v$2:void 0,_v$3:void 0,_v$4:void 0,_v$5:void 0,_v$6:void 0,_v$7:void 0,_v$8:void 0,_v$9:void 0,_v$10:void 0,_v$11:void 0,_v$12:void 0,_v$13:void 0,_v$14:void 0,_v$15:void 0,_v$16:void 0}),b})(),A(We,{get when(){return or(s.children)},get fallback(){return s.children},get children(){var b;return(b=s.children)==null?void 0:b.call(s,{state:m})}})]}}))}})}const Ox=Kt(),Mx=en('<svg><path d="M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z" fill="currentColor" stroke="currentColor" stroke-width="1" fill-rule="evenodd" clip-rule="evenodd"></path></svg>',4,!0),Ix=en('<svg><path d="M2.25 7.5C2.25 7.22386 2.47386 7 2.75 7H12.25C12.5261 7 12.75 7.22386 12.75 7.5C12.75 7.77614 12.5261 8 12.25 8H2.75C2.47386 8 2.25 7.77614 2.25 7.5Z" fill="currentColor" stroke="currentColor" stroke-width="1" fill-rule="evenodd" clip-rule="evenodd"></path></svg>',4,!0),h2="hope-checkbox",Rx="hope-checkbox__input",Lx="hope-checkbox__control",Dx="hope-checkbox__label";function Px(e){var t,n,r,i,a,o,s,l,c,u,d,f,h,m,p,b,v,x,_,D;const I=Ie().Checkbox,C=c2(),w={variant:(a=(i=(t=C==null?void 0:C.state)==null?void 0:t.variant)!=null?i:(r=(n=I==null?void 0:I.defaultProps)==null?void 0:n.root)==null?void 0:r.variant)!=null?a:"outline",colorScheme:(u=(c=(o=C==null?void 0:C.state)==null?void 0:o.colorScheme)!=null?c:(l=(s=I==null?void 0:I.defaultProps)==null?void 0:s.root)==null?void 0:l.colorScheme)!=null?u:"primary",size:(p=(m=(d=C==null?void 0:C.state)==null?void 0:d.size)!=null?m:(h=(f=I==null?void 0:I.defaultProps)==null?void 0:f.root)==null?void 0:h.size)!=null?p:"md",labelPlacement:(D=(_=(b=C==null?void 0:C.state)==null?void 0:b.labelPlacement)!=null?_:(x=(v=I==null?void 0:I.defaultProps)==null?void 0:v.root)==null?void 0:x.labelPlacement)!=null?D:"end"},R=ie(w,e),[L,Q]=xe(R,["children","class","variant","colorScheme","size","labelPlacement","iconChecked","iconIndeterminate"]),K=()=>ge(L.class,h2,yx({size:L.size,labelPlacement:L.labelPlacement})),J=()=>ge(Lx,Ex({variant:L.variant,colorScheme:L.colorScheme,size:L.size})),oe=()=>ge(Dx,Tx());return A(Nx,ie({get class(){return K()},inputClass:Rx,get __baseStyle(){var se;return(se=I==null?void 0:I.baseStyle)==null?void 0:se.root}},Q,{children:({state:se})=>[A(ut.span,{"aria-hidden":!0,get class(){return J()},get __baseStyle(){var de;return(de=I==null?void 0:I.baseStyle)==null?void 0:de.control},get["data-indeterminate"](){return se()["data-indeterminate"]},get["data-focus"](){return se()["data-focus"]},get["data-checked"](){return se()["data-checked"]},get["data-required"](){return se()["data-required"]},get["data-disabled"](){return se()["data-disabled"]},get["data-invalid"](){return se()["data-invalid"]},get["data-readonly"](){return se()["data-readonly"]},get children(){return A(nc,{get children(){return[A(aa,{get when(){return se().indeterminate},get children(){return A(We,{get when(){return L.iconIndeterminate},get fallback(){return A(Bx,{})},get children(){return L.iconIndeterminate}})}}),A(aa,{get when(){return bi(()=>!!se().checked,!0)()&&!se().indeterminate},get children(){return A(We,{get when(){return L.iconChecked},get fallback(){return A($x,{})},get children(){return L.iconChecked}})}})]}})}}),A(ut.span,{get class(){return oe()},get __baseStyle(){var de;return(de=I==null?void 0:I.baseStyle)==null?void 0:de.label},get["data-indeterminate"](){return se()["data-indeterminate"]},get["data-focus"](){return se()["data-focus"]},get["data-checked"](){return se()["data-checked"]},get["data-required"](){return se()["data-required"]},get["data-disabled"](){return se()["data-disabled"]},get["data-invalid"](){return se()["data-invalid"]},get["data-readonly"](){return se()["data-readonly"]},get children(){return L.children}})]}))}Px.toString=()=>Ce(h2);const $x=Jr({viewBox:"0 0 15 15",path:()=>Mx.cloneNode(!0)}),Bx=Jr({viewBox:"0 0 15 15",path:()=>Ix.cloneNode(!0)}),Fx=Us({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}});ee({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle"});ee({fill:"transparent",stroke:"currentColor"});ee({position:"absolute",top:0,left:0,variants:{spin:{true:{animation:`${fc} 2s linear infinite`}}}});ee({fill:"transparent",stroke:"currentColor",opacity:1,variants:{hidden:{true:{opacity:0}},withRoundCaps:{true:{strokeLinecap:"round"}},indeterminate:{true:{animation:`${Fx} 2s linear infinite`},false:{strokeDashoffset:66,transitionProperty:"stroke-dasharray, stroke, opacity",transitionDuration:"600ms",transitionTimingFunction:"ease"}}}});ee({position:"absolute",top:"50%",left:"50%",width:"100%",color:"$neutral12",fontSize:"$xs",lineHeight:"$none",fontWeight:"$bold",textAlign:"center",transform:"translate(-50%, -50%)"});const zx=en('<svg><path fill="currentColor" d="M2.64 1.27L7.5 6.13l4.84-4.84A.92.92 0 0 1 13 1a1 1 0 0 1 1 1a.9.9 0 0 1-.27.66L8.84 7.5l4.89 4.89A.9.9 0 0 1 14 13a1 1 0 0 1-1 1a.92.92 0 0 1-.69-.27L7.5 8.87l-4.85 4.85A.92.92 0 0 1 2 14a1 1 0 0 1-1-1a.9.9 0 0 1 .27-.66L6.16 7.5L1.27 2.61A.9.9 0 0 1 1 2a1 1 0 0 1 1-1c.24.003.47.1.64.27z"></path></svg>',4,!0),Hx=Jr({viewBox:"0 0 15 15",path:()=>zx.cloneNode(!0)}),Ux=ee({appearance:"none",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,outline:"none",borderWidth:0,borderRadius:"$sm",backgroundColor:"transparent",padding:0,color:"currentColor",cursor:"pointer",userSelect:"none",transition:"color 250ms, background-color 250ms","&:disbaled":{opacity:"0.5",cursor:"not-allowed",boxShadow:"none"},"&:hover":{backgroundColor:"$closeButtonHoverBackground"},"&:active":{backgroundColor:"$closeButtonActiveBackground"},"&:focus":{outline:"none",boxShadow:"$outline"},variants:{size:{sm:{boxSize:"24px",fontSize:"10px"},md:{boxSize:"32px",fontSize:"12px"},lg:{boxSize:"40px",fontSize:"16px"}}}}),f2="hope-close-button";function vc(e){var t,n,r,i,a,o;const s=Ie().CloseButton,l={"aria-label":(n=(t=s==null?void 0:s.defaultProps)==null?void 0:t["aria-label"])!=null?n:"Close",icon:(i=(r=s==null?void 0:s.defaultProps)==null?void 0:r.icon)!=null?i:A(Hx,{}),size:(o=(a=s==null?void 0:s.defaultProps)==null?void 0:a.size)!=null?o:"md"},c=ie(l,e),[u,d]=xe(c,["class","children","size","icon"]),f=()=>ge(u.class,f2,Ux({size:u.size}));return A(ut.button,ie({type:"button",get class(){return f()},get __baseStyle(){return s==null?void 0:s.baseStyle}},d,{get children(){return A(We,{get when(){return u.children},get fallback(){return u.icon},get children(){return u.children}})}}))}vc.toString=()=>Ce(f2);const jx=ee({width:"100%","@sm":{maxWidth:"$containerSm"},"@md":{maxWidth:"$containerMd"},"@lg":{maxWidth:"$containerLg"},"@xl":{maxWidth:"$containerXl"},"@2xl":{maxWidth:"$container2xl"},variants:{centered:{true:{mx:"auto"}},centerContent:{true:{display:"flex",flexDirection:"column",alignItems:"center"}}}}),m2="hope-container";function Gx(e){const n=ie({centered:!0,centerContent:!1},e),[r,i,a]=xe(n,["class"],["centered","centerContent"]),o=()=>ge(r.class,m2,jx(i));return A(Ye,ie({get class(){return o()}},a))}Gx.toString=()=>Ce(m2);ee({border:0,borderColor:"currentColor",variants:{variant:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"},dotted:{borderStyle:"dotted"}},orientation:{vertical:{height:"100%"},horizontal:{width:"100%"}}}});function qx(e){const t=`hope-modal-${Dr()}`,n=Ie().Modal,[r,i]=Zn({headerMounted:!1,bodyMounted:!1,get opened(){return e.opened},get dialogId(){var b;return(b=e.id)!=null?b:t},get headerId(){return`${this.dialogId}--header`},get bodyId(){return`${this.dialogId}--body`},get initialFocus(){return e.initialFocus},get motionPreset(){var b,v,x,_;return(_=(x=e.motionPreset)!=null?x:(v=(b=n==null?void 0:n.defaultProps)==null?void 0:b.root)==null?void 0:v.motionPreset)!=null?_:"scale"},get size(){var b,v,x,_;return(_=(x=e.size)!=null?x:(v=(b=n==null?void 0:n.defaultProps)==null?void 0:b.root)==null?void 0:v.size)!=null?_:"md"},get centered(){var b,v,x,_;return(_=(x=e.centered)!=null?x:(v=(b=n==null?void 0:n.defaultProps)==null?void 0:b.root)==null?void 0:v.centered)!=null?_:!1},get scrollBehavior(){var b,v,x,_;return(_=(x=e.scrollBehavior)!=null?x:(v=(b=n==null?void 0:n.defaultProps)==null?void 0:b.root)==null?void 0:v.scrollBehavior)!=null?_:"outside"},get closeOnOverlayClick(){var b,v,x,_;return(_=(x=e.closeOnOverlayClick)!=null?x:(v=(b=n==null?void 0:n.defaultProps)==null?void 0:b.root)==null?void 0:v.closeOnOverlayClick)!=null?_:!0},get closeOnEsc(){var b,v,x,_;return(_=(x=e.closeOnEsc)!=null?x:(v=(b=n==null?void 0:n.defaultProps)==null?void 0:b.root)==null?void 0:v.closeOnEsc)!=null?_:!0},get trapFocus(){var b,v,x,_;return(_=(x=e.trapFocus)!=null?x:(v=(b=n==null?void 0:n.defaultProps)==null?void 0:b.root)==null?void 0:v.trapFocus)!=null?_:!0},get blockScrollOnMount(){var b,v,x,_;return(_=(x=e.blockScrollOnMount)!=null?x:(v=(b=n==null?void 0:n.defaultProps)==null?void 0:b.root)==null?void 0:v.blockScrollOnMount)!=null?_:!0},get preserveScrollBarGap(){var b,v,x,_;return(_=(x=e.preserveScrollBarGap)!=null?x:(v=(b=n==null?void 0:n.defaultProps)==null?void 0:b.root)==null?void 0:v.preserveScrollBarGap)!=null?_:!1}}),[a,o]=qe(!1);Rn(()=>{r.opened?o(!0):r.motionPreset==="none"&&o(!1)});const s=()=>o(!1),l=()=>e.onClose(),c=b=>i("headerMounted",b),u=b=>i("bodyMounted",b);let d=null;const p={state:r,unmountPortal:s,onClose:l,onMouseDown:b=>{d=b.target},onKeyDown:b=>{var v;b.key==="Escape"&&(b.stopPropagation(),r.closeOnEsc&&l(),(v=e.onEsc)==null||v.call(e))},onOverlayClick:b=>{var v;b.stopPropagation(),d===b.target&&(r.closeOnOverlayClick&&l(),(v=e.onOverlayClick)==null||v.call(e))},setHeaderMounted:c,setBodyMounted:u};return A(We,{get when(){return a()},get children(){return A(p2.Provider,{value:p,get children(){return A(ro,{get children(){return e.children}})}})}})}const p2=Kt();function ao(){const e=an(p2);if(!e)throw new Error("[Hope UI]: useModalContext must be used within a `<Modal />` component");return e}const g2="hope-modal__body";function b2(e){const t=Ie().Modal,n=ao(),[r,i]=xe(e,["class"]),a=()=>ge(r.class,g2,TE({scrollBehavior:n.state.scrollBehavior}));return pr(()=>n.setBodyMounted(!0)),Jt(()=>n.setBodyMounted(!1)),A(Ye,ie({get class(){return a()},get id(){return n.state.bodyId},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.body}},i))}b2.toString=()=>Ce(g2);const v2="hope-modal__close-button";function y2(e){var t,n,r,i,a,o,s,l;const c=Ie().Modal,u=ao(),d={"aria-label":(r=(n=(t=c==null?void 0:c.defaultProps)==null?void 0:t.closeButton)==null?void 0:n["aria-label"])!=null?r:"Close modal",size:(o=(a=(i=c==null?void 0:c.defaultProps)==null?void 0:i.closeButton)==null?void 0:a.size)!=null?o:"md",icon:(l=(s=c==null?void 0:c.defaultProps)==null?void 0:s.closeButton)==null?void 0:l.icon},f=ie(d,e),[h,m]=xe(f,["class","onClick"]),p=()=>ge(h.class,v2,_E());return A(vc,ie({get class(){return p()},get __baseStyle(){var v;return(v=c==null?void 0:c.baseStyle)==null?void 0:v.closeButton},onClick:v=>{rr(h.onClick,x=>{x.stopPropagation(),u.onClose()})(v)}},m))}y2.toString=()=>Ce(v2);const T2="hope-modal__footer";function Wx(e){const t=Ie().Modal,[n,r]=xe(e,["class"]),i=()=>ge(n.class,T2,EE());return A(Ye,ie({get class(){return i()},get __baseStyle(){var a;return(a=t==null?void 0:t.baseStyle)==null?void 0:a.footer}},r))}Wx.toString=()=>Ce(T2);const E2="hope-modal__header";function _2(e){const t=Ie().Modal,n=ao(),[r,i]=xe(e,["class"]),a=()=>ge(r.class,E2,yE());return pr(()=>n.setHeaderMounted(!0)),Jt(()=>n.setHeaderMounted(!1)),A(Ye,ie({get class(){return a()},get id(){return n.state.headerId},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.header}},i))}_2.toString=()=>Ce(E2);const x2=Kt();function hU(e){const t=Ie().Drawer,[,n]=xe(e,["opened","onClose","placement","size","fullHeight","disableMotion"]),[r]=Zn({get placement(){var i,a,o,s;return(s=(o=e.placement)!=null?o:(a=(i=t==null?void 0:t.defaultProps)==null?void 0:i.root)==null?void 0:a.placement)!=null?s:"right"},get size(){var i,a,o,s;return(s=(o=e.size)!=null?o:(a=(i=t==null?void 0:t.defaultProps)==null?void 0:i.root)==null?void 0:a.size)!=null?s:"xs"},get fullHeight(){var i,a,o,s;return(s=(o=e.fullHeight)!=null?o:(a=(i=t==null?void 0:t.defaultProps)==null?void 0:i.root)==null?void 0:a.fullHeight)!=null?s:!1},get disableMotion(){var i,a,o,s;return(s=(o=e.disableMotion)!=null?o:(a=(i=t==null?void 0:t.defaultProps)==null?void 0:i.root)==null?void 0:a.disableMotion)!=null?s:!1}});return A(x2.Provider,{value:r,get children(){return A(qx,ie({scrollBehavior:"inside",get blockScrollOnMount(){var i,a;return(a=(i=t==null?void 0:t.defaultProps)==null?void 0:i.root)==null?void 0:a.blockScrollOnMount},get closeOnEsc(){var i,a;return(a=(i=t==null?void 0:t.defaultProps)==null?void 0:i.root)==null?void 0:a.closeOnEsc},get closeOnOverlayClick(){var i,a;return(a=(i=t==null?void 0:t.defaultProps)==null?void 0:i.root)==null?void 0:a.closeOnOverlayClick},get preserveScrollBarGap(){var i,a;return(a=(i=t==null?void 0:t.defaultProps)==null?void 0:i.root)==null?void 0:a.preserveScrollBarGap},get trapFocus(){var i,a;return(a=(i=t==null?void 0:t.defaultProps)==null?void 0:i.root)==null?void 0:a.trapFocus},get opened(){return e.opened},get onClose(){return e.onClose}},n))}})}function S2(){const e=an(x2);if(!e)throw new Error("[Hope UI]: useDrawerContext must be used within a `<Drawer />` component");return e}function fU(e){var t,n,r,i,a,o,s,l;const c=Ie().Drawer,u={"aria-label":(r=(n=(t=c==null?void 0:c.defaultProps)==null?void 0:t.closeButton)==null?void 0:n["aria-label"])!=null?r:"Close drawer",size:(o=(a=(i=c==null?void 0:c.defaultProps)==null?void 0:i.closeButton)==null?void 0:a.size)!=null?o:"md",icon:(l=(s=c==null?void 0:c.defaultProps)==null?void 0:s.closeButton)==null?void 0:l.icon},d=ie(u,e);return A(y2,ie({get __baseStyle(){var f;return(f=c==null?void 0:c.baseStyle)==null?void 0:f.closeButton}},d))}function mU(e){const t=Ie().Drawer;return A(b2,ie({get __baseStyle(){var n;return(n=t==null?void 0:t.baseStyle)==null?void 0:n.body}},e))}function pU(e){const t=Ie().Drawer;return A(_2,ie({get __baseStyle(){var n;return(n=t==null?void 0:t.baseStyle)==null?void 0:n.header}},e))}function w2(e){const t=ao();let n,r;const i=f=>{n=f},a=()=>t.state.headerMounted?t.state.headerId:void 0,o=()=>t.state.bodyMounted?t.state.bodyId:void 0,s=f=>{rr(e.onClick,h=>h.stopPropagation())(f)},l=()=>`[id='${t.state.dialogId}']`,c=()=>`${l()} *`,u=()=>{!n||(t.state.trapFocus&&(r=hg(n,{initialFocus:t.state.initialFocus,fallbackFocus:l(),allowOutsideClick:!0}),r.activate()),t.state.blockScrollOnMount&&(us.exports.addScrollableSelector(c()),us.exports.disablePageScroll(n)))},d=()=>{r==null||r.deactivate(),us.exports.removeScrollableSelector(c()),us.exports.clearQueueScrollLocks(),us.exports.enablePageScroll()};return pr(()=>{u()}),Jt(()=>{d()}),{assignContainerRef:i,ariaLabelledBy:a,ariaDescribedBy:o,onDialogClick:s}}const Kx="hope-modal__content-container",C2="hope-modal__content";function Vx(e){const t=Ie().Modal,n=ao(),[r,i]=xe(e,["ref","class","role","aria-labelledby","aria-describedby","onClick"]),{assignContainerRef:a,ariaLabelledBy:o,ariaDescribedBy:s,onDialogClick:l}=w2(r),c=()=>{const f=bE({centered:n.state.centered,scrollBehavior:n.state.scrollBehavior});return ge(Kx,f)},u=()=>{const f=vE({size:n.state.size,scrollBehavior:n.state.scrollBehavior});return ge(r.class,C2,f)},d=()=>{switch(n.state.motionPreset){case"fade-in-bottom":return Sn.fadeInBottom;case"scale":return Sn.scale;case"none":return"hope-none"}};return A(io,{get name(){return d()},appear:!0,get onAfterExit(){return n.unmountPortal},get children(){return A(We,{get when(){return n.state.opened},get children(){return A(Ye,{ref:a,get class(){return c()},tabIndex:-1,get onMouseDown(){return n.onMouseDown},get onKeyDown(){return n.onKeyDown},get onClick(){return n.onOverlayClick},get children(){return A(ut.section,ie({get class(){return u()},get __baseStyle(){var f;return(f=t==null?void 0:t.baseStyle)==null?void 0:f.content},get id(){return n.state.dialogId},get role(){var f;return(f=r.role)!=null?f:"dialog"},tabIndex:-1,"aria-modal":!0,get["aria-labelledby"](){return o()},get["aria-describedby"](){return s()},onClick:l},i))}})}})}})}Vx.toString=()=>Ce(C2);const A2="hope-modal__overlay";function Yx(e){const t=Ie().Modal,n=ao(),[r,i]=xe(e,["class"]),a=()=>ge(r.class,A2,Ag()),o=()=>n.state.motionPreset==="none"?"hope-none":Sn.fade;return A(io,{get name(){return o()},appear:!0,get children(){return A(We,{get when(){return n.state.opened},get children(){return A(Ye,ie({get class(){return a()},get __baseStyle(){var s;return(s=t==null?void 0:t.baseStyle)==null?void 0:s.overlay}},i))}})}})}Yx.toString=()=>Ce(A2);const Xx="hope-drawer__content-container",k2="hope-drawer__content";function Qx(e){const t=Ie().Drawer,n=S2(),r=ao(),[i,a]=xe(e,["ref","class","role","aria-labelledby","aria-describedby","onClick"]),{assignContainerRef:o,ariaLabelledBy:s,ariaDescribedBy:l,onDialogClick:c}=w2(i),u=()=>ge(Xx,SE({placement:n.placement})),d=()=>{const h=wE({size:n.size,placement:n.placement,fullHeight:n.fullHeight});return ge(i.class,k2,h)},f=()=>{if(n.disableMotion)return"hope-none";switch(n.placement){case"top":return Nt.slideInTop;case"right":return Nt.slideInRight;case"bottom":return Nt.slideInBottom;case"left":return Nt.slideInLeft}};return A(io,{get name(){return f()},appear:!0,get onAfterExit(){return r.unmountPortal},get children(){return A(We,{get when(){return r.state.opened},get children(){return A(Ye,{ref:o,get class(){return u()},tabIndex:-1,get onMouseDown(){return r.onMouseDown},get onKeyDown(){return r.onKeyDown},get onClick(){return r.onOverlayClick},get children(){return A(ut.section,ie({get class(){return d()},get __baseStyle(){var h;return(h=t==null?void 0:t.baseStyle)==null?void 0:h.content},get id(){return r.state.dialogId},get role(){var h;return(h=i.role)!=null?h:"dialog"},tabIndex:-1,"aria-modal":!0,get["aria-labelledby"](){return s()},get["aria-describedby"](){return l()},onClick:c},a))}})}})}})}Qx.toString=()=>Ce(k2);const N2="hope-drawer__overlay";function Zx(e){const t=Ie().Drawer,n=S2(),r=ao(),[i,a]=xe(e,["class"]),o=()=>ge(i.class,N2,Ag()),s=()=>n.disableMotion?"hope-none":Nt.fade;return A(io,{get name(){return s()},appear:!0,get children(){return A(We,{get when(){return r.state.opened},get children(){return A(Ye,ie({get class(){return o()},get __baseStyle(){var l;return(l=t==null?void 0:t.baseStyle)==null?void 0:l.overlay}},a))}})}})}Zx.toString=()=>Ce(N2);const O2="hope-flex";function Nh(e){const[t,n]=xe(e,["class","direction","wrap"]),r=()=>ge(t.class,O2);return A(Ye,ie({get class(){return r()},display:"flex",get flexDirection(){return t.direction},get flexWrap(){return t.wrap}},n))}Nh.toString=()=>Ce(O2);const M2="hope-form-helper-text";function Jx(e){const t=Ie().FormControl,n=l1(),[r,i]=xe(e,["ref","id","class"]),a=()=>{var s;return(s=r.id)!=null?s:n==null?void 0:n.state.helperTextId},o=()=>ge(r.class,M2,Cx());return pr(()=>n==null?void 0:n.setHasHelperText(!0)),Jt(()=>n==null?void 0:n.setHasHelperText(!1)),A(Ye,ie({get id(){return a()},get class(){return o()},get __baseStyle(){var s;return(s=t==null?void 0:t.baseStyle)==null?void 0:s.helperText},get["data-disabled"](){return n==null?void 0:n.state["data-disabled"]},get["data-readonly"](){return n==null?void 0:n.state["data-readonly"]}},i))}Jx.toString=()=>Ce(M2);const eS=en('<span role="presentation" aria-hidden="true">*</span>'),I2="hope-form-label";function tS(e){var t,n,r;const i=Ie().FormControl,a=l1(),o={withRequiredIndicator:(r=(n=(t=i==null?void 0:i.defaultProps)==null?void 0:t.label)==null?void 0:n.withRequiredIndicator)!=null?r:!0},s=ie(o,e),[l,c]=xe(s,["id","for","class","children","withRequiredIndicator"]),u=()=>{var h;return(h=l.id)!=null?h:a==null?void 0:a.state.labelId},d=()=>{var h;return(h=l.for)!=null?h:a==null?void 0:a.state.id},f=()=>ge(l.class,I2,Sx());return A(ut.label,ie({get id(){return u()},get for(){return d()},get class(){return f()},get __baseStyle(){var h;return(h=i==null?void 0:i.baseStyle)==null?void 0:h.label},get["data-focus"](){return a==null?void 0:a.state["data-focus"]},get["data-disabled"](){return a==null?void 0:a.state["data-disabled"]},get["data-invalid"](){return a==null?void 0:a.state["data-invalid"]},get["data-readonly"](){return a==null?void 0:a.state["data-readonly"]}},c,{get children(){return[bi(()=>l.children),A(We,{get when(){return(a==null?void 0:a.state.required)&&l.withRequiredIndicator},get children(){const h=eS.cloneNode(!0);return ar(()=>h.className=wx()),h}})]}}))}tS.toString=()=>Ce(I2);const R2="hope-grid";function L2(e){const[t,n]=xe(e,["class","autoFlow","autoColumns","autoRows","templateAreas","templateColumns","templateRows"]),r=()=>ge(t.class,R2);return A(Ye,ie({get class(){return r()},display:"grid",get gridAutoFlow(){return t.autoFlow},get gridAutoColumns(){return t.autoColumns},get gridAutoRows(){return t.autoRows},get gridTemplateAreas(){return t.templateAreas},get gridTemplateColumns(){return t.templateColumns},get gridTemplateRows(){return t.templateRows}},n))}L2.toString=()=>Ce(R2);const D2="hope-simple-grid";function nS(e){return gT(e)?`${e}px`:e}function rS(e){return Mg(e,t=>xg(t)?null:`repeat(auto-fit, minmax(${nS(t)}, 1fr))`)}function iS(e){return Mg(e,t=>xg(t)?null:`repeat(${t}, minmax(0, 1fr))`)}function aS(e){const[t,n]=xe(e,["class","minChildWidth","columns"]),r=()=>ge(t.class,D2),i=()=>t.minChildWidth?rS(t.minChildWidth):iS(t.columns);return A(L2,ie({get class(){return r()},get templateColumns(){return i()}},n))}aS.toString=()=>Ce(D2);const P2=ee({variants:{size:{xs:{fontSize:"$xs",lineHeight:"$4"},sm:{fontSize:"$sm",lineHeight:"$5"},base:{fontSize:"$base",lineHeight:"$6"},lg:{fontSize:"$lg",lineHeight:"$7"},xl:{fontSize:"$xl",lineHeight:"$7"},"2xl":{fontSize:"$2xl",lineHeight:"$8"},"3xl":{fontSize:"$3xl",lineHeight:"$9"},"4xl":{fontSize:"$4xl",lineHeight:"$10"},"5xl":{fontSize:"$5xl",lineHeight:"$none"},"6xl":{fontSize:"$6xl",lineHeight:"$none"},"7xl":{fontSize:"$7xl",lineHeight:"$none"},"8xl":{fontSize:"$8xl",lineHeight:"$none"},"9xl":{fontSize:"$9xl",lineHeight:"$none"}}}}),oS=ee(P2,{fontWeight:"$semibold"}),$2="hope-heading";function B2(e){var t,n;const r=Ie().Heading,i={as:"h2",level:(t=r==null?void 0:r.defaultProps)==null?void 0:t.level,size:(n=r==null?void 0:r.defaultProps)==null?void 0:n.size},a=ie(i,e),[o,s]=xe(a,["class","as","level","size"]),l=()=>ge(o.class,$2,oS({size:o.size})),c=()=>o.level?`h${o.level}`:o.as;return A(Ye,ie({get as(){return c()},get class(){return l()},get __baseStyle(){return r==null?void 0:r.baseStyle}},s))}B2.toString=()=>Ce($2);function sS(e){const t=Ie().IconButton,n=Vg(),[r,i]=xe(e,["class","children","icon","variant","colorScheme","size","disabled"]),a=()=>{var u,d,f,h;return(h=(f=(u=r.variant)!=null?u:n==null?void 0:n.state.variant)!=null?f:(d=t==null?void 0:t.defaultProps)==null?void 0:d.variant)!=null?h:"solid"},o=()=>{var u,d,f,h;return(h=(f=(u=r.colorScheme)!=null?u:n==null?void 0:n.state.colorScheme)!=null?f:(d=t==null?void 0:t.defaultProps)==null?void 0:d.colorScheme)!=null?h:"primary"},s=()=>{var u,d,f,h;return(h=(f=(u=r.size)!=null?u:n==null?void 0:n.state.size)!=null?f:(d=t==null?void 0:t.defaultProps)==null?void 0:d.size)!=null?h:"md"},l=()=>{var u;return(u=r.disabled)!=null?u:n==null?void 0:n.state.disabled},c=()=>ge(r.class,bc);return A(Jg,ie({get class(){return c()},get __baseStyle(){return t==null?void 0:t.baseStyle},get variant(){return a()},get colorScheme(){return o()},get size(){return s()},get disabled(){return l()}},i,{get children(){return A(We,{get when(){return r.icon},get fallback(){return r.children},get children(){return r.icon}})}}))}sS.toString=()=>Ce(bc);const F2="hope-image";function lS(e){const[t,n,r]=xe(e,["class","htmlWidth","htmlHeight","fallbackSrc","fallback","src","srcSet","align","fit","loading","ignoreFallback","crossOrigin"],["onError","onLoad"]),i=()=>t.loading!=null||t.ignoreFallback||t.fallbackSrc===void 0&&t.fallback===void 0,a=vt(()=>ax(Mi(Ae({},e),{ignoreFallback:i()}))),o=()=>Ae(Ae({objectFit:t.fit,objectPosition:t.align,width:t.htmlWidth,height:t.htmlHeight},i()?n:{}),r),s=()=>ge(t.class,F2);return A(We,{get when(){return a()()==="loaded"},get fallback(){return A(We,{get when(){return t.fallback},get fallback(){return A(Ye,ie({as:"img",get src(){return t.fallbackSrc},class:"hope-image__placeholder"},o))},get children(){return t.fallback}})},get children(){return A(Ye,ie({as:"img",get src(){return t.src},get srcSet(){return t.srcSet},get crossOrigin(){return t.crossOrigin},get loading(){return t.loading},get class(){return s()}},o))}})}lS.toString=()=>Ce(F2);const cS=Kt();function uS(){return an(cS)}const z2="hope-input";function H2(e){const t=Ie().Input,n=uS(),r=Gs(e),[i,a]=xe(e,["class","htmlSize","variant","size"]),o=()=>{var s,l,c,u,d,f,h,m,p,b,v,x,_,D;return ge(i.class,z2,qE({variant:(d=(u=(s=i.variant)!=null?s:n==null?void 0:n.state.variant)!=null?u:(c=(l=t==null?void 0:t.defaultProps)==null?void 0:l.input)==null?void 0:c.variant)!=null?d:"outline",size:(b=(p=(f=i.size)!=null?f:n==null?void 0:n.state.size)!=null?p:(m=(h=t==null?void 0:t.defaultProps)==null?void 0:h.input)==null?void 0:m.size)!=null?b:"md",withLeftElement:(v=n==null?void 0:n.state.hasLeftElement)!=null?v:!1,withRightElement:(x=n==null?void 0:n.state.hasRightElement)!=null?x:!1,withLeftAddon:(_=n==null?void 0:n.state.hasLeftAddon)!=null?_:!1,withRightAddon:(D=n==null?void 0:n.state.hasRightAddon)!=null?D:!1}))};return A(ut.input,ie({type:"text",get class(){return o()},get size(){return i.htmlSize},get __baseStyle(){var s;return(s=t==null?void 0:t.baseStyle)==null?void 0:s.input}},r,a))}H2.toString=()=>Ce(z2);const dS=ee({borderRadius:"$md",borderColor:"$neutral7",borderWidth:"1px",borderBottomWidth:"3px",backgroundColor:"$neutral2",px:"0.4em",fontFamily:"$mono",fontSize:"0.8em",fontWeight:"$bold",lineHeight:"$normal",whiteSpace:"nowrap"}),U2="hope-kbd";function hS(e){const t=Ie().Kbd,[n,r]=xe(e,["class"]),i=()=>ge(n.class,U2,dS());return A(ut.kbd,ie({get class(){return i()},get __baseStyle(){return t==null?void 0:t.baseStyle}},r))}hS.toString=()=>Ce(U2);const fS=ee({listStyleType:"none"});ee({marginEnd:"0.5rem"});const j2="hope-list",mS="& > *:not(style) ~ *:not(style)";function G2(e){const[t,n]=xe(e,["class","styleType","stylePosition","spacing"]),r=()=>t.spacing?{[mS]:{mt:t.spacing}}:{},i=()=>ge(t.class,j2,fS({css:Ae({listStyleType:t.styleType,listStylePosition:t.stylePosition},r())}));return A(ut.ul,ie({role:"list",get class(){return i()}},n))}G2.toString=()=>Ce(j2);const q2="hope-list__item";function W2(e){const[t,n]=xe(e,["class"]),r=()=>ge(t.class,q2);return A(ut.li,ie({get class(){return r()}},n))}W2.toString=()=>Ce(q2);var wi=(e=>(e[e.Close=0]="Close",e[e.SelectAndClose=1]="SelectAndClose",e[e.First=2]="First",e[e.Last=3]="Last",e[e.Next=4]="Next",e[e.Open=5]="Open",e[e.OpenAndFocusLast=6]="OpenAndFocusLast",e[e.Previous=7]="Previous",e[e.Select=8]="Select",e[e.Type=9]="Type",e))(wi||{});function R5(e=[],t,n=[]){return e.filter(r=>r.disabled?!1:r.textValue.toLowerCase().indexOf(t.toLowerCase())===0&&n.indexOf(r.textValue)<0)}function pS(e,t,n=0){const r=[...e.slice(n),...e.slice(0,n)],i=R5(r,t)[0],a=o=>o.every(s=>s===o[0]);if(i)return e.indexOf(i);if(a(t.split(""))){const o=R5(r,t[0]);return e.indexOf(o[0])}else return-1}function gS(e,t){const{key:n,altKey:r,ctrlKey:i,metaKey:a}=e;if(!t&&["ArrowDown","Enter"," "].includes(n))return 5;if(!t&&n==="ArrowUp")return 6;if(n==="Home")return 2;if(n==="End")return 3;if(n==="Backspace"||n==="Clear"||n.length===1&&n!==" "&&!r&&!i&&!a)return 9;if(t){if(n==="ArrowDown")return 4;if(n==="ArrowUp")return 7;if(n==="Escape")return 0;if(n==="Enter"||n===" ")return 1}}function L5(e,t,n){switch(n){case 2:return 0;case 3:return t;case 7:return e-1<0?t:e-1;case 4:return e+1>t?0:e+1;default:return e}}function bS(e){const{currentIndex:t,maxIndex:n,initialAction:r,isItemDisabled:i}=e;let a=L5(t,n,r);for(;i(a);){let o=r;const s=a===0,l=a===n;if(r===2&&(o=4),r===3&&(o=7),r===7&&s){a=t;break}if(r===4&&l){a=t;break}a=L5(a,n,o)}return a}function vS(e){const t=`hope-menu-${Dr()}`,n=Ie().Menu,[r,i]=qe([]),[a,o]=Zn({get triggerId(){var ne;return(ne=e.id)!=null?ne:`${t}-trigger`},get menuContentId(){return`${t}-content`},get labelIdPrefix(){return`${t}-label`},get itemIdPrefix(){return`${t}-item`},get activeDescendantId(){return this.opened?`${this.itemIdPrefix}-${this.activeIndex}`:void 0},get closeOnSelect(){var ne,Ge,Ne,N;return(N=(Ne=e.closeOnSelect)!=null?Ne:(Ge=(ne=n==null?void 0:n.defaultProps)==null?void 0:ne.root)==null?void 0:Ge.closeOnSelect)!=null?N:!0},get motionPreset(){var ne,Ge,Ne,N,P;return e.motionPreset?e.motionPreset:(Ge=(ne=n==null?void 0:n.defaultProps)==null?void 0:ne.root)!=null&&Ge.motionPreset?(N=(Ne=n==null?void 0:n.defaultProps)==null?void 0:Ne.root)==null?void 0:N.motionPreset:(P=e.placement)!=null&&P.startsWith("top")?"scale-bottom-left":"scale-top-left"},get items(){return r()},opened:!1,activeIndex:0,ignoreBlur:!1,searchString:"",searchTimeoutId:void 0});let s,l,c;const u=async()=>{var ne,Ge,Ne,N,P,be,Ve,Et;if(!s||!l)return;const{x:ht,y:st}=await hc(s,l,{placement:(N=(Ne=e.placement)!=null?Ne:(Ge=(ne=n==null?void 0:n.defaultProps)==null?void 0:ne.root)==null?void 0:Ge.placement)!=null?N:"bottom-start",middleware:[sc((Et=(Ve=e.offset)!=null?Ve:(be=(P=n==null?void 0:n.defaultProps)==null?void 0:P.root)==null?void 0:be.offset)!=null?Et:5),oc(),lc()]});!l||Object.assign(l.style,{left:`${Math.round(ht)}px`,top:`${Math.round(st)}px`})},d=ne=>{a.searchTimeoutId&&window.clearTimeout(a.searchTimeoutId);const Ge=window.setTimeout(()=>{o("searchString","")},500);return o("searchTimeoutId",Ge),o("searchString",Ne=>Ne+=ne),a.searchString},f=ne=>{o("activeIndex",ne)},h=ne=>a.items[ne].disabled,m=ne=>{var Ge;f(ne);const Ne=a.items[ne];(Ge=Ne.onSelect)==null||Ge.call(Ne),Ne.closeOnSelect?R(!1):p()},p=()=>{s==null||s.focus()},b=ne=>{if(!Bo(s,F0(ne))){if(a.ignoreBlur){o("ignoreBlur",!1);return}a.opened&&R(!1,!1)}},v=()=>{R(!a.opened,!1)},x=ne=>{const{key:Ge}=ne,Ne=a.items.length-1,N=gS(ne,a.opened);switch(N){case wi.Last:case wi.First:case wi.Next:case wi.Previous:return ne.preventDefault(),f(bS({currentIndex:a.activeIndex,maxIndex:Ne,initialAction:N,isItemDisabled:h}));case wi.SelectAndClose:ne.preventDefault(),m(a.activeIndex);return;case wi.Close:return ne.preventDefault(),R(!1);case wi.Type:return _(Ge);case wi.Open:return ne.preventDefault(),R(!0);case wi.OpenAndFocusLast:return ne.preventDefault(),R(!0,!0,!0)}},_=ne=>{R(!0);const Ge=d(ne),Ne=pS(a.items,Ge,a.activeIndex+1);Ne>=0?f(Ne):(window.clearTimeout(a.searchTimeoutId),o("searchString",""))},D=ne=>{if(a.items[ne].disabled){p();return}m(ne)},I=ne=>{a.activeIndex!==ne&&f(ne)},C=()=>{o("ignoreBlur",!0)},w=()=>{a.opened?(u(),s&&l&&(c=dc(s,l,u))):c==null||c()},R=(ne,Ge=!0,Ne=!1)=>{a.opened!==ne&&(o("opened",ne),o("activeIndex",Ne?a.items.length-1:0),w(),Ge&&p())},L=()=>{f(-1)},Q=ne=>{Bo(s,ne)||R(!1,!1)},K=ne=>ne===a.activeIndex,J=ne=>{s=ne},oe=ne=>{l=ne},se=ne=>{!l||Lg(l)&&Dg(ne,l)},de=ne=>{const Ge=a.items.findIndex(N=>N.key===ne.key);return Ge!=-1?Ge:i(N=>[...N,ne]).length-1},U=()=>a.opened,De={state:a,isItemActiveDescendant:K,assignTriggerRef:J,assignContentRef:oe,registerItem:de,scrollToItem:se,onTriggerBlur:b,onTriggerClick:v,onTriggerKeyDown:x,onContentMouseLeave:L,onContentClickOutside:Q,onItemClick:D,onItemMouseMove:I,onItemMouseDown:C};return A(K2.Provider,{value:De,get children(){return A(We,{get when(){return gc(e)},get fallback(){return e.children},get children(){var ne;return(ne=e.children)==null?void 0:ne.call(e,{opened:U})}})}})}const K2=Kt();function Oh(){const e=an(K2);if(!e)throw new Error("[Hope UI]: useMenuContext must be used within a `<Menu />` component");return e}function yS(e){const[t,n]=Zn({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),r=o=>{ou(o,e.element())&&n("isPointerDown",!0)},i=o=>{if(t.ignoreEmulatedMouseEvents){n("ignoreEmulatedMouseEvents",!1);return}t.isPointerDown&&e.handler&&ou(o,e.element())&&(n("isPointerDown",!1),e.handler(o))},a=o=>{n("ignoreEmulatedMouseEvents",!0),e.handler&&t.isPointerDown&&ou(o,e.element())&&(n("isPointerDown",!1),e.handler(o))};pr(()=>{const o=B0(e.element());o.addEventListener("mousedown",r,!0),o.addEventListener("mouseup",i,!0),o.addEventListener("touchstart",r,!0),o.addEventListener("touchend",a,!0)}),Jt(()=>{const o=B0(e.element());o.removeEventListener("mousedown",r,!0),o.removeEventListener("mouseup",i,!0),o.removeEventListener("touchstart",r,!0),o.removeEventListener("touchend",a,!0)})}function V2(e){const t=yi(()=>e.children);return yS({element:()=>t(),handler:n=>e.onClickOutside(n)}),t}const Y2="hope-menu__content";function X2(e){const t=Ie().Menu,n=Oh(),[r,i]=xe(e,["ref","class","children"]),[a,o]=qe(!1);Rn(ia(()=>n.state.opened,()=>{n.state.opened?o(!0):n.state.motionPreset==="none"&&o(!1)}));const s=()=>o(!1),l=yi(()=>r.children),c=h=>{n.assignContentRef(h),or(r.ref)?r.ref(h):r.ref=h},u=h=>{n.onContentClickOutside(h.target)},d=()=>ge(r.class,Y2,kE()),f=()=>{switch(n.state.motionPreset){case"scale-top-left":return ja.scaleTopLeft;case"scale-top-right":return ja.scaleTopRight;case"scale-bottom-left":return ja.scaleBottomLeft;case"scale-bottom-right":return ja.scaleBottomRight;case"none":return"hope-none"}};return A(We,{get when(){return a()},get children(){return A(ro,{get children(){return A(io,{get name(){return f()},appear:!0,onAfterExit:s,get children(){return A(We,{get when(){return n.state.opened},get children(){return A(V2,{onClickOutside:u,get children(){return A(Ye,ie({role:"menu",tabindex:"-1",ref:c,get id(){return n.state.menuContentId},get["aria-activedescendant"](){return n.state.activeDescendantId},get["aria-labelledby"](){return n.state.triggerId},"aria-orientation":"vertical",get class(){return d()},get __baseStyle(){var h;return(h=t==null?void 0:t.baseStyle)==null?void 0:h.content},get onMouseLeave(){return n.onContentMouseLeave}},i,{get children(){return l()}}))}})}})}})}})}})}X2.toString=()=>Ce(Y2);const Q2="hope-menu__item",TS="hope-menu__item__icon-wrapper",ES="hope-menu__item__text",_S="hope-menu__item__command";function Z2(e){const t=Dr(),n=Ie().Menu,r=Oh(),[i,a]=qe(-1);let o;const[s,l]=xe(e,["ref","class","children","colorScheme","icon","iconSpacing","command","commandSpacing","textValue","disabled","closeOnSelect","onSelect","onClick"]),c=()=>{var _,D;return{key:t,textValue:(D=(_=s.textValue)!=null?_:o==null?void 0:o.textContent)!=null?D:"",disabled:!!s.disabled,closeOnSelect:s.closeOnSelect!=null?!!s.closeOnSelect:r.state.closeOnSelect,onSelect:s.onSelect}},u=()=>`${r.state.itemIdPrefix}-${i()}`,d=()=>r.isItemActiveDescendant(i()),f=_=>{o=_,or(s.ref)?s.ref(_):s.ref=_},h=_=>{_.stopPropagation(),r.onItemClick(i())},m=_=>{if(s.disabled&&r.onItemMouseMove(-1),d()||s.disabled){_.preventDefault(),_.stopPropagation();return}r.onItemMouseMove(i())},p=()=>ge(s.class,Q2,NE({colorScheme:s.colorScheme})),b=()=>ge(TS,OE()),v=()=>ge(ES,ME()),x=()=>ge(_S,IE());return pr(()=>{a(r.registerItem(c()))}),Rn(()=>{d()&&o&&r.scrollToItem(o)}),A(Ye,ie({ref:f,role:"menuitem",get id(){return u()},get["data-active"](){return d()?"":void 0},get["data-disabled"](){return s.disabled?"":void 0},"data-group":!0,get class(){return p()},get __baseStyle(){var _;return(_=n==null?void 0:n.baseStyle)==null?void 0:_.item},onClick:h,onMouseMove:m,get onMouseDown(){return r.onItemMouseDown}},l,{get children(){return[A(We,{get when(){return s.icon},get children(){return A(ut.span,{"aria-hidden":"true",get class(){return b()},get __baseStyle(){var _;return(_=n==null?void 0:n.baseStyle)==null?void 0:_.itemIconWrapper},get mr(){var _;return(_=s.iconSpacing)!=null?_:"0.5rem"},get children(){return s.icon}})}}),A(We,{get when(){return s.children},get children(){return A(ut.span,{get class(){return v()},get __baseStyle(){var _;return(_=n==null?void 0:n.baseStyle)==null?void 0:_.itemText},get children(){return s.children}})}}),A(We,{get when(){return s.command},get children(){return A(ut.span,{get class(){return x()},get __baseStyle(){var _;return(_=n==null?void 0:n.baseStyle)==null?void 0:_.itemCommand},get ml(){var _;return(_=s.commandSpacing)!=null?_:"0.5rem"},get children(){return s.command}})}})]}}))}Z2.toString=()=>Ce(Q2);const J2="hope-menu__trigger";function e6(e){const t=Ie().Menu,n=Oh(),[r,i]=xe(e,["ref","class","onClick","onKeyDown","onBlur"]),a=u=>{n.assignTriggerRef(u),or(r.ref)?r.ref(u):r.ref=u},o=u=>{rr(n.onTriggerClick,r.onClick)(u)},s=u=>{rr(n.onTriggerKeyDown,r.onKeyDown)(u)},l=u=>{rr(n.onTriggerBlur,r.onBlur)(u)},c=()=>ge(r.class,J2,AE());return A(ut.button,ie({ref:a,get id(){return n.state.triggerId},type:"button","aria-haspopup":"menu",get["aria-controls"](){return n.state.menuContentId},get["aria-expanded"](){return n.state.opened},get class(){return c()},get __baseStyle(){var u;return(u=t==null?void 0:t.baseStyle)==null?void 0:u.trigger},onClick:o,onKeyDown:s,onBlur:l},i))}e6.toString=()=>Ce(J2);const t6="hope-notification";function n6(e){const t=Ie().Notification,r=ie({},e),[i,a]=xe(r,["class","status"]),o=()=>ge(i.class,t6,DE({status:i.status})),l={status:()=>i.status};return A(r6.Provider,{value:l,get children(){return A(Ye,ie({role:"alert",get class(){return o()},get __baseStyle(){var c;return(c=t==null?void 0:t.baseStyle)==null?void 0:c.root}},a))}})}n6.toString=()=>Ce(t6);const r6=Kt();function xS(){const e=an(r6);if(!e)throw new Error("[Hope UI]: useNotificationContext must be used within an `<Notification />` component");return e}const hr={show:"hope-ui:show-notification",update:"hope-ui:update-notification",hide:"hope-ui:hide-notification",clear:"hope-ui:clear-notifications",clearQueue:"hope-ui:clear-notifications-queue"};function c1(e,t){return new CustomEvent(e,{detail:t})}function SS(e){window.dispatchEvent(c1(hr.show,e))}function wS(e){window.dispatchEvent(c1(hr.update,e))}function CS(e){window.dispatchEvent(c1(hr.hide,e))}function AS(){window.dispatchEvent(c1(hr.clear))}function kS(){window.dispatchEvent(c1(hr.clearQueue))}const cl={show:SS,update:wS,hide:CS,clear:AS,clearQueue:kS},i6="hope-notification__description";function Sd(e){const t=Ie().Notification,[n,r]=xe(e,["class"]),i=()=>ge(n.class,i6,FE());return A(Ye,ie({get class(){return i()},get __baseStyle(){var a;return(a=t==null?void 0:t.baseStyle)==null?void 0:a.description}},r))}Sd.toString=()=>Ce(i6);const a6="hope-notification__icon";function o6(e){const t=Ie().Notification,{status:n}=xS(),i=ie({boxSize:"$7"},e),[a,o]=xe(i,["as","class"]),s=()=>ge(a.class,a6,$E({status:n()})),l=()=>{if(a.as)return a.as;switch(n()){case"success":return Fg;case"info":return Ug;case"warning":return Hg;case"danger":return zg}};return A(Wo,ie({get as(){return l()},get class(){return s()},get __baseStyle(){var c;return(c=t==null?void 0:t.baseStyle)==null?void 0:c.icon}},o))}o6.toString=()=>Ce(a6);const s6="hope-notification__title";function wd(e){const t=Ie().Notification,[n,r]=xe(e,["class"]),i=()=>ge(n.class,s6,BE());return A(Ye,ie({get class(){return i()},get __baseStyle(){var a;return(a=t==null?void 0:t.baseStyle)==null?void 0:a.title}},r))}wd.toString=()=>Ce(s6);function NS(e){var t,n,r,i;const[a,o]=qe((n=(t=e.initialValues)==null?void 0:t.slice(0,e.limit))!=null?n:[]),[s,l]=qe((i=(r=e.initialValues)==null?void 0:r.slice(e.limit))!=null?i:[]),c=()=>e.limit;return{state:{current:a,queue:s,limit:c},add:(...m)=>{const p=[...a(),...s(),...m];o(p.slice(0,c())),l(p.slice(c()))},update:m=>{const p=m([...a(),...s()]);o(p.slice(0,c())),l(p.slice(c()))},clearQueue:()=>{l([])}}}const OS=ee({display:"flex"}),yc="hope-stack";function Mh(e){const[t,n]=xe(e,["class","direction","wrap","spacing"]),r=()=>ge(t.class,yc,OS());return A(Ye,ie({get class(){return r()},get flexDirection(){return t.direction},get flexWrap(){return t.wrap},get gap(){return t.spacing}},n))}Mh.toString=()=>Ce(yc);function MS(e){const[t,n]=xe(e,["spacing"]);return A(Mh,ie({direction:"row",alignItems:"center",get columnGap(){return t.spacing}},n))}MS.toString=()=>Ce(yc);function l6(e){const[t,n]=xe(e,["spacing"]);return A(Mh,ie({direction:"column",alignItems:"center",get rowGap(){return t.spacing}},n))}l6.toString=()=>Ce(yc);const c6=Kt();function IS(){const e=an(c6);if(!e)throw new Error("[Hope UI]: useNotificationsProviderContext must be used within a `<NotificationsProvider />` component");return e}function RS(e){const t=IS(),[n]=xe(e,["render","id","status","title","description","duration","persistent","closable","loading","onMouseEnter","onMouseLeave"]);let r;const i=()=>{r&&window.clearTimeout(r)},a=()=>{i(),t.hideNotification(n.id)},o=()=>{n.persistent||n.duration==null||(r=window.setTimeout(a,n.duration))},s=()=>n.status&&!n.loading;return pr(()=>{o()}),Jt(()=>{i()}),A(We,{get when(){return n.render},get fallback(){return A(n6,{get status(){return n.status},get pr(){return n.closable?"$9":"$3"},onMouseEnter:i,onMouseLeave:o,get children(){return[A(We,{get when(){return s()},get children(){return A(o6,{mr:"$2_5"})}}),A(We,{get when(){return n.loading},get children(){return A(Xg,{color:"$primary10",boxSize:"$8",mr:"$2_5",get class(){return PE()}})}}),A(nc,{get children(){return[A(aa,{get when(){return n.title&&n.description},get children(){return A(l6,{alignItems:"flex-start",spacing:"$1",get children(){return[A(wd,{get children(){return n.title}}),A(Sd,{get children(){return n.description}})]}})}}),A(aa,{get when(){return n.title},get children(){return A(wd,{get children(){return n.title}})}}),A(aa,{get when(){return n.description},get children(){return A(Sd,{get children(){return n.description}})}})]}}),A(We,{get when(){return n.closable},get children(){return A(vc,{size:"sm",position:"absolute",top:"$1_5",right:"$1_5",onClick:a})}})]}})},get children(){return A(Nh,{w:"$full",justifyContent:"flex-end",onMouseEnter:i,onMouseLeave:o,get children(){var l;return(l=n.render)==null?void 0:l.call(n,{id:n.id,close:a})}})}})}const LS="hope-notification__list",DS=5e3;function PS(e){const[t]=xe(e,["children","placement","duration","persistent","closable","limit","zIndex"]),n=vt(()=>{var v;return NS({initialValues:[],limit:(v=t.limit)!=null?v:10})}),r=()=>{var v;return(v=t.placement)!=null?v:"top-end"},i=()=>n().state.current(),a=()=>n().state.queue(),o=v=>{var x,_,D,I,C,w,R;const L=(x=v.id)!=null?x:`hope-notification-${Dr()}`,Q=(D=(_=v.persistent)!=null?_:t.persistent)!=null?D:!1,K=(C=(I=v.duration)!=null?I:t.duration)!=null?C:DS,J=(R=(w=v.closable)!=null?w:t.closable)!=null?R:!0;return n().update(oe=>{if(v.id&&oe.some(de=>de.id===v.id))return oe;const se=Mi(Ae({},v),{id:L,persistent:Q,duration:K,closable:J});return[...oe,se]}),L},s=(v,x)=>{n().update(_=>{const D=_.findIndex(C=>C.id===v);if(D===-1)return _;const I=[..._];return I[D]=x,I})},l=v=>{n().update(x=>x.filter(_=>{var D;return _.id===v?((D=_.onClose)==null||D.call(_,_.id),!1):!0}))},c=()=>n().update(()=>[]),u=()=>n().clearQueue(),d=()=>ge(LS,LE({placement:r()})),f=()=>{switch(r()){case"top-start":return ui.slideInLeft;case"top":return ui.slideInTop;case"top-end":return ui.slideInRight;case"bottom-start":return ui.slideInLeft;case"bottom":return ui.slideInBottom;case"bottom-end":return ui.slideInRight;default:return ui.slideInRight}},h={notifications:i,queue:a,showNotification:o,updateNotification:s,hideNotification:l,clear:c,clearQueue:u},m=v=>o(v.detail),p=v=>s(v.detail.id,v.detail),b=v=>l(v.detail);return pr(()=>{window.addEventListener(hr.show,m),window.addEventListener(hr.update,p),window.addEventListener(hr.hide,b),window.addEventListener(hr.clear,c),window.addEventListener(hr.clearQueue,u)}),Jt(()=>{window.removeEventListener(hr.show,m),window.removeEventListener(hr.update,p),window.removeEventListener(hr.hide,b),window.removeEventListener(hr.clear,c),window.removeEventListener(hr.clearQueue,u)}),A(c6.Provider,{value:h,get children(){return[A(ro,{get children(){return A(Ye,{get class(){return d()},get zIndex(){return t.zIndex},get children(){return A(Dy,{get name(){return f()},get children(){return A(Fs,{get each(){return h.notifications()},children:v=>A(RS,v)})}})}})}}),bi(()=>t.children)]}})}const $S=e=>e.hasAttribute("tabindex");function u6(e){return e.parentElement&&u6(e.parentElement)?!0:e.hidden}function BS(e){return Boolean(e.getAttribute("disabled"))===!0||Boolean(e.getAttribute("aria-disabled"))===!0}function FS(e){const t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function zS(e){if(!L_(e)||u6(e)||BS(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in r?r[t]():FS(e)?!0:$S(e)}function gU(e){const t=`hope-popover-${Dr()}`,n=Ie().Popover,[r,i]=Zn({_opened:!!e.defaultOpened,isHovering:!1,headerMounted:!1,bodyMounted:!1,finalPlacement:"bottom",get isControlled(){return e.opened!==void 0},get opened(){return this.isControlled?!!e.opened:this._opened},get contentId(){var N;return(N=e.id)!=null?N:t},get triggerId(){return`${this.contentId}--trigger`},get headerId(){return`${this.contentId}--header`},get bodyId(){return`${this.contentId}--body`},get triggerMode(){var N;return(N=e.triggerMode)!=null?N:"click"},get triggerOnClick(){return this.triggerMode==="click"},get triggerOnHover(){return this.triggerMode==="hover"},get initialFocus(){return e.initialFocus},get inline(){var N;return(N=e.inline)!=null?N:!1},get initialPlacement(){var N,P,be,Ve;return(Ve=(be=e.placement)!=null?be:(P=(N=n==null?void 0:n.defaultProps)==null?void 0:N.root)==null?void 0:P.placement)!=null?Ve:"bottom"},get offset(){var N,P,be,Ve;return(Ve=(be=e.offset)!=null?be:(P=(N=n==null?void 0:n.defaultProps)==null?void 0:N.root)==null?void 0:P.offset)!=null?Ve:8},get arrowPadding(){var N,P,be,Ve;return(Ve=(be=e.arrowPadding)!=null?be:(P=(N=n==null?void 0:n.defaultProps)==null?void 0:N.root)==null?void 0:P.arrowPadding)!=null?Ve:8},get openDelay(){var N,P,be,Ve;return(Ve=(be=e.openDelay)!=null?be:(P=(N=n==null?void 0:n.defaultProps)==null?void 0:N.root)==null?void 0:P.openDelay)!=null?Ve:0},get closeDelay(){var N,P,be,Ve;return(Ve=(be=e.closeDelay)!=null?be:(P=(N=n==null?void 0:n.defaultProps)==null?void 0:N.root)==null?void 0:P.closeDelay)!=null?Ve:100},get motionPreset(){var N,P,be,Ve;return(Ve=(be=e.motionPreset)!=null?be:(P=(N=n==null?void 0:n.defaultProps)==null?void 0:N.root)==null?void 0:P.motionPreset)!=null?Ve:"scale"},get closeOnBlur(){var N,P,be,Ve;return(Ve=(be=e.closeOnBlur)!=null?be:(P=(N=n==null?void 0:n.defaultProps)==null?void 0:N.root)==null?void 0:P.closeOnBlur)!=null?Ve:!0},get closeOnEsc(){var N,P,be,Ve;return(Ve=(be=e.closeOnEsc)!=null?be:(P=(N=n==null?void 0:n.defaultProps)==null?void 0:N.root)==null?void 0:P.closeOnEsc)!=null?Ve:!0},get trapFocus(){var N,P,be,Ve;return(Ve=(be=e.trapFocus)!=null?be:(P=(N=n==null?void 0:n.defaultProps)==null?void 0:N.root)==null?void 0:P.trapFocus)!=null?Ve:!1}});let a,o,s,l,c,u,d,f;const h=()=>`[id='${r.contentId}']`,m=N=>{a=N},p=N=>{o=N},b=N=>{s=N},v=N=>{l=N};async function x(){var N,P,be;const Ve=a!=null?a:o;if(!Ve||!s)return;const Et=[sc(r.offset)];r.inline&&Et.push(bg()),Et.push(oc()),Et.push(lc({padding:e.shiftPadding})),l&&Et.push(mg({element:l,padding:r.arrowPadding})),Et.push(gg());const{x:ht,y:st,placement:ft,middlewareData:Ct}=await hc(Ve,s,{placement:r.initialPlacement,middleware:Et});if(ft!==r.finalPlacement&&i("finalPlacement",ft),!s)return;const ae=(N=Ct.hide)==null?void 0:N.referenceHidden;if(Object.assign(s.style,{left:`${Math.round(ht)}px`,top:`${Math.round(st)}px`,visibility:ae?"hidden":"visible"}),!l)return;const Me=(P=Ct.arrow)==null?void 0:P.x,dt=(be=Ct.arrow)==null?void 0:be.y,At={top:"bottom",right:"left",bottom:"top",left:"right"}[ft.split("-")[0]],zn=`${(Math.round(l.clientWidth/2)+1)*-1}px`;Object.assign(l.style,{left:Me!=null?`${Math.round(Me)}px`:"",top:dt!=null?`${Math.round(dt)}px`:"",right:"",bottom:"",[At]:zn})}const _=()=>{var N;r.isControlled||i("_opened",!0),(N=e.onOpen)==null||N.call(e),x()},D=()=>{var N;r.isControlled||i("_opened",!1),(N=e.onClose)==null||N.call(e)},I=()=>{!r.isHovering&&D()},C=()=>{u=window.setTimeout(_,r.openDelay)},w=()=>{u&&window.clearTimeout(u),d=window.setTimeout(D,r.closeDelay)},R=()=>{const N=a!=null?a:o;!N||!s||(f=dc(N,s,x))},L=()=>{if(!r.initialFocus){s==null||s.focus();return}const N=document.querySelector(r.initialFocus);N&&zS(N)&&(N==null||N.focus())},Q=N=>{const P=F0(N),be=!Bo(s,P);r.opened&&r.closeOnBlur&&be&&w()},K=()=>{U(!1),u&&window.clearTimeout(u),d=window.setTimeout(I,r.closeDelay)},J=N=>{const P=F0(N),be=Bo(s,P),Ve=Bo(o,P),Et=!be&&!Ve;r.opened&&r.closeOnBlur&&Et&&w()},oe=K,se=()=>{R(),r.trapFocus&&s?(c=hg(s,{initialFocus:r.initialFocus,fallbackFocus:h(),allowOutsideClick:!1}),c.activate()):L()},de=()=>{c==null||c.deactivate(),f==null||f()},U=N=>i("isHovering",N),De=N=>i("headerMounted",N),ne=N=>i("bodyMounted",N),Ge=()=>r.opened;Jt(()=>{window.clearTimeout(u),window.clearTimeout(d)});const Ne={state:r,assignAnchorRef:m,assignTriggerRef:p,assignPopoverRef:b,assignArrowRef:v,openWithDelay:C,closeWithDelay:w,onTriggerBlur:Q,onTriggerMouseLeave:K,onPopoverFocusOut:J,onPopoverMouseLeave:oe,updatePopoverPosition:x,afterPopoverOpen:se,afterPopoverClose:de,setIsHovering:U,setHeaderMounted:De,setBodyMounted:ne};return A(d6.Provider,{value:Ne,get children(){return A(We,{get when(){return gc(e)},get fallback(){return e.children},get children(){var N;return(N=e.children)==null?void 0:N.call(e,{opened:Ge,onClose:w})}})}})}const d6=Kt();function u1(){const e=an(d6);if(!e)throw new Error("[Hope UI]: usePopoverContext must be used within a `<Popover />` component");return e}const h6="hope-popover__arrow";function HS(e){const t=Ie().Popover,n=u1(),[r,i]=xe(e,["class"]),a=vt(()=>n.state.finalPlacement.split("-")[0]),o=()=>ge(r.class,h6,GE({popoverPlacement:a()}));return A(Ye,ie({ref(s){const l=n.assignArrowRef;typeof l=="function"?l(s):n.assignArrowRef=s},get class(){return o()},get __baseStyle(){var s;return(s=t==null?void 0:t.baseStyle)==null?void 0:s.arrow}},i))}HS.toString=()=>Ce(h6);const f6="hope-popover__body";function US(e){const t=Ie().Popover,n=u1(),[r,i]=xe(e,["class"]),a=()=>ge(r.class,f6,jE());return pr(()=>n.setBodyMounted(!0)),Jt(()=>n.setBodyMounted(!1)),A(Ye,ie({get class(){return a()},get id(){return n.state.bodyId},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.body}},i))}US.toString=()=>Ce(f6);const m6="hope-popover__content";function jS(e){const t=Ie().Popover,n=u1(),[r,i]=qe(!1),[a,o]=xe(e,["ref","class","onKeyDown","onFocusOut","onMouseEnter","onMouseLeave"]),s=v=>{n.assignPopoverRef(v),or(a.ref)?a.ref(v):a.ref=v},l=v=>{n.state.closeOnEsc&&v.key==="Escape"&&n.closeWithDelay()},c=v=>{rr(a.onKeyDown,l)(v)},u=v=>{rr(a.onFocusOut,n.onPopoverFocusOut)(v)},d=v=>{Yn(a.onMouseEnter,v),n.setIsHovering(!0)},f=v=>{Yn(a.onMouseLeave,v),n.onPopoverMouseLeave()},h=()=>{document.addEventListener("keydown",l),n.afterPopoverOpen()},m=()=>{document.removeEventListener("keydown",l),n.afterPopoverClose(),i(!1)},p=()=>ge(a.class,m6,HE()),b=()=>{switch(n.state.motionPreset){case"scale":return Oo.scale;case"none":return"hope-none"}};return Rn(()=>{n.state.opened?i(!0):n.state.motionPreset==="none"&&i(!1)}),A(We,{get when(){return r()},get children(){return A(ro,{get children(){return A(io,{get name(){return b()},appear:!0,get onBeforeEnter(){return n.updatePopoverPosition},onAfterEnter:h,onAfterExit:m,get children(){return A(We,{get when(){return n.state.opened},get children(){return A(ut.section,ie({ref:s,tabIndex:-1,get id(){return n.state.contentId},get role(){return n.state.triggerOnHover?"tooltip":"dialog"},get["aria-labelledby"](){return n.state.headerMounted?n.state.headerId:void 0},get["aria-describedby"](){return n.state.bodyMounted?n.state.bodyId:void 0},get class(){return p()},get __baseStyle(){var v;return(v=t==null?void 0:t.baseStyle)==null?void 0:v.content},onKeyDown:c,onFocusOut:u,get onMouseEnter(){return n.state.triggerOnHover?d:void 0},get onMouseLeave(){return n.state.triggerOnHover?f:void 0}},o))}})}})}})}})}jS.toString=()=>Ce(m6);const p6="hope-popover__header";function GS(e){const t=Ie().Popover,n=u1(),[r,i]=xe(e,["class"]),a=()=>ge(r.class,p6,UE());return pr(()=>n.setHeaderMounted(!0)),Jt(()=>n.setHeaderMounted(!1)),A(Ye,ie({get class(){return a()},get id(){return n.state.headerId},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.header}},i))}GS.toString=()=>Ce(p6);function bU(e){const t=u1(),[n,r]=xe(e,["ref","onClick","onKeyDown","onFocus","onBlur","onMouseEnter","onMouseLeave"]),i=d=>{t.assignTriggerRef(d),or(n.ref)?n.ref(d):n.ref=d},a=d=>{Yn(n.onClick,d),t.state.opened?t.closeWithDelay():t.openWithDelay()},o=d=>{Yn(n.onKeyDown,d),d.key==="Escape"&&t.closeWithDelay()},s=d=>{Yn(n.onFocus,d),t.openWithDelay()},l=d=>{rr(n.onBlur,t.onTriggerBlur)(d)},c=d=>{Yn(n.onMouseEnter,d),t.setIsHovering(!0),t.openWithDelay()},u=d=>{Yn(n.onMouseLeave,d),t.onTriggerMouseLeave()};return A(ut.button,ie({ref:i,get id(){return t.state.triggerId},type:"button","aria-haspopup":"dialog",get["aria-controls"](){return t.state.contentId},get["aria-expanded"](){return t.state.opened},get onClick(){return t.state.triggerOnClick?a:void 0},get onKeyDown(){return t.state.triggerOnHover?o:void 0},get onFocus(){return t.state.triggerOnHover?s:void 0},get onBlur(){return t.state.triggerOnHover?l:void 0},get onMouseEnter(){return t.state.triggerOnHover?c:void 0},get onMouseLeave(){return t.state.triggerOnHover?u:void 0}},r))}const qS=Us({"0%":{left:"-40%"},"100%":{left:"100%"}}),WS=Us({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}}),KS=ee({position:"relative",overflow:"hidden",variants:{size:{xs:{height:"$1",fontSize:"4px"},sm:{height:"$2",fontSize:"6px"},md:{height:"$3",fontSize:"8px"},lg:{height:"$4",fontSize:"10px"}}}}),VS=ee({position:"relative",height:"100%",transition:"width 600ms ease",variants:{striped:{true:{}},animated:{true:{}},indeterminate:{true:{position:"absolute",willChange:"left",minWidth:"50%",animation:`${qS} 1200ms ease infinite normal none running`}}},compoundVariants:[{indeterminate:!1,striped:!0,css:{backgroundImage:"linear-gradient(45deg, $colors$progressStripe 25%, transparent 25%, transparent 50%, $colors$progressStripe 50%, $colors$progressStripe 75%, transparent 75%, transparent)",backgroundSize:"1rem 1rem"}},{indeterminate:!1,striped:!0,animated:!0,css:{animation:`${WS} 750ms linear infinite`}}]});ee({position:"absolute",top:"50%",left:"50%",width:"100%",color:"$neutral12",lineHeight:"$none",fontWeight:"$bold",textAlign:"center",transform:"translate(-50%, -50%)"});const g6=Kt(),b6="hope-progress";function v6(e){var t,n,r,i,a,o;const s=Ie().Progress,[l]=Zn({get min(){var b;return(b=e.min)!=null?b:0},get max(){var b;return(b=e.max)!=null?b:100},get value(){var b;return(b=e.value)!=null?b:0},get percent(){return d_(this.value,this.min,this.max)},get indeterminate(){var b;return(b=e.indeterminate)!=null?b:!1},get ariaValueText(){var b;if(!this.indeterminate)return or(this.getValueText)?this.getValueText(this.value,this.percent):(b=e.valueText)!=null?b:`${this.percent}%`},get getValueText(){return e.getValueText}}),c={size:(r=(n=(t=s==null?void 0:s.defaultProps)==null?void 0:t.root)==null?void 0:n.size)!=null?r:"md",trackColor:(o=(a=(i=s==null?void 0:s.defaultProps)==null?void 0:i.root)==null?void 0:a.trackColor)!=null?o:"$neutral4"},u=ie(c,e),[d,f,h]=xe(u,["class","size","trackColor"],["min","max","value","indeterminate","valueText","getValueText"]),m=()=>ge(d.class,b6,KS({size:d.size})),p={state:l};return A(g6.Provider,{value:p,get children(){return A(Ye,ie({role:"progressbar",get["data-indeterminate"](){return l.indeterminate?"":void 0},get["aria-valuemin"](){return l.min},get["aria-valuemax"](){return l.max},get["aria-valuenow"](){return l.indeterminate?void 0:l.value},get["aria-valuetext"](){return l.ariaValueText},get class(){return m()},get __baseStyle(){var b;return(b=s==null?void 0:s.baseStyle)==null?void 0:b.root},get backgroundColor(){return d.trackColor}},h))}})}v6.toString=()=>Ce(b6);function YS(){const e=an(g6);if(!e)throw new Error("[Hope UI]: useProgressContext must be used within a `<Progress />` component");return e}const y6="hope-progress__indicator";function T6(e){const t=Ie().Progress,n=YS(),i=ie({color:"$primary9"},e),[a,o]=xe(i,["class","color","striped","animated"]),s=()=>n.state.indeterminate?{backgroundImage:`linear-gradient(to right, transparent 0%, ${a.color} 50%, transparent 100%)`}:{backgroundColor:a.color},l=()=>ge(a.class,y6,VS({striped:a.striped,animated:a.animated,indeterminate:n.state.indeterminate===!0,css:Mi(Ae({},s()),{width:`${n.state.percent}%`})}));return A(Ye,ie({get class(){return l()},get __baseStyle(){var c;return(c=t==null?void 0:t.baseStyle)==null?void 0:c.indicator}},o))}T6.toString=()=>Ce(y6);const XS=ee(Ch,{variants:{labelPlacement:{start:{flexDirection:"row-reverse"},end:{flexDirection:"row"}}}}),QS=ee(Ah),ZS=ee(kh,{borderRadius:"$full","&[data-checked]::before":{content:"",display:"inline-block",position:"relative",boxSize:"calc(50% + 1px)",borderRadius:"$full",backgroundColor:"$loContrast"}}),E6="hope-radio-group";function JS(e){const t=`hope-radio-group-${Dr()}--radio`,n=Ie().Radio,[r,i]=Zn({_value:e.defaultValue,get isControlled(){return e.value!==void 0},get value(){return this.isControlled?e.value:this._value},get name(){var d;return(d=e.name)!=null?d:t},get required(){return e.required},get disabled(){return e.disabled},get invalid(){return e.invalid},get readOnly(){return e.readOnly},get variant(){var d,f,h;return(h=e.variant)!=null?h:(f=(d=n==null?void 0:n.defaultProps)==null?void 0:d.group)==null?void 0:f.variant},get colorScheme(){var d,f,h;return(h=e.colorScheme)!=null?h:(f=(d=n==null?void 0:n.defaultProps)==null?void 0:d.group)==null?void 0:f.colorScheme},get size(){var d,f,h;return(h=e.size)!=null?h:(f=(d=n==null?void 0:n.defaultProps)==null?void 0:d.group)==null?void 0:f.size}}),[a,o,s]=xe(e,["class","onChange"],["value","defaultValue","name","required","disabled","readOnly","invalid"]),l=d=>{var f;const h=d.target.value;i("_value",h),(f=a.onChange)==null||f.call(a,String(h))},c=()=>ge(a.class,E6),u={state:r,onChange:l};return A(_6.Provider,{value:u,get children(){return A(Ye,ie({role:"radiogroup",get class(){return c()},get __baseStyle(){var d;return(d=n==null?void 0:n.baseStyle)==null?void 0:d.group}},s))}})}JS.toString=()=>Ce(E6);const _6=Kt();function ew(){return an(_6)}const tw=en('<input type="radio">'),x6="hope-radio",nw="hope-radio__input",rw="hope-radio__control",iw="hope-radio__label";function aw(e){const t=`hope-radio-${Dr()}`,n=Ie().Radio,r=l1(),i=ew(),a=Gs(e),[o,s]=Zn({_checked:!!e.defaultChecked,isFocused:!1,get isControlled(){return e.checked!==void 0},get checked(){if(i){const _=i.state.value;return _!=null?String(e.value)===String(_):!1}return this.isControlled?!!e.checked:this._checked},get variant(){var _,D,I,C,w,R;return(R=(w=(D=e.variant)!=null?D:(_=i==null?void 0:i.state)==null?void 0:_.variant)!=null?w:(C=(I=n==null?void 0:n.defaultProps)==null?void 0:I.root)==null?void 0:C.variant)!=null?R:"outline"},get colorScheme(){var _,D,I,C,w,R;return(R=(w=(D=e.colorScheme)!=null?D:(_=i==null?void 0:i.state)==null?void 0:_.colorScheme)!=null?w:(C=(I=n==null?void 0:n.defaultProps)==null?void 0:I.root)==null?void 0:C.colorScheme)!=null?R:"primary"},get size(){var _,D,I,C,w,R;return(R=(w=(D=e.size)!=null?D:(_=i==null?void 0:i.state)==null?void 0:_.size)!=null?w:(C=(I=n==null?void 0:n.defaultProps)==null?void 0:I.root)==null?void 0:C.size)!=null?R:"md"},get labelPlacement(){var _,D,I,C,w,R;return(R=(w=(D=e.labelPlacement)!=null?D:(_=i==null?void 0:i.state)==null?void 0:_.labelPlacement)!=null?w:(C=(I=n==null?void 0:n.defaultProps)==null?void 0:I.root)==null?void 0:C.labelPlacement)!=null?R:"end"},get id(){var _;return r&&!i?a.id:(_=e.id)!=null?_:t},get name(){var _;return(_=e.name)!=null?_:i==null?void 0:i.state.name},get value(){return e.value},get required(){var _;return(_=a.required)!=null?_:i==null?void 0:i.state.required},get disabled(){var _;return(_=a.disabled)!=null?_:i==null?void 0:i.state.disabled},get invalid(){var _;return(_=a.invalid)!=null?_:i==null?void 0:i.state.invalid},get readOnly(){var _;return(_=a.readOnly)!=null?_:i==null?void 0:i.state.readOnly},get["aria-required"](){return this.required?!0:void 0},get["aria-disabled"](){return this.disabled?!0:void 0},get["aria-invalid"](){return this.invalid?!0:void 0},get["aria-readonly"](){return this.readOnly?!0:void 0},get["aria-label"](){return e["aria-label"]},get["aria-labelledby"](){return e["aria-labelledby"]},get["aria-describedby"](){return e["aria-describedby"]},get["data-focus"](){return this.isFocused?"":void 0},get["data-checked"](){return this.checked?"":void 0},get["data-required"](){return this.required?"":void 0},get["data-disabled"](){return this.disabled?"":void 0},get["data-invalid"](){return this.invalid?"":void 0},get["data-readonly"](){return this.readOnly?"":void 0}}),[l,c,u]=xe(e,["class","children","ref","tabIndex","onChange"],["variant","colorScheme","size","labelPlacement","id","name","value","checked","defaultChecked","required","disabled","invalid","readOnly","onFocus","onBlur"]),d=_=>{if(o.readOnly||o.disabled){_.preventDefault();return}if(!o.isControlled){const D=_.target;s("_checked",D.checked)}rr(i==null?void 0:i.onChange,l.onChange)(_)},f=_=>{s("isFocused",!0),Yn(a.onFocus,_)},h=_=>{s("isFocused",!1),Yn(a.onBlur,_)},m=()=>ge(l.class,x6,XS({size:o.size,labelPlacement:o.labelPlacement})),p=()=>ge(nw,mc()),b=()=>ge(rw,ZS({variant:o.variant,colorScheme:o.colorScheme,size:o.size})),v=()=>ge(iw,QS()),x={state:o,onChange:d,onFocus:f,onBlur:h};return A(ow.Provider,{value:x,get children(){return A(ut.label,ie({get class(){return m()},get __baseStyle(){var _;return(_=n==null?void 0:n.baseStyle)==null?void 0:_.root},get for(){return o.id},"data-group":!0,get["data-focus"](){return o["data-focus"]},get["data-checked"](){return o["data-checked"]},get["data-required"](){return o["data-required"]},get["data-disabled"](){return o["data-disabled"]},get["data-invalid"](){return o["data-invalid"]},get["data-readonly"](){return o["data-readonly"]}},u,{get children(){return[(()=>{const _=tw.cloneNode(!0);_.addEventListener("blur",h),_.addEventListener("focus",f),_.addEventListener("change",d);const D=l.ref;return typeof D=="function"?D(_):l.ref=_,ar(I=>{const C=p(),w=l.tabIndex,R=o.value,L=o.id,Q=o.name,K=o.checked,J=o.required,oe=o.disabled,se=o.readOnly,de=o["aria-required"],U=o["aria-disabled"],De=o["aria-invalid"],ne=o["aria-readonly"],Ge=o["aria-label"],Ne=o["aria-labelledby"],N=o["aria-describedby"];return C!==I._v$&&(_.className=I._v$=C),w!==I._v$2&&wt(_,"tabindex",I._v$2=w),R!==I._v$3&&(_.value=I._v$3=R),L!==I._v$4&&wt(_,"id",I._v$4=L),Q!==I._v$5&&wt(_,"name",I._v$5=Q),K!==I._v$6&&(_.checked=I._v$6=K),J!==I._v$7&&(_.required=I._v$7=J),oe!==I._v$8&&(_.disabled=I._v$8=oe),se!==I._v$9&&(_.readOnly=I._v$9=se),de!==I._v$10&&wt(_,"aria-required",I._v$10=de),U!==I._v$11&&wt(_,"aria-disabled",I._v$11=U),De!==I._v$12&&wt(_,"aria-invalid",I._v$12=De),ne!==I._v$13&&wt(_,"aria-readonly",I._v$13=ne),Ge!==I._v$14&&wt(_,"aria-label",I._v$14=Ge),Ne!==I._v$15&&wt(_,"aria-labelledby",I._v$15=Ne),N!==I._v$16&&wt(_,"aria-describedby",I._v$16=N),I},{_v$:void 0,_v$2:void 0,_v$3:void 0,_v$4:void 0,_v$5:void 0,_v$6:void 0,_v$7:void 0,_v$8:void 0,_v$9:void 0,_v$10:void 0,_v$11:void 0,_v$12:void 0,_v$13:void 0,_v$14:void 0,_v$15:void 0,_v$16:void 0}),_})(),A(ut.span,ie({"aria-hidden":!0,get class(){return b()},get __baseStyle(){var _;return(_=n==null?void 0:n.baseStyle)==null?void 0:_.control},get["data-focus"](){return o["data-focus"]},get["data-checked"](){return o["data-checked"]},get["data-required"](){return o["data-required"]},get["data-disabled"](){return o["data-disabled"]},get["data-invalid"](){return o["data-invalid"]},get["data-readonly"](){return o["data-readonly"]}},u)),A(ut.span,{get class(){return v()},get __baseStyle(){var _;return(_=n==null?void 0:n.baseStyle)==null?void 0:_.label},get["data-focus"](){return o["data-focus"]},get["data-checked"](){return o["data-checked"]},get["data-required"](){return o["data-required"]},get["data-disabled"](){return o["data-disabled"]},get["data-invalid"](){return o["data-invalid"]},get["data-readonly"](){return o["data-readonly"]},get children(){return A(We,{get when(){return gc(l)},get fallback(){return l.children},get children(){var _;return(_=l.children)==null?void 0:_.call(l,{checked:o.checked})}})}})]}}))}})}aw.toString=()=>Ce(x6);const ow=Kt();var Qi=(e=>(e[e.Close=0]="Close",e[e.SelectAndClose=1]="SelectAndClose",e[e.First=2]="First",e[e.Last=3]="Last",e[e.Next=4]="Next",e[e.Open=5]="Open",e[e.Previous=6]="Previous",e[e.Select=7]="Select",e[e.Type=8]="Type",e))(Qi||{});function D5(e=[],t,n=[]){return e.filter(r=>r.disabled?!1:r.textValue.toLowerCase().indexOf(t.toLowerCase())===0&&n.indexOf(r.textValue)<0)}function sw(e,t,n=0){const r=[...e.slice(n),...e.slice(0,n)],i=D5(r,t)[0],a=o=>o.every(s=>s===o[0]);if(i)return e.indexOf(i);if(a(t.split(""))){const o=D5(r,t[0]);return e.indexOf(o[0])}else return-1}function lw(e,t){const{key:n,altKey:r,ctrlKey:i,metaKey:a}=e;if(!t&&["ArrowDown","ArrowUp","Enter"," "].includes(n))return 5;if(n==="Home"||n==="PageUp")return 2;if(n==="End"||n==="PageDown")return 3;if(n==="Backspace"||n==="Clear"||n.length===1&&n!==" "&&!r&&!i&&!a)return 8;if(t){if(n==="ArrowUp"&&r)return 1;if(n==="ArrowDown"&&!r)return 4;if(n==="ArrowUp")return 6;if(n==="Escape")return 0;if(n==="Enter"||n===" ")return 1}}function P5(e,t,n){switch(n){case 2:return 0;case 3:return t;case 6:return Math.max(0,e-1);case 4:return Math.min(t,e+1);default:return e}}function cw(e){const{currentIndex:t,maxIndex:n,initialAction:r,isOptionDisabled:i}=e;let a=P5(t,n,r);for(;i(a);){let o=r;const s=a===0,l=a===n;if(r===2&&(o=4),r===3&&(o=6),r===6&&s){a=t;break}if(r===4&&l){a=t;break}a=P5(a,n,o)}return a}function F1(e,t){return String(e.value)===String(t.value)}function uw(e){const t=`hope-select-${Dr()}`,n=Ie().Select,r=Gs(e),[i,a]=qe(!1),[o,s]=qe([]),[l,c]=Zn({get isControlled(){return e.value!==void 0},get value(){var ae;return this.isControlled?e.value:this.multiple?this.selectedOptions.map(Me=>Me.value):(ae=this.selectedOptions[0].value)!=null?ae:void 0},get multiple(){return e.multiple},get baseId(){var ae,Me;return(Me=(ae=e.id)!=null?ae:r.id)!=null?Me:t},get triggerId(){return`${this.baseId}-trigger`},get listboxId(){return`${this.baseId}-listbox`},get labelIdPrefix(){return`${this.baseId}-label`},get optionIdPrefix(){return`${this.baseId}-option`},get disabled(){var ae;return(ae=e.disabled)!=null?ae:r.disabled},get invalid(){var ae;return(ae=e.invalid)!=null?ae:r.invalid},get variant(){var ae,Me,dt,At;return(At=(dt=e.variant)!=null?dt:(Me=(ae=n==null?void 0:n.defaultProps)==null?void 0:ae.root)==null?void 0:Me.variant)!=null?At:"outline"},get size(){var ae,Me,dt,At;return(At=(dt=e.size)!=null?dt:(Me=(ae=n==null?void 0:n.defaultProps)==null?void 0:ae.root)==null?void 0:Me.size)!=null?At:"md"},get motionPreset(){var ae,Me,dt,At;return(At=(dt=e.motionPreset)!=null?dt:(Me=(ae=n==null?void 0:n.defaultProps)==null?void 0:ae.root)==null?void 0:Me.motionPreset)!=null?At:"fade-in-top"},get activeDescendantId(){return this.opened?`${this.optionIdPrefix}-${this.activeIndex}`:void 0},get hasSelectedOptions(){return this.selectedOptions.length>0},get options(){return o()},selectedOptions:[],opened:!1,activeIndex:0,ignoreBlur:!1,searchString:"",searchTimeoutId:void 0});let u,d,f,h;const m=async()=>{var ae,Me,dt,At;if(!u||!d)return;const{x:zn,y:br}=await hc(u,d,{placement:"bottom",middleware:[sc((At=(dt=e.offset)!=null?dt:(Me=(ae=n==null?void 0:n.defaultProps)==null?void 0:ae.root)==null?void 0:Me.offset)!=null?At:5),oc(),lc(),oT({apply({reference:Je}){!d||Object.assign(d.style,{width:`${Je.width}px`})}})]});!d||Object.assign(d.style,{left:`${Math.round(zn)}px`,top:`${Math.round(br)}px`})},p=ae=>{l.searchTimeoutId&&window.clearTimeout(l.searchTimeoutId);const Me=window.setTimeout(()=>{c("searchString","")},500);return c("searchTimeoutId",Me),c("searchString",dt=>dt+=ae),l.searchString},b=()=>{u==null||u.focus()},v=()=>l.isControlled?e.value==null?[]:m0(e.value)?e.value:[e.value]:e.defaultValue==null?[]:m0(e.defaultValue)?e.defaultValue:[e.defaultValue],x=()=>{if(i())return;const ae=v().map(Me=>l.options.find(dt=>dt.value===Me)).filter(Boolean);c("selectedOptions",Me=>[...Me,...ae]),a(!0)},_=ae=>{c("activeIndex",ae)},D=ae=>l.selectedOptions.length<=0?!1:l.multiple?!!l.selectedOptions.find(Me=>F1(ae,Me)):F1(ae,l.selectedOptions[0]),I=ae=>{c("selectedOptions",Me=>Me.filter(dt=>!F1(ae,dt)))},C=ae=>{const Me=l.options[ae];l.multiple?D(Me)?I(Me):c("selectedOptions",dt=>[...dt,Me]):c("selectedOptions",[Me])},w=()=>{var ae;return l.multiple?l.selectedOptions.map(Me=>Me.value):(ae=l.selectedOptions[0].value)!=null?ae:void 0},R=ae=>{var Me;_(ae),C(ae),(Me=e.onChange)==null||Me.call(e,w())},L=ae=>{var Me;I(ae),(Me=e.onChange)==null||Me.call(e,w()),b()},Q=ae=>l.options[ae].disabled,K=ae=>{if(!Bo(u,F0(ae))){if(l.ignoreBlur){c("ignoreBlur",!1);return}l.opened&&Ne(!1,!1)}},J=()=>{r.readOnly||Ne(!l.opened,!1)},oe=ae=>{if(r.readOnly)return;const{key:Me}=ae;if(l.hasSelectedOptions&&l.multiple&&Me==="Backspace"){L(l.selectedOptions[l.selectedOptions.length-1]);return}const dt=l.options.length-1,At=lw(ae,l.opened);switch(At){case Qi.Last:case Qi.First:Ne(!0);case Qi.Next:case Qi.Previous:return ae.preventDefault(),_(cw({currentIndex:l.activeIndex,maxIndex:dt,initialAction:At,isOptionDisabled:Q}));case Qi.SelectAndClose:return ae.preventDefault(),R(l.activeIndex),l.multiple?void 0:Ne(!1);case Qi.Close:return ae.preventDefault(),Ne(!1);case Qi.Type:return se(Me);case Qi.Open:return ae.preventDefault(),Ne(!0)}},se=ae=>{if(r.readOnly)return;Ne(!0);const Me=p(ae),dt=sw(l.options,Me,l.activeIndex+1);dt>=0?_(dt):(window.clearTimeout(l.searchTimeoutId),c("searchString",""))},de=ae=>{if(l.options[ae].disabled){b();return}R(ae),l.multiple?b():Ne(!1)},U=ae=>{l.activeIndex!==ae&&_(ae)},De=()=>{c("ignoreBlur",!0)},ne=()=>{l.selectedOptions.length>0?c("activeIndex",l.options.findIndex(ae=>D(ae))):c("activeIndex",0)},Ge=()=>{l.opened?(m(),u&&d&&(h=dc(u,d,m))):h==null||h()},Ne=(ae,Me=!0)=>{l.opened!==ae&&(c("opened",ae),ne(),Ge(),Me&&b())},N=()=>{_(-1)},P=ae=>{Bo(u,ae)||Ne(!1,!1)},be=ae=>ae===l.activeIndex,Ve=ae=>{u=ae},Et=ae=>{d=ae},ht=ae=>{f=ae},st=ae=>{!f||Lg(f)&&Dg(ae,f)},ft=ae=>{const Me=l.options.findIndex(At=>F1(At,ae));return Me!=-1?Me:s(At=>[...At,ae]).length-1};Rn(ia(()=>l.options,()=>x(),{defer:!0})),Rn(ia(()=>e.value,()=>{if(!l.isControlled)return;const Me=(m0(e.value)?e.value:[e.value]).map(dt=>l.options.find(At=>At.value===dt)).filter(Boolean);c("selectedOptions",Me)},{defer:!0})),Rn(ia(()=>l.opened,ae=>{!ae||setTimeout(()=>{const Me=f==null?void 0:f.querySelector("[role='option'][aria-selected='true']");Me&&st(Me)},0)}));const Ct={state:l,isOptionSelected:D,unselectOption:L,isOptionActiveDescendant:be,formControlProps:r,assignTriggerRef:Ve,assignContentRef:Et,assignListboxRef:ht,registerOption:ft,scrollToOption:st,onContentClickOutside:P,onTriggerBlur:K,onTriggerClick:J,onTriggerKeyDown:oe,onOptionClick:de,onOptionMouseMove:U,onOptionMouseDown:De,onListboxMouseLeave:N};return A(S6.Provider,{value:Ct,get children(){return e.children}})}const S6=Kt();function Ta(){const e=an(S6);if(!e)throw new Error("[Hope UI]: useSelectContext must be used within a `<Select />` component");return e}const w6="hope-select__content";function Ih(e){const t=Ie().Select,n=Ta(),[r,i]=xe(e,["ref","class","children"]),[a,o]=qe(!1);Rn(ia(()=>n.state.opened,()=>{n.state.opened?o(!0):n.state.motionPreset==="none"&&o(!1)}));const s=()=>o(!1),l=()=>ge(r.class,w6,JE()),c=yi(()=>r.children),u=h=>{n.assignContentRef(h),or(r.ref)?r.ref(h):r.ref=h},d=h=>{n.onContentClickOutside(h.target)},f=()=>{switch(n.state.motionPreset){case"fade-in-top":return Mo.fadeInTop;case"none":return"hope-none"}};return A(We,{get when(){return a()},get children(){return A(ro,{get children(){return A(io,{get name(){return f()},appear:!0,onAfterExit:s,get children(){return A(We,{get when(){return n.state.opened},get children(){return A(V2,{onClickOutside:d,get children(){return A(Ye,ie({ref:u,get class(){return l()},get __baseStyle(){var h;return(h=t==null?void 0:t.baseStyle)==null?void 0:h.content}},i,{get children(){return c()}}))}})}})}})}})}})}Ih.toString=()=>Ce(w6);const dw=en('<svg><path d="M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></svg>',4,!0),hw=Jr({viewBox:"0 0 15 15",path:()=>dw.cloneNode(!0)}),C6="hope-select__icon";function z0(e){const t=Ie().Select,n=Ta(),[r,i]=xe(e,["class","rotateOnOpen"]),a=()=>ge(r.class,C6,ZE(r.rotateOnOpen?{opened:n.state.opened}:void 0));return A(hw,ie({"aria-hidden":!0,get class(){return a()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.icon}},i))}z0.toString=()=>Ce(C6);const A6="hope-select__listbox";function Rh(e){const t=Ie().Select,n=Ta(),[r,i]=xe(e,["ref","class"]),a=()=>ge(r.class,A6,e_());return A(Ye,ie({ref:l=>{n.assignListboxRef(l),or(r.ref)?r.ref(l):r.ref=l},role:"listbox",tabindex:"-1",get id(){return n.state.listboxId},get class(){return a()},get __baseStyle(){var l;return(l=t==null?void 0:t.baseStyle)==null?void 0:l.listbox},get onMouseLeave(){return n.onListboxMouseLeave},onMouseDown:l=>{l.preventDefault()}},i))}Rh.toString=()=>Ce(A6);const k6=Kt(),N6="hope-select__option";function Lh(e){const t=Ie().Select,n=Ta(),[r,i]=qe(-1);let a;const[o,s]=xe(e,["ref","class","value","textValue","disabled"]),l=()=>{var v,x;return{value:o.value,textValue:(x=(v=o.textValue)!=null?v:a==null?void 0:a.textContent)!=null?x:String(o.value),disabled:!!o.disabled}},c=()=>`${n.state.optionIdPrefix}-${r()}`,u=()=>n.isOptionSelected(l()),d=()=>n.isOptionActiveDescendant(r()),f=()=>ge(o.class,N6,t_()),h=v=>{a=v,or(o.ref)?o.ref(v):o.ref=v},m=v=>{v.stopPropagation(),n.onOptionClick(r())},p=v=>{if(o.disabled&&n.onOptionMouseMove(-1),d()||o.disabled){v.preventDefault(),v.stopPropagation();return}n.onOptionMouseMove(r())},b={selected:u};return pr(()=>{i(n.registerOption(l()))}),Rn(()=>{d()&&a&&n.scrollToOption(a)}),A(k6.Provider,{value:b,get children(){return A(Ye,ie({ref:h,role:"option",get id(){return c()},get["aria-selected"](){return u()},get["data-active"](){return d()?"":void 0},get["data-disabled"](){return o.disabled?"":void 0},"data-group":!0,get class(){return f()},get __baseStyle(){var v;return(v=t==null?void 0:t.baseStyle)==null?void 0:v.option},onClick:m,onMouseMove:p,get onMouseDown(){return n.onOptionMouseDown}},s))}})}Lh.toString=()=>Ce(N6);function fw(){const e=an(k6);if(!e)throw new Error("[Hope UI]: useSelectOptionContext must be used within a `<Select.Option />` component");return e}const mw=en('<svg><g fill="none"><path d="M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></g></svg>',6,!0),pw=Jr({viewBox:"0 0 15 15",path:()=>mw.cloneNode(!0)}),O6="hope-select__option-indicator";function Dh(e){const t=Ie().Select,n=fw(),[r,i]=xe(e,["class","children"]),a=()=>ge(r.class,O6,r_());return A(We,{get when(){return n.selected()},get children(){return A(ut.span,ie({get class(){return a()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.optionIndicator}},i,{get children(){return A(We,{get when(){return r.children},get fallback(){return A(pw,{"aria-hidden":"true",boxSize:"$5"})},get children(){return r.children}})}}))}})}Dh.toString=()=>Ce(O6);const M6="hope-select__option-text";function Ph(e){const t=Ie().Select,[n,r]=xe(e,["class"]),i=()=>ge(n.class,M6,n_());return A(ut.span,ie({get class(){return i()},get __baseStyle(){var a;return(a=t==null?void 0:t.baseStyle)==null?void 0:a.optionText}},r))}Ph.toString=()=>Ce(M6);const I6="hope-select__placeholder";function R6(e){const t=Ie().Select,n=Ta(),[r,i]=xe(e,["class"]),a=()=>ge(r.class,I6,QE());return A(We,{get when(){return!n.state.hasSelectedOptions},get children(){return A(ut.span,ie({get class(){return a()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.placeholder}},i))}})}R6.toString=()=>Ce(I6);const L6="hope-select__tag";function D6(e){const t=Ie().Select,n=Ta(),[r,i]=xe(e,["class","size","variant"]),a=()=>{var o,s,l;return ge(r.class,L6,YE({size:(s=(o=r.size)!=null?o:n.state.size)!=null?s:"md",variant:((l=r.variant)!=null?l:n.state.variant==="filled")?"outline":"subtle"}))};return A(ut.span,ie({get class(){return a()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.tag}},i))}D6.toString=()=>Ce(L6);const gw=en('<svg><g fill="none"><path d="M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></g></svg>',6,!0),bw=Jr({viewBox:"0 0 15 15",path:()=>gw.cloneNode(!0)}),P6="hope-select__tag-close-button";function $6(e){const t=Ie().Select,[n,r]=xe(e,["class","children"]),i=()=>ge(n.class,P6,XE());return A(ut.button,ie({role:"button",type:"button","aria-label":"Delete",tabIndex:"-1",get class(){return i()},get __baseStyle(){var a;return(a=t==null?void 0:t.baseStyle)==null?void 0:a.tagCloseButton}},r,{get children(){return A(We,{get when(){return n.children},get fallback(){return A(bw,{})},get children(){return n.children}})}}))}$6.toString=()=>Ce(P6);const B6="hope-select__trigger";function $h(e){const t=Ie().Select,n=Ta(),[r,i]=xe(e,["ref","class","onClick","onKeyDown","onFocus","onBlur"]),a=()=>ge(r.class,B6,KE({variant:n.state.variant,size:n.state.size})),o=d=>{n.assignTriggerRef(d),or(r.ref)?r.ref(d):r.ref=d},s=d=>{rr(n.onTriggerClick,r.onClick)(d)},l=d=>{rr(n.onTriggerKeyDown,r.onKeyDown)(d)},c=d=>{rr(n.formControlProps.onFocus,r.onFocus)(d)},u=d=>{rr(n.onTriggerBlur,n.formControlProps.onBlur,r.onBlur)(d)};return A(ut.button,ie({ref:o,get id(){return n.state.triggerId},get disabled(){return n.state.disabled},role:"combobox",type:"button",tabindex:"0","aria-haspopup":"listbox",get["aria-activedescendant"](){return n.state.activeDescendantId},get["aria-controls"](){return n.state.listboxId},get["aria-expanded"](){return n.state.opened},get["aria-required"](){return n.formControlProps["aria-required"]},get["aria-invalid"](){return n.formControlProps["aria-invalid"]},get["aria-readonly"](){return n.formControlProps["aria-readonly"]},get["aria-describedby"](){return n.formControlProps["aria-describedby"]},get class(){return a()},get __baseStyle(){var d;return(d=t==null?void 0:t.baseStyle)==null?void 0:d.trigger},onClick:s,onKeyDown:l,onFocus:c,onBlur:u},i))}$h.toString=()=>Ce(B6);const vw=en("<span></span>"),Cd="hope-select__value";function Bh(e){const t=Ie().Select,n=Ta(),[r,i]=xe(e,["class","children"]),a=()=>ge(r.class,Cd,Og()),o=()=>ge(r.class,Cd,VE({size:n.state.size})),s=(c,u)=>{c.preventDefault(),c.stopPropagation(),n.unselectOption(u)},l=yi(()=>{var c;return gc(r)?(c=r.children)==null?void 0:c.call(r,{selectedOptions:n.state.selectedOptions}):r.children});return A(We,{get when(){return n.state.hasSelectedOptions},get children(){return A(We,{get when(){return!l()},get fallback(){return l()},get children(){return A(We,{get when(){return n.state.multiple},get fallback(){return A(Ye,ie({get class(){return a()},get __baseStyle(){var c;return(c=t==null?void 0:t.baseStyle)==null?void 0:c.singleValue}},i,{get children(){return n.state.selectedOptions[0].textValue}}))},get children(){return A(Ye,ie({get class(){return o()},get __baseStyle(){var c;return(c=t==null?void 0:t.baseStyle)==null?void 0:c.multiValue}},i,{get children(){return A(Fs,{get each(){return n.state.selectedOptions},children:c=>A(D6,{get children(){return[(()=>{const u=vw.cloneNode(!0);return vi(u,()=>c.textValue),u})(),A($6,{onClick:u=>s(u,c)})]}})})}}))}})}})}})}Bh.toString=()=>Ce(Cd);const yw=Us({from:{borderColor:"$$startColor",background:"$$startColor"},to:{borderColor:"$$endColor",background:"$$endColor"}});ee({$$startColor:"$colors$neutral2",$$endColor:"$colors$neutral8",opacity:"0.7",borderRadius:"2px",borderColor:"$$startColor",boxShadow:"$none",background:"$$endColor",backgroundClip:"padding-box",color:"transparent",cursor:"default",pointerEvents:"none",userSelect:"none",animationTimingFunction:"linear",animationIterationCount:"infinite",animationDirection:"alternate",animationName:`${yw()}`,"&::before, &::after, *":{visibility:"hidden"}});ee({flex:1,justifySelf:"stretch",alignSelf:"stretch"});const Tw=ee({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"$full",borderWidth:"2px",borderBottomColor:"transparent",borderLeftColor:"transparent",animationName:`${fc}`,animationDuration:"0.45s",animationTimingFunction:"linear",animationIterationCount:"infinite",variants:{size:{xs:{boxSize:"0.75rem"},sm:{boxSize:"1rem"},md:{boxSize:"1.5rem"},lg:{boxSize:"2rem"},xl:{boxSize:"3rem"}}}}),Ew=en("<span></span>"),F6="hope-spinner";function d1(e){var t,n,r,i,a,o,s,l;const c=Ie().Spinner,u={label:(n=(t=c==null?void 0:c.defaultProps)==null?void 0:t.label)!=null?n:"Loading...",size:(i=(r=c==null?void 0:c.defaultProps)==null?void 0:r.size)!=null?i:"md",emptyColor:(a=c==null?void 0:c.defaultProps)==null?void 0:a.emptyColor,color:(o=c==null?void 0:c.defaultProps)==null?void 0:o.color,thickness:(s=c==null?void 0:c.defaultProps)==null?void 0:s.thickness,speed:(l=c==null?void 0:c.defaultProps)==null?void 0:l.speed},d=ie(u,e),[f,h]=xe(d,["class","children","label","size","emptyColor","color","thickness","speed"]),m=()=>ge(f.class,F6,Tw({size:f.size,css:{color:f.color,borderWidth:f.thickness,borderBottomColor:f.emptyColor,borderLeftColor:f.emptyColor,animationDuration:f.speed}}));return A(Ye,ie({get class(){return m()}},h,{get children(){return A(We,{get when(){return f.label},get children(){const p=Ew.cloneNode(!0);return vi(p,()=>f.label),ar(()=>p.className=mc()),p}})}}))}d1.toString=()=>Ce(F6);const _w=ee(Ch,{variants:{labelPlacement:{start:{flexDirection:"row"},end:{flexDirection:"row-reverse"}}}}),xw=ee(Ah),Sw=ee(kh,{borderRadius:"$full",transition:"background-color 250ms, border-color 250ms, box-shadow 250ms","&::before":{content:"''",position:"absolute",top:"2px",left:"2px",zIndex:"1",borderRadius:"$full",boxShadow:"$sm",transition:"250ms"},variants:{variant:{outline:{"&::before":{backgroundColor:"$neutral7"},"&[data-checked]::before":{backgroundColor:"$loContrast"}},filled:{"&::before":{backgroundColor:"$loContrast"}}},size:{sm:{height:"16px",width:"26px","&::before":{boxSize:"10px"},"&[data-checked]::before":{transform:"translateX(10px)"}},md:{columnGap:"2px",height:"20px",width:"34px","&::before":{boxSize:"14px"},"&[data-checked]::before":{transform:"translateX(14px)"}},lg:{columnGap:"4px",height:"28px",width:"50px","&::before":{boxSize:"22px"},"&[data-checked]::before":{transform:"translateX(22px)"}}}}}),ww=en('<input type="checkbox" role="switch">');function Cw(e){const t=`hope-switch-${Dr()}`,n=Gs(e),[r,i]=Zn({_checked:!!e.defaultChecked,isFocused:!1,get isControlled(){return e.checked!==void 0},get checked(){return this.isControlled?!!e.checked:this._checked},get id(){var m;return(m=n.id)!=null?m:t},get name(){return e.name},get value(){return e.value},get required(){return n.required},get disabled(){return n.disabled},get invalid(){return n.invalid},get readOnly(){return n.readOnly},get["aria-required"](){return this.required?!0:void 0},get["aria-disabled"](){return this.disabled?!0:void 0},get["aria-invalid"](){return this.invalid?!0:void 0},get["aria-readonly"](){return this.readOnly?!0:void 0},get["data-focus"](){return this.isFocused?"":void 0},get["data-checked"](){return this.checked?"":void 0},get["data-required"](){return this.required?"":void 0},get["data-disabled"](){return this.disabled?"":void 0},get["data-invalid"](){return this.invalid?"":void 0},get["data-readonly"](){return this.readOnly?"":void 0}}),[a,o,s]=xe(e,["inputClass","children","ref","tabIndex","aria-label","aria-labelledby","aria-describedby","onChange"],["id","name","value","checked","defaultChecked","required","disabled","invalid","readOnly","onFocus","onBlur"]),l=m=>{if(r.readOnly||r.disabled){m.preventDefault();return}if(!r.isControlled){const p=m.target;i("_checked",p.checked)}Yn(a.onChange,m)},c=m=>{i("isFocused",!0),Yn(n.onFocus,m)},u=m=>{i("isFocused",!1),Yn(n.onBlur,m)},d=()=>ge(a.inputClass,mc()),f=()=>r,h={state:r};return A(Aw.Provider,{value:h,get children(){return A(ut.label,ie({get for(){return r.id},"data-group":!0,get["data-focus"](){return r["data-focus"]},get["data-checked"](){return r["data-checked"]},get["data-required"](){return r["data-required"]},get["data-disabled"](){return r["data-disabled"]},get["data-invalid"](){return r["data-invalid"]},get["data-readonly"](){return r["data-readonly"]}},s,{get children(){return[(()=>{const m=ww.cloneNode(!0);m.addEventListener("blur",u),m.addEventListener("focus",c),m.addEventListener("change",l);const p=a.ref;return typeof p=="function"?p(m):a.ref=m,ar(b=>{const v=d(),x=a.tabIndex,_=r.value,D=r.id,I=r.name,C=r.checked,w=r.required,R=r.disabled,L=r.readOnly,Q=r["aria-required"],K=r["aria-disabled"],J=r["aria-invalid"],oe=r["aria-readonly"],se=a["aria-label"],de=a["aria-labelledby"],U=a["aria-describedby"];return v!==b._v$&&(m.className=b._v$=v),x!==b._v$2&&wt(m,"tabindex",b._v$2=x),_!==b._v$3&&(m.value=b._v$3=_),D!==b._v$4&&wt(m,"id",b._v$4=D),I!==b._v$5&&wt(m,"name",b._v$5=I),C!==b._v$6&&(m.checked=b._v$6=C),w!==b._v$7&&(m.required=b._v$7=w),R!==b._v$8&&(m.disabled=b._v$8=R),L!==b._v$9&&(m.readOnly=b._v$9=L),Q!==b._v$10&&wt(m,"aria-required",b._v$10=Q),K!==b._v$11&&wt(m,"aria-disabled",b._v$11=K),J!==b._v$12&&wt(m,"aria-invalid",b._v$12=J),oe!==b._v$13&&wt(m,"aria-readonly",b._v$13=oe),se!==b._v$14&&wt(m,"aria-label",b._v$14=se),de!==b._v$15&&wt(m,"aria-labelledby",b._v$15=de),U!==b._v$16&&wt(m,"aria-describedby",b._v$16=U),b},{_v$:void 0,_v$2:void 0,_v$3:void 0,_v$4:void 0,_v$5:void 0,_v$6:void 0,_v$7:void 0,_v$8:void 0,_v$9:void 0,_v$10:void 0,_v$11:void 0,_v$12:void 0,_v$13:void 0,_v$14:void 0,_v$15:void 0,_v$16:void 0}),m})(),A(We,{get when(){return or(a.children)},get fallback(){return a.children},get children(){var m;return(m=a.children)==null?void 0:m.call(a,{state:f})}})]}}))}})}const Aw=Kt(),z6="hope-switch",kw="hope-checkbox__input",Nw="hope-switch__control",Ow="hope-switch__label";function Mw(e){var t,n,r,i,a,o,s,l,c,u,d,f;const h=Ie().Switch,m={variant:(r=(n=(t=h==null?void 0:h.defaultProps)==null?void 0:t.root)==null?void 0:n.variant)!=null?r:"filled",colorScheme:(o=(a=(i=h==null?void 0:h.defaultProps)==null?void 0:i.root)==null?void 0:a.colorScheme)!=null?o:"primary",size:(c=(l=(s=h==null?void 0:h.defaultProps)==null?void 0:s.root)==null?void 0:l.size)!=null?c:"md",labelPlacement:(f=(d=(u=h==null?void 0:h.defaultProps)==null?void 0:u.root)==null?void 0:d.labelPlacement)!=null?f:"start"},p=ie(m,e),[b,v]=xe(p,["children","class","variant","colorScheme","size","labelPlacement"]),x=()=>ge(b.class,z6,_w({size:b.size,labelPlacement:b.labelPlacement})),_=()=>ge(Nw,Sw({variant:b.variant,colorScheme:b.colorScheme,size:b.size})),D=()=>ge(Ow,xw());return A(Cw,ie({get class(){return x()},inputClass:kw,get __baseStyle(){var I;return(I=h==null?void 0:h.baseStyle)==null?void 0:I.root}},v,{children:({state:I})=>[A(ut.span,{get class(){return D()},get __baseStyle(){var C;return(C=h==null?void 0:h.baseStyle)==null?void 0:C.label},get["data-focus"](){return I()["data-focus"]},get["data-checked"](){return I()["data-checked"]},get["data-required"](){return I()["data-required"]},get["data-disabled"](){return I()["data-disabled"]},get["data-invalid"](){return I()["data-invalid"]},get["data-readonly"](){return I()["data-readonly"]},get children(){return b.children}}),A(ut.span,{"aria-hidden":!0,get class(){return _()},get __baseStyle(){var C;return(C=h==null?void 0:h.baseStyle)==null?void 0:C.control},get["data-focus"](){return I()["data-focus"]},get["data-checked"](){return I()["data-checked"]},get["data-required"](){return I()["data-required"]},get["data-disabled"](){return I()["data-disabled"]},get["data-invalid"](){return I()["data-invalid"]},get["data-readonly"](){return I()["data-readonly"]}})]}))}Mw.toString=()=>Ce(z6);const Iw=ee({width:"100%",borderCollapse:"collapse",fontVariantNumeric:"lining-nums tabular-nums"});ee({px:"$6",py:"$4",color:"$neutral11",fontSize:"$sm",fontWeight:"$medium",lineHeight:"$5",textAlign:"center",variants:{dense:{true:{px:"$4",py:"$3",fontSize:"$xs",lineHeight:"$4"}},placement:{top:{captionSide:"top"},bottom:{captionSide:"bottom"}}}});function $5(e){return{"& td":{borderBottomWidth:0},"& tr:last-of-type td":{borderBottomWidth:"1px"},[`& tr:nth-of-type(${e}) td`]:{backgroundColor:"$neutral3"}}}const Rw=ee({variants:{striped:{odd:$5("odd"),even:$5("even")},highlightOnHover:{true:{"& tr:hover td":{backgroundColor:"$neutral4"}}}},compoundVariants:[{striped:"odd",highlightOnHover:!0,css:{"& tr:nth-of-type(odd):hover td":{backgroundColor:"$neutral4"}}},{striped:"even",highlightOnHover:!0,css:{"& tr:nth-of-type(even):hover td":{backgroundColor:"$neutral4"}}}]});ee({"& tr:last-of-type th":{borderBottomWidth:0}});const Lw=ee({borderBottom:"1px solid $colors$neutral6",px:"$6",py:"$3",fontSize:"$xs",fontWeight:"$semibold",lineHeight:"$4",letterSpacing:"$wider",textAlign:"start",textTransform:"uppercase",variants:{dense:{true:{px:"$4",py:"$1_5"}},numeric:{true:{textAlign:"end"}}}}),Dw=ee({borderBottom:"1px solid $colors$neutral6",px:"$6",py:"$4",fontSize:"$base",lineHeight:"$6",textAlign:"start",transition:"background-color 250ms",variants:{dense:{true:{px:"$4",py:"$2",fontSize:"$sm",lineHeight:"$5"}},numeric:{true:{textAlign:"end"}}}}),H6=Kt(),U6="hope-table";function Pw(e){const t=Ie().Table,[n]=Zn({get striped(){var o,s,l;return(l=e.striped)!=null?l:(s=(o=t==null?void 0:t.defaultProps)==null?void 0:o.root)==null?void 0:s.striped},get dense(){var o,s,l,c;return(c=(l=e.dense)!=null?l:(s=(o=t==null?void 0:t.defaultProps)==null?void 0:o.root)==null?void 0:s.dense)!=null?c:!1},get highlightOnHover(){var o,s,l,c;return(c=(l=e.highlightOnHover)!=null?l:(s=(o=t==null?void 0:t.defaultProps)==null?void 0:o.root)==null?void 0:s.highlightOnHover)!=null?c:!1}}),[r,i]=xe(e,["class","striped","dense","highlightOnHover"]),a=()=>ge(r.class,U6,Iw(n));return A(H6.Provider,{value:n,get children(){return A(Ye,ie({as:"table",role:"table",get class(){return a()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.root}},i))}})}Pw.toString=()=>Ce(U6);function Fh(){const e=an(H6);if(!e)throw new Error("[Hope UI]: useTableContext must be used within a `<Table/>` component");return e}const j6="hope-tbody";function $w(e){const t=Ie().Table,n=Fh(),[r,i]=xe(e,["class"]),a=()=>ge(r.class,j6,Rw({striped:n.striped,highlightOnHover:n.highlightOnHover}));return A(Ye,ie({as:"tbody",role:"rowgroup",get class(){return a()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.tbody}},i))}$w.toString=()=>Ce(j6);const G6="hope-td";function Bw(e){const t=Ie().Table,n=Fh(),[r,i]=xe(e,["class","numeric"]),a=()=>ge(r.class,G6,Dw({dense:n.dense,numeric:r.numeric}));return A(Ye,ie({as:"td",role:"cell",get class(){return a()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.td}},i))}Bw.toString=()=>Ce(G6);const q6="hope-th";function Fw(e){const t=Ie().Table,n=Fh(),[r,i]=xe(e,["class","numeric"]),a=()=>ge(r.class,q6,Lw({dense:n.dense,numeric:r.numeric}));return A(Ye,ie({as:"th",role:"columnheader",get class(){return a()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.th}},i))}Fw.toString=()=>Ce(q6);const W6="hope-thead";function zw(e){const t=Ie().Table,[n,r]=xe(e,["class"]),i=()=>ge(n.class,W6);return A(Ye,ie({as:"thead",role:"rowgroup",get class(){return i()},get __baseStyle(){var a;return(a=t==null?void 0:t.baseStyle)==null?void 0:a.thead}},r))}zw.toString=()=>Ce(W6);const K6="hope-tr";function Hw(e){const t=Ie().Table,[n,r]=xe(e,["class"]),i=()=>ge(n.class,K6);return A(Ye,ie({as:"tr",role:"row",get class(){return i()},get __baseStyle(){var a;return(a=t==null?void 0:t.baseStyle)==null?void 0:a.tr}},r))}Hw.toString=()=>Ce(K6);ee({variants:{orientation:{horizontal:{display:"block"},vertical:{display:"flex"}}}});ee({display:"flex",color:"$neutral11",fontWeight:"$normal",variants:{variant:{underline:{borderWidth:0,borderStyle:"solid",borderColor:"$neutral7"},outline:{borderStyle:"solid",borderColor:"$neutral7"},cards:{borderStyle:"solid",borderColor:"$neutral7"},pills:{gap:"$1_5"}},alignment:{start:{justifyContent:"flex-start"},end:{justifyContent:"flex-end"},center:{justifyContent:"center"},apart:{justifyContent:"space-between"}},orientation:{horizontal:{flexDirection:"row"},vertical:{flexDirection:"column"}}},compoundVariants:[{variant:"underline",orientation:"horizontal",css:{borderBottomWidth:"1px"}},{variant:"underline",orientation:"vertical",css:{borderInlineEndWidth:"1px"}},{variant:"outline",orientation:"horizontal",css:{mb:"-1px",borderBottomWidth:"1px"}},{variant:"outline",orientation:"vertical",css:{marginInlineEnd:"-1px",borderInlineEndWidth:"1px"}},{variant:"cards",orientation:"horizontal",css:{mb:"-1px",borderBottomWidth:"1px"}},{variant:"cards",orientation:"vertical",css:{marginInlineEnd:"-1px",borderInlineEndWidth:"1px"}}]});function xn(e){return{"&[aria-selected='true']":{color:e}}}function To(e){return{"&[aria-selected='true']":{color:e.color,backgroundColor:e.bgColor},"&[aria-selected='true']:hover":{backgroundColor:e.bgColorHover}}}ee({appearance:"none",display:"flex",alignItems:"center",justifyContent:"center",outline:"none",border:"$none",backgroundColor:"transparent",px:"$4",color:"inherit",fontWeight:"inherit",cursor:"pointer",transitionProperty:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",transitionDuration:"250ms","&:focus":{zIndex:1,outline:"none",boxShadow:"$outline"},"&:disabled":{opacity:.4,cursor:"not-allowed"},variants:{variant:{underline:{borderWidth:0,borderStyle:"solid",borderColor:"transparent","&[aria-selected='true']":{borderColor:"currentColor"},"&:active":{backgroundColor:"$neutral4"}},outline:{borderWidth:"1px",borderStyle:"solid",borderColor:"transparent","&[aria-selected='true']":{borderColor:"inherit"}},cards:{borderWidth:"1px",borderStyle:"solid",borderColor:"inherit",backgroundColor:"$neutral3","&[aria-selected='true']":{borderColor:"inherit",backgroundColor:"$loContrast"}},pills:{borderRadius:"$sm","&:hover":{backgroundColor:"$neutral3"},"&:hover:disabled":{backgroundColor:"transparent"}}},colorScheme:{primary:{},accent:{},neutral:{},success:{},info:{},warning:{},danger:{}},size:{sm:{py:"$1",fontSize:"$sm"},md:{py:"$2",fontSize:"$base"},lg:{py:"$3",fontSize:"$lg"}},orientation:{horizontal:{},vertical:{}},fitted:{true:{flex:1}}},compoundVariants:[{variant:"underline",colorScheme:"primary",css:xn("$primary11")},{variant:"underline",colorScheme:"accent",css:xn("$accent11")},{variant:"underline",colorScheme:"neutral",css:xn("$neutral12")},{variant:"underline",colorScheme:"success",css:xn("$success11")},{variant:"underline",colorScheme:"info",css:xn("$info11")},{variant:"underline",colorScheme:"warning",css:xn("$warning11")},{variant:"underline",colorScheme:"danger",css:xn("$danger11")},{variant:"outline",colorScheme:"primary",css:xn("$primary11")},{variant:"outline",colorScheme:"accent",css:xn("$accent11")},{variant:"outline",colorScheme:"neutral",css:xn("$neutral12")},{variant:"outline",colorScheme:"success",css:xn("$success11")},{variant:"outline",colorScheme:"info",css:xn("$info11")},{variant:"outline",colorScheme:"warning",css:xn("$warning11")},{variant:"outline",colorScheme:"danger",css:xn("$danger11")},{variant:"cards",colorScheme:"primary",css:xn("$primary11")},{variant:"cards",colorScheme:"accent",css:xn("$accent11")},{variant:"cards",colorScheme:"neutral",css:xn("$neutral12")},{variant:"cards",colorScheme:"success",css:xn("$success11")},{variant:"cards",colorScheme:"info",css:xn("$info11")},{variant:"cards",colorScheme:"warning",css:xn("$warning11")},{variant:"cards",colorScheme:"danger",css:xn("$danger11")},{variant:"pills",colorScheme:"primary",css:To({color:"$primary11",bgColor:"$primary3",bgColorHover:"$primary4"})},{variant:"pills",colorScheme:"accent",css:To({color:"$accent11",bgColor:"$accent3",bgColorHover:"$accent4"})},{variant:"pills",colorScheme:"neutral",css:To({color:"$neutral12",bgColor:"$neutral3",bgColorHover:"$neutral4"})},{variant:"pills",colorScheme:"success",css:To({color:"$success11",bgColor:"$success3",bgColorHover:"$success4"})},{variant:"pills",colorScheme:"info",css:To({color:"$info11",bgColor:"$info3",bgColorHover:"$info4"})},{variant:"pills",colorScheme:"warning",css:To({color:"$warning11",bgColor:"$warning3",bgColorHover:"$warning4"})},{variant:"pills",colorScheme:"danger",css:To({color:"$danger11",bgColor:"$danger3",bgColorHover:"$danger4"})},{variant:"underline",orientation:"horizontal",css:{borderBottomWidth:"2px",marginBottom:"-1px"}},{variant:"underline",orientation:"vertical",css:{borderInlineEndWidth:"2px",marginInlineEnd:"-1px"}},{variant:"outline",orientation:"horizontal",css:{mb:"-1px",borderTopRadius:"$sm","&[aria-selected='true']":{borderBottomColor:"$loContrast"}}},{variant:"outline",orientation:"vertical",css:{marginInlineEnd:"-1px",borderStartRadius:"$radii$sm","&[aria-selected='true']":{borderInlineEndColor:"$colors$loContrast"}}},{variant:"cards",orientation:"horizontal",css:{mb:"-1px",borderBottomWidth:"1px","&:not(:last-of-type)":{marginInlineEnd:"-1px"},"&[aria-selected='true']":{borderTopColor:"currentColor",borderBottomColor:"transparent"}}},{variant:"cards",orientation:"vertical",css:{marginInlineEnd:"-1px",borderInlineEndWidth:"1px","&:not(:last-of-type)":{mb:"-1px"},"&[aria-selected='true']":{borderInlineStartColor:"currentColor",borderInlineEndColor:"transparent"}}}]});ee({outline:"none",padding:"$4"});ee({marginInlineStart:"$2"});ee({marginInlineEnd:"$2"});ee({noOfLines:1});const Rs=ee({appearance:"none",position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",outline:"none",border:"1px solid transparent",borderRadius:"$full",backgroundColor:"transparent",padding:"0",lineHeight:"$none",textDecoration:"none",color:"inherit",cursor:"pointer",userSelect:"none",transition:"color 250ms, background-color 250ms, opacity 250ms, box-shadow 250ms","&:focus":{outline:"none",boxShadow:"$outline"},"&:disabled":{border:"1px solid transparent",backgroundColor:"transparent",color:"$neutral3",cursor:"not-allowed"},variants:{size:{sm:{marginInlineStart:"0.35rem",marginInlineEnd:"-3px"},md:{marginInlineStart:"$1_5",marginInlineEnd:"calc(0.15rem * -1)"},lg:{marginInlineStart:"$1_5",marginInlineEnd:"calc($1 * -1)"}}}});function su(e){return{height:e.height,py:0,px:e.paddingX,fontSize:e.fontSize,lineHeight:e.lineHeight,[`& .${Rs}`]:{boxSize:e.closeButtonSize}}}function Eo(e){return{backgroundColor:e.bgColor,color:e.color,[`& .${Rs}:not(:disabled):hover`]:{backgroundColor:e.closeButtonBgColorHover}}}function _o(e){return{backgroundColor:e.bgColor,color:e.color,[`& .${Rs}:not(:disabled):hover`]:{backgroundColor:e.closeButtonBgColorHover}}}function xo(e){return{borderColor:e.borderColor,color:e.color,[`& .${Rs}:not(:disabled):hover`]:{backgroundColor:e.closeButtonBgColorHover}}}function lu(e){return{"&::before, &::after":{boxSize:e},"&::before":{marginRight:e},"&::after":{marginLeft:e}}}ee({display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"$full",fontWeight:"$medium",lineHeight:"$none",variants:{variant:{solid:{border:"1px solid transparent",color:"white"},subtle:{border:"1px solid transparent"},outline:{borderStyle:"solid",borderWidth:"1px",backgroundColor:"transparent"},dot:{border:"1px solid $neutral7",backgroundColor:"transparent",color:"$neutral12","&::before, &::after":{content:"''",borderRadius:"$full"},"&::before":{display:"block"},"&::after":{display:"none"},[`& .${Rs}:not(:disabled):hover`]:{backgroundColor:"$neutral4"},[`& .${Rs}:not(:disabled):active`]:{backgroundColor:"$neutral5"}}},colorScheme:{primary:{},accent:{},neutral:{},success:{},info:{},warning:{},danger:{}},size:{sm:su({height:"$5",paddingX:"$2",fontSize:"$xs",lineHeight:"$4",closeButtonSize:"$4"}),md:su({height:"$6",paddingX:"$2",fontSize:"$sm",lineHeight:"$5",closeButtonSize:"$5"}),lg:su({height:"$8",paddingX:"$3",fontSize:"$base",lineHeight:"$6",closeButtonSize:"$6"})},dotPlacement:{start:{},end:{}}},compoundVariants:[{variant:"solid",colorScheme:"primary",css:Eo({color:"white",bgColor:"$primary9",closeButtonBgColorHover:"$primary10"})},{variant:"solid",colorScheme:"accent",css:Eo({color:"white",bgColor:"$accent9",closeButtonBgColorHover:"$accent10"})},{variant:"solid",colorScheme:"neutral",css:Eo({color:"white",bgColor:"$neutral9",closeButtonBgColorHover:"$neutral11"})},{variant:"solid",colorScheme:"success",css:Eo({color:"white",bgColor:"$success9",closeButtonBgColorHover:"$success10"})},{variant:"solid",colorScheme:"info",css:Eo({color:"white",bgColor:"$info9",closeButtonBgColorHover:"$info10"})},{variant:"solid",colorScheme:"warning",css:Eo({color:"$blackAlpha12",bgColor:"$warning9",closeButtonBgColorHover:"$warning10"})},{variant:"solid",colorScheme:"danger",css:Eo({color:"white",bgColor:"$danger9",closeButtonBgColorHover:"$danger10"})},{variant:"subtle",colorScheme:"primary",css:_o({color:"$primary11",bgColor:"$primary4",closeButtonBgColorHover:"$primary6"})},{variant:"subtle",colorScheme:"accent",css:_o({color:"$accent11",bgColor:"$accent4",closeButtonBgColorHover:"$accent6"})},{variant:"subtle",colorScheme:"neutral",css:_o({color:"$neutral12",bgColor:"$neutral4",closeButtonBgColorHover:"$neutral7"})},{variant:"subtle",colorScheme:"success",css:_o({color:"$success11",bgColor:"$success4",closeButtonBgColorHover:"$success6"})},{variant:"subtle",colorScheme:"info",css:_o({color:"$info11",bgColor:"$info4",closeButtonBgColorHover:"$info6"})},{variant:"subtle",colorScheme:"warning",css:_o({color:"$warning11",bgColor:"$warning4",closeButtonBgColorHover:"$warning6"})},{variant:"subtle",colorScheme:"danger",css:_o({color:"$danger11",bgColor:"$danger4",closeButtonBgColorHover:"$danger6"})},{variant:"outline",colorScheme:"primary",css:xo({color:"$primary11",borderColor:"$primary7",closeButtonBgColorHover:"$primary4"})},{variant:"outline",colorScheme:"accent",css:xo({color:"$accent11",borderColor:"$accent7",closeButtonBgColorHover:"$accent4"})},{variant:"outline",colorScheme:"neutral",css:xo({color:"$neutral12",borderColor:"$neutral7",closeButtonBgColorHover:"$neutral4"})},{variant:"outline",colorScheme:"success",css:xo({color:"$success11",borderColor:"$success7",closeButtonBgColorHover:"$success4"})},{variant:"outline",colorScheme:"info",css:xo({color:"$info11",borderColor:"$info7",closeButtonBgColorHover:"$info4"})},{variant:"outline",colorScheme:"warning",css:xo({color:"$warning11",borderColor:"$warning7",closeButtonBgColorHover:"$warning4"})},{variant:"outline",colorScheme:"danger",css:xo({color:"$danger11",borderColor:"$danger7",closeButtonBgColorHover:"$danger4"})},{variant:"dot",colorScheme:"primary",css:{"&::before, &::after":{backgroundColor:"$primary9"}}},{variant:"dot",colorScheme:"accent",css:{"&::before, &::after":{backgroundColor:"$accent9"}}},{variant:"dot",colorScheme:"neutral",css:{"&::before, &::after":{backgroundColor:"$neutral9"}}},{variant:"dot",colorScheme:"success",css:{"&::before, &::after":{backgroundColor:"$success9"}}},{variant:"dot",colorScheme:"info",css:{"&::before, &::after":{backgroundColor:"$info9"}}},{variant:"dot",colorScheme:"warning",css:{"&::before, &::after":{backgroundColor:"$warning9"}}},{variant:"dot",colorScheme:"danger",css:{"&::before, &::after":{backgroundColor:"$danger9"}}},{variant:"dot",size:"sm",css:lu("$1_5")},{variant:"dot",size:"md",css:lu("$2")},{variant:"dot",size:"lg",css:lu("$2_5")},{variant:"dot",dotPlacement:"start",css:{"&::before":{display:"block"},"&::after":{display:"none"}}},{variant:"dot",dotPlacement:"end",css:{"&::before":{display:"none"},"&::after":{display:"block"}}}]});const V6="hope-text";function Uw(e){var t;const n=Ie().Text,r={size:(t=n==null?void 0:n.defaultProps)==null?void 0:t.size},i=ie(r,e),[a,o]=xe(i,["class","size"]),s=()=>ge(a.class,V6,P2({size:a.size}));return A(ut.p,ie({get class(){return s()},get __baseStyle(){return n==null?void 0:n.baseStyle}},o))}Uw.toString=()=>Ce(V6);function cu(e,t){return Object.entries({xs:t!=null?t:"$2",sm:t!=null?t:"$2_5",md:t!=null?t:"$3",lg:t!=null?t:"$4"}).map(([n,r])=>({variant:e,size:n,css:{px:r}}))}const jw=ee(xh,{minHeight:"80px",py:"$2",compoundVariants:[...cu("outline"),...cu("filled"),...cu("unstyled",0)]}),Y6="hope-textarea";function Gw(e){var t,n,r,i;const a=Ie().Textarea,o={variant:(n=(t=a==null?void 0:a.defaultProps)==null?void 0:t.variant)!=null?n:"outline",size:(i=(r=a==null?void 0:a.defaultProps)==null?void 0:r.size)!=null?i:"md"},s=ie(o,e),[l,c]=xe(s,["class","variant","size"]),u=Gs(e),d=()=>ge(l.class,Y6,jw({variant:l.variant,size:l.size}));return A(Ye,ie({as:"textarea",get class(){return d()},get __baseStyle(){return a==null?void 0:a.baseStyle}},u,c))}Gw.toString=()=>Ce(Y6);const X6="hope-tooltip",qw="hope-tooltip__arrow";function Ww(e){var t,n,r,i,a,o,s,l,c,u,d,f,h,m,p,b,v,x;const _=`hope-tooltip-${Dr()}`,D=Ie().Tooltip,I={id:_,placement:(n=(t=D==null?void 0:D.defaultProps)==null?void 0:t.placement)!=null?n:"bottom",offset:(i=(r=D==null?void 0:D.defaultProps)==null?void 0:r.offset)!=null?i:8,withArrow:(o=(a=D==null?void 0:D.defaultProps)==null?void 0:a.withArrow)!=null?o:!1,arrowSize:(l=(s=D==null?void 0:D.defaultProps)==null?void 0:s.arrowSize)!=null?l:8,arrowPadding:(u=(c=D==null?void 0:D.defaultProps)==null?void 0:c.arrowPadding)!=null?u:8,openDelay:(f=(d=D==null?void 0:D.defaultProps)==null?void 0:d.openDelay)!=null?f:0,closeDelay:(m=(h=D==null?void 0:D.defaultProps)==null?void 0:h.closeDelay)!=null?m:0,closeOnClick:(b=(p=D==null?void 0:D.defaultProps)==null?void 0:p.closeOnClick)!=null?b:!0,closeOnMouseDown:(x=(v=D==null?void 0:D.defaultProps)==null?void 0:v.closeOnMouseDown)!=null?x:!1},C=ie(I,e),[w,R]=xe(C,["class","children","id","label","opened","defaultOpened","inline","disabled","placement","offset","withArrow","arrowSize","arrowPadding","openDelay","closeDelay","closeOnClick","closeOnMouseDown","onOpen","onClose"]),[L,Q]=qe(!!w.defaultOpened),[K,J]=qe(!1);let oe,se,de,U;const De=()=>w.opened!==void 0,ne=()=>De()?!!w.opened:L(),Ge=()=>ge(w.class,X6,a_()),Ne=()=>ge(qw,o_());let N;const P=yi(()=>w.children),be=vt(()=>{let Je=P();for(;or(Je);)Je=Je();return Je});async function Ve(){var Je,bn,Hn;const qn=be();if(!qn||!oe)return;const Cn=[sc(w.offset)];w.inline&&Cn.push(bg()),Cn.push(oc()),Cn.push(lc()),w.withArrow&&se&&Cn.push(mg({element:se,padding:w.arrowPadding})),Cn.push(gg());const{x:Jn,y:lr,placement:An,middlewareData:cr}=await hc(qn,oe,{placement:w.placement,middleware:Cn});if(!oe)return;const $r=(Je=cr.hide)==null?void 0:Je.referenceHidden;if(Object.assign(oe.style,{left:`${Math.round(Jn)}px`,top:`${Math.round(lr)}px`,visibility:$r?"hidden":"visible"}),!se)return;const _i=(bn=cr.arrow)==null?void 0:bn.x,Cr=(Hn=cr.arrow)==null?void 0:Hn.y,j={top:"bottom",right:"left",bottom:"top",left:"right"}[An.split("-")[0]],M=`${w.arrowSize?Math.round(w.arrowSize/2)*-1:-4}px`;Object.assign(se.style,{left:_i!=null?`${Math.round(_i)}px`:"",top:Cr!=null?`${Math.round(Cr)}px`:"",right:"",bottom:"",[j]:M})}const Et=()=>{var Je;De()||Q(!0),(Je=w.onOpen)==null||Je.call(w),Ve()},ht=()=>{var Je;De()||Q(!1),(Je=w.onClose)==null||Je.call(w)},st=()=>{w.disabled||(de=window.setTimeout(Et,w.openDelay))},ft=()=>{de&&window.clearTimeout(de),U=window.setTimeout(ht,w.closeDelay)},Ct=()=>{w.closeOnClick&&ft()},ae=()=>{w.closeOnMouseDown&&ft()},Me=Je=>{ne()&&Je.key==="Escape"&&ft()},dt=()=>{const Je=be();Je.addEventListener("mouseenter",st),Je.addEventListener("focus",st),Je.addEventListener("click",Ct),Je.addEventListener("mousedown",ae),Je.addEventListener("mouseleave",ft),Je.addEventListener("blur",ft)},At=()=>{const Je=be();Je.removeEventListener("mouseenter",st),Je.removeEventListener("focus",st),Je.removeEventListener("click",Ct),Je.removeEventListener("mousedown",ae),Je.removeEventListener("mouseleave",ft),Je.removeEventListener("blur",ft)},zn=()=>{!oe||(document.addEventListener("keydown",Me),N=dc(be(),oe,Ve))},br=()=>{document.removeEventListener("keydown",Me),N==null||N(),J(!1)};return pr(()=>{dt()}),Jt(()=>{At(),window.clearTimeout(de),window.clearTimeout(U)}),Rn(()=>{ne()?(J(!0),w.id&&be().setAttribute("aria-describedby",w.id)):be().removeAttribute("aria-describedby")}),[be,A(We,{get when(){return K()},get children(){return A(ro,{get children(){return A(io,{get name(){return Io.scale},appear:!0,onBeforeEnter:Ve,onAfterEnter:zn,onAfterExit:br,get children(){return A(We,{get when(){return ne()},get children(){return A(Ye,ie({ref(Je){const bn=oe;typeof bn=="function"?bn(Je):oe=Je},role:"tooltip",get id(){return w.id},get class(){return Ge()},get __baseStyle(){return D==null?void 0:D.baseStyle}},R,{get children(){return[bi(()=>w.label),A(We,{get when(){return w.withArrow},get children(){return A(Ye,{ref(Je){const bn=se;typeof bn=="function"?bn(Je):se=Je},get class(){return Ne()},get boxSize(){return w.arrowSize}})}})]}}))}})}})}})}})]}Ww.toString=()=>Ce(X6);function Kw(e={}){const t=`disclosure-${Dr()}`,[n,r]=qe(e.defaultIsOpen||!1),i=()=>e.isOpen!==void 0,a=()=>i()?!!e.isOpen:n(),o=()=>{var d;i()||r(!1),(d=e.onClose)==null||d.call(e)},s=()=>{var d;i()||r(!0),(d=e.onOpen)==null||d.call(e)};return{isControlled:i,isOpen:a,onOpen:s,onClose:o,onToggle:()=>{a()?o():s()},triggerProps:()=>({"aria-expanded":a(),"aria-controls":t}),disclosureProps:()=>({id:t,hidden:!a()})}}var Ad=(e,t,n)=>{const r=t.trim().split(".").reduce((i,a)=>i?i[a]:void 0,e);return r!==void 0?r:n},Vw=(e,t,n=/{{(.*?)}}/g)=>e.replace(n,(r,i)=>Ad(t,i,"")),Yw=(e={},t=navigator.language in e?navigator.language:Object.keys(e)[0])=>{const[n,r]=qe(t),[i,a]=Zn(e);return[(l,c,u)=>{const d=Ad(i[n()],l,u||"");return typeof d=="function"?d(c):typeof d=="string"?Vw(d,c||{}):d},{add(l,c){a(l,u=>Object.assign(u||{},c))},locale:l=>l?r(l):n(),dict:l=>Ad(i,l)}]},Q6=Kt({}),zh=()=>an(Q6),Xw=function e(t,n){var r=/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,i=/(^[ ]*|[ ]*$)/g,a=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,o=/^0x[0-9a-f]+$/i,s=/^0/,l=function(_){return e.insensitive&&(""+_).toLowerCase()||""+_},c=l(t).replace(i,"")||"",u=l(n).replace(i,"")||"",d=c.replace(r,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),f=u.replace(r,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),h=parseInt(c.match(o),16)||d.length!==1&&c.match(a)&&Date.parse(c),m=parseInt(u.match(o),16)||h&&u.match(a)&&Date.parse(u)||null,p,b;if(m){if(h<m)return-1;if(h>m)return 1}for(var v=0,x=Math.max(d.length,f.length);v<x;v++){if(p=!(d[v]||"").match(s)&&parseFloat(d[v])||d[v]||0,b=!(f[v]||"").match(s)&&parseFloat(f[v])||f[v]||0,isNaN(p)!==isNaN(b))return isNaN(p)?1:-1;if(typeof p!=typeof b&&(p+="",b+=""),p<b)return-1;if(p>b)return 1}return 0};function Qw(e){const[t,n]=qe(),r=e!=null&&e.throw?(f,h)=>{throw n(f instanceof Error?f:new Error(h)),f}:(f,h)=>{n(f instanceof Error?f:new Error(h))},i=e!=null&&e.api?Array.isArray(e.api)?e.api:[e.api]:[globalThis.localStorage].filter(Boolean),a=e!=null&&e.prefix?`${e.prefix}.`:"",o=new Map,s=new Proxy({},{get(f,h){let m=o.get(h);m||(m=qe(void 0,{equals:!1}),o.set(h,m)),m[0]();const p=i.reduce((b,v)=>{if(b!==null||!v)return b;try{return v.getItem(`${a}${h}`)}catch(x){return r(x,`Error reading ${a}${h} from ${v.name}`),null}},null);return p!==null&&(e==null?void 0:e.deserializer)?e.deserializer(p,h,e==null?void 0:e.options):p}}),l=(f,h,m)=>{const p=e!=null&&e.serializer?e.serializer(h,f,m!=null?m:e==null?void 0:e.options):h,b=`${a}${f}`;i.forEach(x=>{try{x.getItem(b)!==p&&x.setItem(b,p)}catch(_){r(_,`Error setting ${a}${f} to ${p} in ${x.name}`)}});const v=o.get(f);v&&v[1]()},c=f=>i.forEach(h=>{try{h.removeItem(`${a}${f}`)}catch(m){r(m,`Error removing ${a}${f} from ${h.name}`)}}),u=()=>i.forEach(f=>{var h;try{(h=f==null?void 0:f.clear)==null||h.call(f)}catch(m){r(m,`Error clearing ${f.name}`)}}),d=()=>{const f={},h=(m,p)=>{if(!f.hasOwnProperty(m)){const b=p&&(e==null?void 0:e.deserializer)?e.deserializer(p,m,e==null?void 0:e.options):p;b&&(f[m]=b)}};return i.forEach(m=>{if(typeof m.getAll=="function"){let p;try{p=m.getAll()}catch(b){r(b,`Error getting all values from in ${m.name}`)}for(const b of p)h(b,p[b])}else{let p=0,b;try{for(;b=m.key(p++);)f.hasOwnProperty(b)||h(b,m.getItem(b))}catch(v){r(v,`Error getting all values from ${m.name}`)}}}),f};return(e==null?void 0:e.sync)!==!1&&pr(()=>{const f=h=>{var m;let p=!1;i.forEach(b=>{try{b!==h.storageArea&&h.key&&h.newValue!==b.getItem(h.key)&&(h.newValue?b.setItem(h.key,h.newValue):b.removeItem(h.key),p=!0)}catch(v){r(v,`Error synching api ${b.name} from storage event (${h.key}=${h.newValue})`)}}),p&&h.key&&((m=o.get(h.key))==null||m[1]())};"addEventListener"in globalThis?(globalThis.addEventListener("storage",f),Jt(()=>globalThis.removeEventListener("storage",f))):(i.forEach(h=>{var m;return(m=h.addEventListener)==null?void 0:m.call(h,"storage",f)}),Jt(()=>i.forEach(h=>{var m;return(m=h.removeEventListener)==null?void 0:m.call(h,"storage",f)})))}),[s,l,{clear:u,error:t,remove:c,toJSON:d}]}function Z6(e,t,n){var r;const[i,a]=qe(),o=n!=null&&n.api?Array.isArray(n.api)?n.api:[n.api]:[globalThis.localStorage].filter(Boolean),s=n!=null&&n.prefix?`${n.prefix}.`:"",l=()=>o.reduce((f,h)=>{if(f!==null||!h)return f;let m=null;try{m=h.getItem(`${s}${e}`)}catch(p){if(a(p instanceof Error?p:new Error(`Error reading ${s}${e} from ${h.name}`)),n!=null&&n.throw)throw p}return m!==null&&(n==null?void 0:n.deserializer)?n.deserializer(m+"",e,n==null?void 0:n.options):m},null),[c,u]=qe((r=l())!=null?r:t,n);Rn(()=>{const f=c(),h=n!=null&&n.serializer?n.serializer(f,e,n==null?void 0:n.options):f+"",m=`${s}${e}`;try{f===null?o.forEach(p=>p.getItem(m)!==null&&p.removeItem(m)):o.forEach(p=>p.getItem(m)!==h&&p.setItem(m,h,n==null?void 0:n.options))}catch(p){if(a(p instanceof Error?p:new Error(`Error ${f===null?"removing":"writing"} value`)),n!=null&&n.throw)throw p}});const d=()=>{const f=l();u(f)};return(n==null?void 0:n.sync)!==!1&&pr(()=>{const f=h=>{let m=!1;try{o.forEach(p=>{p!==h.storageArea&&h.key&&h.newValue!==p.getItem(h.key)&&(h.newValue?p.setItem(h.key,h.newValue):p.removeItem(h.key),m=!0)})}catch(p){if(a(p instanceof Error?p:new Error("Error synching api after event")),n!=null&&n.throw)throw p}m&&d()};"addEventListener"in globalThis?(globalThis.addEventListener("storage",f),Jt(()=>globalThis.removeEventListener("storage",f))):(o.forEach(h=>{var m;return(m=h.addEventListener)==null?void 0:m.call(h,"storage",f)}),Jt(()=>o.forEach(h=>{var m;return(m=h.removeEventListener)==null?void 0:m.call(h,"storage",f)})))}),[Object.assign(c,{error:i}),u,d]}var Zw=Qw,Jw=e=>(typeof e.clear=="function"||(e.clear=()=>{let t;for(;t=e.key(0);)e.removeItem(t)}),e),B5=e=>{if(!e)return"";let t="";for(const n in e){if(!e.hasOwnProperty(n))continue;const r=e[n];t+=r instanceof Date?`; ${n}=${r.toUTCString()}`:typeof r=="boolean"?`; ${n}`:`; ${n}=${r}`}return t},_r=Jw({_cookies:[globalThis.document,"cookie"],getItem:e=>{var t,n;return(n=(t=_r._cookies[0][_r._cookies[1]].match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)"))==null?void 0:t.pop())!=null?n:null},setItem:(e,t,n)=>{var r;const i=_r.getItem(e);_r._cookies[0][_r._cookies[1]]=`${e}=${t}${B5(n)}`;const a=Object.assign(new Event("storage"),{key:e,oldValue:i,newValue:t,url:(r=globalThis.document)==null?void 0:r.URL,storageArea:_r});window.dispatchEvent(a)},removeItem:e=>{_r._cookies[0][_r._cookies[1]]=`${e}=deleted${B5({expires:new Date(0)})}`},key:e=>{let t=null,n=0;return _r._cookies[0][_r._cookies[1]].replace(/(?:^|;)\s*(.+?)\s*=\s*[^;]+/g,(r,i)=>(!t&&i&&n++===e&&(t=i),"")),t},get length(){let e=0;return _r._cookies[0][_r._cookies[1]].replace(/(?:^|;)\s*.+?\s*=\s*[^;]+/g,t=>(e+=t?1:0,"")),e}});let di="";const eC=e=>{di=e,di.startsWith("/")||(di="/"+di),di.endsWith("/")&&(di=di.slice(0,-1))};window.ALIST.base_path&&eC(window.ALIST.base_path);let gi="/";window.ALIST.api&&(gi=window.ALIST.api);gi==="/"&&(gi=location.origin+di);gi.endsWith("/")&&(gi=gi.slice(0,-1));const vU=window.ALIST.monaco_cdn||"https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/monaco-editor/0.33.0-dev.20220228/min/vs";function tC(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(i){i(n)}),(r=e.get("*"))&&r.slice().map(function(i){i(t,n)})}}}const Ll=tC(),nC=en("<div><div></div></div>"),rC=en("<div></div>"),kd={render:e=>{cl.show({render:t=>A(Ye,{get css(){return{display:"flex",backdropFilter:"blur(8px)",backgroundColor:bA(),boxShadow:"$md",borderRadius:"$lg",padding:"$3"}},get children(){return[(()=>{const n=nC.cloneNode(!0),r=n.firstChild;return n.style.setProperty("flexGrow","1"),n.style.setProperty("display","flex"),n.style.setProperty("alignItems","center"),r.style.setProperty("margin","auto"),vi(r,e),n})(),(()=>{const n=rC.cloneNode(!0);return n.style.setProperty("display","inline-block"),n.style.setProperty("padding","5px"),vi(n,A(vc,{style:{float:"right"},right:"$2",top:"$2",get onClick(){return t.close}})),n})()]}})})},success:e=>{cl.show({status:"success",title:Sl(e)})},error:e=>{cl.show({status:"danger",title:Sl(e)})},info:e=>{cl.show({status:"info",title:Sl(e)})},warning:e=>{cl.show({status:"warning",title:Sl(e)})}},iC=(e,t)=>(e.endsWith("/")&&(e=e.slice(0,-1)),e.startsWith("/")||(e="/"+e),t&&e==="/"?"":e),aC=(...e)=>new URL(qo(...e),location.origin).pathname,qo=(...e)=>e.join("/").replace(/\/{2,}/g,"/"),oC=(...e)=>qo(di,...e),sC=e=>{const t=e.replace(di,"");return t.startsWith("/")?t:"/"+t},yU=e=>e.split("/").pop(),Hh=e=>e.split("/").slice(0,-1).join("/"),Nd=(e,t)=>e.split("/").map(n=>t?encodeURIComponent(n):n.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23").replace(/ /g,"%20")).join("/"),lC=e=>{var t;return(t=e.split(".").pop())!=null?t:""},TU=e=>e.split(".").slice(0,-1).join(".");function EU(e){const t=e.split("/").filter(Boolean),n=t.length;return r=>{const i=r.split("/").filter(Boolean);if(i.length-n<0)return null;let o=n?"":"/";for(let s=0;s<n;s++){const l=t[s],c=i[s];if(l.localeCompare(c,void 0,{sensitivity:"base"})!==0)return null;o+=`/${c}`}return o}}const _U=e=>JSON.parse(JSON.stringify(e)),F5=e=>{const t=[];for(const n in e)t.push({key:n,value:e[n]});return t};function J6(e,t){return function(){return e.apply(t,arguments)}}const{toString:e3}=Object.prototype,{getPrototypeOf:Uh}=Object,jh=(e=>t=>{const n=e3.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ea=e=>(e=e.toLowerCase(),t=>jh(t)===e),Tc=e=>t=>typeof t===e,{isArray:h1}=Array,Od=Tc("undefined");function cC(e){return e!==null&&!Od(e)&&e.constructor!==null&&!Od(e.constructor)&&qs(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const t3=Ea("ArrayBuffer");function uC(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&t3(e.buffer),t}const dC=Tc("string"),qs=Tc("function"),n3=Tc("number"),r3=e=>e!==null&&typeof e=="object",hC=e=>e===!0||e===!1,p0=e=>{if(jh(e)!=="object")return!1;const t=Uh(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},fC=Ea("Date"),mC=Ea("File"),pC=Ea("Blob"),gC=Ea("FileList"),bC=e=>r3(e)&&qs(e.pipe),vC=e=>{const t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||e3.call(e)===t||qs(e.toString)&&e.toString()===t)},yC=Ea("URLSearchParams"),TC=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ec(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),h1(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),o=a.length;let s;for(r=0;r<o;r++)s=a[r],t.call(null,e[s],s,e)}}function Md(){const e={},t=(n,r)=>{p0(e[r])&&p0(n)?e[r]=Md(e[r],n):p0(n)?e[r]=Md({},n):h1(n)?e[r]=n.slice():e[r]=n};for(let n=0,r=arguments.length;n<r;n++)arguments[n]&&Ec(arguments[n],t);return e}const EC=(e,t,n,{allOwnKeys:r}={})=>(Ec(t,(i,a)=>{n&&qs(i)?e[a]=J6(i,n):e[a]=i},{allOwnKeys:r}),e),_C=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),xC=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},SC=(e,t,n,r)=>{let i,a,o;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)o=i[a],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&Uh(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},wC=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},CC=e=>{if(!e)return null;if(h1(e))return e;let t=e.length;if(!n3(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},AC=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Uh(Uint8Array)),kC=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const a=i.value;t.call(e,a[0],a[1])}},NC=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},OC=Ea("HTMLFormElement"),MC=e=>e.toLowerCase().replace(/[_-\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),z5=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),IC=Ea("RegExp"),i3=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ec(n,(i,a)=>{t(i,a,e)!==!1&&(r[a]=i)}),Object.defineProperties(e,r)},RC=e=>{i3(e,(t,n)=>{const r=e[n];if(!!qs(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not read-only method '"+n+"'")})}})},LC=(e,t)=>{const n={},r=i=>{i.forEach(a=>{n[a]=!0})};return h1(e)?r(e):r(String(e).split(t)),n},DC=()=>{},PC=(e,t)=>(e=+e,Number.isFinite(e)?e:t),he={isArray:h1,isArrayBuffer:t3,isBuffer:cC,isFormData:vC,isArrayBufferView:uC,isString:dC,isNumber:n3,isBoolean:hC,isObject:r3,isPlainObject:p0,isUndefined:Od,isDate:fC,isFile:mC,isBlob:pC,isRegExp:IC,isFunction:qs,isStream:bC,isURLSearchParams:yC,isTypedArray:AC,isFileList:gC,forEach:Ec,merge:Md,extend:EC,trim:TC,stripBOM:_C,inherits:xC,toFlatObject:SC,kindOf:jh,kindOfTest:Ea,endsWith:wC,toArray:CC,forEachEntry:kC,matchAll:NC,isHTMLForm:OC,hasOwnProperty:z5,hasOwnProp:z5,reduceDescriptors:i3,freezeMethods:RC,toObjectSet:LC,toCamelCase:MC,noop:DC,toFiniteNumber:PC};function $t(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}he.inherits($t,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const a3=$t.prototype,o3={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{o3[e]={value:e}});Object.defineProperties($t,o3);Object.defineProperty(a3,"isAxiosError",{value:!0});$t.from=(e,t,n,r,i,a)=>{const o=Object.create(a3);return he.toFlatObject(e,o,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),$t.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,a&&Object.assign(o,a),o};var $C=typeof self=="object"?self.FormData:window.FormData;function Id(e){return he.isPlainObject(e)||he.isArray(e)}function s3(e){return he.endsWith(e,"[]")?e.slice(0,-2):e}function H5(e,t,n){return e?e.concat(t).map(function(i,a){return i=s3(i),!n&&a?"["+i+"]":i}).join(n?".":""):t}function BC(e){return he.isArray(e)&&!e.some(Id)}const FC=he.toFlatObject(he,{},null,function(t){return/^is[A-Z]/.test(t)});function zC(e){return e&&he.isFunction(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator]}function _c(e,t,n){if(!he.isObject(e))throw new TypeError("target must be an object");t=t||new($C||FormData),n=he.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,b){return!he.isUndefined(b[p])});const r=n.metaTokens,i=n.visitor||u,a=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&zC(t);if(!he.isFunction(i))throw new TypeError("visitor must be a function");function c(m){if(m===null)return"";if(he.isDate(m))return m.toISOString();if(!l&&he.isBlob(m))throw new $t("Blob is not supported. Use a Buffer instead.");return he.isArrayBuffer(m)||he.isTypedArray(m)?l&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function u(m,p,b){let v=m;if(m&&!b&&typeof m=="object"){if(he.endsWith(p,"{}"))p=r?p:p.slice(0,-2),m=JSON.stringify(m);else if(he.isArray(m)&&BC(m)||he.isFileList(m)||he.endsWith(p,"[]")&&(v=he.toArray(m)))return p=s3(p),v.forEach(function(_,D){!(he.isUndefined(_)||_===null)&&t.append(o===!0?H5([p],D,a):o===null?p:p+"[]",c(_))}),!1}return Id(m)?!0:(t.append(H5(b,p,a),c(m)),!1)}const d=[],f=Object.assign(FC,{defaultVisitor:u,convertValue:c,isVisitable:Id});function h(m,p){if(!he.isUndefined(m)){if(d.indexOf(m)!==-1)throw Error("Circular reference detected in "+p.join("."));d.push(m),he.forEach(m,function(v,x){(!(he.isUndefined(v)||v===null)&&i.call(t,v,he.isString(x)?x.trim():x,p,f))===!0&&h(v,p?p.concat(x):[x])}),d.pop()}}if(!he.isObject(e))throw new TypeError("data must be an object");return h(e),t}function U5(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Gh(e,t){this._pairs=[],e&&_c(e,this,t)}const l3=Gh.prototype;l3.append=function(t,n){this._pairs.push([t,n])};l3.toString=function(t){const n=t?function(r){return t.call(this,r,U5)}:U5;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function HC(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function c3(e,t,n){if(!t)return e;const r=n&&n.encode||HC,i=n&&n.serialize;let a;if(i?a=i(t,n):a=he.isURLSearchParams(t)?t.toString():new Gh(t,n).toString(r),a){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class j5{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){he.forEach(this.handlers,function(r){r!==null&&t(r)})}}const u3={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},UC=typeof URLSearchParams<"u"?URLSearchParams:Gh,jC=FormData,GC=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),la={isBrowser:!0,classes:{URLSearchParams:UC,FormData:jC,Blob},isStandardBrowserEnv:GC,protocols:["http","https","file","blob","url","data"]};function qC(e,t){return _c(e,new la.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,a){return la.isNode&&he.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function WC(e){return he.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function KC(e){const t={},n=Object.keys(e);let r;const i=n.length;let a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function d3(e){function t(n,r,i,a){let o=n[a++];const s=Number.isFinite(+o),l=a>=n.length;return o=!o&&he.isArray(i)?i.length:o,l?(he.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!s):((!i[o]||!he.isObject(i[o]))&&(i[o]=[]),t(n,r,i[o],a)&&he.isArray(i[o])&&(i[o]=KC(i[o])),!s)}if(he.isFormData(e)&&he.isFunction(e.entries)){const n={};return he.forEachEntry(e,(r,i)=>{t(WC(r),i,n,0)}),n}return null}function VC(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new $t("Request failed with status code "+n.status,[$t.ERR_BAD_REQUEST,$t.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const YC=la.isStandardBrowserEnv?function(){return{write:function(n,r,i,a,o,s){const l=[];l.push(n+"="+encodeURIComponent(r)),he.isNumber(i)&&l.push("expires="+new Date(i).toGMTString()),he.isString(a)&&l.push("path="+a),he.isString(o)&&l.push("domain="+o),s===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function XC(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function QC(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function h3(e,t){return e&&!XC(t)?QC(e,t):t}const ZC=la.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(a){let o=a;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{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 r=i(window.location.href),function(o){const s=he.isString(o)?i(o):o;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}();function f1(e,t,n){$t.call(this,e==null?"canceled":e,$t.ERR_CANCELED,t,n),this.name="CanceledError"}he.inherits(f1,$t,{__CANCEL__:!0});function JC(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const eA=he.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),tA=e=>{const t={};let n,r,i;return e&&e.split(` `).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||t[n]&&eA[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},G5=Symbol("internals"),f3=Symbol("defaults");function xl(e){return e&&String(e).trim().toLowerCase()}function g0(e){return e===!1||e==null?e:he.isArray(e)?e.map(g0):String(e)}function nA(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}function q5(e,t,n,r){if(he.isFunction(r))return r.call(this,t,n);if(!!he.isString(t)){if(he.isString(r))return t.indexOf(r)!==-1;if(he.isRegExp(r))return r.test(t)}}function rA(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function iA(e,t){const n=he.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,a,o){return this[r].call(this,t,i,a,o)},configurable:!0})})}function ul(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}function Kr(e,t){e&&this.set(e),this[f3]=t||null}Object.assign(Kr.prototype,{set:function(e,t,n){const r=this;function i(a,o,s){const l=xl(o);if(!l)throw new Error("header name must be a non-empty string");const c=ul(r,l);c&&s!==!0&&(r[c]===!1||s===!1)||(r[c||o]=g0(a))}return he.isPlainObject(e)?he.forEach(e,(a,o)=>{i(a,o,t)}):i(t,e,n),this},get:function(e,t){if(e=xl(e),!e)return;const n=ul(this,e);if(n){const r=this[n];if(!t)return r;if(t===!0)return nA(r);if(he.isFunction(t))return t.call(this,r,n);if(he.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}},has:function(e,t){if(e=xl(e),e){const n=ul(this,e);return!!(n&&(!t||q5(this,this[n],n,t)))}return!1},delete:function(e,t){const n=this;let r=!1;function i(a){if(a=xl(a),a){const o=ul(n,a);o&&(!t||q5(n,n[o],o,t))&&(delete n[o],r=!0)}}return he.isArray(e)?e.forEach(i):i(e),r},clear:function(){return Object.keys(this).forEach(this.delete.bind(this))},normalize:function(e){const t=this,n={};return he.forEach(this,(r,i)=>{const a=ul(n,i);if(a){t[a]=g0(r),delete t[i];return}const o=e?rA(i):String(i).trim();o!==i&&delete t[i],t[o]=g0(r),n[o]=!0}),this},toJSON:function(e){const t=Object.create(null);return he.forEach(Object.assign({},this[f3]||null,this),(n,r)=>{n==null||n===!1||(t[r]=e&&he.isArray(n)?n.join(", "):n)}),t}});Object.assign(Kr,{from:function(e){return he.isString(e)?new this(tA(e)):e instanceof this?e:new this(e)},accessor:function(e){const n=(this[G5]=this[G5]={accessors:{}}).accessors,r=this.prototype;function i(a){const o=xl(a);n[o]||(iA(r,a),n[o]=!0)}return he.isArray(e)?e.forEach(i):i(e),this}});Kr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent"]);he.freezeMethods(Kr.prototype);he.freezeMethods(Kr);function aA(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,a=0,o;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=r[a];o||(o=c),n[i]=l,r[i]=c;let d=a,f=0;for(;d!==i;)f+=n[d++],d=d%e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),c-o<t)return;const h=u&&c-u;return h?Math.round(f*1e3/h):void 0}}function W5(e,t){let n=0;const r=aA(50,250);return i=>{const a=i.loaded,o=i.lengthComputable?i.total:void 0,s=a-n,l=r(s),c=a<=o;n=a;const u={loaded:a,total:o,progress:o?a/o:void 0,bytes:s,rate:l||void 0,estimated:l&&o&&c?(o-a)/l:void 0};u[t?"download":"upload"]=!0,e(u)}}function K5(e){return new Promise(function(n,r){let i=e.data;const a=Kr.from(e.headers).normalize(),o=e.responseType;let s;function l(){e.cancelToken&&e.cancelToken.unsubscribe(s),e.signal&&e.signal.removeEventListener("abort",s)}he.isFormData(i)&&la.isStandardBrowserEnv&&a.setContentType(!1);let c=new XMLHttpRequest;if(e.auth){const h=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(h+":"+m))}const u=h3(e.baseURL,e.url);c.open(e.method.toUpperCase(),c3(u,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function d(){if(!c)return;const h=Kr.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),p={data:!o||o==="text"||o==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:h,config:e,request:c};VC(function(v){n(v),l()},function(v){r(v),l()},p),c=null}if("onloadend"in c?c.onloadend=d:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(d)},c.onabort=function(){!c||(r(new $t("Request aborted",$t.ECONNABORTED,e,c)),c=null)},c.onerror=function(){r(new $t("Network Error",$t.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let m=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const p=e.transitional||u3;e.timeoutErrorMessage&&(m=e.timeoutErrorMessage),r(new $t(m,p.clarifyTimeoutError?$t.ETIMEDOUT:$t.ECONNABORTED,e,c)),c=null},la.isStandardBrowserEnv){const h=(e.withCredentials||ZC(u))&&e.xsrfCookieName&&YC.read(e.xsrfCookieName);h&&a.set(e.xsrfHeaderName,h)}i===void 0&&a.setContentType(null),"setRequestHeader"in c&&he.forEach(a.toJSON(),function(m,p){c.setRequestHeader(p,m)}),he.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),o&&o!=="json"&&(c.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&c.addEventListener("progress",W5(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",W5(e.onUploadProgress)),(e.cancelToken||e.signal)&&(s=h=>{!c||(r(!h||h.type?new f1(null,e,c):h),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(s),e.signal&&(e.signal.aborted?s():e.signal.addEventListener("abort",s)));const f=JC(u);if(f&&la.protocols.indexOf(f)===-1){r(new $t("Unsupported protocol "+f+":",$t.ERR_BAD_REQUEST,e));return}c.send(i||null)})}const V5={http:K5,xhr:K5},Y5={getAdapter:e=>{if(he.isString(e)){const t=V5[e];if(!e)throw Error(he.hasOwnProp(e)?`Adapter '${e}' is not available in the build`:`Can not resolve adapter '${e}'`);return t}if(!he.isFunction(e))throw new TypeError("adapter is not a function");return e},adapters:V5},oA={"Content-Type":"application/x-www-form-urlencoded"};function sA(){let e;return typeof XMLHttpRequest<"u"?e=Y5.getAdapter("xhr"):typeof process<"u"&&he.kindOf(process)==="process"&&(e=Y5.getAdapter("http")),e}function lA(e,t,n){if(he.isString(e))try{return(t||JSON.parse)(e),he.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Ws={transitional:u3,adapter:sA(),transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,a=he.isObject(t);if(a&&he.isHTMLForm(t)&&(t=new FormData(t)),he.isFormData(t))return i&&i?JSON.stringify(d3(t)):t;if(he.isArrayBuffer(t)||he.isBuffer(t)||he.isStream(t)||he.isFile(t)||he.isBlob(t))return t;if(he.isArrayBufferView(t))return t.buffer;if(he.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return qC(t,this.formSerializer).toString();if((s=he.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return _c(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return a||i?(n.setContentType("application/json",!1),lA(t)):t}],transformResponse:[function(t){const n=this.transitional||Ws.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&he.isString(t)&&(r&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(o)throw s.name==="SyntaxError"?$t.from(s,$t.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:la.classes.FormData,Blob:la.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};he.forEach(["delete","get","head"],function(t){Ws.headers[t]={}});he.forEach(["post","put","patch"],function(t){Ws.headers[t]=he.merge(oA)});function uu(e,t){const n=this||Ws,r=t||n,i=Kr.from(r.headers);let a=r.data;return he.forEach(e,function(s){a=s.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function m3(e){return!!(e&&e.__CANCEL__)}function du(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new f1}function X5(e){return du(e),e.headers=Kr.from(e.headers),e.data=uu.call(e,e.transformRequest),(e.adapter||Ws.adapter)(e).then(function(r){return du(e),r.data=uu.call(e,e.transformResponse,r),r.headers=Kr.from(r.headers),r},function(r){return m3(r)||(du(e),r&&r.response&&(r.response.data=uu.call(e,e.transformResponse,r.response),r.response.headers=Kr.from(r.response.headers))),Promise.reject(r)})}function Xl(e,t){t=t||{};const n={};function r(c,u){return he.isPlainObject(c)&&he.isPlainObject(u)?he.merge(c,u):he.isPlainObject(u)?he.merge({},u):he.isArray(u)?u.slice():u}function i(c){if(he.isUndefined(t[c])){if(!he.isUndefined(e[c]))return r(void 0,e[c])}else return r(e[c],t[c])}function a(c){if(!he.isUndefined(t[c]))return r(void 0,t[c])}function o(c){if(he.isUndefined(t[c])){if(!he.isUndefined(e[c]))return r(void 0,e[c])}else return r(void 0,t[c])}function s(c){if(c in t)return r(e[c],t[c]);if(c in e)return r(void 0,e[c])}const l={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s};return he.forEach(Object.keys(e).concat(Object.keys(t)),function(u){const d=l[u]||i,f=d(u);he.isUndefined(f)&&d!==s||(n[u]=f)}),n}const p3="1.1.3",qh={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{qh[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Q5={};qh.transitional=function(t,n,r){function i(a,o){return"[Axios v"+p3+"] Transitional option '"+a+"'"+o+(r?". "+r:"")}return(a,o,s)=>{if(t===!1)throw new $t(i(o," has been removed"+(n?" in "+n:"")),$t.ERR_DEPRECATED);return n&&!Q5[o]&&(Q5[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,o,s):!0}};function cA(e,t,n){if(typeof e!="object")throw new $t("options must be an object",$t.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const a=r[i],o=t[a];if(o){const s=e[a],l=s===void 0||o(s,a,e);if(l!==!0)throw new $t("option "+a+" must be "+l,$t.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new $t("Unknown option "+a,$t.ERR_BAD_OPTION)}}const Rd={assertOptions:cA,validators:qh},Oa=Rd.validators;class Fo{constructor(t){this.defaults=t,this.interceptors={request:new j5,response:new j5}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Xl(this.defaults,n);const{transitional:r,paramsSerializer:i}=n;r!==void 0&&Rd.assertOptions(r,{silentJSONParsing:Oa.transitional(Oa.boolean),forcedJSONParsing:Oa.transitional(Oa.boolean),clarifyTimeoutError:Oa.transitional(Oa.boolean)},!1),i!==void 0&&Rd.assertOptions(i,{encode:Oa.function,serialize:Oa.function},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();const a=n.headers&&he.merge(n.headers.common,n.headers[n.method]);a&&he.forEach(["delete","get","head","post","put","patch","common"],function(m){delete n.headers[m]}),n.headers=new Kr(n.headers,a);const o=[];let s=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(s=s&&m.synchronous,o.unshift(m.fulfilled,m.rejected))});const l=[];this.interceptors.response.forEach(function(m){l.push(m.fulfilled,m.rejected)});let c,u=0,d;if(!s){const h=[X5.bind(this),void 0];for(h.unshift.apply(h,o),h.push.apply(h,l),d=h.length,c=Promise.resolve(n);u<d;)c=c.then(h[u++],h[u++]);return c}d=o.length;let f=n;for(u=0;u<d;){const h=o[u++],m=o[u++];try{f=h(f)}catch(p){m.call(this,p);break}}try{c=X5.call(this,f)}catch(h){return Promise.reject(h)}for(u=0,d=l.length;u<d;)c=c.then(l[u++],l[u++]);return c}getUri(t){t=Xl(this.defaults,t);const n=h3(t.baseURL,t.url);return c3(n,t.params,t.paramsSerializer)}}he.forEach(["delete","get","head","options"],function(t){Fo.prototype[t]=function(n,r){return this.request(Xl(r||{},{method:t,url:n,data:(r||{}).data}))}});he.forEach(["post","put","patch"],function(t){function n(r){return function(a,o,s){return this.request(Xl(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:o}))}}Fo.prototype[t]=n(),Fo.prototype[t+"Form"]=n(!0)});class Wh{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(i=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](i);r._listeners=null}),this.promise.then=i=>{let a;const o=new Promise(s=>{r.subscribe(s),a=s}).then(i);return o.cancel=function(){r.unsubscribe(a)},o},t(function(a,o,s){r.reason||(r.reason=new f1(a,o,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Wh(function(i){t=i}),cancel:t}}}function uA(e){return function(n){return e.apply(null,n)}}function dA(e){return he.isObject(e)&&e.isAxiosError===!0}function g3(e){const t=new Fo(e),n=J6(Fo.prototype.request,t);return he.extend(n,Fo.prototype,t,{allOwnKeys:!0}),he.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return g3(Xl(e,i))},n}const mr=g3(Ws);mr.Axios=Fo;mr.CanceledError=f1;mr.CancelToken=Wh;mr.isCancel=m3;mr.VERSION=p3;mr.toFormData=_c;mr.AxiosError=$t;mr.Cancel=mr.CanceledError;mr.all=function(t){return Promise.all(t)};mr.spread=uA;mr.isAxiosError=dA;mr.formToJSON=e=>d3(he.isHTMLForm(e)?new FormData(e):e);const Tn=mr.create({baseURL:gi+"/api",headers:{"Content-Type":"application/json;charset=utf-8"},withCredentials:!1});Tn.interceptors.request.use(e=>e,e=>(console.log("Error: "+e.message),Promise.reject(e)));Tn.interceptors.response.use(e=>e.data,e=>(console.error(e),{code:e.response.status,message:e.message}));Tn.defaults.headers.common.Authorization=localStorage.getItem("token")||"";const xU=e=>{Tn.defaults.headers.common.Authorization=e!=null?e:"",localStorage.setItem("token",e!=null?e:"")},Sl=e=>!e||e.length===0?"":e.charAt(0).toUpperCase()+e.slice(1),SU=(e,t)=>e.startsWith(t)?e.slice(t.length):e;function wU(e){if(!e)return"-";const t=1024;return e<t?e+"B":e<Math.pow(t,2)?(e/t).toFixed(2)+"K":e<Math.pow(t,3)?(e/Math.pow(t,2)).toFixed(2)+"M":e<Math.pow(t,4)?(e/Math.pow(t,3)).toFixed(2)+"G":(e/Math.pow(t,4)).toFixed(2)+"T"}const dl=e=>e<10?"0"+e:e;function CU(e){const t=new Date(e),n=t.getFullYear(),r=t.getMonth()+1,i=t.getDate(),a=t.getHours(),o=t.getMinutes(),s=t.getSeconds();return n+"-"+dl(r)+"-"+dl(i)+" "+dl(a)+":"+dl(o)+":"+dl(s)}const AU=(e,t)=>{let n=e;if(n=n.replace("$name",t.name),t.ts){const r=new URL(t.d_url),i=Date.now();r.searchParams.set("alist_ts",i.toString()),t.d_url=r.toString()}return n=n.replace(/\$[eb_]*url/,r=>{const i=r.match(/[eb]/g);let a=t.raw_url;if(i)for(const o of i.reverse())o==="e"?a=encodeURIComponent(a):o==="b"&&(a=window.btoa(a));return a}),n=n.replace(/\$[eb_]*durl/,r=>{const i=r.match(/[eb]/g);let a=t.d_url;if(i)for(const o of i.reverse())o==="e"?a=encodeURIComponent(a):o==="b"&&(a=window.btoa(a));return a}),n},hA=e=>{e=e.trim();let t=e.replace(/^\/(.*)\/([a-z]*)$/,"$1"),n=e.replace(/^\/(.*)\/([a-z]*)$/,"$2");return new RegExp(t,n)},fA={"+":"-","/":"_","=":"."},mA=e=>e.replace(/[+/=]/g,t=>fA[t]),kU=e=>mA(window.btoa(e)),pA=(e,t)=>new TextDecoder(t).decode(e),xc=(e,t,n,r=!0,i=!0,a)=>{if(e.code===200)a&&kd.success(e.message),t==null||t(e.data);else{if(i&&kd.error(e.message),r&&e.code===401){Ll.emit("to",`/@login?redirect=${encodeURIComponent(location.pathname)}`);return}n==null||n(e.message,e.code)}},NU=(e,t,n,r=!0)=>xc(e,t,n,r,!1),gA=(e,t,n)=>xc(e,t,n,!1,!1),OU=(e,t,n,r=!0,i=!0)=>xc(e,t,n,r,i,!0),b3=()=>"rgba(132,133,141,0.18)",bA=()=>pc("$whiteAlpha10","$blackAlpha11")(),MU=(e="/",t="")=>Tn.post("/fs/get",{path:e,password:t}),IU=(e="/",t="",n=1,r=0,i=!1,a)=>Tn.post("/fs/list",{path:e,password:t,page:n,per_page:r,refresh:i},{cancelToken:a}),RU=(e="/",t="",n=!1)=>Tn.post("/fs/dirs",{path:e,password:t,force_root:n}),LU=e=>Tn.post("/fs/mkdir",{path:e}),DU=(e,t)=>Tn.post("/fs/rename",{path:e,name:t}),PU=(e,t)=>Tn.post("/fs/batch_rename",{src_dir:e,rename_objects:t}),$U=(e,t,n)=>Tn.post("/fs/move",{src_dir:e,dst_dir:t,names:n}),BU=(e,t)=>Tn.post("/fs/recursive_move",{src_dir:e,dst_dir:t}),FU=(e,t,n)=>Tn.post("/fs/copy",{src_dir:e,dst_dir:t,names:n}),zU=(e,t)=>Tn.post("/fs/remove",{dir:e,names:t}),HU=e=>Tn.post("/fs/remove_empty_directory",{src_dir:e}),UU=(e,t)=>Tn.put("/fs/put",void 0,{headers:{"File-Path":encodeURIComponent(e),Password:t}}),jU=(e,t,n,r)=>Tn.post("/fs/add_offline_download",{path:e,urls:t,tool:n,delete_policy:r}),v3=async(e,t=!0)=>{try{const n=await mr.get(e,{responseType:"blob",params:t?{alist_ts:new Date().getTime()}:void 0}),r=await n.data.arrayBuffer(),i=n.headers["content-type"];return{content:r,contentType:i}}catch(n){return t?await v3(e,!1):{content:`Failed to fetch ${e}: ${n}`,contentType:""}}},GU=async(e,t,n="",r=0,i=1,a=100)=>Tn.post("/fs/search",{parent:e,keywords:t,scope:r,page:i,per_page:a,password:n}),qU=async(e=["/"],t=-1)=>Tn.post("/admin/index/build",{paths:e,max_depth:t}),WU=async(e=[],t=-1)=>Tn.post("/admin/index/update",{paths:e,max_depth:t});var y3={exports:{}},hu={exports:{}},Z5;function vA(){return Z5||(Z5=1,function(e){(function(t){var n={bytesToHex:function(a){return r(a)},hexToBytes:function(a){if(a.length%2===1)throw new Error("hexToBytes can't have a string with an odd number of characters.");return a.indexOf("0x")===0&&(a=a.slice(2)),a.match(/../g).map(function(o){return parseInt(o,16)})}};function r(a){return a.map(function(o){return i(o.toString(16),2)}).join("")}function i(a,o){return a.length>o?a:Array(o-a.length+1).join("0")+a}e.exports?e.exports=n:t.convertHex=n})(Ua)}(hu)),hu.exports}var fu={exports:{}},J5;function yA(){return J5||(J5=1,function(e){(function(t){var n={bytesToString:function(r){return r.map(function(i){return String.fromCharCode(i)}).join("")},stringToBytes:function(r){return r.split("").map(function(i){return i.charCodeAt(0)})}};n.UTF8={bytesToString:function(r){return decodeURIComponent(escape(n.bytesToString(r)))},stringToBytes:function(r){return n.stringToBytes(unescape(encodeURIComponent(r)))}},e.exports?e.exports=n:t.convertString=n})(Ua)}(fu)),fu.exports}(function(e){(function(t){var n={};e.exports?(n.bytesToHex=vA().bytesToHex,n.convertString=yA(),e.exports=l):(n.bytesToHex=t.convertHex.bytesToHex,n.convertString=t.convertString,t.sha256=l);var r=[];(function(){function c(h){for(var m=Math.sqrt(h),p=2;p<=m;p++)if(!(h%p))return!1;return!0}function u(h){return(h-(h|0))*4294967296|0}for(var d=2,f=0;f<64;)c(d)&&(r[f]=u(Math.pow(d,1/3)),f++),d++})();var i=function(c){for(var u=[],d=0,f=0;d<c.length;d++,f+=8)u[f>>>5]|=c[d]<<24-f%32;return u},a=function(c){for(var u=[],d=0;d<c.length*32;d+=8)u.push(c[d>>>5]>>>24-d%32&255);return u},o=[],s=function(c,u,d){for(var f=c[0],h=c[1],m=c[2],p=c[3],b=c[4],v=c[5],x=c[6],_=c[7],D=0;D<64;D++){if(D<16)o[D]=u[d+D]|0;else{var I=o[D-15],C=(I<<25|I>>>7)^(I<<14|I>>>18)^I>>>3,w=o[D-2],R=(w<<15|w>>>17)^(w<<13|w>>>19)^w>>>10;o[D]=C+o[D-7]+R+o[D-16]}var L=b&v^~b&x,Q=f&h^f&m^h&m,K=(f<<30|f>>>2)^(f<<19|f>>>13)^(f<<10|f>>>22),J=(b<<26|b>>>6)^(b<<21|b>>>11)^(b<<7|b>>>25),oe=_+J+L+r[D]+o[D],se=K+Q;_=x,x=v,v=b,b=p+oe|0,p=m,m=h,h=f,f=oe+se|0}c[0]=c[0]+f|0,c[1]=c[1]+h|0,c[2]=c[2]+m|0,c[3]=c[3]+p|0,c[4]=c[4]+b|0,c[5]=c[5]+v|0,c[6]=c[6]+x|0,c[7]=c[7]+_|0};function l(c,u){c.constructor===String&&(c=n.convertString.UTF8.stringToBytes(c));var d=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],f=i(c),h=c.length*8;f[h>>5]|=128<<24-h%32,f[(h+64>>9<<4)+15]=h;for(var m=0;m<f.length;m+=16)s(d,f,m);var p=a(d);return u&&u.asBytes?p:u&&u.asString?n.convertString.bytesToString(p):n.bytesToHex(p)}l.x2=function(c,u){return l(l(c,{asBytes:!0}),u)}})(Ua)})(y3);const KU=y3.exports,Kh={};document.addEventListener("keydown",e=>{Kh[e.key]=!0});document.addEventListener("keyup",e=>{delete Kh[e.key]});const Sc=typeof window<"u"?window.navigator.userAgent:"",H0=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(Sc);/^((?!chrome|android).)*safari/i.test(Sc);/MicroMessenger/i.test(Sc);/MSIE|Trident/i.test(Sc);var wp,Cp,Ap;const VU=(Ap=(Cp=(wp=window==null?void 0:window.navigator)==null?void 0:wp.platform)!=null?Cp:"")==null?void 0:Ap.includes("Mac"),[Vh,TA,{remove:YU,clear:XU,toJSON:QU}]=Zw(),EA=[{key:"aria2_rpc_url",default:"http://localhost:6800/jsonrpc"},{key:"aria2_rpc_secret",default:""},{key:"global_default_layout",default:"list",type:"select",options:["list","grid","image"]},{key:"show_folder_in_image_view",default:"top",type:"select",options:["top","bottom","none"]},{key:"show_sidebar",default:"none",type:"select",options:["none","visible"]},{key:"position_of_header_navbar",default:"static",type:"select",options:["static","sticky","only_navbar_sticky"]},{key:"grid_item_size",default:"90",type:"number"},{key:"list_item_filename_overflow",default:"ellipsis",type:"select",options:["ellipsis","scrollable","multi_line"]},{key:"open_item_on_checkbox",default:"direct",type:"select",options:()=>H0?["direct","disable_while_checked"]:["direct","disable_while_checked","with_alt","with_ctrl"]},{key:"select_with_mouse",default:"disabled",type:"select",options:["disabled","open_item_with_dblclick"],hidden:H0}];for(const e of EA)Vh[e.key]||TA(e.key,e.default);var T3=(e=>(e[e.Initial=0]="Initial",e[e.FetchingObj=1]="FetchingObj",e[e.FetchingObjs=2]="FetchingObjs",e[e.FetchingMore=3]="FetchingMore",e[e.Folder=4]="Folder",e[e.File=5]="File",e[e.NeedPassword=6]="NeedPassword",e))(T3||{});const[Ja,Vn]=Zn({obj:{},raw_url:"",related:[],objs:[],total:0,readme:"",header:"",provider:"",state:0,err:""}),[Ka,Dl]=qe(0),_A=e=>{Dl(0),hs={index:-1,selected:!1},Vn("objs",e),Vn("obj","is_dir",!0)},ZU={setObj:e=>{Vn("obj",e)},setRawUrl:e=>{Vn("raw_url",e)},setProvider:e=>{Vn("provider",e)},setObjs:_A,setTotal:e=>{Vn("total",e)},setReadme:e=>Vn("readme",e),setHeader:e=>Vn("header",e),setRelated:e=>Vn("related",e),setWrite:e=>Vn("write",e),setState:e=>Vn("state",e),setErr:e=>Vn("err",e)},JU=(e,t)=>{Vn("objs",bh(n=>n.sort((r,i)=>(t?-1:1)*Xw(r[e],i[e]))))},ej=e=>{Vn("objs",bh(t=>t.push(...e)))};let hs={index:-1,selected:!1};const tj=(e,t,n)=>{if(Kh.Shift&&hs.index!==-1&&hs.selected===t){const r=Math.min(hs.index,e),i=Math.max(hs.index,e),a=Ja.objs.slice(r,i+1).filter(s=>s.selected).length;Vn("objs",{from:r,to:i},()=>({selected:t}));const o=Ka()-a+(t?i-r+1:0);Dl(o)}else Vn("objs",e,bh(r=>{r.selected!==t&&Dl(t?Ka()+1:Ka()-1),r.selected=t}));hs={index:e,selected:t},n&&Dl(t?1:0)},nj=e=>{Dl(e?Ja.objs.length:0),Vn("objs",{},t=>({selected:e}))},em=()=>Ja.objs.filter(e=>e.selected),rj=()=>Ja.objs.length===Ka(),ij=()=>Ka()===1,aj=()=>Ka()>0,oj=()=>Ka()>0&&Ka()<Ja.objs.length,[Yh,xA]=qe(location.pathname),U0=(()=>{try{return JSON.parse(localStorage.getItem("layoutRecord")||"{}")}catch{return{}}})();Ll.on("pathname",e=>xA(e));const[SA,E3]=qe(U0[Yh()]||Vh.global_default_layout),sj=()=>{const e=U0[Yh()];return E3(e||Vh.global_default_layout),SA()},lj=e=>{U0[Yh()]=e,localStorage.setItem("layoutRecord",JSON.stringify(U0)),E3(e)},[wA,CA]=Z6("checkbox-open","false"),AA=()=>wA()==="true",cj=()=>{CA(AA()?"false":"true")},[uj,kA]=qe(_r.getItem("browser-password")||""),dj=e=>{kA(e),_r.setItem("browser-password",e)},Ld={},NA=e=>{Object.keys(e).forEach(n=>{Ld[n]=e[n]});const t=Ld.version||"Unknown";console.log(`%c AList %c ${t} %c https://github.com/Xhofe/alist`,"color: #fff; background: #5f5f5f","color: #fff; background: #70c6be","")},Ks=e=>{var t;return(t=Ld[e])!=null?t:""},hj=e=>{const t=Ks(e);return t==="true"||t==="1"},OA=(e,t)=>{const n=Ks(e);return n?Number(n):t!=null?t:0},zo=()=>window.ALIST.main_color?window.ALIST.main_color:Ks("main_color")||"#1890ff";let z1={};const mu=e=>{if(!z1[e])try{z1[e]=JSON.parse(Ks(e))}catch(t){console.error(`failed parse ${e}, use default`,t),z1[e]={}}return z1[e]},_3=(e,t)=>{const n=lC(e).toLowerCase(),r=[];for(const i in mu(t))i.startsWith("/")?hA(i).test(n)&&r.push(...F5(mu(t)[i])):i.split(",").includes(n)&&r.push(...F5(mu(t)[i]));return r},fj=e=>_3(e,"external_previews"),mj=e=>_3(e,"iframe_previews"),pj=()=>({type:Ks("pagination_type")||"all",size:OA("default_page_size",30)});let pu;const tm=()=>(pu||(pu=Ks("hide_files").split(/\n/g).filter(e=>!!e.trim()).map(e=>{e=e.trim();let t=e.replace(/^\/(.*)\/([a-z]*)$/,"$1"),n=e.replace(/^\/(.*)\/([a-z]*)$/,"$2");return new RegExp(t,n)})),pu);var MA=(e=>(e[e.GENERAL=0]="GENERAL",e[e.GUEST=1]="GUEST",e[e.ADMIN=2]="ADMIN",e))(MA||{});const IA=["see_hides","access_without_password","offline_download","write","rename","move","copy","delete","webdav_read","webdav_manage"],x3={is_guest:e=>e.role===1,is_admin:e=>e.role===2,is_general:e=>e.role===0,can:(e,t)=>x3.is_admin(e)||(e.permission>>t&1)==1},[Xh,RA]=qe({}),gj=e=>{const t=Xh();return x3.can(t,IA.indexOf(e))},Qh=()=>A(js,{h:"100vh",get children(){return A(d1,{thickness:"4px",speed:"0.65s",emptyColor:"$neutral4",get color(){return zo()},size:"xl"})}}),LA=e=>{const t=ie({py:"$8",size:"xl",thickness:4},e);return A(js,{ref(n){const r=e.ref;typeof r=="function"?r(n):e.ref=n},h:"$full",w:"$full",get py(){return t.py},get children(){return A(d1,{get thickness(){return`${t.thickness}px`},speed:"0.65s",emptyColor:"$neutral4",get color(){return zo()},get size(){return t.size}})}})},bj=e=>A(We,{get when(){return!e.loading},get fallback(){return A(LA,{})},get children(){return e.children}}),vj=e=>A(js,{w:"$full",h:"$full",get children(){return A(d1,ie({get color(){return zo()}},e))}}),DA=en('<svg fill="currentColor" stroke-width="0" xmlns="http://www.w3.org/2000/svg"></svg>'),PA=en("<title></title>");function nt(e,t){return(()=>{const n=DA.cloneNode(!0);return N0(n,()=>e.a,!0,!0),N0(n,t,!0,!0),vi(n,(()=>{const r=bi(()=>!!t.title,!0);return()=>r()&&(()=>{const i=PA.cloneNode(!0);return vi(i,()=>t.title),i})()})()),ar(r=>{const i=e.a.stroke,a={...t.style,overflow:"visible",color:t.color},o=t.size||"1em",s=t.size||"1em",l=e.c;return i!==r._v$&&wt(n,"stroke",r._v$=i),r._v$2=jp(n,a,r._v$2),o!==r._v$3&&wt(n,"height",r._v$3=o),s!==r._v$4&&wt(n,"width",r._v$4=s),l!==r._v$5&&(n.innerHTML=r._v$5=l),r},{_v$:void 0,_v$2:void 0,_v$3:void 0,_v$4:void 0,_v$5:void 0}),n})()}function $A(e){return nt({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M12 19V5M5 12l7-7 7 7"/>'},e)}function yj(e){return nt({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 00-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0020 4.77 5.07 5.07 0 0019.91 1S18.73.65 16 2.48a13.38 13.38 0 00-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 005 4.77a5.44 5.44 0 00-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 009 18.13V22"/>'},e)}function Tj(e){return nt({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M15 3h4a2 2 0 012 2v14a2 2 0 01-2 2h-4M10 17l5-5-5-5M15 12H3"/>'},e)}function BA(e){return nt({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"/>'},e)}function FA(e){return nt({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<circle cx="12" cy="12" r="5"/><path d="M12 1v2M12 21v2M4.22 4.22l1.42 1.42M18.36 18.36l1.42 1.42M1 12h2M21 12h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42"/>'},e)}const zA=()=>{const{toggleColorMode:e}=Ig(),t=pc({size:"$8",component:BA,p:"$0_5"},{size:"$8",component:FA,p:"$0_5"});return A(Wo,{cursor:"pointer",get boxSize(){return t().size},get as(){return t().component},onClick:e,get p(){return t().p}})},HA="modulepreload",UA=function(e){return window.__dynamic_base__+"/"+e},nm={},Ga=function(t,n,r){return!n||n.length===0?t():Promise.all(n.map(i=>{if(i=UA(i),i in nm)return;nm[i]=!0;const a=i.endsWith(".css"),o=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${i}"]${o}`))return;const s=document.createElement("link");if(s.rel=a?"stylesheet":HA,a||(s.as="script",s.crossOrigin=""),s.href=i,document.head.appendChild(s),a)return new Promise((l,c)=>{s.addEventListener("load",l),s.addEventListener("error",()=>c(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())},S3="English",Ej={lang:S3},w3="Japanese (\u65E5\u672C\u8A9E)",_j={lang:w3},C3="\u7B80\u4F53\u4E2D\u6587",xj={lang:C3},A3="\u7E41\u9AD4\u4E2D\u6587",Sj={lang:A3},rm=Object.assign({"/src/lang/en/index.json":S3,"/src/lang/ja-JP/index.json":w3,"/src/lang/zh-CN/index.json":C3,"/src/lang/zh-TW/index.json":A3}),Ql=[];for(const e in rm){const t=e.split("/")[3];Ql.push({code:t,lang:rm[e]})}var kp,Np;const jA=((kp=Ql.find(e=>e.code.toLowerCase()===navigator.language.toLowerCase()))==null?void 0:kp.code)||((Np=Ql.find(e=>e.code.toLowerCase().split("-")[0]===navigator.language.toLowerCase().split("-")[0]))==null?void 0:Np.code)||"en";var Op;let Va=(Op=localStorage.getItem("lang"))!=null?Op:"";(!Va||!Ql.find(e=>e.code===Va))&&(Va=jA);const Zh={},im=Object.assign({"/src/lang/en/entry.ts":()=>Ga(()=>import("./entry.595e77c3.js"),[]),"/src/lang/ja-JP/entry.ts":()=>Ga(()=>import("./entry.d8b0678c.js"),[]),"/src/lang/zh-CN/entry.ts":()=>Ga(()=>import("./entry.f38d7477.js"),[]),"/src/lang/zh-TW/entry.ts":()=>Ga(()=>import("./entry.563e18f4.js"),[])});for(const e in im){const t=e.split("/")[3];Zh[t]=im[e]}const Dd=new Set,GA=Yw({},Va),[wj,qA]=qe(Va);function Cj(e){return nt({a:{viewBox:"0 0 512 512"},c:'<path d="M408 480H184a72 72 0 01-72-72V184a72 72 0 0172-72h224a72 72 0 0172 72v224a72 72 0 01-72 72z"/><path d="M160 80h235.88A72.12 72.12 0 00328 32H104a72 72 0 00-72 72v224a72.12 72.12 0 0048 67.88V160a80 80 0 0180-80z"/>'},e)}function Aj(e){return nt({a:{viewBox:"0 0 512 512"},c:'<path d="M336 376V272H191a16 16 0 010-32h145V136a56.06 56.06 0 00-56-56H88a56.06 56.06 0 00-56 56v240a56.06 56.06 0 0056 56h192a56.06 56.06 0 0056-56zM425.37 272l-52.68 52.69a16 16 0 0022.62 22.62l80-80a16 16 0 000-22.62l-80-80a16 16 0 00-22.62 22.62L425.37 240H336v32z"/>'},e)}function kj(e){return nt({a:{viewBox:"0 0 512 512"},c:'<path d="M63.28 202a15.29 15.29 0 01-7.7-2 14.84 14.84 0 01-5.52-20.46C69.34 147.36 128 72.25 256 72.25c55.47 0 104.12 14.57 144.53 43.29 33.26 23.57 51.9 50.25 60.78 63.1a14.79 14.79 0 01-4 20.79 15.52 15.52 0 01-21.24-4C420 172.32 371 102 256 102c-112.25 0-163 64.71-179.53 92.46A15 15 0 0163.28 202z"/><path d="M320.49 496a15.31 15.31 0 01-3.79-.43c-92.85-23-127.52-115.82-128.93-119.68l-.22-.85c-.76-2.68-19.39-66.33 9.21-103.61 13.11-17 33.05-25.72 59.38-25.72 24.48 0 42.14 7.61 54.28 23.36 10 12.86 14 28.72 17.87 44 8.13 31.82 14 48.53 47.79 50.25 14.84.75 24.59-7.93 30.12-15.32 14.95-20.15 17.55-53 6.28-82C398 228.57 346.61 158 256 158c-38.68 0-74.22 12.43-102.72 35.79-23.59 19.35-42.28 46.67-51.28 74.75-16.69 52.28 5.2 134.46 5.41 135.21A14.83 14.83 0 0196.54 422a15.39 15.39 0 01-18.74-10.6c-1-3.75-24.38-91.4-5.1-151.82 21-65.47 85.81-131.47 183.33-131.47 45.07 0 87.65 15.32 123.19 44.25 27.52 22.5 50 52.72 61.76 82.93 14.95 38.57 10.94 81.86-10.19 110.14-14.08 18.86-34.13 28.72-56.34 27.65-57.86-2.9-68.26-43.29-75.84-72.75-7.8-30.22-12.79-44.79-42.58-44.79-16.36 0-27.85 4.5-35 13.82-9.75 12.75-10.51 32.68-9.43 47.14a152.44 152.44 0 005.1 29.79c2.38 6 33.37 82 107.59 100.39a14.88 14.88 0 0111 18.11 15.36 15.36 0 01-14.8 11.21z"/><path d="M201.31 489.14a15.5 15.5 0 01-11.16-4.71c-37.16-39-58.18-82.61-66.09-137.14V347c-4.44-36.1 2.06-87.21 33.91-122.35 23.51-25.93 56.56-39.11 98.06-39.11 49.08 0 87.65 22.82 111.7 65.89 17.45 31.29 20.91 62.47 21 63.75a15.07 15.07 0 01-13.65 16.4 15.26 15.26 0 01-16.79-13.29A154 154 0 00340.43 265c-18.64-32.89-47-49.61-84.51-49.61-32.4 0-57.75 9.75-75.19 29-25.14 27.75-30 70.5-26.55 98.78 6.93 48.22 25.46 86.58 58.18 120.86a14.7 14.7 0 01-.76 21.11 15.44 15.44 0 01-10.29 4z"/><path d="M372.5 446.18c-32.5 0-60.13-9-82.24-26.89-44.42-35.79-49.4-94.08-49.62-96.54a15.27 15.27 0 0130.45-2.36c.11.86 4.55 48.54 38.79 76 20.26 16.18 47.34 22.6 80.71 18.85a15.2 15.2 0 0116.91 13.18 14.92 14.92 0 01-13.44 16.5 187 187 0 01-21.56 1.26zM398.18 48.79C385.5 40.54 340.54 16 256 16c-88.74 0-133.81 27.11-143.78 34a11.59 11.59 0 00-1.84 1.4.36.36 0 01-.22.1 14.87 14.87 0 00-5.09 11.15 15.06 15.06 0 0015.31 14.85 15.56 15.56 0 008.88-2.79c.43-.32 39.22-28.82 126.77-28.82S382.58 74.29 383 74.5a15.25 15.25 0 009.21 3 15.06 15.06 0 0015.29-14.89 14.9 14.9 0 00-9.32-13.82z"/>'},e)}function Nj(e){return nt({a:{viewBox:"0 0 512 512"},c:'<path d="M496 152a56 56 0 00-56-56H220.11a23.89 23.89 0 01-13.31-4L179 73.41A55.77 55.77 0 00147.89 64H72a56 56 0 00-56 56v48a8 8 0 008 8h464a8 8 0 008-8zM16 392a56 56 0 0056 56h368a56 56 0 0056-56V216a8 8 0 00-8-8H24a8 8 0 00-8 8z"/>'},e)}function Oj(e){return nt({a:{viewBox:"0 0 512 512"},c:'<path d="M261.56 101.28a8 8 0 00-11.06 0L66.4 277.15a8 8 0 00-2.47 5.79L63.9 448a32 32 0 0032 32H192a16 16 0 0016-16V328a8 8 0 018-8h80a8 8 0 018 8v136a16 16 0 0016 16h96.06a32 32 0 0032-32V282.94a8 8 0 00-2.47-5.79z"/><path d="M490.91 244.15l-74.8-71.56V64a16 16 0 00-16-16h-48a16 16 0 00-16 16v32l-57.92-55.38C272.77 35.14 264.71 32 256 32c-8.68 0-16.72 3.14-22.14 8.63l-212.7 203.5c-6.22 6-7 15.87-1.34 22.37A16 16 0 0043 267.56L250.5 69.28a8 8 0 0111.06 0l207.52 198.28a16 16 0 0022.59-.44c6.14-6.36 5.63-16.86-.76-22.97z"/>'},e)}function WA(e){return nt({a:{viewBox:"0 0 512 512"},c:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M48 112h288M192 64v48M272 448l96-224 96 224M301.5 384h133M281.3 112S257 206 199 277 80 384 80 384"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M256 336s-35-27-72-75-56-85-56-85"/>'},e)}function Mj(e){return nt({a:{viewBox:"0 0 512 512"},c:'<path fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" d="M421.83 293.82A144 144 0 00218.18 90.17M353.94 225.94a48 48 0 00-67.88-67.88"/><path stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M192 464v-48M90.18 421.82l33.94-33.94M48 320h48"/><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M286.06 158.06L172.92 271.19a32 32 0 01-45.25 0L105 248.57a32 32 0 010-45.26L218.18 90.17M421.83 293.82L308.69 407a32 32 0 01-45.26 0l-22.62-22.63a32 32 0 010-45.26l113.13-113.17M139.6 169.98l67.88 67.89M275.36 305.75l67.89 67.88"/>'},e)}const[KA,am]=qe(!1),VA=e=>{const[,{locale:t,add:n}]=zh(),r=async i=>{Dd.has(i)||(am(!0),n(i,(await Zh[i]()).default),am(!1),Dd.add(i)),t(i),qA(i),localStorage.setItem("lang",i)};return[A(vS,{get children(){return[A(e6,ie({cursor:"pointer"},e)),A(X2,{get children(){return A(Fs,{each:Ql,children:(i,a)=>A(Z2,{onSelect:()=>{r(i.code)},get children(){return i.lang}})})}})]}}),A(We,{get when(){return KA()},get children(){return A(ro,{get children(){return A(js,{h:"$full",w:"$full",pos:"fixed",top:0,get bg(){return pc("$blackAlpha4","$whiteAlpha4")()},zIndex:"9000",get children(){return A(d1,{thickness:"4px",speed:"0.65s",emptyColor:"$neutral4",color:"$info10",size:"xl"})}})}})}})]},Ij=()=>A(VA,{as:WA,boxSize:"$8"}),k3=(e,t,n)=>{const[r,i]=qe(n!=null?n:!1);return[r,async(...a)=>{i(!0);const o=await e(...a);return(!t||o.code!==401)&&i(!1),o}]},YA=(e,t)=>k3(e,!0,t),XA=(e,t,n)=>{const[r,i]=qe(n);return[r,async(a,...o)=>{i(()=>a);const s=await e(a,...o);return(!t||s.code!==401)&&i(void 0),s}]},Rj=(e,t)=>XA(e,!0,t),wc=()=>{const e=Yp(),t=Xp(),[n,r]=qv(),i=Gv(),a=vt(()=>sC(t.pathname));return{to:(o,s,l)=>{!s&&o.startsWith("/")&&(o=oC(o)),e(o,l)},replace:o=>{e(Nd(qo(Hh(t.pathname),o),!0))},pushHref:o=>Nd(qo(a(),o)),back:()=>{e(-1)},forward:()=>{e(1)},pathname:a,searchParams:n,setSearchParams:r,params:i}},Cc=()=>{const[e]=zh();return(t,n,r)=>{const i=e(t,n,r);if(!i){let a=t.lastIndexOf(".");a===t.length-1&&(a=t.lastIndexOf(".",a-1));const o=t.slice(a+1);return Sl(o).split("_").join(" ")}return i}},QA=(e,t,n="direct",r)=>{n!=="preview"&&(e=qo(Xh().base_path,e)),e=iC(e,!0);let i=`${e}/${t.name}`;i=Nd(i,r);let a=gi,o=n==="direct"?"/d":"/p";n==="preview"&&(o="",gi.startsWith(location.origin)||(a=location.origin));let s=`${a}${o}${i}`;return n!=="preview"&&t.sign&&(s+=`?sign=${t.sign}`),s},Jh=()=>{const{pathname:e}=wc(),t=(r,i,a)=>{const o=Ja.state!==T3.File?e():Hh(e());return QA(o,r,i,a)},n=(r,i)=>t(r,"direct",i);return{getLinkByObj:t,rawLink:n,proxyLink:(r,i)=>t(r,"proxy",i),previewPage:(r,i)=>t(r,"preview",i),currentObjLink:r=>n(Ja.obj,r)}},ZA=()=>{const{previewPage:e,rawLink:t}=Jh(),n=r=>em().filter(i=>!i.is_dir).map(i=>t(i,r));return{rawLinks:n,previewPagesText:()=>em().map(r=>e(r,!0)).join(` `),rawLinksText:r=>n(r).join(` `)}},Lj=()=>{const{copy:e}=ak(),{previewPagesText:t,rawLinksText:n}=ZA(),{currentObjLink:r}=Jh();return{copySelectedPreviewPage:()=>{e(t())},copySelectedRawLink:i=>{e(n(i))},copyCurrentRawLink:i=>{e(r(i))}}};var JA=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||n.forEach(function(i){e.addRange(i)}),t&&t.focus()}},ek=JA,om={"text/plain":"Text","text/html":"Url",default:"Text"},tk="Copy to clipboard: #{key}, Enter";function nk(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}function rk(e,t){var n,r,i,a,o,s,l=!1;t||(t={}),n=t.debug||!1;try{i=ek(),a=document.createRange(),o=document.getSelection(),s=document.createElement("span"),s.textContent=e,s.ariaHidden="true",s.style.all="unset",s.style.position="fixed",s.style.top=0,s.style.clip="rect(0, 0, 0, 0)",s.style.whiteSpace="pre",s.style.webkitUserSelect="text",s.style.MozUserSelect="text",s.style.msUserSelect="text",s.style.userSelect="text",s.addEventListener("copy",function(u){if(u.stopPropagation(),t.format)if(u.preventDefault(),typeof u.clipboardData>"u"){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var d=om[t.format]||om.default;window.clipboardData.setData(d,e)}else u.clipboardData.clearData(),u.clipboardData.setData(t.format,e);t.onCopy&&(u.preventDefault(),t.onCopy(u.clipboardData))}),document.body.appendChild(s),a.selectNodeContents(s),o.addRange(a);var c=document.execCommand("copy");if(!c)throw new Error("copy command was unsuccessful");l=!0}catch(u){n&&console.error("unable to copy using execCommand: ",u),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),l=!0}catch(d){n&&console.error("unable to copy using clipboardData: ",d),n&&console.error("falling back to prompt"),r=nk("message"in t?t.message:tk),window.prompt(r,e)}}finally{o&&(typeof o.removeRange=="function"?o.removeRange(a):o.removeAllRanges()),s&&document.body.removeChild(s),i()}return l}var ik=rk;const ak=()=>{const e=Cc(),{pathname:t}=wc();return{copy:n=>{ik(n),kd.success(e("global.copied"))},isHide:n=>{const r=tm();for(const i of r)if(i.test(qo(t(),n.name)))return!0;return!1},isHidePath:n=>{const r=tm();for(const i of r)if(i.test(n))return!0;return!1}}};function Dj(){const{proxyLink:e}=Jh();return Rp("",async()=>v3(e(Ja.obj,!0)))}function ok(e){const t=typeof e=="string";return{isString:t,text:(r="utf-8")=>e?t?e:pA(e,r):""}}/*! Highlight.js v11.4.0 (git: 2d0e7c1094) (c) 2006-2022 Ivan Sagalaev and other contributors License: BSD-3-Clause */var N3=function(){var e={exports:{}};function t(E){return E instanceof Map?E.clear=E.delete=E.set=()=>{throw Error("map is read-only")}:E instanceof Set&&(E.add=E.clear=E.delete=()=>{throw Error("set is read-only")}),Object.freeze(E),Object.getOwnPropertyNames(E).forEach(O=>{var G=E[O];typeof G!="object"||Object.isFrozen(G)||t(G)}),E}e.exports=t,e.exports.default=t;var n=e.exports;class r{constructor(O){O.data===void 0&&(O.data={}),this.data=O.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function i(E){return E.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function a(E,...O){const G=Object.create(null);for(const X in E)G[X]=E[X];return O.forEach(X=>{for(const ue in X)G[ue]=X[ue]}),G}const o=E=>!!E.kind;class s{constructor(O,G){this.buffer="",this.classPrefix=G.classPrefix,O.walk(this)}addText(O){this.buffer+=i(O)}openNode(O){if(!o(O))return;let G=O.kind;G=O.sublanguage?"language-"+G:((X,{prefix:ue})=>{if(X.includes(".")){const V=X.split(".");return[`${ue}${V.shift()}`,...V.map((le,re)=>`${le}${"_".repeat(re+1)}`)].join(" ")}return`${ue}${X}`})(G,{prefix:this.classPrefix}),this.span(G)}closeNode(O){o(O)&&(this.buffer+="</span>")}value(){return this.buffer}span(O){this.buffer+=`<span class="${O}">`}}class l{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(O){this.top.children.push(O)}openNode(O){const G={kind:O,children:[]};this.add(G),this.stack.push(G)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(O){return this.constructor._walk(O,this.rootNode)}static _walk(O,G){return typeof G=="string"?O.addText(G):G.children&&(O.openNode(G),G.children.forEach(X=>this._walk(O,X)),O.closeNode(G)),O}static _collapse(O){typeof O!="string"&&O.children&&(O.children.every(G=>typeof G=="string")?O.children=[O.children.join("")]:O.children.forEach(G=>{l._collapse(G)}))}}class c extends l{constructor(O){super(),this.options=O}addKeyword(O,G){O!==""&&(this.openNode(G),this.addText(O),this.closeNode())}addText(O){O!==""&&this.add(O)}addSublanguage(O,G){const X=O.root;X.kind=G,X.sublanguage=!0,this.add(X)}toHTML(){return new s(this,this.options).value()}finalize(){return!0}}function u(E){return E?typeof E=="string"?E:E.source:null}function d(E){return m("(?=",E,")")}function f(E){return m("(?:",E,")*")}function h(E){return m("(?:",E,")?")}function m(...E){return E.map(O=>u(O)).join("")}function p(...E){const O=(G=>{const X=G[G.length-1];return typeof X=="object"&&X.constructor===Object?(G.splice(G.length-1,1),X):{}})(E);return"("+(O.capture?"":"?:")+E.map(G=>u(G)).join("|")+")"}function b(E){return RegExp(E.toString()+"|").exec("").length-1}const v=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function x(E,{joinWith:O}){let G=0;return E.map(X=>{G+=1;const ue=G;let V=u(X),le="";for(;V.length>0;){const re=v.exec(V);if(!re){le+=V;break}le+=V.substring(0,re.index),V=V.substring(re.index+re[0].length),re[0][0]==="\\"&&re[1]?le+="\\"+(Number(re[1])+ue):(le+=re[0],re[0]==="("&&G++)}return le}).map(X=>`(${X})`).join(O)}const _="[a-zA-Z]\\w*",D="[a-zA-Z_]\\w*",I="\\b\\d+(\\.\\d+)?",C="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",w="\\b(0b[01]+)",R={begin:"\\\\[\\s\\S]",relevance:0},L={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[R]},Q={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[R]},K=(E,O,G={})=>{const X=a({scope:"comment",begin:E,end:O,contains:[]},G);X.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const ue=p("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return X.contains.push({begin:m(/[ ]+/,"(",ue,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),X},J=K("//","$"),oe=K("/\\*","\\*/"),se=K("#","$");var de=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:_,UNDERSCORE_IDENT_RE:D,NUMBER_RE:I,C_NUMBER_RE:C,BINARY_NUMBER_RE:w,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(E={})=>{const O=/^#![ ]*\//;return E.binary&&(E.begin=m(O,/.*\b/,E.binary,/\b.*/)),a({scope:"meta",begin:O,end:/$/,relevance:0,"on:begin":(G,X)=>{G.index!==0&&X.ignoreMatch()}},E)},BACKSLASH_ESCAPE:R,APOS_STRING_MODE:L,QUOTE_STRING_MODE:Q,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT:K,C_LINE_COMMENT_MODE:J,C_BLOCK_COMMENT_MODE:oe,HASH_COMMENT_MODE:se,NUMBER_MODE:{scope:"number",begin:I,relevance:0},C_NUMBER_MODE:{scope:"number",begin:C,relevance:0},BINARY_NUMBER_MODE:{scope:"number",begin:w,relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[R,{begin:/\[/,end:/\]/,relevance:0,contains:[R]}]}]},TITLE_MODE:{scope:"title",begin:_,relevance:0},UNDERSCORE_TITLE_MODE:{scope:"title",begin:D,relevance:0},METHOD_GUARD:{begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0},END_SAME_AS_BEGIN:E=>Object.assign(E,{"on:begin":(O,G)=>{G.data._beginMatch=O[1]},"on:end":(O,G)=>{G.data._beginMatch!==O[1]&&G.ignoreMatch()}})});function U(E,O){E.input[E.index-1]==="."&&O.ignoreMatch()}function De(E,O){E.className!==void 0&&(E.scope=E.className,delete E.className)}function ne(E,O){O&&E.beginKeywords&&(E.begin="\\b("+E.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",E.__beforeBegin=U,E.keywords=E.keywords||E.beginKeywords,delete E.beginKeywords,E.relevance===void 0&&(E.relevance=0))}function Ge(E,O){Array.isArray(E.illegal)&&(E.illegal=p(...E.illegal))}function Ne(E,O){if(E.match){if(E.begin||E.end)throw Error("begin & end are not supported with match");E.begin=E.match,delete E.match}}function N(E,O){E.relevance===void 0&&(E.relevance=1)}const P=(E,O)=>{if(!E.beforeMatch)return;if(E.starts)throw Error("beforeMatch cannot be used with starts");const G=Object.assign({},E);Object.keys(E).forEach(X=>{delete E[X]}),E.keywords=G.keywords,E.begin=m(G.beforeMatch,d(G.begin)),E.starts={relevance:0,contains:[Object.assign(G,{endsParent:!0})]},E.relevance=0,delete G.beforeMatch},be=["of","and","for","in","not","or","if","then","parent","list","value"];function Ve(E,O,G="keyword"){const X=Object.create(null);return typeof E=="string"?ue(G,E.split(" ")):Array.isArray(E)?ue(G,E):Object.keys(E).forEach(V=>{Object.assign(X,Ve(E[V],O,V))}),X;function ue(V,le){O&&(le=le.map(re=>re.toLowerCase())),le.forEach(re=>{const _e=re.split("|");X[_e[0]]=[V,Et(_e[0],_e[1])]})}}function Et(E,O){return O?Number(O):(G=>be.includes(G.toLowerCase()))(E)?0:1}const ht={},st=E=>{console.error(E)},ft=(E,...O)=>{console.log("WARN: "+E,...O)},Ct=(E,O)=>{ht[`${E}/${O}`]||(console.log(`Deprecated as of ${E}. ${O}`),ht[`${E}/${O}`]=!0)},ae=Error();function Me(E,O,{key:G}){let X=0;const ue=E[G],V={},le={};for(let re=1;re<=O.length;re++)le[re+X]=ue[re],V[re+X]=!0,X+=b(O[re-1]);E[G]=le,E[G]._emit=V,E[G]._multi=!0}function dt(E){(O=>{O.scope&&typeof O.scope=="object"&&O.scope!==null&&(O.beginScope=O.scope,delete O.scope)})(E),typeof E.beginScope=="string"&&(E.beginScope={_wrap:E.beginScope}),typeof E.endScope=="string"&&(E.endScope={_wrap:E.endScope}),(O=>{if(Array.isArray(O.begin)){if(O.skip||O.excludeBegin||O.returnBegin)throw st("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),ae;if(typeof O.beginScope!="object"||O.beginScope===null)throw st("beginScope must be object"),ae;Me(O,O.begin,{key:"beginScope"}),O.begin=x(O.begin,{joinWith:""})}})(E),(O=>{if(Array.isArray(O.end)){if(O.skip||O.excludeEnd||O.returnEnd)throw st("skip, excludeEnd, returnEnd not compatible with endScope: {}"),ae;if(typeof O.endScope!="object"||O.endScope===null)throw st("endScope must be object"),ae;Me(O,O.end,{key:"endScope"}),O.end=x(O.end,{joinWith:""})}})(E)}function At(E){function O(ue,V){return RegExp(u(ue),"m"+(E.case_insensitive?"i":"")+(E.unicodeRegex?"u":"")+(V?"g":""))}class G{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(V,le){le.position=this.position++,this.matchIndexes[this.matchAt]=le,this.regexes.push([le,V]),this.matchAt+=b(V)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const V=this.regexes.map(le=>le[1]);this.matcherRe=O(x(V,{joinWith:"|"}),!0),this.lastIndex=0}exec(V){this.matcherRe.lastIndex=this.lastIndex;const le=this.matcherRe.exec(V);if(!le)return null;const re=le.findIndex((ke,Le)=>Le>0&&ke!==void 0),_e=this.matchIndexes[re];return le.splice(0,re),Object.assign(le,_e)}}class X{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(V){if(this.multiRegexes[V])return this.multiRegexes[V];const le=new G;return this.rules.slice(V).forEach(([re,_e])=>le.addRule(re,_e)),le.compile(),this.multiRegexes[V]=le,le}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(V,le){this.rules.push([V,le]),le.type==="begin"&&this.count++}exec(V){const le=this.getMatcher(this.regexIndex);le.lastIndex=this.lastIndex;let re=le.exec(V);if(this.resumingScanAtSamePosition()&&!(re&&re.index===this.lastIndex)){const _e=this.getMatcher(0);_e.lastIndex=this.lastIndex+1,re=_e.exec(V)}return re&&(this.regexIndex+=re.position+1,this.regexIndex===this.count&&this.considerAll()),re}}if(E.compilerExtensions||(E.compilerExtensions=[]),E.contains&&E.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return E.classNameAliases=a(E.classNameAliases||{}),function ue(V,le){const re=V;if(V.isCompiled)return re;[De,Ne,dt,P].forEach(ke=>ke(V,le)),E.compilerExtensions.forEach(ke=>ke(V,le)),V.__beforeBegin=null,[ne,Ge,N].forEach(ke=>ke(V,le)),V.isCompiled=!0;let _e=null;return typeof V.keywords=="object"&&V.keywords.$pattern&&(V.keywords=Object.assign({},V.keywords),_e=V.keywords.$pattern,delete V.keywords.$pattern),_e=_e||/\w+/,V.keywords&&(V.keywords=Ve(V.keywords,E.case_insensitive)),re.keywordPatternRe=O(_e,!0),le&&(V.begin||(V.begin=/\B|\b/),re.beginRe=O(re.begin),V.end||V.endsWithParent||(V.end=/\B|\b/),V.end&&(re.endRe=O(re.end)),re.terminatorEnd=u(re.end)||"",V.endsWithParent&&le.terminatorEnd&&(re.terminatorEnd+=(V.end?"|":"")+le.terminatorEnd)),V.illegal&&(re.illegalRe=O(V.illegal)),V.contains||(V.contains=[]),V.contains=[].concat(...V.contains.map(ke=>(Le=>(Le.variants&&!Le.cachedVariants&&(Le.cachedVariants=Le.variants.map($e=>a(Le,{variants:null},$e))),Le.cachedVariants?Le.cachedVariants:zn(Le)?a(Le,{starts:Le.starts?a(Le.starts):null}):Object.isFrozen(Le)?a(Le):Le))(ke==="self"?V:ke))),V.contains.forEach(ke=>{ue(ke,re)}),V.starts&&ue(V.starts,le),re.matcher=(ke=>{const Le=new X;return ke.contains.forEach($e=>Le.addRule($e.begin,{rule:$e,type:"begin"})),ke.terminatorEnd&&Le.addRule(ke.terminatorEnd,{type:"end"}),ke.illegal&&Le.addRule(ke.illegal,{type:"illegal"}),Le})(re),re}(E)}function zn(E){return!!E&&(E.endsWithParent||zn(E.starts))}class br extends Error{constructor(O,G){super(O),this.name="HTMLInjectionError",this.html=G}}const Je=i,bn=a,Hn=Symbol("nomatch");var qn=(E=>{const O=Object.create(null),G=Object.create(null),X=[];let ue=!0;const V="Could not find the language '{}', did you forget to load/include a language module?",le={disableAutodetect:!0,name:"Plain text",contains:[]};let re={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:c};function _e(Oe){return re.noHighlightRe.test(Oe)}function ke(Oe,Ke,rt){let tn="",jt="";typeof Ke=="object"?(tn=Oe,rt=Ke.ignoreIllegals,jt=Ke.language):(Ct("10.7.0","highlight(lang, code, ...args) has been deprecated."),Ct("10.7.0",`Please use highlight(code, options) instead. https://github.com/highlightjs/highlight.js/issues/2277`),jt=Oe,tn=Ke),rt===void 0&&(rt=!0);const Dt={code:tn,language:jt};Dn("before:highlight",Dt);const un=Dt.result?Dt.result:Le(Dt.language,Dt.code,rt);return un.code=Dt.code,Dn("after:highlight",un),un}function Le(Oe,Ke,rt,tn){const jt=Object.create(null);function Dt(){if(!ot.keywords)return void _n.addText(Yt);let ze=0;ot.keywordPatternRe.lastIndex=0;let tt=ot.keywordPatternRe.exec(Yt),Pt="";for(;tt;){Pt+=Yt.substring(ze,tt.index);const Ht=xt.case_insensitive?tt[0].toLowerCase():tt[0],Un=(Rt=Ht,ot.keywords[Rt]);if(Un){const[oi,rs]=Un;if(_n.addText(Pt),Pt="",jt[Ht]=(jt[Ht]||0)+1,jt[Ht]<=7&&(ns+=rs),oi.startsWith("_"))Pt+=tt[0];else{const Na=xt.classNameAliases[oi]||oi;_n.addKeyword(tt[0],Na)}}else Pt+=tt[0];ze=ot.keywordPatternRe.lastIndex,tt=ot.keywordPatternRe.exec(Yt)}var Rt;Pt+=Yt.substr(ze),_n.addText(Pt)}function un(){ot.subLanguage!=null?(()=>{if(Yt==="")return;let ze=null;if(typeof ot.subLanguage=="string"){if(!O[ot.subLanguage])return void _n.addText(Yt);ze=Le(ot.subLanguage,Yt,!0,O1[ot.subLanguage]),O1[ot.subLanguage]=ze._top}else ze=$e(Yt,ot.subLanguage.length?ot.subLanguage:null);ot.relevance>0&&(ns+=ze.relevance),_n.addSublanguage(ze._emitter,ze.language)})():Dt(),Yt=""}function mn(ze,tt){let Pt=1;for(;tt[Pt]!==void 0;){if(!ze._emit[Pt]){Pt++;continue}const Rt=xt.classNameAliases[ze[Pt]]||ze[Pt],Ht=tt[Pt];Rt?_n.addKeyword(Ht,Rt):(Yt=Ht,Dt(),Yt=""),Pt++}}function Ft(ze,tt){return ze.scope&&typeof ze.scope=="string"&&_n.openNode(xt.classNameAliases[ze.scope]||ze.scope),ze.beginScope&&(ze.beginScope._wrap?(_n.addKeyword(Yt,xt.classNameAliases[ze.beginScope._wrap]||ze.beginScope._wrap),Yt=""):ze.beginScope._multi&&(mn(ze.beginScope,tt),Yt="")),ot=Object.create(ze,{parent:{value:ot}}),ot}function kn(ze,tt,Pt){let Rt=((Ht,Un)=>{const oi=Ht&&Ht.exec(Un);return oi&&oi.index===0})(ze.endRe,Pt);if(Rt){if(ze["on:end"]){const Ht=new r(ze);ze["on:end"](tt,Ht),Ht.isMatchIgnored&&(Rt=!1)}if(Rt){for(;ze.endsParent&&ze.parent;)ze=ze.parent;return ze}}if(ze.endsWithParent)return kn(ze.parent,tt,Pt)}function Ui(ze){return ot.matcher.regexIndex===0?(Yt+=ze[0],1):(nl=!0,0)}function ai(ze){const tt=ze[0],Pt=Ke.substr(ze.index),Rt=kn(ot,ze,Pt);if(!Rt)return Hn;const Ht=ot;ot.endScope&&ot.endScope._wrap?(un(),_n.addKeyword(tt,ot.endScope._wrap)):ot.endScope&&ot.endScope._multi?(un(),mn(ot.endScope,ze)):Ht.skip?Yt+=tt:(Ht.returnEnd||Ht.excludeEnd||(Yt+=tt),un(),Ht.excludeEnd&&(Yt=tt));do ot.scope&&_n.closeNode(),ot.skip||ot.subLanguage||(ns+=ot.relevance),ot=ot.parent;while(ot!==Rt.parent);return Rt.starts&&Ft(Rt.starts,ze),Ht.returnEnd?0:tt.length}let kr={};function Aa(ze,tt){const Pt=tt&&tt[0];if(Yt+=ze,Pt==null)return un(),0;if(kr.type==="begin"&&tt.type==="end"&&kr.index===tt.index&&Pt===""){if(Yt+=Ke.slice(tt.index,tt.index+1),!ue){const Rt=Error(`0 width match regex (${Oe})`);throw Rt.languageName=Oe,Rt.badRule=kr.rule,Rt}return 1}if(kr=tt,tt.type==="begin")return(Rt=>{const Ht=Rt[0],Un=Rt.rule,oi=new r(Un),rs=[Un.__beforeBegin,Un["on:begin"]];for(const Na of rs)if(Na&&(Na(Rt,oi),oi.isMatchIgnored))return Ui(Ht);return Un.skip?Yt+=Ht:(Un.excludeBegin&&(Yt+=Ht),un(),Un.returnBegin||Un.excludeBegin||(Yt=Ht)),Ft(Un,Rt),Un.returnBegin?0:Ht.length})(tt);if(tt.type==="illegal"&&!rt){const Rt=Error('Illegal lexeme "'+Pt+'" for mode "'+(ot.scope||"<unnamed>")+'"');throw Rt.mode=ot,Rt}if(tt.type==="end"){const Rt=ai(tt);if(Rt!==Hn)return Rt}if(tt.type==="illegal"&&Pt==="")return 1;if(ho>1e5&&ho>3*tt.index)throw Error("potential infinite loop, way more iterations than matches");return Yt+=Pt,Pt.length}const xt=Vt(Oe);if(!xt)throw st(V.replace("{}",Oe)),Error('Unknown language: "'+Oe+'"');const uo=At(xt);let ka="",ot=tn||uo;const O1={},_n=new re.__emitter(re);(()=>{const ze=[];for(let tt=ot;tt!==xt;tt=tt.parent)tt.scope&&ze.unshift(tt.scope);ze.forEach(tt=>_n.openNode(tt))})();let Yt="",ns=0,ji=0,ho=0,nl=!1;try{for(ot.matcher.considerAll();;){ho++,nl?nl=!1:ot.matcher.considerAll(),ot.matcher.lastIndex=ji;const ze=ot.matcher.exec(Ke);if(!ze)break;const tt=Aa(Ke.substring(ji,ze.index),ze);ji=ze.index+tt}return Aa(Ke.substr(ji)),_n.closeAllNodes(),_n.finalize(),ka=_n.toHTML(),{language:Oe,value:ka,relevance:ns,illegal:!1,_emitter:_n,_top:ot}}catch(ze){if(ze.message&&ze.message.includes("Illegal"))return{language:Oe,value:Je(Ke),illegal:!0,relevance:0,_illegalBy:{message:ze.message,index:ji,context:Ke.slice(ji-100,ji+100),mode:ze.mode,resultSoFar:ka},_emitter:_n};if(ue)return{language:Oe,value:Je(Ke),illegal:!1,relevance:0,errorRaised:ze,_emitter:_n,_top:ot};throw ze}}function $e(Oe,Ke){Ke=Ke||re.languages||Object.keys(O);const rt=(Ft=>{const kn={value:Je(Ft),illegal:!1,relevance:0,_top:le,_emitter:new re.__emitter(re)};return kn._emitter.addText(Ft),kn})(Oe),tn=Ke.filter(Vt).filter(tr).map(Ft=>Le(Ft,Oe,!1));tn.unshift(rt);const jt=tn.sort((Ft,kn)=>{if(Ft.relevance!==kn.relevance)return kn.relevance-Ft.relevance;if(Ft.language&&kn.language){if(Vt(Ft.language).supersetOf===kn.language)return 1;if(Vt(kn.language).supersetOf===Ft.language)return-1}return 0}),[Dt,un]=jt,mn=Dt;return mn.secondBest=un,mn}function Qe(Oe){let Ke=null;const rt=(Dt=>{let un=Dt.className+" ";un+=Dt.parentNode?Dt.parentNode.className:"";const mn=re.languageDetectRe.exec(un);if(mn){const Ft=Vt(mn[1]);return Ft||(ft(V.replace("{}",mn[1])),ft("Falling back to no-highlight mode for this block.",Dt)),Ft?mn[1]:"no-highlight"}return un.split(/\s+/).find(Ft=>_e(Ft)||Vt(Ft))})(Oe);if(_e(rt))return;if(Dn("before:highlightElement",{el:Oe,language:rt}),Oe.children.length>0&&(re.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(Oe)),re.throwUnescapedHTML))throw new br("One of your code blocks includes unescaped HTML.",Oe.innerHTML);Ke=Oe;const tn=Ke.textContent,jt=rt?ke(tn,{language:rt,ignoreIllegals:!0}):$e(tn);Oe.innerHTML=jt.value,((Dt,un,mn)=>{const Ft=un&&G[un]||mn;Dt.classList.add("hljs"),Dt.classList.add("language-"+Ft)})(Oe,rt,jt.language),Oe.result={language:jt.language,re:jt.relevance,relevance:jt.relevance},jt.secondBest&&(Oe.secondBest={language:jt.secondBest.language,relevance:jt.secondBest.relevance}),Dn("after:highlightElement",{el:Oe,result:jt,text:tn})}let Ot=!1;function at(){document.readyState!=="loading"?document.querySelectorAll(re.cssSelector).forEach(Qe):Ot=!0}function Vt(Oe){return Oe=(Oe||"").toLowerCase(),O[Oe]||O[G[Oe]]}function er(Oe,{languageName:Ke}){typeof Oe=="string"&&(Oe=[Oe]),Oe.forEach(rt=>{G[rt.toLowerCase()]=Ke})}function tr(Oe){const Ke=Vt(Oe);return Ke&&!Ke.disableAutodetect}function Dn(Oe,Ke){const rt=Oe;X.forEach(tn=>{tn[rt]&&tn[rt](Ke)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",()=>{Ot&&at()},!1),Object.assign(E,{highlight:ke,highlightAuto:$e,highlightAll:at,highlightElement:Qe,highlightBlock:Oe=>(Ct("10.7.0","highlightBlock will be removed entirely in v12.0"),Ct("10.7.0","Please use highlightElement now."),Qe(Oe)),configure:Oe=>{re=bn(re,Oe)},initHighlighting:()=>{at(),Ct("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:()=>{at(),Ct("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:(Oe,Ke)=>{let rt=null;try{rt=Ke(E)}catch(tn){if(st("Language definition for '{}' could not be registered.".replace("{}",Oe)),!ue)throw tn;st(tn),rt=le}rt.name||(rt.name=Oe),O[Oe]=rt,rt.rawDefinition=Ke.bind(null,E),rt.aliases&&er(rt.aliases,{languageName:Oe})},unregisterLanguage:Oe=>{delete O[Oe];for(const Ke of Object.keys(G))G[Ke]===Oe&&delete G[Ke]},listLanguages:()=>Object.keys(O),getLanguage:Vt,registerAliases:er,autoDetection:tr,inherit:bn,addPlugin:Oe=>{(Ke=>{Ke["before:highlightBlock"]&&!Ke["before:highlightElement"]&&(Ke["before:highlightElement"]=rt=>{Ke["before:highlightBlock"](Object.assign({block:rt.el},rt))}),Ke["after:highlightBlock"]&&!Ke["after:highlightElement"]&&(Ke["after:highlightElement"]=rt=>{Ke["after:highlightBlock"](Object.assign({block:rt.el},rt))})})(Oe),X.push(Oe)}}),E.debugMode=()=>{ue=!1},E.safeMode=()=>{ue=!0},E.versionString="11.4.0",E.regex={concat:m,lookahead:d,either:p,optional:h,anyNumberOfTimes:f};for(const Oe in de)typeof de[Oe]=="object"&&n(de[Oe]);return Object.assign(E,de),E})({});const Cn=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_-]*/}}),Jn=["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"],lr=["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"],An=["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-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],cr=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],$r=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-height","max-width","min-height","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),_i=An.concat(cr);var Cr="\\.([0-9](_*[0-9])*)",j="[0-9a-fA-F](_*[0-9a-fA-F])*",M={className:"number",variants:[{begin:`(\\b([0-9](_*[0-9])*)((${Cr})|\\.)?|(${Cr}))[eE][+-]?([0-9](_*[0-9])*)[fFdD]?\\b`},{begin:`\\b([0-9](_*[0-9])*)((${Cr})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${Cr})[fFdD]?\\b`},{begin:"\\b([0-9](_*[0-9])*)[fFdD]\\b"},{begin:`\\b0[xX]((${j})\\.?|(${j})?\\.(${j}))[pP][+-]?([0-9](_*[0-9])*)[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${j})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function te(E,O,G){return G===-1?"":E.replace(O,X=>te(E,O,G-1))}const fe="[A-Za-z$_][0-9A-Za-z$_]*",Pe=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],En=["true","false","null","undefined","NaN","Infinity"],yt=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Bt=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],vn=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],ur=["arguments","this","super","console","window","document","localStorage","module","global"],zt=[].concat(vn,yt,Bt);function Ut(E){const O=E.regex,G=fe,X={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(mn,Ft)=>{const kn=mn[0].length+mn.index,Ui=mn.input[kn];if(Ui==="<"||Ui===",")return void Ft.ignoreMatch();let ai;Ui===">"&&(((kr,{after:Aa})=>{const xt="</"+kr[0].slice(1);return kr.input.indexOf(xt,Aa)!==-1})(mn,{after:kn})||Ft.ignoreMatch()),(ai=mn.input.substr(kn).match(/^\s+extends\s+/))&&ai.index===0&&Ft.ignoreMatch()}},ue={$pattern:fe,keyword:Pe,literal:En,built_in:zt,"variable.language":ur},V="\\.([0-9](_?[0-9])*)",le="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",re={className:"number",variants:[{begin:`(\\b(${le})((${V})|\\.)?|(${V}))[eE][+-]?([0-9](_?[0-9])*)\\b`},{begin:`\\b(${le})\\b((${V})\\b|\\.)?|(${V})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},_e={className:"subst",begin:"\\$\\{",end:"\\}",keywords:ue,contains:[]},ke={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[E.BACKSLASH_ESCAPE,_e],subLanguage:"xml"}},Le={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[E.BACKSLASH_ESCAPE,_e],subLanguage:"css"}},$e={className:"string",begin:"`",end:"`",contains:[E.BACKSLASH_ESCAPE,_e]},Qe={className:"comment",variants:[E.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:G+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),E.C_BLOCK_COMMENT_MODE,E.C_LINE_COMMENT_MODE]},Ot=[E.APOS_STRING_MODE,E.QUOTE_STRING_MODE,ke,Le,$e,re];_e.contains=Ot.concat({begin:/\{/,end:/\}/,keywords:ue,contains:["self"].concat(Ot)});const at=[].concat(Qe,_e.contains),Vt=at.concat([{begin:/\(/,end:/\)/,keywords:ue,contains:["self"].concat(at)}]),er={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:ue,contains:Vt},tr={variants:[{match:[/class/,/\s+/,G,/\s+/,/extends/,/\s+/,O.concat(G,"(",O.concat(/\./,G),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,G],scope:{1:"keyword",3:"title.class"}}]},Dn={relevance:0,match:O.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...yt,...Bt]}},Oe={variants:[{match:[/function/,/\s+/,G,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[er],illegal:/%/},Ke={match:O.concat(/\b/,(rt=[...vn,"super"],O.concat("(?!",rt.join("|"),")")),G,O.lookahead(/\(/)),className:"title.function",relevance:0};var rt;const tn={begin:O.concat(/\./,O.lookahead(O.concat(G,/(?![0-9A-Za-z$_(])/))),end:G,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},jt={match:[/get|set/,/\s+/,G,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},er]},Dt="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+E.UNDERSCORE_IDENT_RE+")\\s*=>",un={match:[/const|var|let/,/\s+/,G,/\s*/,/=\s*/,/(async\s*)?/,O.lookahead(Dt)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[er]};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:ue,exports:{PARAMS_CONTAINS:Vt,CLASS_REFERENCE:Dn},illegal:/#(?![$_A-z])/,contains:[E.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},E.APOS_STRING_MODE,E.QUOTE_STRING_MODE,ke,Le,$e,Qe,re,Dn,{className:"attr",begin:G+O.lookahead(":"),relevance:0},un,{begin:"("+E.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[Qe,E.REGEXP_MODE,{className:"function",begin:Dt,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:E.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:ue,contains:Vt}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:"</>"},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:X.begin,"on:begin":X.isTrulyOpeningTag,end:X.end}],subLanguage:"xml",contains:[{begin:X.begin,end:X.end,skip:!0,contains:["self"]}]}]},Oe,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+E.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[er,E.inherit(E.TITLE_MODE,{begin:G,className:"title.function"})]},{match:/\.\.\./,relevance:0},tn,{match:"\\$"+G,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[er]},Ke,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},tr,jt,{match:/\$[(.]/}]}}const Wn=E=>m(/\b/,E,/\w$/.test(E)?/\b/:/\B/),wa=["Protocol","Type"].map(Wn),Ar=["init","self"].map(Wn),Vc=["Any","Self"],ri=["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"],S1=["false","nil","true"],Yc=["assignment","associativity","higherThan","left","lowerThan","none","right"],Xc=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],w1=["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"],C1=p(/[/=\-+!*%<>&|^~?]/,/[\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]/),Br=p(C1,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),el=m(C1,Br,"*"),A1=p(/[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]/),ts=p(A1,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),ii=m(A1,ts,"*"),tl=m(/[A-Z]/,ts,"*"),Ca=["autoclosure",m(/convention\(/,p("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",m(/objc\(/,ii,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],Qc=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];var k1=Object.freeze({__proto__:null,grmr_bash:E=>{const O=E.regex,G={},X={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[G]}]};Object.assign(G,{className:"variable",variants:[{begin:O.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},X]});const ue={className:"subst",begin:/\$\(/,end:/\)/,contains:[E.BACKSLASH_ESCAPE]},V={begin:/<<-?\s*(?=\w+)/,starts:{contains:[E.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},le={className:"string",begin:/"/,end:/"/,contains:[E.BACKSLASH_ESCAPE,G,ue]};ue.contains.push(le);const re={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},E.NUMBER_MODE,G]},_e=E.SHEBANG({binary:"(fish|bash|zsh|sh|csh|ksh|tcsh|dash|scsh)",relevance:10}),ke={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[E.inherit(E.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:["if","then","else","elif","fi","for","while","in","do","done","case","esac","function"],literal:["true","false"],built_in:["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset","alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias","set","shopt","autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp","chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"]},contains:[_e,E.SHEBANG(),ke,re,E.HASH_COMMENT_MODE,V,{match:/(\/[a-z._-]+)+/},le,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},G]}},grmr_c:E=>{const O=E.regex,G=E.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),X="[a-zA-Z_]\\w*::",ue="(decltype\\(auto\\)|"+O.optional(X)+"[a-zA-Z_]\\w*"+O.optional("<[^<>]+>")+")",V={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},le={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[E.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},E.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},re={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},_e={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(le,{className:"string"}),{className:"string",begin:/<.*?>/},G,E.C_BLOCK_COMMENT_MODE]},ke={className:"title",begin:O.optional(X)+E.IDENT_RE,relevance:0},Le=O.optional(X)+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"},Qe=[_e,V,G,E.C_BLOCK_COMMENT_MODE,re,le],Ot={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:$e,contains:Qe.concat([{begin:/\(/,end:/\)/,keywords:$e,contains:Qe.concat(["self"]),relevance:0}]),relevance:0},at={begin:"("+ue+"[\\*&\\s]+)+"+Le,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:$e,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:"decltype\\(auto\\)",keywords:$e,relevance:0},{begin:Le,returnBegin:!0,contains:[E.inherit(ke,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:$e,relevance:0,contains:[G,E.C_BLOCK_COMMENT_MODE,le,re,V,{begin:/\(/,end:/\)/,keywords:$e,relevance:0,contains:["self",G,E.C_BLOCK_COMMENT_MODE,le,re,V]}]},V,G,E.C_BLOCK_COMMENT_MODE,_e]};return{name:"C",aliases:["h"],keywords:$e,disableAutodetect:!0,illegal:"</",contains:[].concat(Ot,at,Qe,[_e,{begin:E.IDENT_RE+"::",keywords:$e},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},E.TITLE_MODE]}]),exports:{preprocessor:_e,strings:le,keywords:$e}}},grmr_cpp:E=>{const O=E.regex,G=E.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),X="[a-zA-Z_]\\w*::",ue="(?!struct)(decltype\\(auto\\)|"+O.optional(X)+"[a-zA-Z_]\\w*"+O.optional("<[^<>]+>")+")",V={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},le={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[E.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},E.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},re={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},_e={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(le,{className:"string"}),{className:"string",begin:/<.*?>/},G,E.C_BLOCK_COMMENT_MODE]},ke={className:"title",begin:O.optional(X)+E.IDENT_RE,relevance:0},Le=O.optional(X)+E.IDENT_RE+"\\s*\\(",$e={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},Qe={className:"function.dispatch",relevance:0,keywords:{_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:O.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,E.IDENT_RE,O.lookahead(/(<[^<>]+>|)\s*\(/))},Ot=[Qe,_e,V,G,E.C_BLOCK_COMMENT_MODE,re,le],at={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:$e,contains:Ot.concat([{begin:/\(/,end:/\)/,keywords:$e,contains:Ot.concat(["self"]),relevance:0}]),relevance:0},Vt={className:"function",begin:"("+ue+"[\\*&\\s]+)+"+Le,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:$e,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:"decltype\\(auto\\)",keywords:$e,relevance:0},{begin:Le,returnBegin:!0,contains:[ke],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[le,re]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:$e,relevance:0,contains:[G,E.C_BLOCK_COMMENT_MODE,le,re,V,{begin:/\(/,end:/\)/,keywords:$e,relevance:0,contains:["self",G,E.C_BLOCK_COMMENT_MODE,le,re,V]}]},V,G,E.C_BLOCK_COMMENT_MODE,_e]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:$e,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(at,Vt,Qe,Ot,[_e,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:$e,contains:["self",V]},{begin:E.IDENT_RE+"::",keywords:$e},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}},grmr_csharp:E=>{const O={keyword:["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"]),built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],literal:["default","false","null","true"]},G=E.inherit(E.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),X={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},ue={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},V=E.inherit(ue,{illegal:/\n/}),le={className:"subst",begin:/\{/,end:/\}/,keywords:O},re=E.inherit(le,{illegal:/\n/}),_e={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},E.BACKSLASH_ESCAPE,re]},ke={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},le]},Le=E.inherit(ke,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},re]});le.contains=[ke,_e,ue,E.APOS_STRING_MODE,E.QUOTE_STRING_MODE,X,E.C_BLOCK_COMMENT_MODE],re.contains=[Le,_e,V,E.APOS_STRING_MODE,E.QUOTE_STRING_MODE,X,E.inherit(E.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const $e={variants:[ke,_e,ue,E.APOS_STRING_MODE,E.QUOTE_STRING_MODE]},Qe={begin:"<",end:">",contains:[{beginKeywords:"in out"},G]},Ot=E.IDENT_RE+"(<"+E.IDENT_RE+"(\\s*,\\s*"+E.IDENT_RE+")*>)?(\\[\\])?",at={begin:"@"+E.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:O,illegal:/::/,contains:[E.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},$e,X,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},G,Qe,E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[G,E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[G,Qe,E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+Ot+"\\s+)+"+E.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:O,contains:[{beginKeywords:"public private protected static internal protected abstract async extern override unsafe virtual new sealed partial",relevance:0},{begin:E.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[E.TITLE_MODE,Qe],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:O,relevance:0,contains:[$e,X,E.C_BLOCK_COMMENT_MODE]},E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE]},at]}},grmr_css:E=>{const O=E.regex,G=Cn(E),X=[E.APOS_STRING_MODE,E.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[G.BLOCK_COMMENT,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},G.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},G.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+An.join("|")+")"},{begin:":(:)?("+cr.join("|")+")"}]},G.CSS_VARIABLE,{className:"attribute",begin:"\\b("+$r.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[G.BLOCK_COMMENT,G.HEXCOLOR,G.IMPORTANT,G.CSS_NUMBER_MODE,...X,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},G.FUNCTION_DISPATCH]},{begin:O.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:lr.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...X,G.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+Jn.join("|")+")\\b"}]}},grmr_diff:E=>{const O=E.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:O.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:O.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}},grmr_go:E=>{const O={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:O,illegal:"</",contains:[E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE,{className:"string",variants:[E.QUOTE_STRING_MODE,E.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:E.C_NUMBER_RE+"[i]",relevance:1},E.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[E.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:O,illegal:/["']/}]}]}},grmr_ini:E=>{const O=E.regex,G={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:E.NUMBER_RE}]},X=E.COMMENT();X.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const ue={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},V={className:"literal",begin:/\bon|off|true|false|yes|no\b/},le={className:"string",contains:[E.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},re={begin:/\[/,end:/\]/,contains:[X,V,ue,le,G,"self"],relevance:0},_e=O.either(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[X,{className:"section",begin:/\[+/,end:/\]+/},{begin:O.concat(_e,"(\\s*\\.\\s*",_e,")*",O.lookahead(/\s*=\s*[^#\s]/)),className:"attr",starts:{end:/$/,contains:[X,re,V,ue,le,G]}}]}},grmr_java:E=>{E.regex;const O="[\xC0-\u02B8a-zA-Z_$][\xC0-\u02B8a-zA-Z_$0-9]*",G=O+te("(?:<"+O+"~~~(?:\\s*,\\s*"+O+"~~~)*>)?",/~~~/g,2),X={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},ue={className:"meta",begin:"@"+O,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},V={className:"params",begin:/\(/,end:/\)/,keywords:X,relevance:0,contains:[E.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:X,illegal:/<\/|#/,contains:[E.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[E.BACKSLASH_ESCAPE]},E.APOS_STRING_MODE,E.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,O],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[O,/\s+/,O,/\s+/,/=/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,O],className:{1:"keyword",3:"title.class"},contains:[V,E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+G+"\\s+)",E.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:X,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:X,relevance:0,contains:[ue,E.APOS_STRING_MODE,E.QUOTE_STRING_MODE,M,E.C_BLOCK_COMMENT_MODE]},E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE]},M,ue]}},grmr_javascript:Ut,grmr_json:E=>({name:"JSON",contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/,className:"punctuation",relevance:0},E.QUOTE_STRING_MODE,{beginKeywords:"true false null"},E.C_NUMBER_MODE,E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE],illegal:"\\S"}),grmr_kotlin:E=>{const O={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},G={className:"symbol",begin:E.UNDERSCORE_IDENT_RE+"@"},X={className:"subst",begin:/\$\{/,end:/\}/,contains:[E.C_NUMBER_MODE]},ue={className:"variable",begin:"\\$"+E.UNDERSCORE_IDENT_RE},V={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[ue,X]},{begin:"'",end:"'",illegal:/\n/,contains:[E.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[E.BACKSLASH_ESCAPE,ue,X]}]};X.contains.push(V);const le={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+E.UNDERSCORE_IDENT_RE+")?"},re={className:"meta",begin:"@"+E.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[E.inherit(V,{className:"string"})]}]},_e=M,ke=E.COMMENT("/\\*","\\*/",{contains:[E.C_BLOCK_COMMENT_MODE]}),Le={variants:[{className:"type",begin:E.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},$e=Le;return $e.variants[1].contains=[Le],Le.variants[1].contains=[$e],{name:"Kotlin",aliases:["kt","kts"],keywords:O,contains:[E.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),E.C_LINE_COMMENT_MODE,ke,{className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},G,le,re,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:O,relevance:5,contains:[{begin:E.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[E.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:O,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[Le,E.C_LINE_COMMENT_MODE,ke],relevance:0},E.C_LINE_COMMENT_MODE,ke,le,re,V,E.C_NUMBER_MODE]},ke]},{className:"class",beginKeywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},E.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,]|$/,excludeBegin:!0,returnEnd:!0},le,re]},V,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` `},_e]}},grmr_less:E=>{const O=Cn(E),G=_i,X="([\\w-]+|@\\{[\\w-]+\\})",ue=[],V=[],le=tr=>({className:"string",begin:"~?"+tr+".*?"+tr}),re=(tr,Dn,Oe)=>({className:tr,begin:Dn,relevance:Oe}),_e={$pattern:/[a-z-]+/,keyword:"and or not only",attribute:lr.join(" ")},ke={begin:"\\(",end:"\\)",contains:V,keywords:_e,relevance:0};V.push(E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE,le("'"),le('"'),O.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},O.HEXCOLOR,ke,re("variable","@@?[\\w-]+",10),re("variable","@\\{[\\w-]+\\}"),re("built_in","~?`[^`]*?`"),{className:"attribute",begin:"[\\w-]+\\s*:",end:":",returnBegin:!0,excludeEnd:!0},O.IMPORTANT);const Le=V.concat({begin:/\{/,end:/\}/,contains:ue}),$e={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(V)},Qe={begin:X+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},O.CSS_VARIABLE,{className:"attribute",begin:"\\b("+$r.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:V}}]},Ot={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:_e,returnEnd:!0,contains:V,relevance:0}},at={className:"variable",variants:[{begin:"@[\\w-]+\\s*:",relevance:15},{begin:"@[\\w-]+"}],starts:{end:"[;}]",returnEnd:!0,contains:Le}},Vt={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:X,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE,$e,re("keyword","all\\b"),re("variable","@\\{[\\w-]+\\}"),{begin:"\\b("+Jn.join("|")+")\\b",className:"selector-tag"},O.CSS_NUMBER_MODE,re("selector-tag",X,0),re("selector-id","#"+X),re("selector-class","\\."+X,0),re("selector-tag","&",0),O.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+An.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+cr.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:Le},{begin:"!important"},O.FUNCTION_DISPATCH]},er={begin:`[\\w-]+:(:)?(${G.join("|")})`,returnBegin:!0,contains:[Vt]};return ue.push(E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE,Ot,at,er,Qe,Vt),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:ue}},grmr_lua:E=>{const O="\\[=*\\[",G="\\]=*\\]",X={begin:O,end:G,contains:["self"]},ue=[E.COMMENT("--(?!\\[=*\\[)","$"),E.COMMENT("--\\[=*\\[",G,{contains:[X],relevance:10})];return{name:"Lua",keywords:{$pattern:E.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:ue.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[E.inherit(E.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:ue}].concat(ue)},E.C_NUMBER_MODE,E.APOS_STRING_MODE,E.QUOTE_STRING_MODE,{className:"string",begin:O,end:G,contains:[X],relevance:5}])}},grmr_makefile:E=>{const O={className:"variable",variants:[{begin:"\\$\\("+E.UNDERSCORE_IDENT_RE+"\\)",contains:[E.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},G={className:"string",begin:/"/,end:/"/,contains:[E.BACKSLASH_ESCAPE,O]},X={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[O]},ue={begin:"^"+E.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},V={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[O]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[E.HASH_COMMENT_MODE,O,G,X,ue,{className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},V]}},grmr_xml:E=>{const O=E.regex,G=O.concat(/[A-Z_]/,O.optional(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),X={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},ue={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},V=E.inherit(ue,{begin:/\(/,end:/\)/}),le=E.inherit(E.APOS_STRING_MODE,{className:"string"}),re=E.inherit(E.QUOTE_STRING_MODE,{className:"string"}),_e={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:/[A-Za-z0-9._:-]+/,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[X]},{begin:/'/,end:/'/,contains:[X]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[ue,re,le,V,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[ue,V,re,le]}]}]},E.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},X,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[_e],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[_e],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:O.concat(/</,O.lookahead(O.concat(G,O.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:G,relevance:0,starts:_e}]},{className:"tag",begin:O.concat(/<\//,O.lookahead(O.concat(G,/>/))),contains:[{className:"name",begin:G,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}},grmr_markdown:E=>{const O={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},G={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:E.regex.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},X={className:"strong",contains:[],variants:[{begin:/_{2}/,end:/_{2}/},{begin:/\*{2}/,end:/\*{2}/}]},ue={className:"emphasis",contains:[],variants:[{begin:/\*(?!\*)/,end:/\*/},{begin:/_(?!_)/,end:/_/,relevance:0}]};X.contains.push(ue),ue.contains.push(X);let V=[O,G];return X.contains=X.contains.concat(V),ue.contains=ue.contains.concat(V),V=V.concat(X,ue),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:V},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:V}]}]},O,{className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},X,ue,{className:"quote",begin:"^>\\s+",contains:V,end:"$"},{className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},G,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]}]}},grmr_objectivec:E=>{const O=/[a-zA-Z@][a-zA-Z0-9_]*/,G={$pattern:O,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:{$pattern:O,keyword:["int","float","while","char","export","sizeof","typedef","const","struct","for","union","unsigned","long","volatile","static","bool","mutable","if","do","return","goto","void","enum","else","break","extern","asm","case","short","default","double","register","explicit","signed","typename","this","switch","continue","wchar_t","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","super","unichar","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["BOOL","dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"]},illegal:"</",contains:[{className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE,E.C_NUMBER_MODE,E.QUOTE_STRING_MODE,E.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[E.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},E.inherit(E.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+G.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:G,contains:[E.UNDERSCORE_TITLE_MODE]},{begin:"\\."+E.UNDERSCORE_IDENT_RE,relevance:0}]}},grmr_perl:E=>{const O=E.regex,G=/[dualxmsipngr]{0,12}/,X={$pattern:/[\w.]+/,keyword:"abs accept alarm and atan2 bind binmode bless break caller chdir chmod chomp chop chown chr chroot close closedir connect continue cos crypt dbmclose dbmopen defined delete die do dump each else elsif endgrent endhostent endnetent endprotoent endpwent endservent eof eval exec exists exit exp fcntl fileno flock for foreach fork format formline getc getgrent getgrgid getgrnam gethostbyaddr gethostbyname gethostent getlogin getnetbyaddr getnetbyname getnetent getpeername getpgrp getpriority getprotobyname getprotobynumber getprotoent getpwent getpwnam getpwuid getservbyname getservbyport getservent getsockname getsockopt given glob gmtime goto grep gt hex if index int ioctl join keys kill last lc lcfirst length link listen local localtime log lstat lt ma map mkdir msgctl msgget msgrcv msgsnd my ne next no not oct open opendir or ord our pack package pipe pop pos print printf prototype push q|0 qq quotemeta qw qx rand read readdir readline readlink readpipe recv redo ref rename require reset return reverse rewinddir rindex rmdir say scalar seek seekdir select semctl semget semop send setgrent sethostent setnetent setpgrp setpriority setprotoent setpwent setservent setsockopt shift shmctl shmget shmread shmwrite shutdown sin sleep socket socketpair sort splice split sprintf sqrt srand stat state study sub substr symlink syscall sysopen sysread sysseek system syswrite tell telldir tie tied time times tr truncate uc ucfirst umask undef unless unlink unpack unshift untie until use utime values vec wait waitpid wantarray warn when while write x|0 xor y|0"},ue={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:X},V={begin:/->\{/,end:/\}/},le={variants:[{begin:/\$\d/},{begin:O.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},re=[E.BACKSLASH_ESCAPE,ue,le],_e=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],ke=(Qe,Ot,at="\\1")=>{const Vt=at==="\\1"?at:O.concat(at,Ot);return O.concat(O.concat("(?:",Qe,")"),Ot,/(?:\\.|[^\\\/])*?/,Vt,/(?:\\.|[^\\\/])*?/,at,G)},Le=(Qe,Ot,at)=>O.concat(O.concat("(?:",Qe,")"),Ot,/(?:\\.|[^\\\/])*?/,at,G),$e=[le,E.HASH_COMMENT_MODE,E.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),V,{className:"string",contains:re,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[E.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[E.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+E.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[E.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:ke("s|tr|y",O.either(..._e,{capture:!0}))},{begin:ke("s|tr|y","\\(","\\)")},{begin:ke("s|tr|y","\\[","\\]")},{begin:ke("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:Le("(?:m|qr)?",/\//,/\//)},{begin:Le("m|qr",O.either(..._e,{capture:!0}),/\1/)},{begin:Le("m|qr",/\(/,/\)/)},{begin:Le("m|qr",/\[/,/\]/)},{begin:Le("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[E.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return ue.contains=$e,V.contains=$e,{name:"Perl",aliases:["pl","pm"],keywords:X,contains:$e}},grmr_php:E=>{const O=E.regex,G="[a-zA-Z0-9_\x7F-\xFF]*(?![A-Za-z0-9])(?![$]))",X=O.concat("([a-zA-Z_\\x7f-\\xff]",G),ue=O.concat("([A-Z]",G),V={scope:"variable",match:"\\$+"+X},le={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},re=E.inherit(E.APOS_STRING_MODE,{illegal:null}),_e=`[ ]`,ke={scope:"string",variants:[E.inherit(E.QUOTE_STRING_MODE,{illegal:null,contains:E.QUOTE_STRING_MODE.contains.concat(le)}),re,E.END_SAME_AS_BEGIN({begin:/<<<[ \t]*(\w+)\n/,end:/[ \t]*(\w+)\b/,contains:E.QUOTE_STRING_MODE.contains.concat(le)})]},Le={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},$e=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],Qe=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],Ot={keyword:$e,literal:(Oe=>{const Ke=[];return["false","null","true"].forEach(rt=>{Ke.push(rt),rt.toLowerCase()===rt?Ke.push(rt.toUpperCase()):Ke.push(rt.toLowerCase())}),Ke})(),built_in:Qe},at=Oe=>Oe.map(Ke=>Ke.replace(/\|\d+$/,"")),Vt={variants:[{match:[/new/,O.concat(_e,"+"),O.concat("(?!",at(Qe).join("\\b|"),"\\b)"),O.concat(/\\?/,X),O.concat(_e,"*",/\(/)],scope:{1:"keyword",4:"title.class"}}]},er={relevance:0,match:[/\b/,O.concat("(?!fn\\b|function\\b|",at($e).join("\\b|"),"|",at(Qe).join("\\b|"),"\\b)"),X,O.concat(_e,"*"),O.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"}},tr=O.concat(X,"\\b(?!\\()"),Dn={variants:[{match:[O.concat(/::/,O.lookahead(/(?!class\b)/)),tr],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[ue,O.concat("::",O.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[ue,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]};return{case_insensitive:!1,keywords:Ot,contains:[E.HASH_COMMENT_MODE,E.COMMENT("//","$"),E.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:E.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},{scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?[=]?/},{begin:/\?>/}]},{scope:"variable.language",match:/\$this\b/},V,er,Dn,{match:[/const/,/\s/,X,/\s*=/],scope:{1:"keyword",3:"variable.constant"}},Vt,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},E.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:Ot,contains:["self",V,Dn,E.C_BLOCK_COMMENT_MODE,ke,Le]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},E.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[E.inherit(E.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},E.UNDERSCORE_TITLE_MODE]},ke,Le]}},grmr_php_template:E=>({name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},E.inherit(E.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),E.inherit(E.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}),grmr_plaintext:E=>({name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}),grmr_python:E=>{const O=E.regex,G=/[\p{XID_Start}_]\p{XID_Continue}*/u,X=["and","as","assert","async","await","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],ue={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:X,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},V={className:"meta",begin:/^(>>>|\.\.\.) /},le={className:"subst",begin:/\{/,end:/\}/,keywords:ue,illegal:/#/},re={begin:/\{\{/,relevance:0},_e={className:"string",contains:[E.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[E.BACKSLASH_ESCAPE,V],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[E.BACKSLASH_ESCAPE,V],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[E.BACKSLASH_ESCAPE,V,re,le]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[E.BACKSLASH_ESCAPE,V,re,le]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[E.BACKSLASH_ESCAPE,re,le]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[E.BACKSLASH_ESCAPE,re,le]},E.APOS_STRING_MODE,E.QUOTE_STRING_MODE]},ke="[0-9](_?[0-9])*",Le=`(\\b(${ke}))?\\.(${ke})|\\b(${ke})\\.`,$e="\\b|"+X.join("|"),Qe={className:"number",relevance:0,variants:[{begin:`(\\b(${ke})|(${Le}))[eE][+-]?(${ke})[jJ]?(?=${$e})`},{begin:`(${Le})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${$e})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${$e})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${$e})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${$e})`},{begin:`\\b(${ke})[jJ](?=${$e})`}]},Ot={className:"comment",begin:O.lookahead(/# type:/),end:/$/,keywords:ue,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},at={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:ue,contains:["self",V,Qe,_e,E.HASH_COMMENT_MODE]}]};return le.contains=[_e,Qe,V],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:ue,illegal:/(<\/|->|\?)|=>/,contains:[V,Qe,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},_e,Ot,E.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,G],scope:{1:"keyword",3:"title.function"},contains:[at]},{variants:[{match:[/\bclass/,/\s+/,G,/\s*/,/\(\s*/,G,/\s*\)/]},{match:[/\bclass/,/\s+/,G]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[Qe,at,_e]}]}},grmr_python_repl:E=>({aliases:["pycon"],contains:[{className:"meta",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}),grmr_r:E=>{const O=E.regex,G=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,X=O.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),ue=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,V=O.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:G,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[E.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:O.lookahead(O.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:G},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),E.HASH_COMMENT_MODE,{scope:"string",contains:[E.BACKSLASH_ESCAPE],variants:[E.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),E.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),E.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),E.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),E.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),E.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[ue,X]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,X]},{scope:{1:"punctuation",2:"number"},match:[V,X]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,X]}]},{scope:{3:"operator"},match:[G,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:ue},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:V},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}},grmr_ruby:E=>{const O=E.regex,G="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",X={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor __FILE__",built_in:"proc lambda",literal:"true false nil"},ue={className:"doctag",begin:"@[A-Za-z]+"},V={begin:"#<",end:">"},le=[E.COMMENT("#","$",{contains:[ue]}),E.COMMENT("^=begin","^=end",{contains:[ue],relevance:10}),E.COMMENT("^__END__","\\n$")],re={className:"subst",begin:/#\{/,end:/\}/,keywords:X},_e={className:"string",contains:[E.BACKSLASH_ESCAPE,re],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:O.concat(/<<[-~]?'?/,O.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[E.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[E.BACKSLASH_ESCAPE,re]})]}]},ke="[0-9](_?[0-9])*",Le={className:"number",relevance:0,variants:[{begin:`\\b([1-9](_?[0-9])*|0)(\\.(${ke}))?([eE][+-]?(${ke})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},$e={className:"params",begin:"\\(",end:"\\)",endsParent:!0,keywords:X},Qe=[_e,{className:"class",beginKeywords:"class module",end:"$|;",illegal:/=/,contains:[E.inherit(E.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|!)?"}),{begin:"<\\s*",contains:[{begin:"("+E.IDENT_RE+"::)?"+E.IDENT_RE,relevance:0}]}].concat(le)},{className:"function",begin:O.concat(/def\s+/,O.lookahead(G+"\\s*(\\(|;|$)")),relevance:0,keywords:"def",end:"$|;",contains:[E.inherit(E.TITLE_MODE,{begin:G}),$e].concat(le)},{begin:E.IDENT_RE+"::"},{className:"symbol",begin:E.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[_e,{begin:G}],relevance:0},Le,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,relevance:0,keywords:X},{begin:"("+E.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[E.BACKSLASH_ESCAPE,re],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(V,le),relevance:0}].concat(V,le);re.contains=Qe,$e.contains=Qe;const Ot=[{begin:/^\s*=>/,starts:{end:"$",contains:Qe}},{className:"meta",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+>|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",contains:Qe}}];return le.unshift(V),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:X,illegal:/\/\*/,contains:[E.SHEBANG({binary:"ruby"})].concat(Ot).concat(le).concat(Qe)}},grmr_rust:E=>{const O=E.regex,G={className:"title.function.invoke",relevance:0,begin:O.concat(/\b/,/(?!let\b)/,E.IDENT_RE,O.lookahead(/\s*\(/))},X="([ui](8|16|32|64|128|size)|f(32|64))?",ue=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","panic!","file!","format!","format_args!","include_bin!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:E.IDENT_RE+"!?",type:["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"],keyword:["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"],literal:["true","false","Some","None","Ok","Err"],built_in:ue},illegal:"</",contains:[E.C_LINE_COMMENT_MODE,E.COMMENT("/\\*","\\*/",{contains:["self"]}),E.inherit(E.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{begin:"\\b0b([01_]+)"+X},{begin:"\\b0o([0-7_]+)"+X},{begin:"\\b0x([A-Fa-f0-9_]+)"+X},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+X}],relevance:0},{begin:[/fn/,/\s+/,E.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,E.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,E.UNDERSCORE_IDENT_RE,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,E.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,E.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:E.IDENT_RE+"::",keywords:{keyword:"Self",built_in:ue}},{className:"punctuation",begin:"->"},G]}},grmr_scss:E=>{const O=Cn(E),G=cr,X=An,ue="@[a-z-]+",V={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b"};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[E.C_LINE_COMMENT_MODE,E.C_BLOCK_COMMENT_MODE,O.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},O.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+Jn.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+X.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+G.join("|")+")"},V,{begin:/\(/,end:/\)/,contains:[O.CSS_NUMBER_MODE]},O.CSS_VARIABLE,{className:"attribute",begin:"\\b("+$r.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,contains:[O.BLOCK_COMMENT,V,O.HEXCOLOR,O.CSS_NUMBER_MODE,E.QUOTE_STRING_MODE,E.APOS_STRING_MODE,O.IMPORTANT]},{begin:"@(page|font-face)",keywords:{$pattern:ue,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:lr.join(" ")},contains:[{begin:ue,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},V,E.QUOTE_STRING_MODE,E.APOS_STRING_MODE,O.HEXCOLOR,O.CSS_NUMBER_MODE]},O.FUNCTION_DISPATCH]}},grmr_shell:E=>({name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}),grmr_sql:E=>{const O=E.regex,G=E.COMMENT("--","$"),X=["true","false","unknown"],ue=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],V=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],le=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],re=V,_e=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year","add","asc","collation","desc","final","first","last","view"].filter(Le=>!V.includes(Le)),ke={begin:O.concat(/\b/,O.either(...re),/\s*\(/),relevance:0,keywords:{built_in:re}};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:((Le,{exceptions:$e,when:Qe}={})=>{const Ot=Qe;return $e=$e||[],Le.map(at=>at.match(/\|\d+$/)||$e.includes(at)?at:Ot(at)?at+"|0":at)})(_e,{when:Le=>Le.length<3}),literal:X,type:ue,built_in:["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"]},contains:[{begin:O.either(...le),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:_e.concat(le),literal:X,type:ue}},{className:"type",begin:O.either("double precision","large object","with timezone","without timezone")},ke,{className:"variable",begin:/@[a-z0-9]+/},{className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},{begin:/"/,end:/"/,contains:[{begin:/""/}]},E.C_NUMBER_MODE,E.C_BLOCK_COMMENT_MODE,G,{className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}},grmr_swift:E=>{const O={match:/\s+/,relevance:0},G=E.COMMENT("/\\*","\\*/",{contains:["self"]}),X=[E.C_LINE_COMMENT_MODE,G],ue={match:[/\./,p(...wa,...Ar)],className:{2:"keyword"}},V={match:m(/\./,p(...ri)),relevance:0},le=ri.filter(xt=>typeof xt=="string").concat(["_|0"]),re={variants:[{className:"keyword",match:p(...ri.filter(xt=>typeof xt!="string").concat(Vc).map(Wn),...Ar)}]},_e={$pattern:p(/\b\w+/,/#\w+/),keyword:le.concat(Xc),literal:S1},ke=[ue,V,re],Le=[{match:m(/\./,p(...w1)),relevance:0},{className:"built_in",match:m(/\b/,p(...w1),/(?=\()/)}],$e={match:/->/,relevance:0},Qe=[$e,{className:"operator",relevance:0,variants:[{match:el},{match:`\\.(\\.|${Br})+`}]}],Ot="([0-9a-fA-F]_*)+",at={className:"number",relevance:0,variants:[{match:"\\b(([0-9]_*)+)(\\.(([0-9]_*)+))?([eE][+-]?(([0-9]_*)+))?\\b"},{match:`\\b0x(${Ot})(\\.(${Ot}))?([pP][+-]?(([0-9]_*)+))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},Vt=(xt="")=>({className:"subst",variants:[{match:m(/\\/,xt,/[0\\tnr"']/)},{match:m(/\\/,xt,/u\{[0-9a-fA-F]{1,8}\}/)}]}),er=(xt="")=>({className:"subst",match:m(/\\/,xt,/[\t ]*(?:[\r\n]|\r\n)/)}),tr=(xt="")=>({className:"subst",label:"interpol",begin:m(/\\/,xt,/\(/),end:/\)/}),Dn=(xt="")=>({begin:m(xt,/"""/),end:m(/"""/,xt),contains:[Vt(xt),er(xt),tr(xt)]}),Oe=(xt="")=>({begin:m(xt,/"/),end:m(/"/,xt),contains:[Vt(xt),tr(xt)]}),Ke={className:"string",variants:[Dn(),Dn("#"),Dn("##"),Dn("###"),Oe(),Oe("#"),Oe("##"),Oe("###")]},rt={match:m(/`/,ii,/`/)},tn=[rt,{className:"variable",match:/\$\d+/},{className:"variable",match:`\\$${ts}+`}],jt=[{match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:Qc,contains:[...Qe,at,Ke]}]}},{className:"keyword",match:m(/@/,p(...Ca))},{className:"meta",match:m(/@/,ii)}],Dt={match:d(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:m(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,ts,"+")},{className:"type",match:tl,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:m(/\s+&\s+/,d(tl)),relevance:0}]},un={begin:/</,end:/>/,keywords:_e,contains:[...X,...ke,...jt,$e,Dt]};Dt.contains.push(un);const mn={begin:/\(/,end:/\)/,relevance:0,keywords:_e,contains:["self",{match:m(ii,/\s*:/),keywords:"_|0",relevance:0},...X,...ke,...Le,...Qe,at,Ke,...tn,...jt,Dt]},Ft={begin:/</,end:/>/,contains:[...X,Dt]},kn={begin:/\(/,end:/\)/,keywords:_e,contains:[{begin:p(d(m(ii,/\s*:/)),d(m(ii,/\s+/,ii,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:ii}]},...X,...ke,...Qe,at,Ke,...jt,Dt,mn],endsParent:!0,illegal:/["']/},Ui={match:[/func/,/\s+/,p(rt.match,ii,el)],className:{1:"keyword",3:"title.function"},contains:[Ft,kn,O],illegal:[/\[/,/%/]},ai={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[Ft,kn,O],illegal:/\[|%/},kr={match:[/operator/,/\s+/,el],className:{1:"keyword",3:"title"}},Aa={begin:[/precedencegroup/,/\s+/,tl],className:{1:"keyword",3:"title"},contains:[Dt],keywords:[...Yc,...S1],end:/}/};for(const xt of Ke.variants){const uo=xt.contains.find(ot=>ot.label==="interpol");uo.keywords=_e;const ka=[...ke,...Le,...Qe,at,Ke,...tn];uo.contains=[...ka,{begin:/\(/,end:/\)/,contains:["self",...ka]}]}return{name:"Swift",keywords:_e,contains:[...X,Ui,ai,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:_e,contains:[E.inherit(E.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...ke]},kr,Aa,{beginKeywords:"import",end:/$/,contains:[...X],relevance:0},...ke,...Le,...Qe,at,Ke,...tn,...jt,Dt,mn]}},grmr_typescript:E=>{const O=Ut(E),G=["any","void","number","boolean","string","object","never","enum"],X={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[O.exports.CLASS_REFERENCE]},ue={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:G},contains:[O.exports.CLASS_REFERENCE]},V={$pattern:fe,keyword:Pe.concat(["type","namespace","typedef","interface","public","private","protected","implements","declare","abstract","readonly"]),literal:En,built_in:zt.concat(G),"variable.language":ur},le={className:"meta",begin:"@[A-Za-z$_][0-9A-Za-z$_]*"},re=(_e,ke,Le)=>{const $e=_e.contains.findIndex(Qe=>Qe.label===ke);if($e===-1)throw Error("can not find mode to replace");_e.contains.splice($e,1,Le)};return Object.assign(O.keywords,V),O.exports.PARAMS_CONTAINS.push(le),O.contains=O.contains.concat([le,X,ue]),re(O,"shebang",E.SHEBANG()),re(O,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),O.contains.find(_e=>_e.label==="func.def").relevance=0,Object.assign(O,{name:"TypeScript",aliases:["ts","tsx"]}),O},grmr_vbnet:E=>{const O=E.regex,G=/\d{1,2}\/\d{1,2}\/\d{4}/,X=/\d{4}-\d{1,2}-\d{1,2}/,ue=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,V=/\d{1,2}(:\d{1,2}){1,2}/,le={className:"literal",variants:[{begin:O.concat(/# */,O.either(X,G),/ *#/)},{begin:O.concat(/# */,V,/ *#/)},{begin:O.concat(/# */,ue,/ *#/)},{begin:O.concat(/# */,O.either(X,G),/ +/,O.either(ue,V),/ *#/)}]},re=E.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),_e=E.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[{className:"string",begin:/"(""|[^/n])"C\b/},{className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},le,{className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},{className:"label",begin:/^\w+:/},re,_e,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[_e]}]}},grmr_yaml:E=>{const O="true false yes no null",G="[\\w#;/?:@&=+$,.~*'()[\\]]+",X={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[E.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},ue=E.inherit(X,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),V={end:",",endsWithParent:!0,excludeEnd:!0,keywords:O,relevance:0},le={begin:/\{/,end:/\}/,contains:[V],illegal:"\\n",relevance:0},re={begin:"\\[",end:"\\]",contains:[V],illegal:"\\n",relevance:0},_e=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+G},{className:"type",begin:"!<"+G+">"},{className:"type",begin:"!"+G},{className:"type",begin:"!!"+G},{className:"meta",begin:"&"+E.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+E.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},E.HASH_COMMENT_MODE,{beginKeywords:O,keywords:{literal:O}},{className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},{className:"number",begin:E.C_NUMBER_RE+"\\b",relevance:0},le,re,X],ke=[..._e];return ke.pop(),ke.push(ue),V.contains=ke,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:_e}}});const N1=qn;for(const E of Object.keys(k1)){const O=E.replace("grmr_","").replace("_","-");N1.registerLanguage(O,k1[E])}return N1}();typeof exports=="object"&&typeof module<"u"&&(module.exports=N3);const sk=en("<div></div>");var lk=Object.create,ef=Object.defineProperty,ck=Object.getOwnPropertyDescriptor,O3=Object.getOwnPropertyNames,uk=Object.getPrototypeOf,dk=Object.prototype.hasOwnProperty,m1=(e,t)=>function(){return t||(0,e[O3(e)[0]])((t={exports:{}}).exports,t),t.exports},M3=(e,t)=>{for(var n in t)ef(e,n,{get:t[n],enumerable:!0})},hk=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of O3(t))!dk.call(e,i)&&i!==n&&ef(e,i,{get:()=>t[i],enumerable:!(r=ck(t,i))||r.enumerable});return e},oo=(e,t,n)=>(n=e!=null?lk(uk(e)):{},hk(t||!e||!e.__esModule?ef(n,"default",{value:e,enumerable:!0}):n,e)),Ac=m1({"node_modules/mdurl/encode.js"(e,t){var n={};function r(a){var o,s,l=n[a];if(l)return l;for(l=n[a]=[],o=0;o<128;o++)s=String.fromCharCode(o),/^[0-9a-z]$/i.test(s)?l.push(s):l.push("%"+("0"+o.toString(16).toUpperCase()).slice(-2));for(o=0;o<a.length;o++)l[a.charCodeAt(o)]=a[o];return l}function i(a,o,s){var l,c,u,d,f,h="";for(typeof o!="string"&&(s=o,o=i.defaultChars),typeof s>"u"&&(s=!0),f=r(o),l=0,c=a.length;l<c;l++){if(u=a.charCodeAt(l),s&&u===37&&l+2<c&&/^[0-9a-f]{2}$/i.test(a.slice(l+1,l+3))){h+=a.slice(l,l+3),l+=2;continue}if(u<128){h+=f[u];continue}if(u>=55296&&u<=57343){if(u>=55296&&u<=56319&&l+1<c&&(d=a.charCodeAt(l+1),d>=56320&&d<=57343)){h+=encodeURIComponent(a[l]+a[l+1]),l++;continue}h+="%EF%BF%BD";continue}h+=encodeURIComponent(a[l])}return h}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",t.exports=i}}),I3=m1({"node_modules/is-buffer/index.js"(e,t){t.exports=function(r){return r!=null&&r.constructor!=null&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}}}),fk=m1({"node_modules/extend/index.js"(e,t){var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(d){return typeof Array.isArray=="function"?Array.isArray(d):r.call(d)==="[object Array]"},s=function(d){if(!d||r.call(d)!=="[object Object]")return!1;var f=n.call(d,"constructor"),h=d.constructor&&d.constructor.prototype&&n.call(d.constructor.prototype,"isPrototypeOf");if(d.constructor&&!f&&!h)return!1;var m;for(m in d);return typeof m>"u"||n.call(d,m)},l=function(d,f){i&&f.name==="__proto__"?i(d,f.name,{enumerable:!0,configurable:!0,value:f.newValue,writable:!0}):d[f.name]=f.newValue},c=function(d,f){if(f==="__proto__")if(n.call(d,f)){if(a)return a(d,f).value}else return;return d[f]};t.exports=function u(){var d,f,h,m,p,b,v=arguments[0],x=1,_=arguments.length,D=!1;for(typeof v=="boolean"&&(D=v,v=arguments[1]||{},x=2),(v==null||typeof v!="object"&&typeof v!="function")&&(v={});x<_;++x)if(d=arguments[x],d!=null)for(f in d)h=c(v,f),m=c(d,f),v!==m&&(D&&m&&(s(m)||(p=o(m)))?(p?(p=!1,b=h&&o(h)?h:[]):b=h&&s(h)?h:{},l(v,{name:f,newValue:u(D,b,m)})):typeof m<"u"&&l(v,{name:f,newValue:m}));return v}}}),mk=m1({"node_modules/inline-style-parser/index.js"(e,t){var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,i=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,c=/^\s+|\s+$/g,u=` `,d="/",f="*",h="",m="comment",p="declaration";t.exports=function(v,x){if(typeof v!="string")throw new TypeError("First argument must be a string");if(!v)return[];x=x||{};var _=1,D=1;function I(de){var U=de.match(r);U&&(_+=U.length);var De=de.lastIndexOf(u);D=~De?de.length-De:D+de.length}function C(){var de={line:_,column:D};return function(U){return U.position=new w(de),Q(),U}}function w(de){this.start=de,this.end={line:_,column:D},this.source=x.source}w.prototype.content=v;function R(de){var U=new Error(x.source+":"+_+":"+D+": "+de);if(U.reason=de,U.filename=x.source,U.line=_,U.column=D,U.source=v,!x.silent)throw U}function L(de){var U=de.exec(v);if(!!U){var De=U[0];return I(De),v=v.slice(De.length),U}}function Q(){L(i)}function K(de){var U;for(de=de||[];U=J();)U!==!1&&de.push(U);return de}function J(){var de=C();if(!(d!=v.charAt(0)||f!=v.charAt(1))){for(var U=2;h!=v.charAt(U)&&(f!=v.charAt(U)||d!=v.charAt(U+1));)++U;if(U+=2,h===v.charAt(U-1))return R("End of comment missing");var De=v.slice(2,U-2);return D+=2,I(De),v=v.slice(U),D+=2,de({type:m,comment:De})}}function oe(){var de=C(),U=L(a);if(!!U){if(J(),!L(o))return R("property missing ':'");var De=L(s),ne=de({type:p,property:b(U[0].replace(n,h)),value:De?b(De[0].replace(n,h)):h});return L(l),ne}}function se(){var de=[];K(de);for(var U;U=oe();)U!==!1&&(de.push(U),K(de));return de}return Q(),se()};function b(v){return v?v.replace(c,h):h}}}),pk=m1({"node_modules/style-to-object/index.js"(e,t){var n=mk();function r(i,a){var o=null;if(!i||typeof i!="string")return o;for(var s,l=n(i),c=typeof a=="function",u,d,f=0,h=l.length;f<h;f++)s=l[f],u=s.property,d=s.value,c?a(u,d,s):d&&(o||(o={}),o[u]=d);return o}t.exports=r}});function gk(e,t){var{includeImageAlt:n=!0}=t||{};return R3(e,n)}function R3(e,t){return e&&typeof e=="object"&&(e.value||(t?e.alt:"")||"children"in e&&sm(e.children,t)||Array.isArray(e)&&sm(e,t))||""}function sm(e,t){for(var n=[],r=-1;++r<e.length;)n[r]=R3(e[r],t);return n.join("")}function $i(e,t,n,r){const i=e.length;let a=0,o;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),[].splice.apply(e,o);else for(n&&[].splice.apply(e,[t,n]);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),[].splice.apply(e,o),a+=1e4,t+=1e4}function Gr(e,t){return e.length>0?($i(e,e.length,0,t),e):t}var lm={}.hasOwnProperty;function bk(e){const t={};let n=-1;for(;++n<e.length;)vk(t,e[n]);return t}function vk(e,t){let n;for(n in t){const i=(lm.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let o;for(o in a){lm.call(i,o)||(i[o]=[]);const s=a[o];yk(i[o],Array.isArray(s)?s:s?[s]:[])}}}function yk(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);$i(e,0,0,r)}var Tk=/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,Ni=so(/[A-Za-z]/),Pd=so(/\d/),Ek=so(/[\dA-Fa-f]/),Lr=so(/[\dA-Za-z]/),_k=so(/[!-/:-@[-`{-~]/),cm=so(/[#-'*+\--9=?A-Z^-~]/);function $d(e){return e!==null&&(e<32||e===127)}function Vr(e){return e!==null&&(e<0||e===32)}function ct(e){return e!==null&&e<-2}function In(e){return e===-2||e===-1||e===32}var xk=so(/\s/),Sk=so(Tk);function so(e){return t;function t(n){return n!==null&&e.test(String.fromCharCode(n))}}function Qt(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return o;function o(l){return In(l)?(e.enter(n),s(l)):t(l)}function s(l){return In(l)&&a++<i?(e.consume(l),s):(e.exit(n),t(l))}}var wk={tokenize:Ck};function Ck(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),Qt(e,t,"linePrefix")}function i(s){return e.enter("paragraph"),a(s)}function a(s){const l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,o(s)}function o(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return ct(s)?(e.consume(s),e.exit("chunkText"),a):(e.consume(s),o)}}var Ak={tokenize:kk},um={tokenize:Nk};function kk(e){const t=this,n=[];let r=0,i,a,o;return s;function s(_){if(r<n.length){const D=n[r];return t.containerState=D[1],e.attempt(D[0].continuation,l,c)(_)}return c(_)}function l(_){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&x();const D=t.events.length;let I=D,C;for(;I--;)if(t.events[I][0]==="exit"&&t.events[I][1].type==="chunkFlow"){C=t.events[I][1].end;break}v(r);let w=D;for(;w<t.events.length;)t.events[w][1].end=Object.assign({},C),w++;return $i(t.events,I+1,0,t.events.slice(D)),t.events.length=w,c(_)}return s(_)}function c(_){if(r===n.length){if(!i)return f(_);if(i.currentConstruct&&i.currentConstruct.concrete)return m(_);t.interrupt=Boolean(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(um,u,d)(_)}function u(_){return i&&x(),v(r),f(_)}function d(_){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,m(_)}function f(_){return t.containerState={},e.attempt(um,h,m)(_)}function h(_){return r++,n.push([t.currentConstruct,t.containerState]),f(_)}function m(_){if(_===null){i&&x(),v(0),e.consume(_);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:a,_tokenizer:i}),p(_)}function p(_){if(_===null){b(e.exit("chunkFlow"),!0),v(0),e.consume(_);return}return ct(_)?(e.consume(_),b(e.exit("chunkFlow")),r=0,t.interrupt=void 0,s):(e.consume(_),p)}function b(_,D){const I=t.sliceStream(_);if(D&&I.push(null),_.previous=a,a&&(a.next=_),a=_,i.defineSkip(_.start),i.write(I),t.parser.lazy[_.start.line]){let C=i.events.length;for(;C--;)if(i.events[C][1].start.offset<o&&(!i.events[C][1].end||i.events[C][1].end.offset>o))return;const w=t.events.length;let R=w,L,Q;for(;R--;)if(t.events[R][0]==="exit"&&t.events[R][1].type==="chunkFlow"){if(L){Q=t.events[R][1].end;break}L=!0}for(v(r),C=w;C<t.events.length;)t.events[C][1].end=Object.assign({},Q),C++;$i(t.events,R+1,0,t.events.slice(w)),t.events.length=C}}function v(_){let D=n.length;for(;D-- >_;){const I=n[D];t.containerState=I[1],I[0].exit.call(t,e)}n.length=_}function x(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Nk(e,t,n){return Qt(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function dm(e){if(e===null||Vr(e)||xk(e))return 1;if(Sk(e))return 2}function tf(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}var Bd={name:"attention",tokenize:Mk,resolveAll:Ok};function Ok(e,t){let n=-1,r,i,a,o,s,l,c,u;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const d=Object.assign({},e[r][1].end),f=Object.assign({},e[n][1].start);hm(d,-l),hm(f,l),o={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[r][1].end)},s={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:f},a={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},s.end)},e[r][1].end=Object.assign({},o.start),e[n][1].start=Object.assign({},s.end),c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Gr(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Gr(c,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",a,t]]),c=Gr(c,tf(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Gr(c,[["exit",a,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,c=Gr(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):u=0,$i(e,r-1,n-r+3,c),n=r+c.length-u-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function Mk(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=dm(r);let a;return o;function o(l){return e.enter("attentionSequence"),a=l,s(l)}function s(l){if(l===a)return e.consume(l),s;const c=e.exit("attentionSequence"),u=dm(l),d=!u||u===2&&i||n.includes(l),f=!i||i===2&&u||n.includes(r);return c._open=Boolean(a===42?d:d&&(i||!f)),c._close=Boolean(a===42?f:f&&(u||!d)),t(l)}}function hm(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var Ik={name:"autolink",tokenize:Rk};function Rk(e,t,n){let r=1;return i;function i(m){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(m){return Ni(m)?(e.consume(m),o):cm(m)?c(m):n(m)}function o(m){return m===43||m===45||m===46||Lr(m)?s(m):c(m)}function s(m){return m===58?(e.consume(m),l):(m===43||m===45||m===46||Lr(m))&&r++<32?(e.consume(m),s):c(m)}function l(m){return m===62?(e.exit("autolinkProtocol"),h(m)):m===null||m===32||m===60||$d(m)?n(m):(e.consume(m),l)}function c(m){return m===64?(e.consume(m),r=0,u):cm(m)?(e.consume(m),c):n(m)}function u(m){return Lr(m)?d(m):n(m)}function d(m){return m===46?(e.consume(m),r=0,u):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",h(m)):f(m)}function f(m){return(m===45||Lr(m))&&r++<63?(e.consume(m),m===45?f:d):n(m)}function h(m){return e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t}}var kc={tokenize:Lk,partial:!0};function Lk(e,t,n){return Qt(e,r,"linePrefix");function r(i){return i===null||ct(i)?t(i):n(i)}}var L3={name:"blockQuote",tokenize:Dk,continuation:{tokenize:Pk},exit:$k};function Dk(e,t,n){const r=this;return i;function i(o){if(o===62){const s=r.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),a}return n(o)}function a(o){return In(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function Pk(e,t,n){return Qt(e,e.attempt(L3,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function $k(e){e.exit("blockQuote")}var D3={name:"characterEscape",tokenize:Bk};function Bk(e,t,n){return r;function r(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return _k(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}var fm=document.createElement("i");function nf(e){const t="&"+e+";";fm.innerHTML=t;const n=fm.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}var P3={name:"characterReference",tokenize:Fk};function Fk(e,t,n){const r=this;let i=0,a,o;return s;function s(d){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),l}function l(d){return d===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(d),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),a=31,o=Lr,u(d))}function c(d){return d===88||d===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(d),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,o=Ek,u):(e.enter("characterReferenceValue"),a=7,o=Pd,u(d))}function u(d){let f;return d===59&&i?(f=e.exit("characterReferenceValue"),o===Lr&&!nf(r.sliceSerialize(f))?n(d):(e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)):o(d)&&i++<a?(e.consume(d),u):n(d)}}var mm={name:"codeFenced",tokenize:zk,concrete:!0};function zk(e,t,n){const r=this,i={tokenize:I,partial:!0},a={tokenize:D,partial:!0},o=this.events[this.events.length-1],s=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0;let l=0,c;return u;function u(C){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c=C,d(C)}function d(C){return C===c?(e.consume(C),l++,d):(e.exit("codeFencedFenceSequence"),l<3?n(C):Qt(e,f,"whitespace")(C))}function f(C){return C===null||ct(C)?b(C):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),h(C))}function h(C){return C===null||Vr(C)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Qt(e,m,"whitespace")(C)):C===96&&C===c?n(C):(e.consume(C),h)}function m(C){return C===null||ct(C)?b(C):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(C))}function p(C){return C===null||ct(C)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),b(C)):C===96&&C===c?n(C):(e.consume(C),p)}function b(C){return e.exit("codeFencedFence"),r.interrupt?t(C):v(C)}function v(C){return C===null?_(C):ct(C)?e.attempt(a,e.attempt(i,_,s?Qt(e,v,"linePrefix",s+1):v),_)(C):(e.enter("codeFlowValue"),x(C))}function x(C){return C===null||ct(C)?(e.exit("codeFlowValue"),v(C)):(e.consume(C),x)}function _(C){return e.exit("codeFenced"),t(C)}function D(C,w,R){const L=this;return Q;function Q(J){return C.enter("lineEnding"),C.consume(J),C.exit("lineEnding"),K}function K(J){return L.parser.lazy[L.now().line]?R(J):w(J)}}function I(C,w,R){let L=0;return Qt(C,Q,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function Q(oe){return C.enter("codeFencedFence"),C.enter("codeFencedFenceSequence"),K(oe)}function K(oe){return oe===c?(C.consume(oe),L++,K):L<l?R(oe):(C.exit("codeFencedFenceSequence"),Qt(C,J,"whitespace")(oe))}function J(oe){return oe===null||ct(oe)?(C.exit("codeFencedFence"),w(oe)):R(oe)}}}var gu={name:"codeIndented",tokenize:Uk},Hk={tokenize:jk,partial:!0};function Uk(e,t,n){const r=this;return i;function i(c){return e.enter("codeIndented"),Qt(e,a,"linePrefix",4+1)(c)}function a(c){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?o(c):n(c)}function o(c){return c===null?l(c):ct(c)?e.attempt(Hk,o,l)(c):(e.enter("codeFlowValue"),s(c))}function s(c){return c===null||ct(c)?(e.exit("codeFlowValue"),o(c)):(e.consume(c),s)}function l(c){return e.exit("codeIndented"),t(c)}}function jk(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):ct(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):Qt(e,a,"linePrefix",4+1)(o)}function a(o){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):ct(o)?i(o):n(o)}}var Gk={name:"codeText",tokenize:Kk,resolve:qk,previous:Wk};function qk(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function Wk(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Kk(e,t,n){let r=0,i,a;return o;function o(d){return e.enter("codeText"),e.enter("codeTextSequence"),s(d)}function s(d){return d===96?(e.consume(d),r++,s):(e.exit("codeTextSequence"),l(d))}function l(d){return d===null?n(d):d===96?(a=e.enter("codeTextSequence"),i=0,u(d)):d===32?(e.enter("space"),e.consume(d),e.exit("space"),l):ct(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(d))}function c(d){return d===null||d===32||d===96||ct(d)?(e.exit("codeTextData"),l(d)):(e.consume(d),c)}function u(d){return d===96?(e.consume(d),i++,u):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(d)):(a.type="codeTextData",c(d))}}function $3(e){const t={};let n=-1,r,i,a,o,s,l,c;for(;++n<e.length;){for(;n in t;)n=t[n];if(r=e[n],n&&r[1].type==="chunkFlow"&&e[n-1][1].type==="listItemPrefix"&&(l=r[1]._tokenizer.events,a=0,a<l.length&&l[a][1].type==="lineEndingBlank"&&(a+=2),a<l.length&&l[a][1].type==="content"))for(;++a<l.length&&l[a][1].type!=="content";)l[a][1].type==="chunkText"&&(l[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,Vk(e,n)),n=t[n],c=!0);else if(r[1]._container){for(a=n,i=void 0;a--&&(o=e[a],o[1].type==="lineEnding"||o[1].type==="lineEndingBlank");)o[0]==="enter"&&(i&&(e[i][1].type="lineEndingBlank"),o[1].type="lineEnding",i=a);i&&(r[1].end=Object.assign({},e[i][1].start),s=e.slice(i,n),s.unshift(r),$i(e,i,n-i+1,s))}}return!c}function Vk(e,t){const n=e[t][1],r=e[t][2];let i=t-1;const a=[],o=n._tokenizer||r.parser[n.contentType](n.start),s=o.events,l=[],c={};let u,d,f=-1,h=n,m=0,p=0;const b=[p];for(;h;){for(;e[++i][1]!==h;);a.push(i),h._tokenizer||(u=r.sliceStream(h),h.next||u.push(null),d&&o.defineSkip(h.start),h._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(u),h._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),d=h,h=h.next}for(h=n;++f<s.length;)s[f][0]==="exit"&&s[f-1][0]==="enter"&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(p=f+1,b.push(p),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(o.events=[],h?(h._tokenizer=void 0,h.previous=void 0):b.pop(),f=b.length;f--;){const v=s.slice(b[f],b[f+1]),x=a.pop();l.unshift([x,x+v.length-1]),$i(e,x,2,v)}for(f=-1;++f<l.length;)c[m+l[f][0]]=m+l[f][1],m+=l[f][1]-l[f][0]-1;return c}var Yk={tokenize:Zk,resolve:Qk},Xk={tokenize:Jk,partial:!0};function Qk(e){return $3(e),e}function Zk(e,t){let n;return r;function r(s){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(s)}function i(s){return s===null?a(s):ct(s)?e.check(Xk,o,a)(s):(e.consume(s),i)}function a(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function o(s){return e.consume(s),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function Jk(e,t,n){const r=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),Qt(e,a,"linePrefix")}function a(o){if(o===null||ct(o))return n(o);const s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function B3(e,t,n,r,i,a,o,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return d;function d(v){return v===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(v),e.exit(a),f):v===null||v===41||$d(v)?n(v):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),p(v))}function f(v){return v===62?(e.enter(a),e.consume(v),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),h(v))}function h(v){return v===62?(e.exit("chunkString"),e.exit(s),f(v)):v===null||v===60||ct(v)?n(v):(e.consume(v),v===92?m:h)}function m(v){return v===60||v===62||v===92?(e.consume(v),h):h(v)}function p(v){return v===40?++u>c?n(v):(e.consume(v),p):v===41?u--?(e.consume(v),p):(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(v)):v===null||Vr(v)?u?n(v):(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(v)):$d(v)?n(v):(e.consume(v),v===92?b:p)}function b(v){return v===40||v===41||v===92?(e.consume(v),p):p(v)}}function F3(e,t,n,r,i,a){const o=this;let s=0,l;return c;function c(h){return e.enter(r),e.enter(i),e.consume(h),e.exit(i),e.enter(a),u}function u(h){return h===null||h===91||h===93&&!l||h===94&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs||s>999?n(h):h===93?(e.exit(a),e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):ct(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),d(h))}function d(h){return h===null||h===91||h===93||ct(h)||s++>999?(e.exit("chunkString"),u(h)):(e.consume(h),l=l||!In(h),h===92?f:d)}function f(h){return h===91||h===92||h===93?(e.consume(h),s++,d):d(h)}}function z3(e,t,n,r,i,a){let o;return s;function s(f){return e.enter(r),e.enter(i),e.consume(f),e.exit(i),o=f===40?41:f,l}function l(f){return f===o?(e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):(e.enter(a),c(f))}function c(f){return f===o?(e.exit(a),l(o)):f===null?n(f):ct(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),Qt(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(f))}function u(f){return f===o||f===null||ct(f)?(e.exit("chunkString"),c(f)):(e.consume(f),f===92?d:u)}function d(f){return f===o||f===92?(e.consume(f),u):u(f)}}function Pl(e,t){let n;return r;function r(i){return ct(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):In(i)?Qt(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function Es(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var eN={name:"definition",tokenize:nN},tN={tokenize:rN,partial:!0};function nN(e,t,n){const r=this;let i;return a;function a(l){return e.enter("definition"),F3.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(l)}function o(l){return i=Es(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),l===58?(e.enter("definitionMarker"),e.consume(l),e.exit("definitionMarker"),Pl(e,B3(e,e.attempt(tN,Qt(e,s,"whitespace"),Qt(e,s,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(l)}function s(l){return l===null||ct(l)?(e.exit("definition"),r.parser.defined.includes(i)||r.parser.defined.push(i),t(l)):n(l)}}function rN(e,t,n){return r;function r(o){return Vr(o)?Pl(e,i)(o):n(o)}function i(o){return o===34||o===39||o===40?z3(e,Qt(e,a,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o):n(o)}function a(o){return o===null||ct(o)?t(o):n(o)}}var iN={name:"hardBreakEscape",tokenize:aN};function aN(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(a),i}function i(a){return ct(a)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(a)):n(a)}}var oN={name:"headingAtx",tokenize:lN,resolve:sN};function sN(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},$i(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function lN(e,t,n){const r=this;let i=0;return a;function a(u){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),o(u)}function o(u){return u===35&&i++<6?(e.consume(u),o):u===null||Vr(u)?(e.exit("atxHeadingSequence"),r.interrupt?t(u):s(u)):n(u)}function s(u){return u===35?(e.enter("atxHeadingSequence"),l(u)):u===null||ct(u)?(e.exit("atxHeading"),t(u)):In(u)?Qt(e,s,"whitespace")(u):(e.enter("atxHeadingText"),c(u))}function l(u){return u===35?(e.consume(u),l):(e.exit("atxHeadingSequence"),s(u))}function c(u){return u===null||u===35||Vr(u)?(e.exit("atxHeadingText"),s(u)):(e.consume(u),c)}}var cN=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],pm=["pre","script","style","textarea"],uN={name:"htmlFlow",tokenize:fN,resolveTo:hN,concrete:!0},dN={tokenize:mN,partial:!0};function hN(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function fN(e,t,n){const r=this;let i,a,o,s,l;return c;function c(P){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(P),u}function u(P){return P===33?(e.consume(P),d):P===47?(e.consume(P),m):P===63?(e.consume(P),i=3,r.interrupt?t:Ge):Ni(P)?(e.consume(P),o=String.fromCharCode(P),a=!0,p):n(P)}function d(P){return P===45?(e.consume(P),i=2,f):P===91?(e.consume(P),i=5,o="CDATA[",s=0,h):Ni(P)?(e.consume(P),i=4,r.interrupt?t:Ge):n(P)}function f(P){return P===45?(e.consume(P),r.interrupt?t:Ge):n(P)}function h(P){return P===o.charCodeAt(s++)?(e.consume(P),s===o.length?r.interrupt?t:K:h):n(P)}function m(P){return Ni(P)?(e.consume(P),o=String.fromCharCode(P),p):n(P)}function p(P){return P===null||P===47||P===62||Vr(P)?P!==47&&a&&pm.includes(o.toLowerCase())?(i=1,r.interrupt?t(P):K(P)):cN.includes(o.toLowerCase())?(i=6,P===47?(e.consume(P),b):r.interrupt?t(P):K(P)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(P):a?x(P):v(P)):P===45||Lr(P)?(e.consume(P),o+=String.fromCharCode(P),p):n(P)}function b(P){return P===62?(e.consume(P),r.interrupt?t:K):n(P)}function v(P){return In(P)?(e.consume(P),v):L(P)}function x(P){return P===47?(e.consume(P),L):P===58||P===95||Ni(P)?(e.consume(P),_):In(P)?(e.consume(P),x):L(P)}function _(P){return P===45||P===46||P===58||P===95||Lr(P)?(e.consume(P),_):D(P)}function D(P){return P===61?(e.consume(P),I):In(P)?(e.consume(P),D):x(P)}function I(P){return P===null||P===60||P===61||P===62||P===96?n(P):P===34||P===39?(e.consume(P),l=P,C):In(P)?(e.consume(P),I):(l=null,w(P))}function C(P){return P===null||ct(P)?n(P):P===l?(e.consume(P),R):(e.consume(P),C)}function w(P){return P===null||P===34||P===39||P===60||P===61||P===62||P===96||Vr(P)?D(P):(e.consume(P),w)}function R(P){return P===47||P===62||In(P)?x(P):n(P)}function L(P){return P===62?(e.consume(P),Q):n(P)}function Q(P){return In(P)?(e.consume(P),Q):P===null||ct(P)?K(P):n(P)}function K(P){return P===45&&i===2?(e.consume(P),de):P===60&&i===1?(e.consume(P),U):P===62&&i===4?(e.consume(P),Ne):P===63&&i===3?(e.consume(P),Ge):P===93&&i===5?(e.consume(P),ne):ct(P)&&(i===6||i===7)?e.check(dN,Ne,J)(P):P===null||ct(P)?J(P):(e.consume(P),K)}function J(P){return e.exit("htmlFlowData"),oe(P)}function oe(P){return P===null?N(P):ct(P)?e.attempt({tokenize:se,partial:!0},oe,N)(P):(e.enter("htmlFlowData"),K(P))}function se(P,be,Ve){return Et;function Et(st){return P.enter("lineEnding"),P.consume(st),P.exit("lineEnding"),ht}function ht(st){return r.parser.lazy[r.now().line]?Ve(st):be(st)}}function de(P){return P===45?(e.consume(P),Ge):K(P)}function U(P){return P===47?(e.consume(P),o="",De):K(P)}function De(P){return P===62&&pm.includes(o.toLowerCase())?(e.consume(P),Ne):Ni(P)&&o.length<8?(e.consume(P),o+=String.fromCharCode(P),De):K(P)}function ne(P){return P===93?(e.consume(P),Ge):K(P)}function Ge(P){return P===62?(e.consume(P),Ne):P===45&&i===2?(e.consume(P),Ge):K(P)}function Ne(P){return P===null||ct(P)?(e.exit("htmlFlowData"),N(P)):(e.consume(P),Ne)}function N(P){return e.exit("htmlFlow"),t(P)}}function mN(e,t,n){return r;function r(i){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),e.attempt(kc,t,n)}}var pN={name:"htmlText",tokenize:gN};function gN(e,t,n){const r=this;let i,a,o,s;return l;function l(N){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(N),c}function c(N){return N===33?(e.consume(N),u):N===47?(e.consume(N),w):N===63?(e.consume(N),I):Ni(N)?(e.consume(N),Q):n(N)}function u(N){return N===45?(e.consume(N),d):N===91?(e.consume(N),a="CDATA[",o=0,b):Ni(N)?(e.consume(N),D):n(N)}function d(N){return N===45?(e.consume(N),f):n(N)}function f(N){return N===null||N===62?n(N):N===45?(e.consume(N),h):m(N)}function h(N){return N===null||N===62?n(N):m(N)}function m(N){return N===null?n(N):N===45?(e.consume(N),p):ct(N)?(s=m,ne(N)):(e.consume(N),m)}function p(N){return N===45?(e.consume(N),Ne):m(N)}function b(N){return N===a.charCodeAt(o++)?(e.consume(N),o===a.length?v:b):n(N)}function v(N){return N===null?n(N):N===93?(e.consume(N),x):ct(N)?(s=v,ne(N)):(e.consume(N),v)}function x(N){return N===93?(e.consume(N),_):v(N)}function _(N){return N===62?Ne(N):N===93?(e.consume(N),_):v(N)}function D(N){return N===null||N===62?Ne(N):ct(N)?(s=D,ne(N)):(e.consume(N),D)}function I(N){return N===null?n(N):N===63?(e.consume(N),C):ct(N)?(s=I,ne(N)):(e.consume(N),I)}function C(N){return N===62?Ne(N):I(N)}function w(N){return Ni(N)?(e.consume(N),R):n(N)}function R(N){return N===45||Lr(N)?(e.consume(N),R):L(N)}function L(N){return ct(N)?(s=L,ne(N)):In(N)?(e.consume(N),L):Ne(N)}function Q(N){return N===45||Lr(N)?(e.consume(N),Q):N===47||N===62||Vr(N)?K(N):n(N)}function K(N){return N===47?(e.consume(N),Ne):N===58||N===95||Ni(N)?(e.consume(N),J):ct(N)?(s=K,ne(N)):In(N)?(e.consume(N),K):Ne(N)}function J(N){return N===45||N===46||N===58||N===95||Lr(N)?(e.consume(N),J):oe(N)}function oe(N){return N===61?(e.consume(N),se):ct(N)?(s=oe,ne(N)):In(N)?(e.consume(N),oe):K(N)}function se(N){return N===null||N===60||N===61||N===62||N===96?n(N):N===34||N===39?(e.consume(N),i=N,de):ct(N)?(s=se,ne(N)):In(N)?(e.consume(N),se):(e.consume(N),i=void 0,De)}function de(N){return N===i?(e.consume(N),U):N===null?n(N):ct(N)?(s=de,ne(N)):(e.consume(N),de)}function U(N){return N===62||N===47||Vr(N)?K(N):n(N)}function De(N){return N===null||N===34||N===39||N===60||N===61||N===96?n(N):N===62||Vr(N)?K(N):(e.consume(N),De)}function ne(N){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(N),e.exit("lineEnding"),Qt(e,Ge,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Ge(N){return e.enter("htmlTextData"),s(N)}function Ne(N){return N===62?(e.consume(N),e.exit("htmlTextData"),e.exit("htmlText"),t):n(N)}}var rf={name:"labelEnd",tokenize:_N,resolveTo:EN,resolveAll:TN},bN={tokenize:xN},vN={tokenize:SN},yN={tokenize:wN};function TN(e){let t=-1,n;for(;++t<e.length;)n=e[t][1],(n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd")&&(e.splice(t+1,n.type==="labelImage"?4:2),n.type="data",t++);return e}function EN(e,t){let n=e.length,r=0,i,a,o,s;for(;n--;)if(i=e[n][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(o=n);const l={type:e[a][1].type==="labelLink"?"link":"image",start:Object.assign({},e[a][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[a][1].start),end:Object.assign({},e[o][1].end)},u={type:"labelText",start:Object.assign({},e[a+r+2][1].end),end:Object.assign({},e[o-2][1].start)};return s=[["enter",l,t],["enter",c,t]],s=Gr(s,e.slice(a+1,a+r+3)),s=Gr(s,[["enter",u,t]]),s=Gr(s,tf(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),s=Gr(s,[["exit",u,t],e[o-2],e[o-1],["exit",c,t]]),s=Gr(s,e.slice(o+1)),s=Gr(s,[["exit",l,t]]),$i(e,a,e.length,s),e}function _N(e,t,n){const r=this;let i=r.events.length,a,o;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){a=r.events[i][1];break}return s;function s(u){return a?a._inactive?c(u):(o=r.parser.defined.includes(Es(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelEnd"),l):n(u)}function l(u){return u===40?e.attempt(bN,t,o?t:c)(u):u===91?e.attempt(vN,t,o?e.attempt(yN,t,c):c)(u):o?t(u):c(u)}function c(u){return a._balanced=!0,n(u)}}function xN(e,t,n){return r;function r(l){return e.enter("resource"),e.enter("resourceMarker"),e.consume(l),e.exit("resourceMarker"),Pl(e,i)}function i(l){return l===41?s(l):B3(e,a,n,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(l)}function a(l){return Vr(l)?Pl(e,o)(l):s(l)}function o(l){return l===34||l===39||l===40?z3(e,Pl(e,s),n,"resourceTitle","resourceTitleMarker","resourceTitleString")(l):s(l)}function s(l){return l===41?(e.enter("resourceMarker"),e.consume(l),e.exit("resourceMarker"),e.exit("resource"),t):n(l)}}function SN(e,t,n){const r=this;return i;function i(o){return F3.call(r,e,a,n,"reference","referenceMarker","referenceString")(o)}function a(o){return r.parser.defined.includes(Es(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(o):n(o)}}function wN(e,t,n){return r;function r(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):n(a)}}var CN={name:"labelStartImage",tokenize:AN,resolveAll:rf.resolveAll};function AN(e,t,n){const r=this;return i;function i(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),a}function a(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),o):n(s)}function o(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}var kN={name:"labelStartLink",tokenize:NN,resolveAll:rf.resolveAll};function NN(e,t,n){const r=this;return i;function i(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),a}function a(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}var bu={name:"lineEnding",tokenize:ON};function ON(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),Qt(e,t,"linePrefix")}}var b0={name:"thematicBreak",tokenize:MN};function MN(e,t,n){let r=0,i;return a;function a(l){return e.enter("thematicBreak"),i=l,o(l)}function o(l){return l===i?(e.enter("thematicBreakSequence"),s(l)):In(l)?Qt(e,o,"whitespace")(l):r<3||l!==null&&!ct(l)?n(l):(e.exit("thematicBreak"),t(l))}function s(l){return l===i?(e.consume(l),r++,s):(e.exit("thematicBreakSequence"),o(l))}}var Tr={name:"list",tokenize:LN,continuation:{tokenize:DN},exit:$N},IN={tokenize:BN,partial:!0},RN={tokenize:PN,partial:!0};function LN(e,t,n){const r=this,i=r.events[r.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(h){const m=r.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(m==="listUnordered"?!r.containerState.marker||h===r.containerState.marker:Pd(h)){if(r.containerState.type||(r.containerState.type=m,e.enter(m,{_container:!0})),m==="listUnordered")return e.enter("listItemPrefix"),h===42||h===45?e.check(b0,n,c)(h):c(h);if(!r.interrupt||h===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(h)}return n(h)}function l(h){return Pd(h)&&++o<10?(e.consume(h),l):(!r.interrupt||o<2)&&(r.containerState.marker?h===r.containerState.marker:h===41||h===46)?(e.exit("listItemValue"),c(h)):n(h)}function c(h){return e.enter("listItemMarker"),e.consume(h),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||h,e.check(kc,r.interrupt?n:u,e.attempt(IN,f,d))}function u(h){return r.containerState.initialBlankLine=!0,a++,f(h)}function d(h){return In(h)?(e.enter("listItemPrefixWhitespace"),e.consume(h),e.exit("listItemPrefixWhitespace"),f):n(h)}function f(h){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(h)}}function DN(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(kc,i,a);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Qt(e,t,"listItemIndent",r.containerState.size+1)(s)}function a(s){return r.containerState.furtherBlankLines||!In(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(RN,t,o)(s))}function o(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,Qt(e,e.attempt(Tr,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function PN(e,t,n){const r=this;return Qt(e,i,"listItemIndent",r.containerState.size+1);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(a):n(a)}}function $N(e){e.exit(this.containerState.type)}function BN(e,t,n){const r=this;return Qt(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function i(a){const o=r.events[r.events.length-1];return!In(a)&&o&&o[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}var gm={name:"setextUnderline",tokenize:zN,resolveTo:FN};function FN(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const o={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",o,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[a][1].end)):e[r][1]=o,e.push(["exit",o,t]),e}function zN(e,t,n){const r=this;let i=r.events.length,a,o;for(;i--;)if(r.events[i][1].type!=="lineEnding"&&r.events[i][1].type!=="linePrefix"&&r.events[i][1].type!=="content"){o=r.events[i][1].type==="paragraph";break}return s;function s(u){return!r.parser.lazy[r.now().line]&&(r.interrupt||o)?(e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),a=u,l(u)):n(u)}function l(u){return u===a?(e.consume(u),l):(e.exit("setextHeadingLineSequence"),Qt(e,c,"lineSuffix")(u))}function c(u){return u===null||ct(u)?(e.exit("setextHeadingLine"),t(u)):n(u)}}var HN={tokenize:UN};function UN(e){const t=this,n=e.attempt(kc,r,e.attempt(this.parser.constructs.flowInitial,i,Qt(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Yk,i)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}var jN={resolveAll:U3()},GN=H3("string"),qN=H3("text");function H3(e){return{tokenize:t,resolveAll:U3(e==="text"?WN:void 0)};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,o,s);return o;function o(u){return c(u)?a(u):s(u)}function s(u){if(u===null){n.consume(u);return}return n.enter("data"),n.consume(u),l}function l(u){return c(u)?(n.exit("data"),a(u)):(n.consume(u),l)}function c(u){if(u===null)return!0;const d=i[u];let f=-1;if(d)for(;++f<d.length;){const h=d[f];if(!h.previous||h.previous.call(r,r.previous))return!0}return!1}}}function U3(e){return t;function t(n,r){let i=-1,a;for(;++i<=n.length;)a===void 0?n[i]&&n[i][1].type==="data"&&(a=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==a+2&&(n[a][1].end=n[i-1][1].end,n.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(n,r):n}}function WN(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let a=i.length,o=-1,s=0,l;for(;a--;){const c=i[a];if(typeof c=="string"){for(o=c.length;c.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(c===-2)l=!0,s++;else if(c!==-1){a++;break}}if(s){const c={type:n===e.length||l||s<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-s,offset:r.end.offset-s,_index:r.start._index+a,_bufferIndex:a?o:r.start._bufferIndex+o},end:Object.assign({},r.end)};r.end=Object.assign({},c.start),r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}function KN(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},a=[];let o=[],s=[];const l={consume:x,enter:_,exit:D,attempt:w(I),check:w(C),interrupt:w(C,{interrupt:!0})},c={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:h,sliceSerialize:f,now:m,defineSkip:p,write:d};let u=t.tokenize.call(c,l);return t.resolveAll&&a.push(t),c;function d(K){return o=Gr(o,K),b(),o[o.length-1]!==null?[]:(R(t,0),c.events=tf(a,c.events,c),c.events)}function f(K,J){return YN(h(K),J)}function h(K){return VN(o,K)}function m(){return Object.assign({},r)}function p(K){i[K.line]=K.column,Q()}function b(){let K;for(;r._index<o.length;){const J=o[r._index];if(typeof J=="string")for(K=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===K&&r._bufferIndex<J.length;)v(J.charCodeAt(r._bufferIndex));else v(J)}}function v(K){u=u(K)}function x(K){ct(K)?(r.line++,r.column=1,r.offset+=K===-3?2:1,Q()):K!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=K}function _(K,J){const oe=J||{};return oe.type=K,oe.start=m(),c.events.push(["enter",oe,c]),s.push(oe),oe}function D(K){const J=s.pop();return J.end=m(),c.events.push(["exit",J,c]),J}function I(K,J){R(K,J.from)}function C(K,J){J.restore()}function w(K,J){return oe;function oe(se,de,U){let De,ne,Ge,Ne;return Array.isArray(se)?P(se):"tokenize"in se?P([se]):N(se);function N(ht){return st;function st(ft){const Ct=ft!==null&&ht[ft],ae=ft!==null&&ht.null,Me=[...Array.isArray(Ct)?Ct:Ct?[Ct]:[],...Array.isArray(ae)?ae:ae?[ae]:[]];return P(Me)(ft)}}function P(ht){return De=ht,ne=0,ht.length===0?U:be(ht[ne])}function be(ht){return st;function st(ft){return Ne=L(),Ge=ht,ht.partial||(c.currentConstruct=ht),ht.name&&c.parser.constructs.disable.null.includes(ht.name)?Et():ht.tokenize.call(J?Object.assign(Object.create(c),J):c,l,Ve,Et)(ft)}}function Ve(ht){return K(Ge,Ne),de}function Et(ht){return Ne.restore(),++ne<De.length?be(De[ne]):U}}}function R(K,J){K.resolveAll&&!a.includes(K)&&a.push(K),K.resolve&&$i(c.events,J,c.events.length-J,K.resolve(c.events.slice(J),c)),K.resolveTo&&(c.events=K.resolveTo(c.events,c))}function L(){const K=m(),J=c.previous,oe=c.currentConstruct,se=c.events.length,de=Array.from(s);return{restore:U,from:se};function U(){r=K,c.previous=J,c.currentConstruct=oe,c.events.length=se,s=de,Q()}}function Q(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function VN(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let o;return n===i?o=[e[n].slice(r,a)]:(o=e.slice(n,i),r>-1&&(o[0]=o[0].slice(r)),a>0&&o.push(e[i].slice(0,a))),o}function YN(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const a=e[n];let o;if(typeof a=="string")o=a;else switch(a){case-5:{o="\r";break}case-4:{o=` `;break}case-3:{o=`\r `;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&i)continue;o=" ";break}default:o=String.fromCharCode(a)}i=a===-2,r.push(o)}return r.join("")}var j3={};M3(j3,{attentionMarkers:()=>rO,contentInitial:()=>QN,disable:()=>iO,document:()=>XN,flow:()=>JN,flowInitial:()=>ZN,insideSpan:()=>nO,string:()=>eO,text:()=>tO});var XN={[42]:Tr,[43]:Tr,[45]:Tr,[48]:Tr,[49]:Tr,[50]:Tr,[51]:Tr,[52]:Tr,[53]:Tr,[54]:Tr,[55]:Tr,[56]:Tr,[57]:Tr,[62]:L3},QN={[91]:eN},ZN={[-2]:gu,[-1]:gu,[32]:gu},JN={[35]:oN,[42]:b0,[45]:[gm,b0],[60]:uN,[61]:gm,[95]:b0,[96]:mm,[126]:mm},eO={[38]:P3,[92]:D3},tO={[-5]:bu,[-4]:bu,[-3]:bu,[33]:CN,[38]:P3,[42]:Bd,[60]:[Ik,pN],[91]:kN,[92]:[iN,D3],[93]:rf,[95]:Bd,[96]:Gk},nO={null:[Bd,jN]},rO={null:[42,95]},iO={null:[]};function aO(e={}){const t=bk([j3].concat(e.extensions||[])),n={defined:[],lazy:{},constructs:t,content:r(wk),document:r(Ak),flow:r(HN),string:r(GN),text:r(qN)};return n;function r(i){return a;function a(o){return KN(n,i,o)}}}var bm=/[\0\t\n\r]/g;function oO(){let e=1,t="",n=!0,r;return i;function i(a,o,s){const l=[];let c,u,d,f,h;for(a=t+a.toString(o),d=0,t="",n&&(a.charCodeAt(0)===65279&&d++,n=void 0);d<a.length;){if(bm.lastIndex=d,c=bm.exec(a),f=c&&c.index!==void 0?c.index:a.length,h=a.charCodeAt(f),!c){t=a.slice(d);break}if(h===10&&d===f&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),d<f&&(l.push(a.slice(d,f)),e+=f-d),h){case 0:{l.push(65533),e++;break}case 9:{for(u=Math.ceil(e/4)*4,l.push(-2);e++<u;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}d=f+1}return s&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}function sO(e){for(;!$3(e););return e}function G3(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"\uFFFD":String.fromCharCode(n)}var lO=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function cO(e){return e.replace(lO,uO)}function uO(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return G3(n.slice(a?2:1),a?16:10)}return nf(n)||e}function $l(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?vm(e.position):"start"in e||"end"in e?vm(e):"line"in e||"column"in e?Fd(e):""}function Fd(e){return ym(e&&e.line)+":"+ym(e&&e.column)}function vm(e){return Fd(e&&e.start)+"-"+Fd(e&&e.end)}function ym(e){return e&&typeof e=="number"?e:1}var zd={}.hasOwnProperty,dO=function(e,t,n){return typeof t!="string"&&(n=t,t=void 0),hO(n)(sO(aO(n).document().write(oO()(e,t,!0))))};function hO(e={}){const t=q3({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(Jn),autolinkProtocol:J,autolinkEmail:J,atxHeading:l(bn),blockQuote:l(dt),characterEscape:J,characterReference:J,codeFenced:l(At),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:l(At,c),codeText:l(zn,c),codeTextData:J,data:J,codeFlowValue:J,definition:l(br),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:l(Je),hardBreakEscape:l(Hn),hardBreakTrailing:l(Hn),htmlFlow:l(qn,c),htmlFlowData:J,htmlText:l(qn,c),htmlTextData:J,image:l(Cn),label:c,link:l(Jn),listItem:l(An),listItemValue:p,listOrdered:l(lr,m),listUnordered:l(lr),paragraph:l(cr),reference:ht,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:l(bn),strong:l($r),thematicBreak:l(Cr)},exit:{atxHeading:d(),atxHeadingSequence:R,autolink:d(),autolinkEmail:Me,autolinkProtocol:ae,blockQuote:d(),characterEscapeValue:oe,characterReferenceMarkerHexadecimal:ft,characterReferenceMarkerNumeric:ft,characterReferenceValue:Ct,codeFenced:d(_),codeFencedFence:x,codeFencedFenceInfo:b,codeFencedFenceMeta:v,codeFlowValue:oe,codeIndented:d(D),codeText:d(ne),codeTextData:oe,data:oe,definition:d(),definitionDestinationString:w,definitionLabelString:I,definitionTitleString:C,emphasis:d(),hardBreakEscape:d(de),hardBreakTrailing:d(de),htmlFlow:d(U),htmlFlowData:oe,htmlText:d(De),htmlTextData:oe,image:d(Ne),label:P,labelText:N,lineEnding:se,link:d(Ge),listItem:d(),listOrdered:d(),listUnordered:d(),paragraph:d(),referenceString:st,resourceDestinationString:be,resourceTitleString:Ve,resource:Et,setextHeading:d(K),setextHeadingLineSequence:Q,setextHeadingText:L,strong:d(),thematicBreak:d()}},e.mdastExtensions||[]),n={};return r;function r(j){let M={type:"root",children:[]};const te=[M],fe=[],Pe=[],En={stack:te,tokenStack:fe,config:t,enter:u,exit:f,buffer:c,resume:h,setData:a,getData:o};let yt=-1;for(;++yt<j.length;)if(j[yt][1].type==="listOrdered"||j[yt][1].type==="listUnordered")if(j[yt][0]==="enter")Pe.push(yt);else{const Bt=Pe.pop();yt=i(j,Bt,yt)}for(yt=-1;++yt<j.length;){const Bt=t[j[yt][0]];zd.call(Bt,j[yt][1].type)&&Bt[j[yt][1].type].call(Object.assign({sliceSerialize:j[yt][2].sliceSerialize},En),j[yt][1])}if(fe.length>0){const Bt=fe[fe.length-1];(Bt[1]||Tm).call(En,void 0,Bt[0])}for(M.position={start:s(j.length>0?j[0][1].start:{line:1,column:1,offset:0}),end:s(j.length>0?j[j.length-2][1].end:{line:1,column:1,offset:0})},yt=-1;++yt<t.transforms.length;)M=t.transforms[yt](M)||M;return M}function i(j,M,te){let fe=M-1,Pe=-1,En=!1,yt,Bt,vn,ur;for(;++fe<=te;){const zt=j[fe];if(zt[1].type==="listUnordered"||zt[1].type==="listOrdered"||zt[1].type==="blockQuote"?(zt[0]==="enter"?Pe++:Pe--,ur=void 0):zt[1].type==="lineEndingBlank"?zt[0]==="enter"&&(yt&&!ur&&!Pe&&!vn&&(vn=fe),ur=void 0):zt[1].type==="linePrefix"||zt[1].type==="listItemValue"||zt[1].type==="listItemMarker"||zt[1].type==="listItemPrefix"||zt[1].type==="listItemPrefixWhitespace"||(ur=void 0),!Pe&&zt[0]==="enter"&&zt[1].type==="listItemPrefix"||Pe===-1&&zt[0]==="exit"&&(zt[1].type==="listUnordered"||zt[1].type==="listOrdered")){if(yt){let Ut=fe;for(Bt=void 0;Ut--;){const Wn=j[Ut];if(Wn[1].type==="lineEnding"||Wn[1].type==="lineEndingBlank"){if(Wn[0]==="exit")continue;Bt&&(j[Bt][1].type="lineEndingBlank",En=!0),Wn[1].type="lineEnding",Bt=Ut}else if(!(Wn[1].type==="linePrefix"||Wn[1].type==="blockQuotePrefix"||Wn[1].type==="blockQuotePrefixWhitespace"||Wn[1].type==="blockQuoteMarker"||Wn[1].type==="listItemIndent"))break}vn&&(!Bt||vn<Bt)&&(yt._spread=!0),yt.end=Object.assign({},Bt?j[Bt][1].start:zt[1].end),j.splice(Bt||fe,0,["exit",yt,zt[2]]),fe++,te++}zt[1].type==="listItemPrefix"&&(yt={type:"listItem",_spread:!1,start:Object.assign({},zt[1].start)},j.splice(fe,0,["enter",yt,zt[2]]),fe++,te++,vn=void 0,ur=!0)}}return j[M][1]._spread=En,te}function a(j,M){n[j]=M}function o(j){return n[j]}function s(j){return{line:j.line,column:j.column,offset:j.offset}}function l(j,M){return te;function te(fe){u.call(this,j(fe),fe),M&&M.call(this,fe)}}function c(){this.stack.push({type:"fragment",children:[]})}function u(j,M,te){return this.stack[this.stack.length-1].children.push(j),this.stack.push(j),this.tokenStack.push([M,te]),j.position={start:s(M.start)},j}function d(j){return M;function M(te){j&&j.call(this,te),f.call(this,te)}}function f(j,M){const te=this.stack.pop(),fe=this.tokenStack.pop();if(fe)fe[0].type!==j.type&&(M?M.call(this,j,fe[0]):(fe[1]||Tm).call(this,j,fe[0]));else throw new Error("Cannot close `"+j.type+"` ("+$l({start:j.start,end:j.end})+"): it\u2019s not open");return te.position.end=s(j.end),te}function h(){return gk(this.stack.pop())}function m(){a("expectingFirstListItemValue",!0)}function p(j){if(o("expectingFirstListItemValue")){const M=this.stack[this.stack.length-2];M.start=Number.parseInt(this.sliceSerialize(j),10),a("expectingFirstListItemValue")}}function b(){const j=this.resume(),M=this.stack[this.stack.length-1];M.lang=j}function v(){const j=this.resume(),M=this.stack[this.stack.length-1];M.meta=j}function x(){o("flowCodeInside")||(this.buffer(),a("flowCodeInside",!0))}function _(){const j=this.resume(),M=this.stack[this.stack.length-1];M.value=j.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),a("flowCodeInside")}function D(){const j=this.resume(),M=this.stack[this.stack.length-1];M.value=j.replace(/(\r?\n|\r)$/g,"")}function I(j){const M=this.resume(),te=this.stack[this.stack.length-1];te.label=M,te.identifier=Es(this.sliceSerialize(j)).toLowerCase()}function C(){const j=this.resume(),M=this.stack[this.stack.length-1];M.title=j}function w(){const j=this.resume(),M=this.stack[this.stack.length-1];M.url=j}function R(j){const M=this.stack[this.stack.length-1];if(!M.depth){const te=this.sliceSerialize(j).length;M.depth=te}}function L(){a("setextHeadingSlurpLineEnding",!0)}function Q(j){const M=this.stack[this.stack.length-1];M.depth=this.sliceSerialize(j).charCodeAt(0)===61?1:2}function K(){a("setextHeadingSlurpLineEnding")}function J(j){const M=this.stack[this.stack.length-1];let te=M.children[M.children.length-1];(!te||te.type!=="text")&&(te=_i(),te.position={start:s(j.start)},M.children.push(te)),this.stack.push(te)}function oe(j){const M=this.stack.pop();M.value+=this.sliceSerialize(j),M.position.end=s(j.end)}function se(j){const M=this.stack[this.stack.length-1];if(o("atHardBreak")){const te=M.children[M.children.length-1];te.position.end=s(j.end),a("atHardBreak");return}!o("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(M.type)&&(J.call(this,j),oe.call(this,j))}function de(){a("atHardBreak",!0)}function U(){const j=this.resume(),M=this.stack[this.stack.length-1];M.value=j}function De(){const j=this.resume(),M=this.stack[this.stack.length-1];M.value=j}function ne(){const j=this.resume(),M=this.stack[this.stack.length-1];M.value=j}function Ge(){const j=this.stack[this.stack.length-1];o("inReference")?(j.type+="Reference",j.referenceType=o("referenceType")||"shortcut",delete j.url,delete j.title):(delete j.identifier,delete j.label),a("referenceType")}function Ne(){const j=this.stack[this.stack.length-1];o("inReference")?(j.type+="Reference",j.referenceType=o("referenceType")||"shortcut",delete j.url,delete j.title):(delete j.identifier,delete j.label),a("referenceType")}function N(j){const M=this.stack[this.stack.length-2],te=this.sliceSerialize(j);M.label=cO(te),M.identifier=Es(te).toLowerCase()}function P(){const j=this.stack[this.stack.length-1],M=this.resume(),te=this.stack[this.stack.length-1];a("inReference",!0),te.type==="link"?te.children=j.children:te.alt=M}function be(){const j=this.resume(),M=this.stack[this.stack.length-1];M.url=j}function Ve(){const j=this.resume(),M=this.stack[this.stack.length-1];M.title=j}function Et(){a("inReference")}function ht(){a("referenceType","collapsed")}function st(j){const M=this.resume(),te=this.stack[this.stack.length-1];te.label=M,te.identifier=Es(this.sliceSerialize(j)).toLowerCase(),a("referenceType","full")}function ft(j){a("characterReferenceType",j.type)}function Ct(j){const M=this.sliceSerialize(j),te=o("characterReferenceType");let fe;te?(fe=G3(M,te==="characterReferenceMarkerNumeric"?10:16),a("characterReferenceType")):fe=nf(M);const Pe=this.stack.pop();Pe.value+=fe,Pe.position.end=s(j.end)}function ae(j){oe.call(this,j);const M=this.stack[this.stack.length-1];M.url=this.sliceSerialize(j)}function Me(j){oe.call(this,j);const M=this.stack[this.stack.length-1];M.url="mailto:"+this.sliceSerialize(j)}function dt(){return{type:"blockquote",children:[]}}function At(){return{type:"code",lang:null,meta:null,value:""}}function zn(){return{type:"inlineCode",value:""}}function br(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Je(){return{type:"emphasis",children:[]}}function bn(){return{type:"heading",depth:void 0,children:[]}}function Hn(){return{type:"break"}}function qn(){return{type:"html",value:""}}function Cn(){return{type:"image",title:null,url:"",alt:null}}function Jn(){return{type:"link",title:null,url:"",children:[]}}function lr(j){return{type:"list",ordered:j.type==="listOrdered",start:null,spread:j._spread,children:[]}}function An(j){return{type:"listItem",spread:j._spread,checked:null,children:[]}}function cr(){return{type:"paragraph",children:[]}}function $r(){return{type:"strong",children:[]}}function _i(){return{type:"text",value:""}}function Cr(){return{type:"thematicBreak"}}}function q3(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?q3(e,r):fO(e,r)}return e}function fO(e,t){let n;for(n in t)if(zd.call(t,n)){const r=n==="canContainEols"||n==="transforms",a=(zd.call(e,n)?e[n]:void 0)||(e[n]=r?[]:{}),o=t[n];o&&(r?e[n]=[...a,...o]:Object.assign(a,o))}}function Tm(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+$l({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+$l({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+$l({start:t.start,end:t.end})+") is still open")}function mO(e){Object.assign(this,{Parser:n=>{const r=this.data("settings");return dO(n,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}var pO=mO,$n=function(e,t,n){var r={type:String(e)};return n==null&&(typeof t=="string"||Array.isArray(t))?n=t:Object.assign(r,t),Array.isArray(n)?r.children=n:n!=null&&(r.value=String(n)),r},v0={}.hasOwnProperty;function gO(e,t){const n=t.data||{};return"value"in t&&!(v0.call(n,"hName")||v0.call(n,"hProperties")||v0.call(n,"hChildren"))?e.augment(t,$n("text",t.value)):e(t,"div",sr(e,t))}function W3(e,t,n){const r=t&&t.type;let i;if(!r)throw new Error("Expected node, got `"+t+"`");return v0.call(e.handlers,r)?i=e.handlers[r]:e.passThrough&&e.passThrough.includes(r)?i=bO:i=e.unknownHandler,(typeof i=="function"?i:gO)(e,t,n)}function bO(e,t){return"children"in t?{...t,children:sr(e,t)}:t}function sr(e,t){const n=[];if("children"in t){const r=t.children;let i=-1;for(;++i<r.length;){const a=W3(e,r[i],t);if(a){if(i&&r[i-1].type==="break"&&(!Array.isArray(a)&&a.type==="text"&&(a.value=a.value.replace(/^\s+/,"")),!Array.isArray(a)&&a.type==="element")){const o=a.children[0];o&&o.type==="text"&&(o.value=o.value.replace(/^\s+/,""))}Array.isArray(a)?n.push(...a):n.push(a)}}}return n}var af=function(e){if(e==null)return EO;if(typeof e=="string")return TO(e);if(typeof e=="object")return Array.isArray(e)?vO(e):yO(e);if(typeof e=="function")return Nc(e);throw new Error("Expected function, string, or object as test")};function vO(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=af(e[n]);return Nc(r);function r(...i){let a=-1;for(;++a<t.length;)if(t[a].call(this,...i))return!0;return!1}}function yO(e){return Nc(t);function t(n){let r;for(r in e)if(n[r]!==e[r])return!1;return!0}}function TO(e){return Nc(t);function t(n){return n&&n.type===e}}function Nc(e){return t;function t(...n){return Boolean(e.call(this,...n))}}function EO(){return!0}var _O=!0,xO="skip",Em=!1,SO=function(e,t,n,r){typeof t=="function"&&typeof n!="function"&&(r=n,n=t,t=null);const i=af(t),a=r?-1:1;o(e,null,[])();function o(s,l,c){const u=typeof s=="object"&&s!==null?s:{};let d;return typeof u.type=="string"&&(d=typeof u.tagName=="string"?u.tagName:typeof u.name=="string"?u.name:void 0,Object.defineProperty(f,"name",{value:"node ("+(u.type+(d?"<"+d+">":""))+")"})),f;function f(){let h=[],m,p,b;if((!t||i(s,l,c[c.length-1]||null))&&(h=wO(n(s,c)),h[0]===Em))return h;if(s.children&&h[0]!==xO)for(p=(r?s.children.length:-1)+a,b=c.concat(s);p>-1&&p<s.children.length;){if(m=o(s.children[p],p,b)(),m[0]===Em)return m;p=typeof m[1]=="number"?m[1]:p+a}return h}}};function wO(e){return Array.isArray(e)?e:typeof e=="number"?[_O,e]:[e]}var K3=function(e,t,n,r){typeof t=="function"&&typeof n!="function"&&(r=n,n=t,t=null),SO(e,t,i,r);function i(a,o){const s=o[o.length-1];return n(a,s?s.children.indexOf(a):null,s)}},V3=X3("start"),Y3=X3("end");function X3(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};return{line:r.line||null,column:r.column||null,offset:r.offset>-1?r.offset:null}}}function CO(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column}var AO=!0,kO="skip",_m=!1,NO=function(e,t,n,r){typeof t=="function"&&typeof n!="function"&&(r=n,n=t,t=null);var i=af(t),a=r?-1:1;o(e,null,[])();function o(s,l,c){var u=typeof s=="object"&&s!==null?s:{},d;return typeof u.type=="string"&&(d=typeof u.tagName=="string"?u.tagName:typeof u.name=="string"?u.name:void 0,Object.defineProperty(f,"name",{value:"node ("+(u.type+(d?"<"+d+">":""))+")"})),f;function f(){var h=[],m,p,b;if((!t||i(s,l,c[c.length-1]||null))&&(h=OO(n(s,c)),h[0]===_m))return h;if(s.children&&h[0]!==kO)for(p=(r?s.children.length:-1)+a,b=c.concat(s);p>-1&&p<s.children.length;){if(m=o(s.children[p],p,b)(),m[0]===_m)return m;p=typeof m[1]=="number"?m[1]:p+a}return h}}};function OO(e){return Array.isArray(e)?e:typeof e=="number"?[AO,e]:[e]}var MO=function(e,t,n,r){typeof t=="function"&&typeof n!="function"&&(r=n,n=t,t=null),NO(e,t,i,r);function i(a,o){var s=o[o.length-1];return n(a,s?s.children.indexOf(a):null,s)}},xm={}.hasOwnProperty;function IO(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return MO(e,"definition",n),r;function n(i){const a=Sm(i.identifier);a&&!xm.call(t,a)&&(t[a]=i)}function r(i){const a=Sm(i);return a&&xm.call(t,a)?t[a]:null}}function Sm(e){return String(e||"").toUpperCase()}var RO={'"':"quot","&":"amp","<":"lt",">":"gt"};function LO(e){return e.replace(/["&<>]/g,t);function t(n){return"&"+RO[n]+";"}}function Q3(e,t){const n=LO(DO(e||""));if(!t)return n;const r=n.indexOf(":"),i=n.indexOf("?"),a=n.indexOf("#"),o=n.indexOf("/");return r<0||o>-1&&r>o||i>-1&&r>i||a>-1&&r>a||t.test(n.slice(0,r))?n:""}function DO(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const a=e.charCodeAt(n);let o="";if(a===37&&Lr(e.charCodeAt(n+1))&&Lr(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){const s=e.charCodeAt(n+1);a<56320&&s>56319&&s<57344?(o=String.fromCharCode(a,s),i=1):o="\uFFFD"}else o=String.fromCharCode(a);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function na(e,t){const n=[];let r=-1;for(t&&n.push($n("text",` `));++r<e.length;)r&&n.push($n("text",` `)),n.push(e[r]);return t&&e.length>0&&n.push($n("text",` `)),n}function PO(e){let t=-1;const n=[];for(;++t<e.footnoteOrder.length;){const r=e.footnoteById[e.footnoteOrder[t].toUpperCase()];if(!r)continue;const i=sr(e,r),a=String(r.identifier),o=Q3(a.toLowerCase());let s=0;const l=[];for(;++s<=e.footnoteCounts[a];){const d={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+o+(s>1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21A9"}]};s>1&&d.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(d)}const c=i[i.length-1];if(c&&c.type==="element"&&c.tagName==="p"){const d=c.children[c.children.length-1];d&&d.type==="text"?d.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...l)}else i.push(...l);const u={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+o},children:na(i,!0)};r.position&&(u.position=r.position),n.push(u)}return n.length===0?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:"h2",properties:{id:"footnote-label",className:["sr-only"]},children:[$n("text",e.footnoteLabel)]},{type:"text",value:` `},{type:"element",tagName:"ol",properties:{},children:na(n,!0)},{type:"text",value:` `}]}}function $O(e,t){return e(t,"blockquote",na(sr(e,t),!0))}function BO(e,t){return[e(t,"br"),$n("text",` `)]}function FO(e,t){const n=t.value?t.value+` `:"",r=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),i={};r&&(i.className=["language-"+r]);const a=e(t,"code",i,[$n("text",n)]);return t.meta&&(a.data={meta:t.meta}),e(t.position,"pre",[a])}function zO(e,t){return e(t,"del",sr(e,t))}function HO(e,t){return e(t,"em",sr(e,t))}function Z3(e,t){const n=String(t.identifier),r=Q3(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let a;i===-1?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,a=e.footnoteOrder.length):(e.footnoteCounts[n]++,a=i+1);const o=e.footnoteCounts[n];return e(t,"sup",[e(t.position,"a",{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[$n("text",String(a))])])}function UO(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},Z3(e,{type:"footnoteReference",identifier:i,position:t.position})}function jO(e,t){return e(t,"h"+t.depth,sr(e,t))}function GO(e,t){return e.dangerous?e.augment(t,$n("raw",t.value)):null}var qO=oo(Ac(),1);function J3(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return $n("text","!["+t.alt+r);const i=sr(e,t),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift($n("text","["));const o=i[i.length-1];return o&&o.type==="text"?o.value+=r:i.push($n("text",r)),i}function WO(e,t){const n=e.definition(t.identifier);if(!n)return J3(e,t);const r={src:(0,qO.default)(n.url||""),alt:t.alt};return n.title!==null&&n.title!==void 0&&(r.title=n.title),e(t,"img",r)}var KO=oo(Ac(),1);function VO(e,t){const n={src:(0,KO.default)(t.url),alt:t.alt};return t.title!==null&&t.title!==void 0&&(n.title=t.title),e(t,"img",n)}function YO(e,t){return e(t,"code",[$n("text",t.value.replace(/\r?\n|\r/g," "))])}var XO=oo(Ac(),1);function QO(e,t){const n=e.definition(t.identifier);if(!n)return J3(e,t);const r={href:(0,XO.default)(n.url||"")};return n.title!==null&&n.title!==void 0&&(r.title=n.title),e(t,"a",r,sr(e,t))}var ZO=oo(Ac(),1);function JO(e,t){const n={href:(0,ZO.default)(t.url)};return t.title!==null&&t.title!==void 0&&(n.title=t.title),e(t,"a",n,sr(e,t))}function eM(e,t,n){const r=sr(e,t),i=n?tM(n):e8(t),a={},o=[];if(typeof t.checked=="boolean"){let c;r[0]&&r[0].type==="element"&&r[0].tagName==="p"?c=r[0]:(c=e(null,"p",[]),r.unshift(c)),c.children.length>0&&c.children.unshift($n("text"," ")),c.children.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),a.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const c=r[s];(i||s!==0||c.type!=="element"||c.tagName!=="p")&&o.push($n("text",` `)),c.type==="element"&&c.tagName==="p"&&!i?o.push(...c.children):o.push(c)}const l=r[r.length-1];return l&&(i||!("tagName"in l)||l.tagName!=="p")&&o.push($n("text",` `)),e(t,"li",a,o)}function tM(e){let t=e.spread;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=e8(n[r]);return Boolean(t)}function e8(e){const t=e.spread;return t==null?e.children.length>1:t}function nM(e,t){const n={},r=t.ordered?"ol":"ul",i=sr(e,t);let a=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++a<i.length;){const o=i[a];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}return e(t,r,n,na(i,!0))}function rM(e,t){return e(t,"p",sr(e,t))}function iM(e,t){return e.augment(t,$n("root",na(sr(e,t))))}function aM(e,t){return e(t,"strong",sr(e,t))}function oM(e,t){const n=t.children;let r=-1;const i=t.align||[],a=[];for(;++r<n.length;){const o=n[r].children,s=r===0?"th":"td",l=[];let c=-1;const u=t.align?i.length:o.length;for(;++c<u;){const d=o[c];l.push(e(d,s,{align:i[c]},d?sr(e,d):[]))}a[r]=e(n[r],"tr",na(l,!0))}return e(t,"table",na([e(a[0].position,"thead",na([a[0]],!0))].concat(a[1]?e({start:V3(a[1]),end:Y3(a[a.length-1])},"tbody",na(a.slice(1),!0)):[]),!0))}function sM(e,t){return e.augment(t,$n("text",String(t.value).replace(/[ \t]*(\r?\n|\r)[ \t]*/g,"$1")))}function lM(e,t){return e(t,"hr")}var cM={blockquote:$O,break:BO,code:FO,delete:zO,emphasis:HO,footnoteReference:Z3,footnote:UO,heading:jO,html:GO,imageReference:WO,image:VO,inlineCode:YO,linkReference:QO,link:JO,listItem:eM,list:nM,paragraph:rM,root:iM,strong:aM,table:oM,text:sM,thematicBreak:lM,toml:H1,yaml:H1,definition:H1,footnoteDefinition:H1};function H1(){return null}var uM={}.hasOwnProperty;function dM(e,t){const n=t||{},r=n.allowDangerousHtml||!1,i={};return o.dangerous=r,o.clobberPrefix=n.clobberPrefix===void 0||n.clobberPrefix===null?"user-content-":n.clobberPrefix,o.footnoteLabel=n.footnoteLabel||"Footnotes",o.footnoteBackLabel=n.footnoteBackLabel||"Back to content",o.definition=IO(e),o.footnoteById=i,o.footnoteOrder=[],o.footnoteCounts={},o.augment=a,o.handlers={...cM,...n.handlers},o.unknownHandler=n.unknownHandler,o.passThrough=n.passThrough,K3(e,"footnoteDefinition",s=>{const l=String(s.identifier).toUpperCase();uM.call(i,l)||(i[l]=s)}),o;function a(s,l){if(s&&"data"in s&&s.data){const c=s.data;c.hName&&(l.type!=="element"&&(l={type:"element",tagName:"",properties:{},children:[]}),l.tagName=c.hName),l.type==="element"&&c.hProperties&&(l.properties={...l.properties,...c.hProperties}),"children"in l&&l.children&&c.hChildren&&(l.children=c.hChildren)}if(s){const c="type"in s?s:{position:s};CO(c)||(l.position={start:V3(c),end:Y3(c)})}return l}function o(s,l,c,u){return Array.isArray(c)&&(u=c,c={}),a(s,{type:"element",tagName:l,properties:c||{},children:u||[]})}}function t8(e,t){const n=dM(e,t),r=W3(n,e,null),i=PO(n);return i&&r.children.push($n("text",` `),i),Array.isArray(r)?{type:"root",children:r}:r}var hM=function(e,t){return e&&"run"in e?mM(e,t):pM(e||t)},fM=hM;function mM(e,t){return(n,r,i)=>{e.run(t8(n,t),r,a=>{i(a)})}}function pM(e){return t=>t8(t,e)}var p1=class{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}};p1.prototype.property={};p1.prototype.normal={};p1.prototype.space=null;function n8(e,t){const n={},r={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new p1(n,r,t)}function Hd(e){return e.toLowerCase()}var ei=class{constructor(e,t){this.property=e,this.attribute=t}};ei.prototype.space=null;ei.prototype.boolean=!1;ei.prototype.booleanish=!1;ei.prototype.overloadedBoolean=!1;ei.prototype.number=!1;ei.prototype.commaSeparated=!1;ei.prototype.spaceSeparated=!1;ei.prototype.commaOrSpaceSeparated=!1;ei.prototype.mustUseProperty=!1;ei.prototype.defined=!1;var j0={};M3(j0,{boolean:()=>gt,booleanish:()=>On,commaOrSpaceSeparated:()=>Mr,commaSeparated:()=>_s,number:()=>ye,overloadedBoolean:()=>r8,spaceSeparated:()=>sn});var gM=0,gt=Ko(),On=Ko(),r8=Ko(),ye=Ko(),sn=Ko(),_s=Ko(),Mr=Ko();function Ko(){return 2**++gM}var vu=Object.keys(j0),of=class extends ei{constructor(e,t,n,r){let i=-1;if(super(e,t),wm(this,"space",r),typeof n=="number")for(;++i<vu.length;){const a=vu[i];wm(this,vu[i],(n&j0[a])===j0[a])}}};of.prototype.defined=!0;function wm(e,t,n){n&&(e[t]=n)}var bM={}.hasOwnProperty;function Vs(e){const t={},n={};let r;for(r in e.properties)if(bM.call(e.properties,r)){const i=e.properties[r],a=new of(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[Hd(r)]=r,n[Hd(a.attribute)]=r}return new p1(t,n,e.space)}var i8=Vs({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),a8=Vs({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function o8(e,t){return t in e?e[t]:t}function s8(e,t){return o8(e,t.toLowerCase())}var l8=Vs({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:s8,properties:{xmlns:null,xmlnsXLink:null}}),c8=Vs({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:On,ariaAutoComplete:null,ariaBusy:On,ariaChecked:On,ariaColCount:ye,ariaColIndex:ye,ariaColSpan:ye,ariaControls:sn,ariaCurrent:null,ariaDescribedBy:sn,ariaDetails:null,ariaDisabled:On,ariaDropEffect:sn,ariaErrorMessage:null,ariaExpanded:On,ariaFlowTo:sn,ariaGrabbed:On,ariaHasPopup:null,ariaHidden:On,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:sn,ariaLevel:ye,ariaLive:null,ariaModal:On,ariaMultiLine:On,ariaMultiSelectable:On,ariaOrientation:null,ariaOwns:sn,ariaPlaceholder:null,ariaPosInSet:ye,ariaPressed:On,ariaReadOnly:On,ariaRelevant:null,ariaRequired:On,ariaRoleDescription:sn,ariaRowCount:ye,ariaRowIndex:ye,ariaRowSpan:ye,ariaSelected:On,ariaSetSize:ye,ariaSort:null,ariaValueMax:ye,ariaValueMin:ye,ariaValueNow:ye,ariaValueText:null,role:null}}),vM=Vs({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:s8,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:_s,acceptCharset:sn,accessKey:sn,action:null,allow:null,allowFullScreen:gt,allowPaymentRequest:gt,allowUserMedia:gt,alt:null,as:null,async:gt,autoCapitalize:null,autoComplete:sn,autoFocus:gt,autoPlay:gt,capture:gt,charSet:null,checked:gt,cite:null,className:sn,cols:ye,colSpan:null,content:null,contentEditable:On,controls:gt,controlsList:sn,coords:ye|_s,crossOrigin:null,data:null,dateTime:null,decoding:null,default:gt,defer:gt,dir:null,dirName:null,disabled:gt,download:r8,draggable:On,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:gt,formTarget:null,headers:sn,height:ye,hidden:gt,high:ye,href:null,hrefLang:null,htmlFor:sn,httpEquiv:sn,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:gt,itemId:null,itemProp:sn,itemRef:sn,itemScope:gt,itemType:sn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:gt,low:ye,manifest:null,max:null,maxLength:ye,media:null,method:null,min:null,minLength:ye,multiple:gt,muted:gt,name:null,nonce:null,noModule:gt,noValidate:gt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:gt,optimum:ye,pattern:null,ping:sn,placeholder:null,playsInline:gt,poster:null,preload:null,readOnly:gt,referrerPolicy:null,rel:sn,required:gt,reversed:gt,rows:ye,rowSpan:ye,sandbox:sn,scope:null,scoped:gt,seamless:gt,selected:gt,shape:null,size:ye,sizes:null,slot:null,span:ye,spellCheck:On,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ye,step:null,style:null,tabIndex:ye,target:null,title:null,translate:null,type:null,typeMustMatch:gt,useMap:null,value:On,width:ye,wrap:null,align:null,aLink:null,archive:sn,axis:null,background:null,bgColor:null,border:ye,borderColor:null,bottomMargin:ye,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:gt,declare:gt,event:null,face:null,frame:null,frameBorder:null,hSpace:ye,leftMargin:ye,link:null,longDesc:null,lowSrc:null,marginHeight:ye,marginWidth:ye,noResize:gt,noHref:gt,noShade:gt,noWrap:gt,object:null,profile:null,prompt:null,rev:null,rightMargin:ye,rules:null,scheme:null,scrolling:On,standby:null,summary:null,text:null,topMargin:ye,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ye,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:gt,disableRemotePlayback:gt,prefix:null,property:null,results:ye,security:null,unselectable:null}}),yM=Vs({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:o8,properties:{about:Mr,accentHeight:ye,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ye,amplitude:ye,arabicForm:null,ascent:ye,attributeName:null,attributeType:null,azimuth:ye,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ye,by:null,calcMode:null,capHeight:ye,className:sn,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ye,diffuseConstant:ye,direction:null,display:null,dur:null,divisor:ye,dominantBaseline:null,download:gt,dx:null,dy:null,edgeMode:null,editable:null,elevation:ye,enableBackground:null,end:null,event:null,exponent:ye,externalResourcesRequired:null,fill:null,fillOpacity:ye,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:_s,g2:_s,glyphName:_s,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ye,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ye,horizOriginX:ye,horizOriginY:ye,id:null,ideographic:ye,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ye,k:ye,k1:ye,k2:ye,k3:ye,k4:ye,kernelMatrix:Mr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ye,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ye,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ye,overlineThickness:ye,paintOrder:null,panose1:null,path:null,pathLength:ye,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:sn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ye,pointsAtY:ye,pointsAtZ:ye,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Mr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Mr,rev:Mr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Mr,requiredFeatures:Mr,requiredFonts:Mr,requiredFormats:Mr,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ye,specularExponent:ye,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ye,strikethroughThickness:ye,string:null,stroke:null,strokeDashArray:Mr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ye,strokeOpacity:ye,strokeWidth:null,style:null,surfaceScale:ye,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Mr,tabIndex:ye,tableValues:null,target:null,targetX:ye,targetY:ye,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Mr,to:null,transform:null,u1:null,u2:null,underlinePosition:ye,underlineThickness:ye,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ye,values:null,vAlphabetic:ye,vMathematical:ye,vectorEffect:null,vHanging:ye,vIdeographic:ye,version:null,vertAdvY:ye,vertOriginX:ye,vertOriginY:ye,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ye,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),TM=/^data[-\w.:]+$/i,Cm=/-[a-z]/g,EM=/[A-Z]/g;function _M(e,t){const n=Hd(t);let r=t,i=ei;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&TM.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(Cm,SM);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!Cm.test(a)){let o=a.replace(EM,xM);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=of}return new i(r,t)}function xM(e){return"-"+e.toLowerCase()}function SM(e){return e.charAt(1).toUpperCase()}var Am={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},wM=n8([a8,i8,l8,c8,vM],"html"),CM=n8([a8,i8,l8,c8,yM],"svg");function km(e){if(e)throw e}var AM=oo(I3(),1),Nm=oo(fk(),1);function Ud(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function kM(){const e=[],t={run:n,use:r};return t;function n(...i){let a=-1;const o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);s(null,...i);function s(l,...c){const u=e[++a];let d=-1;if(l){o(l);return}for(;++d<i.length;)(c[d]===null||c[d]===void 0)&&(c[d]=i[d]);i=c,u?NM(u,s)(...c):o(null,...c)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function NM(e,t){let n;return r;function r(...o){const s=e.length>o.length;let l;s&&o.push(i);try{l=e.apply(this,o)}catch(c){const u=c;if(s&&n)throw u;return i(u)}s||(l instanceof Promise?l.then(a,i):l instanceof Error?i(l):a(l))}function i(o,...s){n||(n=!0,t(o,...s))}function a(o){i(null,o)}}var OM=oo(I3(),1),ti=class extends Error{constructor(e,t,n){const r=[null,null];let i={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof t=="string"&&(n=t,t=void 0),typeof n=="string"){const a=n.indexOf(":");a===-1?r[1]=n:(r[0]=n.slice(0,a),r[1]=n.slice(a+1))}t&&("type"in t||"position"in t?t.position&&(i=t.position):"start"in t||"end"in t?i=t:("line"in t||"column"in t)&&(i.start=t)),this.name=$l(t)||"1:1",this.message=typeof e=="object"?e.message:e,this.stack=typeof e=="object"?e.stack:"",this.reason=this.message,this.fatal,this.line=i.start.line,this.column=i.start.column,this.source=r[0],this.ruleId=r[1],this.position=i,this.actual,this.expected,this.file,this.url,this.note}};ti.prototype.file="";ti.prototype.name="";ti.prototype.reason="";ti.prototype.message="";ti.prototype.stack="";ti.prototype.fatal=null;ti.prototype.column=null;ti.prototype.line=null;ti.prototype.source=null;ti.prototype.ruleId=null;ti.prototype.position=null;var Ai={basename:MM,dirname:IM,extname:RM,join:LM,sep:"/"};function MM(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');g1(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.charCodeAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,s=t.length-1;for(;i--;)if(e.charCodeAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.charCodeAt(i)===t.charCodeAt(s--)?s<0&&(r=i):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function IM(e){if(g1(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.charCodeAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.charCodeAt(0)===47?"/":".":t===1&&e.charCodeAt(0)===47?"//":e.slice(0,t)}function RM(e){g1(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){const s=e.charCodeAt(t);if(s===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),s===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function LM(...e){let t=-1,n;for(;++t<e.length;)g1(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":DM(n)}function DM(e){g1(e);const t=e.charCodeAt(0)===47;let n=PM(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.charCodeAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function PM(e,t){let n="",r=0,i=-1,a=0,o=-1,s,l;for(;++o<=e.length;){if(o<e.length)s=e.charCodeAt(o);else{if(s===47)break;s=47}if(s===47){if(!(i===o-1||a===1))if(i!==o-1&&a===2){if(n.length<2||r!==2||n.charCodeAt(n.length-1)!==46||n.charCodeAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=o,a=0;continue}}else if(n.length>0){n="",r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,a=0}else s===46&&a>-1?a++:a=-1}return n}function g1(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var $M={cwd:BM};function BM(){return"/"}function jd(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function FM(e){if(typeof e=="string")e=new URL(e);else if(!jd(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return zM(e)}function zM(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.charCodeAt(n)===37&&t.charCodeAt(n+1)===50){const r=t.charCodeAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}var yu=["history","path","basename","stem","extname","dirname"],u8=class{constructor(e){let t;e?typeof e=="string"||(0,OM.default)(e)?t={value:e}:jd(e)?t={path:e}:t=e:t={},this.data={},this.messages=[],this.history=[],this.cwd=$M.cwd(),this.value,this.stored,this.result,this.map;let n=-1;for(;++n<yu.length;){const i=yu[n];i in t&&t[i]!==void 0&&(this[i]=i==="history"?[...t[i]]:t[i])}let r;for(r in t)yu.includes(r)||(this[r]=t[r])}get path(){return this.history[this.history.length-1]}set path(e){jd(e)&&(e=FM(e)),Eu(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return typeof this.path=="string"?Ai.dirname(this.path):void 0}set dirname(e){Om(this.basename,"dirname"),this.path=Ai.join(e||"",this.basename)}get basename(){return typeof this.path=="string"?Ai.basename(this.path):void 0}set basename(e){Eu(e,"basename"),Tu(e,"basename"),this.path=Ai.join(this.dirname||"",e)}get extname(){return typeof this.path=="string"?Ai.extname(this.path):void 0}set extname(e){if(Tu(e,"extname"),Om(this.dirname,"extname"),e){if(e.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Ai.join(this.dirname,this.stem+(e||""))}get stem(){return typeof this.path=="string"?Ai.basename(this.path,this.extname):void 0}set stem(e){Eu(e,"stem"),Tu(e,"stem"),this.path=Ai.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e)}message(e,t,n){const r=new ti(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=null,r}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}};function Tu(e,t){if(e&&e.includes(Ai.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Ai.sep+"`")}function Eu(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Om(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}var HM=h8().freeze(),d8={}.hasOwnProperty;function h8(){const e=kM(),t=[];let n={},r,i=-1;return a.data=o,a.Parser=void 0,a.Compiler=void 0,a.freeze=s,a.attachers=t,a.use=l,a.parse=c,a.stringify=u,a.run=d,a.runSync=f,a.process=h,a.processSync=m,a;function a(){const p=h8();let b=-1;for(;++b<t.length;)p.use(...t[b]);return p.data((0,Nm.default)(!0,{},n)),p}function o(p,b){return typeof p=="string"?arguments.length===2?(Su("data",r),n[p]=b,a):d8.call(n,p)&&n[p]||null:p?(Su("data",r),n=p,a):n}function s(){if(r)return a;for(;++i<t.length;){const[p,...b]=t[i];if(b[0]===!1)continue;b[0]===!0&&(b[0]=void 0);const v=p.call(a,...b);typeof v=="function"&&e.use(v)}return r=!0,i=Number.POSITIVE_INFINITY,a}function l(p,...b){let v;if(Su("use",r),p!=null)if(typeof p=="function")I(p,...b);else if(typeof p=="object")Array.isArray(p)?D(p):_(p);else throw new TypeError("Expected usable value, not `"+p+"`");return v&&(n.settings=Object.assign(n.settings||{},v)),a;function x(C){if(typeof C=="function")I(C);else if(typeof C=="object")if(Array.isArray(C)){const[w,...R]=C;I(w,...R)}else _(C);else throw new TypeError("Expected usable value, not `"+C+"`")}function _(C){D(C.plugins),C.settings&&(v=Object.assign(v||{},C.settings))}function D(C){let w=-1;if(C!=null)if(Array.isArray(C))for(;++w<C.length;){const R=C[w];x(R)}else throw new TypeError("Expected a list of plugins, not `"+C+"`")}function I(C,w){let R=-1,L;for(;++R<t.length;)if(t[R][0]===C){L=t[R];break}L?(Ud(L[1])&&Ud(w)&&(w=(0,Nm.default)(!0,L[1],w)),L[1]=w):t.push([...arguments])}}function c(p){a.freeze();const b=hl(p),v=a.Parser;return _u("parse",v),Mm(v,"parse")?new v(String(b),b).parse():v(String(b),b)}function u(p,b){a.freeze();const v=hl(b),x=a.Compiler;return xu("stringify",x),Im(p),Mm(x,"compile")?new x(p,v).compile():x(p,v)}function d(p,b,v){if(Im(p),a.freeze(),!v&&typeof b=="function"&&(v=b,b=void 0),!v)return new Promise(x);x(null,v);function x(_,D){e.run(p,hl(b),I);function I(C,w,R){w=w||p,C?D(C):_?_(w):v(null,w,R)}}}function f(p,b){let v,x;return a.run(p,b,_),Rm("runSync","run",x),v;function _(D,I){km(D),v=I,x=!0}}function h(p,b){if(a.freeze(),_u("process",a.Parser),xu("process",a.Compiler),!b)return new Promise(v);v(null,b);function v(x,_){const D=hl(p);a.run(a.parse(D),D,(C,w,R)=>{if(C||!w||!R)I(C);else{const L=a.stringify(w,R);L==null||(GM(L)?R.value=L:R.result=L),I(C,R)}});function I(C,w){C||!w?_(C):x?x(w):b(null,w)}}}function m(p){let b;a.freeze(),_u("processSync",a.Parser),xu("processSync",a.Compiler);const v=hl(p);return a.process(v,x),Rm("processSync","process",b),v;function x(_){b=!0,km(_)}}}function Mm(e,t){return typeof e=="function"&&e.prototype&&(UM(e.prototype)||t in e.prototype)}function UM(e){let t;for(t in e)if(d8.call(e,t))return!0;return!1}function _u(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function xu(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function Su(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Im(e){if(!Ud(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Rm(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function hl(e){return jM(e)?e:new u8(e)}function jM(e){return Boolean(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function GM(e){return typeof e=="string"||(0,AM.default)(e)}function qM(e){return e.join(" ").trim()}function WM(e,t){var n=t||{};return e[e.length-1]===""&&(e=e.concat("")),e.join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var KM=oo(pk(),1),Gd={}.hasOwnProperty,VM=new Set(["table","thead","tbody","tfoot","tr"]);function f8(e,t){const n=[];let r=-1;for(;++r<t.children.length;){const i=t.children[r];i.type==="element"?n.push(YM(e,i,r,t)):i.type==="text"?(t.type!=="element"||!VM.has(t.tagName)||i.value!==` `)&&n.push(i.value):i.type==="raw"&&!e.options.skipHtml&&n.push(i.value)}return n}function YM(e,t,n,r){const i=e.options,a=e.schema,o=t.tagName,s={};let l=a,c;if(a.space==="html"&&o==="svg"&&(l=CM,e.schema=l),t.properties)for(c in t.properties)Gd.call(t.properties,c)&&QM(s,c,t.properties[c],e);(o==="ol"||o==="ul")&&e.listDepth++;const u=f8(e,t);(o==="ol"||o==="ul")&&e.listDepth--,e.schema=a;const d=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},f=i.components&&Gd.call(i.components,o)?i.components[o]:o,h=typeof f=="string";if(s.key=[o,d.start.line,d.start.column,n].join("-"),o==="a"&&i.linkTarget&&(s.target=typeof i.linkTarget=="function"?i.linkTarget(String(s.href||""),t.children,typeof s.title=="string"?s.title:void 0):i.linkTarget),o==="a"&&i.transformLinkUri&&(s.href=i.transformLinkUri(String(s.href||""),t.children,typeof s.title=="string"?s.title:void 0)),!h&&o==="code"&&r.type==="element"&&r.tagName!=="pre"&&(s.inline=!0),!h&&(o==="h1"||o==="h2"||o==="h3"||o==="h4"||o==="h5"||o==="h6")&&(s.level=Number.parseInt(o.charAt(1),10)),o==="img"&&i.transformImageUri&&(s.src=i.transformImageUri(String(s.src||""),String(s.alt||""),typeof s.title=="string"?s.title:void 0)),!h&&o==="li"&&r.type==="element"){const m=XM(t);s.checked=m&&m.properties?Boolean(m.properties.checked):null,s.index=wu(r,t),s.ordered=r.tagName==="ol"}return!h&&(o==="ol"||o==="ul")&&(s.ordered=o==="ol",s.depth=e.listDepth),(o==="td"||o==="th")&&(s.align&&(s.style||(s.style={}),s.style.textAlign=s.align,delete s.align),h||(s.isHeader=o==="th")),!h&&o==="tr"&&r.type==="element"&&(s.isHeader=Boolean(r.tagName==="thead")),i.sourcePos&&(s["data-sourcepos"]=eI(d)),!h&&i.rawSourcePos&&(s.sourcePosition=t.position),!h&&i.includeElementIndex&&(s.index=wu(r,t),s.siblingCount=wu(r)),h||(s.node=t),A(mh,ie({component:f},s,{children:u}))}function XM(e){let t=-1;for(;++t<e.children.length;){const n=e.children[t];if(n.type==="element"&&n.tagName==="input")return n}return null}function wu(e,t){let n=-1,r=0;for(;++n<e.children.length&&e.children[n]!==t;)e.children[n].type==="element"&&r++;return r}function QM(e,t,n,r){const i=_M(r.schema,t);let a=n;a==null||a!==a||(Array.isArray(a)&&(a=i.commaSeparated?WM(a):qM(a)),i.property==="style"&&typeof a=="string"&&(a=ZM(a)),i.space&&i.property?e[Gd.call(Am,i.property)?Am[i.property]:i.property]=a:i.attribute&&(e[i.attribute]=a))}function ZM(e){const t={};try{(0,KM.default)(e,n)}catch{}return t;function n(r,i){const a=r.slice(0,4)==="-ms-"?`ms-${r.slice(4)}`:r;t[a.replace(/-([a-z])/g,JM)]=i}}function JM(e,t){return t.toUpperCase()}function eI(e){return[e.start.line,":",e.start.column,"-",e.end.line,":",e.end.column].map(t=>String(t)).join("")}var tI=e=>{if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{K3(t,"element",(n,r,i)=>{const a=i;if(a===null)return;let o;if(e.allowedElements?o=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(o=e.disallowedElements.includes(n.tagName)),!o&&e.allowElement&&typeof r=="number"&&(o=!e.allowElement(n,r,a)),o&&typeof r=="number")return e.unwrapDisallowed&&n.children?a.children.splice(r,1,...n.children):a.children.splice(r,1),r})}},nI=tI,rI={remarkPlugins:[],rehypePlugins:[],class:"",unwrapDisallowed:!1,disallowedElements:void 0,allowedElements:void 0,allowElement:void 0,children:"",sourcePos:!1,rawSourcePos:!1,skipHtml:!1,includeElementIndex:!1,transformLinkUri:null,transformImageUri:void 0,linkTarget:"_self",components:{}},iI=e=>{const t=ie(rI,e),n=HM().use(pO).use(t.remarkPlugins||[]).use(fM,{allowDangerousHtml:!0}).use(t.rehypePlugins||[]).use(nI,t),r=new u8;typeof t.children=="string"?r.value=t.children:t.children!==void 0&&t.children!==null&&console.warn(`[solid-markdown] Warning: please pass a string as \`children\` (not: \`${t.children}\`)`);const i=n.runSync(n.parse(r),r);if(i.type!=="root")throw new TypeError("Expected a `root` node");return(()=>{const a=sk.cloneNode(!0);return vi(a,()=>f8({options:t,schema:wM,listDepth:0},i)),ar(()=>Up(a,t.class)),a})()},aI=iI;/*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh <https://feross.org> * @license MIT */function y0(e,t,n,r){const i=e.length;let a=0,o;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),[].splice.apply(e,o);else for(n&&[].splice.apply(e,[t,n]);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),[].splice.apply(e,o),a+=1e4,t+=1e4}const Lm={}.hasOwnProperty;function oI(e){const t={};let n=-1;for(;++n<e.length;)sI(t,e[n]);return t}function sI(e,t){let n;for(n in t){const i=(Lm.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let o;for(o in a){Lm.call(i,o)||(i[o]=[]);const s=a[o];lI(i[o],Array.isArray(s)?s:s?[s]:[])}}}function lI(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);y0(e,0,0,r)}const cI=/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,m8=b1(/[A-Za-z]/),uI=b1(/\d/),p8=b1(/[\dA-Za-z]/);function g8(e){return e!==null&&(e<32||e===127)}function ha(e){return e!==null&&(e<0||e===32)}function Xn(e){return e!==null&&e<-2}function Ji(e){return e===-2||e===-1||e===32}const Oc=b1(/\s/),Mc=b1(cI);function b1(e){return t;function t(n){return n!==null&&e.test(String.fromCharCode(n))}}const dI={tokenize:gI,partial:!0},b8={tokenize:bI,partial:!0},v8={tokenize:vI,partial:!0},xs={tokenize:TI,partial:!0},y8={tokenize:yI,partial:!0},T8={tokenize:mI,previous:x8},E8={tokenize:pI,previous:lf},_a={tokenize:fI,previous:S8},Bi={},hI={text:Bi};let So=48;for(;So<123;)Bi[So]=_a,So++,So===58?So=65:So===91&&(So=97);Bi[43]=_a;Bi[45]=_a;Bi[46]=_a;Bi[95]=_a;Bi[72]=[_a,E8];Bi[104]=[_a,E8];Bi[87]=[_a,T8];Bi[119]=[_a,T8];function fI(e,t,n){const r=this;let i,a;return o;function o(h){return!Dm(h)||!S8(r.previous)||cf(r.events)?n(h):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(h))}function s(h){return Dm(h)?(e.consume(h),s):h===64?(e.consume(h),l):n(h)}function l(h){return h===46?e.check(xs,f,c)(h):h===45||h===95?e.check(xs,n,u)(h):p8(h)?(!a&&uI(h)&&(a=!0),e.consume(h),l):f(h)}function c(h){return e.consume(h),i=!0,a=void 0,l}function u(h){return e.consume(h),d}function d(h){return h===46?e.check(xs,n,c)(h):l(h)}function f(h){return i&&!a?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(h)):n(h)}}function mI(e,t,n){const r=this;return i;function i(o){return o!==87&&o!==119||!x8(r.previous)||cf(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(dI,e.attempt(b8,e.attempt(v8,a),n),n)(o))}function a(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function pI(e,t,n){const r=this;return i;function i(m){return m!==72&&m!==104||!lf(r.previous)||cf(r.events)?n(m):(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),e.consume(m),a)}function a(m){return m===84||m===116?(e.consume(m),o):n(m)}function o(m){return m===84||m===116?(e.consume(m),s):n(m)}function s(m){return m===80||m===112?(e.consume(m),l):n(m)}function l(m){return m===83||m===115?(e.consume(m),c):c(m)}function c(m){return m===58?(e.consume(m),u):n(m)}function u(m){return m===47?(e.consume(m),d):n(m)}function d(m){return m===47?(e.consume(m),f):n(m)}function f(m){return m===null||g8(m)||Oc(m)||Mc(m)?n(m):e.attempt(b8,e.attempt(v8,h),n)(m)}function h(m){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(m)}}function gI(e,t,n){return r;function r(l){return e.consume(l),i}function i(l){return l===87||l===119?(e.consume(l),a):n(l)}function a(l){return l===87||l===119?(e.consume(l),o):n(l)}function o(l){return l===46?(e.consume(l),s):n(l)}function s(l){return l===null||Xn(l)?n(l):t(l)}}function bI(e,t,n){let r,i;return a;function a(l){return l===38?e.check(y8,s,o)(l):l===46||l===95?e.check(xs,s,o)(l):l===null||g8(l)||Oc(l)||l!==45&&Mc(l)?s(l):(e.consume(l),a)}function o(l){return l===46?(i=r,r=void 0,e.consume(l),a):(l===95&&(r=!0),e.consume(l),a)}function s(l){return!i&&!r?t(l):n(l)}}function vI(e,t){let n=0;return r;function r(o){return o===38?e.check(y8,t,i)(o):(o===40&&n++,o===41?e.check(xs,a,i)(o):sf(o)?t(o):_8(o)?e.check(xs,t,i)(o):(e.consume(o),r))}function i(o){return e.consume(o),r}function a(o){return n--,n<0?t(o):i(o)}}function yI(e,t,n){return r;function r(o){return e.consume(o),i}function i(o){return m8(o)?(e.consume(o),i):o===59?(e.consume(o),a):n(o)}function a(o){return sf(o)?t(o):n(o)}}function TI(e,t,n){return r;function r(a){return e.consume(a),i}function i(a){return _8(a)?(e.consume(a),i):sf(a)?t(a):n(a)}}function _8(e){return e===33||e===34||e===39||e===41||e===42||e===44||e===46||e===58||e===59||e===60||e===63||e===95||e===126}function sf(e){return e===null||e===60||ha(e)}function Dm(e){return e===43||e===45||e===46||e===95||p8(e)}function x8(e){return e===null||e===40||e===42||e===95||e===126||ha(e)}function lf(e){return e===null||!m8(e)}function S8(e){return e!==47&&lf(e)}function cf(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function Pm(e){if(e===null||ha(e)||Oc(e))return 1;if(Mc(e))return 2}function EI(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}function pi(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return o;function o(l){return Ji(l)?(e.enter(n),s(l)):t(l)}function s(l){return Ji(l)&&a++<i?(e.consume(l),s):(e.exit(n),t(l))}}const _I={tokenize:xI,partial:!0};function xI(e,t,n){return pi(e,r,"linePrefix");function r(i){return i===null||Xn(i)?t(i):n(i)}}const $m=document.createElement("i");function SI(e){const t="&"+e+";";$m.innerHTML=t;const n=$m.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Zl(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const wI={tokenize:RI,partial:!0};function CI(){return{document:{[91]:{tokenize:OI,continuation:{tokenize:MI},exit:II}},text:{[91]:{tokenize:NI},[93]:{add:"after",tokenize:AI,resolveTo:kI}}}}function AI(e,t,n){const r=this;let i=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;i--;){const l=r.events[i][1];if(l.type==="labelImage"){o=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return s;function s(l){if(!o||!o._balanced)return n(l);const c=Zl(r.sliceSerialize({start:o.end,end:r.now()}));return c.charCodeAt(0)!==94||!a.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function kI(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",o,t],["exit",o,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function NI(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a=0,o;return s;function s(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),l}function l(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(f){let h;return f===null||f===91||a++>999?n(f):f===93?o?(e.exit("chunkString"),h=e.exit("gfmFootnoteCallString"),i.includes(Zl(r.sliceSerialize(h)))?d(f):n(f)):n(f):(e.consume(f),ha(f)||(o=!0),f===92?u:c)}function u(f){return f===91||f===92||f===93?(e.consume(f),a++,c):c(f)}function d(f){return e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t}}function OI(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,o=0,s;return l;function l(p){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(p),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(p){return p===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(p),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),u):n(p)}function u(p){let b;return p===null||p===91||o>999?n(p):p===93?s?(b=e.exit("gfmFootnoteDefinitionLabelString"),a=Zl(r.sliceSerialize(b)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(p),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h):n(p):Xn(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),o++,u):(e.enter("chunkString").contentType="string",d(p))}function d(p){return p===null||Xn(p)||p===91||p===93||o>999?(e.exit("chunkString"),u(p)):(ha(p)||(s=!0),o++,e.consume(p),p===92?f:d)}function f(p){return p===91||p===92||p===93?(e.consume(p),o++,d):d(p)}function h(p){return p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),pi(e,m,"gfmFootnoteDefinitionWhitespace")):n(p)}function m(p){return i.includes(a)||i.push(a),t(p)}}function MI(e,t,n){return e.check(_I,t,e.attempt(wI,t,n))}function II(e){e.exit("gfmFootnoteDefinition")}function RI(e,t,n){const r=this;return pi(e,i,"gfmFootnoteDefinitionIndent",4+1);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(a):n(a)}}function LI(e={}){let t=e.singleTilde;const n={tokenize:i,resolveAll:r};return t==null&&(t=!0),{text:{[126]:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(a,o){let s=-1;for(;++s<a.length;)if(a[s][0]==="enter"&&a[s][1].type==="strikethroughSequenceTemporary"&&a[s][1]._close){let l=s;for(;l--;)if(a[l][0]==="exit"&&a[l][1].type==="strikethroughSequenceTemporary"&&a[l][1]._open&&a[s][1].end.offset-a[s][1].start.offset===a[l][1].end.offset-a[l][1].start.offset){a[s][1].type="strikethroughSequence",a[l][1].type="strikethroughSequence";const c={type:"strikethrough",start:Object.assign({},a[l][1].start),end:Object.assign({},a[s][1].end)},u={type:"strikethroughText",start:Object.assign({},a[l][1].end),end:Object.assign({},a[s][1].start)},d=[["enter",c,o],["enter",a[l][1],o],["exit",a[l][1],o],["enter",u,o]];y0(d,d.length,0,EI(o.parser.constructs.insideSpan.null,a.slice(l+1,s),o)),y0(d,d.length,0,[["exit",u,o],["enter",a[s][1],o],["exit",a[s][1],o],["exit",c,o]]),y0(a,l-1,s-l+3,d),s=l+d.length-2;break}}for(s=-1;++s<a.length;)a[s][1].type==="strikethroughSequenceTemporary"&&(a[s][1].type="data");return a}function i(a,o,s){const l=this.previous,c=this.events;let u=0;return d;function d(h){return l===126&&c[c.length-1][1].type!=="characterEscape"?s(h):(a.enter("strikethroughSequenceTemporary"),f(h))}function f(h){const m=Pm(l);if(h===126)return u>1?s(h):(a.consume(h),u++,f);if(u<2&&!t)return s(h);const p=a.exit("strikethroughSequenceTemporary"),b=Pm(h);return p._open=!b||b===2&&Boolean(m),p._close=!m||m===2&&Boolean(b),o(h)}}}const DI={flow:{null:{tokenize:$I,resolve:PI}}},Bm={tokenize:BI,partial:!0};function PI(e,t){let n=-1,r,i,a,o,s,l,c;for(;++n<e.length;){const u=e[n][1];if(a&&(u.type==="temporaryTableCellContent"&&(o=o||n,s=n),(u.type==="tableCellDivider"||u.type==="tableRow")&&s)){const d={type:"tableContent",start:e[o][1].start,end:e[s][1].end},f={type:"chunkText",start:d.start,end:d.end,contentType:"text"};e.splice(o,s-o+1,["enter",d,t],["enter",f,t],["exit",f,t],["exit",d,t]),n-=s-o-3,o=void 0,s=void 0}if(e[n][0]==="exit"&&l!==void 0&&l+(c?0:1)<n&&(u.type==="tableCellDivider"||u.type==="tableRow"&&(l+3<n||e[l][1].type!=="whitespace"))){const d={type:i?"tableDelimiter":r?"tableHeader":"tableData",start:e[l][1].start,end:e[n][1].end};e.splice(n+(u.type==="tableCellDivider"?1:0),0,["exit",d,t]),e.splice(l,0,["enter",d,t]),n+=2,l=n+1,c=!0}u.type==="tableRow"&&(a=e[n][0]==="enter",a&&(l=n+1,c=!1)),u.type==="tableDelimiterRow"&&(i=e[n][0]==="enter",i&&(l=n+1,c=!1)),u.type==="tableHead"&&(r=e[n][0]==="enter")}return e}function $I(e,t,n){const r=this,i=[];let a=0,o,s;return l;function l(U){return e.enter("table")._align=i,e.enter("tableHead"),e.enter("tableRow"),U===124?c(U):(a++,e.enter("temporaryTableCellContent"),f(U))}function c(U){return e.enter("tableCellDivider"),e.consume(U),e.exit("tableCellDivider"),o=!0,u}function u(U){return U===null||Xn(U)?m(U):Ji(U)?(e.enter("whitespace"),e.consume(U),d):(o&&(o=void 0,a++),U===124?c(U):(e.enter("temporaryTableCellContent"),f(U)))}function d(U){return Ji(U)?(e.consume(U),d):(e.exit("whitespace"),u(U))}function f(U){return U===null||U===124||ha(U)?(e.exit("temporaryTableCellContent"),u(U)):(e.consume(U),U===92?h:f)}function h(U){return U===92||U===124?(e.consume(U),f):f(U)}function m(U){if(U===null)return n(U);e.exit("tableRow"),e.exit("tableHead");const De=r.interrupt;return r.interrupt=!0,e.attempt({tokenize:de,partial:!0},function(ne){return r.interrupt=De,e.enter("tableDelimiterRow"),p(ne)},function(ne){return r.interrupt=De,n(ne)})(U)}function p(U){return U===null||Xn(U)?D(U):Ji(U)?(e.enter("whitespace"),e.consume(U),b):U===45?(e.enter("tableDelimiterFiller"),e.consume(U),s=!0,i.push("none"),v):U===58?(e.enter("tableDelimiterAlignment"),e.consume(U),e.exit("tableDelimiterAlignment"),i.push("left"),x):U===124?(e.enter("tableCellDivider"),e.consume(U),e.exit("tableCellDivider"),p):n(U)}function b(U){return Ji(U)?(e.consume(U),b):(e.exit("whitespace"),p(U))}function v(U){return U===45?(e.consume(U),v):(e.exit("tableDelimiterFiller"),U===58?(e.enter("tableDelimiterAlignment"),e.consume(U),e.exit("tableDelimiterAlignment"),i[i.length-1]=i[i.length-1]==="left"?"center":"right",_):p(U))}function x(U){return U===45?(e.enter("tableDelimiterFiller"),e.consume(U),s=!0,v):n(U)}function _(U){return U===null||Xn(U)?D(U):Ji(U)?(e.enter("whitespace"),e.consume(U),b):U===124?(e.enter("tableCellDivider"),e.consume(U),e.exit("tableCellDivider"),p):n(U)}function D(U){return e.exit("tableDelimiterRow"),!s||a!==i.length?n(U):U===null?I(U):e.check(Bm,I,e.attempt({tokenize:de,partial:!0},pi(e,C,"linePrefix",4),I))(U)}function I(U){return e.exit("table"),t(U)}function C(U){return e.enter("tableBody"),w(U)}function w(U){return e.enter("tableRow"),U===124?R(U):(e.enter("temporaryTableCellContent"),K(U))}function R(U){return e.enter("tableCellDivider"),e.consume(U),e.exit("tableCellDivider"),L}function L(U){return U===null||Xn(U)?oe(U):Ji(U)?(e.enter("whitespace"),e.consume(U),Q):U===124?R(U):(e.enter("temporaryTableCellContent"),K(U))}function Q(U){return Ji(U)?(e.consume(U),Q):(e.exit("whitespace"),L(U))}function K(U){return U===null||U===124||ha(U)?(e.exit("temporaryTableCellContent"),L(U)):(e.consume(U),U===92?J:K)}function J(U){return U===92||U===124?(e.consume(U),K):K(U)}function oe(U){return e.exit("tableRow"),U===null?se(U):e.check(Bm,se,e.attempt({tokenize:de,partial:!0},pi(e,w,"linePrefix",4),se))(U)}function se(U){return e.exit("tableBody"),I(U)}function de(U,De,ne){return Ge;function Ge(N){return U.enter("lineEnding"),U.consume(N),U.exit("lineEnding"),pi(U,Ne,"linePrefix")}function Ne(N){if(r.parser.lazy[r.now().line]||N===null||Xn(N))return ne(N);const P=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&P&&P[1].type==="linePrefix"&&P[2].sliceSerialize(P[1],!0).length>=4?ne(N):(r._gfmTableDynamicInterruptHack=!0,U.check(r.parser.constructs.flow,function(be){return r._gfmTableDynamicInterruptHack=!1,ne(be)},function(be){return r._gfmTableDynamicInterruptHack=!1,De(be)})(N))}}}function BI(e,t,n){let r=0;return i;function i(o){return e.enter("check"),e.consume(o),a}function a(o){return o===-1||o===32?(e.consume(o),r++,r===4?t:a):o===null||ha(o)?t(o):n(o)}}const FI={tokenize:HI},zI={text:{[91]:FI}};function HI(e,t,n){const r=this;return i;function i(s){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(s):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),a)}function a(s){return ha(s)?(e.enter("taskListCheckValueUnchecked"),e.consume(s),e.exit("taskListCheckValueUnchecked"),o):s===88||s===120?(e.enter("taskListCheckValueChecked"),e.consume(s),e.exit("taskListCheckValueChecked"),o):n(s)}function o(s){return s===93?(e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),e.check({tokenize:UI},t,n)):n(s)}}function UI(e,t,n){const r=this;return pi(e,i,"whitespace");function i(a){const o=r.events[r.events.length-1];return(o&&o[1].type==="whitespace"||Xn(a))&&a!==null?t(a):n(a)}}function jI(e){return oI([hI,CI(),LI(e),DI,zI])}function Fm(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function GI(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const Vo=function(e){if(e==null)return VI;if(typeof e=="string")return KI(e);if(typeof e=="object")return Array.isArray(e)?qI(e):WI(e);if(typeof e=="function")return Ic(e);throw new Error("Expected function, string, or object as test")};function qI(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Vo(e[n]);return Ic(r);function r(...i){let a=-1;for(;++a<t.length;)if(t[a].call(this,...i))return!0;return!1}}function WI(e){return Ic(t);function t(n){let r;for(r in e)if(n[r]!==e[r])return!1;return!0}}function KI(e){return Ic(t);function t(n){return n&&n.type===e}}function Ic(e){return t;function t(...n){return Boolean(e.call(this,...n))}}function VI(){return!0}const YI=!0,XI="skip",zm=!1,w8=function(e,t,n,r){typeof t=="function"&&typeof n!="function"&&(r=n,n=t,t=null);const i=Vo(t),a=r?-1:1;o(e,null,[])();function o(s,l,c){const u=typeof s=="object"&&s!==null?s:{};let d;return typeof u.type=="string"&&(d=typeof u.tagName=="string"?u.tagName:typeof u.name=="string"?u.name:void 0,Object.defineProperty(f,"name",{value:"node ("+(u.type+(d?"<"+d+">":""))+")"})),f;function f(){let h=[],m,p,b;if((!t||i(s,l,c[c.length-1]||null))&&(h=QI(n(s,c)),h[0]===zm))return h;if(s.children&&h[0]!==XI)for(p=(r?s.children.length:-1)+a,b=c.concat(s);p>-1&&p<s.children.length;){if(m=o(s.children[p],p,b)(),m[0]===zm)return m;p=typeof m[1]=="number"?m[1]:p+a}return h}}};function QI(e){return Array.isArray(e)?e:typeof e=="number"?[YI,e]:[e]}const ZI={}.hasOwnProperty,JI=function(e,t,n,r){let i,a;typeof t=="string"||t instanceof RegExp?(a=[[t,n]],i=r):(a=t,i=n),i||(i={});const o=Vo(i.ignore||[]),s=eR(a);let l=-1;for(;++l<s.length;)w8(e,"text",c);return e;function c(d,f){let h=-1,m;for(;++h<f.length;){const p=f[h];if(o(p,m?m.children.indexOf(p):void 0,m))return;m=p}if(m)return u(d,f)}function u(d,f){const h=f[f.length-1],m=s[l][0],p=s[l][1];let b=0;const v=h.children.indexOf(d);let x=!1,_=[],D;m.lastIndex=0;let I=m.exec(d.value);for(;I;){D=I.index;const C={index:I.index,input:I.input,stack:[...f,d]};let w=p(...I,C);if(typeof w=="string"&&(w=w.length>0?{type:"text",value:w}:void 0),w!==!1&&(b!==D&&_.push({type:"text",value:d.value.slice(b,D)}),Array.isArray(w)?_.push(...w):w&&_.push(w),b=D+I[0].length,x=!0),!m.global)break;I=m.exec(d.value)}return x?(b<d.value.length&&_.push({type:"text",value:d.value.slice(b)}),h.children.splice(v,1,..._)):_=[d],v+_.length}};function eR(e){const t=[];if(typeof e!="object")throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let n=-1;for(;++n<e.length;)t.push([Hm(e[n][0]),Um(e[n][1])])}else{let n;for(n in e)ZI.call(e,n)&&t.push([Hm(n),Um(e[n])])}return t}function Hm(e){return typeof e=="string"?new RegExp(GI(e),"g"):e}function Um(e){return typeof e=="function"?e:()=>e}const Cu="phrasing",Au=["autolink","link","image","label"],tR={transforms:[lR],enter:{literalAutolink:rR,literalAutolinkEmail:ku,literalAutolinkHttp:ku,literalAutolinkWww:ku},exit:{literalAutolink:sR,literalAutolinkEmail:oR,literalAutolinkHttp:iR,literalAutolinkWww:aR}},nR={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Cu,notInConstruct:Au},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Cu,notInConstruct:Au},{character:":",before:"[ps]",after:"\\/",inConstruct:Cu,notInConstruct:Au}]};function rR(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function ku(e){this.config.enter.autolinkProtocol.call(this,e)}function iR(e){this.config.exit.autolinkProtocol.call(this,e)}function aR(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}function oR(e){this.config.exit.autolinkEmail.call(this,e)}function sR(e){this.exit(e)}function lR(e){JI(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,cR],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,uR]],{ignore:["link","linkReference"]})}function cR(e,t,n,r,i){let a="";if(!C8(i)||(/^w/i.test(t)&&(n=t+n,t="",a="http://"),!dR(n)))return!1;const o=hR(n+r);if(!o[0])return!1;const s={type:"link",title:null,url:a+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[s,{type:"text",value:o[1]}]:s}function uR(e,t,n,r){return!C8(r,!0)||/[_-\d]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function dR(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function hR(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);let n,r,i,a;if(t)for(e=e.slice(0,t.index),a=t[0],n=a.indexOf(")"),r=Fm(e,"("),i=Fm(e,")");n!==-1&&r>i;)e+=a.slice(0,n+1),a=a.slice(n+1),n=a.indexOf(")"),i++;return[e,a]}function C8(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Oc(n)||Mc(n))&&(!t||n!==47)}function fR(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"\uFFFD":String.fromCharCode(n)}const mR=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function pR(e){return e.replace(mR,gR)}function gR(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return fR(n.slice(a?2:1),a?16:10)}return SI(n)||e}function jm(e){return e.label||!e.identifier?e.label||"":pR(e.identifier)}function fa(e){const t=e||{},n=t.now||{};let r=t.lineShift||0,i=n.line||1,a=n.column||1;return{move:l,current:o,shift:s};function o(){return{now:{line:i,column:a},lineShift:r}}function s(c){r+=c}function l(c=""){const u=c.split(/\r?\n|\r/g),d=u[u.length-1];return i+=u.length-1,a=u.length===1?a+d.length:1+d.length+r,c}}function A8(e,t,n){const r=t.indexStack,i=e.children||[],a=fa(n),o=[];let s=-1;for(r.push(-1);++s<i.length;){const c=i[s];r[r.length-1]=s,o.push(a.move(t.handle(c,e,t,{before:` `,after:` `,...a.current()}))),c.type!=="list"&&(t.bulletLastUsed=void 0),s<i.length-1&&o.push(a.move(l(c,i[s+1])))}return r.pop(),o.join("");function l(c,u){let d=t.join.length;for(;d--;){const f=t.join[d](c,u,e,t);if(f===!0||f===1)break;if(typeof f=="number")return` `.repeat(1+f);if(f===!1)return` <!----> `}return` `}}const bR=/\r?\n|\r/g;function k8(e,t){const n=[];let r=0,i=0,a;for(;a=bR.exec(e);)o(e.slice(r,a.index)),n.push(a[0]),r=a.index+a[0].length,i++;return o(e.slice(r)),n.join("");function o(s){n.push(t(s,i,!s))}}function uf(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function vR(e,t){return Gm(e,t.inConstruct,!0)&&!Gm(e,t.notInConstruct,!1)}function Gm(e,t,n){if(!t)return n;typeof t=="string"&&(t=[t]);let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function qd(e,t,n){const r=(n.before||"")+(t||"")+(n.after||""),i=[],a=[],o={};let s=-1;for(;++s<e.unsafe.length;){const u=e.unsafe[s];if(!vR(e.stack,u))continue;const d=uf(u);let f;for(;f=d.exec(r);){const h="before"in u||Boolean(u.atBreak),m="after"in u,p=f.index+(h?f[1].length:0);i.includes(p)?(o[p].before&&!h&&(o[p].before=!1),o[p].after&&!m&&(o[p].after=!1)):(i.push(p),o[p]={before:h,after:m})}}i.sort(yR);let l=n.before?n.before.length:0;const c=r.length-(n.after?n.after.length:0);for(s=-1;++s<i.length;){const u=i[s];u<l||u>=c||u+1<c&&i[s+1]===u+1&&o[u].after&&!o[u+1].before&&!o[u+1].after||i[s-1]===u-1&&o[u].before&&!o[u-1].before&&!o[u-1].after||(l!==u&&a.push(qm(r.slice(l,u),"\\")),l=u,/[!-/:-@[-`{-~]/.test(r.charAt(u))&&(!n.encode||!n.encode.includes(r.charAt(u)))?a.push("\\"):(a.push("&#x"+r.charCodeAt(u).toString(16).toUpperCase()+";"),l++))}return a.push(qm(r.slice(l,c),n.after)),a.join("")}function yR(e,t){return e-t}function qm(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],i=[],a=e+t;let o=-1,s=0,l;for(;l=n.exec(a);)r.push(l.index);for(;++o<r.length;)s!==r[o]&&i.push(e.slice(s,r[o])),i.push("\\"),s=r[o];return i.push(e.slice(s)),i.join("")}function TR(){return{enter:{gfmFootnoteDefinition:e,gfmFootnoteDefinitionLabelString:t,gfmFootnoteCall:i,gfmFootnoteCallString:a},exit:{gfmFootnoteDefinition:r,gfmFootnoteDefinitionLabelString:n,gfmFootnoteCall:s,gfmFootnoteCallString:o}};function e(l){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},l)}function t(){this.buffer()}function n(l){const c=this.resume(),u=this.stack[this.stack.length-1];u.label=c,u.identifier=Zl(this.sliceSerialize(l)).toLowerCase()}function r(l){this.exit(l)}function i(l){this.enter({type:"footnoteReference",identifier:"",label:""},l)}function a(){this.buffer()}function o(l){const c=this.resume(),u=this.stack[this.stack.length-1];u.label=c,u.identifier=Zl(this.sliceSerialize(l)).toLowerCase()}function s(l){this.exit(l)}}function ER(){return e.peek=t,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:n,footnoteReference:e}};function e(r,i,a,o){const s=fa(o);let l=s.move("[^");const c=a.enter("footnoteReference"),u=a.enter("reference");return l+=s.move(qd(a,jm(r),{...s.current(),before:l,after:"]"})),u(),c(),l+=s.move("]"),l}function t(){return"["}function n(r,i,a,o){const s=fa(o);let l=s.move("[^");const c=a.enter("footnoteDefinition"),u=a.enter("label");return l+=s.move(qd(a,jm(r),{...s.current(),before:l,after:"]"})),u(),l+=s.move("]:"+(r.children&&r.children.length>0?" ":"")),s.shift(4),l+=s.move(k8(A8(r,a,s.current()),d)),c(),l;function d(f,h,m){return h?(m?"":" ")+f:f}}}function N8(e,t,n){const r=t.indexStack,i=e.children||[],a=[];let o=-1,s=n.before;r.push(-1);let l=fa(n);for(;++o<i.length;){const c=i[o];let u;if(r[r.length-1]=o,o+1<i.length){let d=t.handle.handlers[i[o+1].type];d&&d.peek&&(d=d.peek),u=d?d(i[o+1],e,t,{before:"",after:"",...l.current()}).charAt(0):""}else u=n.after;a.length>0&&(s==="\r"||s===` `)&&c.type==="html"&&(a[a.length-1]=a[a.length-1].replace(/(\r?\n|\r)$/," "),s=" ",l=fa(n),l.move(a.join(""))),a.push(l.move(t.handle(c,e,t,{...l.current(),before:s,after:u}))),s=a[a.length-1].slice(-1)}return r.pop(),a.join("")}const _R={canContainEols:["delete"],enter:{strikethrough:SR},exit:{strikethrough:wR}},xR={unsafe:[{character:"~",inConstruct:"phrasing"}],handlers:{delete:O8}};O8.peek=CR;function SR(e){this.enter({type:"delete",children:[]},e)}function wR(e){this.exit(e)}function O8(e,t,n,r){const i=fa(r),a=n.enter("emphasis");let o=i.move("~~");return o+=N8(e,n,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),a(),o}function CR(){return"~"}M8.peek=AR;function M8(e,t,n){let r=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a<n.unsafe.length;){const o=n.unsafe[a],s=uf(o);let l;if(!!o.atBreak)for(;l=s.exec(r);){let c=l.index;r.charCodeAt(c)===10&&r.charCodeAt(c-1)===13&&c--,r=r.slice(0,c)+" "+r.slice(l.index+1)}}return i+r+i}function AR(){return"`"}function kR(e,t={}){const n=(t.align||[]).concat(),r=t.stringLength||OR,i=[],a=[],o=[],s=[];let l=0,c=-1;for(;++c<e.length;){const m=[],p=[];let b=-1;for(e[c].length>l&&(l=e[c].length);++b<e[c].length;){const v=NR(e[c][b]);if(t.alignDelimiters!==!1){const x=r(v);p[b]=x,(s[b]===void 0||x>s[b])&&(s[b]=x)}m.push(v)}a[c]=m,o[c]=p}let u=-1;if(typeof n=="object"&&"length"in n)for(;++u<l;)i[u]=Wm(n[u]);else{const m=Wm(n);for(;++u<l;)i[u]=m}u=-1;const d=[],f=[];for(;++u<l;){const m=i[u];let p="",b="";m===99?(p=":",b=":"):m===108?p=":":m===114&&(b=":");let v=t.alignDelimiters===!1?1:Math.max(1,s[u]-p.length-b.length);const x=p+"-".repeat(v)+b;t.alignDelimiters!==!1&&(v=p.length+v+b.length,v>s[u]&&(s[u]=v),f[u]=v),d[u]=x}a.splice(1,0,d),o.splice(1,0,f),c=-1;const h=[];for(;++c<a.length;){const m=a[c],p=o[c];u=-1;const b=[];for(;++u<l;){const v=m[u]||"";let x="",_="";if(t.alignDelimiters!==!1){const D=s[u]-(p[u]||0),I=i[u];I===114?x=" ".repeat(D):I===99?D%2?(x=" ".repeat(D/2+.5),_=" ".repeat(D/2-.5)):(x=" ".repeat(D/2),_=x):_=" ".repeat(D)}t.delimiterStart!==!1&&!u&&b.push("|"),t.padding!==!1&&!(t.alignDelimiters===!1&&v==="")&&(t.delimiterStart!==!1||u)&&b.push(" "),t.alignDelimiters!==!1&&b.push(x),b.push(v),t.alignDelimiters!==!1&&b.push(_),t.padding!==!1&&b.push(" "),(t.delimiterEnd!==!1||u!==l-1)&&b.push("|")}h.push(t.delimiterEnd===!1?b.join("").replace(/ +$/,""):b.join(""))}return h.join(` `)}function NR(e){return e==null?"":String(e)}function OR(e){return e.length}function Wm(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}const MR={enter:{table:IR,tableData:Km,tableHeader:Km,tableRow:LR},exit:{codeText:DR,table:RR,tableData:Nu,tableHeader:Nu,tableRow:Nu}};function IR(e){const t=e._align;this.enter({type:"table",align:t.map(n=>n==="none"?null:n),children:[]},e),this.setData("inTable",!0)}function RR(e){this.exit(e),this.setData("inTable")}function LR(e){this.enter({type:"tableRow",children:[]},e)}function Nu(e){this.exit(e)}function Km(e){this.enter({type:"tableCell",children:[]},e)}function DR(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,PR));const n=this.stack[this.stack.length-1];n.value=t,this.exit(e)}function PR(e,t){return t==="|"?t:e}function $R(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:o,tableRow:s,tableCell:l,inlineCode:f}};function o(h,m,p,b){return c(u(h,p,b),h.align)}function s(h,m,p,b){const v=d(h,p,b),x=c([v]);return x.slice(0,x.indexOf(` `))}function l(h,m,p,b){const v=p.enter("tableCell"),x=p.enter("phrasing"),_=N8(h,p,{...b,before:a,after:a});return x(),v(),_}function c(h,m){return kR(h,{align:m,alignDelimiters:r,padding:n,stringLength:i})}function u(h,m,p){const b=h.children;let v=-1;const x=[],_=m.enter("table");for(;++v<b.length;)x[v]=d(b[v],m,p);return _(),x}function d(h,m,p){const b=h.children;let v=-1;const x=[],_=m.enter("tableRow");for(;++v<b.length;)x[v]=l(b[v],h,m,p);return _(),x}function f(h,m,p){let b=M8(h,m,p);return p.stack.includes("tableCell")&&(b=b.replace(/\|/g,"\\$&")),b}}function BR(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function FR(e){const t=e.options.listItemIndent||"tab";if(t===1||t==="1")return"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function zR(e,t,n,r){const i=FR(n);let a=n.bulletCurrent||BR(n);t&&t.type==="list"&&t.ordered&&(a=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const s=fa(r);s.move(a+" ".repeat(o-a.length)),s.shift(o);const l=n.enter("listItem"),c=k8(A8(e,n,s.current()),u);return l(),c;function u(d,f,h){return f?(h?"":" ".repeat(o))+d:(h?a:a+" ".repeat(o-a.length))+d}}const HR={exit:{taskListCheckValueChecked:Vm,taskListCheckValueUnchecked:Vm,paragraph:jR}},UR={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:GR}};function Vm(e){const t=this.stack[this.stack.length-2];t.checked=e.type==="taskListCheckValueChecked"}function jR(e){const t=this.stack[this.stack.length-2],n=this.stack[this.stack.length-1],r=t.children,i=n.children[0];let a=-1,o;if(t&&t.type==="listItem"&&typeof t.checked=="boolean"&&i&&i.type==="text"){for(;++a<r.length;){const s=r[a];if(s.type==="paragraph"){o=s;break}}o===n&&(i.value=i.value.slice(1),i.value.length===0?n.children.shift():n.position&&i.position&&typeof i.position.start.offset=="number"&&(i.position.start.column++,i.position.start.offset++,n.position.start=Object.assign({},i.position.start)))}this.exit(e)}function GR(e,t,n,r){const i=e.children[0],a=typeof e.checked=="boolean"&&i&&i.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",s=fa(r);a&&s.move(o);let l=zR(e,t,n,{...r,...s.current()});return a&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(u){return u+o}}function qR(){return[tR,TR(),_R,MR,HR]}function WR(e){return{extensions:[nR,ER(),xR,$R(e),UR]}}function KR(e={}){const t=this.data();n("micromarkExtensions",jI(e)),n("fromMarkdownExtensions",qR()),n("toMarkdownExtensions",WR(e));function n(r,i){(t[r]?t[r]:t[r]=[]).push(i)}}var Ti={};const VR=[65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111];Ti.REPLACEMENT_CHARACTER="\uFFFD";Ti.CODE_POINTS={EOF:-1,NULL:0,TABULATION:9,CARRIAGE_RETURN:13,LINE_FEED:10,FORM_FEED:12,SPACE:32,EXCLAMATION_MARK:33,QUOTATION_MARK:34,NUMBER_SIGN:35,AMPERSAND:38,APOSTROPHE:39,HYPHEN_MINUS:45,SOLIDUS:47,DIGIT_0:48,DIGIT_9:57,SEMICOLON:59,LESS_THAN_SIGN:60,EQUALS_SIGN:61,GREATER_THAN_SIGN:62,QUESTION_MARK:63,LATIN_CAPITAL_A:65,LATIN_CAPITAL_F:70,LATIN_CAPITAL_X:88,LATIN_CAPITAL_Z:90,RIGHT_SQUARE_BRACKET:93,GRAVE_ACCENT:96,LATIN_SMALL_A:97,LATIN_SMALL_F:102,LATIN_SMALL_X:120,LATIN_SMALL_Z:122,REPLACEMENT_CHARACTER:65533};Ti.CODE_POINT_SEQUENCES={DASH_DASH_STRING:[45,45],DOCTYPE_STRING:[68,79,67,84,89,80,69],CDATA_START_STRING:[91,67,68,65,84,65,91],SCRIPT_STRING:[115,99,114,105,112,116],PUBLIC_STRING:[80,85,66,76,73,67],SYSTEM_STRING:[83,89,83,84,69,77]};Ti.isSurrogate=function(e){return e>=55296&&e<=57343};Ti.isSurrogatePair=function(e){return e>=56320&&e<=57343};Ti.getSurrogatePairCodePoint=function(e,t){return(e-55296)*1024+9216+t};Ti.isControlCodePoint=function(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159};Ti.isUndefinedCodePoint=function(e){return e>=64976&&e<=65007||VR.indexOf(e)>-1};var df={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"};const fs=Ti,Ou=df,wo=fs.CODE_POINTS,YR=1<<16;class XR{constructor(){this.html=null,this.pos=-1,this.lastGapPos=-1,this.lastCharPos=-1,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=YR}_err(){}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.lastCharPos){const n=this.html.charCodeAt(this.pos+1);if(fs.isSurrogatePair(n))return this.pos++,this._addGap(),fs.getSurrogatePairCodePoint(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,wo.EOF;return this._err(Ou.surrogateInInputStream),t}dropParsedChunk(){this.pos>this.bufferWaterline&&(this.lastCharPos-=this.pos,this.html=this.html.substring(this.pos),this.pos=0,this.lastGapPos=-1,this.gapStack=[])}write(t,n){this.html?this.html+=t:this.html=t,this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1,this.html.length),this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1}advance(){if(this.pos++,this.pos>this.lastCharPos)return this.endOfChunkHit=!this.lastChunkWritten,wo.EOF;let t=this.html.charCodeAt(this.pos);return this.skipNextNewLine&&t===wo.LINE_FEED?(this.skipNextNewLine=!1,this._addGap(),this.advance()):t===wo.CARRIAGE_RETURN?(this.skipNextNewLine=!0,wo.LINE_FEED):(this.skipNextNewLine=!1,fs.isSurrogate(t)&&(t=this._processSurrogate(t)),t>31&&t<127||t===wo.LINE_FEED||t===wo.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){fs.isControlCodePoint(t)?this._err(Ou.controlCharacterInInputStream):fs.isUndefinedCodePoint(t)&&this._err(Ou.noncharacterInInputStream)}retreat(){this.pos===this.lastGapPos&&(this.lastGapPos=this.gapStack.pop(),this.pos--),this.pos--}}var QR=XR,ZR=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4e3,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13e3,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204]);const JR=QR,qt=Ti,Do=ZR,ce=df,z=qt.CODE_POINTS,Co=qt.CODE_POINT_SEQUENCES,eL={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},I8=1<<0,R8=1<<1,L8=1<<2,tL=I8|R8|L8,_t="DATA_STATE",ms="RCDATA_STATE",wl="RAWTEXT_STATE",Zi="SCRIPT_DATA_STATE",D8="PLAINTEXT_STATE",Ym="TAG_OPEN_STATE",Xm="END_TAG_OPEN_STATE",Mu="TAG_NAME_STATE",Qm="RCDATA_LESS_THAN_SIGN_STATE",Zm="RCDATA_END_TAG_OPEN_STATE",Jm="RCDATA_END_TAG_NAME_STATE",e4="RAWTEXT_LESS_THAN_SIGN_STATE",t4="RAWTEXT_END_TAG_OPEN_STATE",n4="RAWTEXT_END_TAG_NAME_STATE",r4="SCRIPT_DATA_LESS_THAN_SIGN_STATE",i4="SCRIPT_DATA_END_TAG_OPEN_STATE",a4="SCRIPT_DATA_END_TAG_NAME_STATE",o4="SCRIPT_DATA_ESCAPE_START_STATE",s4="SCRIPT_DATA_ESCAPE_START_DASH_STATE",si="SCRIPT_DATA_ESCAPED_STATE",l4="SCRIPT_DATA_ESCAPED_DASH_STATE",Iu="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",U1="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",c4="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",u4="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",d4="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE",qi="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",h4="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",f4="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",j1="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",m4="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",Si="BEFORE_ATTRIBUTE_NAME_STATE",G1="ATTRIBUTE_NAME_STATE",Ru="AFTER_ATTRIBUTE_NAME_STATE",Lu="BEFORE_ATTRIBUTE_VALUE_STATE",q1="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",W1="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",K1="ATTRIBUTE_VALUE_UNQUOTED_STATE",Du="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",Ma="SELF_CLOSING_START_TAG_STATE",fl="BOGUS_COMMENT_STATE",p4="MARKUP_DECLARATION_OPEN_STATE",g4="COMMENT_START_STATE",b4="COMMENT_START_DASH_STATE",Ia="COMMENT_STATE",v4="COMMENT_LESS_THAN_SIGN_STATE",y4="COMMENT_LESS_THAN_SIGN_BANG_STATE",T4="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE",E4="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE",V1="COMMENT_END_DASH_STATE",Y1="COMMENT_END_STATE",_4="COMMENT_END_BANG_STATE",x4="DOCTYPE_STATE",X1="BEFORE_DOCTYPE_NAME_STATE",Q1="DOCTYPE_NAME_STATE",S4="AFTER_DOCTYPE_NAME_STATE",w4="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE",C4="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE",Pu="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE",$u="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE",Bu="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE",A4="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE",k4="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE",N4="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",ml="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",pl="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",Fu="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",Wi="BOGUS_DOCTYPE_STATE",Z1="CDATA_SECTION_STATE",O4="CDATA_SECTION_BRACKET_STATE",M4="CDATA_SECTION_END_STATE",os="CHARACTER_REFERENCE_STATE",I4="NAMED_CHARACTER_REFERENCE_STATE",R4="AMBIGUOS_AMPERSAND_STATE",L4="NUMERIC_CHARACTER_REFERENCE_STATE",D4="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE",P4="DECIMAL_CHARACTER_REFERENCE_START_STATE",$4="HEXADEMICAL_CHARACTER_REFERENCE_STATE",B4="DECIMAL_CHARACTER_REFERENCE_STATE",gl="NUMERIC_CHARACTER_REFERENCE_END_STATE";function on(e){return e===z.SPACE||e===z.LINE_FEED||e===z.TABULATION||e===z.FORM_FEED}function Bl(e){return e>=z.DIGIT_0&&e<=z.DIGIT_9}function li(e){return e>=z.LATIN_CAPITAL_A&&e<=z.LATIN_CAPITAL_Z}function Ro(e){return e>=z.LATIN_SMALL_A&&e<=z.LATIN_SMALL_Z}function $a(e){return Ro(e)||li(e)}function zu(e){return $a(e)||Bl(e)}function P8(e){return e>=z.LATIN_CAPITAL_A&&e<=z.LATIN_CAPITAL_F}function $8(e){return e>=z.LATIN_SMALL_A&&e<=z.LATIN_SMALL_F}function nL(e){return Bl(e)||P8(e)||$8(e)}function T0(e){return e+32}function yn(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(e>>>10&1023|55296)+String.fromCharCode(56320|e&1023))}function Ra(e){return String.fromCharCode(T0(e))}function F4(e,t){const n=Do[++e];let r=++e,i=r+n-1;for(;r<=i;){const a=r+i>>>1,o=Do[a];if(o<t)r=a+1;else if(o>t)i=a-1;else return Do[a+n]}return-1}class nn{constructor(){this.preprocessor=new JR,this.tokenQueue=[],this.allowCDATA=!1,this.state=_t,this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}_err(){}_errOnNextCodePoint(t){this._consume(),this._err(t),this._unconsume()}getNextToken(){for(;!this.tokenQueue.length&&this.active;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this[this.state](t)}return this.tokenQueue.shift()}write(t,n){this.active=!0,this.preprocessor.write(t,n)}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t)}_ensureHibernation(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:nn.HIBERNATION_TOKEN}),!0}return!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}_reconsumeInState(t){this.state=t,this._unconsume()}_consumeSequenceIfMatch(t,n,r){let i=0,a=!0;const o=t.length;let s=0,l=n,c;for(;s<o;s++){if(s>0&&(l=this._consume(),i++),l===z.EOF){a=!1;break}if(c=t[s],l!==c&&(r||l!==T0(c))){a=!1;break}}if(!a)for(;i--;)this._unconsume();return a}_isTempBufferEqualToScriptString(){if(this.tempBuff.length!==Co.SCRIPT_STRING.length)return!1;for(let t=0;t<this.tempBuff.length;t++)if(this.tempBuff[t]!==Co.SCRIPT_STRING[t])return!1;return!0}_createStartTagToken(){this.currentToken={type:nn.START_TAG_TOKEN,tagName:"",selfClosing:!1,ackSelfClosing:!1,attrs:[]}}_createEndTagToken(){this.currentToken={type:nn.END_TAG_TOKEN,tagName:"",selfClosing:!1,attrs:[]}}_createCommentToken(){this.currentToken={type:nn.COMMENT_TOKEN,data:""}}_createDoctypeToken(t){this.currentToken={type:nn.DOCTYPE_TOKEN,name:t,forceQuirks:!1,publicId:null,systemId:null}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n}}_createEOFToken(){this.currentToken={type:nn.EOF_TOKEN}}_createAttr(t){this.currentAttr={name:t,value:""}}_leaveAttrName(t){nn.getTokenAttr(this.currentToken,this.currentAttr.name)===null?this.currentToken.attrs.push(this.currentAttr):this._err(ce.duplicateAttribute),this.state=t}_leaveAttrValue(t){this.state=t}_emitCurrentToken(){this._emitCurrentCharacterToken();const t=this.currentToken;this.currentToken=null,t.type===nn.START_TAG_TOKEN?this.lastStartTagName=t.tagName:t.type===nn.END_TAG_TOKEN&&(t.attrs.length>0&&this._err(ce.endTagWithAttributes),t.selfClosing&&this._err(ce.endTagWithTrailingSolidus)),this.tokenQueue.push(t)}_emitCurrentCharacterToken(){this.currentCharacterToken&&(this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null)}_emitEOFToken(){this._createEOFToken(),this._emitCurrentToken()}_appendCharToCurrentCharacterToken(t,n){this.currentCharacterToken&&this.currentCharacterToken.type!==t&&this._emitCurrentCharacterToken(),this.currentCharacterToken?this.currentCharacterToken.chars+=n:this._createCharacterToken(t,n)}_emitCodePoint(t){let n=nn.CHARACTER_TOKEN;on(t)?n=nn.WHITESPACE_CHARACTER_TOKEN:t===z.NULL&&(n=nn.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(n,yn(t))}_emitSeveralCodePoints(t){for(let n=0;n<t.length;n++)this._emitCodePoint(t[n])}_emitChars(t){this._appendCharToCurrentCharacterToken(nn.CHARACTER_TOKEN,t)}_matchNamedCharacterReference(t){let n=null,r=1,i=F4(0,t);for(this.tempBuff.push(t);i>-1;){const a=Do[i],o=a<tL;o&&a&I8&&(n=a&R8?[Do[++i],Do[++i]]:[Do[++i]],r=0);const l=this._consume();if(this.tempBuff.push(l),r++,l===z.EOF)break;o?i=a&L8?F4(i,l):-1:i=l===a?++i:-1}for(;r--;)this.tempBuff.pop(),this._unconsume();return n}_isCharacterReferenceInAttribute(){return this.returnState===q1||this.returnState===W1||this.returnState===K1}_isCharacterReferenceAttributeQuirk(t){if(!t&&this._isCharacterReferenceInAttribute()){const n=this._consume();return this._unconsume(),n===z.EQUALS_SIGN||zu(n)}return!1}_flushCodePointsConsumedAsCharacterReference(){if(this._isCharacterReferenceInAttribute())for(let t=0;t<this.tempBuff.length;t++)this.currentAttr.value+=yn(this.tempBuff[t]);else this._emitSeveralCodePoints(this.tempBuff);this.tempBuff=[]}[_t](t){this.preprocessor.dropParsedChunk(),t===z.LESS_THAN_SIGN?this.state=Ym:t===z.AMPERSAND?(this.returnState=_t,this.state=os):t===z.NULL?(this._err(ce.unexpectedNullCharacter),this._emitCodePoint(t)):t===z.EOF?this._emitEOFToken():this._emitCodePoint(t)}[ms](t){this.preprocessor.dropParsedChunk(),t===z.AMPERSAND?(this.returnState=ms,this.state=os):t===z.LESS_THAN_SIGN?this.state=Qm:t===z.NULL?(this._err(ce.unexpectedNullCharacter),this._emitChars(qt.REPLACEMENT_CHARACTER)):t===z.EOF?this._emitEOFToken():this._emitCodePoint(t)}[wl](t){this.preprocessor.dropParsedChunk(),t===z.LESS_THAN_SIGN?this.state=e4:t===z.NULL?(this._err(ce.unexpectedNullCharacter),this._emitChars(qt.REPLACEMENT_CHARACTER)):t===z.EOF?this._emitEOFToken():this._emitCodePoint(t)}[Zi](t){this.preprocessor.dropParsedChunk(),t===z.LESS_THAN_SIGN?this.state=r4:t===z.NULL?(this._err(ce.unexpectedNullCharacter),this._emitChars(qt.REPLACEMENT_CHARACTER)):t===z.EOF?this._emitEOFToken():this._emitCodePoint(t)}[D8](t){this.preprocessor.dropParsedChunk(),t===z.NULL?(this._err(ce.unexpectedNullCharacter),this._emitChars(qt.REPLACEMENT_CHARACTER)):t===z.EOF?this._emitEOFToken():this._emitCodePoint(t)}[Ym](t){t===z.EXCLAMATION_MARK?this.state=p4:t===z.SOLIDUS?this.state=Xm:$a(t)?(this._createStartTagToken(),this._reconsumeInState(Mu)):t===z.QUESTION_MARK?(this._err(ce.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(),this._reconsumeInState(fl)):t===z.EOF?(this._err(ce.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken()):(this._err(ce.invalidFirstCharacterOfTagName),this._emitChars("<"),this._reconsumeInState(_t))}[Xm](t){$a(t)?(this._createEndTagToken(),this._reconsumeInState(Mu)):t===z.GREATER_THAN_SIGN?(this._err(ce.missingEndTagName),this.state=_t):t===z.EOF?(this._err(ce.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken()):(this._err(ce.invalidFirstCharacterOfTagName),this._createCommentToken(),this._reconsumeInState(fl))}[Mu](t){on(t)?this.state=Si:t===z.SOLIDUS?this.state=Ma:t===z.GREATER_THAN_SIGN?(this.state=_t,this._emitCurrentToken()):li(t)?this.currentToken.tagName+=Ra(t):t===z.NULL?(this._err(ce.unexpectedNullCharacter),this.currentToken.tagName+=qt.REPLACEMENT_CHARACTER):t===z.EOF?(this._err(ce.eofInTag),this._emitEOFToken()):this.currentToken.tagName+=yn(t)}[Qm](t){t===z.SOLIDUS?(this.tempBuff=[],this.state=Zm):(this._emitChars("<"),this._reconsumeInState(ms))}[Zm](t){$a(t)?(this._createEndTagToken(),this._reconsumeInState(Jm)):(this._emitChars("</"),this._reconsumeInState(ms))}[Jm](t){if(li(t))this.currentToken.tagName+=Ra(t),this.tempBuff.push(t);else if(Ro(t))this.currentToken.tagName+=yn(t),this.tempBuff.push(t);else{if(this.lastStartTagName===this.currentToken.tagName){if(on(t)){this.state=Si;return}if(t===z.SOLIDUS){this.state=Ma;return}if(t===z.GREATER_THAN_SIGN){this.state=_t,this._emitCurrentToken();return}}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(ms)}}[e4](t){t===z.SOLIDUS?(this.tempBuff=[],this.state=t4):(this._emitChars("<"),this._reconsumeInState(wl))}[t4](t){$a(t)?(this._createEndTagToken(),this._reconsumeInState(n4)):(this._emitChars("</"),this._reconsumeInState(wl))}[n4](t){if(li(t))this.currentToken.tagName+=Ra(t),this.tempBuff.push(t);else if(Ro(t))this.currentToken.tagName+=yn(t),this.tempBuff.push(t);else{if(this.lastStartTagName===this.currentToken.tagName){if(on(t)){this.state=Si;return}if(t===z.SOLIDUS){this.state=Ma;return}if(t===z.GREATER_THAN_SIGN){this._emitCurrentToken(),this.state=_t;return}}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(wl)}}[r4](t){t===z.SOLIDUS?(this.tempBuff=[],this.state=i4):t===z.EXCLAMATION_MARK?(this.state=o4,this._emitChars("<!")):(this._emitChars("<"),this._reconsumeInState(Zi))}[i4](t){$a(t)?(this._createEndTagToken(),this._reconsumeInState(a4)):(this._emitChars("</"),this._reconsumeInState(Zi))}[a4](t){if(li(t))this.currentToken.tagName+=Ra(t),this.tempBuff.push(t);else if(Ro(t))this.currentToken.tagName+=yn(t),this.tempBuff.push(t);else{if(this.lastStartTagName===this.currentToken.tagName){if(on(t)){this.state=Si;return}else if(t===z.SOLIDUS){this.state=Ma;return}else if(t===z.GREATER_THAN_SIGN){this._emitCurrentToken(),this.state=_t;return}}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(Zi)}}[o4](t){t===z.HYPHEN_MINUS?(this.state=s4,this._emitChars("-")):this._reconsumeInState(Zi)}[s4](t){t===z.HYPHEN_MINUS?(this.state=Iu,this._emitChars("-")):this._reconsumeInState(Zi)}[si](t){t===z.HYPHEN_MINUS?(this.state=l4,this._emitChars("-")):t===z.LESS_THAN_SIGN?this.state=U1:t===z.NULL?(this._err(ce.unexpectedNullCharacter),this._emitChars(qt.REPLACEMENT_CHARACTER)):t===z.EOF?(this._err(ce.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(t)}[l4](t){t===z.HYPHEN_MINUS?(this.state=Iu,this._emitChars("-")):t===z.LESS_THAN_SIGN?this.state=U1:t===z.NULL?(this._err(ce.unexpectedNullCharacter),this.state=si,this._emitChars(qt.REPLACEMENT_CHARACTER)):t===z.EOF?(this._err(ce.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=si,this._emitCodePoint(t))}[Iu](t){t===z.HYPHEN_MINUS?this._emitChars("-"):t===z.LESS_THAN_SIGN?this.state=U1:t===z.GREATER_THAN_SIGN?(this.state=Zi,this._emitChars(">")):t===z.NULL?(this._err(ce.unexpectedNullCharacter),this.state=si,this._emitChars(qt.REPLACEMENT_CHARACTER)):t===z.EOF?(this._err(ce.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=si,this._emitCodePoint(t))}[U1](t){t===z.SOLIDUS?(this.tempBuff=[],this.state=c4):$a(t)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState(d4)):(this._emitChars("<"),this._reconsumeInState(si))}[c4](t){$a(t)?(this._createEndTagToken(),this._reconsumeInState(u4)):(this._emitChars("</"),this._reconsumeInState(si))}[u4](t){if(li(t))this.currentToken.tagName+=Ra(t),this.tempBuff.push(t);else if(Ro(t))this.currentToken.tagName+=yn(t),this.tempBuff.push(t);else{if(this.lastStartTagName===this.currentToken.tagName){if(on(t)){this.state=Si;return}if(t===z.SOLIDUS){this.state=Ma;return}if(t===z.GREATER_THAN_SIGN){this._emitCurrentToken(),this.state=_t;return}}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(si)}}[d4](t){on(t)||t===z.SOLIDUS||t===z.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?qi:si,this._emitCodePoint(t)):li(t)?(this.tempBuff.push(T0(t)),this._emitCodePoint(t)):Ro(t)?(this.tempBuff.push(t),this._emitCodePoint(t)):this._reconsumeInState(si)}[qi](t){t===z.HYPHEN_MINUS?(this.state=h4,this._emitChars("-")):t===z.LESS_THAN_SIGN?(this.state=j1,this._emitChars("<")):t===z.NULL?(this._err(ce.unexpectedNullCharacter),this._emitChars(qt.REPLACEMENT_CHARACTER)):t===z.EOF?(this._err(ce.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(t)}[h4](t){t===z.HYPHEN_MINUS?(this.state=f4,this._emitChars("-")):t===z.LESS_THAN_SIGN?(this.state=j1,this._emitChars("<")):t===z.NULL?(this._err(ce.unexpectedNullCharacter),this.state=qi,this._emitChars(qt.REPLACEMENT_CHARACTER)):t===z.EOF?(this._err(ce.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=qi,this._emitCodePoint(t))}[f4](t){t===z.HYPHEN_MINUS?this._emitChars("-"):t===z.LESS_THAN_SIGN?(this.state=j1,this._emitChars("<")):t===z.GREATER_THAN_SIGN?(this.state=Zi,this._emitChars(">")):t===z.NULL?(this._err(ce.unexpectedNullCharacter),this.state=qi,this._emitChars(qt.REPLACEMENT_CHARACTER)):t===z.EOF?(this._err(ce.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=qi,this._emitCodePoint(t))}[j1](t){t===z.SOLIDUS?(this.tempBuff=[],this.state=m4,this._emitChars("/")):this._reconsumeInState(qi)}[m4](t){on(t)||t===z.SOLIDUS||t===z.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?si:qi,this._emitCodePoint(t)):li(t)?(this.tempBuff.push(T0(t)),this._emitCodePoint(t)):Ro(t)?(this.tempBuff.push(t),this._emitCodePoint(t)):this._reconsumeInState(qi)}[Si](t){on(t)||(t===z.SOLIDUS||t===z.GREATER_THAN_SIGN||t===z.EOF?this._reconsumeInState(Ru):t===z.EQUALS_SIGN?(this._err(ce.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=G1):(this._createAttr(""),this._reconsumeInState(G1)))}[G1](t){on(t)||t===z.SOLIDUS||t===z.GREATER_THAN_SIGN||t===z.EOF?(this._leaveAttrName(Ru),this._unconsume()):t===z.EQUALS_SIGN?this._leaveAttrName(Lu):li(t)?this.currentAttr.name+=Ra(t):t===z.QUOTATION_MARK||t===z.APOSTROPHE||t===z.LESS_THAN_SIGN?(this._err(ce.unexpectedCharacterInAttributeName),this.currentAttr.name+=yn(t)):t===z.NULL?(this._err(ce.unexpectedNullCharacter),this.currentAttr.name+=qt.REPLACEMENT_CHARACTER):this.currentAttr.name+=yn(t)}[Ru](t){on(t)||(t===z.SOLIDUS?this.state=Ma:t===z.EQUALS_SIGN?this.state=Lu:t===z.GREATER_THAN_SIGN?(this.state=_t,this._emitCurrentToken()):t===z.EOF?(this._err(ce.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState(G1)))}[Lu](t){on(t)||(t===z.QUOTATION_MARK?this.state=q1:t===z.APOSTROPHE?this.state=W1:t===z.GREATER_THAN_SIGN?(this._err(ce.missingAttributeValue),this.state=_t,this._emitCurrentToken()):this._reconsumeInState(K1))}[q1](t){t===z.QUOTATION_MARK?this.state=Du:t===z.AMPERSAND?(this.returnState=q1,this.state=os):t===z.NULL?(this._err(ce.unexpectedNullCharacter),this.currentAttr.value+=qt.REPLACEMENT_CHARACTER):t===z.EOF?(this._err(ce.eofInTag),this._emitEOFToken()):this.currentAttr.value+=yn(t)}[W1](t){t===z.APOSTROPHE?this.state=Du:t===z.AMPERSAND?(this.returnState=W1,this.state=os):t===z.NULL?(this._err(ce.unexpectedNullCharacter),this.currentAttr.value+=qt.REPLACEMENT_CHARACTER):t===z.EOF?(this._err(ce.eofInTag),this._emitEOFToken()):this.currentAttr.value+=yn(t)}[K1](t){on(t)?this._leaveAttrValue(Si):t===z.AMPERSAND?(this.returnState=K1,this.state=os):t===z.GREATER_THAN_SIGN?(this._leaveAttrValue(_t),this._emitCurrentToken()):t===z.NULL?(this._err(ce.unexpectedNullCharacter),this.currentAttr.value+=qt.REPLACEMENT_CHARACTER):t===z.QUOTATION_MARK||t===z.APOSTROPHE||t===z.LESS_THAN_SIGN||t===z.EQUALS_SIGN||t===z.GRAVE_ACCENT?(this._err(ce.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=yn(t)):t===z.EOF?(this._err(ce.eofInTag),this._emitEOFToken()):this.currentAttr.value+=yn(t)}[Du](t){on(t)?this._leaveAttrValue(Si):t===z.SOLIDUS?this._leaveAttrValue(Ma):t===z.GREATER_THAN_SIGN?(this._leaveAttrValue(_t),this._emitCurrentToken()):t===z.EOF?(this._err(ce.eofInTag),this._emitEOFToken()):(this._err(ce.missingWhitespaceBetweenAttributes),this._reconsumeInState(Si))}[Ma](t){t===z.GREATER_THAN_SIGN?(this.currentToken.selfClosing=!0,this.state=_t,this._emitCurrentToken()):t===z.EOF?(this._err(ce.eofInTag),this._emitEOFToken()):(this._err(ce.unexpectedSolidusInTag),this._reconsumeInState(Si))}[fl](t){t===z.GREATER_THAN_SIGN?(this.state=_t,this._emitCurrentToken()):t===z.EOF?(this._emitCurrentToken(),this._emitEOFToken()):t===z.NULL?(this._err(ce.unexpectedNullCharacter),this.currentToken.data+=qt.REPLACEMENT_CHARACTER):this.currentToken.data+=yn(t)}[p4](t){this._consumeSequenceIfMatch(Co.DASH_DASH_STRING,t,!0)?(this._createCommentToken(),this.state=g4):this._consumeSequenceIfMatch(Co.DOCTYPE_STRING,t,!1)?this.state=x4:this._consumeSequenceIfMatch(Co.CDATA_START_STRING,t,!0)?this.allowCDATA?this.state=Z1:(this._err(ce.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state=fl):this._ensureHibernation()||(this._err(ce.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState(fl))}[g4](t){t===z.HYPHEN_MINUS?this.state=b4:t===z.GREATER_THAN_SIGN?(this._err(ce.abruptClosingOfEmptyComment),this.state=_t,this._emitCurrentToken()):this._reconsumeInState(Ia)}[b4](t){t===z.HYPHEN_MINUS?this.state=Y1:t===z.GREATER_THAN_SIGN?(this._err(ce.abruptClosingOfEmptyComment),this.state=_t,this._emitCurrentToken()):t===z.EOF?(this._err(ce.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(Ia))}[Ia](t){t===z.HYPHEN_MINUS?this.state=V1:t===z.LESS_THAN_SIGN?(this.currentToken.data+="<",this.state=v4):t===z.NULL?(this._err(ce.unexpectedNullCharacter),this.currentToken.data+=qt.REPLACEMENT_CHARACTER):t===z.EOF?(this._err(ce.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.data+=yn(t)}[v4](t){t===z.EXCLAMATION_MARK?(this.currentToken.data+="!",this.state=y4):t===z.LESS_THAN_SIGN?this.currentToken.data+="!":this._reconsumeInState(Ia)}[y4](t){t===z.HYPHEN_MINUS?this.state=T4:this._reconsumeInState(Ia)}[T4](t){t===z.HYPHEN_MINUS?this.state=E4:this._reconsumeInState(V1)}[E4](t){t!==z.GREATER_THAN_SIGN&&t!==z.EOF&&this._err(ce.nestedComment),this._reconsumeInState(Y1)}[V1](t){t===z.HYPHEN_MINUS?this.state=Y1:t===z.EOF?(this._err(ce.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(Ia))}[Y1](t){t===z.GREATER_THAN_SIGN?(this.state=_t,this._emitCurrentToken()):t===z.EXCLAMATION_MARK?this.state=_4:t===z.HYPHEN_MINUS?this.currentToken.data+="-":t===z.EOF?(this._err(ce.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--",this._reconsumeInState(Ia))}[_4](t){t===z.HYPHEN_MINUS?(this.currentToken.data+="--!",this.state=V1):t===z.GREATER_THAN_SIGN?(this._err(ce.incorrectlyClosedComment),this.state=_t,this._emitCurrentToken()):t===z.EOF?(this._err(ce.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--!",this._reconsumeInState(Ia))}[x4](t){on(t)?this.state=X1:t===z.GREATER_THAN_SIGN?this._reconsumeInState(X1):t===z.EOF?(this._err(ce.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(ce.missingWhitespaceBeforeDoctypeName),this._reconsumeInState(X1))}[X1](t){on(t)||(li(t)?(this._createDoctypeToken(Ra(t)),this.state=Q1):t===z.NULL?(this._err(ce.unexpectedNullCharacter),this._createDoctypeToken(qt.REPLACEMENT_CHARACTER),this.state=Q1):t===z.GREATER_THAN_SIGN?(this._err(ce.missingDoctypeName),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=_t):t===z.EOF?(this._err(ce.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._createDoctypeToken(yn(t)),this.state=Q1))}[Q1](t){on(t)?this.state=S4:t===z.GREATER_THAN_SIGN?(this.state=_t,this._emitCurrentToken()):li(t)?this.currentToken.name+=Ra(t):t===z.NULL?(this._err(ce.unexpectedNullCharacter),this.currentToken.name+=qt.REPLACEMENT_CHARACTER):t===z.EOF?(this._err(ce.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.name+=yn(t)}[S4](t){on(t)||(t===z.GREATER_THAN_SIGN?(this.state=_t,this._emitCurrentToken()):t===z.EOF?(this._err(ce.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this._consumeSequenceIfMatch(Co.PUBLIC_STRING,t,!1)?this.state=w4:this._consumeSequenceIfMatch(Co.SYSTEM_STRING,t,!1)?this.state=k4:this._ensureHibernation()||(this._err(ce.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState(Wi)))}[w4](t){on(t)?this.state=C4:t===z.QUOTATION_MARK?(this._err(ce.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=Pu):t===z.APOSTROPHE?(this._err(ce.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=$u):t===z.GREATER_THAN_SIGN?(this._err(ce.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=_t,this._emitCurrentToken()):t===z.EOF?(this._err(ce.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(ce.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Wi))}[C4](t){on(t)||(t===z.QUOTATION_MARK?(this.currentToken.publicId="",this.state=Pu):t===z.APOSTROPHE?(this.currentToken.publicId="",this.state=$u):t===z.GREATER_THAN_SIGN?(this._err(ce.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=_t,this._emitCurrentToken()):t===z.EOF?(this._err(ce.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(ce.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Wi)))}[Pu](t){t===z.QUOTATION_MARK?this.state=Bu:t===z.NULL?(this._err(ce.unexpectedNullCharacter),this.currentToken.publicId+=qt.REPLACEMENT_CHARACTER):t===z.GREATER_THAN_SIGN?(this._err(ce.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=_t):t===z.EOF?(this._err(ce.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=yn(t)}[$u](t){t===z.APOSTROPHE?this.state=Bu:t===z.NULL?(this._err(ce.unexpectedNullCharacter),this.currentToken.publicId+=qt.REPLACEMENT_CHARACTER):t===z.GREATER_THAN_SIGN?(this._err(ce.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=_t):t===z.EOF?(this._err(ce.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=yn(t)}[Bu](t){on(t)?this.state=A4:t===z.GREATER_THAN_SIGN?(this.state=_t,this._emitCurrentToken()):t===z.QUOTATION_MARK?(this._err(ce.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=ml):t===z.APOSTROPHE?(this._err(ce.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=pl):t===z.EOF?(this._err(ce.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(ce.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Wi))}[A4](t){on(t)||(t===z.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=_t):t===z.QUOTATION_MARK?(this.currentToken.systemId="",this.state=ml):t===z.APOSTROPHE?(this.currentToken.systemId="",this.state=pl):t===z.EOF?(this._err(ce.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(ce.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Wi)))}[k4](t){on(t)?this.state=N4:t===z.QUOTATION_MARK?(this._err(ce.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=ml):t===z.APOSTROPHE?(this._err(ce.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=pl):t===z.GREATER_THAN_SIGN?(this._err(ce.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=_t,this._emitCurrentToken()):t===z.EOF?(this._err(ce.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(ce.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Wi))}[N4](t){on(t)||(t===z.QUOTATION_MARK?(this.currentToken.systemId="",this.state=ml):t===z.APOSTROPHE?(this.currentToken.systemId="",this.state=pl):t===z.GREATER_THAN_SIGN?(this._err(ce.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=_t,this._emitCurrentToken()):t===z.EOF?(this._err(ce.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(ce.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Wi)))}[ml](t){t===z.QUOTATION_MARK?this.state=Fu:t===z.NULL?(this._err(ce.unexpectedNullCharacter),this.currentToken.systemId+=qt.REPLACEMENT_CHARACTER):t===z.GREATER_THAN_SIGN?(this._err(ce.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=_t):t===z.EOF?(this._err(ce.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=yn(t)}[pl](t){t===z.APOSTROPHE?this.state=Fu:t===z.NULL?(this._err(ce.unexpectedNullCharacter),this.currentToken.systemId+=qt.REPLACEMENT_CHARACTER):t===z.GREATER_THAN_SIGN?(this._err(ce.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=_t):t===z.EOF?(this._err(ce.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=yn(t)}[Fu](t){on(t)||(t===z.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=_t):t===z.EOF?(this._err(ce.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(ce.unexpectedCharacterAfterDoctypeSystemIdentifier),this._reconsumeInState(Wi)))}[Wi](t){t===z.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=_t):t===z.NULL?this._err(ce.unexpectedNullCharacter):t===z.EOF&&(this._emitCurrentToken(),this._emitEOFToken())}[Z1](t){t===z.RIGHT_SQUARE_BRACKET?this.state=O4:t===z.EOF?(this._err(ce.eofInCdata),this._emitEOFToken()):this._emitCodePoint(t)}[O4](t){t===z.RIGHT_SQUARE_BRACKET?this.state=M4:(this._emitChars("]"),this._reconsumeInState(Z1))}[M4](t){t===z.GREATER_THAN_SIGN?this.state=_t:t===z.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState(Z1))}[os](t){this.tempBuff=[z.AMPERSAND],t===z.NUMBER_SIGN?(this.tempBuff.push(t),this.state=L4):zu(t)?this._reconsumeInState(I4):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[I4](t){const n=this._matchNamedCharacterReference(t);if(this._ensureHibernation())this.tempBuff=[z.AMPERSAND];else if(n){const r=this.tempBuff[this.tempBuff.length-1]===z.SEMICOLON;this._isCharacterReferenceAttributeQuirk(r)||(r||this._errOnNextCodePoint(ce.missingSemicolonAfterCharacterReference),this.tempBuff=n),this._flushCodePointsConsumedAsCharacterReference(),this.state=this.returnState}else this._flushCodePointsConsumedAsCharacterReference(),this.state=R4}[R4](t){zu(t)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=yn(t):this._emitCodePoint(t):(t===z.SEMICOLON&&this._err(ce.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}[L4](t){this.charRefCode=0,t===z.LATIN_SMALL_X||t===z.LATIN_CAPITAL_X?(this.tempBuff.push(t),this.state=D4):this._reconsumeInState(P4)}[D4](t){nL(t)?this._reconsumeInState($4):(this._err(ce.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[P4](t){Bl(t)?this._reconsumeInState(B4):(this._err(ce.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[$4](t){P8(t)?this.charRefCode=this.charRefCode*16+t-55:$8(t)?this.charRefCode=this.charRefCode*16+t-87:Bl(t)?this.charRefCode=this.charRefCode*16+t-48:t===z.SEMICOLON?this.state=gl:(this._err(ce.missingSemicolonAfterCharacterReference),this._reconsumeInState(gl))}[B4](t){Bl(t)?this.charRefCode=this.charRefCode*10+t-48:t===z.SEMICOLON?this.state=gl:(this._err(ce.missingSemicolonAfterCharacterReference),this._reconsumeInState(gl))}[gl](){if(this.charRefCode===z.NULL)this._err(ce.nullCharacterReference),this.charRefCode=z.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(ce.characterReferenceOutsideUnicodeRange),this.charRefCode=z.REPLACEMENT_CHARACTER;else if(qt.isSurrogate(this.charRefCode))this._err(ce.surrogateCharacterReference),this.charRefCode=z.REPLACEMENT_CHARACTER;else if(qt.isUndefinedCodePoint(this.charRefCode))this._err(ce.noncharacterCharacterReference);else if(qt.isControlCodePoint(this.charRefCode)||this.charRefCode===z.CARRIAGE_RETURN){this._err(ce.controlCharacterReference);const t=eL[this.charRefCode];t&&(this.charRefCode=t)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}}nn.CHARACTER_TOKEN="CHARACTER_TOKEN";nn.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN";nn.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN";nn.START_TAG_TOKEN="START_TAG_TOKEN";nn.END_TAG_TOKEN="END_TAG_TOKEN";nn.COMMENT_TOKEN="COMMENT_TOKEN";nn.DOCTYPE_TOKEN="DOCTYPE_TOKEN";nn.EOF_TOKEN="EOF_TOKEN";nn.HIBERNATION_TOKEN="HIBERNATION_TOKEN";nn.MODE={DATA:_t,RCDATA:ms,RAWTEXT:wl,SCRIPT_DATA:Zi,PLAINTEXT:D8};nn.getTokenAttr=function(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null};var Rc=nn,Ei={};const Hu=Ei.NAMESPACES={HTML:"http://www.w3.org/1999/xhtml",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"};Ei.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"};Ei.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};const Ee=Ei.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};Ei.SPECIAL_ELEMENTS={[Hu.HTML]:{[Ee.ADDRESS]:!0,[Ee.APPLET]:!0,[Ee.AREA]:!0,[Ee.ARTICLE]:!0,[Ee.ASIDE]:!0,[Ee.BASE]:!0,[Ee.BASEFONT]:!0,[Ee.BGSOUND]:!0,[Ee.BLOCKQUOTE]:!0,[Ee.BODY]:!0,[Ee.BR]:!0,[Ee.BUTTON]:!0,[Ee.CAPTION]:!0,[Ee.CENTER]:!0,[Ee.COL]:!0,[Ee.COLGROUP]:!0,[Ee.DD]:!0,[Ee.DETAILS]:!0,[Ee.DIR]:!0,[Ee.DIV]:!0,[Ee.DL]:!0,[Ee.DT]:!0,[Ee.EMBED]:!0,[Ee.FIELDSET]:!0,[Ee.FIGCAPTION]:!0,[Ee.FIGURE]:!0,[Ee.FOOTER]:!0,[Ee.FORM]:!0,[Ee.FRAME]:!0,[Ee.FRAMESET]:!0,[Ee.H1]:!0,[Ee.H2]:!0,[Ee.H3]:!0,[Ee.H4]:!0,[Ee.H5]:!0,[Ee.H6]:!0,[Ee.HEAD]:!0,[Ee.HEADER]:!0,[Ee.HGROUP]:!0,[Ee.HR]:!0,[Ee.HTML]:!0,[Ee.IFRAME]:!0,[Ee.IMG]:!0,[Ee.INPUT]:!0,[Ee.LI]:!0,[Ee.LINK]:!0,[Ee.LISTING]:!0,[Ee.MAIN]:!0,[Ee.MARQUEE]:!0,[Ee.MENU]:!0,[Ee.META]:!0,[Ee.NAV]:!0,[Ee.NOEMBED]:!0,[Ee.NOFRAMES]:!0,[Ee.NOSCRIPT]:!0,[Ee.OBJECT]:!0,[Ee.OL]:!0,[Ee.P]:!0,[Ee.PARAM]:!0,[Ee.PLAINTEXT]:!0,[Ee.PRE]:!0,[Ee.SCRIPT]:!0,[Ee.SECTION]:!0,[Ee.SELECT]:!0,[Ee.SOURCE]:!0,[Ee.STYLE]:!0,[Ee.SUMMARY]:!0,[Ee.TABLE]:!0,[Ee.TBODY]:!0,[Ee.TD]:!0,[Ee.TEMPLATE]:!0,[Ee.TEXTAREA]:!0,[Ee.TFOOT]:!0,[Ee.TH]:!0,[Ee.THEAD]:!0,[Ee.TITLE]:!0,[Ee.TR]:!0,[Ee.TRACK]:!0,[Ee.UL]:!0,[Ee.WBR]:!0,[Ee.XMP]:!0},[Hu.MATHML]:{[Ee.MI]:!0,[Ee.MO]:!0,[Ee.MN]:!0,[Ee.MS]:!0,[Ee.MTEXT]:!0,[Ee.ANNOTATION_XML]:!0},[Hu.SVG]:{[Ee.TITLE]:!0,[Ee.FOREIGN_OBJECT]:!0,[Ee.DESC]:!0}};const B8=Ei,Se=B8.TAG_NAMES,Wt=B8.NAMESPACES;function z4(e){switch(e.length){case 1:return e===Se.P;case 2:return e===Se.RB||e===Se.RP||e===Se.RT||e===Se.DD||e===Se.DT||e===Se.LI;case 3:return e===Se.RTC;case 6:return e===Se.OPTION;case 8:return e===Se.OPTGROUP}return!1}function rL(e){switch(e.length){case 1:return e===Se.P;case 2:return e===Se.RB||e===Se.RP||e===Se.RT||e===Se.DD||e===Se.DT||e===Se.LI||e===Se.TD||e===Se.TH||e===Se.TR;case 3:return e===Se.RTC;case 5:return e===Se.TBODY||e===Se.TFOOT||e===Se.THEAD;case 6:return e===Se.OPTION;case 7:return e===Se.CAPTION;case 8:return e===Se.OPTGROUP||e===Se.COLGROUP}return!1}function J1(e,t){switch(e.length){case 2:if(e===Se.TD||e===Se.TH)return t===Wt.HTML;if(e===Se.MI||e===Se.MO||e===Se.MN||e===Se.MS)return t===Wt.MATHML;break;case 4:if(e===Se.HTML)return t===Wt.HTML;if(e===Se.DESC)return t===Wt.SVG;break;case 5:if(e===Se.TABLE)return t===Wt.HTML;if(e===Se.MTEXT)return t===Wt.MATHML;if(e===Se.TITLE)return t===Wt.SVG;break;case 6:return(e===Se.APPLET||e===Se.OBJECT)&&t===Wt.HTML;case 7:return(e===Se.CAPTION||e===Se.MARQUEE)&&t===Wt.HTML;case 8:return e===Se.TEMPLATE&&t===Wt.HTML;case 13:return e===Se.FOREIGN_OBJECT&&t===Wt.SVG;case 14:return e===Se.ANNOTATION_XML&&t===Wt.MATHML}return!1}class iL{constructor(t,n){this.stackTop=-1,this.items=[],this.current=t,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=n}_indexOf(t){let n=-1;for(let r=this.stackTop;r>=0;r--)if(this.items[r]===t){n=r;break}return n}_isInTemplate(){return this.currentTagName===Se.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Wt.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(t){this.items[++this.stackTop]=t,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}pop(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&this._updateCurrentElement()}insertAfter(t,n){const r=this._indexOf(t)+1;this.items.splice(r,0,n),r===++this.stackTop&&this._updateCurrentElement()}popUntilTagNamePopped(t){for(;this.stackTop>-1;){const n=this.currentTagName,r=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),n===t&&r===Wt.HTML)break}}popUntilElementPopped(t){for(;this.stackTop>-1;){const n=this.current;if(this.pop(),n===t)break}}popUntilNumberedHeaderPopped(){for(;this.stackTop>-1;){const t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===Se.H1||t===Se.H2||t===Se.H3||t===Se.H4||t===Se.H5||t===Se.H6&&n===Wt.HTML)break}}popUntilTableCellPopped(){for(;this.stackTop>-1;){const t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===Se.TD||t===Se.TH&&n===Wt.HTML)break}}popAllUpToHtmlElement(){this.stackTop=0,this._updateCurrentElement()}clearBackToTableContext(){for(;this.currentTagName!==Se.TABLE&&this.currentTagName!==Se.TEMPLATE&&this.currentTagName!==Se.HTML||this.treeAdapter.getNamespaceURI(this.current)!==Wt.HTML;)this.pop()}clearBackToTableBodyContext(){for(;this.currentTagName!==Se.TBODY&&this.currentTagName!==Se.TFOOT&&this.currentTagName!==Se.THEAD&&this.currentTagName!==Se.TEMPLATE&&this.currentTagName!==Se.HTML||this.treeAdapter.getNamespaceURI(this.current)!==Wt.HTML;)this.pop()}clearBackToTableRowContext(){for(;this.currentTagName!==Se.TR&&this.currentTagName!==Se.TEMPLATE&&this.currentTagName!==Se.HTML||this.treeAdapter.getNamespaceURI(this.current)!==Wt.HTML;)this.pop()}remove(t){for(let n=this.stackTop;n>=0;n--)if(this.items[n]===t){this.items.splice(n,1),this.stackTop--,this._updateCurrentElement();break}}tryPeekProperlyNestedBodyElement(){const t=this.items[1];return t&&this.treeAdapter.getTagName(t)===Se.BODY?t:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){let n=this._indexOf(t);return--n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.currentTagName===Se.HTML}hasInScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]),i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===Wt.HTML)return!0;if(J1(r,i))return!1}return!0}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if((n===Se.H1||n===Se.H2||n===Se.H3||n===Se.H4||n===Se.H5||n===Se.H6)&&r===Wt.HTML)return!0;if(J1(n,r))return!1}return!0}hasInListItemScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]),i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===Wt.HTML)return!0;if((r===Se.UL||r===Se.OL)&&i===Wt.HTML||J1(r,i))return!1}return!0}hasInButtonScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]),i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===Wt.HTML)return!0;if(r===Se.BUTTON&&i===Wt.HTML||J1(r,i))return!1}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]);if(this.treeAdapter.getNamespaceURI(this.items[n])===Wt.HTML){if(r===t)return!0;if(r===Se.TABLE||r===Se.TEMPLATE||r===Se.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===Wt.HTML){if(n===Se.TBODY||n===Se.THEAD||n===Se.TFOOT)return!0;if(n===Se.TABLE||n===Se.HTML)return!1}}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]);if(this.treeAdapter.getNamespaceURI(this.items[n])===Wt.HTML){if(r===t)return!0;if(r!==Se.OPTION&&r!==Se.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;z4(this.currentTagName);)this.pop()}generateImpliedEndTagsThoroughly(){for(;rL(this.currentTagName);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;z4(this.currentTagName)&&this.currentTagName!==t;)this.pop()}}var aL=iL;const e0=3;class hi{constructor(t){this.length=0,this.entries=[],this.treeAdapter=t,this.bookmark=null}_getNoahArkConditionCandidates(t){const n=[];if(this.length>=e0){const r=this.treeAdapter.getAttrList(t).length,i=this.treeAdapter.getTagName(t),a=this.treeAdapter.getNamespaceURI(t);for(let o=this.length-1;o>=0;o--){const s=this.entries[o];if(s.type===hi.MARKER_ENTRY)break;const l=s.element,c=this.treeAdapter.getAttrList(l);this.treeAdapter.getTagName(l)===i&&this.treeAdapter.getNamespaceURI(l)===a&&c.length===r&&n.push({idx:o,attrs:c})}}return n.length<e0?[]:n}_ensureNoahArkCondition(t){const n=this._getNoahArkConditionCandidates(t);let r=n.length;if(r){const i=this.treeAdapter.getAttrList(t),a=i.length,o=Object.create(null);for(let s=0;s<a;s++){const l=i[s];o[l.name]=l.value}for(let s=0;s<a;s++)for(let l=0;l<r;l++){const c=n[l].attrs[s];if(o[c.name]!==c.value&&(n.splice(l,1),r--),n.length<e0)return}for(let s=r-1;s>=e0-1;s--)this.entries.splice(n[s].idx,1),this.length--}}insertMarker(){this.entries.push({type:hi.MARKER_ENTRY}),this.length++}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.push({type:hi.ELEMENT_ENTRY,element:t,token:n}),this.length++}insertElementAfterBookmark(t,n){let r=this.length-1;for(;r>=0&&this.entries[r]!==this.bookmark;r--);this.entries.splice(r+1,0,{type:hi.ELEMENT_ENTRY,element:t,token:n}),this.length++}removeEntry(t){for(let n=this.length-1;n>=0;n--)if(this.entries[n]===t){this.entries.splice(n,1),this.length--;break}}clearToLastMarker(){for(;this.length;){const t=this.entries.pop();if(this.length--,t.type===hi.MARKER_ENTRY)break}}getElementEntryInScopeWithTagName(t){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===hi.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(r.element)===t)return r}return null}getElementEntry(t){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===hi.ELEMENT_ENTRY&&r.element===t)return r}return null}}hi.MARKER_ENTRY="MARKER_ENTRY";hi.ELEMENT_ENTRY="ELEMENT_ENTRY";var oL=hi;class F8{constructor(t){const n={},r=this._getOverriddenMethods(this,n);for(const i of Object.keys(r))typeof r[i]=="function"&&(n[i]=t[i],t[i]=r[i])}_getOverriddenMethods(){throw new Error("Not implemented")}}F8.install=function(e,t,n){e.__mixins||(e.__mixins=[]);for(let i=0;i<e.__mixins.length;i++)if(e.__mixins[i].constructor===t)return e.__mixins[i];const r=new t(e,n);return e.__mixins.push(r),r};var xa=F8;const sL=xa;class lL extends sL{constructor(t){super(t),this.preprocessor=t,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.offset=0,this.col=0,this.line=1}_getOverriddenMethods(t,n){return{advance(){const r=this.pos+1,i=this.html[r];return t.isEol&&(t.isEol=!1,t.line++,t.lineStartPos=r),(i===` `||i==="\r"&&this.html[r+1]!==` `)&&(t.isEol=!0),t.col=r-t.lineStartPos+1,t.offset=t.droppedBufferSize+r,n.advance.call(this)},retreat(){n.retreat.call(this),t.isEol=!1,t.col=this.pos-t.lineStartPos+1},dropParsedChunk(){const r=this.pos;n.dropParsedChunk.call(this);const i=r-this.pos;t.lineStartPos-=i,t.droppedBufferSize+=i,t.offset=t.droppedBufferSize+this.pos}}}}var z8=lL;const H4=xa,Uu=Rc,cL=z8;class uL extends H4{constructor(t){super(t),this.tokenizer=t,this.posTracker=H4.install(t.preprocessor,cL),this.currentAttrLocation=null,this.ctLoc=null}_getCurrentLocation(){return{startLine:this.posTracker.line,startCol:this.posTracker.col,startOffset:this.posTracker.offset,endLine:-1,endCol:-1,endOffset:-1}}_attachCurrentAttrLocationInfo(){this.currentAttrLocation.endLine=this.posTracker.line,this.currentAttrLocation.endCol=this.posTracker.col,this.currentAttrLocation.endOffset=this.posTracker.offset;const t=this.tokenizer.currentToken,n=this.tokenizer.currentAttr;t.location.attrs||(t.location.attrs=Object.create(null)),t.location.attrs[n.name]=this.currentAttrLocation}_getOverriddenMethods(t,n){const r={_createStartTagToken(){n._createStartTagToken.call(this),this.currentToken.location=t.ctLoc},_createEndTagToken(){n._createEndTagToken.call(this),this.currentToken.location=t.ctLoc},_createCommentToken(){n._createCommentToken.call(this),this.currentToken.location=t.ctLoc},_createDoctypeToken(i){n._createDoctypeToken.call(this,i),this.currentToken.location=t.ctLoc},_createCharacterToken(i,a){n._createCharacterToken.call(this,i,a),this.currentCharacterToken.location=t.ctLoc},_createEOFToken(){n._createEOFToken.call(this),this.currentToken.location=t._getCurrentLocation()},_createAttr(i){n._createAttr.call(this,i),t.currentAttrLocation=t._getCurrentLocation()},_leaveAttrName(i){n._leaveAttrName.call(this,i),t._attachCurrentAttrLocationInfo()},_leaveAttrValue(i){n._leaveAttrValue.call(this,i),t._attachCurrentAttrLocationInfo()},_emitCurrentToken(){const i=this.currentToken.location;this.currentCharacterToken&&(this.currentCharacterToken.location.endLine=i.startLine,this.currentCharacterToken.location.endCol=i.startCol,this.currentCharacterToken.location.endOffset=i.startOffset),this.currentToken.type===Uu.EOF_TOKEN?(i.endLine=i.startLine,i.endCol=i.startCol,i.endOffset=i.startOffset):(i.endLine=t.posTracker.line,i.endCol=t.posTracker.col+1,i.endOffset=t.posTracker.offset+1),n._emitCurrentToken.call(this)},_emitCurrentCharacterToken(){const i=this.currentCharacterToken&&this.currentCharacterToken.location;i&&i.endOffset===-1&&(i.endLine=t.posTracker.line,i.endCol=t.posTracker.col,i.endOffset=t.posTracker.offset),n._emitCurrentCharacterToken.call(this)}};return Object.keys(Uu.MODE).forEach(i=>{const a=Uu.MODE[i];r[a]=function(o){t.ctLoc=t._getCurrentLocation(),n[a].call(this,o)}}),r}}var H8=uL;const dL=xa;class hL extends dL{constructor(t,n){super(t),this.onItemPop=n.onItemPop}_getOverriddenMethods(t,n){return{pop(){t.onItemPop(this.current),n.pop.call(this)},popAllUpToHtmlElement(){for(let r=this.stackTop;r>0;r--)t.onItemPop(this.items[r]);n.popAllUpToHtmlElement.call(this)},remove(r){t.onItemPop(this.current),n.remove.call(this,r)}}}}var fL=hL;const ju=xa,U4=Rc,mL=H8,pL=fL,gL=Ei,Gu=gL.TAG_NAMES;class bL extends ju{constructor(t){super(t),this.parser=t,this.treeAdapter=this.parser.treeAdapter,this.posTracker=null,this.lastStartTagToken=null,this.lastFosterParentingLocation=null,this.currentToken=null}_setStartLocation(t){let n=null;this.lastStartTagToken&&(n=Object.assign({},this.lastStartTagToken.location),n.startTag=this.lastStartTagToken.location),this.treeAdapter.setNodeSourceCodeLocation(t,n)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const i=n.location,a=this.treeAdapter.getTagName(t),o=n.type===U4.END_TAG_TOKEN&&a===n.tagName,s={};o?(s.endTag=Object.assign({},i),s.endLine=i.endLine,s.endCol=i.endCol,s.endOffset=i.endOffset):(s.endLine=i.startLine,s.endCol=i.startCol,s.endOffset=i.startOffset),this.treeAdapter.updateNodeSourceCodeLocation(t,s)}}_getOverriddenMethods(t,n){return{_bootstrap(r,i){n._bootstrap.call(this,r,i),t.lastStartTagToken=null,t.lastFosterParentingLocation=null,t.currentToken=null;const a=ju.install(this.tokenizer,mL);t.posTracker=a.posTracker,ju.install(this.openElements,pL,{onItemPop:function(o){t._setEndLocation(o,t.currentToken)}})},_runParsingLoop(r){n._runParsingLoop.call(this,r);for(let i=this.openElements.stackTop;i>=0;i--)t._setEndLocation(this.openElements.items[i],t.currentToken)},_processTokenInForeignContent(r){t.currentToken=r,n._processTokenInForeignContent.call(this,r)},_processToken(r){if(t.currentToken=r,n._processToken.call(this,r),r.type===U4.END_TAG_TOKEN&&(r.tagName===Gu.HTML||r.tagName===Gu.BODY&&this.openElements.hasInScope(Gu.BODY)))for(let a=this.openElements.stackTop;a>=0;a--){const o=this.openElements.items[a];if(this.treeAdapter.getTagName(o)===r.tagName){t._setEndLocation(o,r);break}}},_setDocumentType(r){n._setDocumentType.call(this,r);const i=this.treeAdapter.getChildNodes(this.document),a=i.length;for(let o=0;o<a;o++){const s=i[o];if(this.treeAdapter.isDocumentTypeNode(s)){this.treeAdapter.setNodeSourceCodeLocation(s,r.location);break}}},_attachElementToTree(r){t._setStartLocation(r),t.lastStartTagToken=null,n._attachElementToTree.call(this,r)},_appendElement(r,i){t.lastStartTagToken=r,n._appendElement.call(this,r,i)},_insertElement(r,i){t.lastStartTagToken=r,n._insertElement.call(this,r,i)},_insertTemplate(r){t.lastStartTagToken=r,n._insertTemplate.call(this,r);const i=this.treeAdapter.getTemplateContent(this.openElements.current);this.treeAdapter.setNodeSourceCodeLocation(i,null)},_insertFakeRootElement(){n._insertFakeRootElement.call(this),this.treeAdapter.setNodeSourceCodeLocation(this.openElements.current,null)},_appendCommentNode(r,i){n._appendCommentNode.call(this,r,i);const a=this.treeAdapter.getChildNodes(i),o=a[a.length-1];this.treeAdapter.setNodeSourceCodeLocation(o,r.location)},_findFosterParentingLocation(){return t.lastFosterParentingLocation=n._findFosterParentingLocation.call(this),t.lastFosterParentingLocation},_insertCharacters(r){n._insertCharacters.call(this,r);const i=this._shouldFosterParentOnInsertion(),a=i&&t.lastFosterParentingLocation.parent||this.openElements.currentTmplContent||this.openElements.current,o=this.treeAdapter.getChildNodes(a),s=i&&t.lastFosterParentingLocation.beforeElement?o.indexOf(t.lastFosterParentingLocation.beforeElement)-1:o.length-1,l=o[s];if(this.treeAdapter.getNodeSourceCodeLocation(l)){const{endLine:u,endCol:d,endOffset:f}=r.location;this.treeAdapter.updateNodeSourceCodeLocation(l,{endLine:u,endCol:d,endOffset:f})}else this.treeAdapter.setNodeSourceCodeLocation(l,r.location)}}}}var vL=bL;const yL=xa;class TL extends yL{constructor(t,n){super(t),this.posTracker=null,this.onParseError=n.onParseError}_setErrorLocation(t){t.startLine=t.endLine=this.posTracker.line,t.startCol=t.endCol=this.posTracker.col,t.startOffset=t.endOffset=this.posTracker.offset}_reportError(t){const n={code:t,startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1};this._setErrorLocation(n),this.onParseError(n)}_getOverriddenMethods(t){return{_err(n){t._reportError(n)}}}}var hf=TL;const EL=hf,_L=z8,xL=xa;class SL extends EL{constructor(t,n){super(t,n),this.posTracker=xL.install(t,_L),this.lastErrOffset=-1}_reportError(t){this.lastErrOffset!==this.posTracker.offset&&(this.lastErrOffset=this.posTracker.offset,super._reportError(t))}}var wL=SL;const CL=hf,AL=wL,kL=xa;class NL extends CL{constructor(t,n){super(t,n);const r=kL.install(t.preprocessor,AL,n);this.posTracker=r.posTracker}}var OL=NL;const ML=hf,IL=OL,RL=H8,j4=xa;class LL extends ML{constructor(t,n){super(t,n),this.opts=n,this.ctLoc=null,this.locBeforeToken=!1}_setErrorLocation(t){this.ctLoc&&(t.startLine=this.ctLoc.startLine,t.startCol=this.ctLoc.startCol,t.startOffset=this.ctLoc.startOffset,t.endLine=this.locBeforeToken?this.ctLoc.startLine:this.ctLoc.endLine,t.endCol=this.locBeforeToken?this.ctLoc.startCol:this.ctLoc.endCol,t.endOffset=this.locBeforeToken?this.ctLoc.startOffset:this.ctLoc.endOffset)}_getOverriddenMethods(t,n){return{_bootstrap(r,i){n._bootstrap.call(this,r,i),j4.install(this.tokenizer,IL,t.opts),j4.install(this.tokenizer,RL)},_processInputToken(r){t.ctLoc=r.location,n._processInputToken.call(this,r)},_err(r,i){t.locBeforeToken=i&&i.beforeToken,t._reportError(r)}}}}var DL=LL,It={};const{DOCUMENT_MODE:PL}=Ei;It.createDocument=function(){return{nodeName:"#document",mode:PL.NO_QUIRKS,childNodes:[]}};It.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}};It.createElement=function(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}};It.createCommentNode=function(e){return{nodeName:"#comment",data:e,parentNode:null}};const U8=function(e){return{nodeName:"#text",value:e,parentNode:null}},j8=It.appendChild=function(e,t){e.childNodes.push(t),t.parentNode=e},$L=It.insertBefore=function(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e};It.setTemplateContent=function(e,t){e.content=t};It.getTemplateContent=function(e){return e.content};It.setDocumentType=function(e,t,n,r){let i=null;for(let a=0;a<e.childNodes.length;a++)if(e.childNodes[a].nodeName==="#documentType"){i=e.childNodes[a];break}i?(i.name=t,i.publicId=n,i.systemId=r):j8(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r})};It.setDocumentMode=function(e,t){e.mode=t};It.getDocumentMode=function(e){return e.mode};It.detachNode=function(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}};It.insertText=function(e,t){if(e.childNodes.length){const n=e.childNodes[e.childNodes.length-1];if(n.nodeName==="#text"){n.value+=t;return}}j8(e,U8(t))};It.insertTextBefore=function(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&r.nodeName==="#text"?r.value+=t:$L(e,U8(t),n)};It.adoptAttributes=function(e,t){const n=[];for(let r=0;r<e.attrs.length;r++)n.push(e.attrs[r].name);for(let r=0;r<t.length;r++)n.indexOf(t[r].name)===-1&&e.attrs.push(t[r])};It.getFirstChild=function(e){return e.childNodes[0]};It.getChildNodes=function(e){return e.childNodes};It.getParentNode=function(e){return e.parentNode};It.getAttrList=function(e){return e.attrs};It.getTagName=function(e){return e.tagName};It.getNamespaceURI=function(e){return e.namespaceURI};It.getTextNodeContent=function(e){return e.value};It.getCommentNodeContent=function(e){return e.data};It.getDocumentTypeNodeName=function(e){return e.name};It.getDocumentTypeNodePublicId=function(e){return e.publicId};It.getDocumentTypeNodeSystemId=function(e){return e.systemId};It.isTextNode=function(e){return e.nodeName==="#text"};It.isCommentNode=function(e){return e.nodeName==="#comment"};It.isDocumentTypeNode=function(e){return e.nodeName==="#documentType"};It.isElementNode=function(e){return!!e.tagName};It.setNodeSourceCodeLocation=function(e,t){e.sourceCodeLocation=t};It.getNodeSourceCodeLocation=function(e){return e.sourceCodeLocation};It.updateNodeSourceCodeLocation=function(e,t){e.sourceCodeLocation=Object.assign(e.sourceCodeLocation,t)};var BL=function(t,n){return n=n||Object.create(null),[t,n].reduce((r,i)=>(Object.keys(i).forEach(a=>{r[a]=i[a]}),r),Object.create(null))},Lc={};const{DOCUMENT_MODE:ss}=Ei,G8="html",FL="about:legacy-compat",zL="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",q8=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],HL=q8.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),UL=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],W8=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],jL=W8.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function G4(e){const t=e.indexOf('"')!==-1?"'":'"';return t+e+t}function q4(e,t){for(let n=0;n<t.length;n++)if(e.indexOf(t[n])===0)return!0;return!1}Lc.isConforming=function(e){return e.name===G8&&e.publicId===null&&(e.systemId===null||e.systemId===FL)};Lc.getDocumentMode=function(e){if(e.name!==G8)return ss.QUIRKS;const t=e.systemId;if(t&&t.toLowerCase()===zL)return ss.QUIRKS;let n=e.publicId;if(n!==null){if(n=n.toLowerCase(),UL.indexOf(n)>-1)return ss.QUIRKS;let r=t===null?HL:q8;if(q4(n,r))return ss.QUIRKS;if(r=t===null?W8:jL,q4(n,r))return ss.LIMITED_QUIRKS}return ss.NO_QUIRKS};Lc.serializeContent=function(e,t,n){let r="!DOCTYPE ";return e&&(r+=e),t?r+=" PUBLIC "+G4(t):n&&(r+=" SYSTEM"),n!==null&&(r+=" "+G4(n)),r};var lo={};const qu=Rc,ff=Ei,Xe=ff.TAG_NAMES,Kn=ff.NAMESPACES,E0=ff.ATTRS,W4={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},GL="definitionurl",qL="definitionURL",WL={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},KL={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:Kn.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:Kn.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:Kn.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:Kn.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:Kn.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:Kn.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:Kn.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:Kn.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:Kn.XML},"xml:space":{prefix:"xml",name:"space",namespace:Kn.XML},xmlns:{prefix:"",name:"xmlns",namespace:Kn.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:Kn.XMLNS}},VL=lo.SVG_TAG_NAMES_ADJUSTMENT_MAP={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},YL={[Xe.B]:!0,[Xe.BIG]:!0,[Xe.BLOCKQUOTE]:!0,[Xe.BODY]:!0,[Xe.BR]:!0,[Xe.CENTER]:!0,[Xe.CODE]:!0,[Xe.DD]:!0,[Xe.DIV]:!0,[Xe.DL]:!0,[Xe.DT]:!0,[Xe.EM]:!0,[Xe.EMBED]:!0,[Xe.H1]:!0,[Xe.H2]:!0,[Xe.H3]:!0,[Xe.H4]:!0,[Xe.H5]:!0,[Xe.H6]:!0,[Xe.HEAD]:!0,[Xe.HR]:!0,[Xe.I]:!0,[Xe.IMG]:!0,[Xe.LI]:!0,[Xe.LISTING]:!0,[Xe.MENU]:!0,[Xe.META]:!0,[Xe.NOBR]:!0,[Xe.OL]:!0,[Xe.P]:!0,[Xe.PRE]:!0,[Xe.RUBY]:!0,[Xe.S]:!0,[Xe.SMALL]:!0,[Xe.SPAN]:!0,[Xe.STRONG]:!0,[Xe.STRIKE]:!0,[Xe.SUB]:!0,[Xe.SUP]:!0,[Xe.TABLE]:!0,[Xe.TT]:!0,[Xe.U]:!0,[Xe.UL]:!0,[Xe.VAR]:!0};lo.causesExit=function(e){const t=e.tagName;return t===Xe.FONT&&(qu.getTokenAttr(e,E0.COLOR)!==null||qu.getTokenAttr(e,E0.SIZE)!==null||qu.getTokenAttr(e,E0.FACE)!==null)?!0:YL[t]};lo.adjustTokenMathMLAttrs=function(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===GL){e.attrs[t].name=qL;break}};lo.adjustTokenSVGAttrs=function(e){for(let t=0;t<e.attrs.length;t++){const n=WL[e.attrs[t].name];n&&(e.attrs[t].name=n)}};lo.adjustTokenXMLAttrs=function(e){for(let t=0;t<e.attrs.length;t++){const n=KL[e.attrs[t].name];n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}};lo.adjustTokenSVGTagName=function(e){const t=VL[e.tagName];t&&(e.tagName=t)};function XL(e,t){return t===Kn.MATHML&&(e===Xe.MI||e===Xe.MO||e===Xe.MN||e===Xe.MS||e===Xe.MTEXT)}function QL(e,t,n){if(t===Kn.MATHML&&e===Xe.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===E0.ENCODING){const i=n[r].value.toLowerCase();return i===W4.TEXT_HTML||i===W4.APPLICATION_XML}}return t===Kn.SVG&&(e===Xe.FOREIGN_OBJECT||e===Xe.DESC||e===Xe.TITLE)}lo.isIntegrationPoint=function(e,t,n,r){return!!((!r||r===Kn.HTML)&&QL(e,t,n)||(!r||r===Kn.MATHML)&&XL(e,t))};const H=Rc,ZL=aL,K4=oL,JL=vL,eD=DL,V4=xa,tD=It,nD=BL,Y4=Lc,Oi=lo,Qn=df,rD=Ti,Yo=Ei,T=Yo.TAG_NAMES,je=Yo.NAMESPACES,K8=Yo.ATTRS,iD={scriptingEnabled:!0,sourceCodeLocationInfo:!1,onParseError:null,treeAdapter:tD},V8="hidden",aD=8,oD=3,Y8="INITIAL_MODE",mf="BEFORE_HTML_MODE",Dc="BEFORE_HEAD_MODE",Ys="IN_HEAD_MODE",X8="IN_HEAD_NO_SCRIPT_MODE",Pc="AFTER_HEAD_MODE",Ri="IN_BODY_MODE",G0="TEXT_MODE",nr="IN_TABLE_MODE",Q8="IN_TABLE_TEXT_MODE",$c="IN_CAPTION_MODE",v1="IN_COLUMN_GROUP_MODE",Yr="IN_TABLE_BODY_MODE",ma="IN_ROW_MODE",Bc="IN_CELL_MODE",pf="IN_SELECT_MODE",gf="IN_SELECT_IN_TABLE_MODE",q0="IN_TEMPLATE_MODE",bf="AFTER_BODY_MODE",Fc="IN_FRAMESET_MODE",Z8="AFTER_FRAMESET_MODE",J8="AFTER_AFTER_BODY_MODE",e7="AFTER_AFTER_FRAMESET_MODE",sD={[T.TR]:ma,[T.TBODY]:Yr,[T.THEAD]:Yr,[T.TFOOT]:Yr,[T.CAPTION]:$c,[T.COLGROUP]:v1,[T.TABLE]:nr,[T.BODY]:Ri,[T.FRAMESET]:Fc},lD={[T.CAPTION]:nr,[T.COLGROUP]:nr,[T.TBODY]:nr,[T.TFOOT]:nr,[T.THEAD]:nr,[T.COL]:v1,[T.TR]:Yr,[T.TD]:ma,[T.TH]:ma},X4={[Y8]:{[H.CHARACTER_TOKEN]:vl,[H.NULL_CHARACTER_TOKEN]:vl,[H.WHITESPACE_CHARACTER_TOKEN]:St,[H.COMMENT_TOKEN]:Pn,[H.DOCTYPE_TOKEN]:vD,[H.START_TAG_TOKEN]:vl,[H.END_TAG_TOKEN]:vl,[H.EOF_TOKEN]:vl},[mf]:{[H.CHARACTER_TOKEN]:Fl,[H.NULL_CHARACTER_TOKEN]:Fl,[H.WHITESPACE_CHARACTER_TOKEN]:St,[H.COMMENT_TOKEN]:Pn,[H.DOCTYPE_TOKEN]:St,[H.START_TAG_TOKEN]:yD,[H.END_TAG_TOKEN]:TD,[H.EOF_TOKEN]:Fl},[Dc]:{[H.CHARACTER_TOKEN]:zl,[H.NULL_CHARACTER_TOKEN]:zl,[H.WHITESPACE_CHARACTER_TOKEN]:St,[H.COMMENT_TOKEN]:Pn,[H.DOCTYPE_TOKEN]:t0,[H.START_TAG_TOKEN]:ED,[H.END_TAG_TOKEN]:_D,[H.EOF_TOKEN]:zl},[Ys]:{[H.CHARACTER_TOKEN]:Hl,[H.NULL_CHARACTER_TOKEN]:Hl,[H.WHITESPACE_CHARACTER_TOKEN]:Er,[H.COMMENT_TOKEN]:Pn,[H.DOCTYPE_TOKEN]:t0,[H.START_TAG_TOKEN]:Gn,[H.END_TAG_TOKEN]:Xo,[H.EOF_TOKEN]:Hl},[X8]:{[H.CHARACTER_TOKEN]:Ul,[H.NULL_CHARACTER_TOKEN]:Ul,[H.WHITESPACE_CHARACTER_TOKEN]:Er,[H.COMMENT_TOKEN]:Pn,[H.DOCTYPE_TOKEN]:t0,[H.START_TAG_TOKEN]:xD,[H.END_TAG_TOKEN]:SD,[H.EOF_TOKEN]:Ul},[Pc]:{[H.CHARACTER_TOKEN]:jl,[H.NULL_CHARACTER_TOKEN]:jl,[H.WHITESPACE_CHARACTER_TOKEN]:Er,[H.COMMENT_TOKEN]:Pn,[H.DOCTYPE_TOKEN]:t0,[H.START_TAG_TOKEN]:wD,[H.END_TAG_TOKEN]:CD,[H.EOF_TOKEN]:jl},[Ri]:{[H.CHARACTER_TOKEN]:n0,[H.NULL_CHARACTER_TOKEN]:St,[H.WHITESPACE_CHARACTER_TOKEN]:Ao,[H.COMMENT_TOKEN]:Pn,[H.DOCTYPE_TOKEN]:St,[H.START_TAG_TOKEN]:Sr,[H.END_TAG_TOKEN]:vf,[H.EOF_TOKEN]:Vi},[G0]:{[H.CHARACTER_TOKEN]:Er,[H.NULL_CHARACTER_TOKEN]:Er,[H.WHITESPACE_CHARACTER_TOKEN]:Er,[H.COMMENT_TOKEN]:St,[H.DOCTYPE_TOKEN]:St,[H.START_TAG_TOKEN]:St,[H.END_TAG_TOKEN]:rP,[H.EOF_TOKEN]:iP},[nr]:{[H.CHARACTER_TOKEN]:Yi,[H.NULL_CHARACTER_TOKEN]:Yi,[H.WHITESPACE_CHARACTER_TOKEN]:Yi,[H.COMMENT_TOKEN]:Pn,[H.DOCTYPE_TOKEN]:St,[H.START_TAG_TOKEN]:yf,[H.END_TAG_TOKEN]:Tf,[H.EOF_TOKEN]:Vi},[Q8]:{[H.CHARACTER_TOKEN]:mP,[H.NULL_CHARACTER_TOKEN]:St,[H.WHITESPACE_CHARACTER_TOKEN]:fP,[H.COMMENT_TOKEN]:yl,[H.DOCTYPE_TOKEN]:yl,[H.START_TAG_TOKEN]:yl,[H.END_TAG_TOKEN]:yl,[H.EOF_TOKEN]:yl},[$c]:{[H.CHARACTER_TOKEN]:n0,[H.NULL_CHARACTER_TOKEN]:St,[H.WHITESPACE_CHARACTER_TOKEN]:Ao,[H.COMMENT_TOKEN]:Pn,[H.DOCTYPE_TOKEN]:St,[H.START_TAG_TOKEN]:pP,[H.END_TAG_TOKEN]:gP,[H.EOF_TOKEN]:Vi},[v1]:{[H.CHARACTER_TOKEN]:W0,[H.NULL_CHARACTER_TOKEN]:W0,[H.WHITESPACE_CHARACTER_TOKEN]:Er,[H.COMMENT_TOKEN]:Pn,[H.DOCTYPE_TOKEN]:St,[H.START_TAG_TOKEN]:bP,[H.END_TAG_TOKEN]:vP,[H.EOF_TOKEN]:Vi},[Yr]:{[H.CHARACTER_TOKEN]:Yi,[H.NULL_CHARACTER_TOKEN]:Yi,[H.WHITESPACE_CHARACTER_TOKEN]:Yi,[H.COMMENT_TOKEN]:Pn,[H.DOCTYPE_TOKEN]:St,[H.START_TAG_TOKEN]:yP,[H.END_TAG_TOKEN]:TP,[H.EOF_TOKEN]:Vi},[ma]:{[H.CHARACTER_TOKEN]:Yi,[H.NULL_CHARACTER_TOKEN]:Yi,[H.WHITESPACE_CHARACTER_TOKEN]:Yi,[H.COMMENT_TOKEN]:Pn,[H.DOCTYPE_TOKEN]:St,[H.START_TAG_TOKEN]:EP,[H.END_TAG_TOKEN]:_P,[H.EOF_TOKEN]:Vi},[Bc]:{[H.CHARACTER_TOKEN]:n0,[H.NULL_CHARACTER_TOKEN]:St,[H.WHITESPACE_CHARACTER_TOKEN]:Ao,[H.COMMENT_TOKEN]:Pn,[H.DOCTYPE_TOKEN]:St,[H.START_TAG_TOKEN]:xP,[H.END_TAG_TOKEN]:SP,[H.EOF_TOKEN]:Vi},[pf]:{[H.CHARACTER_TOKEN]:Er,[H.NULL_CHARACTER_TOKEN]:St,[H.WHITESPACE_CHARACTER_TOKEN]:Er,[H.COMMENT_TOKEN]:Pn,[H.DOCTYPE_TOKEN]:St,[H.START_TAG_TOKEN]:t7,[H.END_TAG_TOKEN]:n7,[H.EOF_TOKEN]:Vi},[gf]:{[H.CHARACTER_TOKEN]:Er,[H.NULL_CHARACTER_TOKEN]:St,[H.WHITESPACE_CHARACTER_TOKEN]:Er,[H.COMMENT_TOKEN]:Pn,[H.DOCTYPE_TOKEN]:St,[H.START_TAG_TOKEN]:wP,[H.END_TAG_TOKEN]:CP,[H.EOF_TOKEN]:Vi},[q0]:{[H.CHARACTER_TOKEN]:n0,[H.NULL_CHARACTER_TOKEN]:St,[H.WHITESPACE_CHARACTER_TOKEN]:Ao,[H.COMMENT_TOKEN]:Pn,[H.DOCTYPE_TOKEN]:St,[H.START_TAG_TOKEN]:AP,[H.END_TAG_TOKEN]:kP,[H.EOF_TOKEN]:r7},[bf]:{[H.CHARACTER_TOKEN]:K0,[H.NULL_CHARACTER_TOKEN]:K0,[H.WHITESPACE_CHARACTER_TOKEN]:Ao,[H.COMMENT_TOKEN]:bD,[H.DOCTYPE_TOKEN]:St,[H.START_TAG_TOKEN]:NP,[H.END_TAG_TOKEN]:OP,[H.EOF_TOKEN]:bl},[Fc]:{[H.CHARACTER_TOKEN]:St,[H.NULL_CHARACTER_TOKEN]:St,[H.WHITESPACE_CHARACTER_TOKEN]:Er,[H.COMMENT_TOKEN]:Pn,[H.DOCTYPE_TOKEN]:St,[H.START_TAG_TOKEN]:MP,[H.END_TAG_TOKEN]:IP,[H.EOF_TOKEN]:bl},[Z8]:{[H.CHARACTER_TOKEN]:St,[H.NULL_CHARACTER_TOKEN]:St,[H.WHITESPACE_CHARACTER_TOKEN]:Er,[H.COMMENT_TOKEN]:Pn,[H.DOCTYPE_TOKEN]:St,[H.START_TAG_TOKEN]:RP,[H.END_TAG_TOKEN]:LP,[H.EOF_TOKEN]:bl},[J8]:{[H.CHARACTER_TOKEN]:_0,[H.NULL_CHARACTER_TOKEN]:_0,[H.WHITESPACE_CHARACTER_TOKEN]:Ao,[H.COMMENT_TOKEN]:Q4,[H.DOCTYPE_TOKEN]:St,[H.START_TAG_TOKEN]:DP,[H.END_TAG_TOKEN]:_0,[H.EOF_TOKEN]:bl},[e7]:{[H.CHARACTER_TOKEN]:St,[H.NULL_CHARACTER_TOKEN]:St,[H.WHITESPACE_CHARACTER_TOKEN]:Ao,[H.COMMENT_TOKEN]:Q4,[H.DOCTYPE_TOKEN]:St,[H.START_TAG_TOKEN]:PP,[H.END_TAG_TOKEN]:St,[H.EOF_TOKEN]:bl}};class cD{constructor(t){this.options=nD(iD,t),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.sourceCodeLocationInfo&&V4.install(this,JL),this.options.onParseError&&V4.install(this,eD,{onParseError:this.options.onParseError})}parse(t){const n=this.treeAdapter.createDocument();return this._bootstrap(n,null),this.tokenizer.write(t,!0),this._runParsingLoop(null),n}parseFragment(t,n){n||(n=this.treeAdapter.createElement(T.TEMPLATE,je.HTML,[]));const r=this.treeAdapter.createElement("documentmock",je.HTML,[]);this._bootstrap(r,n),this.treeAdapter.getTagName(n)===T.TEMPLATE&&this._pushTmplInsertionMode(q0),this._initTokenizerForFragmentParsing(),this._insertFakeRootElement(),this._resetInsertionMode(),this._findFormInFragmentContext(),this.tokenizer.write(t,!0),this._runParsingLoop(null);const i=this.treeAdapter.getFirstChild(r),a=this.treeAdapter.createDocumentFragment();return this._adoptNodes(i,a),a}_bootstrap(t,n){this.tokenizer=new H(this.options),this.stopped=!1,this.insertionMode=Y8,this.originalInsertionMode="",this.document=t,this.fragmentContext=n,this.headElement=null,this.formElement=null,this.openElements=new ZL(this.document,this.treeAdapter),this.activeFormattingElements=new K4(this.treeAdapter),this.tmplInsertionModeStack=[],this.tmplInsertionModeStackTop=-1,this.currentTmplInsertionMode=null,this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1}_err(){}_runParsingLoop(t){for(;!this.stopped;){this._setupTokenizerCDATAMode();const n=this.tokenizer.getNextToken();if(n.type===H.HIBERNATION_TOKEN)break;if(this.skipNextNewLine&&(this.skipNextNewLine=!1,n.type===H.WHITESPACE_CHARACTER_TOKEN&&n.chars[0]===` `)){if(n.chars.length===1)continue;n.chars=n.chars.substr(1)}if(this._processInputToken(n),t&&this.pendingScript)break}}runParsingLoopForCurrentChunk(t,n){if(this._runParsingLoop(n),n&&this.pendingScript){const r=this.pendingScript;this.pendingScript=null,n(r);return}t&&t()}_setupTokenizerCDATAMode(){const t=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=t&&t!==this.document&&this.treeAdapter.getNamespaceURI(t)!==je.HTML&&!this._isIntegrationPoint(t)}_switchToTextParsing(t,n){this._insertElement(t,je.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=G0}switchToPlaintextParsing(){this.insertionMode=G0,this.originalInsertionMode=Ri,this.tokenizer.state=H.MODE.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;do{if(this.treeAdapter.getTagName(t)===T.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}while(t)}_initTokenizerForFragmentParsing(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===je.HTML){const t=this.treeAdapter.getTagName(this.fragmentContext);t===T.TITLE||t===T.TEXTAREA?this.tokenizer.state=H.MODE.RCDATA:t===T.STYLE||t===T.XMP||t===T.IFRAME||t===T.NOEMBED||t===T.NOFRAMES||t===T.NOSCRIPT?this.tokenizer.state=H.MODE.RAWTEXT:t===T.SCRIPT?this.tokenizer.state=H.MODE.SCRIPT_DATA:t===T.PLAINTEXT&&(this.tokenizer.state=H.MODE.PLAINTEXT)}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",i=t.systemId||"";this.treeAdapter.setDocumentType(this.document,n,r,i)}_attachElementToTree(t){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const n=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(n,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r),this.openElements.push(r)}_insertFakeElement(t){const n=this.treeAdapter.createElement(t,je.HTML,[]);this._attachElementToTree(n),this.openElements.push(n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,je.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n),this.openElements.push(n)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(T.HTML,je.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r)}_insertCharacters(t){if(this._shouldFosterParentOnInsertion())this._fosterParentText(t.chars);else{const n=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(n,t.chars)}}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_shouldProcessTokenInForeignContent(t){const n=this._getAdjustedCurrentElement();if(!n||n===this.document)return!1;const r=this.treeAdapter.getNamespaceURI(n);if(r===je.HTML||this.treeAdapter.getTagName(n)===T.ANNOTATION_XML&&r===je.MATHML&&t.type===H.START_TAG_TOKEN&&t.tagName===T.SVG)return!1;const i=t.type===H.CHARACTER_TOKEN||t.type===H.NULL_CHARACTER_TOKEN||t.type===H.WHITESPACE_CHARACTER_TOKEN;return(t.type===H.START_TAG_TOKEN&&t.tagName!==T.MGLYPH&&t.tagName!==T.MALIGNMARK||i)&&this._isIntegrationPoint(n,je.MATHML)||(t.type===H.START_TAG_TOKEN||i)&&this._isIntegrationPoint(n,je.HTML)?!1:t.type!==H.EOF_TOKEN}_processToken(t){X4[this.insertionMode][t.type](this,t)}_processTokenInBodyMode(t){X4[Ri][t.type](this,t)}_processTokenInForeignContent(t){t.type===H.CHARACTER_TOKEN?BP(this,t):t.type===H.NULL_CHARACTER_TOKEN?$P(this,t):t.type===H.WHITESPACE_CHARACTER_TOKEN?Er(this,t):t.type===H.COMMENT_TOKEN?Pn(this,t):t.type===H.START_TAG_TOKEN?FP(this,t):t.type===H.END_TAG_TOKEN&&zP(this,t)}_processInputToken(t){this._shouldProcessTokenInForeignContent(t)?this._processTokenInForeignContent(t):this._processToken(t),t.type===H.START_TAG_TOKEN&&t.selfClosing&&!t.ackSelfClosing&&this._err(Qn.nonVoidHtmlElementStartTagWithTrailingSolidus)}_isIntegrationPoint(t,n){const r=this.treeAdapter.getTagName(t),i=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return Oi.isIntegrationPoint(r,i,a,n)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.length;if(t){let n=t,r=null;do if(n--,r=this.activeFormattingElements.entries[n],r.type===K4.MARKER_ENTRY||this.openElements.contains(r.element)){n++;break}while(n>0);for(let i=n;i<t;i++)r=this.activeFormattingElements.entries[i],this._insertElement(r.token,this.treeAdapter.getNamespaceURI(r.element)),r.element=this.openElements.current}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=ma}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(T.P),this.openElements.popUntilTagNamePopped(T.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop,n=!1;t>=0;t--){let r=this.openElements.items[t];t===0&&(n=!0,this.fragmentContext&&(r=this.fragmentContext));const i=this.treeAdapter.getTagName(r),a=sD[i];if(a){this.insertionMode=a;break}else if(!n&&(i===T.TD||i===T.TH)){this.insertionMode=Bc;break}else if(!n&&i===T.HEAD){this.insertionMode=Ys;break}else if(i===T.SELECT){this._resetInsertionModeForSelect(t);break}else if(i===T.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}else if(i===T.HTML){this.insertionMode=this.headElement?Pc:Dc;break}else if(n){this.insertionMode=Ri;break}}}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.items[n],i=this.treeAdapter.getTagName(r);if(i===T.TEMPLATE)break;if(i===T.TABLE){this.insertionMode=gf;return}}this.insertionMode=pf}_pushTmplInsertionMode(t){this.tmplInsertionModeStack.push(t),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=t}_popTmplInsertionMode(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}_isElementCausesFosterParenting(t){const n=this.treeAdapter.getTagName(t);return n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}_findFosterParentingLocation(){const t={parent:null,beforeElement:null};for(let n=this.openElements.stackTop;n>=0;n--){const r=this.openElements.items[n],i=this.treeAdapter.getTagName(r),a=this.treeAdapter.getNamespaceURI(r);if(i===T.TEMPLATE&&a===je.HTML){t.parent=this.treeAdapter.getTemplateContent(r);break}else if(i===T.TABLE){t.parent=this.treeAdapter.getParentNode(r),t.parent?t.beforeElement=r:t.parent=this.openElements.items[n-1];break}}return t.parent||(t.parent=this.openElements.items[0]),t}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_fosterParentText(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertTextBefore(n.parent,t,n.beforeElement):this.treeAdapter.insertText(n.parent,t)}_isSpecialElement(t){const n=this.treeAdapter.getTagName(t),r=this.treeAdapter.getNamespaceURI(t);return Yo.SPECIAL_ELEMENTS[r][n]}}var uD=cD;function dD(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagName)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):ci(e,t),n}function hD(e,t){let n=null;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i)&&(n=i)}return n||(e.openElements.popUntilElementPopped(t.element),e.activeFormattingElements.removeEntry(t)),n}function fD(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let a=0,o=i;o!==n;a++,o=i){i=e.openElements.getCommonAncestor(o);const s=e.activeFormattingElements.getElementEntry(o),l=s&&a>=oD;!s||l?(l&&e.activeFormattingElements.removeEntry(s),e.openElements.remove(o)):(o=mD(e,s),r===t&&(e.activeFormattingElements.bookmark=s),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function mD(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function pD(e,t,n){if(e._isElementCausesFosterParenting(t))e._fosterParentElement(n);else{const r=e.treeAdapter.getTagName(t),i=e.treeAdapter.getNamespaceURI(t);r===T.TEMPLATE&&i===je.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function gD(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),i=n.token,a=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,n.token),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a)}function za(e,t){let n;for(let r=0;r<aD&&(n=dD(e,t),!!n);r++){const i=hD(e,n);if(!i)break;e.activeFormattingElements.bookmark=n;const a=fD(e,i,n.element),o=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),pD(e,o,a),gD(e,i,n)}}function St(){}function t0(e){e._err(Qn.misplacedDoctype)}function Pn(e,t){e._appendCommentNode(t,e.openElements.currentTmplContent||e.openElements.current)}function bD(e,t){e._appendCommentNode(t,e.openElements.items[0])}function Q4(e,t){e._appendCommentNode(t,e.document)}function Er(e,t){e._insertCharacters(t)}function bl(e){e.stopped=!0}function vD(e,t){e._setDocumentType(t);const n=t.forceQuirks?Yo.DOCUMENT_MODE.QUIRKS:Y4.getDocumentMode(t);Y4.isConforming(t)||e._err(Qn.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=mf}function vl(e,t){e._err(Qn.missingDoctype,{beforeToken:!0}),e.treeAdapter.setDocumentMode(e.document,Yo.DOCUMENT_MODE.QUIRKS),e.insertionMode=mf,e._processToken(t)}function yD(e,t){t.tagName===T.HTML?(e._insertElement(t,je.HTML),e.insertionMode=Dc):Fl(e,t)}function TD(e,t){const n=t.tagName;(n===T.HTML||n===T.HEAD||n===T.BODY||n===T.BR)&&Fl(e,t)}function Fl(e,t){e._insertFakeRootElement(),e.insertionMode=Dc,e._processToken(t)}function ED(e,t){const n=t.tagName;n===T.HTML?Sr(e,t):n===T.HEAD?(e._insertElement(t,je.HTML),e.headElement=e.openElements.current,e.insertionMode=Ys):zl(e,t)}function _D(e,t){const n=t.tagName;n===T.HEAD||n===T.BODY||n===T.HTML||n===T.BR?zl(e,t):e._err(Qn.endTagWithoutMatchingOpenElement)}function zl(e,t){e._insertFakeElement(T.HEAD),e.headElement=e.openElements.current,e.insertionMode=Ys,e._processToken(t)}function Gn(e,t){const n=t.tagName;n===T.HTML?Sr(e,t):n===T.BASE||n===T.BASEFONT||n===T.BGSOUND||n===T.LINK||n===T.META?(e._appendElement(t,je.HTML),t.ackSelfClosing=!0):n===T.TITLE?e._switchToTextParsing(t,H.MODE.RCDATA):n===T.NOSCRIPT?e.options.scriptingEnabled?e._switchToTextParsing(t,H.MODE.RAWTEXT):(e._insertElement(t,je.HTML),e.insertionMode=X8):n===T.NOFRAMES||n===T.STYLE?e._switchToTextParsing(t,H.MODE.RAWTEXT):n===T.SCRIPT?e._switchToTextParsing(t,H.MODE.SCRIPT_DATA):n===T.TEMPLATE?(e._insertTemplate(t,je.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=q0,e._pushTmplInsertionMode(q0)):n===T.HEAD?e._err(Qn.misplacedStartTagForHeadElement):Hl(e,t)}function Xo(e,t){const n=t.tagName;n===T.HEAD?(e.openElements.pop(),e.insertionMode=Pc):n===T.BODY||n===T.BR||n===T.HTML?Hl(e,t):n===T.TEMPLATE&&e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagName!==T.TEMPLATE&&e._err(Qn.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode()):e._err(Qn.endTagWithoutMatchingOpenElement)}function Hl(e,t){e.openElements.pop(),e.insertionMode=Pc,e._processToken(t)}function xD(e,t){const n=t.tagName;n===T.HTML?Sr(e,t):n===T.BASEFONT||n===T.BGSOUND||n===T.HEAD||n===T.LINK||n===T.META||n===T.NOFRAMES||n===T.STYLE?Gn(e,t):n===T.NOSCRIPT?e._err(Qn.nestedNoscriptInHead):Ul(e,t)}function SD(e,t){const n=t.tagName;n===T.NOSCRIPT?(e.openElements.pop(),e.insertionMode=Ys):n===T.BR?Ul(e,t):e._err(Qn.endTagWithoutMatchingOpenElement)}function Ul(e,t){const n=t.type===H.EOF_TOKEN?Qn.openElementsLeftAfterEof:Qn.disallowedContentInNoscriptInHead;e._err(n),e.openElements.pop(),e.insertionMode=Ys,e._processToken(t)}function wD(e,t){const n=t.tagName;n===T.HTML?Sr(e,t):n===T.BODY?(e._insertElement(t,je.HTML),e.framesetOk=!1,e.insertionMode=Ri):n===T.FRAMESET?(e._insertElement(t,je.HTML),e.insertionMode=Fc):n===T.BASE||n===T.BASEFONT||n===T.BGSOUND||n===T.LINK||n===T.META||n===T.NOFRAMES||n===T.SCRIPT||n===T.STYLE||n===T.TEMPLATE||n===T.TITLE?(e._err(Qn.abandonedHeadElementChild),e.openElements.push(e.headElement),Gn(e,t),e.openElements.remove(e.headElement)):n===T.HEAD?e._err(Qn.misplacedStartTagForHeadElement):jl(e,t)}function CD(e,t){const n=t.tagName;n===T.BODY||n===T.HTML||n===T.BR?jl(e,t):n===T.TEMPLATE?Xo(e,t):e._err(Qn.endTagWithoutMatchingOpenElement)}function jl(e,t){e._insertFakeElement(T.BODY),e.insertionMode=Ri,e._processToken(t)}function Ao(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function n0(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function AD(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function kD(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function ND(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,je.HTML),e.insertionMode=Fc)}function Ki(e,t){e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,je.HTML)}function OD(e,t){e.openElements.hasInButtonScope(T.P)&&e._closePElement();const n=e.openElements.currentTagName;(n===T.H1||n===T.H2||n===T.H3||n===T.H4||n===T.H5||n===T.H6)&&e.openElements.pop(),e._insertElement(t,je.HTML)}function Z4(e,t){e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,je.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function MD(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,je.HTML),n||(e.formElement=e.openElements.current))}function ID(e,t){e.framesetOk=!1;const n=t.tagName;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.items[r],a=e.treeAdapter.getTagName(i);let o=null;if(n===T.LI&&a===T.LI?o=T.LI:(n===T.DD||n===T.DT)&&(a===T.DD||a===T.DT)&&(o=a),o){e.openElements.generateImpliedEndTagsWithExclusion(o),e.openElements.popUntilTagNamePopped(o);break}if(a!==T.ADDRESS&&a!==T.DIV&&a!==T.P&&e._isSpecialElement(i))break}e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,je.HTML)}function RD(e,t){e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,je.HTML),e.tokenizer.state=H.MODE.PLAINTEXT}function LD(e,t){e.openElements.hasInScope(T.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,je.HTML),e.framesetOk=!1}function DD(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(T.A);n&&(za(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,je.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function ls(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,je.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function PD(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(T.NOBR)&&(za(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,je.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function J4(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,je.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function $D(e,t){e.treeAdapter.getDocumentMode(e.document)!==Yo.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,je.HTML),e.framesetOk=!1,e.insertionMode=nr}function ps(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,je.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function BD(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,je.HTML);const n=H.getTokenAttr(t,K8.TYPE);(!n||n.toLowerCase()!==V8)&&(e.framesetOk=!1),t.ackSelfClosing=!0}function e9(e,t){e._appendElement(t,je.HTML),t.ackSelfClosing=!0}function FD(e,t){e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._appendElement(t,je.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function zD(e,t){t.tagName=T.IMG,ps(e,t)}function HD(e,t){e._insertElement(t,je.HTML),e.skipNextNewLine=!0,e.tokenizer.state=H.MODE.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=G0}function UD(e,t){e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,H.MODE.RAWTEXT)}function jD(e,t){e.framesetOk=!1,e._switchToTextParsing(t,H.MODE.RAWTEXT)}function t9(e,t){e._switchToTextParsing(t,H.MODE.RAWTEXT)}function GD(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,je.HTML),e.framesetOk=!1,e.insertionMode===nr||e.insertionMode===$c||e.insertionMode===Yr||e.insertionMode===ma||e.insertionMode===Bc?e.insertionMode=gf:e.insertionMode=pf}function n9(e,t){e.openElements.currentTagName===T.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,je.HTML)}function r9(e,t){e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,je.HTML)}function qD(e,t){e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(T.RTC),e._insertElement(t,je.HTML)}function WD(e,t){e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,je.HTML)}function KD(e,t){e._reconstructActiveFormattingElements(),Oi.adjustTokenMathMLAttrs(t),Oi.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,je.MATHML):e._insertElement(t,je.MATHML),t.ackSelfClosing=!0}function VD(e,t){e._reconstructActiveFormattingElements(),Oi.adjustTokenSVGAttrs(t),Oi.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,je.SVG):e._insertElement(t,je.SVG),t.ackSelfClosing=!0}function Ur(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,je.HTML)}function Sr(e,t){const n=t.tagName;switch(n.length){case 1:n===T.I||n===T.S||n===T.B||n===T.U?ls(e,t):n===T.P?Ki(e,t):n===T.A?DD(e,t):Ur(e,t);break;case 2:n===T.DL||n===T.OL||n===T.UL?Ki(e,t):n===T.H1||n===T.H2||n===T.H3||n===T.H4||n===T.H5||n===T.H6?OD(e,t):n===T.LI||n===T.DD||n===T.DT?ID(e,t):n===T.EM||n===T.TT?ls(e,t):n===T.BR?ps(e,t):n===T.HR?FD(e,t):n===T.RB?r9(e,t):n===T.RT||n===T.RP?qD(e,t):n!==T.TH&&n!==T.TD&&n!==T.TR&&Ur(e,t);break;case 3:n===T.DIV||n===T.DIR||n===T.NAV?Ki(e,t):n===T.PRE?Z4(e,t):n===T.BIG?ls(e,t):n===T.IMG||n===T.WBR?ps(e,t):n===T.XMP?UD(e,t):n===T.SVG?VD(e,t):n===T.RTC?r9(e,t):n!==T.COL&&Ur(e,t);break;case 4:n===T.HTML?AD(e,t):n===T.BASE||n===T.LINK||n===T.META?Gn(e,t):n===T.BODY?kD(e,t):n===T.MAIN||n===T.MENU?Ki(e,t):n===T.FORM?MD(e,t):n===T.CODE||n===T.FONT?ls(e,t):n===T.NOBR?PD(e,t):n===T.AREA?ps(e,t):n===T.MATH?KD(e,t):n===T.MENU?WD(e,t):n!==T.HEAD&&Ur(e,t);break;case 5:n===T.STYLE||n===T.TITLE?Gn(e,t):n===T.ASIDE?Ki(e,t):n===T.SMALL?ls(e,t):n===T.TABLE?$D(e,t):n===T.EMBED?ps(e,t):n===T.INPUT?BD(e,t):n===T.PARAM||n===T.TRACK?e9(e,t):n===T.IMAGE?zD(e,t):n!==T.FRAME&&n!==T.TBODY&&n!==T.TFOOT&&n!==T.THEAD&&Ur(e,t);break;case 6:n===T.SCRIPT?Gn(e,t):n===T.CENTER||n===T.FIGURE||n===T.FOOTER||n===T.HEADER||n===T.HGROUP||n===T.DIALOG?Ki(e,t):n===T.BUTTON?LD(e,t):n===T.STRIKE||n===T.STRONG?ls(e,t):n===T.APPLET||n===T.OBJECT?J4(e,t):n===T.KEYGEN?ps(e,t):n===T.SOURCE?e9(e,t):n===T.IFRAME?jD(e,t):n===T.SELECT?GD(e,t):n===T.OPTION?n9(e,t):Ur(e,t);break;case 7:n===T.BGSOUND?Gn(e,t):n===T.DETAILS||n===T.ADDRESS||n===T.ARTICLE||n===T.SECTION||n===T.SUMMARY?Ki(e,t):n===T.LISTING?Z4(e,t):n===T.MARQUEE?J4(e,t):n===T.NOEMBED?t9(e,t):n!==T.CAPTION&&Ur(e,t);break;case 8:n===T.BASEFONT?Gn(e,t):n===T.FRAMESET?ND(e,t):n===T.FIELDSET?Ki(e,t):n===T.TEXTAREA?HD(e,t):n===T.TEMPLATE?Gn(e,t):n===T.NOSCRIPT?e.options.scriptingEnabled?t9(e,t):Ur(e,t):n===T.OPTGROUP?n9(e,t):n!==T.COLGROUP&&Ur(e,t);break;case 9:n===T.PLAINTEXT?RD(e,t):Ur(e,t);break;case 10:n===T.BLOCKQUOTE||n===T.FIGCAPTION?Ki(e,t):Ur(e,t);break;default:Ur(e,t)}}function YD(e){e.openElements.hasInScope(T.BODY)&&(e.insertionMode=bf)}function XD(e,t){e.openElements.hasInScope(T.BODY)&&(e.insertionMode=bf,e._processToken(t))}function La(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function QD(e){const t=e.openElements.tmplCount>0,n=e.formElement;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(T.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(T.FORM):e.openElements.remove(n))}function ZD(e){e.openElements.hasInButtonScope(T.P)||e._insertFakeElement(T.P),e._closePElement()}function JD(e){e.openElements.hasInListItemScope(T.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(T.LI),e.openElements.popUntilTagNamePopped(T.LI))}function eP(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function tP(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function i9(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function nP(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(T.BR),e.openElements.pop(),e.framesetOk=!1}function ci(e,t){const n=t.tagName;for(let r=e.openElements.stackTop;r>0;r--){const i=e.openElements.items[r];if(e.treeAdapter.getTagName(i)===n){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilElementPopped(i);break}if(e._isSpecialElement(i))break}}function vf(e,t){const n=t.tagName;switch(n.length){case 1:n===T.A||n===T.B||n===T.I||n===T.S||n===T.U?za(e,t):n===T.P?ZD(e):ci(e,t);break;case 2:n===T.DL||n===T.UL||n===T.OL?La(e,t):n===T.LI?JD(e):n===T.DD||n===T.DT?eP(e,t):n===T.H1||n===T.H2||n===T.H3||n===T.H4||n===T.H5||n===T.H6?tP(e):n===T.BR?nP(e):n===T.EM||n===T.TT?za(e,t):ci(e,t);break;case 3:n===T.BIG?za(e,t):n===T.DIR||n===T.DIV||n===T.NAV||n===T.PRE?La(e,t):ci(e,t);break;case 4:n===T.BODY?YD(e):n===T.HTML?XD(e,t):n===T.FORM?QD(e):n===T.CODE||n===T.FONT||n===T.NOBR?za(e,t):n===T.MAIN||n===T.MENU?La(e,t):ci(e,t);break;case 5:n===T.ASIDE?La(e,t):n===T.SMALL?za(e,t):ci(e,t);break;case 6:n===T.CENTER||n===T.FIGURE||n===T.FOOTER||n===T.HEADER||n===T.HGROUP||n===T.DIALOG?La(e,t):n===T.APPLET||n===T.OBJECT?i9(e,t):n===T.STRIKE||n===T.STRONG?za(e,t):ci(e,t);break;case 7:n===T.ADDRESS||n===T.ARTICLE||n===T.DETAILS||n===T.SECTION||n===T.SUMMARY||n===T.LISTING?La(e,t):n===T.MARQUEE?i9(e,t):ci(e,t);break;case 8:n===T.FIELDSET?La(e,t):n===T.TEMPLATE?Xo(e,t):ci(e,t);break;case 10:n===T.BLOCKQUOTE||n===T.FIGCAPTION?La(e,t):ci(e,t);break;default:ci(e,t)}}function Vi(e,t){e.tmplInsertionModeStackTop>-1?r7(e,t):e.stopped=!0}function rP(e,t){t.tagName===T.SCRIPT&&(e.pendingScript=e.openElements.current),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function iP(e,t){e._err(Qn.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e._processToken(t)}function Yi(e,t){const n=e.openElements.currentTagName;n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR?(e.pendingCharacterTokens=[],e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=Q8,e._processToken(t)):jr(e,t)}function aP(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,je.HTML),e.insertionMode=$c}function oP(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,je.HTML),e.insertionMode=v1}function sP(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(T.COLGROUP),e.insertionMode=v1,e._processToken(t)}function lP(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,je.HTML),e.insertionMode=Yr}function cP(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(T.TBODY),e.insertionMode=Yr,e._processToken(t)}function uP(e,t){e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode(),e._processToken(t))}function dP(e,t){const n=H.getTokenAttr(t,K8.TYPE);n&&n.toLowerCase()===V8?e._appendElement(t,je.HTML):jr(e,t),t.ackSelfClosing=!0}function hP(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,je.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function yf(e,t){const n=t.tagName;switch(n.length){case 2:n===T.TD||n===T.TH||n===T.TR?cP(e,t):jr(e,t);break;case 3:n===T.COL?sP(e,t):jr(e,t);break;case 4:n===T.FORM?hP(e,t):jr(e,t);break;case 5:n===T.TABLE?uP(e,t):n===T.STYLE?Gn(e,t):n===T.TBODY||n===T.TFOOT||n===T.THEAD?lP(e,t):n===T.INPUT?dP(e,t):jr(e,t);break;case 6:n===T.SCRIPT?Gn(e,t):jr(e,t);break;case 7:n===T.CAPTION?aP(e,t):jr(e,t);break;case 8:n===T.COLGROUP?oP(e,t):n===T.TEMPLATE?Gn(e,t):jr(e,t);break;default:jr(e,t)}}function Tf(e,t){const n=t.tagName;n===T.TABLE?e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode()):n===T.TEMPLATE?Xo(e,t):n!==T.BODY&&n!==T.CAPTION&&n!==T.COL&&n!==T.COLGROUP&&n!==T.HTML&&n!==T.TBODY&&n!==T.TD&&n!==T.TFOOT&&n!==T.TH&&n!==T.THEAD&&n!==T.TR&&jr(e,t)}function jr(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e._processTokenInBodyMode(t),e.fosterParentingEnabled=n}function fP(e,t){e.pendingCharacterTokens.push(t)}function mP(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function yl(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)jr(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}function pP(e,t){const n=t.tagName;n===T.CAPTION||n===T.COL||n===T.COLGROUP||n===T.TBODY||n===T.TD||n===T.TFOOT||n===T.TH||n===T.THEAD||n===T.TR?e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=nr,e._processToken(t)):Sr(e,t)}function gP(e,t){const n=t.tagName;n===T.CAPTION||n===T.TABLE?e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=nr,n===T.TABLE&&e._processToken(t)):n!==T.BODY&&n!==T.COL&&n!==T.COLGROUP&&n!==T.HTML&&n!==T.TBODY&&n!==T.TD&&n!==T.TFOOT&&n!==T.TH&&n!==T.THEAD&&n!==T.TR&&vf(e,t)}function bP(e,t){const n=t.tagName;n===T.HTML?Sr(e,t):n===T.COL?(e._appendElement(t,je.HTML),t.ackSelfClosing=!0):n===T.TEMPLATE?Gn(e,t):W0(e,t)}function vP(e,t){const n=t.tagName;n===T.COLGROUP?e.openElements.currentTagName===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=nr):n===T.TEMPLATE?Xo(e,t):n!==T.COL&&W0(e,t)}function W0(e,t){e.openElements.currentTagName===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=nr,e._processToken(t))}function yP(e,t){const n=t.tagName;n===T.TR?(e.openElements.clearBackToTableBodyContext(),e._insertElement(t,je.HTML),e.insertionMode=ma):n===T.TH||n===T.TD?(e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(T.TR),e.insertionMode=ma,e._processToken(t)):n===T.CAPTION||n===T.COL||n===T.COLGROUP||n===T.TBODY||n===T.TFOOT||n===T.THEAD?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=nr,e._processToken(t)):yf(e,t)}function TP(e,t){const n=t.tagName;n===T.TBODY||n===T.TFOOT||n===T.THEAD?e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=nr):n===T.TABLE?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=nr,e._processToken(t)):(n!==T.BODY&&n!==T.CAPTION&&n!==T.COL&&n!==T.COLGROUP||n!==T.HTML&&n!==T.TD&&n!==T.TH&&n!==T.TR)&&Tf(e,t)}function EP(e,t){const n=t.tagName;n===T.TH||n===T.TD?(e.openElements.clearBackToTableRowContext(),e._insertElement(t,je.HTML),e.insertionMode=Bc,e.activeFormattingElements.insertMarker()):n===T.CAPTION||n===T.COL||n===T.COLGROUP||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR?e.openElements.hasInTableScope(T.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Yr,e._processToken(t)):yf(e,t)}function _P(e,t){const n=t.tagName;n===T.TR?e.openElements.hasInTableScope(T.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Yr):n===T.TABLE?e.openElements.hasInTableScope(T.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Yr,e._processToken(t)):n===T.TBODY||n===T.TFOOT||n===T.THEAD?(e.openElements.hasInTableScope(n)||e.openElements.hasInTableScope(T.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Yr,e._processToken(t)):(n!==T.BODY&&n!==T.CAPTION&&n!==T.COL&&n!==T.COLGROUP||n!==T.HTML&&n!==T.TD&&n!==T.TH)&&Tf(e,t)}function xP(e,t){const n=t.tagName;n===T.CAPTION||n===T.COL||n===T.COLGROUP||n===T.TBODY||n===T.TD||n===T.TFOOT||n===T.TH||n===T.THEAD||n===T.TR?(e.openElements.hasInTableScope(T.TD)||e.openElements.hasInTableScope(T.TH))&&(e._closeTableCell(),e._processToken(t)):Sr(e,t)}function SP(e,t){const n=t.tagName;n===T.TD||n===T.TH?e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=ma):n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR?e.openElements.hasInTableScope(n)&&(e._closeTableCell(),e._processToken(t)):n!==T.BODY&&n!==T.CAPTION&&n!==T.COL&&n!==T.COLGROUP&&n!==T.HTML&&vf(e,t)}function t7(e,t){const n=t.tagName;n===T.HTML?Sr(e,t):n===T.OPTION?(e.openElements.currentTagName===T.OPTION&&e.openElements.pop(),e._insertElement(t,je.HTML)):n===T.OPTGROUP?(e.openElements.currentTagName===T.OPTION&&e.openElements.pop(),e.openElements.currentTagName===T.OPTGROUP&&e.openElements.pop(),e._insertElement(t,je.HTML)):n===T.INPUT||n===T.KEYGEN||n===T.TEXTAREA||n===T.SELECT?e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),n!==T.SELECT&&e._processToken(t)):(n===T.SCRIPT||n===T.TEMPLATE)&&Gn(e,t)}function n7(e,t){const n=t.tagName;if(n===T.OPTGROUP){const r=e.openElements.items[e.openElements.stackTop-1],i=r&&e.treeAdapter.getTagName(r);e.openElements.currentTagName===T.OPTION&&i===T.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagName===T.OPTGROUP&&e.openElements.pop()}else n===T.OPTION?e.openElements.currentTagName===T.OPTION&&e.openElements.pop():n===T.SELECT&&e.openElements.hasInSelectScope(T.SELECT)?(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode()):n===T.TEMPLATE&&Xo(e,t)}function wP(e,t){const n=t.tagName;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e._processToken(t)):t7(e,t)}function CP(e,t){const n=t.tagName;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e._processToken(t)):n7(e,t)}function AP(e,t){const n=t.tagName;if(n===T.BASE||n===T.BASEFONT||n===T.BGSOUND||n===T.LINK||n===T.META||n===T.NOFRAMES||n===T.SCRIPT||n===T.STYLE||n===T.TEMPLATE||n===T.TITLE)Gn(e,t);else{const r=lD[n]||Ri;e._popTmplInsertionMode(),e._pushTmplInsertionMode(r),e.insertionMode=r,e._processToken(t)}}function kP(e,t){t.tagName===T.TEMPLATE&&Xo(e,t)}function r7(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode(),e._processToken(t)):e.stopped=!0}function NP(e,t){t.tagName===T.HTML?Sr(e,t):K0(e,t)}function OP(e,t){t.tagName===T.HTML?e.fragmentContext||(e.insertionMode=J8):K0(e,t)}function K0(e,t){e.insertionMode=Ri,e._processToken(t)}function MP(e,t){const n=t.tagName;n===T.HTML?Sr(e,t):n===T.FRAMESET?e._insertElement(t,je.HTML):n===T.FRAME?(e._appendElement(t,je.HTML),t.ackSelfClosing=!0):n===T.NOFRAMES&&Gn(e,t)}function IP(e,t){t.tagName===T.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagName!==T.FRAMESET&&(e.insertionMode=Z8))}function RP(e,t){const n=t.tagName;n===T.HTML?Sr(e,t):n===T.NOFRAMES&&Gn(e,t)}function LP(e,t){t.tagName===T.HTML&&(e.insertionMode=e7)}function DP(e,t){t.tagName===T.HTML?Sr(e,t):_0(e,t)}function _0(e,t){e.insertionMode=Ri,e._processToken(t)}function PP(e,t){const n=t.tagName;n===T.HTML?Sr(e,t):n===T.NOFRAMES&&Gn(e,t)}function $P(e,t){t.chars=rD.REPLACEMENT_CHARACTER,e._insertCharacters(t)}function BP(e,t){e._insertCharacters(t),e.framesetOk=!1}function FP(e,t){if(Oi.causesExit(t)&&!e.fragmentContext){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==je.HTML&&!e._isIntegrationPoint(e.openElements.current);)e.openElements.pop();e._processToken(t)}else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===je.MATHML?Oi.adjustTokenMathMLAttrs(t):r===je.SVG&&(Oi.adjustTokenSVGTagName(t),Oi.adjustTokenSVGAttrs(t)),Oi.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function zP(e,t){for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===je.HTML){e._processToken(t);break}if(e.treeAdapter.getTagName(r).toLowerCase()===t.tagName){e.openElements.popUntilElementPopped(r);break}}}const i7=a7("start"),HP=a7("end");function a7(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};return{line:r.line||null,column:r.column||null,offset:r.offset>-1?r.offset:null}}}const o7=function(e,t,n,r){typeof t=="function"&&typeof n!="function"&&(r=n,n=t,t=null),w8(e,t,i,r);function i(a,o){const s=o[o.length-1];return n(a,s?s.children.indexOf(a):null,s)}};class y1{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}y1.prototype.property={};y1.prototype.normal={};y1.prototype.space=null;function s7(e,t){const n={},r={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new y1(n,r,t)}function Jl(e){return e.toLowerCase()}class ni{constructor(t,n){this.property=t,this.attribute=n}}ni.prototype.space=null;ni.prototype.boolean=!1;ni.prototype.booleanish=!1;ni.prototype.overloadedBoolean=!1;ni.prototype.number=!1;ni.prototype.commaSeparated=!1;ni.prototype.spaceSeparated=!1;ni.prototype.commaOrSpaceSeparated=!1;ni.prototype.mustUseProperty=!1;ni.prototype.defined=!1;let UP=0;const bt=Qo(),Mn=Qo(),l7=Qo(),Te=Qo(),ln=Qo(),Ss=Qo(),Ir=Qo();function Qo(){return 2**++UP}const Wd=Object.freeze(Object.defineProperty({__proto__:null,boolean:bt,booleanish:Mn,overloadedBoolean:l7,number:Te,spaceSeparated:ln,commaSeparated:Ss,commaOrSpaceSeparated:Ir},Symbol.toStringTag,{value:"Module"})),Wu=Object.keys(Wd);class Ef extends ni{constructor(t,n,r,i){let a=-1;if(super(t,n),a9(this,"space",i),typeof r=="number")for(;++a<Wu.length;){const o=Wu[a];a9(this,Wu[a],(r&Wd[o])===Wd[o])}}}Ef.prototype.defined=!0;function a9(e,t,n){n&&(e[t]=n)}const jP={}.hasOwnProperty;function Xs(e){const t={},n={};let r;for(r in e.properties)if(jP.call(e.properties,r)){const i=e.properties[r],a=new Ef(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[Jl(r)]=r,n[Jl(a.attribute)]=r}return new y1(t,n,e.space)}const c7=Xs({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),u7=Xs({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function d7(e,t){return t in e?e[t]:t}function h7(e,t){return d7(e,t.toLowerCase())}const f7=Xs({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:h7,properties:{xmlns:null,xmlnsXLink:null}}),m7=Xs({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Mn,ariaAutoComplete:null,ariaBusy:Mn,ariaChecked:Mn,ariaColCount:Te,ariaColIndex:Te,ariaColSpan:Te,ariaControls:ln,ariaCurrent:null,ariaDescribedBy:ln,ariaDetails:null,ariaDisabled:Mn,ariaDropEffect:ln,ariaErrorMessage:null,ariaExpanded:Mn,ariaFlowTo:ln,ariaGrabbed:Mn,ariaHasPopup:null,ariaHidden:Mn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ln,ariaLevel:Te,ariaLive:null,ariaModal:Mn,ariaMultiLine:Mn,ariaMultiSelectable:Mn,ariaOrientation:null,ariaOwns:ln,ariaPlaceholder:null,ariaPosInSet:Te,ariaPressed:Mn,ariaReadOnly:Mn,ariaRelevant:null,ariaRequired:Mn,ariaRoleDescription:ln,ariaRowCount:Te,ariaRowIndex:Te,ariaRowSpan:Te,ariaSelected:Mn,ariaSetSize:Te,ariaSort:null,ariaValueMax:Te,ariaValueMin:Te,ariaValueNow:Te,ariaValueText:null,role:null}}),GP=Xs({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:h7,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ss,acceptCharset:ln,accessKey:ln,action:null,allow:null,allowFullScreen:bt,allowPaymentRequest:bt,allowUserMedia:bt,alt:null,as:null,async:bt,autoCapitalize:null,autoComplete:ln,autoFocus:bt,autoPlay:bt,capture:bt,charSet:null,checked:bt,cite:null,className:ln,cols:Te,colSpan:null,content:null,contentEditable:Mn,controls:bt,controlsList:ln,coords:Te|Ss,crossOrigin:null,data:null,dateTime:null,decoding:null,default:bt,defer:bt,dir:null,dirName:null,disabled:bt,download:l7,draggable:Mn,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:bt,formTarget:null,headers:ln,height:Te,hidden:bt,high:Te,href:null,hrefLang:null,htmlFor:ln,httpEquiv:ln,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:bt,itemId:null,itemProp:ln,itemRef:ln,itemScope:bt,itemType:ln,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:bt,low:Te,manifest:null,max:null,maxLength:Te,media:null,method:null,min:null,minLength:Te,multiple:bt,muted:bt,name:null,nonce:null,noModule:bt,noValidate:bt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:bt,optimum:Te,pattern:null,ping:ln,placeholder:null,playsInline:bt,poster:null,preload:null,readOnly:bt,referrerPolicy:null,rel:ln,required:bt,reversed:bt,rows:Te,rowSpan:Te,sandbox:ln,scope:null,scoped:bt,seamless:bt,selected:bt,shape:null,size:Te,sizes:null,slot:null,span:Te,spellCheck:Mn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Te,step:null,style:null,tabIndex:Te,target:null,title:null,translate:null,type:null,typeMustMatch:bt,useMap:null,value:Mn,width:Te,wrap:null,align:null,aLink:null,archive:ln,axis:null,background:null,bgColor:null,border:Te,borderColor:null,bottomMargin:Te,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:bt,declare:bt,event:null,face:null,frame:null,frameBorder:null,hSpace:Te,leftMargin:Te,link:null,longDesc:null,lowSrc:null,marginHeight:Te,marginWidth:Te,noResize:bt,noHref:bt,noShade:bt,noWrap:bt,object:null,profile:null,prompt:null,rev:null,rightMargin:Te,rules:null,scheme:null,scrolling:Mn,standby:null,summary:null,text:null,topMargin:Te,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Te,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:bt,disableRemotePlayback:bt,prefix:null,property:null,results:Te,security:null,unselectable:null}}),qP=Xs({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:d7,properties:{about:Ir,accentHeight:Te,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Te,amplitude:Te,arabicForm:null,ascent:Te,attributeName:null,attributeType:null,azimuth:Te,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Te,by:null,calcMode:null,capHeight:Te,className:ln,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Te,diffuseConstant:Te,direction:null,display:null,dur:null,divisor:Te,dominantBaseline:null,download:bt,dx:null,dy:null,edgeMode:null,editable:null,elevation:Te,enableBackground:null,end:null,event:null,exponent:Te,externalResourcesRequired:null,fill:null,fillOpacity:Te,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Ss,g2:Ss,glyphName:Ss,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Te,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Te,horizOriginX:Te,horizOriginY:Te,id:null,ideographic:Te,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Te,k:Te,k1:Te,k2:Te,k3:Te,k4:Te,kernelMatrix:Ir,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Te,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Te,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Te,overlineThickness:Te,paintOrder:null,panose1:null,path:null,pathLength:Te,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ln,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Te,pointsAtY:Te,pointsAtZ:Te,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ir,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ir,rev:Ir,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ir,requiredFeatures:Ir,requiredFonts:Ir,requiredFormats:Ir,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Te,specularExponent:Te,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Te,strikethroughThickness:Te,string:null,stroke:null,strokeDashArray:Ir,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Te,strokeOpacity:Te,strokeWidth:null,style:null,surfaceScale:Te,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ir,tabIndex:Te,tableValues:null,target:null,targetX:Te,targetY:Te,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ir,to:null,transform:null,u1:null,u2:null,underlinePosition:Te,underlineThickness:Te,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Te,values:null,vAlphabetic:Te,vMathematical:Te,vectorEffect:null,vHanging:Te,vIdeographic:Te,version:null,vertAdvY:Te,vertOriginX:Te,vertOriginY:Te,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Te,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),WP=/^data[-\w.:]+$/i,o9=/-[a-z]/g,KP=/[A-Z]/g;function zc(e,t){const n=Jl(t);let r=t,i=ni;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&WP.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(o9,YP);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!o9.test(a)){let o=a.replace(KP,VP);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=Ef}return new i(r,t)}function VP(e){return"-"+e.toLowerCase()}function YP(e){return e.charAt(1).toUpperCase()}const XP={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},T1=s7([u7,c7,f7,m7,GP],"html"),Zo=s7([u7,c7,f7,m7,qP],"svg");var s9=/[#.]/g;const QP=function(e,t="div"){for(var n=e||"",r={},i=0,a,o,s;i<n.length;)s9.lastIndex=i,s=s9.exec(n),a=n.slice(i,s?s.index:n.length),a&&(o?o==="#"?r.id=a:Array.isArray(r.className)?r.className.push(a):r.className=[a]:t=a,i+=a.length),s&&(o=s[0],i++);return{type:"element",tagName:t,properties:r,children:[]}};function l9(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function ZP(e){return e.join(" ").trim()}function c9(e){for(var t=[],n=String(e||""),r=n.indexOf(","),i=0,a,o;!a;)r===-1&&(r=n.length,a=!0),o=n.slice(i,r).trim(),(o||!a)&&t.push(o),i=r+1,r=n.indexOf(",",i);return t}function JP(e,t){var n=t||{};return e[e.length-1]===""&&(e=e.concat("")),e.join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const e$=new Set(["menu","submit","reset","button"]),Kd={}.hasOwnProperty;function p7(e,t,n){const r=n&&i$(n);return function(a,o,...s){let l=-1,c;if(a==null)c={type:"root",children:[]},s.unshift(o);else if(c=QP(a,t),c.tagName=c.tagName.toLowerCase(),r&&Kd.call(r,c.tagName)&&(c.tagName=r[c.tagName]),t$(o,c.tagName)){let u;for(u in o)Kd.call(o,u)&&n$(e,c.properties,u,o[u])}else s.unshift(o);for(;++l<s.length;)Vd(c.children,s[l]);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}}function t$(e,t){return e==null||typeof e!="object"||Array.isArray(e)?!1:t==="input"||!e.type||typeof e.type!="string"?!0:"children"in e&&Array.isArray(e.children)?!1:t==="button"?e$.has(e.type.toLowerCase()):!("value"in e)}function n$(e,t,n,r){const i=zc(e,n);let a=-1,o;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;o=r}else typeof r=="boolean"?o=r:typeof r=="string"?i.spaceSeparated?o=l9(r):i.commaSeparated?o=c9(r):i.commaOrSpaceSeparated?o=l9(c9(r).join(" ")):o=u9(i,i.property,r):Array.isArray(r)?o=r.concat():o=i.property==="style"?r$(r):String(r);if(Array.isArray(o)){const s=[];for(;++a<o.length;)s[a]=u9(i,i.property,o[a]);o=s}i.property==="className"&&Array.isArray(t.className)&&(o=t.className.concat(o)),t[i.property]=o}}function Vd(e,t){let n=-1;if(t!=null)if(typeof t=="string"||typeof t=="number")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)Vd(e,t[n]);else if(typeof t=="object"&&"type"in t)t.type==="root"?Vd(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function u9(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||Jl(n)===Jl(t)))return!0}return n}function r$(e){const t=[];let n;for(n in e)Kd.call(e,n)&&t.push([n,e[n]].join(": "));return t.join("; ")}function i$(e){const t={};let n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}const g7=p7(T1,"div"),a$=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],b7=p7(Zo,"g",a$);function o$(e){for(var t=String(e),n=[],r=/\r?\n|\r/g;r.test(t);)n.push(r.lastIndex);return n.push(t.length+1),{toPoint:i,toOffset:a};function i(o){var s=-1;if(o>-1&&o<n[n.length-1]){for(;++s<n.length;)if(n[s]>o)return{line:s+1,column:o-(n[s-1]||0)+1,offset:o}}return{line:void 0,column:void 0,offset:void 0}}function a(o){var s=o&&o.line,l=o&&o.column,c;return typeof s=="number"&&typeof l=="number"&&!Number.isNaN(s)&&!Number.isNaN(l)&&s-1 in n&&(c=(n[s-2]||0)+l-1||0),c>-1&&c<n[n.length-1]?c:-1}}const Li={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},v7={}.hasOwnProperty,d9={"#document":h9,"#document-fragment":h9,"#text":u$,"#comment":d$,"#documentType":c$};function s$(e,t={}){let n,r;return m$(t)?(r=t,n={}):(r=t.file,n=t),_f({schema:n.space==="svg"?Zo:T1,file:r,verbose:n.verbose,location:!1},e)}function _f(e,t){const n=e.schema,r=v7.call(d9,t.nodeName)?d9[t.nodeName]:h$;let i;"tagName"in t&&(e.schema=t.namespaceURI===Li.svg?Zo:T1),"childNodes"in t&&(i=l$(e,t.childNodes));const a=r(e,t,i);if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const o=f$(e,a,t.sourceCodeLocation);o&&(e.location=!0,a.position=o)}return e.schema=n,a}function l$(e,t){let n=-1;const r=[];for(;++n<t.length;)r[n]=_f(e,t[n]);return r}function h9(e,t,n){const r={type:"root",children:n,data:{quirksMode:t.mode==="quirks"||t.mode==="limited-quirks"}};if(e.file&&e.location){const i=String(e.file),a=o$(i);r.position={start:a.toPoint(0),end:a.toPoint(i.length)}}return r}function c$(){return{type:"doctype"}}function u$(e,t){return{type:"text",value:t.value}}function d$(e,t){return{type:"comment",value:t.data}}function h$(e,t,n){const r=e.schema.space==="svg"?b7:g7;let i=-1;const a={};for(;++i<t.attrs.length;){const s=t.attrs[i];a[(s.prefix?s.prefix+":":"")+s.name]=s.value}const o=r(t.tagName,a,n);if(o.tagName==="template"&&"content"in t){const s=t.sourceCodeLocation,l=s&&s.startTag&&vs(s.startTag),c=s&&s.endTag&&vs(s.endTag),u=_f(e,t.content);l&&c&&e.file&&(u.position={start:l.end,end:c.start}),o.content=u}return o}function f$(e,t,n){const r=vs(n);if(t.type==="element"){const i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){const a={};let o;for(o in n.attrs)v7.call(n.attrs,o)&&(a[zc(e.schema,o).property]=vs(n.attrs[o]));t.data={position:{opening:vs(n.startTag),closing:n.endTag?vs(n.endTag):null,properties:a}}}}return r}function vs(e){const t=f9({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=f9({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:null}function f9(e){return e.line&&e.column?e:null}function m$(e){return"messages"in e}var m9=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,p$=/\n/g,g$=/^\s*/,b$=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,v$=/^:\s*/,y$=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,T$=/^[;\s]*/,E$=/^\s+|\s+$/g,_$=` `,p9="/",g9="*",Lo="",x$="comment",S$="declaration",w$=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(m){var p=m.match(p$);p&&(n+=p.length);var b=m.lastIndexOf(_$);r=~b?m.length-b:r+m.length}function a(){var m={line:n,column:r};return function(p){return p.position=new o(m),c(),p}}function o(m){this.start=m,this.end={line:n,column:r},this.source=t.source}o.prototype.content=e;function s(m){var p=new Error(t.source+":"+n+":"+r+": "+m);if(p.reason=m,p.filename=t.source,p.line=n,p.column=r,p.source=e,!t.silent)throw p}function l(m){var p=m.exec(e);if(!!p){var b=p[0];return i(b),e=e.slice(b.length),p}}function c(){l(g$)}function u(m){var p;for(m=m||[];p=d();)p!==!1&&m.push(p);return m}function d(){var m=a();if(!(p9!=e.charAt(0)||g9!=e.charAt(1))){for(var p=2;Lo!=e.charAt(p)&&(g9!=e.charAt(p)||p9!=e.charAt(p+1));)++p;if(p+=2,Lo===e.charAt(p-1))return s("End of comment missing");var b=e.slice(2,p-2);return r+=2,i(b),e=e.slice(p),r+=2,m({type:x$,comment:b})}}function f(){var m=a(),p=l(b$);if(!!p){if(d(),!l(v$))return s("property missing ':'");var b=l(y$),v=m({type:S$,property:b9(p[0].replace(m9,Lo)),value:b?b9(b[0].replace(m9,Lo)):Lo});return l(T$),v}}function h(){var m=[];u(m);for(var p;p=f();)p!==!1&&(m.push(p),u(m));return m}return c(),h()};function b9(e){return e?e.replace(E$,Lo):Lo}var C$=w$;function A$(e,t){var n=null;if(!e||typeof e!="string")return n;for(var r,i=C$(e),a=typeof t=="function",o,s,l=0,c=i.length;l<c;l++)r=i[l],o=r.property,s=r.value,a?t(o,s,r):s&&(n||(n={}),n[o]=s);return n}var k$=A$;const N$=Li,O$=XP,M$={}.hasOwnProperty,I$=Vo("root"),Yd=Vo("element"),R$=Vo("text");function L$(e,t,n){if(typeof e!="function")throw new TypeError("h is not a function");const r=P$(e),i=F$(e),a=B$(e);let o,s;if(typeof n=="string"||typeof n=="boolean"?(o=n,n={}):(n||(n={}),o=n.prefix),I$(t))s=t.children.length===1&&Yd(t.children[0])?t.children[0]:{type:"element",tagName:"div",properties:{},children:t.children};else if(Yd(t))s=t;else throw new Error("Expected root or element, not `"+(t&&t.type||t)+"`");return y7(e,s,{schema:n.space==="svg"?Zo:T1,prefix:o==null?r||i||a?"h-":null:typeof o=="string"?o:o?"h-":null,key:0,react:r,vue:i,vdom:a,hyperscript:$$(e)})}function y7(e,t,n){const r=n.schema;let i=r,a=t.tagName;const o={},s=[];let l=-1,c;r.space==="html"&&a.toLowerCase()==="svg"&&(i=Zo,n.schema=i);for(c in t.properties)t.properties&&M$.call(t.properties,c)&&D$(o,c,t.properties[c],n,a);if(n.vdom&&(i.space==="html"?a=a.toUpperCase():i.space&&(o.namespace=N$[i.space])),n.prefix&&(n.key++,o.key=n.prefix+n.key),t.children)for(;++l<t.children.length;){const u=t.children[l];Yd(u)?s.push(y7(e,u,n)):R$(u)&&s.push(u.value)}return n.schema=r,s.length>0?e.call(t,a,o,s):e.call(t,a,o)}function D$(e,t,n,r,i){const a=zc(r.schema,t);let o;n==null||typeof n=="number"&&Number.isNaN(n)||n===!1&&(r.vue||r.vdom||r.hyperscript)||!n&&a.boolean&&(r.vue||r.vdom||r.hyperscript)||(Array.isArray(n)&&(n=a.commaSeparated?JP(n):ZP(n)),a.boolean&&r.hyperscript&&(n=""),a.property==="style"&&typeof n=="string"&&(r.react||r.vue||r.vdom)&&(n=z$(n,i)),r.vue?a.property!=="style"&&(o="attrs"):a.mustUseProperty||(r.vdom?a.property!=="style"&&(o="attributes"):r.hyperscript&&(o="attrs")),o?e[o]=Object.assign(e[o]||{},{[a.attribute]:n}):a.space&&r.react?e[O$[a.property]||a.property]=n:e[a.attribute]=n)}function P$(e){const t=e("div",{});return Boolean(t&&("_owner"in t||"_store"in t)&&(t.key===void 0||t.key===null))}function $$(e){return"context"in e&&"cleanup"in e}function B$(e){return e("div",{}).type==="VirtualNode"}function F$(e){const t=e("div",{});return Boolean(t&&t.context&&t.context._isVue)}function z$(e,t){const n={};try{k$(e,(r,i)=>{r.slice(0,4)==="-ms-"&&(r="ms-"+r.slice(4)),n[r.replace(/-([a-z])/g,(a,o)=>o.toUpperCase())]=i})}catch(r){throw r.message=t+"[style]"+r.message.slice(9),r}return n}var v9={}.hasOwnProperty;function T7(e,t){var n=t||{};function r(i){var a=r.invalid,o=r.handlers;if(i&&v9.call(i,e)&&(a=v9.call(o,i[e])?o[i[e]]:r.unknown),a)return a.apply(this,arguments)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}var H$={}.hasOwnProperty,E7=T7("type",{handlers:{root:j$,element:V$,text:W$,comment:K$,doctype:q$}});function U$(e,t){return E7(e,t==="svg"?Zo:T1)}function j$(e,t){var n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=xf(e.children,n,t),Qs(e,n)}function G$(e,t){var n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=xf(e.children,n,t),Qs(e,n)}function q$(e){return Qs(e,{nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:void 0})}function W$(e){return Qs(e,{nodeName:"#text",value:e.value,parentNode:void 0})}function K$(e){return Qs(e,{nodeName:"#comment",data:e.value,parentNode:void 0})}function V$(e,t){var n=t.space;return L$(r,Object.assign({},e,{children:[]}),{space:n});function r(i,a){var o=[],s,l,c,u,d;for(c in a)!H$.call(a,c)||a[c]===!1||(s=zc(t,c),!(s.boolean&&!a[c])&&(l={name:c,value:a[c]===!0?"":String(a[c])},s.space&&s.space!=="html"&&s.space!=="svg"&&(u=c.indexOf(":"),u<0?l.prefix="":(l.name=c.slice(u+1),l.prefix=c.slice(0,u)),l.namespace=Li[s.space]),o.push(l)));return t.space==="html"&&e.tagName==="svg"&&(t=Zo),d=Qs(e,{nodeName:i,tagName:i,attrs:o,namespaceURI:Li[t.space],childNodes:[],parentNode:void 0}),d.childNodes=xf(e.children,d,t),i==="template"&&(d.content=G$(e.content,t)),d}}function xf(e,t,n){var r=-1,i=[],a;if(e)for(;++r<e.length;)a=E7(e[r],n),a.parentNode=t,i.push(a);return i}function Qs(e,t){var n=e.position;return n&&n.start&&n.end&&(t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset}),t}const Y$=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"],X$="IN_TEMPLATE_MODE",Q$="DATA_STATE",Z$="CHARACTER_TOKEN",J$="START_TAG_TOKEN",eB="END_TAG_TOKEN",tB="COMMENT_TOKEN",nB="DOCTYPE_TOKEN",rB={sourceCodeLocationInfo:!0,scriptingEnabled:!1},_7=function(e,t,n){let r=-1;const i=new uD(rB),a=T7("type",{handlers:{root:p,element:b,text:v,comment:_,doctype:x,raw:D},unknown:sB});let o,s,l,c,u;if(cB(t)&&(n=t,t=void 0),n&&n.passThrough)for(;++r<n.passThrough.length;)a.handlers[n.passThrough[r]]=I;const d=s$(lB(e)?h():f(),t);if(o&&o7(d,"comment",(w,R,L)=>{const Q=w;if(Q.value.stitch&&L!==null&&R!==null)return L.children[R]=Q.value.stitch,R}),e.type!=="root"&&d.type==="root"&&d.children.length===1)return d.children[0];return d;function f(){const w={nodeName:"template",tagName:"template",attrs:[],namespaceURI:Li.html,childNodes:[]},R={nodeName:"documentmock",tagName:"documentmock",attrs:[],namespaceURI:Li.html,childNodes:[]},L={nodeName:"#document-fragment",childNodes:[]};if(i._bootstrap(R,w),i._pushTmplInsertionMode(X$),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),s=i.tokenizer,!s)throw new Error("Expected `tokenizer`");return l=s.preprocessor,u=s.__mixins[0],c=u.posTracker,a(e),C(),i._adoptNodes(R.childNodes[0],L),L}function h(){const w=i.treeAdapter.createDocument();if(i._bootstrap(w,void 0),s=i.tokenizer,!s)throw new Error("Expected `tokenizer`");return l=s.preprocessor,u=s.__mixins[0],c=u.posTracker,a(e),C(),w}function m(w){let R=-1;if(w)for(;++R<w.length;)a(w[R])}function p(w){m(w.children)}function b(w){C(),i._processToken(iB(w),Li.html),m(w.children),Y$.includes(w.tagName)||(C(),i._processToken(oB(w)))}function v(w){C(),i._processToken({type:Z$,chars:w.value,location:ys(w)})}function x(w){C(),i._processToken({type:nB,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:ys(w)})}function _(w){C(),i._processToken({type:tB,data:w.value,location:ys(w)})}function D(w){const R=i7(w),L=R.line||1,Q=R.column||1,K=R.offset||0;if(!l)throw new Error("Expected `preprocessor`");if(!s)throw new Error("Expected `tokenizer`");if(!c)throw new Error("Expected `posTracker`");if(!u)throw new Error("Expected `locationTracker`");l.html=void 0,l.pos=-1,l.lastGapPos=-1,l.lastCharPos=-1,l.gapStack=[],l.skipNextNewLine=!1,l.lastChunkWritten=!1,l.endOfChunkHit=!1,c.isEol=!1,c.lineStartPos=-Q+1,c.droppedBufferSize=K,c.offset=0,c.col=1,c.line=L,u.currentAttrLocation=void 0,u.ctLoc=ys(w),s.write(w.value),i._runParsingLoop(null),(s.state==="NAMED_CHARACTER_REFERENCE_STATE"||s.state==="NUMERIC_CHARACTER_REFERENCE_END_STATE")&&(l.lastChunkWritten=!0,s[s.state](s._consume()))}function I(w){o=!0;let R;"children"in w?R={...w,children:_7({type:"root",children:w.children},t,n).children}:R={...w},_({type:"comment",value:{stitch:R}})}function C(){if(!s)throw new Error("Expected `tokenizer`");if(!c)throw new Error("Expected `posTracker`");const w=s.currentCharacterToken;w&&(w.location.endLine=c.line,w.location.endCol=c.col+1,w.location.endOffset=c.offset+1,i._processToken(w)),s.tokenQueue=[],s.state=Q$,s.returnState="",s.charRefCode=-1,s.tempBuff=[],s.lastStartTagName="",s.consumedAfterSnapshot=-1,s.active=!1,s.currentCharacterToken=void 0,s.currentToken=void 0,s.currentAttr=void 0}};function iB(e){const t=Object.assign(ys(e));return t.startTag=Object.assign({},t),{type:J$,tagName:e.tagName,selfClosing:!1,attrs:aB(e),location:t}}function aB(e){return U$({tagName:e.tagName,type:"element",properties:e.properties,children:[]}).attrs}function oB(e){const t=Object.assign(ys(e));return t.startTag=Object.assign({},t),{type:eB,tagName:e.tagName,attrs:[],location:t}}function sB(e){throw new Error("Cannot compile `"+e.type+"` node")}function lB(e){const t=e.type==="root"?e.children[0]:e;return Boolean(t&&(t.type==="doctype"||t.type==="element"&&t.tagName==="html"))}function ys(e){const t=i7(e),n=HP(e);return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function cB(e){return Boolean(e&&!("message"in e&&"messages"in e))}function uB(e={}){return(t,n)=>_7(t,n,e)}const dB={tokenize:hB,concrete:!0},y9={tokenize:fB,partial:!0};function hB(e,t,n){const r=this,i=r.events[r.events.length-1],a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0;let o=0;return s;function s(x){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),l(x)}function l(x){return x===36?(e.consume(x),o++,l):o<2?n(x):(e.exit("mathFlowFenceSequence"),pi(e,c,"whitespace")(x))}function c(x){return x===null||Xn(x)?d(x):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),u(x))}function u(x){return x===null||Xn(x)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),d(x)):x===36?n(x):(e.consume(x),u)}function d(x){return e.exit("mathFlowFence"),r.interrupt?t(x):e.attempt(y9,f,b)(x)}function f(x){return e.attempt({tokenize:v,partial:!0},b,h)(x)}function h(x){return(a?pi(e,m,"linePrefix",a+1):m)(x)}function m(x){return x===null?b(x):Xn(x)?e.attempt(y9,f,b)(x):(e.enter("mathFlowValue"),p(x))}function p(x){return x===null||Xn(x)?(e.exit("mathFlowValue"),m(x)):(e.consume(x),p)}function b(x){return e.exit("mathFlow"),t(x)}function v(x,_,D){let I=0;return pi(x,C,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function C(L){return x.enter("mathFlowFence"),x.enter("mathFlowFenceSequence"),w(L)}function w(L){return L===36?(I++,x.consume(L),w):I<o?D(L):(x.exit("mathFlowFenceSequence"),pi(x,R,"whitespace")(L))}function R(L){return L===null||Xn(L)?(x.exit("mathFlowFence"),_(L)):D(L)}}}function fB(e,t,n){const r=this;return i;function i(o){return o===null?t(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function mB(e){let n=(e||{}).singleDollarTextMath;return n==null&&(n=!0),{tokenize:r,resolve:pB,previous:gB};function r(i,a,o){let s=0,l,c;return u;function u(p){return i.enter("mathText"),i.enter("mathTextSequence"),d(p)}function d(p){return p===36?(i.consume(p),s++,d):s<2&&!n?o(p):(i.exit("mathTextSequence"),f(p))}function f(p){return p===null?o(p):p===36?(c=i.enter("mathTextSequence"),l=0,m(p)):p===32?(i.enter("space"),i.consume(p),i.exit("space"),f):Xn(p)?(i.enter("lineEnding"),i.consume(p),i.exit("lineEnding"),f):(i.enter("mathTextData"),h(p))}function h(p){return p===null||p===32||p===36||Xn(p)?(i.exit("mathTextData"),f(p)):(i.consume(p),h)}function m(p){return p===36?(i.consume(p),l++,m):l===s?(i.exit("mathTextSequence"),i.exit("mathText"),a(p)):(c.type="mathTextData",h(p))}}}function pB(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[n][1].type="mathTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="mathTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function gB(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function bB(e){return{flow:{[36]:dB},text:{[36]:mB(e)}}}class Rr{constructor(t,n,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=n,this.end=r}static range(t,n){return n?!t||!t.loc||!n.loc||t.loc.lexer!==n.loc.lexer?null:new Rr(t.loc.lexer,t.loc.start,n.loc.end):t&&t.loc}}class Di{constructor(t,n){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=n}range(t,n){return new Di(n,Rr.range(this,t))}}class ve{constructor(t,n){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var r="KaTeX parse error: "+t,i,a,o=n&&n.loc;if(o&&o.start<=o.end){var s=o.lexer.input;i=o.start,a=o.end,i===s.length?r+=" at end of input: ":r+=" at position "+(i+1)+": ";var l=s.slice(i,a).replace(/[^]/g,"$&\u0332"),c;i>15?c="\u2026"+s.slice(i-15,i):c=s.slice(0,i);var u;a+15<s.length?u=s.slice(a,a+15)+"\u2026":u=s.slice(a),r+=c+l+u}var d=new Error(r);return d.name="ParseError",d.__proto__=ve.prototype,d.position=i,i!=null&&a!=null&&(d.length=a-i),d.rawMessage=t,d}}ve.prototype.__proto__=Error.prototype;var vB=function(t,n){return t.indexOf(n)!==-1},yB=function(t,n){return t===void 0?n:t},TB=/([A-Z])/g,EB=function(t){return t.replace(TB,"-$1").toLowerCase()},_B={"&":"&",">":">","<":"<",'"':""","'":"'"},xB=/[&><"']/g;function SB(e){return String(e).replace(xB,t=>_B[t])}var x7=function e(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?e(t.body[0]):t:t.type==="font"?e(t.body):t},wB=function(t){var n=x7(t);return n.type==="mathord"||n.type==="textord"||n.type==="atom"},CB=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},AB=function(t){var n=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(t);return n!=null?n[1]:"_relative"},it={contains:vB,deflt:yB,escape:SB,hyphenate:EB,getBaseElem:x7,isCharacterBox:wB,protocolFromUrl:AB},x0={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function kB(e){if(e.default)return e.default;var t=e.type,n=Array.isArray(t)?t[0]:t;if(typeof n!="string")return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class Sf{constructor(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var n in x0)if(x0.hasOwnProperty(n)){var r=x0[n];this[n]=t[n]!==void 0?r.processor?r.processor(t[n]):t[n]:kB(r)}}reportNonstrict(t,n,r){var i=this.strict;if(typeof i=="function"&&(i=i(t,n,r)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new ve("LaTeX-incompatible input and strict mode is set to 'error': "+(n+" ["+t+"]"),r);i==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+n+" ["+t+"]"))}}useStrictBehavior(t,n,r){var i=this.strict;if(typeof i=="function")try{i=i(t,n,r)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+n+" ["+t+"]")),!1)}isTrusted(t){t.url&&!t.protocol&&(t.protocol=it.protocolFromUrl(t.url));var n=typeof this.trust=="function"?this.trust(t):this.trust;return Boolean(n)}}class Da{constructor(t,n,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=n,this.cramped=r}sup(){return ki[NB[this.id]]}sub(){return ki[OB[this.id]]}fracNum(){return ki[MB[this.id]]}fracDen(){return ki[IB[this.id]]}cramp(){return ki[RB[this.id]]}text(){return ki[LB[this.id]]}isTight(){return this.size>=2}}var wf=0,V0=1,ws=2,ca=3,e1=4,Wr=5,Ls=6,fr=7,ki=[new Da(wf,0,!1),new Da(V0,0,!0),new Da(ws,1,!1),new Da(ca,1,!0),new Da(e1,2,!1),new Da(Wr,2,!0),new Da(Ls,3,!1),new Da(fr,3,!0)],NB=[e1,Wr,e1,Wr,Ls,fr,Ls,fr],OB=[Wr,Wr,Wr,Wr,fr,fr,fr,fr],MB=[ws,ca,e1,Wr,Ls,fr,Ls,fr],IB=[ca,ca,Wr,Wr,fr,fr,fr,fr],RB=[V0,V0,ca,ca,Wr,Wr,fr,fr],LB=[wf,V0,ws,ca,ws,ca,ws,ca],Ze={DISPLAY:ki[wf],TEXT:ki[ws],SCRIPT:ki[e1],SCRIPTSCRIPT:ki[Ls]},Xd=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function DB(e){for(var t=0;t<Xd.length;t++)for(var n=Xd[t],r=0;r<n.blocks.length;r++){var i=n.blocks[r];if(e>=i[0]&&e<=i[1])return n.name}return null}var S0=[];Xd.forEach(e=>e.blocks.forEach(t=>S0.push(...t)));function S7(e){for(var t=0;t<S0.length;t+=2)if(e>=S0[t]&&e<=S0[t+1])return!0;return!1}var cs=80,PB=function(t,n){return"M95,"+(622+t+n)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429 c69,-144,104.5,-217.7,106.5,-221 l`+t/2.075+" -"+t+` c5.3,-9.3,12,-14,20,-14 H400000v`+(40+t)+`H845.2724 s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z M`+(834+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},$B=function(t,n){return"M263,"+(601+t+n)+`c0.7,0,18,39.7,52,119 c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 c340,-704.7,510.7,-1060.3,512,-1067 l`+t/2.084+" -"+t+` c4.7,-7.3,11,-11,19,-11 H40000v`+(40+t)+`H1012.3 s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232 c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},BB=function(t,n){return"M983 "+(10+t+n)+` l`+t/3.13+" -"+t+` c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+` H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744 c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 c53.7,-170.3,84.5,-266.8,92.5,-289.5z M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},FB=function(t,n){return"M424,"+(2398+t+n)+` c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20 s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081 l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000 v`+(40+t)+`H1014.6 s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+n+` h400000v`+(40+t)+"h-400000z"},zB=function(t,n){return"M473,"+(2713+t+n)+` c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+` c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7 s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26 s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, 606zM`+(1001+t)+" "+n+"h400000v"+(40+t)+"H1017.7z"},HB=function(t){var n=t/2;return"M400000 "+t+" H0 L"+n+" 0 l65 45 L145 "+(t-80)+" H400000z"},UB=function(t,n,r){var i=r-54-n-t;return"M702 "+(t+n)+"H400000"+(40+t)+` H742v`+i+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 219 661 l218 661zM702 `+n+"H400000v"+(40+t)+"H742z"},jB=function(t,n,r){n=1e3*n;var i="";switch(t){case"sqrtMain":i=PB(n,cs);break;case"sqrtSize1":i=$B(n,cs);break;case"sqrtSize2":i=BB(n,cs);break;case"sqrtSize3":i=FB(n,cs);break;case"sqrtSize4":i=zB(n,cs);break;case"sqrtTall":i=UB(n,cs,r)}return i},GB=function(t,n){switch(t){case"\u239C":return"M291 0 H417 V"+n+" H291z M291 0 H417 V"+n+" H291z";case"\u2223":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z";case"\u2225":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z"+("M367 0 H410 V"+n+" H367z M367 0 H410 V"+n+" H367z");case"\u239F":return"M457 0 H583 V"+n+" H457z M457 0 H583 V"+n+" H457z";case"\u23A2":return"M319 0 H403 V"+n+" H319z M319 0 H403 V"+n+" H319z";case"\u23A5":return"M263 0 H347 V"+n+" H263z M263 0 H347 V"+n+" H263z";case"\u23AA":return"M384 0 H504 V"+n+" H384z M384 0 H504 V"+n+" H384z";case"\u23D0":return"M312 0 H355 V"+n+" H312z M312 0 H355 V"+n+" H312z";case"\u2016":return"M257 0 H300 V"+n+" H257z M257 0 H300 V"+n+" H257z"+("M478 0 H521 V"+n+" H478z M478 0 H521 V"+n+" H478z");default:return""}},T9={doubleleftarrow:`M262 157 l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5 c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87 -86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7 -2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l -10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88 -33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68 -17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18 -13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782 c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3 -107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8 -5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247 c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202 l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117 -45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7 -331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80 H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0 435 0h399565z`,leftgroupunder:`M400000 262 H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3 -3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5 -18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7 -196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3 -4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7 -10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667 -152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7 -2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0 v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5 -83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3 -68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23 -.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8 c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334 c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14 -53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214 c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0 -5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6 -320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8 60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8 -451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2 c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6 -480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0 85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8 -707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1 c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128 -16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85 -40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l -6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5 s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1 c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237 -174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3 -3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2 -10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11 -18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5 -7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95 -27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3 -64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0 -13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32 -52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142 -167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69 -70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3 -40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19 -37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167 c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333 -19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7 -2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128 -68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418 -8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114 c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457 -11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696 -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345 -11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409 -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5 3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11 10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63 -1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1 -7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59 H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359 c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22 c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10 -11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10 -11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10 -11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1, -5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, -11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, -11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, -11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202 c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5 c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130 s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47 121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6 s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11 c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32 -27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39 -84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5 -119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17 c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21 c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40 c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0 c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9, 1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7, -152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0 c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},qB=function(t,n){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v1759 h347 v-84 H403z M403 1759 V0 H319 V1759 v`+n+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v1759 H0 v84 H347z M347 1759 V0 H263 V1759 v`+n+" v1759 h84z";case"vert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15 c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+" v585 h43z";case"doublevert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15 c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+` v585 h43z M367 15 v585 v`+n+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15 c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+n+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+n+` v1715 h263 v84 H319z MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+n+` v1799 H0 v-84 H319z MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v602 h84z M403 1759 V0 H319 V1759 v`+n+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v602 h84z M347 1759 V0 h-84 V1759 v`+n+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1 c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349, -36,557 l0,`+(n+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210, 949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9 c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5, -544.7,-112.5,-882c-2,-104,-3,-167,-3,-189 l0,-`+(n+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3, -210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3, 63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5 c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(n+9)+` c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664 c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11 c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 l0,-`+(n+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class E1{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return it.contains(this.classes,t)}toNode(){for(var t=document.createDocumentFragment(),n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t}toMarkup(){for(var t="",n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t}toText(){var t=n=>n.toText();return this.children.map(t).join("")}}var Ii={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},r0={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},E9={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function WB(e,t){Ii[e]=t}function Cf(e,t,n){if(!Ii[t])throw new Error("Font metrics not found for font: "+t+".");var r=e.charCodeAt(0),i=Ii[t][r];if(!i&&e[0]in E9&&(r=E9[e[0]].charCodeAt(0),i=Ii[t][r]),!i&&n==="text"&&S7(r)&&(i=Ii[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var Ku={};function KB(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!Ku[t]){var n=Ku[t]={cssEmPerMu:r0.quad[t]/18};for(var r in r0)r0.hasOwnProperty(r)&&(n[r]=r0[r][t])}return Ku[t]}var VB=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],_9=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],x9=function(t,n){return n.size<2?t:VB[t-1][n.size-1]};class ea{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||ea.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=_9[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return new ea(n)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:x9(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:_9[t-1]})}havingBaseStyle(t){t=t||this.style.text();var n=x9(ea.BASESIZE,t);return this.size===n&&this.textSize===ea.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==ea.BASESIZE?["sizing","reset-size"+this.size,"size"+ea.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=KB(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}ea.BASESIZE=6;var Qd={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},YB={ex:!0,em:!0,mu:!0},w7=function(t){return typeof t!="string"&&(t=t.unit),t in Qd||t in YB||t==="ex"},gn=function(t,n){var r;if(t.unit in Qd)r=Qd[t.unit]/n.fontMetrics().ptPerEm/n.sizeMultiplier;else if(t.unit==="mu")r=n.fontMetrics().cssEmPerMu;else{var i;if(n.style.isTight()?i=n.havingStyle(n.style.text()):i=n,t.unit==="ex")r=i.fontMetrics().xHeight;else if(t.unit==="em")r=i.fontMetrics().quad;else throw new ve("Invalid unit: '"+t.unit+"'");i!==n&&(r*=i.sizeMultiplier/n.sizeMultiplier)}return Math.min(t.number*r,n.maxSize)},we=function(t){return+t.toFixed(4)+"em"},eo=function(t){return t.filter(n=>n).join(" ")},C7=function(t,n,r){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},n){n.style.isTight()&&this.classes.push("mtight");var i=n.getColor();i&&(this.style.color=i)}},A7=function(t){var n=document.createElement(t);n.className=eo(this.classes);for(var r in this.style)this.style.hasOwnProperty(r)&&(n.style[r]=this.style[r]);for(var i in this.attributes)this.attributes.hasOwnProperty(i)&&n.setAttribute(i,this.attributes[i]);for(var a=0;a<this.children.length;a++)n.appendChild(this.children[a].toNode());return n},k7=function(t){var n="<"+t;this.classes.length&&(n+=' class="'+it.escape(eo(this.classes))+'"');var r="";for(var i in this.style)this.style.hasOwnProperty(i)&&(r+=it.hyphenate(i)+":"+this.style[i]+";");r&&(n+=' style="'+it.escape(r)+'"');for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&(n+=" "+a+'="'+it.escape(this.attributes[a])+'"');n+=">";for(var o=0;o<this.children.length;o++)n+=this.children[o].toMarkup();return n+="</"+t+">",n};class _1{constructor(t,n,r,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,C7.call(this,t,r,i),this.children=n||[]}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return it.contains(this.classes,t)}toNode(){return A7.call(this,"span")}toMarkup(){return k7.call(this,"span")}}class Af{constructor(t,n,r,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,C7.call(this,n,i),this.children=r||[],this.setAttribute("href",t)}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return it.contains(this.classes,t)}toNode(){return A7.call(this,"a")}toMarkup(){return k7.call(this,"a")}}class XB{constructor(t,n,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=n,this.src=t,this.classes=["mord"],this.style=r}hasClass(t){return it.contains(this.classes,t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var n in this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);return t}toMarkup(){var t="<img src='"+this.src+" 'alt='"+this.alt+"' ",n="";for(var r in this.style)this.style.hasOwnProperty(r)&&(n+=it.hyphenate(r)+":"+this.style[r]+";");return n&&(t+=' style="'+it.escape(n)+'"'),t+="'/>",t}}var QB={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"};class Qr{constructor(t,n,r,i,a,o,s,l){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=n||0,this.depth=r||0,this.italic=i||0,this.skew=a||0,this.width=o||0,this.classes=s||[],this.style=l||{},this.maxFontSize=0;var c=DB(this.text.charCodeAt(0));c&&this.classes.push(c+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=QB[this.text])}hasClass(t){return it.contains(this.classes,t)}toNode(){var t=document.createTextNode(this.text),n=null;this.italic>0&&(n=document.createElement("span"),n.style.marginRight=we(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=eo(this.classes));for(var r in this.style)this.style.hasOwnProperty(r)&&(n=n||document.createElement("span"),n.style[r]=this.style[r]);return n?(n.appendChild(t),n):t}toMarkup(){var t=!1,n="<span";this.classes.length&&(t=!0,n+=' class="',n+=it.escape(eo(this.classes)),n+='"');var r="";this.italic>0&&(r+="margin-right:"+this.italic+"em;");for(var i in this.style)this.style.hasOwnProperty(i)&&(r+=it.hyphenate(i)+":"+this.style[i]+";");r&&(t=!0,n+=' style="'+it.escape(r)+'"');var a=it.escape(this.text);return t?(n+=">",n+=a,n+="</span>",n):a}}class pa{constructor(t,n){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=n||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"svg");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);for(var i=0;i<this.children.length;i++)n.appendChild(this.children[i].toNode());return n}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+"='"+this.attributes[n]+"'");t+=">";for(var r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</svg>",t}}class to{constructor(t,n){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=n}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"path");return this.alternate?n.setAttribute("d",this.alternate):n.setAttribute("d",T9[this.pathName]),n}toMarkup(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+T9[this.pathName]+"'/>"}}class Zd{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"line");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);return n}toMarkup(){var t="<line";for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+"='"+this.attributes[n]+"'");return t+="/>",t}}function S9(e){if(e instanceof Qr)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function ZB(e){if(e instanceof _1)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var JB={bin:1,close:1,inner:1,open:1,punct:1,rel:1},eF={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},rn={math:{},text:{}};function g(e,t,n,r,i,a){rn[e][i]={font:t,group:n,replace:r},a&&r&&(rn[e][r]=rn[e][i])}var y="math",me="text",S="main",B="ams",fn="accent-token",Fe="bin",gr="close",Zs="inner",et="mathord",Ln="op-token",Pr="open",Hc="punct",F="rel",Sa="spacing",q="textord";g(y,S,F,"\u2261","\\equiv",!0);g(y,S,F,"\u227A","\\prec",!0);g(y,S,F,"\u227B","\\succ",!0);g(y,S,F,"\u223C","\\sim",!0);g(y,S,F,"\u22A5","\\perp");g(y,S,F,"\u2AAF","\\preceq",!0);g(y,S,F,"\u2AB0","\\succeq",!0);g(y,S,F,"\u2243","\\simeq",!0);g(y,S,F,"\u2223","\\mid",!0);g(y,S,F,"\u226A","\\ll",!0);g(y,S,F,"\u226B","\\gg",!0);g(y,S,F,"\u224D","\\asymp",!0);g(y,S,F,"\u2225","\\parallel");g(y,S,F,"\u22C8","\\bowtie",!0);g(y,S,F,"\u2323","\\smile",!0);g(y,S,F,"\u2291","\\sqsubseteq",!0);g(y,S,F,"\u2292","\\sqsupseteq",!0);g(y,S,F,"\u2250","\\doteq",!0);g(y,S,F,"\u2322","\\frown",!0);g(y,S,F,"\u220B","\\ni",!0);g(y,S,F,"\u221D","\\propto",!0);g(y,S,F,"\u22A2","\\vdash",!0);g(y,S,F,"\u22A3","\\dashv",!0);g(y,S,F,"\u220B","\\owns");g(y,S,Hc,".","\\ldotp");g(y,S,Hc,"\u22C5","\\cdotp");g(y,S,q,"#","\\#");g(me,S,q,"#","\\#");g(y,S,q,"&","\\&");g(me,S,q,"&","\\&");g(y,S,q,"\u2135","\\aleph",!0);g(y,S,q,"\u2200","\\forall",!0);g(y,S,q,"\u210F","\\hbar",!0);g(y,S,q,"\u2203","\\exists",!0);g(y,S,q,"\u2207","\\nabla",!0);g(y,S,q,"\u266D","\\flat",!0);g(y,S,q,"\u2113","\\ell",!0);g(y,S,q,"\u266E","\\natural",!0);g(y,S,q,"\u2663","\\clubsuit",!0);g(y,S,q,"\u2118","\\wp",!0);g(y,S,q,"\u266F","\\sharp",!0);g(y,S,q,"\u2662","\\diamondsuit",!0);g(y,S,q,"\u211C","\\Re",!0);g(y,S,q,"\u2661","\\heartsuit",!0);g(y,S,q,"\u2111","\\Im",!0);g(y,S,q,"\u2660","\\spadesuit",!0);g(y,S,q,"\xA7","\\S",!0);g(me,S,q,"\xA7","\\S");g(y,S,q,"\xB6","\\P",!0);g(me,S,q,"\xB6","\\P");g(y,S,q,"\u2020","\\dag");g(me,S,q,"\u2020","\\dag");g(me,S,q,"\u2020","\\textdagger");g(y,S,q,"\u2021","\\ddag");g(me,S,q,"\u2021","\\ddag");g(me,S,q,"\u2021","\\textdaggerdbl");g(y,S,gr,"\u23B1","\\rmoustache",!0);g(y,S,Pr,"\u23B0","\\lmoustache",!0);g(y,S,gr,"\u27EF","\\rgroup",!0);g(y,S,Pr,"\u27EE","\\lgroup",!0);g(y,S,Fe,"\u2213","\\mp",!0);g(y,S,Fe,"\u2296","\\ominus",!0);g(y,S,Fe,"\u228E","\\uplus",!0);g(y,S,Fe,"\u2293","\\sqcap",!0);g(y,S,Fe,"\u2217","\\ast");g(y,S,Fe,"\u2294","\\sqcup",!0);g(y,S,Fe,"\u25EF","\\bigcirc",!0);g(y,S,Fe,"\u2219","\\bullet",!0);g(y,S,Fe,"\u2021","\\ddagger");g(y,S,Fe,"\u2240","\\wr",!0);g(y,S,Fe,"\u2A3F","\\amalg");g(y,S,Fe,"&","\\And");g(y,S,F,"\u27F5","\\longleftarrow",!0);g(y,S,F,"\u21D0","\\Leftarrow",!0);g(y,S,F,"\u27F8","\\Longleftarrow",!0);g(y,S,F,"\u27F6","\\longrightarrow",!0);g(y,S,F,"\u21D2","\\Rightarrow",!0);g(y,S,F,"\u27F9","\\Longrightarrow",!0);g(y,S,F,"\u2194","\\leftrightarrow",!0);g(y,S,F,"\u27F7","\\longleftrightarrow",!0);g(y,S,F,"\u21D4","\\Leftrightarrow",!0);g(y,S,F,"\u27FA","\\Longleftrightarrow",!0);g(y,S,F,"\u21A6","\\mapsto",!0);g(y,S,F,"\u27FC","\\longmapsto",!0);g(y,S,F,"\u2197","\\nearrow",!0);g(y,S,F,"\u21A9","\\hookleftarrow",!0);g(y,S,F,"\u21AA","\\hookrightarrow",!0);g(y,S,F,"\u2198","\\searrow",!0);g(y,S,F,"\u21BC","\\leftharpoonup",!0);g(y,S,F,"\u21C0","\\rightharpoonup",!0);g(y,S,F,"\u2199","\\swarrow",!0);g(y,S,F,"\u21BD","\\leftharpoondown",!0);g(y,S,F,"\u21C1","\\rightharpoondown",!0);g(y,S,F,"\u2196","\\nwarrow",!0);g(y,S,F,"\u21CC","\\rightleftharpoons",!0);g(y,B,F,"\u226E","\\nless",!0);g(y,B,F,"\uE010","\\@nleqslant");g(y,B,F,"\uE011","\\@nleqq");g(y,B,F,"\u2A87","\\lneq",!0);g(y,B,F,"\u2268","\\lneqq",!0);g(y,B,F,"\uE00C","\\@lvertneqq");g(y,B,F,"\u22E6","\\lnsim",!0);g(y,B,F,"\u2A89","\\lnapprox",!0);g(y,B,F,"\u2280","\\nprec",!0);g(y,B,F,"\u22E0","\\npreceq",!0);g(y,B,F,"\u22E8","\\precnsim",!0);g(y,B,F,"\u2AB9","\\precnapprox",!0);g(y,B,F,"\u2241","\\nsim",!0);g(y,B,F,"\uE006","\\@nshortmid");g(y,B,F,"\u2224","\\nmid",!0);g(y,B,F,"\u22AC","\\nvdash",!0);g(y,B,F,"\u22AD","\\nvDash",!0);g(y,B,F,"\u22EA","\\ntriangleleft");g(y,B,F,"\u22EC","\\ntrianglelefteq",!0);g(y,B,F,"\u228A","\\subsetneq",!0);g(y,B,F,"\uE01A","\\@varsubsetneq");g(y,B,F,"\u2ACB","\\subsetneqq",!0);g(y,B,F,"\uE017","\\@varsubsetneqq");g(y,B,F,"\u226F","\\ngtr",!0);g(y,B,F,"\uE00F","\\@ngeqslant");g(y,B,F,"\uE00E","\\@ngeqq");g(y,B,F,"\u2A88","\\gneq",!0);g(y,B,F,"\u2269","\\gneqq",!0);g(y,B,F,"\uE00D","\\@gvertneqq");g(y,B,F,"\u22E7","\\gnsim",!0);g(y,B,F,"\u2A8A","\\gnapprox",!0);g(y,B,F,"\u2281","\\nsucc",!0);g(y,B,F,"\u22E1","\\nsucceq",!0);g(y,B,F,"\u22E9","\\succnsim",!0);g(y,B,F,"\u2ABA","\\succnapprox",!0);g(y,B,F,"\u2246","\\ncong",!0);g(y,B,F,"\uE007","\\@nshortparallel");g(y,B,F,"\u2226","\\nparallel",!0);g(y,B,F,"\u22AF","\\nVDash",!0);g(y,B,F,"\u22EB","\\ntriangleright");g(y,B,F,"\u22ED","\\ntrianglerighteq",!0);g(y,B,F,"\uE018","\\@nsupseteqq");g(y,B,F,"\u228B","\\supsetneq",!0);g(y,B,F,"\uE01B","\\@varsupsetneq");g(y,B,F,"\u2ACC","\\supsetneqq",!0);g(y,B,F,"\uE019","\\@varsupsetneqq");g(y,B,F,"\u22AE","\\nVdash",!0);g(y,B,F,"\u2AB5","\\precneqq",!0);g(y,B,F,"\u2AB6","\\succneqq",!0);g(y,B,F,"\uE016","\\@nsubseteqq");g(y,B,Fe,"\u22B4","\\unlhd");g(y,B,Fe,"\u22B5","\\unrhd");g(y,B,F,"\u219A","\\nleftarrow",!0);g(y,B,F,"\u219B","\\nrightarrow",!0);g(y,B,F,"\u21CD","\\nLeftarrow",!0);g(y,B,F,"\u21CF","\\nRightarrow",!0);g(y,B,F,"\u21AE","\\nleftrightarrow",!0);g(y,B,F,"\u21CE","\\nLeftrightarrow",!0);g(y,B,F,"\u25B3","\\vartriangle");g(y,B,q,"\u210F","\\hslash");g(y,B,q,"\u25BD","\\triangledown");g(y,B,q,"\u25CA","\\lozenge");g(y,B,q,"\u24C8","\\circledS");g(y,B,q,"\xAE","\\circledR");g(me,B,q,"\xAE","\\circledR");g(y,B,q,"\u2221","\\measuredangle",!0);g(y,B,q,"\u2204","\\nexists");g(y,B,q,"\u2127","\\mho");g(y,B,q,"\u2132","\\Finv",!0);g(y,B,q,"\u2141","\\Game",!0);g(y,B,q,"\u2035","\\backprime");g(y,B,q,"\u25B2","\\blacktriangle");g(y,B,q,"\u25BC","\\blacktriangledown");g(y,B,q,"\u25A0","\\blacksquare");g(y,B,q,"\u29EB","\\blacklozenge");g(y,B,q,"\u2605","\\bigstar");g(y,B,q,"\u2222","\\sphericalangle",!0);g(y,B,q,"\u2201","\\complement",!0);g(y,B,q,"\xF0","\\eth",!0);g(me,S,q,"\xF0","\xF0");g(y,B,q,"\u2571","\\diagup");g(y,B,q,"\u2572","\\diagdown");g(y,B,q,"\u25A1","\\square");g(y,B,q,"\u25A1","\\Box");g(y,B,q,"\u25CA","\\Diamond");g(y,B,q,"\xA5","\\yen",!0);g(me,B,q,"\xA5","\\yen",!0);g(y,B,q,"\u2713","\\checkmark",!0);g(me,B,q,"\u2713","\\checkmark");g(y,B,q,"\u2136","\\beth",!0);g(y,B,q,"\u2138","\\daleth",!0);g(y,B,q,"\u2137","\\gimel",!0);g(y,B,q,"\u03DD","\\digamma",!0);g(y,B,q,"\u03F0","\\varkappa");g(y,B,Pr,"\u250C","\\@ulcorner",!0);g(y,B,gr,"\u2510","\\@urcorner",!0);g(y,B,Pr,"\u2514","\\@llcorner",!0);g(y,B,gr,"\u2518","\\@lrcorner",!0);g(y,B,F,"\u2266","\\leqq",!0);g(y,B,F,"\u2A7D","\\leqslant",!0);g(y,B,F,"\u2A95","\\eqslantless",!0);g(y,B,F,"\u2272","\\lesssim",!0);g(y,B,F,"\u2A85","\\lessapprox",!0);g(y,B,F,"\u224A","\\approxeq",!0);g(y,B,Fe,"\u22D6","\\lessdot");g(y,B,F,"\u22D8","\\lll",!0);g(y,B,F,"\u2276","\\lessgtr",!0);g(y,B,F,"\u22DA","\\lesseqgtr",!0);g(y,B,F,"\u2A8B","\\lesseqqgtr",!0);g(y,B,F,"\u2251","\\doteqdot");g(y,B,F,"\u2253","\\risingdotseq",!0);g(y,B,F,"\u2252","\\fallingdotseq",!0);g(y,B,F,"\u223D","\\backsim",!0);g(y,B,F,"\u22CD","\\backsimeq",!0);g(y,B,F,"\u2AC5","\\subseteqq",!0);g(y,B,F,"\u22D0","\\Subset",!0);g(y,B,F,"\u228F","\\sqsubset",!0);g(y,B,F,"\u227C","\\preccurlyeq",!0);g(y,B,F,"\u22DE","\\curlyeqprec",!0);g(y,B,F,"\u227E","\\precsim",!0);g(y,B,F,"\u2AB7","\\precapprox",!0);g(y,B,F,"\u22B2","\\vartriangleleft");g(y,B,F,"\u22B4","\\trianglelefteq");g(y,B,F,"\u22A8","\\vDash",!0);g(y,B,F,"\u22AA","\\Vvdash",!0);g(y,B,F,"\u2323","\\smallsmile");g(y,B,F,"\u2322","\\smallfrown");g(y,B,F,"\u224F","\\bumpeq",!0);g(y,B,F,"\u224E","\\Bumpeq",!0);g(y,B,F,"\u2267","\\geqq",!0);g(y,B,F,"\u2A7E","\\geqslant",!0);g(y,B,F,"\u2A96","\\eqslantgtr",!0);g(y,B,F,"\u2273","\\gtrsim",!0);g(y,B,F,"\u2A86","\\gtrapprox",!0);g(y,B,Fe,"\u22D7","\\gtrdot");g(y,B,F,"\u22D9","\\ggg",!0);g(y,B,F,"\u2277","\\gtrless",!0);g(y,B,F,"\u22DB","\\gtreqless",!0);g(y,B,F,"\u2A8C","\\gtreqqless",!0);g(y,B,F,"\u2256","\\eqcirc",!0);g(y,B,F,"\u2257","\\circeq",!0);g(y,B,F,"\u225C","\\triangleq",!0);g(y,B,F,"\u223C","\\thicksim");g(y,B,F,"\u2248","\\thickapprox");g(y,B,F,"\u2AC6","\\supseteqq",!0);g(y,B,F,"\u22D1","\\Supset",!0);g(y,B,F,"\u2290","\\sqsupset",!0);g(y,B,F,"\u227D","\\succcurlyeq",!0);g(y,B,F,"\u22DF","\\curlyeqsucc",!0);g(y,B,F,"\u227F","\\succsim",!0);g(y,B,F,"\u2AB8","\\succapprox",!0);g(y,B,F,"\u22B3","\\vartriangleright");g(y,B,F,"\u22B5","\\trianglerighteq");g(y,B,F,"\u22A9","\\Vdash",!0);g(y,B,F,"\u2223","\\shortmid");g(y,B,F,"\u2225","\\shortparallel");g(y,B,F,"\u226C","\\between",!0);g(y,B,F,"\u22D4","\\pitchfork",!0);g(y,B,F,"\u221D","\\varpropto");g(y,B,F,"\u25C0","\\blacktriangleleft");g(y,B,F,"\u2234","\\therefore",!0);g(y,B,F,"\u220D","\\backepsilon");g(y,B,F,"\u25B6","\\blacktriangleright");g(y,B,F,"\u2235","\\because",!0);g(y,B,F,"\u22D8","\\llless");g(y,B,F,"\u22D9","\\gggtr");g(y,B,Fe,"\u22B2","\\lhd");g(y,B,Fe,"\u22B3","\\rhd");g(y,B,F,"\u2242","\\eqsim",!0);g(y,S,F,"\u22C8","\\Join");g(y,B,F,"\u2251","\\Doteq",!0);g(y,B,Fe,"\u2214","\\dotplus",!0);g(y,B,Fe,"\u2216","\\smallsetminus");g(y,B,Fe,"\u22D2","\\Cap",!0);g(y,B,Fe,"\u22D3","\\Cup",!0);g(y,B,Fe,"\u2A5E","\\doublebarwedge",!0);g(y,B,Fe,"\u229F","\\boxminus",!0);g(y,B,Fe,"\u229E","\\boxplus",!0);g(y,B,Fe,"\u22C7","\\divideontimes",!0);g(y,B,Fe,"\u22C9","\\ltimes",!0);g(y,B,Fe,"\u22CA","\\rtimes",!0);g(y,B,Fe,"\u22CB","\\leftthreetimes",!0);g(y,B,Fe,"\u22CC","\\rightthreetimes",!0);g(y,B,Fe,"\u22CF","\\curlywedge",!0);g(y,B,Fe,"\u22CE","\\curlyvee",!0);g(y,B,Fe,"\u229D","\\circleddash",!0);g(y,B,Fe,"\u229B","\\circledast",!0);g(y,B,Fe,"\u22C5","\\centerdot");g(y,B,Fe,"\u22BA","\\intercal",!0);g(y,B,Fe,"\u22D2","\\doublecap");g(y,B,Fe,"\u22D3","\\doublecup");g(y,B,Fe,"\u22A0","\\boxtimes",!0);g(y,B,F,"\u21E2","\\dashrightarrow",!0);g(y,B,F,"\u21E0","\\dashleftarrow",!0);g(y,B,F,"\u21C7","\\leftleftarrows",!0);g(y,B,F,"\u21C6","\\leftrightarrows",!0);g(y,B,F,"\u21DA","\\Lleftarrow",!0);g(y,B,F,"\u219E","\\twoheadleftarrow",!0);g(y,B,F,"\u21A2","\\leftarrowtail",!0);g(y,B,F,"\u21AB","\\looparrowleft",!0);g(y,B,F,"\u21CB","\\leftrightharpoons",!0);g(y,B,F,"\u21B6","\\curvearrowleft",!0);g(y,B,F,"\u21BA","\\circlearrowleft",!0);g(y,B,F,"\u21B0","\\Lsh",!0);g(y,B,F,"\u21C8","\\upuparrows",!0);g(y,B,F,"\u21BF","\\upharpoonleft",!0);g(y,B,F,"\u21C3","\\downharpoonleft",!0);g(y,S,F,"\u22B6","\\origof",!0);g(y,S,F,"\u22B7","\\imageof",!0);g(y,B,F,"\u22B8","\\multimap",!0);g(y,B,F,"\u21AD","\\leftrightsquigarrow",!0);g(y,B,F,"\u21C9","\\rightrightarrows",!0);g(y,B,F,"\u21C4","\\rightleftarrows",!0);g(y,B,F,"\u21A0","\\twoheadrightarrow",!0);g(y,B,F,"\u21A3","\\rightarrowtail",!0);g(y,B,F,"\u21AC","\\looparrowright",!0);g(y,B,F,"\u21B7","\\curvearrowright",!0);g(y,B,F,"\u21BB","\\circlearrowright",!0);g(y,B,F,"\u21B1","\\Rsh",!0);g(y,B,F,"\u21CA","\\downdownarrows",!0);g(y,B,F,"\u21BE","\\upharpoonright",!0);g(y,B,F,"\u21C2","\\downharpoonright",!0);g(y,B,F,"\u21DD","\\rightsquigarrow",!0);g(y,B,F,"\u21DD","\\leadsto");g(y,B,F,"\u21DB","\\Rrightarrow",!0);g(y,B,F,"\u21BE","\\restriction");g(y,S,q,"\u2018","`");g(y,S,q,"$","\\$");g(me,S,q,"$","\\$");g(me,S,q,"$","\\textdollar");g(y,S,q,"%","\\%");g(me,S,q,"%","\\%");g(y,S,q,"_","\\_");g(me,S,q,"_","\\_");g(me,S,q,"_","\\textunderscore");g(y,S,q,"\u2220","\\angle",!0);g(y,S,q,"\u221E","\\infty",!0);g(y,S,q,"\u2032","\\prime");g(y,S,q,"\u25B3","\\triangle");g(y,S,q,"\u0393","\\Gamma",!0);g(y,S,q,"\u0394","\\Delta",!0);g(y,S,q,"\u0398","\\Theta",!0);g(y,S,q,"\u039B","\\Lambda",!0);g(y,S,q,"\u039E","\\Xi",!0);g(y,S,q,"\u03A0","\\Pi",!0);g(y,S,q,"\u03A3","\\Sigma",!0);g(y,S,q,"\u03A5","\\Upsilon",!0);g(y,S,q,"\u03A6","\\Phi",!0);g(y,S,q,"\u03A8","\\Psi",!0);g(y,S,q,"\u03A9","\\Omega",!0);g(y,S,q,"A","\u0391");g(y,S,q,"B","\u0392");g(y,S,q,"E","\u0395");g(y,S,q,"Z","\u0396");g(y,S,q,"H","\u0397");g(y,S,q,"I","\u0399");g(y,S,q,"K","\u039A");g(y,S,q,"M","\u039C");g(y,S,q,"N","\u039D");g(y,S,q,"O","\u039F");g(y,S,q,"P","\u03A1");g(y,S,q,"T","\u03A4");g(y,S,q,"X","\u03A7");g(y,S,q,"\xAC","\\neg",!0);g(y,S,q,"\xAC","\\lnot");g(y,S,q,"\u22A4","\\top");g(y,S,q,"\u22A5","\\bot");g(y,S,q,"\u2205","\\emptyset");g(y,B,q,"\u2205","\\varnothing");g(y,S,et,"\u03B1","\\alpha",!0);g(y,S,et,"\u03B2","\\beta",!0);g(y,S,et,"\u03B3","\\gamma",!0);g(y,S,et,"\u03B4","\\delta",!0);g(y,S,et,"\u03F5","\\epsilon",!0);g(y,S,et,"\u03B6","\\zeta",!0);g(y,S,et,"\u03B7","\\eta",!0);g(y,S,et,"\u03B8","\\theta",!0);g(y,S,et,"\u03B9","\\iota",!0);g(y,S,et,"\u03BA","\\kappa",!0);g(y,S,et,"\u03BB","\\lambda",!0);g(y,S,et,"\u03BC","\\mu",!0);g(y,S,et,"\u03BD","\\nu",!0);g(y,S,et,"\u03BE","\\xi",!0);g(y,S,et,"\u03BF","\\omicron",!0);g(y,S,et,"\u03C0","\\pi",!0);g(y,S,et,"\u03C1","\\rho",!0);g(y,S,et,"\u03C3","\\sigma",!0);g(y,S,et,"\u03C4","\\tau",!0);g(y,S,et,"\u03C5","\\upsilon",!0);g(y,S,et,"\u03D5","\\phi",!0);g(y,S,et,"\u03C7","\\chi",!0);g(y,S,et,"\u03C8","\\psi",!0);g(y,S,et,"\u03C9","\\omega",!0);g(y,S,et,"\u03B5","\\varepsilon",!0);g(y,S,et,"\u03D1","\\vartheta",!0);g(y,S,et,"\u03D6","\\varpi",!0);g(y,S,et,"\u03F1","\\varrho",!0);g(y,S,et,"\u03C2","\\varsigma",!0);g(y,S,et,"\u03C6","\\varphi",!0);g(y,S,Fe,"\u2217","*",!0);g(y,S,Fe,"+","+");g(y,S,Fe,"\u2212","-",!0);g(y,S,Fe,"\u22C5","\\cdot",!0);g(y,S,Fe,"\u2218","\\circ",!0);g(y,S,Fe,"\xF7","\\div",!0);g(y,S,Fe,"\xB1","\\pm",!0);g(y,S,Fe,"\xD7","\\times",!0);g(y,S,Fe,"\u2229","\\cap",!0);g(y,S,Fe,"\u222A","\\cup",!0);g(y,S,Fe,"\u2216","\\setminus",!0);g(y,S,Fe,"\u2227","\\land");g(y,S,Fe,"\u2228","\\lor");g(y,S,Fe,"\u2227","\\wedge",!0);g(y,S,Fe,"\u2228","\\vee",!0);g(y,S,q,"\u221A","\\surd");g(y,S,Pr,"\u27E8","\\langle",!0);g(y,S,Pr,"\u2223","\\lvert");g(y,S,Pr,"\u2225","\\lVert");g(y,S,gr,"?","?");g(y,S,gr,"!","!");g(y,S,gr,"\u27E9","\\rangle",!0);g(y,S,gr,"\u2223","\\rvert");g(y,S,gr,"\u2225","\\rVert");g(y,S,F,"=","=");g(y,S,F,":",":");g(y,S,F,"\u2248","\\approx",!0);g(y,S,F,"\u2245","\\cong",!0);g(y,S,F,"\u2265","\\ge");g(y,S,F,"\u2265","\\geq",!0);g(y,S,F,"\u2190","\\gets");g(y,S,F,">","\\gt",!0);g(y,S,F,"\u2208","\\in",!0);g(y,S,F,"\uE020","\\@not");g(y,S,F,"\u2282","\\subset",!0);g(y,S,F,"\u2283","\\supset",!0);g(y,S,F,"\u2286","\\subseteq",!0);g(y,S,F,"\u2287","\\supseteq",!0);g(y,B,F,"\u2288","\\nsubseteq",!0);g(y,B,F,"\u2289","\\nsupseteq",!0);g(y,S,F,"\u22A8","\\models");g(y,S,F,"\u2190","\\leftarrow",!0);g(y,S,F,"\u2264","\\le");g(y,S,F,"\u2264","\\leq",!0);g(y,S,F,"<","\\lt",!0);g(y,S,F,"\u2192","\\rightarrow",!0);g(y,S,F,"\u2192","\\to");g(y,B,F,"\u2271","\\ngeq",!0);g(y,B,F,"\u2270","\\nleq",!0);g(y,S,Sa,"\xA0","\\ ");g(y,S,Sa,"\xA0","\\space");g(y,S,Sa,"\xA0","\\nobreakspace");g(me,S,Sa,"\xA0","\\ ");g(me,S,Sa,"\xA0"," ");g(me,S,Sa,"\xA0","\\space");g(me,S,Sa,"\xA0","\\nobreakspace");g(y,S,Sa,null,"\\nobreak");g(y,S,Sa,null,"\\allowbreak");g(y,S,Hc,",",",");g(y,S,Hc,";",";");g(y,B,Fe,"\u22BC","\\barwedge",!0);g(y,B,Fe,"\u22BB","\\veebar",!0);g(y,S,Fe,"\u2299","\\odot",!0);g(y,S,Fe,"\u2295","\\oplus",!0);g(y,S,Fe,"\u2297","\\otimes",!0);g(y,S,q,"\u2202","\\partial",!0);g(y,S,Fe,"\u2298","\\oslash",!0);g(y,B,Fe,"\u229A","\\circledcirc",!0);g(y,B,Fe,"\u22A1","\\boxdot",!0);g(y,S,Fe,"\u25B3","\\bigtriangleup");g(y,S,Fe,"\u25BD","\\bigtriangledown");g(y,S,Fe,"\u2020","\\dagger");g(y,S,Fe,"\u22C4","\\diamond");g(y,S,Fe,"\u22C6","\\star");g(y,S,Fe,"\u25C3","\\triangleleft");g(y,S,Fe,"\u25B9","\\triangleright");g(y,S,Pr,"{","\\{");g(me,S,q,"{","\\{");g(me,S,q,"{","\\textbraceleft");g(y,S,gr,"}","\\}");g(me,S,q,"}","\\}");g(me,S,q,"}","\\textbraceright");g(y,S,Pr,"{","\\lbrace");g(y,S,gr,"}","\\rbrace");g(y,S,Pr,"[","\\lbrack",!0);g(me,S,q,"[","\\lbrack",!0);g(y,S,gr,"]","\\rbrack",!0);g(me,S,q,"]","\\rbrack",!0);g(y,S,Pr,"(","\\lparen",!0);g(y,S,gr,")","\\rparen",!0);g(me,S,q,"<","\\textless",!0);g(me,S,q,">","\\textgreater",!0);g(y,S,Pr,"\u230A","\\lfloor",!0);g(y,S,gr,"\u230B","\\rfloor",!0);g(y,S,Pr,"\u2308","\\lceil",!0);g(y,S,gr,"\u2309","\\rceil",!0);g(y,S,q,"\\","\\backslash");g(y,S,q,"\u2223","|");g(y,S,q,"\u2223","\\vert");g(me,S,q,"|","\\textbar",!0);g(y,S,q,"\u2225","\\|");g(y,S,q,"\u2225","\\Vert");g(me,S,q,"\u2225","\\textbardbl");g(me,S,q,"~","\\textasciitilde");g(me,S,q,"\\","\\textbackslash");g(me,S,q,"^","\\textasciicircum");g(y,S,F,"\u2191","\\uparrow",!0);g(y,S,F,"\u21D1","\\Uparrow",!0);g(y,S,F,"\u2193","\\downarrow",!0);g(y,S,F,"\u21D3","\\Downarrow",!0);g(y,S,F,"\u2195","\\updownarrow",!0);g(y,S,F,"\u21D5","\\Updownarrow",!0);g(y,S,Ln,"\u2210","\\coprod");g(y,S,Ln,"\u22C1","\\bigvee");g(y,S,Ln,"\u22C0","\\bigwedge");g(y,S,Ln,"\u2A04","\\biguplus");g(y,S,Ln,"\u22C2","\\bigcap");g(y,S,Ln,"\u22C3","\\bigcup");g(y,S,Ln,"\u222B","\\int");g(y,S,Ln,"\u222B","\\intop");g(y,S,Ln,"\u222C","\\iint");g(y,S,Ln,"\u222D","\\iiint");g(y,S,Ln,"\u220F","\\prod");g(y,S,Ln,"\u2211","\\sum");g(y,S,Ln,"\u2A02","\\bigotimes");g(y,S,Ln,"\u2A01","\\bigoplus");g(y,S,Ln,"\u2A00","\\bigodot");g(y,S,Ln,"\u222E","\\oint");g(y,S,Ln,"\u222F","\\oiint");g(y,S,Ln,"\u2230","\\oiiint");g(y,S,Ln,"\u2A06","\\bigsqcup");g(y,S,Ln,"\u222B","\\smallint");g(me,S,Zs,"\u2026","\\textellipsis");g(y,S,Zs,"\u2026","\\mathellipsis");g(me,S,Zs,"\u2026","\\ldots",!0);g(y,S,Zs,"\u2026","\\ldots",!0);g(y,S,Zs,"\u22EF","\\@cdots",!0);g(y,S,Zs,"\u22F1","\\ddots",!0);g(y,S,q,"\u22EE","\\varvdots");g(y,S,fn,"\u02CA","\\acute");g(y,S,fn,"\u02CB","\\grave");g(y,S,fn,"\xA8","\\ddot");g(y,S,fn,"~","\\tilde");g(y,S,fn,"\u02C9","\\bar");g(y,S,fn,"\u02D8","\\breve");g(y,S,fn,"\u02C7","\\check");g(y,S,fn,"^","\\hat");g(y,S,fn,"\u20D7","\\vec");g(y,S,fn,"\u02D9","\\dot");g(y,S,fn,"\u02DA","\\mathring");g(y,S,et,"\uE131","\\@imath");g(y,S,et,"\uE237","\\@jmath");g(y,S,q,"\u0131","\u0131");g(y,S,q,"\u0237","\u0237");g(me,S,q,"\u0131","\\i",!0);g(me,S,q,"\u0237","\\j",!0);g(me,S,q,"\xDF","\\ss",!0);g(me,S,q,"\xE6","\\ae",!0);g(me,S,q,"\u0153","\\oe",!0);g(me,S,q,"\xF8","\\o",!0);g(me,S,q,"\xC6","\\AE",!0);g(me,S,q,"\u0152","\\OE",!0);g(me,S,q,"\xD8","\\O",!0);g(me,S,fn,"\u02CA","\\'");g(me,S,fn,"\u02CB","\\`");g(me,S,fn,"\u02C6","\\^");g(me,S,fn,"\u02DC","\\~");g(me,S,fn,"\u02C9","\\=");g(me,S,fn,"\u02D8","\\u");g(me,S,fn,"\u02D9","\\.");g(me,S,fn,"\xB8","\\c");g(me,S,fn,"\u02DA","\\r");g(me,S,fn,"\u02C7","\\v");g(me,S,fn,"\xA8",'\\"');g(me,S,fn,"\u02DD","\\H");g(me,S,fn,"\u25EF","\\textcircled");var N7={"--":!0,"---":!0,"``":!0,"''":!0};g(me,S,q,"\u2013","--",!0);g(me,S,q,"\u2013","\\textendash");g(me,S,q,"\u2014","---",!0);g(me,S,q,"\u2014","\\textemdash");g(me,S,q,"\u2018","`",!0);g(me,S,q,"\u2018","\\textquoteleft");g(me,S,q,"\u2019","'",!0);g(me,S,q,"\u2019","\\textquoteright");g(me,S,q,"\u201C","``",!0);g(me,S,q,"\u201C","\\textquotedblleft");g(me,S,q,"\u201D","''",!0);g(me,S,q,"\u201D","\\textquotedblright");g(y,S,q,"\xB0","\\degree",!0);g(me,S,q,"\xB0","\\degree");g(me,S,q,"\xB0","\\textdegree",!0);g(y,S,q,"\xA3","\\pounds");g(y,S,q,"\xA3","\\mathsterling",!0);g(me,S,q,"\xA3","\\pounds");g(me,S,q,"\xA3","\\textsterling",!0);g(y,B,q,"\u2720","\\maltese");g(me,B,q,"\u2720","\\maltese");var w9='0123456789/@."';for(var Vu=0;Vu<w9.length;Vu++){var C9=w9.charAt(Vu);g(y,S,q,C9,C9)}var A9='0123456789!@*()-=+";:?/.,';for(var Yu=0;Yu<A9.length;Yu++){var k9=A9.charAt(Yu);g(me,S,q,k9,k9)}var Y0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var Xu=0;Xu<Y0.length;Xu++){var i0=Y0.charAt(Xu);g(y,S,et,i0,i0),g(me,S,q,i0,i0)}g(y,B,q,"C","\u2102");g(me,B,q,"C","\u2102");g(y,B,q,"H","\u210D");g(me,B,q,"H","\u210D");g(y,B,q,"N","\u2115");g(me,B,q,"N","\u2115");g(y,B,q,"P","\u2119");g(me,B,q,"P","\u2119");g(y,B,q,"Q","\u211A");g(me,B,q,"Q","\u211A");g(y,B,q,"R","\u211D");g(me,B,q,"R","\u211D");g(y,B,q,"Z","\u2124");g(me,B,q,"Z","\u2124");g(y,S,et,"h","\u210E");g(me,S,et,"h","\u210E");var lt="";for(var yr=0;yr<Y0.length;yr++){var Nn=Y0.charAt(yr);lt=String.fromCharCode(55349,56320+yr),g(y,S,et,Nn,lt),g(me,S,q,Nn,lt),lt=String.fromCharCode(55349,56372+yr),g(y,S,et,Nn,lt),g(me,S,q,Nn,lt),lt=String.fromCharCode(55349,56424+yr),g(y,S,et,Nn,lt),g(me,S,q,Nn,lt),lt=String.fromCharCode(55349,56580+yr),g(y,S,et,Nn,lt),g(me,S,q,Nn,lt),lt=String.fromCharCode(55349,56736+yr),g(y,S,et,Nn,lt),g(me,S,q,Nn,lt),lt=String.fromCharCode(55349,56788+yr),g(y,S,et,Nn,lt),g(me,S,q,Nn,lt),lt=String.fromCharCode(55349,56840+yr),g(y,S,et,Nn,lt),g(me,S,q,Nn,lt),lt=String.fromCharCode(55349,56944+yr),g(y,S,et,Nn,lt),g(me,S,q,Nn,lt),yr<26&&(lt=String.fromCharCode(55349,56632+yr),g(y,S,et,Nn,lt),g(me,S,q,Nn,lt),lt=String.fromCharCode(55349,56476+yr),g(y,S,et,Nn,lt),g(me,S,q,Nn,lt))}lt=String.fromCharCode(55349,56668);g(y,S,et,"k",lt);g(me,S,q,"k",lt);for(var ko=0;ko<10;ko++){var Pa=ko.toString();lt=String.fromCharCode(55349,57294+ko),g(y,S,et,Pa,lt),g(me,S,q,Pa,lt),lt=String.fromCharCode(55349,57314+ko),g(y,S,et,Pa,lt),g(me,S,q,Pa,lt),lt=String.fromCharCode(55349,57324+ko),g(y,S,et,Pa,lt),g(me,S,q,Pa,lt),lt=String.fromCharCode(55349,57334+ko),g(y,S,et,Pa,lt),g(me,S,q,Pa,lt)}var Jd="\xD0\xDE\xFE";for(var Qu=0;Qu<Jd.length;Qu++){var a0=Jd.charAt(Qu);g(y,S,et,a0,a0),g(me,S,q,a0,a0)}var o0=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],N9=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],tF=function(t,n){var r=t.charCodeAt(0),i=t.charCodeAt(1),a=(r-55296)*1024+(i-56320)+65536,o=n==="math"?0:1;if(119808<=a&&a<120484){var s=Math.floor((a-119808)/26);return[o0[s][2],o0[s][o]]}else if(120782<=a&&a<=120831){var l=Math.floor((a-120782)/10);return[N9[l][2],N9[l][o]]}else{if(a===120485||a===120486)return[o0[0][2],o0[0][o]];if(120486<a&&a<120782)return["",""];throw new ve("Unsupported character: "+t)}},Uc=function(t,n,r){return rn[r][t]&&rn[r][t].replace&&(t=rn[r][t].replace),{value:t,metrics:Cf(t,n,r)}},fi=function(t,n,r,i,a){var o=Uc(t,n,r),s=o.metrics;t=o.value;var l;if(s){var c=s.italic;(r==="text"||i&&i.font==="mathit")&&(c=0),l=new Qr(t,s.height,s.depth,c,s.skew,s.width,a)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+n+"' and mode '"+r+"'")),l=new Qr(t,0,0,0,0,0,a);if(i){l.maxFontSize=i.sizeMultiplier,i.style.isTight()&&l.classes.push("mtight");var u=i.getColor();u&&(l.style.color=u)}return l},nF=function(t,n,r,i){return i===void 0&&(i=[]),r.font==="boldsymbol"&&Uc(t,"Main-Bold",n).metrics?fi(t,"Main-Bold",n,r,i.concat(["mathbf"])):t==="\\"||rn[n][t].font==="main"?fi(t,"Main-Regular",n,r,i):fi(t,"AMS-Regular",n,r,i.concat(["amsrm"]))},rF=function(t,n,r,i,a){return a!=="textord"&&Uc(t,"Math-BoldItalic",n).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},iF=function(t,n,r){var i=t.mode,a=t.text,o=["mord"],s=i==="math"||i==="text"&&n.font,l=s?n.font:n.fontFamily;if(a.charCodeAt(0)===55349){var[c,u]=tF(a,i);return fi(a,c,i,n,o.concat(u))}else if(l){var d,f;if(l==="boldsymbol"){var h=rF(a,i,n,o,r);d=h.fontName,f=[h.fontClass]}else s?(d=I7[l].fontName,f=[l]):(d=s0(l,n.fontWeight,n.fontShape),f=[l,n.fontWeight,n.fontShape]);if(Uc(a,d,i).metrics)return fi(a,d,i,n,o.concat(f));if(N7.hasOwnProperty(a)&&d.slice(0,10)==="Typewriter"){for(var m=[],p=0;p<a.length;p++)m.push(fi(a[p],d,i,n,o.concat(f)));return M7(m)}}if(r==="mathord")return fi(a,"Math-Italic",i,n,o.concat(["mathnormal"]));if(r==="textord"){var b=rn[i][a]&&rn[i][a].font;if(b==="ams"){var v=s0("amsrm",n.fontWeight,n.fontShape);return fi(a,v,i,n,o.concat("amsrm",n.fontWeight,n.fontShape))}else if(b==="main"||!b){var x=s0("textrm",n.fontWeight,n.fontShape);return fi(a,x,i,n,o.concat(n.fontWeight,n.fontShape))}else{var _=s0(b,n.fontWeight,n.fontShape);return fi(a,_,i,n,o.concat(_,n.fontWeight,n.fontShape))}}else throw new Error("unexpected type: "+r+" in makeOrd")},aF=(e,t)=>{if(eo(e.classes)!==eo(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var n=e.classes[0];if(n==="mbin"||n==="mord")return!1}for(var r in e.style)if(e.style.hasOwnProperty(r)&&e.style[r]!==t.style[r])return!1;for(var i in t.style)if(t.style.hasOwnProperty(i)&&e.style[i]!==t.style[i])return!1;return!0},oF=e=>{for(var t=0;t<e.length-1;t++){var n=e[t],r=e[t+1];n instanceof Qr&&r instanceof Qr&&aF(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,e.splice(t+1,1),t--)}return e},kf=function(t){for(var n=0,r=0,i=0,a=0;a<t.children.length;a++){var o=t.children[a];o.height>n&&(n=o.height),o.depth>r&&(r=o.depth),o.maxFontSize>i&&(i=o.maxFontSize)}t.height=n,t.depth=r,t.maxFontSize=i},xr=function(t,n,r,i){var a=new _1(t,n,r,i);return kf(a),a},O7=(e,t,n,r)=>new _1(e,t,n,r),sF=function(t,n,r){var i=xr([t],[],n);return i.height=Math.max(r||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),i.style.borderBottomWidth=we(i.height),i.maxFontSize=1,i},lF=function(t,n,r,i){var a=new Af(t,n,r,i);return kf(a),a},M7=function(t){var n=new E1(t);return kf(n),n},cF=function(t,n){return t instanceof E1?xr([],[t],n):t},uF=function(t){if(t.positionType==="individualShift"){for(var n=t.children,r=[n[0]],i=-n[0].shift-n[0].elem.depth,a=i,o=1;o<n.length;o++){var s=-n[o].shift-a-n[o].elem.depth,l=s-(n[o-1].elem.height+n[o-1].elem.depth);a=a+s,r.push({type:"kern",size:l}),r.push(n[o])}return{children:r,depth:i}}var c;if(t.positionType==="top"){for(var u=t.positionData,d=0;d<t.children.length;d++){var f=t.children[d];u-=f.type==="kern"?f.size:f.elem.height+f.elem.depth}c=u}else if(t.positionType==="bottom")c=-t.positionData;else{var h=t.children[0];if(h.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")c=-h.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")c=-h.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:c}},dF=function(t,n){for(var{children:r,depth:i}=uF(t),a=0,o=0;o<r.length;o++){var s=r[o];if(s.type==="elem"){var l=s.elem;a=Math.max(a,l.maxFontSize,l.height)}}a+=2;var c=xr(["pstrut"],[]);c.style.height=we(a);for(var u=[],d=i,f=i,h=i,m=0;m<r.length;m++){var p=r[m];if(p.type==="kern")h+=p.size;else{var b=p.elem,v=p.wrapperClasses||[],x=p.wrapperStyle||{},_=xr(v,[c,b],void 0,x);_.style.top=we(-a-h-b.depth),p.marginLeft&&(_.style.marginLeft=p.marginLeft),p.marginRight&&(_.style.marginRight=p.marginRight),u.push(_),h+=b.height+b.depth}d=Math.min(d,h),f=Math.max(f,h)}var D=xr(["vlist"],u);D.style.height=we(f);var I;if(d<0){var C=xr([],[]),w=xr(["vlist"],[C]);w.style.height=we(-d);var R=xr(["vlist-s"],[new Qr("\u200B")]);I=[xr(["vlist-r"],[D,R]),xr(["vlist-r"],[w])]}else I=[xr(["vlist-r"],[D])];var L=xr(["vlist-t"],I);return I.length===2&&L.classes.push("vlist-t2"),L.height=f,L.depth=-d,L},hF=(e,t)=>{var n=xr(["mspace"],[],t),r=gn(e,t);return n.style.marginRight=we(r),n},s0=function(t,n,r){var i="";switch(t){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=t}var a;return n==="textbf"&&r==="textit"?a="BoldItalic":n==="textbf"?a="Bold":n==="textit"?a="Italic":a="Regular",i+"-"+a},I7={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},R7={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},fF=function(t,n){var[r,i,a]=R7[t],o=new to(r),s=new pa([o],{width:we(i),height:we(a),style:"width:"+we(i),viewBox:"0 0 "+1e3*i+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),l=O7(["overlay"],[s],n);return l.height=a,l.style.height=we(a),l.style.width=we(i),l},Y={fontMap:I7,makeSymbol:fi,mathsym:nF,makeSpan:xr,makeSvgSpan:O7,makeLineSpan:sF,makeAnchor:lF,makeFragment:M7,wrapFragment:cF,makeVList:dF,makeOrd:iF,makeGlue:hF,staticSvg:fF,svgData:R7,tryCombineChars:oF},pn={number:3,unit:"mu"},No={number:4,unit:"mu"},Xi={number:5,unit:"mu"},mF={mord:{mop:pn,mbin:No,mrel:Xi,minner:pn},mop:{mord:pn,mop:pn,mrel:Xi,minner:pn},mbin:{mord:No,mop:No,mopen:No,minner:No},mrel:{mord:Xi,mop:Xi,mopen:Xi,minner:Xi},mopen:{},mclose:{mop:pn,mbin:No,mrel:Xi,minner:pn},mpunct:{mord:pn,mop:pn,mrel:Xi,mopen:pn,mclose:pn,mpunct:pn,minner:pn},minner:{mord:pn,mop:pn,mbin:No,mrel:Xi,mopen:pn,mpunct:pn,minner:pn}},pF={mord:{mop:pn},mop:{mord:pn,mop:pn},mbin:{},mrel:{},mopen:{},mclose:{mop:pn},mpunct:{},minner:{mop:pn}},L7={},X0={},Q0={};function Re(e){for(var{type:t,names:n,props:r,handler:i,htmlBuilder:a,mathmlBuilder:o}=e,s={type:t,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:r.allowedInMath===void 0?!0:r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:i},l=0;l<n.length;++l)L7[n[l]]=s;t&&(a&&(X0[t]=a),o&&(Q0[t]=o))}function Jo(e){var{type:t,htmlBuilder:n,mathmlBuilder:r}=e;Re({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:r})}var Z0=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},wn=function(t){return t.type==="ordgroup"?t.body:[t]},ga=Y.makeSpan,gF=["leftmost","mbin","mopen","mrel","mop","mpunct"],bF=["rightmost","mrel","mclose","mpunct"],vF={display:Ze.DISPLAY,text:Ze.TEXT,script:Ze.SCRIPT,scriptscript:Ze.SCRIPTSCRIPT},yF={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Fn=function(t,n,r,i){i===void 0&&(i=[null,null]);for(var a=[],o=0;o<t.length;o++){var s=Lt(t[o],n);if(s instanceof E1){var l=s.children;a.push(...l)}else a.push(s)}if(Y.tryCombineChars(a),!r)return a;var c=n;if(t.length===1){var u=t[0];u.type==="sizing"?c=n.havingSize(u.size):u.type==="styling"&&(c=n.havingStyle(vF[u.style]))}var d=ga([i[0]||"leftmost"],[],n),f=ga([i[1]||"rightmost"],[],n),h=r==="root";return O9(a,(m,p)=>{var b=p.classes[0],v=m.classes[0];b==="mbin"&&it.contains(bF,v)?p.classes[0]="mord":v==="mbin"&&it.contains(gF,b)&&(m.classes[0]="mord")},{node:d},f,h),O9(a,(m,p)=>{var b=eh(p),v=eh(m),x=b&&v?m.hasClass("mtight")?pF[b][v]:mF[b][v]:null;if(x)return Y.makeGlue(x,c)},{node:d},f,h),a},O9=function e(t,n,r,i,a){i&&t.push(i);for(var o=0;o<t.length;o++){var s=t[o],l=D7(s);if(l){e(l.children,n,r,null,a);continue}var c=!s.hasClass("mspace");if(c){var u=n(s,r.node);u&&(r.insertAfter?r.insertAfter(u):(t.unshift(u),o++))}c?r.node=s:a&&s.hasClass("newline")&&(r.node=ga(["leftmost"])),r.insertAfter=(d=>f=>{t.splice(d+1,0,f),o++})(o)}i&&t.pop()},D7=function(t){return t instanceof E1||t instanceof Af||t instanceof _1&&t.hasClass("enclosing")?t:null},TF=function e(t,n){var r=D7(t);if(r){var i=r.children;if(i.length){if(n==="right")return e(i[i.length-1],"right");if(n==="left")return e(i[0],"left")}}return t},eh=function(t,n){return t?(n&&(t=TF(t,n)),yF[t.classes[0]]||null):null},t1=function(t,n){var r=["nulldelimiter"].concat(t.baseSizingClasses());return ga(n.concat(r))},Lt=function(t,n,r){if(!t)return ga();if(X0[t.type]){var i=X0[t.type](t,n);if(r&&n.size!==r.size){i=ga(n.sizingClasses(r),[i],n);var a=n.sizeMultiplier/r.sizeMultiplier;i.height*=a,i.depth*=a}return i}else throw new ve("Got group of unknown type: '"+t.type+"'")};function l0(e,t){var n=ga(["base"],e,t),r=ga(["strut"]);return r.style.height=we(n.height+n.depth),n.depth&&(r.style.verticalAlign=we(-n.depth)),n.children.unshift(r),n}function th(e,t){var n=null;e.length===1&&e[0].type==="tag"&&(n=e[0].tag,e=e[0].body);var r=Fn(e,t,"root"),i;r.length===2&&r[1].hasClass("tag")&&(i=r.pop());for(var a=[],o=[],s=0;s<r.length;s++)if(o.push(r[s]),r[s].hasClass("mbin")||r[s].hasClass("mrel")||r[s].hasClass("allowbreak")){for(var l=!1;s<r.length-1&&r[s+1].hasClass("mspace")&&!r[s+1].hasClass("newline");)s++,o.push(r[s]),r[s].hasClass("nobreak")&&(l=!0);l||(a.push(l0(o,t)),o=[])}else r[s].hasClass("newline")&&(o.pop(),o.length>0&&(a.push(l0(o,t)),o=[]),a.push(r[s]));o.length>0&&a.push(l0(o,t));var c;n?(c=l0(Fn(n,t,!0)),c.classes=["tag"],a.push(c)):i&&a.push(i);var u=ga(["katex-html"],a);if(u.setAttribute("aria-hidden","true"),c){var d=c.children[0];d.style.height=we(u.height+u.depth),u.depth&&(d.style.verticalAlign=we(-u.depth))}return u}function P7(e){return new E1(e)}class qr{constructor(t,n,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=n||[],this.classes=r||[]}setAttribute(t,n){this.attributes[t]=n}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);this.classes.length>0&&(t.className=eo(this.classes));for(var r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t}toMarkup(){var t="<"+this.type;for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="',t+=it.escape(this.attributes[n]),t+='"');this.classes.length>0&&(t+=' class ="'+it.escape(eo(this.classes))+'"'),t+=">";for(var r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class Gl{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return it.escape(this.toText())}toText(){return this.text}}class EF{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character="\u200A":t>=.1666&&t<=.1667?this.character="\u2009":t>=.2222&&t<=.2223?this.character="\u2005":t>=.2777&&t<=.2778?this.character="\u2005\u200A":t>=-.05556&&t<=-.05555?this.character="\u200A\u2063":t>=-.1667&&t<=-.1666?this.character="\u2009\u2063":t>=-.2223&&t<=-.2222?this.character="\u205F\u2063":t>=-.2778&&t<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",we(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+we(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var pe={MathNode:qr,TextNode:Gl,SpaceNode:EF,newDocumentFragment:P7},Zr=function(t,n,r){return rn[n][t]&&rn[n][t].replace&&t.charCodeAt(0)!==55349&&!(N7.hasOwnProperty(t)&&r&&(r.fontFamily&&r.fontFamily.slice(4,6)==="tt"||r.font&&r.font.slice(4,6)==="tt"))&&(t=rn[n][t].replace),new pe.TextNode(t)},Nf=function(t){return t.length===1?t[0]:new pe.MathNode("mrow",t)},Of=function(t,n){if(n.fontFamily==="texttt")return"monospace";if(n.fontFamily==="textsf")return n.fontShape==="textit"&&n.fontWeight==="textbf"?"sans-serif-bold-italic":n.fontShape==="textit"?"sans-serif-italic":n.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(n.fontShape==="textit"&&n.fontWeight==="textbf")return"bold-italic";if(n.fontShape==="textit")return"italic";if(n.fontWeight==="textbf")return"bold";var r=n.font;if(!r||r==="mathnormal")return null;var i=t.mode;if(r==="mathit")return"italic";if(r==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(r==="mathbf")return"bold";if(r==="mathbb")return"double-struck";if(r==="mathfrak")return"fraktur";if(r==="mathscr"||r==="mathcal")return"script";if(r==="mathsf")return"sans-serif";if(r==="mathtt")return"monospace";var a=t.text;if(it.contains(["\\imath","\\jmath"],a))return null;rn[i][a]&&rn[i][a].replace&&(a=rn[i][a].replace);var o=Y.fontMap[r].fontName;return Cf(a,o,i)?Y.fontMap[r].variant:null},wr=function(t,n,r){if(t.length===1){var i=Zt(t[0],n);return r&&i instanceof qr&&i.type==="mo"&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var a=[],o,s=0;s<t.length;s++){var l=Zt(t[s],n);if(l instanceof qr&&o instanceof qr){if(l.type==="mtext"&&o.type==="mtext"&&l.getAttribute("mathvariant")===o.getAttribute("mathvariant")){o.children.push(...l.children);continue}else if(l.type==="mn"&&o.type==="mn"){o.children.push(...l.children);continue}else if(l.type==="mi"&&l.children.length===1&&o.type==="mn"){var c=l.children[0];if(c instanceof Gl&&c.text==="."){o.children.push(...l.children);continue}}else if(o.type==="mi"&&o.children.length===1){var u=o.children[0];if(u instanceof Gl&&u.text==="\u0338"&&(l.type==="mo"||l.type==="mi"||l.type==="mn")){var d=l.children[0];d instanceof Gl&&d.text.length>0&&(d.text=d.text.slice(0,1)+"\u0338"+d.text.slice(1),a.pop())}}}a.push(l),o=l}return a},no=function(t,n,r){return Nf(wr(t,n,r))},Zt=function(t,n){if(!t)return new pe.MathNode("mrow");if(Q0[t.type]){var r=Q0[t.type](t,n);return r}else throw new ve("Got group of unknown type: '"+t.type+"'")};function M9(e,t,n,r,i){var a=wr(e,n),o;a.length===1&&a[0]instanceof qr&&it.contains(["mrow","mtable"],a[0].type)?o=a[0]:o=new pe.MathNode("mrow",a);var s=new pe.MathNode("annotation",[new pe.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var l=new pe.MathNode("semantics",[o,s]),c=new pe.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&c.setAttribute("display","block");var u=i?"katex":"katex-mathml";return Y.makeSpan([u],[c])}var $7=function(t){return new ea({style:t.displayMode?Ze.DISPLAY:Ze.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},B7=function(t,n){if(n.displayMode){var r=["katex-display"];n.leqno&&r.push("leqno"),n.fleqn&&r.push("fleqn"),t=Y.makeSpan(r,[t])}return t},_F=function(t,n,r){var i=$7(r),a;if(r.output==="mathml")return M9(t,n,i,r.displayMode,!0);if(r.output==="html"){var o=th(t,i);a=Y.makeSpan(["katex"],[o])}else{var s=M9(t,n,i,r.displayMode,!1),l=th(t,i);a=Y.makeSpan(["katex"],[s,l])}return B7(a,r)},xF=function(t,n,r){var i=$7(r),a=th(t,i),o=Y.makeSpan(["katex"],[a]);return B7(o,r)},SF={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},wF=function(t){var n=new pe.MathNode("mo",[new pe.TextNode(SF[t.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},CF={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},AF=function(t){return t.type==="ordgroup"?t.body.length:1},kF=function(t,n){function r(){var s=4e5,l=t.label.slice(1);if(it.contains(["widehat","widecheck","widetilde","utilde"],l)){var c=t,u=AF(c.base),d,f,h;if(u>5)l==="widehat"||l==="widecheck"?(d=420,s=2364,h=.42,f=l+"4"):(d=312,s=2340,h=.34,f="tilde4");else{var m=[1,1,2,2,3,3][u];l==="widehat"||l==="widecheck"?(s=[0,1062,2364,2364,2364][m],d=[0,239,300,360,420][m],h=[0,.24,.3,.3,.36,.42][m],f=l+m):(s=[0,600,1033,2339,2340][m],d=[0,260,286,306,312][m],h=[0,.26,.286,.3,.306,.34][m],f="tilde"+m)}var p=new to(f),b=new pa([p],{width:"100%",height:we(h),viewBox:"0 0 "+s+" "+d,preserveAspectRatio:"none"});return{span:Y.makeSvgSpan([],[b],n),minWidth:0,height:h}}else{var v=[],x=CF[l],[_,D,I]=x,C=I/1e3,w=_.length,R,L;if(w===1){var Q=x[3];R=["hide-tail"],L=[Q]}else if(w===2)R=["halfarrow-left","halfarrow-right"],L=["xMinYMin","xMaxYMin"];else if(w===3)R=["brace-left","brace-center","brace-right"],L=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support `+w+" children.");for(var K=0;K<w;K++){var J=new to(_[K]),oe=new pa([J],{width:"400em",height:we(C),viewBox:"0 0 "+s+" "+I,preserveAspectRatio:L[K]+" slice"}),se=Y.makeSvgSpan([R[K]],[oe],n);if(w===1)return{span:se,minWidth:D,height:C};se.style.height=we(C),v.push(se)}return{span:Y.makeSpan(["stretchy"],v,n),minWidth:D,height:C}}}var{span:i,minWidth:a,height:o}=r();return i.height=o,i.style.height=we(o),a>0&&(i.style.minWidth=we(a)),i},NF=function(t,n,r,i,a){var o,s=t.height+t.depth+r+i;if(/fbox|color|angl/.test(n)){if(o=Y.makeSpan(["stretchy",n],[],a),n==="fbox"){var l=a.color&&a.getColor();l&&(o.style.borderColor=l)}}else{var c=[];/^[bx]cancel$/.test(n)&&c.push(new Zd({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&c.push(new Zd({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var u=new pa(c,{width:"100%",height:we(s)});o=Y.makeSvgSpan([],[u],a)}return o.height=s,o.style.height=we(s),o},ba={encloseSpan:NF,mathMLnode:wF,svgSpan:kF};function pt(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function Mf(e){var t=jc(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function jc(e){return e&&(e.type==="atom"||eF.hasOwnProperty(e.type))?e:null}var If=(e,t)=>{var n,r,i;e&&e.type==="supsub"?(r=pt(e.base,"accent"),n=r.base,e.base=n,i=ZB(Lt(e,t)),e.base=r):(r=pt(e,"accent"),n=r.base);var a=Lt(n,t.havingCrampedStyle()),o=r.isShifty&&it.isCharacterBox(n),s=0;if(o){var l=it.getBaseElem(n),c=Lt(l,t.havingCrampedStyle());s=S9(c).skew}var u=r.label==="\\c",d=u?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight),f;if(r.isStretchy)f=ba.svgSpan(r,t),f=Y.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:f,wrapperClasses:["svg-align"],wrapperStyle:s>0?{width:"calc(100% - "+we(2*s)+")",marginLeft:we(2*s)}:void 0}]},t);else{var h,m;r.label==="\\vec"?(h=Y.staticSvg("vec",t),m=Y.svgData.vec[1]):(h=Y.makeOrd({mode:r.mode,text:r.label},t,"textord"),h=S9(h),h.italic=0,m=h.width,u&&(d+=h.depth)),f=Y.makeSpan(["accent-body"],[h]);var p=r.label==="\\textcircled";p&&(f.classes.push("accent-full"),d=a.height);var b=s;p||(b-=m/2),f.style.left=we(b),r.label==="\\textcircled"&&(f.style.top=".2em"),f=Y.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-d},{type:"elem",elem:f}]},t)}var v=Y.makeSpan(["mord","accent"],[f],t);return i?(i.children[0]=v,i.height=Math.max(v.height,i.height),i.classes[0]="mord",i):v},F7=(e,t)=>{var n=e.isStretchy?ba.mathMLnode(e.label):new pe.MathNode("mo",[Zr(e.label,e.mode)]),r=new pe.MathNode("mover",[Zt(e.base,t),n]);return r.setAttribute("accent","true"),r},OF=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Re({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var n=Z0(t[0]),r=!OF.test(e.funcName),i=!r||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:If,mathmlBuilder:F7});Re({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var n=t[0],r=e.parser.mode;return r==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:If,mathmlBuilder:F7});Re({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:i}},htmlBuilder:(e,t)=>{var n=Lt(e.base,t),r=ba.svgSpan(e,t),i=e.label==="\\utilde"?.12:0,a=Y.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:n}]},t);return Y.makeSpan(["mord","accentunder"],[a],t)},mathmlBuilder:(e,t)=>{var n=ba.mathMLnode(e.label),r=new pe.MathNode("munder",[Zt(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var c0=e=>{var t=new pe.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Re({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r,funcName:i}=e;return{type:"xArrow",mode:r.mode,label:i,body:t[0],below:n[0]}},htmlBuilder(e,t){var n=t.style,r=t.havingStyle(n.sup()),i=Y.wrapFragment(Lt(e.body,r,t),t),a=e.label.slice(0,2)==="\\x"?"x":"cd";i.classes.push(a+"-arrow-pad");var o;e.below&&(r=t.havingStyle(n.sub()),o=Y.wrapFragment(Lt(e.below,r,t),t),o.classes.push(a+"-arrow-pad"));var s=ba.svgSpan(e,t),l=-t.fontMetrics().axisHeight+.5*s.height,c=-t.fontMetrics().axisHeight-.5*s.height-.111;(i.depth>.25||e.label==="\\xleftequilibrium")&&(c-=i.depth);var u;if(o){var d=-t.fontMetrics().axisHeight+o.height+.5*s.height+.111;u=Y.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:s,shift:l},{type:"elem",elem:o,shift:d}]},t)}else u=Y.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:s,shift:l}]},t);return u.children[0].children[0].children[1].classes.push("svg-align"),Y.makeSpan(["mrel","x-arrow"],[u],t)},mathmlBuilder(e,t){var n=ba.mathMLnode(e.label);n.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var r;if(e.body){var i=c0(Zt(e.body,t));if(e.below){var a=c0(Zt(e.below,t));r=new pe.MathNode("munderover",[n,a,i])}else r=new pe.MathNode("mover",[n,i])}else if(e.below){var o=c0(Zt(e.below,t));r=new pe.MathNode("munder",[n,o])}else r=c0(),r=new pe.MathNode("mover",[n,r]);return r}});var MF=Y.makeSpan;function z7(e,t){var n=Fn(e.body,t,!0);return MF([e.mclass],n,t)}function H7(e,t){var n,r=wr(e.body,t);return e.mclass==="minner"?n=new pe.MathNode("mpadded",r):e.mclass==="mord"?e.isCharacterBox?(n=r[0],n.type="mi"):n=new pe.MathNode("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new pe.MathNode("mo",r),e.mclass==="mbin"?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):e.mclass==="mpunct"?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(n.attributes.lspace="0em",n.attributes.rspace="0em"):e.mclass==="minner"&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}Re({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:wn(i),isCharacterBox:it.isCharacterBox(i)}},htmlBuilder:z7,mathmlBuilder:H7});var Gc=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};Re({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:Gc(t[0]),body:wn(t[1]),isCharacterBox:it.isCharacterBox(t[1])}}});Re({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:n,funcName:r}=e,i=t[1],a=t[0],o;r!=="\\stackrel"?o=Gc(i):o="mrel";var s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!=="\\stackrel",body:wn(i)},l={type:"supsub",mode:a.mode,base:s,sup:r==="\\underset"?null:a,sub:r==="\\underset"?a:null};return{type:"mclass",mode:n.mode,mclass:o,body:[l],isCharacterBox:it.isCharacterBox(l)}},htmlBuilder:z7,mathmlBuilder:H7});Re({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:Gc(t[0]),body:wn(t[0])}},htmlBuilder(e,t){var n=Fn(e.body,t,!0),r=Y.makeSpan([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(e,t){var n=wr(e.body,t),r=new pe.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var IF={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},I9=()=>({type:"styling",body:[],mode:"math",style:"display"}),R9=e=>e.type==="textord"&&e.text==="@",RF=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function LF(e,t,n){var r=IF[e];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var i=n.callFunction("\\\\cdleft",[t[0]],[]),a={type:"atom",text:r,mode:"math",family:"rel"},o=n.callFunction("\\Big",[a],[]),s=n.callFunction("\\\\cdright",[t[1]],[]),l={type:"ordgroup",mode:"math",body:[i,o,s]};return n.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var c={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[c],[])}default:return{type:"textord",text:" ",mode:"math"}}}function DF(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var n=e.fetch().text;if(n==="&"||n==="\\\\")e.consume();else if(n==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new ve("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var r=[],i=[r],a=0;a<t.length;a++){for(var o=t[a],s=I9(),l=0;l<o.length;l++)if(!R9(o[l]))s.body.push(o[l]);else{r.push(s),l+=1;var c=Mf(o[l]).text,u=new Array(2);if(u[0]={type:"ordgroup",mode:"math",body:[]},u[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(c)>-1))if("<>AV".indexOf(c)>-1)for(var d=0;d<2;d++){for(var f=!0,h=l+1;h<o.length;h++){if(RF(o[h],c)){f=!1,l=h;break}if(R9(o[h]))throw new ve("Missing a "+c+" character to complete a CD arrow.",o[h]);u[d].body.push(o[h])}if(f)throw new ve("Missing a "+c+" character to complete a CD arrow.",o[l])}else throw new ve('Expected one of "<>AV=|." after @',o[l]);var m=LF(c,u,e),p={type:"styling",body:[m],mode:"math",style:"display"};r.push(p),s=I9()}a%2===0?r.push(s):r.shift(),r=[],i.push(r)}e.gullet.endGroup(),e.gullet.endGroup();var b=new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:b,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}Re({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"cdlabel",mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){var n=t.havingStyle(t.style.sup()),r=Y.wrapFragment(Lt(e.label,n,t),t);return r.classes.push("cd-label-"+e.side),r.style.bottom=we(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new pe.MathNode("mrow",[Zt(e.label,t)]);return n=new pe.MathNode("mpadded",[n]),n.setAttribute("width","0"),e.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new pe.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}});Re({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:n}=e;return{type:"cdlabelparent",mode:n.mode,fragment:t[0]}},htmlBuilder(e,t){var n=Y.wrapFragment(Lt(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(e,t){return new pe.MathNode("mrow",[Zt(e.fragment,t)])}});Re({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,r=pt(t[0],"ordgroup"),i=r.body,a="",o=0;o<i.length;o++){var s=pt(i[o],"textord");a+=s.text}var l=parseInt(a),c;if(isNaN(l))throw new ve("\\@char has non-numeric argument "+a);if(l<0||l>=1114111)throw new ve("\\@char with invalid code point "+a);return l<=65535?c=String.fromCharCode(l):(l-=65536,c=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:n.mode,text:c}}});var U7=(e,t)=>{var n=Fn(e.body,t.withColor(e.color),!1);return Y.makeFragment(n)},j7=(e,t)=>{var n=wr(e.body,t.withColor(e.color)),r=new pe.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};Re({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:n}=e,r=pt(t[0],"color-token").color,i=t[1];return{type:"color",mode:n.mode,color:r,body:wn(i)}},htmlBuilder:U7,mathmlBuilder:j7});Re({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:n,breakOnTokenText:r}=e,i=pt(t[0],"color-token").color;n.gullet.macros.set("\\current@color",i);var a=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:i,body:a}},htmlBuilder:U7,mathmlBuilder:j7});Re({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){var{parser:r}=e,i=r.gullet.future().text==="["?r.parseSizeGroup(!0):null,a=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:a,size:i&&pt(i,"size").value}},htmlBuilder(e,t){var n=Y.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=we(gn(e.size,t)))),n},mathmlBuilder(e,t){var n=new pe.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",we(gn(e.size,t)))),n}});var nh={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},G7=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new ve("Expected a control sequence",e);return t},PF=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},q7=(e,t,n,r)=>{var i=e.gullet.macros.get(n.text);i==null&&(n.noexpand=!0,i={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,i,r)};Re({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:n}=e;t.consumeSpaces();var r=t.fetch();if(nh[r.text])return(n==="\\global"||n==="\\\\globallong")&&(r.text=nh[r.text]),pt(t.parseFunction(),"internal");throw new ve("Invalid token after macro prefix",r)}});Re({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=t.gullet.popToken(),i=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new ve("Expected a control sequence",r);for(var a=0,o,s=[[]];t.gullet.future().text!=="{";)if(r=t.gullet.popToken(),r.text==="#"){if(t.gullet.future().text==="{"){o=t.gullet.future(),s[a].push("{");break}if(r=t.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new ve('Invalid argument number "'+r.text+'"');if(parseInt(r.text)!==a+1)throw new ve('Argument number "'+r.text+'" out of order');a++,s.push([])}else{if(r.text==="EOF")throw new ve("Expected a macro definition");s[a].push(r.text)}var{tokens:l}=t.gullet.consumeArg();return o&&l.unshift(o),(n==="\\edef"||n==="\\xdef")&&(l=t.gullet.expandTokens(l),l.reverse()),t.gullet.macros.set(i,{tokens:l,numArgs:a,delimiters:s},n===nh[n]),{type:"internal",mode:t.mode}}});Re({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=G7(t.gullet.popToken());t.gullet.consumeSpaces();var i=PF(t);return q7(t,r,i,n==="\\\\globallet"),{type:"internal",mode:t.mode}}});Re({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=G7(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return q7(t,r,a,n==="\\\\globalfuture"),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});var Cl=function(t,n,r){var i=rn.math[t]&&rn.math[t].replace,a=Cf(i||t,n,r);if(!a)throw new Error("Unsupported symbol "+t+" and font size "+n+".");return a},Rf=function(t,n,r,i){var a=r.havingBaseStyle(n),o=Y.makeSpan(i.concat(a.sizingClasses(r)),[t],r),s=a.sizeMultiplier/r.sizeMultiplier;return o.height*=s,o.depth*=s,o.maxFontSize=a.sizeMultiplier,o},W7=function(t,n,r){var i=n.havingBaseStyle(r),a=(1-n.sizeMultiplier/i.sizeMultiplier)*n.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=we(a),t.height-=a,t.depth+=a},$F=function(t,n,r,i,a,o){var s=Y.makeSymbol(t,"Main-Regular",a,i),l=Rf(s,n,i,o);return r&&W7(l,i,n),l},BF=function(t,n,r,i){return Y.makeSymbol(t,"Size"+n+"-Regular",r,i)},K7=function(t,n,r,i,a,o){var s=BF(t,n,a,i),l=Rf(Y.makeSpan(["delimsizing","size"+n],[s],i),Ze.TEXT,i,o);return r&&W7(l,i,Ze.TEXT),l},Zu=function(t,n,r){var i;n==="Size1-Regular"?i="delim-size1":i="delim-size4";var a=Y.makeSpan(["delimsizinginner",i],[Y.makeSpan([],[Y.makeSymbol(t,n,r)])]);return{type:"elem",elem:a}},Ju=function(t,n,r){var i=Ii["Size4-Regular"][t.charCodeAt(0)]?Ii["Size4-Regular"][t.charCodeAt(0)][4]:Ii["Size1-Regular"][t.charCodeAt(0)][4],a=new to("inner",GB(t,Math.round(1e3*n))),o=new pa([a],{width:we(i),height:we(n),style:"width:"+we(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),s=Y.makeSvgSpan([],[o],r);return s.height=n,s.style.height=we(n),s.style.width=we(i),{type:"elem",elem:s}},rh=.008,u0={type:"kern",size:-1*rh},FF=["|","\\lvert","\\rvert","\\vert"],zF=["\\|","\\lVert","\\rVert","\\Vert"],V7=function(t,n,r,i,a,o){var s,l,c,u,d="",f=0;s=c=u=t,l=null;var h="Size1-Regular";t==="\\uparrow"?c=u="\u23D0":t==="\\Uparrow"?c=u="\u2016":t==="\\downarrow"?s=c="\u23D0":t==="\\Downarrow"?s=c="\u2016":t==="\\updownarrow"?(s="\\uparrow",c="\u23D0",u="\\downarrow"):t==="\\Updownarrow"?(s="\\Uparrow",c="\u2016",u="\\Downarrow"):it.contains(FF,t)?(c="\u2223",d="vert",f=333):it.contains(zF,t)?(c="\u2225",d="doublevert",f=556):t==="["||t==="\\lbrack"?(s="\u23A1",c="\u23A2",u="\u23A3",h="Size4-Regular",d="lbrack",f=667):t==="]"||t==="\\rbrack"?(s="\u23A4",c="\u23A5",u="\u23A6",h="Size4-Regular",d="rbrack",f=667):t==="\\lfloor"||t==="\u230A"?(c=s="\u23A2",u="\u23A3",h="Size4-Regular",d="lfloor",f=667):t==="\\lceil"||t==="\u2308"?(s="\u23A1",c=u="\u23A2",h="Size4-Regular",d="lceil",f=667):t==="\\rfloor"||t==="\u230B"?(c=s="\u23A5",u="\u23A6",h="Size4-Regular",d="rfloor",f=667):t==="\\rceil"||t==="\u2309"?(s="\u23A4",c=u="\u23A5",h="Size4-Regular",d="rceil",f=667):t==="("||t==="\\lparen"?(s="\u239B",c="\u239C",u="\u239D",h="Size4-Regular",d="lparen",f=875):t===")"||t==="\\rparen"?(s="\u239E",c="\u239F",u="\u23A0",h="Size4-Regular",d="rparen",f=875):t==="\\{"||t==="\\lbrace"?(s="\u23A7",l="\u23A8",u="\u23A9",c="\u23AA",h="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(s="\u23AB",l="\u23AC",u="\u23AD",c="\u23AA",h="Size4-Regular"):t==="\\lgroup"||t==="\u27EE"?(s="\u23A7",u="\u23A9",c="\u23AA",h="Size4-Regular"):t==="\\rgroup"||t==="\u27EF"?(s="\u23AB",u="\u23AD",c="\u23AA",h="Size4-Regular"):t==="\\lmoustache"||t==="\u23B0"?(s="\u23A7",u="\u23AD",c="\u23AA",h="Size4-Regular"):(t==="\\rmoustache"||t==="\u23B1")&&(s="\u23AB",u="\u23A9",c="\u23AA",h="Size4-Regular");var m=Cl(s,h,a),p=m.height+m.depth,b=Cl(c,h,a),v=b.height+b.depth,x=Cl(u,h,a),_=x.height+x.depth,D=0,I=1;if(l!==null){var C=Cl(l,h,a);D=C.height+C.depth,I=2}var w=p+_+D,R=Math.max(0,Math.ceil((n-w)/(I*v))),L=w+R*I*v,Q=i.fontMetrics().axisHeight;r&&(Q*=i.sizeMultiplier);var K=L/2-Q,J=[];if(d.length>0){var oe=L-p-_,se=Math.round(L*1e3),de=qB(d,Math.round(oe*1e3)),U=new to(d,de),De=(f/1e3).toFixed(3)+"em",ne=(se/1e3).toFixed(3)+"em",Ge=new pa([U],{width:De,height:ne,viewBox:"0 0 "+f+" "+se}),Ne=Y.makeSvgSpan([],[Ge],i);Ne.height=se/1e3,Ne.style.width=De,Ne.style.height=ne,J.push({type:"elem",elem:Ne})}else{if(J.push(Zu(u,h,a)),J.push(u0),l===null){var N=L-p-_+2*rh;J.push(Ju(c,N,i))}else{var P=(L-p-_-D)/2+2*rh;J.push(Ju(c,P,i)),J.push(u0),J.push(Zu(l,h,a)),J.push(u0),J.push(Ju(c,P,i))}J.push(u0),J.push(Zu(s,h,a))}var be=i.havingBaseStyle(Ze.TEXT),Ve=Y.makeVList({positionType:"bottom",positionData:K,children:J},be);return Rf(Y.makeSpan(["delimsizing","mult"],[Ve],be),Ze.TEXT,i,o)},ed=80,td=.08,nd=function(t,n,r,i,a){var o=jB(t,i,r),s=new to(t,o),l=new pa([s],{width:"400em",height:we(n),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return Y.makeSvgSpan(["hide-tail"],[l],a)},HF=function(t,n){var r=n.havingBaseSizing(),i=Z7("\\surd",t*r.sizeMultiplier,Q7,r),a=r.sizeMultiplier,o=Math.max(0,n.minRuleThickness-n.fontMetrics().sqrtRuleThickness),s,l=0,c=0,u=0,d;return i.type==="small"?(u=1e3+1e3*o+ed,t<1?a=1:t<1.4&&(a=.7),l=(1+o+td)/a,c=(1+o)/a,s=nd("sqrtMain",l,u,o,n),s.style.minWidth="0.853em",d=.833/a):i.type==="large"?(u=(1e3+ed)*ql[i.size],c=(ql[i.size]+o)/a,l=(ql[i.size]+o+td)/a,s=nd("sqrtSize"+i.size,l,u,o,n),s.style.minWidth="1.02em",d=1/a):(l=t+o+td,c=t+o,u=Math.floor(1e3*t+o)+ed,s=nd("sqrtTall",l,u,o,n),s.style.minWidth="0.742em",d=1.056),s.height=c,s.style.height=we(l),{span:s,advanceWidth:d,ruleWidth:(n.fontMetrics().sqrtRuleThickness+o)*a}},Y7=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],UF=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],X7=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],ql=[0,1.2,1.8,2.4,3],jF=function(t,n,r,i,a){if(t==="<"||t==="\\lt"||t==="\u27E8"?t="\\langle":(t===">"||t==="\\gt"||t==="\u27E9")&&(t="\\rangle"),it.contains(Y7,t)||it.contains(X7,t))return K7(t,n,!1,r,i,a);if(it.contains(UF,t))return V7(t,ql[n],!1,r,i,a);throw new ve("Illegal delimiter: '"+t+"'")},GF=[{type:"small",style:Ze.SCRIPTSCRIPT},{type:"small",style:Ze.SCRIPT},{type:"small",style:Ze.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],qF=[{type:"small",style:Ze.SCRIPTSCRIPT},{type:"small",style:Ze.SCRIPT},{type:"small",style:Ze.TEXT},{type:"stack"}],Q7=[{type:"small",style:Ze.SCRIPTSCRIPT},{type:"small",style:Ze.SCRIPT},{type:"small",style:Ze.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],WF=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},Z7=function(t,n,r,i){for(var a=Math.min(2,3-i.style.size),o=a;o<r.length&&r[o].type!=="stack";o++){var s=Cl(t,WF(r[o]),"math"),l=s.height+s.depth;if(r[o].type==="small"){var c=i.havingBaseStyle(r[o].style);l*=c.sizeMultiplier}if(l>n)return r[o]}return r[r.length-1]},J7=function(t,n,r,i,a,o){t==="<"||t==="\\lt"||t==="\u27E8"?t="\\langle":(t===">"||t==="\\gt"||t==="\u27E9")&&(t="\\rangle");var s;it.contains(X7,t)?s=GF:it.contains(Y7,t)?s=Q7:s=qF;var l=Z7(t,n,s,i);return l.type==="small"?$F(t,l.style,r,i,a,o):l.type==="large"?K7(t,l.size,r,i,a,o):V7(t,n,r,i,a,o)},KF=function(t,n,r,i,a,o){var s=i.fontMetrics().axisHeight*i.sizeMultiplier,l=901,c=5/i.fontMetrics().ptPerEm,u=Math.max(n-s,r+s),d=Math.max(u/500*l,2*u-c);return J7(t,d,!0,i,a,o)},ua={sqrtImage:HF,sizedDelim:jF,sizeToMaxHeight:ql,customSizedDelim:J7,leftRightDelim:KF},L9={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},VF=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function qc(e,t){var n=jc(e);if(n&&it.contains(VF,n.text))return n;throw n?new ve("Invalid delimiter '"+n.text+"' after '"+t.funcName+"'",e):new ve("Invalid delimiter type '"+e.type+"'",e)}Re({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var n=qc(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:L9[e.funcName].size,mclass:L9[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim==="."?Y.makeSpan([e.mclass]):ua.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(Zr(e.delim,e.mode));var n=new pe.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var r=we(ua.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}});function D9(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Re({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=e.parser.gullet.macros.get("\\current@color");if(n&&typeof n!="string")throw new ve("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:qc(t[0],e).text,color:n}}});Re({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=qc(t[0],e),r=e.parser;++r.leftrightDepth;var i=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var a=pt(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:i,left:n.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{D9(e);for(var n=Fn(e.body,t,!0,["mopen","mclose"]),r=0,i=0,a=!1,o=0;o<n.length;o++)n[o].isMiddle?a=!0:(r=Math.max(n[o].height,r),i=Math.max(n[o].depth,i));r*=t.sizeMultiplier,i*=t.sizeMultiplier;var s;if(e.left==="."?s=t1(t,["mopen"]):s=ua.leftRightDelim(e.left,r,i,t,e.mode,["mopen"]),n.unshift(s),a)for(var l=1;l<n.length;l++){var c=n[l],u=c.isMiddle;u&&(n[l]=ua.leftRightDelim(u.delim,r,i,u.options,e.mode,[]))}var d;if(e.right===".")d=t1(t,["mclose"]);else{var f=e.rightColor?t.withColor(e.rightColor):t;d=ua.leftRightDelim(e.right,r,i,f,e.mode,["mclose"])}return n.push(d),Y.makeSpan(["minner"],n,t)},mathmlBuilder:(e,t)=>{D9(e);var n=wr(e.body,t);if(e.left!=="."){var r=new pe.MathNode("mo",[Zr(e.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if(e.right!=="."){var i=new pe.MathNode("mo",[Zr(e.right,e.mode)]);i.setAttribute("fence","true"),e.rightColor&&i.setAttribute("mathcolor",e.rightColor),n.push(i)}return Nf(n)}});Re({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=qc(t[0],e);if(!e.parser.leftrightDepth)throw new ve("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;if(e.delim===".")n=t1(t,[]);else{n=ua.sizedDelim(e.delim,1,t,e.mode,[]);var r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:(e,t)=>{var n=e.delim==="\\vert"||e.delim==="|"?Zr("|","text"):Zr(e.delim,e.mode),r=new pe.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});var Lf=(e,t)=>{var n=Y.wrapFragment(Lt(e.body,t),t),r=e.label.slice(1),i=t.sizeMultiplier,a,o=0,s=it.isCharacterBox(e.body);if(r==="sout")a=Y.makeSpan(["stretchy","sout"]),a.height=t.fontMetrics().defaultRuleThickness/i,o=-.5*t.fontMetrics().xHeight;else if(r==="phase"){var l=gn({number:.6,unit:"pt"},t),c=gn({number:.35,unit:"ex"},t),u=t.havingBaseSizing();i=i/u.sizeMultiplier;var d=n.height+n.depth+l+c;n.style.paddingLeft=we(d/2+l);var f=Math.floor(1e3*d*i),h=HB(f),m=new pa([new to("phase",h)],{width:"400em",height:we(f/1e3),viewBox:"0 0 400000 "+f,preserveAspectRatio:"xMinYMin slice"});a=Y.makeSvgSpan(["hide-tail"],[m],t),a.style.height=we(d),o=n.depth+l+c}else{/cancel/.test(r)?s||n.classes.push("cancel-pad"):r==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var p=0,b=0,v=0;/box/.test(r)?(v=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),p=t.fontMetrics().fboxsep+(r==="colorbox"?0:v),b=p):r==="angl"?(v=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),p=4*v,b=Math.max(0,.25-n.depth)):(p=s?.2:0,b=p),a=ba.encloseSpan(n,r,p,b,t),/fbox|boxed|fcolorbox/.test(r)?(a.style.borderStyle="solid",a.style.borderWidth=we(v)):r==="angl"&&v!==.049&&(a.style.borderTopWidth=we(v),a.style.borderRightWidth=we(v)),o=n.depth+b,e.backgroundColor&&(a.style.backgroundColor=e.backgroundColor,e.borderColor&&(a.style.borderColor=e.borderColor))}var x;if(e.backgroundColor)x=Y.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:o},{type:"elem",elem:n,shift:0}]},t);else{var _=/cancel|phase/.test(r)?["svg-align"]:[];x=Y.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:a,shift:o,wrapperClasses:_}]},t)}return/cancel/.test(r)&&(x.height=n.height,x.depth=n.depth),/cancel/.test(r)&&!s?Y.makeSpan(["mord","cancel-lap"],[x],t):Y.makeSpan(["mord"],[x],t)},Df=(e,t)=>{var n=0,r=new pe.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Zt(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),e.label==="\\fcolorbox"){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+i+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};Re({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){var{parser:r,funcName:i}=e,a=pt(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:r.mode,label:i,backgroundColor:a,body:o}},htmlBuilder:Lf,mathmlBuilder:Df});Re({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){var{parser:r,funcName:i}=e,a=pt(t[0],"color-token").color,o=pt(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:r.mode,label:i,backgroundColor:o,borderColor:a,body:s}},htmlBuilder:Lf,mathmlBuilder:Df});Re({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}});Re({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:"enclose",mode:n.mode,label:r,body:i}},htmlBuilder:Lf,mathmlBuilder:Df});Re({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\angl",body:t[0]}}});var eb={};function Fi(e){for(var{type:t,names:n,props:r,handler:i,htmlBuilder:a,mathmlBuilder:o}=e,s={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},l=0;l<n.length;++l)eb[n[l]]=s;a&&(X0[t]=a),o&&(Q0[t]=o)}var tb={};function k(e,t){tb[e]=t}function P9(e){var t=[];e.consumeSpaces();var n=e.fetch().text;for(n==="\\relax"&&(e.consume(),e.consumeSpaces(),n=e.fetch().text);n==="\\hline"||n==="\\hdashline";)e.consume(),t.push(n==="\\hdashline"),e.consumeSpaces(),n=e.fetch().text;return t}var Wc=e=>{var t=e.parser.settings;if(!t.displayMode)throw new ve("{"+e.envName+"} can be used only in display mode.")};function Pf(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function co(e,t,n){var{hskipBeforeAndAfter:r,addJot:i,cols:a,arraystretch:o,colSeparationType:s,autoTag:l,singleRow:c,emptySingleRow:u,maxNumCols:d,leqno:f}=t;if(e.gullet.beginGroup(),c||e.gullet.macros.set("\\cr","\\\\\\relax"),!o){var h=e.gullet.expandMacroAsText("\\arraystretch");if(h==null)o=1;else if(o=parseFloat(h),!o||o<0)throw new ve("Invalid \\arraystretch: "+h)}e.gullet.beginGroup();var m=[],p=[m],b=[],v=[],x=l!=null?[]:void 0;function _(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function D(){x&&(e.gullet.macros.get("\\df@tag")?(x.push(e.subparse([new Di("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):x.push(Boolean(l)&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(_(),v.push(P9(e));;){var I=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),I={type:"ordgroup",mode:e.mode,body:I},n&&(I={type:"styling",mode:e.mode,style:n,body:[I]}),m.push(I);var C=e.fetch().text;if(C==="&"){if(d&&m.length===d){if(c||s)throw new ve("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(C==="\\end"){D(),m.length===1&&I.type==="styling"&&I.body[0].body.length===0&&(p.length>1||!u)&&p.pop(),v.length<p.length+1&&v.push([]);break}else if(C==="\\\\"){e.consume();var w=void 0;e.gullet.future().text!==" "&&(w=e.parseSizeGroup(!0)),b.push(w?w.value:null),D(),v.push(P9(e)),m=[],p.push(m),_()}else throw new ve("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:i,arraystretch:o,body:p,cols:a,rowGaps:b,hskipBeforeAndAfter:r,hLinesBeforeRow:v,colSeparationType:s,tags:x,leqno:f}}function $f(e){return e.slice(0,1)==="d"?"display":"text"}var zi=function(t,n){var r,i,a=t.body.length,o=t.hLinesBeforeRow,s=0,l=new Array(a),c=[],u=Math.max(n.fontMetrics().arrayRuleWidth,n.minRuleThickness),d=1/n.fontMetrics().ptPerEm,f=5*d;if(t.colSeparationType&&t.colSeparationType==="small"){var h=n.havingStyle(Ze.SCRIPT).sizeMultiplier;f=.2778*(h/n.sizeMultiplier)}var m=t.colSeparationType==="CD"?gn({number:3,unit:"ex"},n):12*d,p=3*d,b=t.arraystretch*m,v=.7*b,x=.3*b,_=0;function D(Hn){for(var qn=0;qn<Hn.length;++qn)qn>0&&(_+=.25),c.push({pos:_,isDashed:Hn[qn]})}for(D(o[0]),r=0;r<t.body.length;++r){var I=t.body[r],C=v,w=x;s<I.length&&(s=I.length);var R=new Array(I.length);for(i=0;i<I.length;++i){var L=Lt(I[i],n);w<L.depth&&(w=L.depth),C<L.height&&(C=L.height),R[i]=L}var Q=t.rowGaps[r],K=0;Q&&(K=gn(Q,n),K>0&&(K+=x,w<K&&(w=K),K=0)),t.addJot&&(w+=p),R.height=C,R.depth=w,_+=C,R.pos=_,_+=w+K,l[r]=R,D(o[r+1])}var J=_/2+n.fontMetrics().axisHeight,oe=t.cols||[],se=[],de,U,De=[];if(t.tags&&t.tags.some(Hn=>Hn))for(r=0;r<a;++r){var ne=l[r],Ge=ne.pos-J,Ne=t.tags[r],N=void 0;Ne===!0?N=Y.makeSpan(["eqn-num"],[],n):Ne===!1?N=Y.makeSpan([],[],n):N=Y.makeSpan([],Fn(Ne,n,!0),n),N.depth=ne.depth,N.height=ne.height,De.push({type:"elem",elem:N,shift:Ge})}for(i=0,U=0;i<s||U<oe.length;++i,++U){for(var P=oe[U]||{},be=!0;P.type==="separator";){if(be||(de=Y.makeSpan(["arraycolsep"],[]),de.style.width=we(n.fontMetrics().doubleRuleSep),se.push(de)),P.separator==="|"||P.separator===":"){var Ve=P.separator==="|"?"solid":"dashed",Et=Y.makeSpan(["vertical-separator"],[],n);Et.style.height=we(_),Et.style.borderRightWidth=we(u),Et.style.borderRightStyle=Ve,Et.style.margin="0 "+we(-u/2);var ht=_-J;ht&&(Et.style.verticalAlign=we(-ht)),se.push(Et)}else throw new ve("Invalid separator type: "+P.separator);U++,P=oe[U]||{},be=!1}if(!(i>=s)){var st=void 0;(i>0||t.hskipBeforeAndAfter)&&(st=it.deflt(P.pregap,f),st!==0&&(de=Y.makeSpan(["arraycolsep"],[]),de.style.width=we(st),se.push(de)));var ft=[];for(r=0;r<a;++r){var Ct=l[r],ae=Ct[i];if(!!ae){var Me=Ct.pos-J;ae.depth=Ct.depth,ae.height=Ct.height,ft.push({type:"elem",elem:ae,shift:Me})}}ft=Y.makeVList({positionType:"individualShift",children:ft},n),ft=Y.makeSpan(["col-align-"+(P.align||"c")],[ft]),se.push(ft),(i<s-1||t.hskipBeforeAndAfter)&&(st=it.deflt(P.postgap,f),st!==0&&(de=Y.makeSpan(["arraycolsep"],[]),de.style.width=we(st),se.push(de)))}}if(l=Y.makeSpan(["mtable"],se),c.length>0){for(var dt=Y.makeLineSpan("hline",n,u),At=Y.makeLineSpan("hdashline",n,u),zn=[{type:"elem",elem:l,shift:0}];c.length>0;){var br=c.pop(),Je=br.pos-J;br.isDashed?zn.push({type:"elem",elem:At,shift:Je}):zn.push({type:"elem",elem:dt,shift:Je})}l=Y.makeVList({positionType:"individualShift",children:zn},n)}if(De.length===0)return Y.makeSpan(["mord"],[l],n);var bn=Y.makeVList({positionType:"individualShift",children:De},n);return bn=Y.makeSpan(["tag"],[bn],n),Y.makeFragment([l,bn])},YF={c:"center ",l:"left ",r:"right "},Hi=function(t,n){for(var r=[],i=new pe.MathNode("mtd",[],["mtr-glue"]),a=new pe.MathNode("mtd",[],["mml-eqn-num"]),o=0;o<t.body.length;o++){for(var s=t.body[o],l=[],c=0;c<s.length;c++)l.push(new pe.MathNode("mtd",[Zt(s[c],n)]));t.tags&&t.tags[o]&&(l.unshift(i),l.push(i),t.leqno?l.unshift(a):l.push(a)),r.push(new pe.MathNode("mtr",l))}var u=new pe.MathNode("mtable",r),d=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);u.setAttribute("rowspacing",we(d));var f="",h="";if(t.cols&&t.cols.length>0){var m=t.cols,p="",b=!1,v=0,x=m.length;m[0].type==="separator"&&(f+="top ",v=1),m[m.length-1].type==="separator"&&(f+="bottom ",x-=1);for(var _=v;_<x;_++)m[_].type==="align"?(h+=YF[m[_].align],b&&(p+="none "),b=!0):m[_].type==="separator"&&b&&(p+=m[_].separator==="|"?"solid ":"dashed ",b=!1);u.setAttribute("columnalign",h.trim()),/[sd]/.test(p)&&u.setAttribute("columnlines",p.trim())}if(t.colSeparationType==="align"){for(var D=t.cols||[],I="",C=1;C<D.length;C++)I+=C%2?"0em ":"1em ";u.setAttribute("columnspacing",I.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?u.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?u.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?u.setAttribute("columnspacing","0.5em"):u.setAttribute("columnspacing","1em");var w="",R=t.hLinesBeforeRow;f+=R[0].length>0?"left ":"",f+=R[R.length-1].length>0?"right ":"";for(var L=1;L<R.length-1;L++)w+=R[L].length===0?"none ":R[L][0]?"dashed ":"solid ";return/[sd]/.test(w)&&u.setAttribute("rowlines",w.trim()),f!==""&&(u=new pe.MathNode("menclose",[u]),u.setAttribute("notation",f.trim())),t.arraystretch&&t.arraystretch<1&&(u=new pe.MathNode("mstyle",[u]),u.setAttribute("scriptlevel","1")),u},nb=function(t,n){t.envName.indexOf("ed")===-1&&Wc(t);var r=[],i=t.envName.indexOf("at")>-1?"alignat":"align",a=t.envName==="split",o=co(t.parser,{cols:r,addJot:!0,autoTag:a?void 0:Pf(t.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:a?2:void 0,leqno:t.parser.settings.leqno},"display"),s,l=0,c={type:"ordgroup",mode:t.mode,body:[]};if(n[0]&&n[0].type==="ordgroup"){for(var u="",d=0;d<n[0].body.length;d++){var f=pt(n[0].body[d],"textord");u+=f.text}s=Number(u),l=s*2}var h=!l;o.body.forEach(function(v){for(var x=1;x<v.length;x+=2){var _=pt(v[x],"styling"),D=pt(_.body[0],"ordgroup");D.body.unshift(c)}if(h)l<v.length&&(l=v.length);else{var I=v.length/2;if(s<I)throw new ve("Too many math in a row: "+("expected "+s+", but got "+I),v[0])}});for(var m=0;m<l;++m){var p="r",b=0;m%2===1?p="l":m>0&&h&&(b=1),r[m]={type:"align",align:p,pregap:b,postgap:0}}return o.colSeparationType=h?"align":"alignat",o};Fi({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=jc(t[0]),r=n?[t[0]]:pt(t[0],"ordgroup").body,i=r.map(function(o){var s=Mf(o),l=s.text;if("lcr".indexOf(l)!==-1)return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new ve("Unknown column alignment: "+l,o)}),a={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return co(e.parser,a,$f(e.envName))},htmlBuilder:zi,mathmlBuilder:Hi});Fi({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],n="c",r={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if(e.envName.charAt(e.envName.length-1)==="*"){var i=e.parser;if(i.consumeSpaces(),i.fetch().text==="["){if(i.consume(),i.consumeSpaces(),n=i.fetch().text,"lcr".indexOf(n)===-1)throw new ve("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),r.cols=[{type:"align",align:n}]}}var a=co(e.parser,r,$f(e.envName)),o=Math.max(0,...a.body.map(s=>s.length));return a.cols=new Array(o).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:zi,mathmlBuilder:Hi});Fi({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},n=co(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:zi,mathmlBuilder:Hi});Fi({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=jc(t[0]),r=n?[t[0]]:pt(t[0],"ordgroup").body,i=r.map(function(o){var s=Mf(o),l=s.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new ve("Unknown column alignment: "+l,o)});if(i.length>1)throw new ve("{subarray} can contain only one column");var a={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(a=co(e.parser,a,"script"),a.body.length>0&&a.body[0].length>1)throw new ve("{subarray} can contain only one column");return a},htmlBuilder:zi,mathmlBuilder:Hi});Fi({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=co(e.parser,t,$f(e.envName));return{type:"leftright",mode:e.mode,body:[n],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:zi,mathmlBuilder:Hi});Fi({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:nb,htmlBuilder:zi,mathmlBuilder:Hi});Fi({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){it.contains(["gather","gather*"],e.envName)&&Wc(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Pf(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return co(e.parser,t,"display")},htmlBuilder:zi,mathmlBuilder:Hi});Fi({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:nb,htmlBuilder:zi,mathmlBuilder:Hi});Fi({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Wc(e);var t={autoTag:Pf(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return co(e.parser,t,"display")},htmlBuilder:zi,mathmlBuilder:Hi});Fi({type:"array",names:["CD"],props:{numArgs:0},handler(e){return Wc(e),DF(e.parser)},htmlBuilder:zi,mathmlBuilder:Hi});k("\\nonumber","\\gdef\\@eqnsw{0}");k("\\notag","\\nonumber");Re({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new ve(e.funcName+" valid only within array environment")}});var $9=eb;Re({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];if(i.type!=="ordgroup")throw new ve("Invalid environment name",i);for(var a="",o=0;o<i.body.length;++o)a+=pt(i.body[o],"textord").text;if(r==="\\begin"){if(!$9.hasOwnProperty(a))throw new ve("No such environment: "+a,i);var s=$9[a],{args:l,optArgs:c}=n.parseArguments("\\begin{"+a+"}",s),u={mode:n.mode,envName:a,parser:n},d=s.handler(u,l,c);n.expect("\\end",!1);var f=n.nextToken,h=pt(n.parseFunction(),"environment");if(h.name!==a)throw new ve("Mismatch: \\begin{"+a+"} matched by \\end{"+h.name+"}",f);return d}return{type:"environment",mode:n.mode,name:a,nameGroup:i}}});var rb=(e,t)=>{var n=e.font,r=t.withFont(n);return Lt(e.body,r)},ib=(e,t)=>{var n=e.font,r=t.withFont(n);return Zt(e.body,r)},B9={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Re({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=Z0(t[0]),a=r;return a in B9&&(a=B9[a]),{type:"font",mode:n.mode,font:a.slice(1),body:i}},htmlBuilder:rb,mathmlBuilder:ib});Re({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,r=t[0],i=it.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:Gc(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:i}}});Re({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r,breakOnTokenText:i}=e,{mode:a}=n,o=n.parseExpression(!0,i),s="math"+r.slice(1);return{type:"font",mode:a,font:s,body:{type:"ordgroup",mode:n.mode,body:o}}},htmlBuilder:rb,mathmlBuilder:ib});var ab=(e,t)=>{var n=t;return e==="display"?n=n.id>=Ze.SCRIPT.id?n.text():Ze.DISPLAY:e==="text"&&n.size===Ze.DISPLAY.size?n=Ze.TEXT:e==="script"?n=Ze.SCRIPT:e==="scriptscript"&&(n=Ze.SCRIPTSCRIPT),n},Bf=(e,t)=>{var n=ab(e.size,t.style),r=n.fracNum(),i=n.fracDen(),a;a=t.havingStyle(r);var o=Lt(e.numer,a,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;o.height=o.height<s?s:o.height,o.depth=o.depth<l?l:o.depth}a=t.havingStyle(i);var c=Lt(e.denom,a,t),u,d,f;e.hasBarLine?(e.barSize?(d=gn(e.barSize,t),u=Y.makeLineSpan("frac-line",t,d)):u=Y.makeLineSpan("frac-line",t),d=u.height,f=u.height):(u=null,d=0,f=t.fontMetrics().defaultRuleThickness);var h,m,p;n.size===Ze.DISPLAY.size||e.size==="display"?(h=t.fontMetrics().num1,d>0?m=3*f:m=7*f,p=t.fontMetrics().denom1):(d>0?(h=t.fontMetrics().num2,m=f):(h=t.fontMetrics().num3,m=3*f),p=t.fontMetrics().denom2);var b;if(u){var x=t.fontMetrics().axisHeight;h-o.depth-(x+.5*d)<m&&(h+=m-(h-o.depth-(x+.5*d))),x-.5*d-(c.height-p)<m&&(p+=m-(x-.5*d-(c.height-p)));var _=-(x-.5*d);b=Y.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:p},{type:"elem",elem:u,shift:_},{type:"elem",elem:o,shift:-h}]},t)}else{var v=h-o.depth-(c.height-p);v<m&&(h+=.5*(m-v),p+=.5*(m-v)),b=Y.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:p},{type:"elem",elem:o,shift:-h}]},t)}a=t.havingStyle(n),b.height*=a.sizeMultiplier/t.sizeMultiplier,b.depth*=a.sizeMultiplier/t.sizeMultiplier;var D;n.size===Ze.DISPLAY.size?D=t.fontMetrics().delim1:n.size===Ze.SCRIPTSCRIPT.size?D=t.havingStyle(Ze.SCRIPT).fontMetrics().delim2:D=t.fontMetrics().delim2;var I,C;return e.leftDelim==null?I=t1(t,["mopen"]):I=ua.customSizedDelim(e.leftDelim,D,!0,t.havingStyle(n),e.mode,["mopen"]),e.continued?C=Y.makeSpan([]):e.rightDelim==null?C=t1(t,["mclose"]):C=ua.customSizedDelim(e.rightDelim,D,!0,t.havingStyle(n),e.mode,["mclose"]),Y.makeSpan(["mord"].concat(a.sizingClasses(t)),[I,Y.makeSpan(["mfrac"],[b]),C],t)},Ff=(e,t)=>{var n=new pe.MathNode("mfrac",[Zt(e.numer,t),Zt(e.denom,t)]);if(!e.hasBarLine)n.setAttribute("linethickness","0px");else if(e.barSize){var r=gn(e.barSize,t);n.setAttribute("linethickness",we(r))}var i=ab(e.size,t.style);if(i.size!==t.style.size){n=new pe.MathNode("mstyle",[n]);var a=i.size===Ze.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",a),n.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var o=[];if(e.leftDelim!=null){var s=new pe.MathNode("mo",[new pe.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),o.push(s)}if(o.push(n),e.rightDelim!=null){var l=new pe.MathNode("mo",[new pe.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),o.push(l)}return Nf(o)}return n};Re({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=t[1],o,s=null,l=null,c="auto";switch(r){case"\\dfrac":case"\\frac":case"\\tfrac":o=!0;break;case"\\\\atopfrac":o=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":o=!1,s="(",l=")";break;case"\\\\bracefrac":o=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":o=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(r){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text";break}return{type:"genfrac",mode:n.mode,continued:!1,numer:i,denom:a,hasBarLine:o,leftDelim:s,rightDelim:l,size:c,barSize:null}},htmlBuilder:Bf,mathmlBuilder:Ff});Re({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=t[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:i,denom:a,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});Re({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:n,token:r}=e,i;switch(n){case"\\over":i="\\frac";break;case"\\choose":i="\\binom";break;case"\\atop":i="\\\\atopfrac";break;case"\\brace":i="\\\\bracefrac";break;case"\\brack":i="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:i,token:r}}});var F9=["display","text","script","scriptscript"],z9=function(t){var n=null;return t.length>0&&(n=t,n=n==="."?null:n),n};Re({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:n}=e,r=t[4],i=t[5],a=Z0(t[0]),o=a.type==="atom"&&a.family==="open"?z9(a.text):null,s=Z0(t[1]),l=s.type==="atom"&&s.family==="close"?z9(s.text):null,c=pt(t[2],"size"),u,d=null;c.isBlank?u=!0:(d=c.value,u=d.number>0);var f="auto",h=t[3];if(h.type==="ordgroup"){if(h.body.length>0){var m=pt(h.body[0],"textord");f=F9[Number(m.text)]}}else h=pt(h,"textord"),f=F9[Number(h.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:u,barSize:d,leftDelim:o,rightDelim:l,size:f}},htmlBuilder:Bf,mathmlBuilder:Ff});Re({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:n,funcName:r,token:i}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:pt(t[0],"size").value,token:i}}});Re({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=CB(pt(t[1],"infix").size),o=t[2],s=a.number>0;return{type:"genfrac",mode:n.mode,numer:i,denom:o,continued:!1,hasBarLine:s,barSize:a,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Bf,mathmlBuilder:Ff});var ob=(e,t)=>{var n=t.style,r,i;e.type==="supsub"?(r=e.sup?Lt(e.sup,t.havingStyle(n.sup()),t):Lt(e.sub,t.havingStyle(n.sub()),t),i=pt(e.base,"horizBrace")):i=pt(e,"horizBrace");var a=Lt(i.base,t.havingBaseStyle(Ze.DISPLAY)),o=ba.svgSpan(i,t),s;if(i.isOver?(s=Y.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:o}]},t),s.children[0].children[0].children[1].classes.push("svg-align")):(s=Y.makeVList({positionType:"bottom",positionData:a.depth+.1+o.height,children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:a}]},t),s.children[0].children[0].children[0].classes.push("svg-align")),r){var l=Y.makeSpan(["mord",i.isOver?"mover":"munder"],[s],t);i.isOver?s=Y.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},t):s=Y.makeVList({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return Y.makeSpan(["mord",i.isOver?"mover":"munder"],[s],t)},XF=(e,t)=>{var n=ba.mathMLnode(e.label);return new pe.MathNode(e.isOver?"mover":"munder",[Zt(e.base,t),n])};Re({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:ob,mathmlBuilder:XF});Re({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[1],i=pt(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:n.mode,href:i,body:wn(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var n=Fn(e.body,t,!1);return Y.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=no(e.body,t);return n instanceof qr||(n=new qr("mrow",[n])),n.setAttribute("href",e.href),n}});Re({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=pt(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var i=[],a=0;a<r.length;a++){var o=r[a];o==="~"&&(o="\\textasciitilde"),i.push({type:"textord",mode:"text",text:o})}var s={type:"text",mode:n.mode,font:"\\texttt",body:i};return{type:"href",mode:n.mode,href:r,body:wn(s)}}});Re({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:n}=e;return{type:"hbox",mode:n.mode,body:wn(t[0])}},htmlBuilder(e,t){var n=Fn(e.body,t,!1);return Y.makeFragment(n)},mathmlBuilder(e,t){return new pe.MathNode("mrow",wr(e.body,t))}});Re({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r,token:i}=e,a=pt(t[0],"raw").string,o=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var s,l={};switch(r){case"\\htmlClass":l.class=a,s={command:"\\htmlClass",class:a};break;case"\\htmlId":l.id=a,s={command:"\\htmlId",id:a};break;case"\\htmlStyle":l.style=a,s={command:"\\htmlStyle",style:a};break;case"\\htmlData":{for(var c=a.split(","),u=0;u<c.length;u++){var d=c[u].split("=");if(d.length!==2)throw new ve("Error parsing key-value for \\htmlData");l["data-"+d[0].trim()]=d[1].trim()}s={command:"\\htmlData",attributes:l};break}default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(s)?{type:"html",mode:n.mode,attributes:l,body:wn(o)}:n.formatUnsupportedCmd(r)},htmlBuilder:(e,t)=>{var n=Fn(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var i=Y.makeSpan(r,n,t);for(var a in e.attributes)a!=="class"&&e.attributes.hasOwnProperty(a)&&i.setAttribute(a,e.attributes[a]);return i},mathmlBuilder:(e,t)=>no(e.body,t)});Re({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:wn(t[0]),mathml:wn(t[1])}},htmlBuilder:(e,t)=>{var n=Fn(e.html,t,!1);return Y.makeFragment(n)},mathmlBuilder:(e,t)=>no(e.mathml,t)});var rd=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!n)throw new ve("Invalid size: '"+t+"' in \\includegraphics");var r={number:+(n[1]+n[2]),unit:n[3]};if(!w7(r))throw new ve("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};Re({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{var{parser:r}=e,i={number:0,unit:"em"},a={number:.9,unit:"em"},o={number:0,unit:"em"},s="";if(n[0])for(var l=pt(n[0],"raw").string,c=l.split(","),u=0;u<c.length;u++){var d=c[u].split("=");if(d.length===2){var f=d[1].trim();switch(d[0].trim()){case"alt":s=f;break;case"width":i=rd(f);break;case"height":a=rd(f);break;case"totalheight":o=rd(f);break;default:throw new ve("Invalid key: '"+d[0]+"' in \\includegraphics.")}}}var h=pt(t[0],"url").url;return s===""&&(s=h,s=s.replace(/^.*[\\/]/,""),s=s.substring(0,s.lastIndexOf("."))),r.settings.isTrusted({command:"\\includegraphics",url:h})?{type:"includegraphics",mode:r.mode,alt:s,width:i,height:a,totalheight:o,src:h}:r.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var n=gn(e.height,t),r=0;e.totalheight.number>0&&(r=gn(e.totalheight,t)-n);var i=0;e.width.number>0&&(i=gn(e.width,t));var a={height:we(n+r)};i>0&&(a.width=we(i)),r>0&&(a.verticalAlign=we(-r));var o=new XB(e.src,e.alt,a);return o.height=n,o.depth=r,o},mathmlBuilder:(e,t)=>{var n=new pe.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var r=gn(e.height,t),i=0;if(e.totalheight.number>0&&(i=gn(e.totalheight,t)-r,n.setAttribute("valign",we(-i))),n.setAttribute("height",we(r+i)),e.width.number>0){var a=gn(e.width,t);n.setAttribute("width",we(a))}return n.setAttribute("src",e.src),n}});Re({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,i=pt(t[0],"size");if(n.settings.strict){var a=r[1]==="m",o=i.value.unit==="mu";a?(o||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, "+("not "+i.value.unit+" units")),n.mode!=="math"&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):o&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:i.value}},htmlBuilder(e,t){return Y.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var n=gn(e.dimension,t);return new pe.SpaceNode(n)}});Re({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:(e,t)=>{var n;e.alignment==="clap"?(n=Y.makeSpan([],[Lt(e.body,t)]),n=Y.makeSpan(["inner"],[n],t)):n=Y.makeSpan(["inner"],[Lt(e.body,t)]);var r=Y.makeSpan(["fix"],[]),i=Y.makeSpan([e.alignment],[n,r],t),a=Y.makeSpan(["strut"]);return a.style.height=we(i.height+i.depth),i.depth&&(a.style.verticalAlign=we(-i.depth)),i.children.unshift(a),i=Y.makeSpan(["thinbox"],[i],t),Y.makeSpan(["mord","vbox"],[i],t)},mathmlBuilder:(e,t)=>{var n=new pe.MathNode("mpadded",[Zt(e.body,t)]);if(e.alignment!=="rlap"){var r=e.alignment==="llap"?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}});Re({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:n,parser:r}=e,i=r.mode;r.switchMode("math");var a=n==="\\("?"\\)":"$",o=r.parseExpression(!1,a);return r.expect(a),r.switchMode(i),{type:"styling",mode:r.mode,style:"text",body:o}}});Re({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new ve("Mismatched "+e.funcName)}});var H9=(e,t)=>{switch(t.style.size){case Ze.DISPLAY.size:return e.display;case Ze.TEXT.size:return e.text;case Ze.SCRIPT.size:return e.script;case Ze.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Re({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:wn(t[0]),text:wn(t[1]),script:wn(t[2]),scriptscript:wn(t[3])}},htmlBuilder:(e,t)=>{var n=H9(e,t),r=Fn(n,t,!1);return Y.makeFragment(r)},mathmlBuilder:(e,t)=>{var n=H9(e,t);return no(n,t)}});var sb=(e,t,n,r,i,a,o)=>{e=Y.makeSpan([],[e]);var s=n&&it.isCharacterBox(n),l,c;if(t){var u=Lt(t,r.havingStyle(i.sup()),r);c={elem:u,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-u.depth)}}if(n){var d=Lt(n,r.havingStyle(i.sub()),r);l={elem:d,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-d.height)}}var f;if(c&&l){var h=r.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+o;f=Y.makeVList({positionType:"bottom",positionData:h,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:we(-a)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:we(a)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(l){var m=e.height-o;f=Y.makeVList({positionType:"top",positionData:m,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:we(-a)},{type:"kern",size:l.kern},{type:"elem",elem:e}]},r)}else if(c){var p=e.depth+o;f=Y.makeVList({positionType:"bottom",positionData:p,children:[{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:we(a)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else return e;var b=[f];if(l&&a!==0&&!s){var v=Y.makeSpan(["mspace"],[],r);v.style.marginRight=we(a),b.unshift(v)}return Y.makeSpan(["mop","op-limits"],b,r)},lb=["\\smallint"],Js=(e,t)=>{var n,r,i=!1,a;e.type==="supsub"?(n=e.sup,r=e.sub,a=pt(e.base,"op"),i=!0):a=pt(e,"op");var o=t.style,s=!1;o.size===Ze.DISPLAY.size&&a.symbol&&!it.contains(lb,a.name)&&(s=!0);var l;if(a.symbol){var c=s?"Size2-Regular":"Size1-Regular",u="";if((a.name==="\\oiint"||a.name==="\\oiiint")&&(u=a.name.slice(1),a.name=u==="oiint"?"\\iint":"\\iiint"),l=Y.makeSymbol(a.name,c,"math",t,["mop","op-symbol",s?"large-op":"small-op"]),u.length>0){var d=l.italic,f=Y.staticSvg(u+"Size"+(s?"2":"1"),t);l=Y.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:f,shift:s?.08:0}]},t),a.name="\\"+u,l.classes.unshift("mop"),l.italic=d}}else if(a.body){var h=Fn(a.body,t,!0);h.length===1&&h[0]instanceof Qr?(l=h[0],l.classes[0]="mop"):l=Y.makeSpan(["mop"],h,t)}else{for(var m=[],p=1;p<a.name.length;p++)m.push(Y.mathsym(a.name[p],a.mode,t));l=Y.makeSpan(["mop"],m,t)}var b=0,v=0;return(l instanceof Qr||a.name==="\\oiint"||a.name==="\\oiiint")&&!a.suppressBaseShift&&(b=(l.height-l.depth)/2-t.fontMetrics().axisHeight,v=l.italic),i?sb(l,n,r,t,o,v,b):(b&&(l.style.position="relative",l.style.top=we(b)),l)},x1=(e,t)=>{var n;if(e.symbol)n=new qr("mo",[Zr(e.name,e.mode)]),it.contains(lb,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new qr("mo",wr(e.body,t));else{n=new qr("mi",[new Gl(e.name.slice(1))]);var r=new qr("mo",[Zr("\u2061","text")]);e.parentIsSupSub?n=new qr("mrow",[n,r]):n=P7([n,r])}return n},QF={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Re({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=r;return i.length===1&&(i=QF[i]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:Js,mathmlBuilder:x1});Re({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:wn(r)}},htmlBuilder:Js,mathmlBuilder:x1});var ZF={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Re({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Js,mathmlBuilder:x1});Re({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Js,mathmlBuilder:x1});Re({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e,r=n;return r.length===1&&(r=ZF[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:Js,mathmlBuilder:x1});var cb=(e,t)=>{var n,r,i=!1,a;e.type==="supsub"?(n=e.sup,r=e.sub,a=pt(e.base,"operatorname"),i=!0):a=pt(e,"operatorname");var o;if(a.body.length>0){for(var s=a.body.map(d=>{var f=d.text;return typeof f=="string"?{type:"textord",mode:d.mode,text:f}:d}),l=Fn(s,t.withFont("mathrm"),!0),c=0;c<l.length;c++){var u=l[c];u instanceof Qr&&(u.text=u.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}o=Y.makeSpan(["mop"],l,t)}else o=Y.makeSpan(["mop"],[],t);return i?sb(o,n,r,t,t.style,0,0):o},JF=(e,t)=>{for(var n=wr(e.body,t.withFont("mathrm")),r=!0,i=0;i<n.length;i++){var a=n[i];if(!(a instanceof pe.SpaceNode))if(a instanceof pe.MathNode)switch(a.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var o=a.children[0];a.children.length===1&&o instanceof pe.TextNode?o.text=o.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):r=!1;break}default:r=!1}else r=!1}if(r){var s=n.map(u=>u.toText()).join("");n=[new pe.TextNode(s)]}var l=new pe.MathNode("mi",n);l.setAttribute("mathvariant","normal");var c=new pe.MathNode("mo",[Zr("\u2061","text")]);return e.parentIsSupSub?new pe.MathNode("mrow",[l,c]):pe.newDocumentFragment([l,c])};Re({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:"operatorname",mode:n.mode,body:wn(i),alwaysHandleSupSub:r==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:cb,mathmlBuilder:JF});k("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Jo({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?Y.makeFragment(Fn(e.body,t,!1)):Y.makeSpan(["mord"],Fn(e.body,t,!0),t)},mathmlBuilder(e,t){return no(e.body,t,!0)}});Re({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:n}=e,r=t[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder(e,t){var n=Lt(e.body,t.havingCrampedStyle()),r=Y.makeLineSpan("overline-line",t),i=t.fontMetrics().defaultRuleThickness,a=Y.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r},{type:"kern",size:i}]},t);return Y.makeSpan(["mord","overline"],[a],t)},mathmlBuilder(e,t){var n=new pe.MathNode("mo",[new pe.TextNode("\u203E")]);n.setAttribute("stretchy","true");var r=new pe.MathNode("mover",[Zt(e.body,t),n]);return r.setAttribute("accent","true"),r}});Re({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"phantom",mode:n.mode,body:wn(r)}},htmlBuilder:(e,t)=>{var n=Fn(e.body,t.withPhantom(),!1);return Y.makeFragment(n)},mathmlBuilder:(e,t)=>{var n=wr(e.body,t);return new pe.MathNode("mphantom",n)}});Re({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{var n=Y.makeSpan([],[Lt(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r<n.children.length;r++)n.children[r].height=0,n.children[r].depth=0;return n=Y.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t),Y.makeSpan(["mord"],[n],t)},mathmlBuilder:(e,t)=>{var n=wr(wn(e.body),t),r=new pe.MathNode("mphantom",n),i=new pe.MathNode("mpadded",[r]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}});Re({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{var n=Y.makeSpan(["inner"],[Lt(e.body,t.withPhantom())]),r=Y.makeSpan(["fix"],[]);return Y.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{var n=wr(wn(e.body),t),r=new pe.MathNode("mphantom",n),i=new pe.MathNode("mpadded",[r]);return i.setAttribute("width","0px"),i}});Re({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e,r=pt(t[0],"size").value,i=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:i}},htmlBuilder(e,t){var n=Lt(e.body,t),r=gn(e.dy,t);return Y.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){var n=new pe.MathNode("mpadded",[Zt(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}});Re({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});Re({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,t,n){var{parser:r}=e,i=n[0],a=pt(t[0],"size"),o=pt(t[1],"size");return{type:"rule",mode:r.mode,shift:i&&pt(i,"size").value,width:a.value,height:o.value}},htmlBuilder(e,t){var n=Y.makeSpan(["mord","rule"],[],t),r=gn(e.width,t),i=gn(e.height,t),a=e.shift?gn(e.shift,t):0;return n.style.borderRightWidth=we(r),n.style.borderTopWidth=we(i),n.style.bottom=we(a),n.width=r,n.height=i+a,n.depth=-a,n.maxFontSize=i*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=gn(e.width,t),r=gn(e.height,t),i=e.shift?gn(e.shift,t):0,a=t.color&&t.getColor()||"black",o=new pe.MathNode("mspace");o.setAttribute("mathbackground",a),o.setAttribute("width",we(n)),o.setAttribute("height",we(r));var s=new pe.MathNode("mpadded",[o]);return i>=0?s.setAttribute("height",we(i)):(s.setAttribute("height",we(i)),s.setAttribute("depth",we(-i))),s.setAttribute("voffset",we(i)),s}});function ub(e,t,n){for(var r=Fn(e,t,!1),i=t.sizeMultiplier/n.sizeMultiplier,a=0;a<r.length;a++){var o=r[a].classes.indexOf("sizing");o<0?Array.prototype.push.apply(r[a].classes,t.sizingClasses(n)):r[a].classes[o+1]==="reset-size"+t.size&&(r[a].classes[o+1]="reset-size"+n.size),r[a].height*=i,r[a].depth*=i}return Y.makeFragment(r)}var U9=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],ez=(e,t)=>{var n=t.havingSize(e.size);return ub(e.body,n,t)};Re({type:"sizing",names:U9,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:n,funcName:r,parser:i}=e,a=i.parseExpression(!1,n);return{type:"sizing",mode:i.mode,size:U9.indexOf(r)+1,body:a}},htmlBuilder:ez,mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=wr(e.body,n),i=new pe.MathNode("mstyle",r);return i.setAttribute("mathsize",we(n.sizeMultiplier)),i}});Re({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{var{parser:r}=e,i=!1,a=!1,o=n[0]&&pt(n[0],"ordgroup");if(o)for(var s="",l=0;l<o.body.length;++l){var c=o.body[l];if(s=c.text,s==="t")i=!0;else if(s==="b")a=!0;else{i=!1,a=!1;break}}else i=!0,a=!0;var u=t[0];return{type:"smash",mode:r.mode,body:u,smashHeight:i,smashDepth:a}},htmlBuilder:(e,t)=>{var n=Y.makeSpan([],[Lt(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(var r=0;r<n.children.length;r++)n.children[r].height=0;if(e.smashDepth&&(n.depth=0,n.children))for(var i=0;i<n.children.length;i++)n.children[i].depth=0;var a=Y.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t);return Y.makeSpan(["mord"],[a],t)},mathmlBuilder:(e,t)=>{var n=new pe.MathNode("mpadded",[Zt(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}});Re({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r}=e,i=n[0],a=t[0];return{type:"sqrt",mode:r.mode,body:a,index:i}},htmlBuilder(e,t){var n=Lt(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=Y.wrapFragment(n,t);var r=t.fontMetrics(),i=r.defaultRuleThickness,a=i;t.style.id<Ze.TEXT.id&&(a=t.fontMetrics().xHeight);var o=i+a/4,s=n.height+n.depth+o+i,{span:l,ruleWidth:c,advanceWidth:u}=ua.sqrtImage(s,t),d=l.height-c;d>n.height+n.depth+o&&(o=(o+d-n.height-n.depth)/2);var f=l.height-n.height-o-c;n.style.paddingLeft=we(u);var h=Y.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+f)},{type:"elem",elem:l},{type:"kern",size:c}]},t);if(e.index){var m=t.havingStyle(Ze.SCRIPTSCRIPT),p=Lt(e.index,m,t),b=.6*(h.height-h.depth),v=Y.makeVList({positionType:"shift",positionData:-b,children:[{type:"elem",elem:p}]},t),x=Y.makeSpan(["root"],[v]);return Y.makeSpan(["mord","sqrt"],[x,h],t)}else return Y.makeSpan(["mord","sqrt"],[h],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new pe.MathNode("mroot",[Zt(n,t),Zt(r,t)]):new pe.MathNode("msqrt",[Zt(n,t)])}});var j9={display:Ze.DISPLAY,text:Ze.TEXT,script:Ze.SCRIPT,scriptscript:Ze.SCRIPTSCRIPT};Re({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:n,funcName:r,parser:i}=e,a=i.parseExpression(!0,n),o=r.slice(1,r.length-5);return{type:"styling",mode:i.mode,style:o,body:a}},htmlBuilder(e,t){var n=j9[e.style],r=t.havingStyle(n).withFont("");return ub(e.body,r,t)},mathmlBuilder(e,t){var n=j9[e.style],r=t.havingStyle(n),i=wr(e.body,r),a=new pe.MathNode("mstyle",i),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},s=o[e.style];return a.setAttribute("scriptlevel",s[0]),a.setAttribute("displaystyle",s[1]),a}});var tz=function(t,n){var r=t.base;if(r)if(r.type==="op"){var i=r.limits&&(n.style.size===Ze.DISPLAY.size||r.alwaysHandleSupSub);return i?Js:null}else if(r.type==="operatorname"){var a=r.alwaysHandleSupSub&&(n.style.size===Ze.DISPLAY.size||r.limits);return a?cb:null}else{if(r.type==="accent")return it.isCharacterBox(r.base)?If:null;if(r.type==="horizBrace"){var o=!t.sub;return o===r.isOver?ob:null}else return null}else return null};Jo({type:"supsub",htmlBuilder(e,t){var n=tz(e,t);if(n)return n(e,t);var{base:r,sup:i,sub:a}=e,o=Lt(r,t),s,l,c=t.fontMetrics(),u=0,d=0,f=r&&it.isCharacterBox(r);if(i){var h=t.havingStyle(t.style.sup());s=Lt(i,h,t),f||(u=o.height-h.fontMetrics().supDrop*h.sizeMultiplier/t.sizeMultiplier)}if(a){var m=t.havingStyle(t.style.sub());l=Lt(a,m,t),f||(d=o.depth+m.fontMetrics().subDrop*m.sizeMultiplier/t.sizeMultiplier)}var p;t.style===Ze.DISPLAY?p=c.sup1:t.style.cramped?p=c.sup3:p=c.sup2;var b=t.sizeMultiplier,v=we(.5/c.ptPerEm/b),x=null;if(l){var _=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(o instanceof Qr||_)&&(x=we(-o.italic))}var D;if(s&&l){u=Math.max(u,p,s.depth+.25*c.xHeight),d=Math.max(d,c.sub2);var I=c.defaultRuleThickness,C=4*I;if(u-s.depth-(l.height-d)<C){d=C-(u-s.depth)+l.height;var w=.8*c.xHeight-(u-s.depth);w>0&&(u+=w,d-=w)}var R=[{type:"elem",elem:l,shift:d,marginRight:v,marginLeft:x},{type:"elem",elem:s,shift:-u,marginRight:v}];D=Y.makeVList({positionType:"individualShift",children:R},t)}else if(l){d=Math.max(d,c.sub1,l.height-.8*c.xHeight);var L=[{type:"elem",elem:l,marginLeft:x,marginRight:v}];D=Y.makeVList({positionType:"shift",positionData:d,children:L},t)}else if(s)u=Math.max(u,p,s.depth+.25*c.xHeight),D=Y.makeVList({positionType:"shift",positionData:-u,children:[{type:"elem",elem:s,marginRight:v}]},t);else throw new Error("supsub must have either sup or sub.");var Q=eh(o,"right")||"mord";return Y.makeSpan([Q],[o,Y.makeSpan(["msupsub"],[D])],t)},mathmlBuilder(e,t){var n=!1,r,i;e.base&&e.base.type==="horizBrace"&&(i=!!e.sup,i===e.base.isOver&&(n=!0,r=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var a=[Zt(e.base,t)];e.sub&&a.push(Zt(e.sub,t)),e.sup&&a.push(Zt(e.sup,t));var o;if(n)o=r?"mover":"munder";else if(e.sub)if(e.sup){var c=e.base;c&&c.type==="op"&&c.limits&&t.style===Ze.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(t.style===Ze.DISPLAY||c.limits)?o="munderover":o="msubsup"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(t.style===Ze.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||t.style===Ze.DISPLAY)?o="munder":o="msub"}else{var s=e.base;s&&s.type==="op"&&s.limits&&(t.style===Ze.DISPLAY||s.alwaysHandleSupSub)||s&&s.type==="operatorname"&&s.alwaysHandleSupSub&&(s.limits||t.style===Ze.DISPLAY)?o="mover":o="msup"}return new pe.MathNode(o,a)}});Jo({type:"atom",htmlBuilder(e,t){return Y.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var n=new pe.MathNode("mo",[Zr(e.text,e.mode)]);if(e.family==="bin"){var r=Of(e,t);r==="bold-italic"&&n.setAttribute("mathvariant",r)}else e.family==="punct"?n.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&n.setAttribute("stretchy","false");return n}});var db={mi:"italic",mn:"normal",mtext:"normal"};Jo({type:"mathord",htmlBuilder(e,t){return Y.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var n=new pe.MathNode("mi",[Zr(e.text,e.mode,t)]),r=Of(e,t)||"italic";return r!==db[n.type]&&n.setAttribute("mathvariant",r),n}});Jo({type:"textord",htmlBuilder(e,t){return Y.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var n=Zr(e.text,e.mode,t),r=Of(e,t)||"normal",i;return e.mode==="text"?i=new pe.MathNode("mtext",[n]):/[0-9]/.test(e.text)?i=new pe.MathNode("mn",[n]):e.text==="\\prime"?i=new pe.MathNode("mo",[n]):i=new pe.MathNode("mi",[n]),r!==db[i.type]&&i.setAttribute("mathvariant",r),i}});var id={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},ad={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Jo({type:"spacing",htmlBuilder(e,t){if(ad.hasOwnProperty(e.text)){var n=ad[e.text].className||"";if(e.mode==="text"){var r=Y.makeOrd(e,t,"textord");return r.classes.push(n),r}else return Y.makeSpan(["mspace",n],[Y.mathsym(e.text,e.mode,t)],t)}else{if(id.hasOwnProperty(e.text))return Y.makeSpan(["mspace",id[e.text]],[],t);throw new ve('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var n;if(ad.hasOwnProperty(e.text))n=new pe.MathNode("mtext",[new pe.TextNode("\xA0")]);else{if(id.hasOwnProperty(e.text))return new pe.MathNode("mspace");throw new ve('Unknown type of space "'+e.text+'"')}return n}});var G9=()=>{var e=new pe.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};Jo({type:"tag",mathmlBuilder(e,t){var n=new pe.MathNode("mtable",[new pe.MathNode("mtr",[G9(),new pe.MathNode("mtd",[no(e.body,t)]),G9(),new pe.MathNode("mtd",[no(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var q9={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},W9={"\\textbf":"textbf","\\textmd":"textmd"},nz={"\\textit":"textit","\\textup":"textup"},K9=(e,t)=>{var n=e.font;return n?q9[n]?t.withTextFontFamily(q9[n]):W9[n]?t.withTextFontWeight(W9[n]):t.withTextFontShape(nz[n]):t};Re({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:"text",mode:n.mode,body:wn(i),font:r}},htmlBuilder(e,t){var n=K9(e,t),r=Fn(e.body,n,!0);return Y.makeSpan(["mord","text"],r,n)},mathmlBuilder(e,t){var n=K9(e,t);return no(e.body,n)}});Re({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"underline",mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=Lt(e.body,t),r=Y.makeLineSpan("underline-line",t),i=t.fontMetrics().defaultRuleThickness,a=Y.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:i},{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n}]},t);return Y.makeSpan(["mord","underline"],[a],t)},mathmlBuilder(e,t){var n=new pe.MathNode("mo",[new pe.TextNode("\u203E")]);n.setAttribute("stretchy","true");var r=new pe.MathNode("munder",[Zt(e.body,t),n]);return r.setAttribute("accentunder","true"),r}});Re({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:"vcenter",mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=Lt(e.body,t),r=t.fontMetrics().axisHeight,i=.5*(n.height-r-(n.depth+r));return Y.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){return new pe.MathNode("mpadded",[Zt(e.body,t)],["vcenter"])}});Re({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new ve("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=V9(e),r=[],i=t.havingStyle(t.style.text()),a=0;a<n.length;a++){var o=n[a];o==="~"&&(o="\\textasciitilde"),r.push(Y.makeSymbol(o,"Typewriter-Regular",e.mode,i,["mord","texttt"]))}return Y.makeSpan(["mord","text"].concat(i.sizingClasses(t)),Y.tryCombineChars(r),i)},mathmlBuilder(e,t){var n=new pe.TextNode(V9(e)),r=new pe.MathNode("mtext",[n]);return r.setAttribute("mathvariant","monospace"),r}});var V9=e=>e.body.replace(/ /g,e.star?"\u2423":"\xA0"),qa=L7,hb=`[ \r ]`,rz="\\\\[a-zA-Z@]+",iz="\\\\[^\uD800-\uDFFF]",az="("+rz+")"+hb+"*",oz=`\\\\( |[ \r ]+ ?)[ \r ]*`,ih="[\u0300-\u036F]",sz=new RegExp(ih+"+$"),lz="("+hb+"+)|"+(oz+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(ih+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(ih+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+az)+("|"+iz+")");class Y9{constructor(t,n){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=n,this.tokenRegex=new RegExp(lz,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,n){this.catcodes[t]=n}lex(){var t=this.input,n=this.tokenRegex.lastIndex;if(n===t.length)return new Di("EOF",new Rr(this,n,n));var r=this.tokenRegex.exec(t);if(r===null||r.index!==n)throw new ve("Unexpected character: '"+t[n]+"'",new Di(t[n],new Rr(this,n,n+1)));var i=r[6]||r[3]||(r[2]?"\\ ":" ");if(this.catcodes[i]===14){var a=t.indexOf(` `,this.tokenRegex.lastIndex);return a===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=a+1,this.lex()}return new Di(i,new Rr(this,n,this.tokenRegex.lastIndex))}}class cz{constructor(t,n){t===void 0&&(t={}),n===void 0&&(n={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=n,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new ve("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var n in t)t.hasOwnProperty(n)&&(t[n]==null?delete this.current[n]:this.current[n]=t[n])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,n,r){if(r===void 0&&(r=!1),r){for(var i=0;i<this.undefStack.length;i++)delete this.undefStack[i][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=n)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(t)&&(a[t]=this.current[t])}n==null?delete this.current[t]:this.current[t]=n}}var uz=tb;k("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});k("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});k("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});k("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});k("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var n=e.future();return t[0].length===1&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}});k("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");k("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var X9={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};k("\\char",function(e){var t=e.popToken(),n,r="";if(t.text==="'")n=8,t=e.popToken();else if(t.text==='"')n=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")r=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new ve("\\char` missing argument");r=t.text.charCodeAt(0)}else n=10;if(n){if(r=X9[t.text],r==null||r>=n)throw new ve("Invalid base-"+n+" digit "+t.text);for(var i;(i=X9[e.future().text])!=null&&i<n;)r*=n,r+=i,e.popToken()}return"\\@char{"+r+"}"});var zf=(e,t,n)=>{var r=e.consumeArg().tokens;if(r.length!==1)throw new ve("\\newcommand's first argument must be a macro name");var i=r[0].text,a=e.isDefined(i);if(a&&!t)throw new ve("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!a&&!n)throw new ve("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var o=0;if(r=e.consumeArg().tokens,r.length===1&&r[0].text==="["){for(var s="",l=e.expandNextToken();l.text!=="]"&&l.text!=="EOF";)s+=l.text,l=e.expandNextToken();if(!s.match(/^\s*[0-9]+\s*$/))throw new ve("Invalid number of arguments: "+s);o=parseInt(s),r=e.consumeArg().tokens}return e.macros.set(i,{tokens:r,numArgs:o}),""};k("\\newcommand",e=>zf(e,!1,!0));k("\\renewcommand",e=>zf(e,!0,!1));k("\\providecommand",e=>zf(e,!0,!0));k("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(n=>n.text).join("")),""});k("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(n=>n.text).join("")),""});k("\\show",e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),qa[n],rn.math[n],rn.text[n]),""});k("\\bgroup","{");k("\\egroup","}");k("~","\\nobreakspace");k("\\lq","`");k("\\rq","'");k("\\aa","\\r a");k("\\AA","\\r A");k("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}");k("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");k("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}");k("\u212C","\\mathscr{B}");k("\u2130","\\mathscr{E}");k("\u2131","\\mathscr{F}");k("\u210B","\\mathscr{H}");k("\u2110","\\mathscr{I}");k("\u2112","\\mathscr{L}");k("\u2133","\\mathscr{M}");k("\u211B","\\mathscr{R}");k("\u212D","\\mathfrak{C}");k("\u210C","\\mathfrak{H}");k("\u2128","\\mathfrak{Z}");k("\\Bbbk","\\Bbb{k}");k("\xB7","\\cdotp");k("\\llap","\\mathllap{\\textrm{#1}}");k("\\rlap","\\mathrlap{\\textrm{#1}}");k("\\clap","\\mathclap{\\textrm{#1}}");k("\\mathstrut","\\vphantom{(}");k("\\underbar","\\underline{\\text{#1}}");k("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');k("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}");k("\\ne","\\neq");k("\u2260","\\neq");k("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}");k("\u2209","\\notin");k("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}");k("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}");k("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}");k("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}");k("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}");k("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}");k("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}");k("\u27C2","\\perp");k("\u203C","\\mathclose{!\\mkern-0.8mu!}");k("\u220C","\\notni");k("\u231C","\\ulcorner");k("\u231D","\\urcorner");k("\u231E","\\llcorner");k("\u231F","\\lrcorner");k("\xA9","\\copyright");k("\xAE","\\textregistered");k("\uFE0F","\\textregistered");k("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');k("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');k("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');k("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');k("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");k("\u22EE","\\vdots");k("\\varGamma","\\mathit{\\Gamma}");k("\\varDelta","\\mathit{\\Delta}");k("\\varTheta","\\mathit{\\Theta}");k("\\varLambda","\\mathit{\\Lambda}");k("\\varXi","\\mathit{\\Xi}");k("\\varPi","\\mathit{\\Pi}");k("\\varSigma","\\mathit{\\Sigma}");k("\\varUpsilon","\\mathit{\\Upsilon}");k("\\varPhi","\\mathit{\\Phi}");k("\\varPsi","\\mathit{\\Psi}");k("\\varOmega","\\mathit{\\Omega}");k("\\substack","\\begin{subarray}{c}#1\\end{subarray}");k("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");k("\\boxed","\\fbox{$\\displaystyle{#1}$}");k("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");k("\\implies","\\DOTSB\\;\\Longrightarrow\\;");k("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Q9={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};k("\\dots",function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in Q9?t=Q9[n]:(n.slice(0,4)==="\\not"||n in rn.math&&it.contains(["bin","rel"],rn.math[n].group))&&(t="\\dotsb"),t});var Hf={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};k("\\dotso",function(e){var t=e.future().text;return t in Hf?"\\ldots\\,":"\\ldots"});k("\\dotsc",function(e){var t=e.future().text;return t in Hf&&t!==","?"\\ldots\\,":"\\ldots"});k("\\cdots",function(e){var t=e.future().text;return t in Hf?"\\@cdots\\,":"\\@cdots"});k("\\dotsb","\\cdots");k("\\dotsm","\\cdots");k("\\dotsi","\\!\\cdots");k("\\dotsx","\\ldots\\,");k("\\DOTSI","\\relax");k("\\DOTSB","\\relax");k("\\DOTSX","\\relax");k("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");k("\\,","\\tmspace+{3mu}{.1667em}");k("\\thinspace","\\,");k("\\>","\\mskip{4mu}");k("\\:","\\tmspace+{4mu}{.2222em}");k("\\medspace","\\:");k("\\;","\\tmspace+{5mu}{.2777em}");k("\\thickspace","\\;");k("\\!","\\tmspace-{3mu}{.1667em}");k("\\negthinspace","\\!");k("\\negmedspace","\\tmspace-{4mu}{.2222em}");k("\\negthickspace","\\tmspace-{5mu}{.277em}");k("\\enspace","\\kern.5em ");k("\\enskip","\\hskip.5em\\relax");k("\\quad","\\hskip1em\\relax");k("\\qquad","\\hskip2em\\relax");k("\\tag","\\@ifstar\\tag@literal\\tag@paren");k("\\tag@paren","\\tag@literal{({#1})}");k("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new ve("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});k("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");k("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");k("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");k("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");k("\\newline","\\\\\\relax");k("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var fb=we(Ii["Main-Regular"]["T".charCodeAt(0)][1]-.7*Ii["Main-Regular"]["A".charCodeAt(0)][1]);k("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+fb+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");k("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+fb+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");k("\\hspace","\\@ifstar\\@hspacer\\@hspace");k("\\@hspace","\\hskip #1\\relax");k("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");k("\\ordinarycolon",":");k("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");k("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');k("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');k("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');k("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');k("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');k("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');k("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');k("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');k("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');k("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');k("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');k("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');k("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');k("\u2237","\\dblcolon");k("\u2239","\\eqcolon");k("\u2254","\\coloneqq");k("\u2255","\\eqqcolon");k("\u2A74","\\Coloneqq");k("\\ratio","\\vcentcolon");k("\\coloncolon","\\dblcolon");k("\\colonequals","\\coloneqq");k("\\coloncolonequals","\\Coloneqq");k("\\equalscolon","\\eqqcolon");k("\\equalscoloncolon","\\Eqqcolon");k("\\colonminus","\\coloneq");k("\\coloncolonminus","\\Coloneq");k("\\minuscolon","\\eqcolon");k("\\minuscoloncolon","\\Eqcolon");k("\\coloncolonapprox","\\Colonapprox");k("\\coloncolonsim","\\Colonsim");k("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");k("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");k("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");k("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");k("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}");k("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");k("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");k("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");k("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");k("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");k("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");k("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");k("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");k("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}");k("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}");k("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}");k("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}");k("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}");k("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}");k("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}");k("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}");k("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}");k("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}");k("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}");k("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}");k("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}");k("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}");k("\\imath","\\html@mathml{\\@imath}{\u0131}");k("\\jmath","\\html@mathml{\\@jmath}{\u0237}");k("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}");k("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}");k("\u27E6","\\llbracket");k("\u27E7","\\rrbracket");k("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}");k("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}");k("\u2983","\\lBrace");k("\u2984","\\rBrace");k("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}");k("\u29B5","\\minuso");k("\\darr","\\downarrow");k("\\dArr","\\Downarrow");k("\\Darr","\\Downarrow");k("\\lang","\\langle");k("\\rang","\\rangle");k("\\uarr","\\uparrow");k("\\uArr","\\Uparrow");k("\\Uarr","\\Uparrow");k("\\N","\\mathbb{N}");k("\\R","\\mathbb{R}");k("\\Z","\\mathbb{Z}");k("\\alef","\\aleph");k("\\alefsym","\\aleph");k("\\Alpha","\\mathrm{A}");k("\\Beta","\\mathrm{B}");k("\\bull","\\bullet");k("\\Chi","\\mathrm{X}");k("\\clubs","\\clubsuit");k("\\cnums","\\mathbb{C}");k("\\Complex","\\mathbb{C}");k("\\Dagger","\\ddagger");k("\\diamonds","\\diamondsuit");k("\\empty","\\emptyset");k("\\Epsilon","\\mathrm{E}");k("\\Eta","\\mathrm{H}");k("\\exist","\\exists");k("\\harr","\\leftrightarrow");k("\\hArr","\\Leftrightarrow");k("\\Harr","\\Leftrightarrow");k("\\hearts","\\heartsuit");k("\\image","\\Im");k("\\infin","\\infty");k("\\Iota","\\mathrm{I}");k("\\isin","\\in");k("\\Kappa","\\mathrm{K}");k("\\larr","\\leftarrow");k("\\lArr","\\Leftarrow");k("\\Larr","\\Leftarrow");k("\\lrarr","\\leftrightarrow");k("\\lrArr","\\Leftrightarrow");k("\\Lrarr","\\Leftrightarrow");k("\\Mu","\\mathrm{M}");k("\\natnums","\\mathbb{N}");k("\\Nu","\\mathrm{N}");k("\\Omicron","\\mathrm{O}");k("\\plusmn","\\pm");k("\\rarr","\\rightarrow");k("\\rArr","\\Rightarrow");k("\\Rarr","\\Rightarrow");k("\\real","\\Re");k("\\reals","\\mathbb{R}");k("\\Reals","\\mathbb{R}");k("\\Rho","\\mathrm{P}");k("\\sdot","\\cdot");k("\\sect","\\S");k("\\spades","\\spadesuit");k("\\sub","\\subset");k("\\sube","\\subseteq");k("\\supe","\\supseteq");k("\\Tau","\\mathrm{T}");k("\\thetasym","\\vartheta");k("\\weierp","\\wp");k("\\Zeta","\\mathrm{Z}");k("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");k("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");k("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");k("\\bra","\\mathinner{\\langle{#1}|}");k("\\ket","\\mathinner{|{#1}\\rangle}");k("\\braket","\\mathinner{\\langle{#1}\\rangle}");k("\\Bra","\\left\\langle#1\\right|");k("\\Ket","\\left|#1\\right\\rangle");var mb=e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.consumeArg().tokens,o=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=d=>f=>{e&&(f.macros.set("|",o),i.length&&f.macros.set("\\|",s));var h=d;if(!d&&i.length){var m=f.future();m.text==="|"&&(f.popToken(),h=!0)}return{tokens:h?i:r,numArgs:0}};t.macros.set("|",l(!1)),i.length&&t.macros.set("\\|",l(!0));var c=t.consumeArg().tokens,u=t.expandTokens([...a,...c,...n]);return t.macros.endGroup(),{tokens:u.reverse(),numArgs:0}};k("\\bra@ket",mb(!1));k("\\bra@set",mb(!0));k("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");k("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");k("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");k("\\angln","{\\angl n}");k("\\blue","\\textcolor{##6495ed}{#1}");k("\\orange","\\textcolor{##ffa500}{#1}");k("\\pink","\\textcolor{##ff00af}{#1}");k("\\red","\\textcolor{##df0030}{#1}");k("\\green","\\textcolor{##28ae7b}{#1}");k("\\gray","\\textcolor{gray}{#1}");k("\\purple","\\textcolor{##9d38bd}{#1}");k("\\blueA","\\textcolor{##ccfaff}{#1}");k("\\blueB","\\textcolor{##80f6ff}{#1}");k("\\blueC","\\textcolor{##63d9ea}{#1}");k("\\blueD","\\textcolor{##11accd}{#1}");k("\\blueE","\\textcolor{##0c7f99}{#1}");k("\\tealA","\\textcolor{##94fff5}{#1}");k("\\tealB","\\textcolor{##26edd5}{#1}");k("\\tealC","\\textcolor{##01d1c1}{#1}");k("\\tealD","\\textcolor{##01a995}{#1}");k("\\tealE","\\textcolor{##208170}{#1}");k("\\greenA","\\textcolor{##b6ffb0}{#1}");k("\\greenB","\\textcolor{##8af281}{#1}");k("\\greenC","\\textcolor{##74cf70}{#1}");k("\\greenD","\\textcolor{##1fab54}{#1}");k("\\greenE","\\textcolor{##0d923f}{#1}");k("\\goldA","\\textcolor{##ffd0a9}{#1}");k("\\goldB","\\textcolor{##ffbb71}{#1}");k("\\goldC","\\textcolor{##ff9c39}{#1}");k("\\goldD","\\textcolor{##e07d10}{#1}");k("\\goldE","\\textcolor{##a75a05}{#1}");k("\\redA","\\textcolor{##fca9a9}{#1}");k("\\redB","\\textcolor{##ff8482}{#1}");k("\\redC","\\textcolor{##f9685d}{#1}");k("\\redD","\\textcolor{##e84d39}{#1}");k("\\redE","\\textcolor{##bc2612}{#1}");k("\\maroonA","\\textcolor{##ffbde0}{#1}");k("\\maroonB","\\textcolor{##ff92c6}{#1}");k("\\maroonC","\\textcolor{##ed5fa6}{#1}");k("\\maroonD","\\textcolor{##ca337c}{#1}");k("\\maroonE","\\textcolor{##9e034e}{#1}");k("\\purpleA","\\textcolor{##ddd7ff}{#1}");k("\\purpleB","\\textcolor{##c6b9fc}{#1}");k("\\purpleC","\\textcolor{##aa87ff}{#1}");k("\\purpleD","\\textcolor{##7854ab}{#1}");k("\\purpleE","\\textcolor{##543b78}{#1}");k("\\mintA","\\textcolor{##f5f9e8}{#1}");k("\\mintB","\\textcolor{##edf2df}{#1}");k("\\mintC","\\textcolor{##e0e5cc}{#1}");k("\\grayA","\\textcolor{##f6f7f7}{#1}");k("\\grayB","\\textcolor{##f0f1f2}{#1}");k("\\grayC","\\textcolor{##e3e5e6}{#1}");k("\\grayD","\\textcolor{##d6d8da}{#1}");k("\\grayE","\\textcolor{##babec2}{#1}");k("\\grayF","\\textcolor{##888d93}{#1}");k("\\grayG","\\textcolor{##626569}{#1}");k("\\grayH","\\textcolor{##3b3e40}{#1}");k("\\grayI","\\textcolor{##21242c}{#1}");k("\\kaBlue","\\textcolor{##314453}{#1}");k("\\kaGreen","\\textcolor{##71B307}{#1}");var pb={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class dz{constructor(t,n,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=n,this.expansionCount=0,this.feed(t),this.macros=new cz(uz,n.macros),this.mode=r,this.stack=[]}feed(t){this.lexer=new Y9(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var n,r,i;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;n=this.popToken(),{tokens:i,end:r}=this.consumeArg(["]"])}else({tokens:i,start:n,end:r}=this.consumeArg());return this.pushToken(new Di("EOF",r.loc)),this.pushTokens(i),n.range(r,"")}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var n=[],r=t&&t.length>0;r||this.consumeSpaces();var i=this.future(),a,o=0,s=0;do{if(a=this.popToken(),n.push(a),a.text==="{")++o;else if(a.text==="}"){if(--o,o===-1)throw new ve("Extra }",a)}else if(a.text==="EOF")throw new ve("Unexpected end of input in a macro argument, expected '"+(t&&r?t[s]:"}")+"'",a);if(t&&r)if((o===0||o===1&&t[s]==="{")&&a.text===t[s]){if(++s,s===t.length){n.splice(-s,s);break}}else s=0}while(o!==0||r);return i.text==="{"&&n[n.length-1].text==="}"&&(n.pop(),n.shift()),n.reverse(),{tokens:n,start:i,end:a}}consumeArgs(t,n){if(n){if(n.length!==t+1)throw new ve("The length of delimiters doesn't match the number of args!");for(var r=n[0],i=0;i<r.length;i++){var a=this.popToken();if(r[i]!==a.text)throw new ve("Use of the macro doesn't match its definition",a)}}for(var o=[],s=0;s<t;s++)o.push(this.consumeArg(n&&n[s+1]).tokens);return o}expandOnce(t){var n=this.popToken(),r=n.text,i=n.noexpand?null:this._getExpansion(r);if(i==null||t&&i.unexpandable){if(t&&i==null&&r[0]==="\\"&&!this.isDefined(r))throw new ve("Undefined control sequence: "+r);return this.pushToken(n),!1}if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new ve("Too many expansions: infinite loop or need to increase maxExpand setting");var a=i.tokens,o=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){a=a.slice();for(var s=a.length-1;s>=0;--s){var l=a[s];if(l.text==="#"){if(s===0)throw new ve("Incomplete placeholder at end of macro body",l);if(l=a[--s],l.text==="#")a.splice(s+1,1);else if(/^[1-9]$/.test(l.text))a.splice(s,2,...o[+l.text-1]);else throw new ve("Not a valid argument number",l)}}}return this.pushTokens(a),a.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new Di(t)]):void 0}expandTokens(t){var n=[],r=this.stack.length;for(this.pushTokens(t);this.stack.length>r;)if(this.expandOnce(!0)===!1){var i=this.stack.pop();i.treatAsRelax&&(i.noexpand=!1,i.treatAsRelax=!1),n.push(i)}return n}expandMacroAsText(t){var n=this.expandMacro(t);return n&&n.map(r=>r.text).join("")}_getExpansion(t){var n=this.macros.get(t);if(n==null)return n;if(t.length===1){var r=this.lexer.catcodes[t];if(r!=null&&r!==13)return}var i=typeof n=="function"?n(this):n;if(typeof i=="string"){var a=0;if(i.indexOf("#")!==-1)for(var o=i.replace(/##/g,"");o.indexOf("#"+(a+1))!==-1;)++a;for(var s=new Y9(i,this.settings),l=[],c=s.lex();c.text!=="EOF";)l.push(c),c=s.lex();l.reverse();var u={tokens:l,numArgs:a};return u}return i}isDefined(t){return this.macros.has(t)||qa.hasOwnProperty(t)||rn.math.hasOwnProperty(t)||rn.text.hasOwnProperty(t)||pb.hasOwnProperty(t)}isExpandable(t){var n=this.macros.get(t);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:qa.hasOwnProperty(t)&&!qa[t].primitive}}var Z9=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,d0=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),od={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},J9={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"};class n1{constructor(t,n){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new dz(t,n,this.mode),this.settings=n,this.leftrightDepth=0}expect(t,n){if(n===void 0&&(n=!0),this.fetch().text!==t)throw new ve("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());n&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var n=this.nextToken;this.consume(),this.gullet.pushToken(new Di("}")),this.gullet.pushTokens(t);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=n,r}parseExpression(t,n){for(var r=[];;){this.mode==="math"&&this.consumeSpaces();var i=this.fetch();if(n1.endOfExpression.indexOf(i.text)!==-1||n&&i.text===n||t&&qa[i.text]&&qa[i.text].infix)break;var a=this.parseAtom(n);if(a){if(a.type==="internal")continue}else break;r.push(a)}return this.mode==="text"&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(t){for(var n=-1,r,i=0;i<t.length;i++)if(t[i].type==="infix"){if(n!==-1)throw new ve("only one infix operator per group",t[i].token);n=i,r=t[i].replaceWith}if(n!==-1&&r){var a,o,s=t.slice(0,n),l=t.slice(n+1);s.length===1&&s[0].type==="ordgroup"?a=s[0]:a={type:"ordgroup",mode:this.mode,body:s},l.length===1&&l[0].type==="ordgroup"?o=l[0]:o={type:"ordgroup",mode:this.mode,body:l};var c;return r==="\\\\abovefrac"?c=this.callFunction(r,[a,t[n],o],[]):c=this.callFunction(r,[a,o],[]),[c]}else return t}handleSupSubscript(t){var n=this.fetch(),r=n.text;this.consume(),this.consumeSpaces();var i=this.parseGroup(t);if(!i)throw new ve("Expected group after '"+r+"'",n);return i}formatUnsupportedCmd(t){for(var n=[],r=0;r<t.length;r++)n.push({type:"textord",mode:"text",text:t[r]});var i={type:"text",mode:this.mode,body:n},a={type:"color",mode:this.mode,color:this.settings.errorColor,body:[i]};return a}parseAtom(t){var n=this.parseGroup("atom",t);if(this.mode==="text")return n;for(var r,i;;){this.consumeSpaces();var a=this.fetch();if(a.text==="\\limits"||a.text==="\\nolimits"){if(n&&n.type==="op"){var o=a.text==="\\limits";n.limits=o,n.alwaysHandleSupSub=!0}else if(n&&n.type==="operatorname")n.alwaysHandleSupSub&&(n.limits=a.text==="\\limits");else throw new ve("Limit controls must follow a math operator",a);this.consume()}else if(a.text==="^"){if(r)throw new ve("Double superscript",a);r=this.handleSupSubscript("superscript")}else if(a.text==="_"){if(i)throw new ve("Double subscript",a);i=this.handleSupSubscript("subscript")}else if(a.text==="'"){if(r)throw new ve("Double superscript",a);var s={type:"textord",mode:this.mode,text:"\\prime"},l=[s];for(this.consume();this.fetch().text==="'";)l.push(s),this.consume();this.fetch().text==="^"&&l.push(this.handleSupSubscript("superscript")),r={type:"ordgroup",mode:this.mode,body:l}}else if(d0[a.text]){var c=d0[a.text],u=Z9.test(a.text);for(this.consume();;){var d=this.fetch().text;if(!d0[d]||Z9.test(d)!==u)break;this.consume(),c+=d0[d]}var f=new n1(c,this.settings).parse();u?i={type:"ordgroup",mode:"math",body:f}:r={type:"ordgroup",mode:"math",body:f}}else break}return r||i?{type:"supsub",mode:this.mode,base:n,sup:r,sub:i}:n}parseFunction(t,n){var r=this.fetch(),i=r.text,a=qa[i];if(!a)return null;if(this.consume(),n&&n!=="atom"&&!a.allowedInArgument)throw new ve("Got function '"+i+"' with no arguments"+(n?" as "+n:""),r);if(this.mode==="text"&&!a.allowedInText)throw new ve("Can't use function '"+i+"' in text mode",r);if(this.mode==="math"&&a.allowedInMath===!1)throw new ve("Can't use function '"+i+"' in math mode",r);var{args:o,optArgs:s}=this.parseArguments(i,a);return this.callFunction(i,o,s,r,t)}callFunction(t,n,r,i,a){var o={funcName:t,parser:this,token:i,breakOnTokenText:a},s=qa[t];if(s&&s.handler)return s.handler(o,n,r);throw new ve("No function handler for "+t)}parseArguments(t,n){var r=n.numArgs+n.numOptionalArgs;if(r===0)return{args:[],optArgs:[]};for(var i=[],a=[],o=0;o<r;o++){var s=n.argTypes&&n.argTypes[o],l=o<n.numOptionalArgs;(n.primitive&&s==null||n.type==="sqrt"&&o===1&&a[0]==null)&&(s="primitive");var c=this.parseGroupOfType("argument to '"+t+"'",s,l);if(l)a.push(c);else if(c!=null)i.push(c);else throw new ve("Null argument, please report this as a bug")}return{args:i,optArgs:a}}parseGroupOfType(t,n,r){switch(n){case"color":return this.parseColorGroup(r);case"size":return this.parseSizeGroup(r);case"url":return this.parseUrlGroup(r);case"math":case"text":return this.parseArgumentGroup(r,n);case"hbox":{var i=this.parseArgumentGroup(r,"text");return i!=null?{type:"styling",mode:i.mode,body:[i],style:"text"}:null}case"raw":{var a=this.parseStringGroup("raw",r);return a!=null?{type:"raw",mode:"text",string:a.text}:null}case"primitive":{if(r)throw new ve("A primitive argument cannot be optional");var o=this.parseGroup(t);if(o==null)throw new ve("Expected group as "+t,this.fetch());return o}case"original":case null:case void 0:return this.parseArgumentGroup(r);default:throw new ve("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,n){var r=this.gullet.scanArgument(n);if(r==null)return null;for(var i="",a;(a=this.fetch()).text!=="EOF";)i+=a.text,this.consume();return this.consume(),r.text=i,r}parseRegexGroup(t,n){for(var r=this.fetch(),i=r,a="",o;(o=this.fetch()).text!=="EOF"&&t.test(a+o.text);)i=o,a+=i.text,this.consume();if(a==="")throw new ve("Invalid "+n+": '"+r.text+"'",r);return r.range(i,a)}parseColorGroup(t){var n=this.parseStringGroup("color",t);if(n==null)return null;var r=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(n.text);if(!r)throw new ve("Invalid color: '"+n.text+"'",n);var i=r[0];return/^[0-9a-f]{6}$/i.test(i)&&(i="#"+i),{type:"color-token",mode:this.mode,color:i}}parseSizeGroup(t){var n,r=!1;if(this.gullet.consumeSpaces(),!t&&this.gullet.future().text!=="{"?n=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):n=this.parseStringGroup("size",t),!n)return null;!t&&n.text.length===0&&(n.text="0pt",r=!0);var i=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(n.text);if(!i)throw new ve("Invalid size: '"+n.text+"'",n);var a={number:+(i[1]+i[2]),unit:i[3]};if(!w7(a))throw new ve("Invalid unit: '"+a.unit+"'",n);return{type:"size",mode:this.mode,value:a,isBlank:r}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var n=this.parseStringGroup("url",t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),n==null)return null;var r=n.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:r}}parseArgumentGroup(t,n){var r=this.gullet.scanArgument(t);if(r==null)return null;var i=this.mode;n&&this.switchMode(n),this.gullet.beginGroup();var a=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var o={type:"ordgroup",mode:this.mode,loc:r.loc,body:a};return n&&this.switchMode(i),o}parseGroup(t,n){var r=this.fetch(),i=r.text,a;if(i==="{"||i==="\\begingroup"){this.consume();var o=i==="{"?"}":"\\endgroup";this.gullet.beginGroup();var s=this.parseExpression(!1,o),l=this.fetch();this.expect(o),this.gullet.endGroup(),a={type:"ordgroup",mode:this.mode,loc:Rr.range(r,l),body:s,semisimple:i==="\\begingroup"||void 0}}else if(a=this.parseFunction(n,t)||this.parseSymbol(),a==null&&i[0]==="\\"&&!pb.hasOwnProperty(i)){if(this.settings.throwOnError)throw new ve("Undefined control sequence: "+i,r);a=this.formatUnsupportedCmd(i),this.consume()}return a}formLigatures(t){for(var n=t.length-1,r=0;r<n;++r){var i=t[r],a=i.text;a==="-"&&t[r+1].text==="-"&&(r+1<n&&t[r+2].text==="-"?(t.splice(r,3,{type:"textord",mode:"text",loc:Rr.range(i,t[r+2]),text:"---"}),n-=2):(t.splice(r,2,{type:"textord",mode:"text",loc:Rr.range(i,t[r+1]),text:"--"}),n-=1)),(a==="'"||a==="`")&&t[r+1].text===a&&(t.splice(r,2,{type:"textord",mode:"text",loc:Rr.range(i,t[r+1]),text:a+a}),n-=1)}}parseSymbol(){var t=this.fetch(),n=t.text;if(/^\\verb[^a-zA-Z]/.test(n)){this.consume();var r=n.slice(5),i=r.charAt(0)==="*";if(i&&(r=r.slice(1)),r.length<2||r.charAt(0)!==r.slice(-1))throw new ve(`\\verb assertion failed -- please report what input caused this bug`);return r=r.slice(1,-1),{type:"verb",mode:"text",body:r,star:i}}J9.hasOwnProperty(n[0])&&!rn[this.mode][n[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+n[0]+'" used in math mode',t),n=J9[n[0]]+n.slice(1));var a=sz.exec(n);a&&(n=n.substring(0,a.index),n==="i"?n="\u0131":n==="j"&&(n="\u0237"));var o;if(rn[this.mode][n]){this.settings.strict&&this.mode==="math"&&Jd.indexOf(n)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+n[0]+'" used in math mode',t);var s=rn[this.mode][n].group,l=Rr.range(t),c;if(JB.hasOwnProperty(s)){var u=s;c={type:"atom",mode:this.mode,family:u,loc:l,text:n}}else c={type:s,mode:this.mode,loc:l,text:n};o=c}else if(n.charCodeAt(0)>=128)this.settings.strict&&(S7(n.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+n[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+n[0]+'"'+(" ("+n.charCodeAt(0)+")"),t)),o={type:"textord",mode:"text",loc:Rr.range(t),text:n};else return null;if(this.consume(),a)for(var d=0;d<a[0].length;d++){var f=a[0][d];if(!od[f])throw new ve("Unknown accent ' "+f+"'",t);var h=od[f][this.mode]||od[f].text;if(!h)throw new ve("Accent "+f+" unsupported in "+this.mode+" mode",t);o={type:"accent",mode:this.mode,loc:Rr.range(t),label:h,isStretchy:!1,isShifty:!0,base:o}}return o}}n1.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var Uf=function(t,n){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var r=new n1(t,n);delete r.gullet.macros.current["\\df@tag"];var i=r.parse();if(delete r.gullet.macros.current["\\current@color"],delete r.gullet.macros.current["\\color"],r.gullet.macros.get("\\df@tag")){if(!n.displayMode)throw new ve("\\tag works only in display equations");i=[{type:"tag",mode:"text",body:i,tag:r.subparse([new Di("\\df@tag")])}]}return i},gb=function(t,n,r){n.textContent="";var i=jf(t,r).toNode();n.appendChild(i)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),gb=function(){throw new ve("KaTeX doesn't work in quirks mode.")});var hz=function(t,n){var r=jf(t,n).toMarkup();return r},fz=function(t,n){var r=new Sf(n);return Uf(t,r)},bb=function(t,n,r){if(r.throwOnError||!(t instanceof ve))throw t;var i=Y.makeSpan(["katex-error"],[new Qr(n)]);return i.setAttribute("title",t.toString()),i.setAttribute("style","color:"+r.errorColor),i},jf=function(t,n){var r=new Sf(n);try{var i=Uf(t,r);return _F(i,t,r)}catch(a){return bb(a,t,r)}},mz=function(t,n){var r=new Sf(n);try{var i=Uf(t,r);return xF(i,t,r)}catch(a){return bb(a,t,r)}},ep={version:"0.16.8",render:gb,renderToString:hz,ParseError:ve,SETTINGS_SCHEMA:x0,__parse:fz,__renderToDomTree:jf,__renderToHTMLTree:mz,__setFontMetrics:WB,__defineSymbol:g,__defineFunction:Re,__defineMacro:k,__domTree:{Span:_1,Anchor:Af,SymbolNode:Qr,SvgNode:pa,PathNode:to,LineNode:Zd}};function pz(e,t){const n=String(e);let r=n.indexOf(t),i=r,a=0,o=0;if(typeof t!="string"||t.length!==1)throw new Error("Expected character");for(;r!==-1;)r===i?++a>o&&(o=a):a=1,i=r+1,r=n.indexOf(t,i);return o}function gz(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:a},exit:{mathFlow:i,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:s,mathText:o,mathTextData:s}};function e(l){this.enter({type:"math",meta:null,value:"",data:{hName:"div",hProperties:{className:["math","math-display"]},hChildren:[{type:"text",value:""}]}},l)}function t(){this.buffer()}function n(){const l=this.resume(),c=this.stack[this.stack.length-1];c.meta=l}function r(){this.getData("mathFlowInside")||(this.buffer(),this.setData("mathFlowInside",!0))}function i(l){const c=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),u=this.exit(l);u.value=c,u.data.hChildren[0].value=c,this.setData("mathFlowInside")}function a(l){this.enter({type:"inlineMath",value:"",data:{hName:"span",hProperties:{className:["math","math-inline"]},hChildren:[{type:"text",value:""}]}},l),this.buffer()}function o(l){const c=this.resume(),u=this.exit(l);u.value=c,u.data.hChildren[0].value=c}function s(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function bz(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),r.peek=i,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:` `,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:n,inlineMath:r}};function n(a,o,s,l){const c=a.value||"",u=fa(l),d="$".repeat(Math.max(pz(c,"$")+1,2)),f=s.enter("mathFlow");let h=u.move(d);if(a.meta){const m=s.enter("mathFlowMeta");h+=u.move(qd(s,a.meta,{before:h,after:` `,encode:["$"],...u.current()})),m()}return h+=u.move(` `),c&&(h+=u.move(c+` `)),h+=u.move(d),f(),h}function r(a,o,s){let l=a.value||"",c=1;for(t||c++;new RegExp("(^|[^$])"+"\\$".repeat(c)+"([^$]|$)").test(l);)c++;const u="$".repeat(c);/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^\$|\$$/.test(l))&&(l=" "+l+" ");let d=-1;for(;++d<s.unsafe.length;){const f=s.unsafe[d],h=uf(f);let m;if(!!f.atBreak)for(;m=h.exec(l);){let p=m.index;l.codePointAt(p)===10&&l.codePointAt(p-1)===13&&p--,l=l.slice(0,p)+" "+l.slice(m.index+1)}}return u+l+u}function i(){return"$"}}function vz(e={}){const t=this.data();n("micromarkExtensions",bB(e)),n("fromMarkdownExtensions",gz()),n("toMarkdownExtensions",bz(e));function n(r,i){(t[r]?t[r]:t[r]=[]).push(i)}}const es=function(e){if(e==null)return Gf;if(typeof e=="string")return Tz(e);if(typeof e=="object")return yz(e);if(typeof e=="function")return vb(e);throw new Error("Expected function, string, or array as test")};function yz(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=es(e[n]);return vb(r);function r(...i){let a=-1;for(;++a<t.length;)if(t[a].call(this,...i))return!0;return!1}}function Tz(e){return t;function t(n){return Gf(n)&&n.tagName===e}}function vb(e){return t;function t(n,...r){return Gf(n)&&Boolean(e.call(this,n,...r))}}function Gf(e){return Boolean(e&&typeof e=="object"&&e.type==="element"&&typeof e.tagName=="string")}const tp=function(e,t,n){const r=Vo(n);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t];return null},np=/\n/g,rp=/[\t ]+/g,ah=es("br"),Ez=es("p"),ip=es(["th","td"]),ap=es("tr"),_z=es(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",Az,kz]),yb=es(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function xz(e,t={}){const n="children"in e?e.children:[],r=yb(e),i=_b(e,{whitespace:t.whitespace||"normal",breakBefore:!1,breakAfter:!1}),a=[];(e.type==="text"||e.type==="comment")&&a.push(...Eb(e,{whitespace:i,breakBefore:!0,breakAfter:!0}));let o=-1;for(;++o<n.length;)a.push(...Tb(n[o],e,{whitespace:i,breakBefore:o?void 0:r,breakAfter:o<n.length-1?ah(n[o+1]):r}));const s=[];let l;for(o=-1;++o<a.length;){const c=a[o];typeof c=="number"?l!==void 0&&c>l&&(l=c):c&&(l!==void 0&&l>-1&&s.push(` `.repeat(l)||" "),l=-1,s.push(c))}return s.join("")}function Tb(e,t,n){return e.type==="element"?Sz(e,t,n):e.type==="text"?n.whitespace==="normal"?Eb(e,n):wz(e):[]}function Sz(e,t,n){const r=_b(e,n),i=e.children||[];let a=-1,o=[];if(_z(e))return o;let s,l;for(ah(e)||ap(e)&&tp(t,e,ap)?l=` `:Ez(e)?(s=2,l=2):yb(e)&&(s=1,l=1);++a<i.length;)o=o.concat(Tb(i[a],e,{whitespace:r,breakBefore:a?void 0:s,breakAfter:a<i.length-1?ah(i[a+1]):l}));return ip(e)&&tp(t,e,ip)&&o.push(" "),s&&o.unshift(s),l&&o.push(l),o}function Eb(e,t){const n=String(e.value),r=[],i=[];let a=0;for(;a<=n.length;){np.lastIndex=a;const l=np.exec(n),c=l&&"index"in l?l.index:n.length;r.push(Cz(n.slice(a,c).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),a===0?t.breakBefore:!0,c===n.length?t.breakAfter:!0)),a=c+1}let o=-1,s;for(;++o<r.length;)r[o].charCodeAt(r[o].length-1)===8203||o<r.length-1&&r[o+1].charCodeAt(0)===8203?(i.push(r[o]),s=void 0):r[o]?(typeof s=="number"&&i.push(s),i.push(r[o]),s=0):(o===0||o===r.length-1)&&i.push(0);return i}function wz(e){return[String(e.value)]}function Cz(e,t,n){const r=[];let i=0,a;for(;i<e.length;){rp.lastIndex=i;const o=rp.exec(e);a=o?o.index:e.length,!i&&!a&&o&&!t&&r.push(""),i!==a&&r.push(e.slice(i,a)),i=o?a+o[0].length:a}return i!==a&&!n&&r.push(""),r.join(" ")}function _b(e,t){if(e.type==="element"){const n=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return n.wrap?"pre-wrap":"pre";case"td":case"th":return n.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}function Az(e){return Boolean((e.properties||{}).hidden)}function kz(e){return e.tagName==="dialog"&&!(e.properties||{}).open}function Nz(e,t){return(e?xb(e,t||{}):void 0)||{type:"root",children:[]}}function xb(e,t){const n=Oz(e,t);return n&&t.afterTransform&&t.afterTransform(e,n),n}function Oz(e,t){switch(e.nodeType){case 1:return Lz(e,t);case 3:return Iz(e);case 8:return Rz(e);case 9:return op(e,t);case 10:return Mz();case 11:return op(e,t);default:return}}function op(e,t){return{type:"root",children:Sb(e,t)}}function Mz(){return{type:"doctype"}}function Iz(e){return{type:"text",value:e.nodeValue||""}}function Rz(e){return{type:"comment",value:e.nodeValue||""}}function Lz(e,t){const n=e.namespaceURI,r=n===Li.svg?b7:g7,i=n===Li.html?e.tagName.toLowerCase():e.tagName,a=n===Li.html&&i==="template"?e.content:e,o=e.getAttributeNames(),s={};let l=-1;for(;++l<o.length;)s[o[l]]=e.getAttribute(o[l])||"";return r(i,s,Sb(a,t))}function Sb(e,t){const n=e.childNodes,r=[];let i=-1;for(;++i<n.length;){const a=xb(n[i],t);a!==void 0&&r.push(a)}return r}const Dz=new DOMParser;function Pz(e,t){const n=t!=null&&t.fragment?$z(e):Dz.parseFromString(e,"text/html");return Nz(n)}function $z(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const sp=Object.assign,Bz="rehype-katex";function Fz(e){const t=e||{},n=t.throwOnError||!1;return(r,i)=>{o7(r,"element",a=>{const o=a.properties&&Array.isArray(a.properties.className)?a.properties.className:[],s=o.includes("math-inline"),l=o.includes("math-display");if(!s&&!l)return;const c=xz(a,{whitespace:"pre"});let u;try{u=ep.renderToString(c,sp({},t,{displayMode:l,throwOnError:!0}))}catch(f){const h=f,m=n?"fail":"message",p=[Bz,h.name.toLowerCase()].join(":");if(i[m](h.message,a.position,p),h.name!=="ParseError"){a.children=[{type:"element",tagName:"span",properties:{className:["katex-error"],title:String(h),style:"color:"+(t.errorColor||"#cc0000")},children:[{type:"text",value:c}]}];return}u=ep.renderToString(c,sp({},t,{displayMode:l,throwOnError:!1,strict:"ignore"}))}const d=Pz(u,{fragment:!0});a.children=d.children})}}function wb(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=wb(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function zz(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=wb(e))&&(r&&(r+=" "),r+=t);return r}var Hz=Uz;function Uz(e){var t,n;if(typeof e!="function")throw new Error("expected a function but got "+e);return function(){return t||(t=!0,n=e.apply(this,arguments),e=void 0),n}}function Cb(e,t){e.indexOf(t)===-1&&e.push(t)}function jz(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Ab=(e,t,n)=>Math.min(Math.max(n,e),t),mi={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"},r1=e=>typeof e=="number",Cs=e=>Array.isArray(e)&&!r1(e[0]),Gz=(e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e};function qz(e,t){return Cs(e)?e[Gz(0,e.length,t)]:e}const kb=(e,t,n)=>-n*e+n*t+e,Nb=()=>{},Ya=e=>e,qf=(e,t,n)=>t-e===0?1:(n-e)/(t-e);function Ob(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=qf(0,t,r);e.push(kb(n,1,i))}}function Wz(e){const t=[0];return Ob(t,e-1),t}function Kz(e,t=Wz(e.length),n=Ya){const r=e.length,i=r-t.length;return i>0&&Ob(t,i),a=>{let o=0;for(;o<r-2&&!(a<t[o+1]);o++);let s=Ab(0,1,qf(t[o],t[o+1],a));return s=qz(n,o)(s),kb(e[o],e[o+1],s)}}const Mb=e=>Array.isArray(e)&&r1(e[0]),oh=e=>typeof e=="object"&&Boolean(e.createAnimation),i1=e=>typeof e=="function",Vz=e=>typeof e=="string",sd={ms:e=>e*1e3,s:e=>e/1e3},Ib=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Yz=1e-7,Xz=12;function Qz(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=Ib(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>Yz&&++s<Xz);return o}function Al(e,t,n,r){if(e===t&&n===r)return Ya;const i=a=>Qz(a,0,1,e,n);return a=>a===0||a===1?a:Ib(i(a),t,r)}const Zz=(e,t="end")=>n=>{n=t==="end"?Math.min(n,.999):Math.max(n,.001);const r=n*e,i=t==="end"?Math.floor(r):Math.ceil(r);return Ab(0,1,i/e)},lp={ease:Al(.25,.1,.25,1),"ease-in":Al(.42,0,1,1),"ease-in-out":Al(.42,0,.58,1),"ease-out":Al(0,0,.58,1)},Jz=/\((.*?)\)/;function cp(e){if(i1(e))return e;if(Mb(e))return Al(...e);if(lp[e])return lp[e];if(e.startsWith("steps")){const t=Jz.exec(e);if(t){const n=t[1].split(",");return Zz(parseFloat(n[0]),n[1].trim())}}return Ya}class eH{constructor(t,n=[0,1],{easing:r,duration:i=mi.duration,delay:a=mi.delay,endDelay:o=mi.endDelay,repeat:s=mi.repeat,offset:l,direction:c="normal"}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=Ya,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise((d,f)=>{this.resolve=d,this.reject=f}),r=r||mi.easing,oh(r)){const d=r.createAnimation(n);r=d.easing,n=d.keyframes||n,i=d.duration||i}this.repeat=s,this.easing=Cs(r)?Ya:cp(r),this.updateDuration(i);const u=Kz(n,l,Cs(r)?r.map(cp):Ya);this.tick=d=>{var f;a=a;let h=0;this.pauseTime!==void 0?h=this.pauseTime:h=(d-this.startTime)*this.rate,this.t=h,h/=1e3,h=Math.max(h-a,0),this.playState==="finished"&&this.pauseTime===void 0&&(h=this.totalDuration);const m=h/this.duration;let p=Math.floor(m),b=m%1;!b&&m>=1&&(b=1),b===1&&p--;const v=p%2;(c==="reverse"||c==="alternate"&&v||c==="alternate-reverse"&&!v)&&(b=1-b);const x=h>=this.totalDuration?1:Math.min(b,1),_=u(this.easing(x));t(_),this.pauseTime===void 0&&(this.playState==="finished"||h>=this.totalDuration+o)?(this.playState="finished",(f=this.resolve)===null||f===void 0||f.call(this,_)):this.playState!=="idle"&&(this.frameRequestId=requestAnimationFrame(this.tick))},this.play()}play(){const t=performance.now();this.playState="running",this.pauseTime!==void 0?this.startTime=t-this.pauseTime:this.startTime||(this.startTime=t),this.cancelTimestamp=this.startTime,this.pauseTime=void 0,this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState="paused",this.pauseTime=this.t}finish(){this.playState="finished",this.tick(0)}stop(){var t;this.playState="idle",this.frameRequestId!==void 0&&cancelAnimationFrame(this.frameRequestId),(t=this.reject)===null||t===void 0||t.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(t){this.duration=t,this.totalDuration=t*(this.repeat+1)}get currentTime(){return this.t}set currentTime(t){this.pauseTime!==void 0||this.rate===0?this.pauseTime=t:this.startTime=performance.now()-t/this.rate}get playbackRate(){return this.rate}set playbackRate(t){this.rate=t}}class tH{setAnimation(t){this.animation=t,t==null||t.finished.then(()=>this.clearAnimation()).catch(()=>{})}clearAnimation(){this.animation=this.generator=void 0}}const ld=new WeakMap;function Rb(e){return ld.has(e)||ld.set(e,{transforms:[],values:new Map}),ld.get(e)}function nH(e,t){return e.has(t)||e.set(t,new tH),e.get(t)}const rH=["","X","Y","Z"],iH=["translate","scale","rotate","skew"],Ds={x:"translateX",y:"translateY",z:"translateZ"},up={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:e=>e+"deg"},aH={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:e=>e+"px"},rotate:up,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:Ya},skew:up},Ps=new Map,Kc=e=>`--motion-${e}`,J0=["x","y","z"];iH.forEach(e=>{rH.forEach(t=>{J0.push(e+t),Ps.set(Kc(e+t),aH[e])})});const oH=(e,t)=>J0.indexOf(e)-J0.indexOf(t),sH=new Set(J0),Wf=e=>sH.has(e),lH=(e,t)=>{Ds[t]&&(t=Ds[t]);const{transforms:n}=Rb(e);Cb(n,t),e.style.transform=Lb(n)},Lb=e=>e.sort(oH).reduce(cH,"").trim(),cH=(e,t)=>`${e} ${t}(var(${Kc(t)}))`,sh=e=>e.startsWith("--"),dp=new Set;function uH(e){if(!dp.has(e)){dp.add(e);try{const{syntax:t,initialValue:n}=Ps.has(e)?Ps.get(e):{};CSS.registerProperty({name:e,inherits:!1,syntax:t,initialValue:n})}catch{}}}const cd=(e,t)=>document.createElement("div").animate(e,t),hp={cssRegisterProperty:()=>typeof CSS<"u"&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{cd({opacity:[1]})}catch{return!1}return!0},finished:()=>Boolean(cd({opacity:[0,1]},{duration:.001}).finished),linearEasing:()=>{try{cd({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0}},ud={},Ts={};for(const e in hp)Ts[e]=()=>(ud[e]===void 0&&(ud[e]=hp[e]()),ud[e]);const dH=.015,hH=(e,t)=>{let n="";const r=Math.round(t/dH);for(let i=0;i<r;i++)n+=e(qf(0,r-1,i))+", ";return n.substring(0,n.length-2)},fp=(e,t)=>i1(e)?Ts.linearEasing()?`linear(${hH(e,t)})`:mi.easing:Mb(e)?fH(e):e,fH=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`;function mH(e,t){for(let n=0;n<e.length;n++)e[n]===null&&(e[n]=n?e[n-1]:t());return e}const pH=e=>Array.isArray(e)?e:[e];function lh(e){return Ds[e]&&(e=Ds[e]),Wf(e)?Kc(e):e}const kl={get:(e,t)=>{t=lh(t);let n=sh(t)?e.style.getPropertyValue(t):getComputedStyle(e)[t];if(!n&&n!==0){const r=Ps.get(t);r&&(n=r.initialValue)}return n},set:(e,t,n)=>{t=lh(t),sh(t)?e.style.setProperty(t,n):e.style[t]=n}};function gH(e,t=!0){if(!(!e||e.playState==="finished"))try{e.stop?e.stop():(t&&e.commitStyles(),e.cancel())}catch{}}function bH(e,t){var n;let r=(t==null?void 0:t.toDefaultUnit)||Ya;const i=e[e.length-1];if(Vz(i)){const a=((n=i.match(/(-?[\d.]+)([a-z%]*)/))===null||n===void 0?void 0:n[2])||"";a&&(r=o=>o+a)}return r}function vH(){return window.__MOTION_DEV_TOOLS_RECORD}function yH(e,t,n,r={},i){const a=vH(),o=r.record!==!1&&a;let s,{duration:l=mi.duration,delay:c=mi.delay,endDelay:u=mi.endDelay,repeat:d=mi.repeat,easing:f=mi.easing,direction:h,offset:m,allowWebkitAcceleration:p=!1}=r;const b=Rb(e),v=Wf(t);let x=Ts.waapi();v&&lH(e,t);const _=lh(t),D=nH(b.values,_),I=Ps.get(_);return gH(D.animation,!(oh(f)&&D.generator)&&r.record!==!1),()=>{const C=()=>{var L,Q;return(Q=(L=kl.get(e,_))!==null&&L!==void 0?L:I==null?void 0:I.initialValue)!==null&&Q!==void 0?Q:0};let w=mH(pH(n),C);const R=bH(w,I);if(oh(f)){const L=f.createAnimation(w,t!=="opacity",C,_,D);f=L.easing,w=L.keyframes||w,l=L.duration||l}if(sh(_)&&(Ts.cssRegisterProperty()?uH(_):x=!1),v&&!Ts.linearEasing()&&(i1(f)||Cs(f)&&f.some(i1))&&(x=!1),x){I&&(w=w.map(K=>r1(K)?I.toDefaultUnit(K):K)),w.length===1&&(!Ts.partialKeyframes()||o)&&w.unshift(C());const L={delay:sd.ms(c),duration:sd.ms(l),endDelay:sd.ms(u),easing:Cs(f)?void 0:fp(f,l),direction:h,iterations:d+1,fill:"both"};s=e.animate({[_]:w,offset:m,easing:Cs(f)?f.map(K=>fp(K,l)):void 0},L),s.finished||(s.finished=new Promise((K,J)=>{s.onfinish=K,s.oncancel=J}));const Q=w[w.length-1];s.finished.then(()=>{kl.set(e,_,Q),s.cancel()}).catch(Nb),p||(s.playbackRate=1.000001)}else if(i&&v)w=w.map(L=>typeof L=="string"?parseFloat(L):L),w.length===1&&w.unshift(parseFloat(C())),s=new i(L=>{kl.set(e,_,R?R(L):L)},w,Object.assign(Object.assign({},r),{duration:l,easing:f}));else{const L=w[w.length-1];kl.set(e,_,I&&r1(L)?I.toDefaultUnit(L):L)}return o&&a(e,t,w,{duration:l,delay:c,easing:f,repeat:d,offset:m},"motion-one"),D.setAnimation(s),s}}const TH=(e,t)=>e[t]?Object.assign(Object.assign({},e),e[t]):Object.assign({},e);function EH(e,t){var n;return typeof e=="string"?t?((n=t[e])!==null&&n!==void 0||(t[e]=document.querySelectorAll(e)),e=t[e]):e=document.querySelectorAll(e):e instanceof Element&&(e=[e]),Array.from(e||[])}function Db(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}const _H={any:0,all:1};function xH(e,t,{root:n,margin:r,amount:i="any"}={}){if(typeof IntersectionObserver>"u")return()=>{};const a=EH(e),o=new WeakMap,s=c=>{c.forEach(u=>{const d=o.get(u.target);if(u.isIntersecting!==Boolean(d))if(u.isIntersecting){const f=t(u);i1(f)?o.set(u.target,f):l.unobserve(u.target)}else d&&(d(u),o.delete(u.target))})},l=new IntersectionObserver(s,{root:n,rootMargin:r,threshold:typeof i=="number"?i:_H[i]});return a.forEach(c=>l.observe(c)),()=>l.disconnect()}function SH(e,t){return typeof e!=typeof t?!0:Array.isArray(e)&&Array.isArray(t)?!wH(e,t):e!==t}function wH(e,t){const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function CH(e){return typeof e=="object"}function mp(e,t){if(CH(e))return e;if(e&&t)return t[e]}let Xa;function AH(){if(!Xa)return;const e=Xa.sort(NH).map(OH);e.forEach(pp),e.forEach(pp),Xa=void 0}function dd(e){Xa?Cb(Xa,e):(Xa=[e],requestAnimationFrame(AH))}function kH(e){Xa&&jz(Xa,e)}const NH=(e,t)=>e.getDepth()-t.getDepth(),OH=e=>e.animateUpdates(),pp=e=>e.next(),gp=(e,t)=>new CustomEvent(e,{detail:{target:t}});function ch(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:{originalEvent:n}}))}function bp(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:{originalEntry:n}}))}const MH={isActive:e=>Boolean(e.inView),subscribe:(e,{enable:t,disable:n},{inViewOptions:r={}})=>{const{once:i}=r,a=Db(r,["once"]);return xH(e,o=>{if(t(),bp(e,"viewenter",o),!i)return s=>{n(),bp(e,"viewleave",s)}},a)}},vp=(e,t,n)=>r=>{r.pointerType&&r.pointerType!=="mouse"||(n(),ch(e,t,r))},IH={isActive:e=>Boolean(e.hover),subscribe:(e,{enable:t,disable:n})=>{const r=vp(e,"hoverstart",t),i=vp(e,"hoverend",n);return e.addEventListener("pointerenter",r),e.addEventListener("pointerleave",i),()=>{e.removeEventListener("pointerenter",r),e.removeEventListener("pointerleave",i)}}},RH={isActive:e=>Boolean(e.press),subscribe:(e,{enable:t,disable:n})=>{const r=a=>{n(),ch(e,"pressend",a),window.removeEventListener("pointerup",r)},i=a=>{t(),ch(e,"pressstart",a),window.addEventListener("pointerup",r)};return e.addEventListener("pointerdown",i),()=>{e.removeEventListener("pointerdown",i),window.removeEventListener("pointerup",r)}}},w0={inView:MH,hover:IH,press:RH},yp=["initial","animate",...Object.keys(w0),"exit"],Tp=new WeakMap;function LH(e={},t){let n,r=t?t.getDepth()+1:0;const i={initial:!0,animate:!0},a={},o={};for(const p of yp)o[p]=typeof e[p]=="string"?e[p]:t==null?void 0:t.getContext()[p];const s=e.initial===!1?"animate":"initial";let l=mp(e[s]||o[s],e.variants)||{},c=Db(l,["transition"]);const u=Object.assign({},c);function*d(){var p,b;const v=c;c={};const x={};for(const w of yp){if(!i[w])continue;const R=mp(e[w]);if(!!R)for(const L in R)L!=="transition"&&(c[L]=R[L],x[L]=TH((b=(p=R.transition)!==null&&p!==void 0?p:e.transition)!==null&&b!==void 0?b:{},L))}const _=new Set([...Object.keys(c),...Object.keys(v)]),D=[];_.forEach(w=>{var R;c[w]===void 0&&(c[w]=u[w]),SH(v[w],c[w])&&((R=u[w])!==null&&R!==void 0||(u[w]=kl.get(n,w)),D.push(yH(n,w,c[w],x[w],eH)))}),yield;const I=D.map(w=>w()).filter(Boolean);if(!I.length)return;const C=c;n.dispatchEvent(gp("motionstart",C)),Promise.all(I.map(w=>w.finished)).then(()=>{n.dispatchEvent(gp("motioncomplete",C))}).catch(Nb)}const f=(p,b)=>()=>{i[p]=b,dd(m)},h=()=>{for(const p in w0){const b=w0[p].isActive(e),v=a[p];b&&!v?a[p]=w0[p].subscribe(n,{enable:f(p,!0),disable:f(p,!1)},e):!b&&v&&(v(),delete a[p])}},m={update:p=>{!n||(e=p,h(),dd(m))},setActive:(p,b)=>{!n||(i[p]=b,dd(m))},animateUpdates:d,getDepth:()=>r,getTarget:()=>c,getOptions:()=>e,getContext:()=>o,mount:p=>(n=p,Tp.set(n,m),h(),()=>{Tp.delete(n),kH(m);for(const b in a)a[b]()}),isMounted:()=>Boolean(n)};return m}function DH(e){const t={},n=[];for(let r in e){const i=e[r];Wf(r)&&(Ds[r]&&(r=Ds[r]),n.push(r),r=Kc(r));let a=Array.isArray(i)?i[0]:i;const o=Ps.get(r);o&&(a=r1(i)?o.toDefaultUnit(i):i),t[r]=a}return n.length&&(t.transform=Lb(n)),t}const PH={initial:()=>!0,addCleanup:Jt,addMount:pr},Ep=Kt(),$H=Kt(PH);function BH(e,t,n,r){const{addCleanup:i,addMount:a,initial:o}=n,s=LH(o()?t():{...t(),initial:!1},r);return a(Dp.bind(void 0,hh(),()=>{i(s.mount(e())),Rn(()=>s.update(t()))})),s}const FH=/([^:; ]*):\s*([^;]*)/g;function _p(e){const t={};let n;for(;n=FH.exec(e);)t[n[1]]=n[2];return t}function zH(e,t){if(typeof e=="object"&&typeof t=="object")return{...e,...t};if(typeof e=="string"&&typeof t=="string")return`${e};${t}`;const n=typeof e=="object"?e:_p(e),r=typeof t=="object"?t:_p(t);return{...n,...r}}const xp=e=>{const[t,,n]=xe(e,["initial","animate","inView","inViewOptions","hover","press","variants","transition","exit"],["tag","ref","style","onMotionStart","onMotionComplete","onHoverStart","onHoverEnd","onPressStart","onPressEnd","onViewEnter","onViewLeave"]),r=BH(()=>a,()=>({...t}),an($H),an(Ep)),i=DH(r.getTarget());let a;return A(Ep.Provider,{value:r,get children(){return A(mh,ie({ref:o=>{var s;a=o,(s=e.ref)==null||s.call(e,o)},get component(){return Bn(()=>e.tag||"div")},get style(){return bi(()=>!!e.style,!0)()?zH(e.style,i):i},get["on:motionstart"](){return e.onMotionStart},get["on:motioncomplete"](){return e.onMotionComplete},get["on:hoverstart"](){return e.onHoverStart},get["on:hoverend"](){return e.onHoverEnd},get["on:pressstart"](){return e.onPressStart},get["on:pressend"](){return e.onPressEnd},get["on:viewenter"](){return e.onViewEnter},get["on:viewleave"](){return e.onViewLeave}},n))}})},Pb=new Proxy(xp,{get:(e,t)=>n=>(delete n.tag,A(xp,ie(n,{tag:t})))}),$b=(e,t)=>{t!=null&&t.immediate&&e(),window.addEventListener("scroll",e,{passive:!0}),Jt(()=>window.removeEventListener("scroll",e))},Pj=()=>{if(H0)return null;const[e,t]=qe(!1);return $b(()=>t(window.scrollY>100)),A(We,{get when(){return e()},get children(){return A(Ye,{get as(){return Pb.div},initial:{y:-999},animate:{y:0},zIndex:"$overlay",pos:"fixed",right:"$5",top:"0",borderBottomRadius:"50%",bgColor:"$whiteAlpha12",get color(){return zo()},overflow:"hidden",shadow:"$lg",get _dark(){return{bgColor:zo(),color:"white"}},get _hover(){return{bgColor:zo(),color:"white"}},get children(){return A(Wo,{_focus:{outline:"none"},cursor:"pointer",boxSize:"$7",p:"$1",rounded:"$lg",as:$A,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}})}})}})},[HH,UH]=qe(!1),[jH,$j]=Z6("isMarkdownTocDisabled",!0,{serializer:e=>JSON.stringify(e),deserializer:e=>JSON.parse(e)});function GH(e){if(e.disabled||H0)return null;const[t,n]=qe([]);$b(()=>UH(window.scrollY>100&&t().length>1),{immediate:!0}),Rn(()=>{const s=e.markdownRef.querySelector(".markdown-body");if(!s)return;const l=document.createNodeIterator(s,NodeFilter.SHOW_ELEMENT,{acceptNode(f){return/h1|h2|h3/i.test(f.nodeName)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),c=[];let u=l.nextNode(),d=6;for(;u;){const f=Number(u.nodeName.match(/h(\d)/i)[1]);f<d&&(d=f),c.push({indent:f,text:u.textContent,tagName:u.nodeName.toLowerCase(),key:u.getAttribute("key")}),u=l.nextNode()}n(c.map(f=>({...f,indent:f.indent-d})))});const r=s=>{var f;const l=e.markdownRef.querySelector(`${s.tagName}[key=${s.key}]`);if(!l)return;const c=document.querySelector(".nav");let u=(f=c==null?void 0:c.getBoundingClientRect().bottom)!=null?f:0;u<0&&(u=0);const d=l.getBoundingClientRect().y;window.scrollBy({behavior:"smooth",top:d-u})},i="calc(100% - 20px)",[a,o]=qe(i);return A(We,{get when(){return bi(()=>!jH(),!0)()&&HH()},get children(){return A(Ye,{get as(){return Pb.div},initial:{x:999},get animate(){return{x:a()}},onMouseEnter:()=>o(0),onMouseLeave:()=>o(i),zIndex:"$overlay",pos:"fixed",right:"$6",top:"$6",get children(){return A(Ye,{mt:"$5",p:"$2",shadow:"$outline",rounded:"$lg",bgColor:"white",_dark:{bgColor:"$neutral3"},get children(){return A(G2,{maxH:"60vh",overflowY:"auto",get children(){return A(Fs,{get each(){return t()},children:s=>A(W2,{get pl(){return 15*s.indent},m:4,get children(){return A(Wg,{get color(){return zo()},onClick:()=>r(s),get children(){return s.text}})}})})}})}})}})}})}const qH=Hz(()=>{const e=document.createElement("link");e.rel="stylesheet",e.href="https://registry.npmmirror.com/katex/0.16.8/files/dist/katex.min.css",document.head.appendChild(e)});function Bj(e){const[t,n]=qe("utf-8"),[r,i]=qe(!0),{isString:a,text:o}=ok(e.children),s=f=>!e.ext||e.ext.toLocaleLowerCase()==="md"?f:"```"+e.ext+` `+f+"\n```",{pathname:l}=wc(),c=vt(()=>{let f=s(o(t()));return f=f.replace(/!\[.*?\]\((.*?)\)/g,h=>{const m=h.match(/!\[(.*?)\]\(.*?\)/)[1];let p=h.match(/!\[.*?\]\((.*?)\)/)[1];if(p.startsWith("http://")||p.startsWith("https://")||p.startsWith("//"))return h;p.startsWith("/")?p=`${gi}/d${p}`:p=`${gi}/d${qo(Xh().base_path,aC(e.readme?l():Hh(l()),p))}`;const b=`![${m}](${p})`;return console.log(b),b}),f});Rn(ia(c,()=>{i(!1),qH(),setTimeout(()=>{i(!0),N3.highlightAll(),window.onMDRender&&window.onMDRender()})}));const[u,d]=qe();return A(Ye,{ref:f=>d(f),class:"markdown",pos:"relative",w:"$full",get children(){return[A(We,{get when(){return r()},get children(){return A(aI,{get class(){return zz("markdown-body",e.class)},remarkPlugins:[KR,vz],rehypePlugins:[uB,Fz],get children(){return c()}})}}),A(We,{when:!a,get children(){return A(YH,{get encoding(){return t()},setEncoding:n})}}),A(GH,{get disabled(){return!e.toc},get markdownRef(){return u()}})]}})}function Fj(e){return nt({a:{viewBox:"0 0 1024 1024"},c:'<path d="M624 706.3h-74.1V464c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v242.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.7a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9z"/><path d="M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"/>'},e)}function zj(e){return nt({a:{viewBox:"0 0 1024 1024"},c:'<path d="M518.3 459a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z"/><path d="M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"/>'},e)}function Hj(e){return nt({a:{viewBox:"0 0 1024 1024"},c:'<path d="M573.7 252.5C422.5 197.4 201.3 96.7 201.3 96.7c-15.7-4.1-17.9 11.1-17.9 11.1-5 61.1 33.6 160.5 53.6 182.8 19.9 22.3 319.1 113.7 319.1 113.7S326 357.9 270.5 341.9c-55.6-16-37.9 17.8-37.9 17.8 11.4 61.7 64.9 131.8 107.2 138.4 42.2 6.6 220.1 4 220.1 4s-35.5 4.1-93.2 11.9c-42.7 5.8-97 12.5-111.1 17.8-33.1 12.5 24 62.6 24 62.6 84.7 76.8 129.7 50.5 129.7 50.5 33.3-10.7 61.4-18.5 85.2-24.2L565 743.1h84.6L603 928l205.3-271.9H700.8l22.3-38.7c.3.5.4.8.4.8S799.8 496.1 829 433.8l.6-1h-.1c5-10.8 8.6-19.7 10-25.8 17-71.3-114.5-99.4-265.8-154.5z"/>'},e)}function WH(e){return nt({a:{viewBox:"0 0 1024 1024"},c:'<path d="M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9L391 240.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 000 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 00391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8zm221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 00-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z"/>'},e)}function KH(e){return nt({a:{viewBox:"0 0 1024 1024"},c:'<path d="M290 236.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L290 236.4zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6 43.7 43.7a8.01 8.01 0 0013.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 000 11.3l42.4 42.4zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9L845 694.9zm-463.7-94.6a8.03 8.03 0 00-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6 423.7 654c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.4z"/>'},e)}function Uj(e){return nt({a:{viewBox:"0 0 1024 1024"},c:'<path d="M881 442.4H519.7v148.5h206.4c-8.9 48-35.9 88.6-76.6 115.8-34.4 23-78.3 36.6-129.9 36.6-99.9 0-184.4-67.5-214.6-158.2-7.6-23-12-47.6-12-72.9s4.4-49.9 12-72.9c30.3-90.6 114.8-158.1 214.7-158.1 56.3 0 106.8 19.4 146.6 57.4l110-110.1c-66.5-62-153.2-100-256.6-100-149.9 0-279.6 86-342.7 211.4-26 51.8-40.8 110.4-40.8 172.4S151 632.8 177 684.6C240.1 810 369.8 896 519.7 896c103.6 0 190.4-34.4 253.8-93 72.5-66.8 114.4-165.2 114.4-282.1 0-27.2-2.4-53.3-6.9-78.5z"/>'},e)}function jj(e){return nt({a:{viewBox:"0 0 1024 1024"},c:'<path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"/>'},e)}function Gj(e){return nt({a:{viewBox:"0 0 1024 1024"},c:'<path fill="currentColor" fill-opacity="0.6" d="M292.7 840h438.6l24.2-512h-487z"/><path d="M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zm-504-72h304v72H360v-72zm371.3 656H292.7l-24.2-512h487l-24.2 512z"/>'},e)}const Kf=e=>{const t=ie({h:"$full"},e);return console.log(t.h),A(js,{get h(){return t.h},p:"$2",flexDirection:"column",get children(){return A(Ye,{rounded:"$lg",px:"$4",py:"$6",get bgColor(){return pc("white","$neutral3")()},get children(){return[A(B2,{css:{wordBreak:"break-all"},get children(){return e.msg}}),A(We,{get when(){return!e.disableColor},get children(){return A(Nh,{mt:"$2",justifyContent:"end",get children(){return A(zA,{})}})}})]}})}})},qj=e=>{const{isOpen:t,onToggle:n}=Kw();return A(Ye,{get pos(){return t()?"fixed":"relative"},get w(){return t()?"100vw":e.w},get h(){return t()?"100vh":e.h},top:0,left:0,zIndex:1,transition:"all 0.2s ease-in-out",get css(){return{backdropFilter:t()?"blur(5px)":void 0}},get children(){return[bi(()=>e.children),A(Wo,{pos:"absolute",right:"$2",bottom:"$2","aria-label":"toggle fullscreen",get as(){return t()?WH:KH},onClick:n,cursor:"pointer",rounded:"$md",get bgColor(){return b3()},p:"$1",boxSize:"$7"})]}})};function VH(e){return A(uw,{get size(){return e.size},get value(){return e.value},get onChange(){return e.onChange},get children(){return[A($h,{get borderColor(){return e.alwaysShowBorder?"$info5":void 0},get w(){return e.w},get children(){return[A(Bh,{}),A(z0,{})]}}),A(Ih,{get children(){return A(Rh,{get children(){return A(Fs,{get each(){return e.options},children:t=>A(Lh,{get value(){return t.value},get children(){return[A(Ph,{get children(){var n;return(n=t.label)!=null?n:t.value}}),A(Dh,{})]}})})}})}})]}})}function YH(e){const t=["utf-8","gbk","gb18030","ibm866","iso-8859-2","iso-8859-3","iso-8859-4","iso-8859-5","iso-8859-6","iso-8859-7","iso-8859-8","iso-8859-8i","iso-8859-10","iso-8859-13","iso-8859-14","iso-8859-15","iso-8859-16","koi8-r","koi8-u","macintosh","windows-874","windows-1250","windows-1251","windows-1252","windows-1253","windows-1254","windows-1255","windows-1256","windows-1257","windows-1258","x-mac-cyrillic","big5","euc-jp","iso-2022-jp","shift_jis","euc-kr","iso-2022-kr","utf-16be","utf-16le","x-user-defined","iso-2022-cn"];return A(Ye,{pos:"absolute",right:0,top:0,w:"$36",opacity:.15,_hover:{opacity:1},zIndex:1,get children(){return A(VH,{get options(){return t.map(n=>({label:n.toLocaleUpperCase(),value:n}))},get value(){return e.encoding},onChange:n=>e.setEncoding(n)})}})}function Wj(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M11.182.008C11.148-.03 9.923.023 8.857 1.18c-1.066 1.156-.902 2.482-.878 2.516.024.034 1.52.087 2.475-1.258.955-1.345.762-2.391.728-2.43zm3.314 11.733c-.048-.096-2.325-1.234-2.113-3.422.212-2.189 1.675-2.789 1.698-2.854.023-.065-.597-.79-1.254-1.157a3.692 3.692 0 00-1.563-.434c-.108-.003-.483-.095-1.254.116-.508.139-1.653.589-1.968.607-.316.018-1.256-.522-2.267-.665-.647-.125-1.333.131-1.824.328-.49.196-1.422.754-2.074 2.237-.652 1.482-.311 3.83-.067 4.56.244.729.625 1.924 1.273 2.796.576.984 1.34 1.667 1.659 1.899.319.232 1.219.386 1.843.067.502-.308 1.408-.485 1.766-.472.357.013 1.061.154 1.782.539.571.197 1.111.115 1.652-.105.541-.221 1.324-1.059 2.238-2.758.347-.79.505-1.217.473-1.282z"/><path d="M11.182.008C11.148-.03 9.923.023 8.857 1.18c-1.066 1.156-.902 2.482-.878 2.516.024.034 1.52.087 2.475-1.258.955-1.345.762-2.391.728-2.43zm3.314 11.733c-.048-.096-2.325-1.234-2.113-3.422.212-2.189 1.675-2.789 1.698-2.854.023-.065-.597-.79-1.254-1.157a3.692 3.692 0 00-1.563-.434c-.108-.003-.483-.095-1.254.116-.508.139-1.653.589-1.968.607-.316.018-1.256-.522-2.267-.665-.647-.125-1.333.131-1.824.328-.49.196-1.422.754-2.074 2.237-.652 1.482-.311 3.83-.067 4.56.244.729.625 1.924 1.273 2.796.576.984 1.34 1.667 1.659 1.899.319.232 1.219.386 1.843.067.502-.308 1.408-.485 1.766-.472.357.013 1.061.154 1.782.539.571.197 1.111.115 1.652-.105.541-.221 1.324-1.059 2.238-2.758.347-.79.505-1.217.473-1.282z"/>'},e)}function Kj(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M2.522 5H2a.5.5 0 00-.494.574l1.372 9.149A1.5 1.5 0 004.36 16h7.278a1.5 1.5 0 001.483-1.277l1.373-9.149A.5.5 0 0014 5h-.522A5.5 5.5 0 002.522 5zm1.005 0a4.5 4.5 0 018.945 0H3.527zm9.892 1l-1.286 8.574a.5.5 0 01-.494.426H4.36a.5.5 0 01-.494-.426L2.58 6h10.838z"/>'},e)}function Vj(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M10.5 8.5a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z"/><path d="M2 4a2 2 0 00-2 2v6a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1.172a2 2 0 01-1.414-.586l-.828-.828A2 2 0 009.172 2H6.828a2 2 0 00-1.414.586l-.828.828A2 2 0 013.172 4H2zm.5 2a.5.5 0 110-1 .5.5 0 010 1zm9 2.5a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0z"/>'},e)}function Yj(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M6.002 5.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0z"/><path d="M1.5 2A1.5 1.5 0 000 3.5v9A1.5 1.5 0 001.5 14h13a1.5 1.5 0 001.5-1.5v-9A1.5 1.5 0 0014.5 2h-13zm13 1a.5.5 0 01.5.5v6l-3.775-1.947a.5.5 0 00-.577.093l-3.71 3.71-2.66-1.772a.5.5 0 00-.63.062L1.002 12v.54A.505.505 0 011 12.5v-9a.5.5 0 01.5-.5h13z"/>'},e)}function Xj(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path fill-rule="evenodd" d="M8 0a5.53 5.53 0 00-3.594 1.342c-.766.66-1.321 1.52-1.464 2.383C1.266 4.095 0 5.555 0 7.318 0 9.366 1.708 11 3.781 11H7.5V5.707L5.354 7.854a.5.5 0 11-.708-.708l3-3a.5.5 0 01.708 0l3 3a.5.5 0 01-.708.708L8.5 5.707V11h4.188C14.502 11 16 9.57 16 7.773c0-1.636-1.242-2.969-2.834-3.194C12.923 1.999 10.69 0 8 0zm-.5 14.5V11h1v3.5a.5.5 0 01-1 0z"/>'},e)}function Qj(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 00-2 2v12a2 2 0 002 2h8a2 2 0 002-2V4.707A1 1 0 0013.707 4L10 .293A1 1 0 009.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 01-1-1zM5.884 6.68L8 9.219l2.116-2.54a.5.5 0 11.768.641L8.651 10l2.233 2.68a.5.5 0 01-.768.64L8 10.781l-2.116 2.54a.5.5 0 01-.768-.641L7.349 10 5.116 7.32a.5.5 0 11.768-.64z"/>'},e)}function Zj(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 00-2 2v12a2 2 0 002 2h8a2 2 0 002-2V4.707A1 1 0 0013.707 4L10 .293A1 1 0 009.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 01-1-1zM5.057 6h5.886L11 8h-.5c-.18-1.096-.356-1.192-1.694-1.235l-.298-.01v5.09c0 .47.1.582.903.655v.5H6.59v-.5c.799-.073.898-.184.898-.654V6.755l-.293.01C5.856 6.808 5.68 6.905 5.5 8H5l.057-2z"/>'},e)}function Jj(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M4 0h5.293A1 1 0 0110 .293L13.707 4a1 1 0 01.293.707v5.586l-2.73-2.73a1 1 0 00-1.52.127l-1.889 2.644-1.769-1.062a1 1 0 00-1.222.15L2 12.292V2a2 2 0 012-2zm5.5 1.5v2a1 1 0 001 1h2l-3-3zm-1.498 4a1.5 1.5 0 10-3 0 1.5 1.5 0 003 0z"/><path d="M10.564 8.27L14 11.708V14a2 2 0 01-2 2H4a2 2 0 01-2-2v-.293l3.578-3.577 2.56 1.536 2.426-3.395z"/>'},e)}function eG(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 00-2 2v12a2 2 0 002 2h8a2 2 0 002-2V4.707A1 1 0 0013.707 4L10 .293A1 1 0 009.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 01-1-1zM6 8.5h4a.5.5 0 010 1H6a.5.5 0 010-1z"/>'},e)}function tG(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 00-2 2v12a2 2 0 002 2h8a2 2 0 002-2V4.707A1 1 0 0013.707 4L10 .293A1 1 0 009.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 01-1-1zM11 6.64v1.75l-2 .5v3.61c0 .495-.301.883-.662 1.123C7.974 13.866 7.499 14 7 14c-.5 0-.974-.134-1.338-.377-.36-.24-.662-.628-.662-1.123s.301-.883.662-1.123C6.026 11.134 6.501 11 7 11c.356 0 .7.068 1 .196V6.89a1 1 0 01.757-.97l1-.25A1 1 0 0111 6.64z"/>'},e)}function nG(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M5.523 12.424c.14-.082.293-.162.459-.238a7.878 7.878 0 01-.45.606c-.28.337-.498.516-.635.572a.266.266 0 01-.035.012.282.282 0 01-.026-.044c-.056-.11-.054-.216.04-.36.106-.165.319-.354.647-.548zm2.455-1.647c-.119.025-.237.05-.356.078a21.148 21.148 0 00.5-1.05 12.045 12.045 0 00.51.858c-.217.032-.436.07-.654.114zm2.525.939a3.881 3.881 0 01-.435-.41c.228.005.434.022.612.054.317.057.466.147.518.209a.095.095 0 01.026.064.436.436 0 01-.06.2.307.307 0 01-.094.124.107.107 0 01-.069.015c-.09-.003-.258-.066-.498-.256zM8.278 6.97c-.04.244-.108.524-.2.829a4.86 4.86 0 01-.089-.346c-.076-.353-.087-.63-.046-.822.038-.177.11-.248.196-.283a.517.517 0 01.145-.04c.013.03.028.092.032.198.005.122-.007.277-.038.465z"/><path fill-rule="evenodd" d="M4 0h5.293A1 1 0 0110 .293L13.707 4a1 1 0 01.293.707V14a2 2 0 01-2 2H4a2 2 0 01-2-2V2a2 2 0 012-2zm5.5 1.5v2a1 1 0 001 1h2l-3-3zM4.165 13.668c.09.18.23.343.438.419.207.075.412.04.58-.03.318-.13.635-.436.926-.786.333-.401.683-.927 1.021-1.51a11.651 11.651 0 011.997-.406c.3.383.61.713.91.95.28.22.603.403.934.417a.856.856 0 00.51-.138c.155-.101.27-.247.354-.416.09-.181.145-.37.138-.563a.844.844 0 00-.2-.518c-.226-.27-.596-.4-.96-.465a5.76 5.76 0 00-1.335-.05 10.954 10.954 0 01-.98-1.686c.25-.66.437-1.284.52-1.794.036-.218.055-.426.048-.614a1.238 1.238 0 00-.127-.538.7.7 0 00-.477-.365c-.202-.043-.41 0-.601.077-.377.15-.576.47-.651.823-.073.34-.04.736.046 1.136.088.406.238.848.43 1.295a19.697 19.697 0 01-1.062 2.227 7.662 7.662 0 00-1.482.645c-.37.22-.699.48-.897.787-.21.326-.275.714-.08 1.103z"/>'},e)}function rG(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 00-2 2v12a2 2 0 002 2h8a2 2 0 002-2V4.707A1 1 0 0013.707 4L10 .293A1 1 0 009.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 01-1-1zM6 6.883a.5.5 0 01.757-.429l3.528 2.117a.5.5 0 010 .858l-3.528 2.117a.5.5 0 01-.757-.43V6.884z"/>'},e)}function iG(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M8.188 10H7V6.5h1.188a1.75 1.75 0 110 3.5z"/><path d="M4 0h5.293A1 1 0 0110 .293L13.707 4a1 1 0 01.293.707V14a2 2 0 01-2 2H4a2 2 0 01-2-2V2a2 2 0 012-2zm5.5 1.5v2a1 1 0 001 1h2l-3-3zM7 5.5a1 1 0 00-1 1V13a.5.5 0 001 0v-2h1.188a2.75 2.75 0 000-5.5H7z"/>'},e)}function aG(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 00-2 2v12a2 2 0 002 2h8a2 2 0 002-2V4.707A1 1 0 0013.707 4L10 .293A1 1 0 009.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 01-1-1zM5.485 6.879l1.036 4.144.997-3.655a.5.5 0 01.964 0l.997 3.655 1.036-4.144a.5.5 0 01.97.242l-1.5 6a.5.5 0 01-.967.01L8 9.402l-1.018 3.73a.5.5 0 01-.967-.01l-1.5-6a.5.5 0 11.97-.242z"/>'},e)}function oG(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M5.5 9.438V8.5h1v.938a1 1 0 00.03.243l.4 1.598-.93.62-.93-.62.4-1.598a1 1 0 00.03-.243z"/><path d="M9.293 0H4a2 2 0 00-2 2v12a2 2 0 002 2h8a2 2 0 002-2V4.707A1 1 0 0013.707 4L10 .293A1 1 0 009.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 01-1-1zm-4-.5V2h-1V1H6v1h1v1H6v1h1v1H6v1h1v1H5.5V6h-1V5h1V4h-1V3h1zm0 4.5h1a1 1 0 011 1v.938l.4 1.599a1 1 0 01-.416 1.074l-.93.62a1 1 0 01-1.109 0l-.93-.62a1 1 0 01-.415-1.074l.4-1.599V8.5a1 1 0 011-1z"/>'},e)}function sG(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M8.06 6.5a.5.5 0 01.5.5v.776a11.5 11.5 0 01-.552 3.519l-1.331 4.14a.5.5 0 01-.952-.305l1.33-4.141a10.5 10.5 0 00.504-3.213V7a.5.5 0 01.5-.5z"/><path d="M6.06 7a2 2 0 114 0 .5.5 0 11-1 0 1 1 0 10-2 0v.332c0 .409-.022.816-.066 1.221A.5.5 0 016 8.447c.04-.37.06-.742.06-1.115V7zm3.509 1a.5.5 0 01.487.513 11.5 11.5 0 01-.587 3.339l-1.266 3.8a.5.5 0 01-.949-.317l1.267-3.8a10.5 10.5 0 00.535-3.048A.5.5 0 019.569 8zm-3.356 2.115a.5.5 0 01.33.626L5.24 14.939a.5.5 0 11-.955-.296l1.303-4.199a.5.5 0 01.625-.329z"/><path d="M4.759 5.833A3.501 3.501 0 0111.559 7a.5.5 0 01-1 0 2.5 2.5 0 00-4.857-.833.5.5 0 11-.943-.334zm.3 1.67a.5.5 0 01.449.546 10.72 10.72 0 01-.4 2.031l-1.222 4.072a.5.5 0 11-.958-.287L4.15 9.793a9.72 9.72 0 00.363-1.842.5.5 0 01.546-.449zm6 .647a.5.5 0 01.5.5c0 1.28-.213 2.552-.632 3.762l-1.09 3.145a.5.5 0 01-.944-.327l1.089-3.145c.382-1.105.578-2.266.578-3.435a.5.5 0 01.5-.5z"/><path d="M3.902 4.222a4.996 4.996 0 015.202-2.113.5.5 0 01-.208.979 3.996 3.996 0 00-4.163 1.69.5.5 0 01-.831-.556zm6.72-.955a.5.5 0 01.705-.052A4.99 4.99 0 0113.059 7v1.5a.5.5 0 11-1 0V7a3.99 3.99 0 00-1.386-3.028.5.5 0 01-.051-.705zM3.68 5.842a.5.5 0 01.422.568c-.029.192-.044.39-.044.59 0 .71-.1 1.417-.298 2.1l-1.14 3.923a.5.5 0 11-.96-.279L2.8 8.821A6.531 6.531 0 003.058 7c0-.25.019-.496.054-.736a.5.5 0 01.568-.422zm8.882 3.66a.5.5 0 01.456.54c-.084 1-.298 1.986-.64 2.934l-.744 2.068a.5.5 0 01-.941-.338l.745-2.07a10.51 10.51 0 00.584-2.678.5.5 0 01.54-.456z"/><path d="M4.81 1.37A6.5 6.5 0 0114.56 7a.5.5 0 11-1 0 5.5 5.5 0 00-8.25-4.765.5.5 0 01-.5-.865zm-.89 1.257a.5.5 0 01.04.706A5.478 5.478 0 002.56 7a.5.5 0 01-1 0c0-1.664.626-3.184 1.655-4.333a.5.5 0 01.706-.04zM1.915 8.02a.5.5 0 01.346.616l-.779 2.767a.5.5 0 11-.962-.27l.778-2.767a.5.5 0 01.617-.346zm12.15.481a.5.5 0 01.49.51c-.03 1.499-.161 3.025-.727 4.533l-.07.187a.5.5 0 01-.936-.351l.07-.187c.506-1.35.634-2.74.663-4.202a.5.5 0 01.51-.49z"/>'},e)}function lG(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M0 2a2 2 0 012-2h8a2 2 0 012 2v2h2a2 2 0 012 2v8a2 2 0 01-2 2H6a2 2 0 01-2-2v-2H2a2 2 0 01-2-2V2zm5 10v2a1 1 0 001 1h8a1 1 0 001-1V6a1 1 0 00-1-1h-2v5a2 2 0 01-2 2H5z"/>'},e)}function cG(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.405 1.05c-.413-1.4-2.397-1.4-2.81 0l-.1.34a1.464 1.464 0 01-2.105.872l-.31-.17c-1.283-.698-2.686.705-1.987 1.987l.169.311c.446.82.023 1.841-.872 2.105l-.34.1c-1.4.413-1.4 2.397 0 2.81l.34.1a1.464 1.464 0 01.872 2.105l-.17.31c-.698 1.283.705 2.686 1.987 1.987l.311-.169a1.464 1.464 0 012.105.872l.1.34c.413 1.4 2.397 1.4 2.81 0l.1-.34a1.464 1.464 0 012.105-.872l.31.17c1.283.698 2.686-.705 1.987-1.987l-.169-.311a1.464 1.464 0 01.872-2.105l.34-.1c1.4-.413 1.4-2.397 0-2.81l-.34-.1a1.464 1.464 0 01-.872-2.105l.17-.31c.698-1.283-.705-2.686-1.987-1.987l-.311.169a1.464 1.464 0 01-2.105-.872l-.1-.34zM8 10.93a2.929 2.929 0 110-5.86 2.929 2.929 0 010 5.858z"/>'},e)}function uG(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M1 2.5A1.5 1.5 0 012.5 1h3A1.5 1.5 0 017 2.5v3A1.5 1.5 0 015.5 7h-3A1.5 1.5 0 011 5.5v-3zm8 0A1.5 1.5 0 0110.5 1h3A1.5 1.5 0 0115 2.5v3A1.5 1.5 0 0113.5 7h-3A1.5 1.5 0 019 5.5v-3zm-8 8A1.5 1.5 0 012.5 9h3A1.5 1.5 0 017 10.5v3A1.5 1.5 0 015.5 15h-3A1.5 1.5 0 011 13.5v-3zm8 0A1.5 1.5 0 0110.5 9h3a1.5 1.5 0 011.5 1.5v3a1.5 1.5 0 01-1.5 1.5h-3A1.5 1.5 0 019 13.5v-3z"/>'},e)}function dG(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M10 2a2 2 0 01-1.5 1.937v5.087c.863.083 1.5.377 1.5.726 0 .414-.895.75-2 .75s-2-.336-2-.75c0-.35.637-.643 1.5-.726V3.937A2 2 0 1110 2z"/><path d="M0 9.665v1.717a1 1 0 00.553.894l6.553 3.277a2 2 0 001.788 0l6.553-3.277a1 1 0 00.553-.894V9.665c0-.1-.06-.19-.152-.23L9.5 6.715v.993l5.227 2.178a.125.125 0 01.001.23l-5.94 2.546a2 2 0 01-1.576 0l-5.94-2.546a.125.125 0 01.001-.23L6.5 7.708l-.013-.988L.152 9.435a.25.25 0 00-.152.23z"/>'},e)}function hG(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M0 4a2 2 0 012-2h12a2 2 0 012 2v8a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm11.5 1a.5.5 0 00-.5.5v3.793L9.854 8.146a.5.5 0 10-.708.708l2 2a.5.5 0 00.708 0l2-2a.5.5 0 00-.708-.708L12 9.293V5.5a.5.5 0 00-.5-.5zM3.56 7.01h.056l1.428 3.239h.774l1.42-3.24h.056V11h1.073V5.001h-1.2l-1.71 3.894h-.039l-1.71-3.894H2.5V11h1.06V7.01z"/>'},e)}function fG(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.025 8c0 2.485-2.02 4.5-4.513 4.5A4.506 4.506 0 010 8c0-2.486 2.02-4.5 4.512-4.5A4.506 4.506 0 019.025 8zm4.95 0c0 2.34-1.01 4.236-2.256 4.236-1.246 0-2.256-1.897-2.256-4.236 0-2.34 1.01-4.236 2.256-4.236 1.246 0 2.256 1.897 2.256 4.236zM16 8c0 2.096-.355 3.795-.794 3.795-.438 0-.793-1.7-.793-3.795 0-2.096.355-3.795.794-3.795.438 0 .793 1.699.793 3.795z"/>'},e)}function mG(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"/>'},e)}function pG(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M12.433 10.07C14.133 10.585 16 11.15 16 8a8 8 0 10-8 8c1.996 0 1.826-1.504 1.649-3.08-.124-1.101-.252-2.237.351-2.92.465-.527 1.42-.237 2.433.07zM8 5a1.5 1.5 0 110-3 1.5 1.5 0 010 3zm4.5 3a1.5 1.5 0 110-3 1.5 1.5 0 010 3zM5 6.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zm.5 6.5a1.5 1.5 0 110-3 1.5 1.5 0 010 3z"/>'},e)}function gG(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M11 6a3 3 0 11-6 0 3 3 0 016 0z"/><path fill-rule="evenodd" d="M0 8a8 8 0 1116 0A8 8 0 010 8zm8-7a7 7 0 00-5.468 11.37C3.242 11.226 4.805 10 8 10s4.757 1.225 5.468 2.37A7 7 0 008 1z"/>'},e)}function bG(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M16 8A8 8 0 110 8a8 8 0 0116 0zM6.79 5.093A.5.5 0 006 5.5v5a.5.5 0 00.79.407l3.5-2.5a.5.5 0 000-.814l-3.5-2.5z"/>'},e)}function XH(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M11.742 10.344a6.5 6.5 0 10-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 001.415-1.414l-3.85-3.85a1.007 1.007 0 00-.115-.1zM12 6.5a5.5 5.5 0 11-11 0 5.5 5.5 0 0111 0z"/>'},e)}function vG(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M2.5 4a.5.5 0 100-1 .5.5 0 000 1zm2-.5a.5.5 0 11-1 0 .5.5 0 011 0zm1 .5a.5.5 0 100-1 .5.5 0 000 1z"/><path d="M2 1a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V3a2 2 0 00-2-2H2zm13 2v2H1V3a1 1 0 011-1h12a1 1 0 011 1zM2 14a1 1 0 01-1-1V6h14v7a1 1 0 01-1 1H2z"/>'},e)}function yG(e){return nt({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M6.555 1.375L0 2.237v5.45h6.555V1.375zM0 13.795l6.555.933V8.313H0v5.482zm7.278-5.4l.026 6.378L16 16V8.395H7.278zM16 0L7.33 1.244v6.414H16V0z"/>'},e)}const QH=ut(XH,{baseStyle:{color:"$neutral11"}}),TG=e=>{const t=Cc(),n=Ta(),[r,i]=qe(!1),[a,o]=qe("");let s;const l=()=>e.searchable?e.options.filter(u=>new RegExp(a(),"i").test(u.label)):e.options,c=()=>n.state.selectedOptions.map(u=>u.textValue).join(",");return Rn(ia(c,o)),[A($h,{get as(){return e.searchable?"div":void 0},get children(){return A(We,{get fallback(){return[A(R6,{get children(){return t("global.choose")}}),A(Bh,{}),A(z0,{})]},get when(){return!e.readonly&&e.searchable},get children(){return[A(H2,{border:"none",variant:"unstyled",get placeholder(){return bi(()=>!!r(),!0)()&&c()||t("global.choose")},get value(){return bi(()=>!!r(),!0)()?a():c()},onKeyDown:u=>u.stopPropagation(),onClick:u=>{!n.state.opened||u.stopPropagation()},onInput:u=>{clearTimeout(s),o(u.currentTarget.value)},onBlur:()=>{i(!1),s=setTimeout(()=>o(""),300)},onFocus:()=>{clearTimeout(s),o(""),i(!0)}}),A(We,{get when(){return r()},get fallback(){return A(z0,{})},get children(){return A(QH,{})}})]}})}}),A(Ih,{get children(){return A(Rh,{get children(){return A(Fs,{get each(){return l()},children:u=>A(Lh,{get value(){return u.key},get children(){return[A(Ph,{get children(){return u.label}}),A(Dh,{})]}})})}})}})]},ZH={initialColorMode:"system",lightTheme:{colors:{background:"#f7f8fa"}},components:{Button:{baseStyle:{root:{rounded:"$lg",_active:{transform:"scale(.95)",transition:"0.2s"},_focus:{boxShadow:"unset"}}},defaultProps:{root:{colorScheme:"info",variant:"subtle"}}},IconButton:{defaultProps:{colorScheme:"info",variant:"subtle"}},Input:{baseStyle:{input:{rounded:"$lg",_focus:{boxShadow:"unset",borderColor:"$info8"}}},defaultProps:{input:{variant:"filled"}}},Textarea:{baseStyle:{rounded:"$lg",_focus:{boxShadow:"unset",borderColor:"$info8"},resize:"vertical",wordBreak:"break-all"},defaultProps:{variant:"filled"}},Select:{baseStyle:{trigger:{rounded:"$lg",_focus:{boxShadow:"unset",borderColor:"$info8"}},content:{border:"none",rounded:"$lg"},optionIndicator:{color:"$info10"}},defaultProps:{root:{variant:"filled"}}},Checkbox:{defaultProps:{root:{colorScheme:"info",variant:"filled"}}},Switch:{defaultProps:{root:{colorScheme:"info"}}},Menu:{baseStyle:{content:{rounded:"$md",minW:"unset",border:"unset"},item:{rounded:"$md",py:"$1"}}},Notification:{baseStyle:{root:{rounded:"$lg",border:"unset"}}},Alert:{baseStyle:{root:{rounded:"$lg"}}},Anchor:{baseStyle:{rounded:"$lg",px:"$1_5",py:"$1",_hover:{bgColor:b3(),textDecoration:"none"},_focus:{boxShadow:"unset"},_active:{transform:"scale(.95)",transition:"0.1s"}}},Modal:{baseStyle:{content:{rounded:"$lg"}}}}},Bb=ya({"*":{margin:0,padding:0},html:{fontFamily:'-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol" !important'},"#root":{display:"flex",flexDirection:"column",alignItems:"center"},".hope-breadcrumb__list":{flexWrap:"wrap",rowGap:"0 !important"},".lightgallery-container":{"& .lg-backdrop":{zIndex:"$popover"},"& .lg-outer":{zIndex:"calc($popover + 10)"}},".viselect-selection-area":{background:"rgba(46, 115, 252, 0.11)",border:"2px solid rgba(98, 155, 255, 0.81)",borderRadius:"0.1em"},".viselect-container":{userSelect:"none","& .viselect-item":{"-webkit-user-drag":"none","& img":{"-webkit-user-drag":"none"}}}}),Sp=e=>{const t=Cc(),[n,r]=YA(()=>Tn.get("/me")),[i,a]=qe();return(async()=>xc(await r(),RA,a))(),A(nc,{get fallback(){return e.children},get children(){return[A(aa,{get when(){return n()},get children(){return A(Qh,{})}}),A(aa,{get when(){return i()!==void 0},get children(){return A(Kf,{get msg(){return t("home.get_current_user_failed")+i()}})}})]}})};const JH=tc(()=>Ga(()=>import("./Layout.1eb03db6.js").then(e=>e.L),["assets/Layout.1eb03db6.js","assets/useTitle.3f4acbac.js","assets/index.244b91b4.js","assets/FolderTree.1124b2c9.js","assets/index.0ece6518.js"])),eU=tc(()=>Ga(()=>import("./index.811083a7.js").then(e=>e.i),["assets/index.811083a7.js","assets/useTitle.3f4acbac.js","assets/index.0ece6518.js","assets/index.d30e332e.js"])),tU=tc(()=>Ga(()=>import("./index.38ca2fa0.js"),["assets/index.38ca2fa0.js","assets/useTitle.3f4acbac.js","assets/webauthn-json.browser-ponyfill.1c672167.js"])),nU=tc(()=>Ga(()=>import("./index.718e0f0d.js"),["assets/index.718e0f0d.js","assets/Upload.613cd7c9.js","assets/index.244b91b4.js"])),rU=()=>{const e=Cc();Bb();const[,{add:t}]=zh(),n=jv(),{to:r,pathname:i}=wc(),a=u=>{r(u)};Ll.on("to",a),Jt(()=>{Ll.off("to",a)}),Rn(()=>{Ll.emit("pathname",i())});const[o,s]=qe(),[l,c]=k3(()=>Promise.all([(async()=>{t(Va,(await Zh[Va]()).default),Dd.add(Va)})(),(async()=>{gA(await Tn.get("/public/settings"),NA,s)})()]));return c(),[A(ro,{get children(){return A(v6,{indeterminate:!0,size:"xs",position:"fixed",top:"0",left:"0",right:"0",zIndex:"$banner",get d(){return n()?"block":"none"},get children(){return A(T6,{})}})}}),A(nc,{get fallback(){return A(ey,{base:di,get children(){return[A(I1,{path:"/@test",component:nU}),A(I1,{path:"/@login",component:tU}),A(I1,{path:"/@manage/*",get element(){return A(Sp,{get children(){return A(eU,{})}})}}),A(I1,{path:"*",get element(){return A(Sp,{get children(){return A(JH,{})}})}})]}})},get children(){return[A(aa,{get when(){return o()!==void 0},get children(){return A(Kf,{h:"100vh",get msg(){return e("home.fetching_settings_failed")+e("home."+(o()||""))}})}}),A(aa,{get when(){return l()},get children(){return A(Qh,{})}})]}})]},iU=()=>(Bb(),A(u_,{config:ZH,get children(){return A(iv,{fallback:e=>(console.error("error",e),A(Kf,{msg:`System error: ${e}`,h:"100vh"})),get children(){return A(Q6.Provider,{value:GA,get children(){return A(PS,{duration:3e3,get children(){return A(ov,{get fallback(){return A(Qh,{})},get children(){return A(rU,{})}})}})}})}})}}));pv(()=>A(Jv,{get children(){return A(iU,{})}}),document.getElementById("root"));export{nc as $,b2 as A,Wx as B,Jg as C,qx as D,ie as E,Jx as F,Fs as G,Nd as H,H2 as I,px as J,gx as K,b3 as L,Yx as M,sU as N,oC as O,Ep as P,bx as Q,mx as R,We as S,Gw as T,Ks as U,tc as V,Ga as W,pc as X,ov as Y,LA as Z,uj as _,aU as __vite_legacy_guard,Cc as a,DU as a$,aa as a0,Ja as a1,Kf as a2,T3 as a3,l6 as a4,Jh as a5,Rp as a6,Ye as a7,bj as a8,Bj as a9,VU as aA,hS as aB,js as aC,nt as aD,Gj as aE,Fj as aF,IA as aG,Ww as aH,Lj as aI,hj as aJ,Kw as aK,vi as aL,AA as aM,aj as aN,nj as aO,gj as aP,zj as aQ,Mj as aR,HH as aS,$j as aT,cj as aU,jj as aV,YA as aW,FU as aX,OU as aY,$U as aZ,zU as a_,v3 as aa,Gx as ab,Xp as ac,Pb as ad,MS as ae,Wg as af,x3 as ag,Xh as ah,en as ai,e6 as aj,sS as ak,zo as al,sj as am,uG as an,Yj as ao,X2 as ap,Z2 as aq,mh as ar,lj as as,vS as at,lS as au,vj as av,Ll as aw,Wo as ax,XH as ay,bi as az,wc as b,Cj as b$,ij as b0,UU as b1,LU as b2,BU as b3,HU as b4,Uw as b5,PU as b6,JS as b7,aw as b8,Tn as b9,Ax as bA,Pj as bB,ro as bC,MU as bD,pj as bE,ZU as bF,NU as bG,ej as bH,ak as bI,an as bJ,RU as bK,EU as bL,d1 as bM,Kt as bN,MA as bO,B2 as bP,Nh as bQ,sG as bR,cG as bS,vG as bT,pG as bU,Vj as bV,dG as bW,Tj as bX,Kj as bY,fG as bZ,Xj as b_,xc as ba,jU as bb,VH as bc,y2 as bd,Zx as be,Qx as bf,fU as bg,pU as bh,mU as bi,EA as bj,Ij as bk,zA as bl,hU as bm,tS as bn,TA as bo,uw as bp,$h as bq,R6 as br,Bh as bs,z0 as bt,Ih as bu,Rh as bv,Lh as bw,Ph as bx,Dh as by,Mw as bz,mr as c,RA as c$,gG as c0,lG as c1,Oj as c2,Aj as c3,xU as c4,SU as c5,ey as c6,I1 as c7,KU as c8,ar as c9,GU as cA,ut as cB,lC as cC,eG as cD,Jj as cE,Zj as cF,tG as cG,rG as cH,Nj as cI,Wj as cJ,yG as cK,oG as cL,hG as cM,aG as cN,Qj as cO,iG as cP,nG as cQ,lU as cR,CU as cS,fj as cT,qj as cU,mj as cV,dj as cW,_U as cX,oU as cY,L2 as cZ,Mh as c_,wt as ca,di as cb,Hj as cc,Uj as cd,mG as ce,yj as cf,Z6 as cg,Px as ch,kj as ci,Zn as cj,sx as ck,wU as cl,v6 as cm,T6 as cn,Ej as co,_j as cp,xj as cq,Sj as cr,gv as cs,xe as ct,N0 as cu,Up as cv,Ig as cw,bG as cx,AU as cy,Ua as cz,qo as d,U_ as d0,Q_ as d1,Z_ as d2,G_ as d3,aS as d4,cU as d5,Rj as d6,Pw as d7,zw as d8,Hw as d9,Hh as dA,vU as dB,TU as dC,gi as dD,kU as dE,Fw as da,$w as db,Bw as dc,bU as dd,jS as de,HS as df,GS as dg,US as dh,gU as di,qU as dj,WU as dk,TG as dl,bh as dm,tj as dn,JU as dp,rj as dq,oj as dr,H0 as ds,ra as dt,hh as du,Dj as dv,ok as dw,YH as dx,Yp as dy,wj as dz,Jt as e,IU as f,QA as g,A as h,Bn as i,yi as j,vt as k,Vh as l,qe as m,kd as n,pr as o,yU as p,Wl as q,ia as r,em as s,Uo as t,ZA as u,Tp as v,$H as w,Rn as x,Vx as y,_2 as z};