@wexio/messenger-widget-react 1.7.6 → 1.7.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/dist/widget-react-BjrztiIA.js +2 -0
- package/dist/widget-react-C3uItBwG.js +140 -0
- package/dist/{widget-react-C8SNEdwd.js → widget-react-D-bgEOgc.js} +20 -20
- package/dist/{widget-react-DyHOzlxL.js → widget-react-DVbuLGRg.js} +11 -11
- package/dist/widget-react-DyEgiVbP.js +2 -0
- package/dist/widget-react-SvlXgmVw.js +2 -0
- package/dist/widget-react.d.ts +18 -1
- package/dist/widget-react.js +30 -30
- package/package.json +1 -1
- package/dist/widget-react-Cjd5m37N.js +0 -2
- package/dist/widget-react-DJDytohv.js +0 -2
- package/dist/widget-react-D_H6kTTD.js +0 -140
- package/dist/widget-react-Df0nz7Rs.js +0 -2
|
@@ -258,35 +258,35 @@ this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):a
|
|
|
258
258
|
ok
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
|
-
`;function nf(e){return Ol(tf,{...Qd,...e})}function rf(e,t){return typeof window>`u`||!e.source?!1:e.source===(t===`iframe`?window.parent:window)}var af=`wexio-cache`,of=`kv`,sf=1,cf={config:(e,t)=>`config:${e}:${t}`,configPrefix:e=>`config:${e}:`,gate:e=>`gate:${e}:`,news:(e,t)=>`news:${e}:${t}`,newsPost:(e,t,n)=>`news-post:${e}:${t}:${n}`,article:(e,t,n)=>`article:${e}:${t}:${n}`,helpCategories:(e,t)=>`help-categories:${e}:${t}`,helpRoot:(e,t)=>`help-root:${e}:${t}`,home:(e,t,n)=>`home:${e}:${t}:${n}`},lf=4320*60*1e3;function uf(e){return!!e&&typeof e==`object`&&typeof e.at==`number`}function df(){let e=new Map;return{get:t=>Promise.resolve(e.get(t)??null),set:(t,n)=>(e.set(t,n),Promise.resolve()),prune:t=>{for(let[n,r]of e)r.at<t&&e.delete(n);return Promise.resolve()},evictPrefix:t=>{for(let n of e.keys())n.startsWith(t)&&e.delete(n);return Promise.resolve()}}}function ff(){return typeof indexedDB>`u`?Promise.resolve(null):new Promise(e=>{let t;try{t=indexedDB.open(af,sf)}catch{e(null);return}t.onupgradeneeded=()=>{let e=t.result;e.objectStoreNames.contains(of)||e.createObjectStore(of)},t.onsuccess=()=>e(t.result),t.onerror=()=>e(null),t.onblocked=()=>e(null)})}var pf={get:e=>ff().then(t=>new Promise(n=>{if(!t){n(null);return}try{let r=t.transaction(of,`readonly`).objectStore(of).get(e);r.onsuccess=()=>n(uf(r.result)?r.result:null),r.onerror=()=>n(null)}catch{n(null)}})),set:(e,t)=>ff().then(n=>new Promise(r=>{if(!n){r();return}try{let i=n.transaction(of,`readwrite`);i.objectStore(of).put(t,e),i.oncomplete=()=>r(),i.onerror=()=>r(),i.onabort=()=>r()}catch{r()}})),prune:e=>ff().then(t=>new Promise(n=>{if(!t){n();return}try{let r=t.transaction(of,`readwrite`),i=r.objectStore(of).openCursor();i.onsuccess=()=>{let t=i.result;if(!t)return;let n=t.value;(!uf(n)||n.at<e)&&t.delete(),t.continue()},r.oncomplete=()=>n(),r.onerror=()=>n(),r.onabort=()=>n()}catch{n()}})),evictPrefix:e=>ff().then(t=>new Promise(n=>{if(!t){n();return}try{let r=t.transaction(of,`readwrite`),i=IDBKeyRange.bound(e,`${e}\uffff`),a=r.objectStore(of).openCursor(i);a.onsuccess=()=>{let e=a.result;e&&(e.delete(),e.continue())},r.oncomplete=()=>n(),r.onerror=()=>n(),r.onabort=()=>n()}catch{n()}}))};function mf(){return typeof indexedDB>`u`?df():pf}var hf=mf(),gf=!1;function _f(){gf||(gf=!0,hf.prune(Date.now()-lf).catch(()=>void 0))}async function vf(e){_f();try{let t=await hf.get(e);return t?Date.now()-t.at>2592e5?(hf.prune(Date.now()-lf).catch(()=>void 0),null):t.v:null}catch{return null}}function yf(e,t){return _f(),hf.set(e,{v:t,at:Date.now()}).catch(()=>void 0)}function bf(e){return hf.evictPrefix(e).catch(()=>void 0)}var xf=m(null),Sf=xf.Provider;function Cf(){return _(xf)}function wf(){let{preview:e}=Qu();return C(e.subscribe,e.snapshot,e.snapshot)}function Tf(){let e=e=>{typeof window>`u`||window.parent?.postMessage(e,`*`)};return{kind:`iframe`,onResize:(t,n,r)=>e({type:`wexio:widget:resize:v1`,width:t,height:n,open:r}),onOpen:()=>e({type:`wexio:widget:open:v1`}),onClose:()=>e({type:`wexio:widget:close:v1`}),onMessageAction:t=>e({type:`wexio:widget:message-action:v1`,detail:t}),onLauncherPosition:t=>e({type:`wexio:widget:position:v1`,side:t}),onLauncherOffset:t=>e({type:`wexio:widget:offset:v1`,x:t.x,y:t.y}),onPreviewTokenRequest:t=>e({type:`wexio:preview-token:request`,reason:t}),onHidden:()=>e({type:`wexio:widget:hidden:v1`}),onActive:()=>e({type:`wexio:widget:active:v1`})}}var Ef=m(null);function Df({env:e,children:t}){return T(Ef.Provider,{value:e,children:t})}function Of(){let e=_(Ef),t=b(()=>Tf(),[]);return e??t}var kf=`message:`,Af=(e,t)=>t?`${kf}${e}:${t}`:`${kf}${e}`;function jf(e){if(!e?.startsWith(`message:`))return null;let t=e.slice(8),n=t.indexOf(`:`),r=n<0?t:t.slice(0,n);return r?[r,n<0?null:t.slice(n+1)||null]:null}function Mf(e){return jf(e)?.[0]??null}function Nf(e){return jf(e)?.[1]??null}var Pf=/^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8}){0,3}$/,Ff=e=>e.length<=35&&Pf.test(e);function If(e,t,n){let r=Mf(e);if(!r||!t||t.slotId!==r)return;let i=Nf(e);if(!(i&&t.variantId!==i))return{slotId:r,variantId:t.variantId,...Ff(n)?{locale:n}:{}}}function Lf(e){let{threadKey:t,pick:n,exists:r,locale:i}=e;if(!(!t||Mf(t)||r||!n))return{slotId:n.slotId,variantId:n.variantId,...Ff(i)?{locale:i}:{}}}function Rf(e){let t=e.threadKey??null,n=Mf(t);if(!n)return{threadKey:t};let r=e.firstSendOnly??!0;if(e.exists&&r)return{threadKey:t};let i=Nf(t),a=e=>e&&e.slotId===n&&(!i||e.variantId===i)?e:null,o=a(e.remembered),s=o??a(e.current)??(i?{slotId:n,variantId:i}:null);if(!s)return e.exists?{threadKey:t}:{threadKey:null};let c=If(t,s,e.locale);return{threadKey:t,...c?{messageSlot:c}:{},...o?{}:{remember:s}}}var zf=`slot-`,Bf=e=>e.replace(/[^A-Za-z0-9_-]/g,`_`),Vf=(e,t)=>`${zf}${Hf(e,t)}`,Hf=(e,t)=>t?`${Bf(e)}:${Bf(t)}`:Bf(e);function Uf(e){let t=e.indexOf(`:`);return t<0?{slotKeyId:e,variantKeyId:null}:{slotKeyId:e.slice(0,t),variantKeyId:e.slice(t+1)||null}}function Wf(e){return e?.startsWith(`slot-`)&&e.slice(5)||null}function Gf(e){if(!e)return`main`;if(e.startsWith(`message:`)){let{slotKeyId:t,variantKeyId:n}=Uf(e.slice(kf.length));return`slot:${Hf(t,n)}`}let t=Wf(e);return t?`slot:${t}`:e}var Kf=(e,t)=>Bf(e)===Uf(t).slotKeyId,qf=e=>`wexio:local-slots:${e}`;function Jf(e,t){try{let n=e.getItem(qf(t)),r=n?JSON.parse(n):null;return r&&typeof r==`object`&&!Array.isArray(r)?r:{}}catch{return{}}}function Yf(e,t,n){let r=Jf(e,t),i=Hf(n.slotId,n.pinVariant?n.variant.id:null);if(r[i])return r;let{when:a,...o}=n.variant,s={...r,[i]:o};try{e.setItem(qf(t),JSON.stringify(s))}catch{}return s}var Xf=new Set;function Zf(e,t){let n=new Set((e??[]).map(e=>e.id)),r=(t??[]).filter(e=>e.kind===`MESSAGE`&&!n.has(e.id));return r.length===0?Xf:new Set(r.map(e=>e.id))}var Qf=new Set,$f=null;function ep(){for(let e of[...Qf])e()}var tp=!1;function np(){tp||(tp=!0,queueMicrotask(()=>{tp=!1,ep()}))}function rp(){let e=window.history.pushState,t=window.history.replaceState,n=function(...t){let n=e.apply(this,t);return np(),n},r=function(...e){let n=t.apply(this,e);return np(),n};return window.history.pushState=n,window.history.replaceState=r,window.addEventListener(`popstate`,np),window.addEventListener(`hashchange`,np),()=>{window.history.pushState===n&&(window.history.pushState=e),window.history.replaceState===r&&(window.history.replaceState=t),window.removeEventListener(`popstate`,np),window.removeEventListener(`hashchange`,np)}}function ip(e){return typeof window>`u`?()=>{}:(Qf.add(e),$f||($f=rp()),()=>{Qf.delete(e),Qf.size===0&&$f&&($f(),$f=null)})}function ap(e){let t=new Map,n=new Map;return{peek(e){return t.get(e)??null},get(r){let i=t.get(r);if(i)return Promise.resolve(i);let a=n.get(r);if(a)return a;let o=e(r).then(e=>(t.set(r,e),n.delete(r),e),()=>(n.delete(r),null));return n.set(r,o),o}}}var op=`en.en-US.en-GB.uk.de.es.es-MX.fr.it.nl.pt.pt-BR.sv.da.no.fi.pl.cs.sk.tr.ro.hu.el.ar.he.hi.th.vi.id.ja.ko.zh.zh-TW`.split(`.`);function sp(e){return typeof e==`string`&&op.includes(e)}var cp={ar:()=>import(`./widget-react-DJTgpBXp.js`),cs:()=>import(`./widget-react-CgvtA8Ek.js`),da:()=>import(`./widget-react-CxTI2WNr.js`),de:()=>import(`./widget-react-tvX8XSZD.js`),el:()=>import(`./widget-react-Cx_utOCH.js`),"en-GB":()=>import(`./widget-react-RFGjueTQ.js`),"en-US":()=>import(`./widget-react-uWEOH9Lh.js`),en:()=>import(`./widget-react-iwANUtnB.js`),"es-MX":()=>import(`./widget-react-BAzh_M3R.js`),es:()=>import(`./widget-react-C1rXlCoj.js`),fi:()=>import(`./widget-react-Cil8Ajlh.js`),fr:()=>import(`./widget-react-BEeSy_sM.js`),he:()=>import(`./widget-react-Bz5u8QHz.js`),hi:()=>import(`./widget-react-C2_GJN-2.js`),hu:()=>import(`./widget-react-Fou9JP7u.js`),id:()=>import(`./widget-react-YOrK-1WI2.js`),it:()=>import(`./widget-react-C6OZyIh32.js`),ja:()=>import(`./widget-react-0MqeP0VG2.js`),ko:()=>import(`./widget-react-DPf6mDAF2.js`),nl:()=>import(`./widget-react-bEpDN5aA2.js`),no:()=>import(`./widget-react-12srXq362.js`),pl:()=>import(`./widget-react-DLK0giQJ2.js`),"pt-BR":()=>import(`./widget-react-B1v9X8dK2.js`),pt:()=>import(`./widget-react-Dy2T3sIZ2.js`),ro:()=>import(`./widget-react-C78gQza62.js`),sk:()=>import(`./widget-react-13R6Vrt62.js`),sv:()=>import(`./widget-react-Cw8StXTV2.js`),th:()=>import(`./widget-react-BzlFOEiU2.js`),tr:()=>import(`./widget-react-C1vTza-V2.js`),uk:()=>import(`./widget-react-dWaXqKR32.js`),vi:()=>import(`./widget-react-DCnPzcmJ2.js`),"zh-TW":()=>import(`./widget-react-BpSJW2vD2.js`),zh:()=>import(`./widget-react-BKZZeBk72.js`)};function lp(e){return cp[sp(e)?e:`en`]()}function up(e){let t=e;for(let e=0;e<4;e++){if(t&&typeof t==`object`&&(`threads`in t||`conversation`in t))return t;if(t&&typeof t==`object`&&`default`in t)t=t.default;else break}return t&&typeof t==`object`?t:{}}async function dp(e){return up(await lp(e))}var fp={raw:()=>void 0,ready:!1};function pp(e){return e.ready!==!1}var mp=op,hp=ap(dp);function gp(e){return t=>{let n=e;for(let e of t.split(`.`))if(n&&typeof n==`object`&&e in n)n=n[e];else return;return n}}function _p(e,t){let[n,r]=S(()=>{let t=hp.peek(e);return t?{raw:gp(t)}:null});return v(()=>{let t=!0;return hp.get(e).then(e=>{!t||!e||r({raw:gp(e)})}),()=>{t=!1}},[e]),n??t}function vp(){return _p(r(),fp)}var yp=new Map,bp=new Set;function xp(e,t,n){if(bp.has(e))return Promise.resolve();let r=yf(t,n),i=yp.get(e)??new Set;return yp.set(e,i),i.add(r),r.finally(()=>i.delete(r)),r}async function Sp(e){bp.add(e),await Promise.all([...yp.get(e)??[]]),await Promise.all([bf(cf.configPrefix(e)),bf(cf.gate(e))])}var Cp=new Set([`status`,`branding`,`integrationId`,`name`,`security`]),wp=new Set([`__proto__`,`constructor`,`prototype`]);function Tp(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}function Ep(e){if(Array.isArray(e)){let t=!1,n=e.map(e=>{let n=Ep(e);return n!==e&&(t=!0),n});return t?n:e}if(!Tp(e))return e;let t=!1,n={};for(let r of Object.keys(e)){if(wp.has(r)){t=!0;continue}let i=Ep(e[r]);i!==e[r]&&(t=!0),n[r]=i}return t?n:e}function Dp(e){if(!(!Tp(e)||typeof e.enabled!=`boolean`))return{enabled:e.enabled}}function Op(e){if(!Tp(e))return;let t=Dp(e.google),n=Dp(e.passkey);if(!(!t&&!n))return{...t&&{google:t},...n&&{passkey:n}}}function kp(e){if(!Tp(e))return{};let t=Ep(e),n={};for(let e of Object.keys(t))Cp.has(e)||(n[e]=t[e]);let r=Op(t.security);return r&&(n.security=r),n}function Ap(e,t,n){return e.kind===`ok`?{action:`show`,value:e.value}:e.kind===`transient`&&e.previewReason?(t.report(e.previewReason,n),{action:`wait`}):{action:`hide`,unreachable:e.kind===`transient`}}function jp(e,t){return e.kind===`ok`?{action:`show`,value:e.value,source:`live`}:e.kind===`definitive`?{action:`hide`,evict:!0}:t?t.status===`active`?{action:`show`,value:t,source:`cache`}:{action:`hide`,evict:!0}:{action:`hide`,evict:!1}}async function Mp(e,t,n){let r=jp(e,e.kind===`transient`?await vf(n):null);return r.action===`hide`&&r.evict&&await Sp(t),r}function Np(e,t=typeof window>`u`?null:window.location.href){let n=t?new URL(t).searchParams.get(`pk`)??void 0:void 0,r=e.modeOverride===`demo`,i=r?void 0:cu()||void 0,a=r?void 0:e.publicKeyOverride??n??i,o=a===`pk_demo`?void 0:a,s=e.publicKeyOverride??n;return{publicKey:o,keyed:!!o||!!(s&&s!==`pk_demo`),pkFromUrl:n}}var Pp=/^[\w ,."'-]+$/;function Fp(e){if(typeof e!=`string`)return!1;let t=e.trim();if(!t||t.length>200||!Pp.test(t))return!1;for(let e of[`'`,`"`])if((t.split(e).length-1)%2!=0)return!1;return!0}var Ip=e=>Fp(e)?e.trim():void 0,Lp=/^#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,Rp=e=>typeof e==`string`&&Lp.test(e)?e:void 0,zp=`Inter.Poppins.DM Sans.Roboto.IBM Plex Sans.Lato.Montserrat.Nunito.Raleway.Work Sans.Open Sans.Noto Sans.Source Sans 3.Manrope.Onest.PT Sans.Fira Sans.Jost.Rubik.Comfortaa.Merriweather.Lora.PT Serif.Playfair Display.JetBrains Mono.IBM Plex Mono`.split(`.`),Bp=`400;500;600;700`,Vp={Roboto:`400;500;700`,Lato:`400;700`},Hp=new Map(zp.map(e=>[e.toLowerCase(),`${e.replace(/ /g,`+`)}:wght@${Vp[e]??Bp}`]));function Up(e){if(typeof document>`u`)return;let t=Ip(e);if(!t)return;let n=t.split(`,`)[0]?.trim().replace(/^['"]|['"]$/g,``);if(!n)return;let r=Hp.get(n.toLowerCase());if(!r)return;let i=`wexio-font-${n.toLowerCase().replace(/\s+/g,`-`)}`;if(document.getElementById(i))return;let a=document.createElement(`link`);a.id=i,a.rel=`stylesheet`,a.href=`https://fonts.googleapis.com/css2?family=${r}&display=swap`,document.head.appendChild(a)}var Wp=`wexio-trust:public`,Gp={status:`active`,defaultTab:`home`,localeStrategy:`AUTO`,defaultLocale:`en`,supportedLocales:[],contentLocaleFallback:!0,security:{requireAuth:!1,google:{enabled:!1,clientId:``},passkey:{enabled:!1}},features:{home:!0,messenger:!0,help:!0,news:!0,profile:!0},theme:null,themeMode:`auto`,operatorAvatars:[{src:`https://i.pravatar.cc/64?u=op-1`,alt:`Operator`},{src:`https://i.pravatar.cc/64?u=op-2`,alt:`Operator`},{src:`https://i.pravatar.cc/64?u=op-3`,alt:`Operator`}],organizationLogo:null,showLogoInLauncher:!1,greeting:{headline:`Hi there 👋`,subheadline:`How can we help?`},homeLayout:[{kind:`team-status`,showResponseTime:!0,showOperatorAvatars:!0,presence:`HUMAN`,responseTime:`MINUTES`},{kind:`ask-question`},{kind:`recent-message`},{kind:`featured-article`},{kind:`pinned-articles`,articleIds:[]},{kind:`quick-actions`,layout:`inline`,buttons:[{label:`WhatsApp`,icon:{kind:`named`,name:`whatsapp`},action:`open-url`,url:`https://wa.me/15555555555`},{label:`Telegram`,icon:{kind:`named`,name:`telegram`},action:`open-url`,url:`https://t.me/wexio`},{label:`Instagram`,icon:{kind:`named`,name:`instagram`},action:`open-url`,url:`https://instagram.com/wexio`},{label:`Email`,icon:{kind:`named`,name:`email`},action:`open-url`,url:`mailto:help@wexio.io`}]}],prechatForm:{enabled:!1,fields:[]},branding:null,sounds:{enabled:!0,inboundSoundId:`wx-nt_3`,outboundSoundId:`wx-nt_1`,volume:.5},messenger:{title:null,description:null,aiAssistantAvatar:ud(`/logo-dark.png`),aiAssistant:{enabled:!0,name:null,avatar:ud(`/logo-dark.png`)},commands:[`/start`,`/help`,`/contact`],messages:[],showRelatedNews:!0,showRelatedHelpArticles:!0,showReactionCounts:!1,profile:null},botProtection:null,tracking:null},Kp=[{kind:`ask-question`},{kind:`recent-message`},{kind:`featured-article`},{kind:`pinned-articles`,articleIds:[]},{kind:`quick-actions`,layout:`inline`,buttons:[{label:`WhatsApp`,icon:{kind:`named`,name:`whatsapp`},action:`open-url`,url:`https://wa.me/15555555555`},{label:`Telegram`,icon:{kind:`named`,name:`telegram`},action:`open-url`,url:`https://t.me/wexio`},{label:`Instagram`,icon:{kind:`named`,name:`instagram`},action:`open-url`,url:`https://instagram.com/wexio`},{label:`Email`,icon:{kind:`named`,name:`email`},action:`open-url`,url:`mailto:help@wexio.io`}]}];function qp(){let e=Of(),t=Qu(),{token:n,holding:i}=wf(),a=r(),[o,s]=S({mode:`demo`,config:Gp,isDummy:!0,isLoading:!0,error:null}),[c,l]=S(null);v(()=>{if(i)return;let r=new URL(window.location.href),o=r.searchParams.get(`mode`),{publicKey:c}=Np({modeOverride:e.modeOverride,publicKeyOverride:e.publicKeyOverride},r.href),u=e.modeOverride??(c?`production`:o===`preview`?`preview`:`demo`),d=!1;(async()=>{if(e.configBase){let r=null;if(c&&n){let e=await Su(c,n);if(d)return;let i=Ap(e,t.preview,n);if(i.action===`wait`)return;if(i.action===`hide`){s({mode:u,config:Gp,isDummy:!0,isLoading:!1,error:i.unreachable?`publicKeyInvalid`:`widgetUnavailable`});return}r=i.value}else if(c){let t=await Su(c);if(d)return;if(t.kind===`ok`)r=t.value,xp(c,cf.gate(c),r);else if(e.forceDummyData===!0&&!(t.kind===`definitive`&&typeof t.reason==`string`))r=null;else{let e=await Mp(t,c,cf.gate(c));if(d)return;if(e.action===`hide`){s({mode:u,config:Gp,isDummy:!0,isLoading:!1,error:t.kind===`transient`&&!e.evict?`publicKeyInvalid`:`widgetUnavailable`});return}r=e.value}}let i=e.configBase.security,a=r?.security,o={requireAuth:a?.requireAuth??!1,google:{enabled:i?.google?.enabled??a?.google?.enabled??!1,clientId:a?.google?.clientId??null},passkey:{enabled:i?.passkey?.enabled??a?.passkey?.enabled??!1}},{security:l,...f}=e.configBase;s({mode:u,config:{...f,security:o,branding:r?.branding??null,status:r?.status??`active`},isDummy:e.forceDummyData===!0,isLoading:!1,error:null});return}if(e.forceDummyData!==void 0){s({mode:u,config:Gp,isDummy:e.forceDummyData,isLoading:!1,error:null});return}if(c&&n){let e=await fu(c,a,n);if(d)return;let r=Ap(e,t.preview,n);if(r.action===`wait`)return;s(r.action===`show`?{mode:u,config:r.value,isDummy:!1,isLoading:!1,error:null,fromBe:!0}:{mode:u,config:Gp,isDummy:!0,isLoading:!1,error:r.unreachable?`publicKeyInvalid`:`widgetUnavailable`});return}if(c){let e=await fu(c,a);if(d)return;let t=cf.config(c,a);if(e.kind===`ok`){s({mode:u,config:e.value,isDummy:!1,isLoading:!1,error:null,fromBe:!0}),xp(c,t,e.value);return}let n=await Mp(e,c,t);if(d)return;if(n.action===`show`){s({mode:u,config:n.value,isDummy:!1,isLoading:!1,error:null,fromBe:!0});return}s({mode:u,config:Gp,isDummy:!0,isLoading:!1,error:e.kind===`transient`&&!n.evict?`publicKeyInvalid`:`widgetUnavailable`});return}s({mode:u,config:Gp,isDummy:!0,isLoading:!1,error:null})})();let f=t=>{if(!rf(t,e.kind)||!t.data||typeof t.data!=`object`||t.data.type!==`wexio:preview-config:v1`&&t.data.type!==`wexio:config-override:v1`||!t.data.config)return;let n=t.data.config;l(e=>Jp(e??{},n))};return window.addEventListener(`message`,f),()=>{d=!0,window.removeEventListener(`message`,f)}},[e.publicKeyOverride,e.modeOverride,e.forceDummyData,e.configBase,e.kind,a,t,n,i]);let u=o.isDummy||e.forceDummyData===!0,d=o.mode===`preview`&&!n,f=e.configOverride?.operatorAvatars!==void 0,{keyed:p}=Np({modeOverride:e.modeOverride,publicKeyOverride:e.publicKeyOverride}),m=!p,h=b(()=>{let t=o.config;return c&&(t=Jp(t,m?c:kp(c))),e.configOverride&&(t=Jp(t,m?e.configOverride:kp(e.configOverride))),u&&t.operatorAvatars.length===0&&!f&&(t={...t,operatorAvatars:Gp.operatorAvatars}),t},[o.config,m,c,e.configOverride,u,f]),g=b(()=>Zf(o.fromBe?o.config.messenger?.messageSlots:void 0,h.messenger?.messageSlots),[o.fromBe,o.config,h.messenger?.messageSlots]),_=e.styleRoot;y(()=>{h.theme&&nm(h.theme,_??document)},[h.theme,_]),v(()=>{h.theme&&Up(h.theme.fontFamily)},[h.theme]);let x=e.onLocaleStrategy;return v(()=>{let e=h.localeStrategy===`DEFAULT`?h.defaultLocale:h.localeStrategy;x?.(e)},[x,h.localeStrategy,h.defaultLocale]),{mode:o.mode,config:h,isDummy:u,sessionDemo:d,injectedSlotIds:g,isLoading:o.isLoading,error:o.error}}function Jp(e,t){return{...e,...t,features:{...e.features??{},...t.features??{}},greeting:{...e.greeting??{},...t.greeting??{}},messenger:t.messenger===void 0?e.messenger:t.messenger===null?null:{...e.messenger??{},...t.messenger},security:t.security===void 0?e.security:{...e.security??{},...t.security,google:{...e.security?.google??{},...t.security?.google??{}},passkey:{...e.security?.passkey??{},...t.security?.passkey??{}}},tracking:t.tracking===void 0?e.tracking:{...e.tracking??{},...t.tracking??{}},theme:t.theme===void 0?e.theme:t.theme===null?null:{...e.theme??{},...t.theme,light:{...e.theme?.light??{},...t.theme.light??{}},dark:{...e.theme?.dark??{},...t.theme.dark??{}},radii:{...e.theme?.radii??{},...t.theme.radii??{}}}}}var Yp={background:`--wx-bg`,surface:`--wx-bg-elevated`,surfaceElevated:`--wx-bg-elevated-2`,text:`--wx-fg`,textMuted:`--wx-fg-muted`,textSubtle:`--wx-fg-subtle`,border:`--wx-border`,borderStrong:`--wx-border-strong`,primary:`--wx-primary`,primaryHover:`--wx-primary-hover`,primaryForeground:`--wx-primary-fg`,launcherBackground:`--wx-launcher-bg`,launcherForeground:`--wx-launcher-fg`,success:`--wx-success`,danger:`--wx-danger`,homeBackdrop:`--wx-home-glow`},Xp={sm:`--wx-radius-sm`,md:`--wx-radius`,lg:`--wx-radius-lg`,xl:`--wx-radius-xl`};function Zp(e){return e?Object.entries(e).filter(([e,t])=>e!==`homeBackdrop`&&typeof t==`string`&&t.length>0).map(([e,t])=>`${Yp[e]}: ${t};`).concat(Qp(e)).join(` `):``}function Qp(e){let t=Rp(e.homeBackdrop)??Rp(e.primary);if(!t)return[];let n=t.length===5||t.length===9;return[`${Yp.homeBackdrop}: ${t};`,`--wx-home-glow-a: ${n?`100%`:`initial`};`]}function $p(e){return e?Object.entries(e).filter(([,e])=>typeof e==`number`&&Number.isFinite(e)).map(([e,t])=>`${Xp[e]}: ${t}px;`).join(` `):``}var em=new WeakMap;function tm(e){let t=$p(e.radii),n=Ip(e.fontFamily),r=[t,n?`--wx-font: ${n};`:``].filter(Boolean).join(` `),i=[Zp(e.light),r].filter(Boolean).join(` `),a=[Zp(e.dark),r].filter(Boolean).join(` `),o=[];return i&&o.push(`:root, :host { ${i} }`),a&&o.push(`[data-theme="dark"] { ${a} }`),o.join(` `)}function nm(e,t){let n=tm(e);if(!(t instanceof Document)){let e=t;if(typeof CSSStyleSheet<`u`&&`replaceSync`in CSSStyleSheet.prototype){let t=em.get(e);t||(t=new CSSStyleSheet,em.set(e,t),e.adoptedStyleSheets=[...e.adoptedStyleSheets,t]),t.replaceSync(n);return}let r=e.querySelector(`#wexio-theme-vars`);r||(r=document.createElement(`style`),r.id=`wexio-theme-vars`,e.appendChild(r)),r.textContent=n;return}let r=t.getElementById(`wexio-theme-vars`);r||(r=document.createElement(`style`),r.id=`wexio-theme-vars`,t.head.appendChild(r)),r.textContent=n}var rm=l(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),im=l(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),am=l(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),om=l(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),sm=l(`globe`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20`,key:`13o1zl`}],[`path`,{d:`M2 12h20`,key:`9i4pu4`}]]),cm=p.forwardRef(({className:e,...t},n)=>T(`div`,{ref:n,className:c(`rounded-wx-lg bg-wx-bg-elevated text-wx-fg`,e),...t}));cm.displayName=`Card`;var lm=p.forwardRef(({className:e,...t},n)=>T(`div`,{ref:n,className:c(`rounded-wx bg-wx-bg-elevated-2 text-wx-fg`,e),...t}));lm.displayName=`CardNested`;var um=p.forwardRef(({className:e,...t},n)=>T(`div`,{ref:n,className:c(`flex flex-col gap-1 px-5 pt-5`,e),...t}));um.displayName=`CardHeader`;var dm=p.forwardRef(({className:e,...t},n)=>T(`p`,{ref:n,className:c(`text-base font-semibold text-wx-fg`,e),...t}));dm.displayName=`CardTitle`;var fm=p.forwardRef(({className:e,...t},n)=>T(`p`,{ref:n,className:c(`text-sm text-wx-fg-muted`,e),...t}));fm.displayName=`CardSubtitle`;var pm=p.forwardRef(({className:e,...t},n)=>T(`div`,{ref:n,className:c(`px-5 py-4`,e),...t}));pm.displayName=`CardBody`;var mm=p.forwardRef(({className:e,...t},n)=>T(`div`,{ref:n,className:c(`flex items-center justify-between px-5 py-3 border-t border-wx-border`,e),...t}));mm.displayName=`CardFooter`;function hm(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function gm(...e){return t=>{let n=!1,r=e.map(e=>{let r=hm(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():hm(e[t],null)}}}}function _m(...e){return p.useCallback(gm(...e),e)}function vm(e){let t=ym(e),n=p.forwardRef((e,n)=>{let{children:r,...i}=e,a=p.Children.toArray(r),o=a.find(xm);if(o){let e=o.props.children,r=a.map(t=>t===o?p.Children.count(e)>1?p.Children.only(null):p.isValidElement(e)?e.props.children:null:t);return T(t,{...i,ref:n,children:p.isValidElement(e)?p.cloneElement(e,void 0,r):null})}return T(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function ym(e){let t=p.forwardRef((e,t)=>{let{children:n,...r}=e;if(p.isValidElement(n)){let e=Cm(n),i=Sm(r,n.props);return n.type!==p.Fragment&&(i.ref=t?gm(t,e):e),p.cloneElement(n,i)}return p.Children.count(n)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var bm=Symbol(`radix.slottable`);function xm(e){return p.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===bm}function Sm(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function Cm(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var wm=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=vm(`Primitive.${t}`),r=p.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),T(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),Tm=globalThis?.document?p.useLayoutEffect:()=>{};function Em(e,t){return p.useReducer((e,n)=>t[e][n]??e,e)}var Dm=e=>{let{present:t,children:n}=e,r=Om(t),i=typeof n==`function`?n({present:r.isPresent}):p.Children.only(n),a=_m(r.ref,Am(i));return typeof n==`function`||r.isPresent?p.cloneElement(i,{ref:a}):null};Dm.displayName=`Presence`;function Om(e){let[t,n]=p.useState(),r=p.useRef(null),i=p.useRef(e),a=p.useRef(`none`),[o,s]=Em(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return p.useEffect(()=>{let e=km(r.current);a.current=o===`mounted`?e:`none`},[o]),Tm(()=>{let t=r.current,n=i.current;if(n!==e){let r=a.current,o=km(t);e?s(`MOUNT`):o===`none`||t?.display===`none`?s(`UNMOUNT`):s(n&&r!==o?`ANIMATION_OUT`:`UNMOUNT`),i.current=e}},[e,s]),Tm(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,o=a=>{let o=km(r.current).includes(CSS.escape(a.animationName));if(a.target===t&&o&&(s(`ANIMATION_END`),!i.current)){let r=t.style.animationFillMode;t.style.animationFillMode=`forwards`,e=n.setTimeout(()=>{t.style.animationFillMode===`forwards`&&(t.style.animationFillMode=r)})}},c=e=>{e.target===t&&(a.current=km(r.current))};return t.addEventListener(`animationstart`,c),t.addEventListener(`animationcancel`,o),t.addEventListener(`animationend`,o),()=>{n.clearTimeout(e),t.removeEventListener(`animationstart`,c),t.removeEventListener(`animationcancel`,o),t.removeEventListener(`animationend`,o)}}else s(`ANIMATION_END`)},[t,s]),{isPresent:[`mounted`,`unmountSuspended`].includes(o),ref:p.useCallback(e=>{r.current=e?getComputedStyle(e):null,n(e)},[])}}function km(e){return e?.animationName||`none`}function Am(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function jm(e,t=[]){let n=[];function r(t,r){let i=p.createContext(r),a=n.length;n=[...n,r];let o=t=>{let{scope:n,children:r,...o}=t,s=n?.[e]?.[a]||i,c=p.useMemo(()=>o,Object.values(o));return T(s.Provider,{value:c,children:r})};o.displayName=t+`Provider`;function s(n,o){let s=o?.[e]?.[a]||i,c=p.useContext(s);if(c)return c;if(r!==void 0)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}return[o,s]}let i=()=>{let t=n.map(e=>p.createContext(e));return function(n){let r=n?.[e]||t;return p.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return i.scopeName=e,[r,Mm(i,...t)]}function Mm(...e){let t=e[0];if(e.length===1)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}function Nm(e){let t=p.useRef(e);return p.useEffect(()=>{t.current=e}),p.useMemo(()=>(...e)=>t.current?.(...e),[])}var Pm=p.createContext(void 0);function Fm(e){let t=p.useContext(Pm);return e||t||`ltr`}function Im(e,[t,n]){return Math.min(n,Math.max(t,e))}typeof window<`u`&&window.document&&window.document.createElement;function Lm(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),n===!1||!r.defaultPrevented)return t?.(r)}}function Rm(e,t){return p.useReducer((e,n)=>t[e][n]??e,e)}var zm=`ScrollArea`,[Bm,Vm]=jm(zm),[Hm,Um]=Bm(zm),Wm=p.forwardRef((e,t)=>{let{__scopeScrollArea:n,type:r=`hover`,dir:i,scrollHideDelay:a=600,...o}=e,[s,c]=p.useState(null),[l,u]=p.useState(null),[d,f]=p.useState(null),[m,h]=p.useState(null),[g,_]=p.useState(null),[v,y]=p.useState(0),[b,x]=p.useState(0),[S,C]=p.useState(!1),[w,E]=p.useState(!1),ee=_m(t,e=>c(e)),D=Fm(i);return T(Hm,{scope:n,type:r,dir:D,scrollHideDelay:a,scrollArea:s,viewport:l,onViewportChange:u,content:d,onContentChange:f,scrollbarX:m,onScrollbarXChange:h,scrollbarXEnabled:S,onScrollbarXEnabledChange:C,scrollbarY:g,onScrollbarYChange:_,scrollbarYEnabled:w,onScrollbarYEnabledChange:E,onCornerWidthChange:y,onCornerHeightChange:x,children:T(wm.div,{dir:D,...o,ref:ee,style:{position:`relative`,"--radix-scroll-area-corner-width":v+`px`,"--radix-scroll-area-corner-height":b+`px`,...e.style}})})});Wm.displayName=zm;var Gm=`ScrollAreaViewport`,Km=p.forwardRef((e,t)=>{let{__scopeScrollArea:n,children:r,nonce:i,...a}=e,o=Um(Gm,n),s=_m(t,p.useRef(null),o.onViewportChange);return E(w,{children:[T(`style`,{dangerouslySetInnerHTML:{__html:`[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}`},nonce:i}),T(wm.div,{"data-radix-scroll-area-viewport":``,...a,ref:s,style:{overflowX:o.scrollbarXEnabled?`scroll`:`hidden`,overflowY:o.scrollbarYEnabled?`scroll`:`hidden`,...e.style},children:T(`div`,{ref:o.onContentChange,style:{minWidth:`100%`,display:`table`},children:r})})]})});Km.displayName=Gm;var qm=`ScrollAreaScrollbar`,Jm=p.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=Um(qm,e.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:o}=i,s=e.orientation===`horizontal`;return p.useEffect(()=>(s?a(!0):o(!0),()=>{s?a(!1):o(!1)}),[s,a,o]),i.type===`hover`?T(Ym,{...r,ref:t,forceMount:n}):i.type===`scroll`?T(Xm,{...r,ref:t,forceMount:n}):i.type===`auto`?T(Zm,{...r,ref:t,forceMount:n}):i.type===`always`?T(Qm,{...r,ref:t}):null});Jm.displayName=qm;var Ym=p.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=Um(qm,e.__scopeScrollArea),[a,o]=p.useState(!1);return p.useEffect(()=>{let e=i.scrollArea,t=0;if(e){let n=()=>{window.clearTimeout(t),o(!0)},r=()=>{t=window.setTimeout(()=>o(!1),i.scrollHideDelay)};return e.addEventListener(`pointerenter`,n),e.addEventListener(`pointerleave`,r),()=>{window.clearTimeout(t),e.removeEventListener(`pointerenter`,n),e.removeEventListener(`pointerleave`,r)}}},[i.scrollArea,i.scrollHideDelay]),T(Dm,{present:n||a,children:T(Zm,{"data-state":a?`visible`:`hidden`,...r,ref:t})})}),Xm=p.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=Um(qm,e.__scopeScrollArea),a=e.orientation===`horizontal`,o=vh(()=>c(`SCROLL_END`),100),[s,c]=Rm(`hidden`,{hidden:{SCROLL:`scrolling`},scrolling:{SCROLL_END:`idle`,POINTER_ENTER:`interacting`},interacting:{SCROLL:`interacting`,POINTER_LEAVE:`idle`},idle:{HIDE:`hidden`,SCROLL:`scrolling`,POINTER_ENTER:`interacting`}});return p.useEffect(()=>{if(s===`idle`){let e=window.setTimeout(()=>c(`HIDE`),i.scrollHideDelay);return()=>window.clearTimeout(e)}},[s,i.scrollHideDelay,c]),p.useEffect(()=>{let e=i.viewport,t=a?`scrollLeft`:`scrollTop`;if(e){let n=e[t],r=()=>{let r=e[t];n!==r&&(c(`SCROLL`),o()),n=r};return e.addEventListener(`scroll`,r),()=>e.removeEventListener(`scroll`,r)}},[i.viewport,a,c,o]),T(Dm,{present:n||s!==`hidden`,children:T(Qm,{"data-state":s===`hidden`?`hidden`:`visible`,...r,ref:t,onPointerEnter:Lm(e.onPointerEnter,()=>c(`POINTER_ENTER`)),onPointerLeave:Lm(e.onPointerLeave,()=>c(`POINTER_LEAVE`))})})}),Zm=p.forwardRef((e,t)=>{let n=Um(qm,e.__scopeScrollArea),{forceMount:r,...i}=e,[a,o]=p.useState(!1),s=e.orientation===`horizontal`,c=vh(()=>{if(n.viewport){let e=n.viewport.offsetWidth<n.viewport.scrollWidth,t=n.viewport.offsetHeight<n.viewport.scrollHeight;o(s?e:t)}},10);return yh(n.viewport,c),yh(n.content,c),T(Dm,{present:r||a,children:T(Qm,{"data-state":a?`visible`:`hidden`,...i,ref:t})})}),Qm=p.forwardRef((e,t)=>{let{orientation:n=`vertical`,...r}=e,i=Um(qm,e.__scopeScrollArea),a=p.useRef(null),o=p.useRef(0),[s,c]=p.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),l=dh(s.viewport,s.content),u={...r,sizes:s,onSizesChange:c,hasThumb:l>0&&l<1,onThumbChange:e=>a.current=e,onThumbPointerUp:()=>o.current=0,onThumbPointerDown:e=>o.current=e};function d(e,t){return ph(e,o.current,s,t)}return n===`horizontal`?T($m,{...u,ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){let e=i.viewport.scrollLeft,t=mh(e,s,i.dir);a.current.style.transform=`translate3d(${t}px, 0, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollLeft=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollLeft=d(e,i.dir))}}):n===`vertical`?T(eh,{...u,ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){let e=i.viewport.scrollTop,t=mh(e,s);a.current.style.transform=`translate3d(0, ${t}px, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollTop=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollTop=d(e))}}):null}),$m=p.forwardRef((e,t)=>{let{sizes:n,onSizesChange:r,...i}=e,a=Um(qm,e.__scopeScrollArea),[o,s]=p.useState(),c=p.useRef(null),l=_m(t,c,a.onScrollbarXChange);return p.useEffect(()=>{c.current&&s(getComputedStyle(c.current))},[c]),T(rh,{"data-orientation":`horizontal`,...i,ref:l,sizes:n,style:{bottom:0,left:a.dir===`rtl`?`var(--radix-scroll-area-corner-width)`:0,right:a.dir===`ltr`?`var(--radix-scroll-area-corner-width)`:0,"--radix-scroll-area-thumb-width":fh(n)+`px`,...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,n)=>{if(a.viewport){let r=a.viewport.scrollLeft+t.deltaX;e.onWheelScroll(r),gh(r,n)&&t.preventDefault()}},onResize:()=>{c.current&&a.viewport&&o&&r({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:c.current.clientWidth,paddingStart:uh(o.paddingLeft),paddingEnd:uh(o.paddingRight)}})}})}),eh=p.forwardRef((e,t)=>{let{sizes:n,onSizesChange:r,...i}=e,a=Um(qm,e.__scopeScrollArea),[o,s]=p.useState(),c=p.useRef(null),l=_m(t,c,a.onScrollbarYChange);return p.useEffect(()=>{c.current&&s(getComputedStyle(c.current))},[c]),T(rh,{"data-orientation":`vertical`,...i,ref:l,sizes:n,style:{top:0,right:a.dir===`ltr`?0:void 0,left:a.dir===`rtl`?0:void 0,bottom:`var(--radix-scroll-area-corner-height)`,"--radix-scroll-area-thumb-height":fh(n)+`px`,...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,n)=>{if(a.viewport){let r=a.viewport.scrollTop+t.deltaY;e.onWheelScroll(r),gh(r,n)&&t.preventDefault()}},onResize:()=>{c.current&&a.viewport&&o&&r({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:c.current.clientHeight,paddingStart:uh(o.paddingTop),paddingEnd:uh(o.paddingBottom)}})}})}),[th,nh]=Bm(qm),rh=p.forwardRef((e,t)=>{let{__scopeScrollArea:n,sizes:r,hasThumb:i,onThumbChange:a,onThumbPointerUp:o,onThumbPointerDown:s,onThumbPositionChange:c,onDragScroll:l,onWheelScroll:u,onResize:d,...f}=e,m=Um(qm,n),[h,g]=p.useState(null),_=_m(t,e=>g(e)),v=p.useRef(null),y=p.useRef(``),b=m.viewport,x=r.content-r.viewport,S=Nm(u),C=Nm(c),w=vh(d,10);function E(e){v.current&&l({x:e.clientX-v.current.left,y:e.clientY-v.current.top})}return p.useEffect(()=>{let e=e=>{let t=e.target;h?.contains(t)&&S(e,x)};return document.addEventListener(`wheel`,e,{passive:!1}),()=>document.removeEventListener(`wheel`,e,{passive:!1})},[b,h,x,S]),p.useEffect(C,[r,C]),yh(h,w),yh(m.content,w),T(th,{scope:n,scrollbar:h,hasThumb:i,onThumbChange:Nm(a),onThumbPointerUp:Nm(o),onThumbPositionChange:C,onThumbPointerDown:Nm(s),children:T(wm.div,{...f,ref:_,style:{position:`absolute`,...f.style},onPointerDown:Lm(e.onPointerDown,e=>{e.button===0&&(e.target.setPointerCapture(e.pointerId),v.current=h.getBoundingClientRect(),y.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect=`none`,m.viewport&&(m.viewport.style.scrollBehavior=`auto`),E(e))}),onPointerMove:Lm(e.onPointerMove,E),onPointerUp:Lm(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=y.current,m.viewport&&(m.viewport.style.scrollBehavior=``),v.current=null})})})}),ih=`ScrollAreaThumb`,ah=p.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=nh(ih,e.__scopeScrollArea);return T(Dm,{present:n||i.hasThumb,children:T(oh,{ref:t,...r})})}),oh=p.forwardRef((e,t)=>{let{__scopeScrollArea:n,style:r,...i}=e,a=Um(ih,n),o=nh(ih,n),{onThumbPositionChange:s}=o,c=_m(t,e=>o.onThumbChange(e)),l=p.useRef(void 0),u=vh(()=>{l.current&&(l.current(),l.current=void 0)},100);return p.useEffect(()=>{let e=a.viewport;if(e){let t=()=>{u(),l.current||(l.current=_h(e,s),s())};return s(),e.addEventListener(`scroll`,t),()=>e.removeEventListener(`scroll`,t)}},[a.viewport,u,s]),T(wm.div,{"data-state":o.hasThumb?`visible`:`hidden`,...i,ref:c,style:{width:`var(--radix-scroll-area-thumb-width)`,height:`var(--radix-scroll-area-thumb-height)`,...r},onPointerDownCapture:Lm(e.onPointerDownCapture,e=>{let t=e.target.getBoundingClientRect(),n=e.clientX-t.left,r=e.clientY-t.top;o.onThumbPointerDown({x:n,y:r})}),onPointerUp:Lm(e.onPointerUp,o.onThumbPointerUp)})});ah.displayName=ih;var sh=`ScrollAreaCorner`,ch=p.forwardRef((e,t)=>{let n=Um(sh,e.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return n.type!==`scroll`&&r?T(lh,{...e,ref:t}):null});ch.displayName=sh;var lh=p.forwardRef((e,t)=>{let{__scopeScrollArea:n,...r}=e,i=Um(sh,n),[a,o]=p.useState(0),[s,c]=p.useState(0),l=!!(a&&s);return yh(i.scrollbarX,()=>{let e=i.scrollbarX?.offsetHeight||0;i.onCornerHeightChange(e),c(e)}),yh(i.scrollbarY,()=>{let e=i.scrollbarY?.offsetWidth||0;i.onCornerWidthChange(e),o(e)}),l?T(wm.div,{...r,ref:t,style:{width:a,height:s,position:`absolute`,right:i.dir===`ltr`?0:void 0,left:i.dir===`rtl`?0:void 0,bottom:0,...e.style}}):null});function uh(e){return e?parseInt(e,10):0}function dh(e,t){let n=e/t;return isNaN(n)?0:n}function fh(e){let t=dh(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function ph(e,t,n,r=`ltr`){let i=fh(n),a=i/2,o=t||a,s=i-o,c=n.scrollbar.paddingStart+o,l=n.scrollbar.size-n.scrollbar.paddingEnd-s,u=n.content-n.viewport,d=r===`ltr`?[0,u]:[u*-1,0];return hh([c,l],d)(e)}function mh(e,t,n=`ltr`){let r=fh(t),i=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-i,o=t.content-t.viewport,s=a-r,c=Im(e,n===`ltr`?[0,o]:[o*-1,0]);return hh([0,o],[0,s])(c)}function hh(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function gh(e,t){return e>0&&e<t}var _h=(e,t=()=>{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return(function i(){let a={left:e.scrollLeft,top:e.scrollTop},o=n.left!==a.left,s=n.top!==a.top;(o||s)&&t(),n=a,r=window.requestAnimationFrame(i)})(),()=>window.cancelAnimationFrame(r)};function vh(e,t){let n=Nm(e),r=p.useRef(0);return p.useEffect(()=>()=>window.clearTimeout(r.current),[]),p.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)},[n,t])}function yh(e,t){let n=Nm(t);Tm(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}var bh=Wm,xh=Km,Sh=ch;function Ch({className:e,viewportRef:t,followDirection:n,children:r,onScroll:i,...a}){return E(bh,{"data-slot":`scroll-area`,className:c(`relative min-h-0 min-w-0 overflow-hidden`,n&&`[direction:inherit]`,e),...a,children:[T(xh,{ref:t,"data-slot":`scroll-area-viewport`,onScroll:i,className:c(`h-full w-full rounded-[inherit]`,`[&>div]:!block [&>div]:!w-full [&>div]:!max-w-full`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-wx-primary/40`),children:r}),T(wh,{}),T(Sh,{})]})}function wh({className:e,orientation:t=`vertical`,...n}){return T(Jm,{"data-slot":`scroll-area-scrollbar`,orientation:t,className:c(`flex touch-none select-none transition-opacity duration-150`,`opacity-0 data-[state=visible]:opacity-100`,`hover:opacity-100`,t===`vertical`&&`h-full w-1.5 border-l border-l-transparent p-px`,t===`horizontal`&&`h-1.5 flex-col border-t border-t-transparent p-px`,e),...n,children:T(ah,{"data-slot":`scroll-area-thumb`,className:c(`relative flex-1 rounded-full`,`bg-wx-fg-muted/40 hover:bg-wx-fg-muted/60 transition-colors`)})})}function Th(){return g(e=>{if(!e)return;let t=e.getRootNode().activeElement,n=!t||t===document.body,r=e.closest(`main`),i=!!t&&!!r&&r.contains(t)&&!e.contains(t);!n&&!i||(e.hasAttribute(`tabindex`)||(e.tabIndex=-1),e.focus({preventScroll:!0}))},[])}function Eh(e,t){let[n,r]=S(null),i=wf().token===null?e:null;return v(()=>{if(!i)return;if(t!=null){r(t),yf(i,t);return}let e=!1;return vf(i).then(t=>{!e&&t!=null&&r(e=>e??t)}),()=>{e=!0}},[i,t]),t??n}function Dh(e,t){try{return new URL(e).pathname.replace(/\/$/,``)===new URL(t).pathname.replace(/\/$/,``)}catch{return e===t}}function Oh(e,t,n){let r=[...e,t];return r.length>n?r.slice(r.length-n):r}var kh=m({trackPageView:()=>{},trackLinkClick:()=>{},trackButtonClick:()=>{}});function Ah(){return _(kh)}var jh={page:`trackPageView`,link:`trackLinkClick`,button:`trackButtonClick`};function Mh({children:e,tracking:t,enabled:n,token:r}){let i=Of(),a=Qu(),[o]=qd(),[s]=Yd(),[c]=Zd(),l=Cf(),u=n&&(t?.trackWebsitePages??!0),d=n&&(t?.trackWidgetLinks??!0),f=x([]),p=x(null),m=x(null),h=x(null),_=g(e=>{if(l){l.enqueue({op:jh[e.kind],semantics:`queue`,payload:e.input});return}(e.kind===`page`?o({variables:{input:e.input}}):e.kind===`link`?s({variables:{input:e.input}}):c({variables:{input:e.input}})).catch(()=>{})},[l,o,s,c]),y=g(e=>{l||a.token?_(e):f.current=Oh(f.current,e,50)},[l,_,a]);v(()=>{if(!r)return;let e=f.current;f.current=[];for(let t of e)_(t)},[r,_]),v(()=>()=>{m.current&&clearTimeout(m.current)},[]);let S=g((e,t)=>{!u||!e||p.current&&Dh(p.current,e)||(m.current&&clearTimeout(m.current),m.current=setTimeout(()=>{p.current=e,y({kind:`page`,input:{url:e,title:t?.title,referrer:t?.referrer,occurredAt:new Date().toISOString()}})},500))},[u,y]),C=g(e=>{!d||!e.url||y({kind:`link`,input:{url:e.url,targetType:e.targetType,targetRefId:e.targetRefId,title:e.title,referrer:typeof document<`u`&&document.referrer||void 0,occurredAt:new Date().toISOString()}})},[d,y]),w=g(e=>{n&&y({kind:`button`,input:{...e,occurredAt:new Date().toISOString()}})},[n,y]);v(()=>{if(!u||typeof window>`u`)return;if(i.kind===`iframe`){let e=e=>{if(!rf(e,i.kind))return;let t=e.data;!t||typeof t!=`object`||t.type!==`wexio:host-navigation:v1`||typeof t.url==`string`&&S(t.url,{title:typeof t.title==`string`?t.title:void 0,referrer:typeof t.referrer==`string`?t.referrer:void 0})};return window.addEventListener(`message`,e),()=>window.removeEventListener(`message`,e)}let e=()=>S(window.location.href,{title:document.title,referrer:document.referrer}),t=()=>{h.current?.();let t=document.querySelector(`title`),n=!1,r=()=>{o?.disconnect(),clearTimeout(a),h.current=null},i=()=>{n||(n=!0,r(),e())},a=setTimeout(i,600),o=null;t&&typeof MutationObserver<`u`&&(o=new MutationObserver(i),o.observe(t,{childList:!0,characterData:!0,subtree:!0})),h.current=r};e();let n=ip(t);return()=>{h.current?.(),n()}},[u,i.kind,S]);let E=b(()=>({trackPageView:S,trackLinkClick:C,trackButtonClick:w}),[S,C,w]);return T(kh.Provider,{value:E,children:e})}var Nh=new WeakMap;function Ph(e){let t=e.getRootNode();return t instanceof ShadowRoot?t:null}function Fh(e){let t=document.createElement(`div`);t.setAttribute(`data-wexio-overlay-layer`,`true`),t.style.display=`contents`;let n=t.attachShadow({mode:`open`}),r=document.createElement(`div`);r.style.display=`contents`,n.appendChild(r);let i=()=>{let t=Ph(e);if(t){t.adoptedStyleSheets&&(n.adoptedStyleSheets=[...t.adoptedStyleSheets]);for(let e of n.querySelectorAll(`style[data-wexio-copy]`))e.remove();for(let e of t.querySelectorAll(`style`)){let t=e.cloneNode(!0);t.setAttribute(`data-wexio-copy`,`true`),n.insertBefore(t,r)}}},a=()=>{let n=e.dataset.theme;for(let e of[t,r])n?e.dataset.theme=n:delete e.dataset.theme;e.hasAttribute(`dir`)?r.dir=e.dir:r.removeAttribute(`dir`)};i(),a();let o=new MutationObserver(a);return o.observe(e,{attributes:!0,attributeFilter:[`data-theme`,`dir`]}),document.body.appendChild(t),{host:t,mount:r,observer:o,refs:0,syncStyles:i}}function Ih(e){let t=Nh.get(e);t||(t=Fh(e),Nh.set(e,t)),t.refs+=1;let n=t,r=!1;return{mount:n.mount,syncStyles:n.syncStyles,release:()=>{r||(r=!0,--n.refs,!(n.refs>0)&&(n.observer.disconnect(),n.host.remove(),Nh.delete(e)))}}}function Lh(e){let t=Of().themeRoot,[n,r]=S(null);return v(()=>{if(!e||!t)return;let n=Ih(t);return n.syncStyles(),r(n.mount),()=>{n.release(),r(null)}},[e,t]),t?n:e&&typeof document<`u`?document.body:null}var Rh=`button:not([disabled]), [href], video[controls], iframe, [tabindex]:not([tabindex="-1"])`;function zh(){let e=document.activeElement;for(;e?.shadowRoot?.activeElement;)e=e.shadowRoot.activeElement;return e instanceof HTMLElement?e:null}function Bh(e,t){let n=x(null);v(()=>{if(e)return n.current=zh(),()=>{let e=n.current;n.current=null,e?.isConnected&&e.focus({preventScroll:!0})}},[e]),v(()=>{if(!e||!t)return;t.querySelector(Rh)?.focus({preventScroll:!0});let n=e=>{if(e.key!==`Tab`)return;let n=Array.from(t.querySelectorAll(Rh));if(n.length===0)return;let r=t.getRootNode().activeElement,i=n[0],a=n[n.length-1];e.shiftKey&&(r===i||!r||!t.contains(r))?(e.preventDefault(),a.focus()):!e.shiftKey&&(r===a||!r||!t.contains(r))&&(e.preventDefault(),i.focus())};return t.addEventListener(`keydown`,n),()=>t.removeEventListener(`keydown`,n)},[e,t])}function Vh(){return typeof HTMLDialogElement<`u`&&typeof HTMLDialogElement.prototype.showModal==`function`}function Hh(e,t,n){let r=x(n);r.current=n,v(()=>{if(!t||!(e instanceof HTMLDialogElement)||!Vh())return;let n=e=>{e.preventDefault(),r.current()};return e.addEventListener(`cancel`,n),e.open||e.showModal(),()=>{e.removeEventListener(`cancel`,n),e.open&&e.close()}},[e,t])}function Uh({items:e,initialIndex:t,open:n,onClose:r}){let i=a(`lightbox`),[s,l]=S(t),[u,p]=S(n);v(()=>{n&&p(!0)},[n]);let m=Lh(n||u),[h,_]=S(null);Hh(h,n,r),Bh(n,h);let y=Vh()?o.dialog:o.div;v(()=>{n&&l(t)},[n,t]);let b=e.length,x=e[s],C=g(()=>{l(e=>(e+1)%b)},[b]),D=g(()=>{l(e=>(e-1+b)%b)},[b]);return v(()=>{if(!n)return;let e=e=>{e.key===`Escape`?(e.preventDefault(),r()):e.key===`ArrowRight`?C():e.key===`ArrowLeft`&&D()};document.addEventListener(`keydown`,e,!0);let t=document.body.style.overflow;return document.body.style.overflow=`hidden`,()=>{document.removeEventListener(`keydown`,e,!0),document.body.style.overflow=t}},[n,r,C,D]),m?ee(T(d,{onExitComplete:()=>p(!1),children:n&&x&&E(y,{ref:_,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.15},onClick:r,className:`fixed inset-0 z-2147483647 m-0 h-full max-h-none w-full max-w-none border-0 p-0 backdrop:bg-transparent flex items-center justify-center bg-black/85 backdrop-blur-sm`,role:`dialog`,"aria-modal":`true`,"aria-label":x.alt||i(`mediaPreview`),children:[T(`button`,{type:`button`,onClick:e=>{e.stopPropagation(),r()},"aria-label":i(`close`),className:c(`absolute top-4 right-4 z-10 flex h-9 w-9 items-center justify-center rounded-full`,`bg-white/10 text-white transition-colors hover:bg-white/20`),children:T(f,{size:18})}),b>1&&E(w,{children:[T(`button`,{type:`button`,onClick:e=>{e.stopPropagation(),D()},"aria-label":i(`previous`),className:c(`absolute left-4 top-1/2 z-10 -translate-y-1/2 flex h-10 w-10 items-center justify-center rounded-full`,`bg-white/10 text-white transition-colors hover:bg-white/20`),children:T(am,{size:20})}),T(`button`,{type:`button`,onClick:e=>{e.stopPropagation(),C()},"aria-label":i(`next`),className:c(`absolute right-4 top-1/2 z-10 -translate-y-1/2 flex h-10 w-10 items-center justify-center rounded-full`,`bg-white/10 text-white transition-colors hover:bg-white/20`),children:T(om,{size:20})})]}),T(o.div,{initial:{scale:.96,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.96,opacity:0},transition:{duration:.18,ease:`easeOut`},className:`pointer-events-none flex max-h-[90vh] max-w-[90vw] items-center justify-center`,children:x.mimetype.startsWith(`video/`)?T(`video`,{src:x.url,controls:!0,autoPlay:!0,onClick:e=>e.stopPropagation(),className:`pointer-events-auto max-h-[90vh] max-w-[90vw] rounded-wx-lg`}):x.mimetype===`application/pdf`?T(`iframe`,{src:x.url,title:x.alt||`PDF preview`,onClick:e=>e.stopPropagation(),className:`pointer-events-auto h-[90vh] w-[90vw] rounded-wx-lg border-0 bg-white`}):T(o.img,{src:x.url,alt:x.alt,onClick:e=>e.stopPropagation(),draggable:!1,drag:b>1?`x`:!1,dragConstraints:{left:0,right:0},dragElastic:.18,dragMomentum:!1,onDragEnd:(e,t)=>{t.offset.x<=-60?C():t.offset.x>=60&&D()},className:c(`pointer-events-auto rounded-wx-lg object-contain`,`max-h-[90vh] max-w-[90vw]`,b>1&&`cursor-grab active:cursor-grabbing`)})},`${s}-${x.url}`),b>1&&E(`div`,{className:`absolute bottom-4 left-1/2 -translate-x-1/2 rounded-full bg-white/10 px-3 py-1 text-xs font-medium text-white`,children:[s+1,` / `,b]})]},`media-lightbox`)}),m):null}function Wh(e,t){let n=t||{};return(e[e.length-1]===``?[...e,``]:e).join((n.padRight?` `:``)+`,`+(n.padLeft===!1?``:` `)).trim()}var Gh=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Kh=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,qh={};function Jh(e,t){return((t||qh).jsx?Kh:Gh).test(e)}var Yh=/[ \t\n\f\r]/g;function Xh(e){return typeof e==`object`?e.type===`text`?Zh(e.value):!1:Zh(e)}function Zh(e){return e.replace(Yh,``)===``}var Qh=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};Qh.prototype.normal={},Qh.prototype.property={},Qh.prototype.space=void 0;function $h(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new Qh(n,r,t)}function eg(e){return e.toLowerCase()}var tg=class{constructor(e,t){this.attribute=t,this.property=e}};tg.prototype.attribute=``,tg.prototype.booleanish=!1,tg.prototype.boolean=!1,tg.prototype.commaOrSpaceSeparated=!1,tg.prototype.commaSeparated=!1,tg.prototype.defined=!1,tg.prototype.mustUseProperty=!1,tg.prototype.number=!1,tg.prototype.overloadedBoolean=!1,tg.prototype.property=``,tg.prototype.spaceSeparated=!1,tg.prototype.space=void 0;var ng=t({boolean:()=>K,booleanish:()=>ig,commaOrSpaceSeparated:()=>sg,commaSeparated:()=>og,number:()=>q,overloadedBoolean:()=>ag,spaceSeparated:()=>J}),rg=0,K=cg(),ig=cg(),ag=cg(),q=cg(),J=cg(),og=cg(),sg=cg();function cg(){return 2**++rg}var lg=Object.keys(ng),ug=class extends tg{constructor(e,t,n,r){let i=-1;if(super(e,t),dg(this,`space`,r),typeof n==`number`)for(;++i<lg.length;){let e=lg[i];dg(this,lg[i],(n&ng[e])===ng[e])}}};ug.prototype.defined=!0;function dg(e,t,n){n&&(e[t]=n)}function fg(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new ug(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[eg(r)]=r,n[eg(a.attribute)]=r}return new Qh(t,n,e.space)}var pg=fg({properties:{ariaActiveDescendant:null,ariaAtomic:ig,ariaAutoComplete:null,ariaBusy:ig,ariaChecked:ig,ariaColCount:q,ariaColIndex:q,ariaColSpan:q,ariaControls:J,ariaCurrent:null,ariaDescribedBy:J,ariaDetails:null,ariaDisabled:ig,ariaDropEffect:J,ariaErrorMessage:null,ariaExpanded:ig,ariaFlowTo:J,ariaGrabbed:ig,ariaHasPopup:null,ariaHidden:ig,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:J,ariaLevel:q,ariaLive:null,ariaModal:ig,ariaMultiLine:ig,ariaMultiSelectable:ig,ariaOrientation:null,ariaOwns:J,ariaPlaceholder:null,ariaPosInSet:q,ariaPressed:ig,ariaReadOnly:ig,ariaRelevant:null,ariaRequired:ig,ariaRoleDescription:J,ariaRowCount:q,ariaRowIndex:q,ariaRowSpan:q,ariaSelected:ig,ariaSetSize:q,ariaSort:null,ariaValueMax:q,ariaValueMin:q,ariaValueNow:q,ariaValueText:null,role:null},transform(e,t){return t===`role`?t:`aria-`+t.slice(4).toLowerCase()}});function mg(e,t){return t in e?e[t]:t}function hg(e,t){return mg(e,t.toLowerCase())}var gg=fg({attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:og,acceptCharset:J,accessKey:J,action:null,allow:null,allowFullScreen:K,allowPaymentRequest:K,allowUserMedia:K,alt:null,as:null,async:K,autoCapitalize:null,autoComplete:J,autoFocus:K,autoPlay:K,blocking:J,capture:null,charSet:null,checked:K,cite:null,className:J,cols:q,colSpan:null,content:null,contentEditable:ig,controls:K,controlsList:J,coords:q|og,crossOrigin:null,data:null,dateTime:null,decoding:null,default:K,defer:K,dir:null,dirName:null,disabled:K,download:ag,draggable:ig,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:K,formTarget:null,headers:J,height:q,hidden:ag,high:q,href:null,hrefLang:null,htmlFor:J,httpEquiv:J,id:null,imageSizes:null,imageSrcSet:null,inert:K,inputMode:null,integrity:null,is:null,isMap:K,itemId:null,itemProp:J,itemRef:J,itemScope:K,itemType:J,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:K,low:q,manifest:null,max:null,maxLength:q,media:null,method:null,min:null,minLength:q,multiple:K,muted:K,name:null,nonce:null,noModule:K,noValidate:K,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle: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,onScrollEnd: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:K,optimum:q,pattern:null,ping:J,placeholder:null,playsInline:K,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:K,referrerPolicy:null,rel:J,required:K,reversed:K,rows:q,rowSpan:q,sandbox:J,scope:null,scoped:K,seamless:K,selected:K,shadowRootClonable:K,shadowRootDelegatesFocus:K,shadowRootMode:null,shape:null,size:q,sizes:null,slot:null,span:q,spellCheck:ig,src:null,srcDoc:null,srcLang:null,srcSet:null,start:q,step:null,style:null,tabIndex:q,target:null,title:null,translate:null,type:null,typeMustMatch:K,useMap:null,value:ig,width:q,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:J,axis:null,background:null,bgColor:null,border:q,borderColor:null,bottomMargin:q,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:K,declare:K,event:null,face:null,frame:null,frameBorder:null,hSpace:q,leftMargin:q,link:null,longDesc:null,lowSrc:null,marginHeight:q,marginWidth:q,noResize:K,noHref:K,noShade:K,noWrap:K,object:null,profile:null,prompt:null,rev:null,rightMargin:q,rules:null,scheme:null,scrolling:ig,standby:null,summary:null,text:null,topMargin:q,valueType:null,version:null,vAlign:null,vLink:null,vSpace:q,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:K,disableRemotePlayback:K,prefix:null,property:null,results:q,security:null,unselectable:null},space:`html`,transform:hg}),_g=fg({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`,transformOrigin:`transform-origin`,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`},properties:{about:sg,accentHeight:q,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:q,amplitude:q,arabicForm:null,ascent:q,attributeName:null,attributeType:null,azimuth:q,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:q,by:null,calcMode:null,capHeight:q,className:J,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:q,diffuseConstant:q,direction:null,display:null,dur:null,divisor:q,dominantBaseline:null,download:K,dx:null,dy:null,edgeMode:null,editable:null,elevation:q,enableBackground:null,end:null,event:null,exponent:q,externalResourcesRequired:null,fill:null,fillOpacity:q,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:og,g2:og,glyphName:og,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:q,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:q,horizOriginX:q,horizOriginY:q,id:null,ideographic:q,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:q,k:q,k1:q,k2:q,k3:q,k4:q,kernelMatrix:sg,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:q,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:q,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:q,overlineThickness:q,paintOrder:null,panose1:null,path:null,pathLength:q,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:J,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:q,pointsAtY:q,pointsAtZ:q,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:sg,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:sg,rev:sg,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:sg,requiredFeatures:sg,requiredFonts:sg,requiredFormats:sg,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:q,specularExponent:q,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:q,strikethroughThickness:q,string:null,stroke:null,strokeDashArray:sg,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:q,strokeOpacity:q,strokeWidth:null,style:null,surfaceScale:q,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:sg,tabIndex:q,tableValues:null,target:null,targetX:q,targetY:q,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:sg,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:q,underlineThickness:q,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:q,values:null,vAlphabetic:q,vMathematical:q,vectorEffect:null,vHanging:q,vIdeographic:q,version:null,vertAdvY:q,vertOriginX:q,vertOriginY:q,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:q,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:`svg`,transform:mg}),vg=fg({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:`xlink`,transform(e,t){return`xlink:`+t.slice(5).toLowerCase()}}),yg=fg({attributes:{xmlnsxlink:`xmlns:xlink`},properties:{xmlnsXLink:null,xmlns:null},space:`xmlns`,transform:hg}),bg=fg({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()}}),xg={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`},Sg=/[A-Z]/g,Cg=/-[a-z]/g,wg=/^data[-\w.:]+$/i;function Tg(e,t){let n=eg(t),r=t,i=tg;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&wg.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(Cg,Dg);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!Cg.test(e)){let n=e.replace(Sg,Eg);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=ug}return new i(r,t)}function Eg(e){return`-`+e.toLowerCase()}function Dg(e){return e.charAt(1).toUpperCase()}var Og=$h([pg,gg,vg,yg,bg],`html`),kg=$h([pg,_g,vg,yg,bg],`svg`);function Ag(e){return e.join(` `).trim()}var jg=u(((e,t)=>{var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,i=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,l=/^\s+|\s+$/g,u=`
|
|
262
|
-
`,d=`/`,f=`*`,p=``,m=`comment`,h=`declaration`;function g(e,t){if(typeof e!=`string`)throw TypeError(`First argument must be a string`);if(!e)return[];t=t||{};var l=1,g=1;function v(e){var t=e.match(r);t&&(l+=t.length);var n=e.lastIndexOf(u);g=~n?e.length-n:g+e.length}function y(){var e={line:l,column:g};return function(t){return t.position=new b(e),C(),t}}function b(e){this.start=e,this.end={line:l,column:g},this.source=t.source}b.prototype.content=e;function x(n){var r=Error(t.source+`:`+l+`:`+g+`: `+n);if(r.reason=n,r.filename=t.source,r.line=l,r.column=g,r.source=e,!t.silent)throw r}function S(t){var n=t.exec(e);if(n){var r=n[0];return v(r),e=e.slice(r.length),n}}function C(){S(i)}function w(e){var t;for(e=e||[];t=T();)t!==!1&&e.push(t);return e}function T(){var t=y();if(!(d!=e.charAt(0)||f!=e.charAt(1))){for(var n=2;p!=e.charAt(n)&&(f!=e.charAt(n)||d!=e.charAt(n+1));)++n;if(n+=2,p===e.charAt(n-1))return x(`End of comment missing`);var r=e.slice(2,n-2);return g+=2,v(r),e=e.slice(n),g+=2,t({type:m,comment:r})}}function E(){var e=y(),t=S(a);if(t){if(T(),!S(o))return x(`property missing ':'`);var r=S(s),i=e({type:h,property:_(t[0].replace(n,p)),value:r?_(r[0].replace(n,p)):p});return S(c),i}}function ee(){var e=[];w(e);for(var t;t=E();)t!==!1&&(e.push(t),w(e));return e}return C(),ee()}function _(e){return e?e.replace(l,p):p}t.exports=g})),Mg=u((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.default=r;var n=t(jg());function r(e,t){let r=null;if(!e||typeof e!=`string`)return r;let i=(0,n.default)(e),a=typeof t==`function`;return i.forEach(e=>{if(e.type!==`declaration`)return;let{property:n,value:i}=e;a?t(n,i,e):i&&(r=r||{},r[n]=i)}),r}})),Ng=u((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.camelCase=void 0;var t=/^--[a-zA-Z0-9_-]+$/,n=/-([a-z])/g,r=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,o=function(e){return!e||r.test(e)||t.test(e)},s=function(e,t){return t.toUpperCase()},c=function(e,t){return`${t}-`};e.camelCase=function(e,t){return t===void 0&&(t={}),o(e)?e:(e=e.toLowerCase(),e=t.reactCompat?e.replace(a,c):e.replace(i,c),e.replace(n,s))}})),Pg=u(((e,t)=>{var n=(e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(Mg()),r=Ng();function i(e,t){var i={};return!e||typeof e!=`string`||(0,n.default)(e,function(e,n){e&&n&&(i[(0,r.camelCase)(e,t)]=n)}),i}i.default=i,t.exports=i})),Fg=Lg(`end`),Ig=Lg(`start`);function Lg(e){return t;function t(t){let n=t&&t.position&&t.position[e]||{};if(typeof n.line==`number`&&n.line>0&&typeof n.column==`number`&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset==`number`&&n.offset>-1?n.offset:void 0}}}function Rg(e){let t=Ig(e),n=Fg(e);if(t&&n)return{start:t,end:n}}function zg(e){return!e||typeof e!=`object`?``:`position`in e||`type`in e?Vg(e.position):`start`in e||`end`in e?Vg(e):`line`in e||`column`in e?Bg(e):``}function Bg(e){return Hg(e&&e.line)+`:`+Hg(e&&e.column)}function Vg(e){return Bg(e&&e.start)+`-`+Bg(e&&e.end)}function Hg(e){return e&&typeof e==`number`?e:1}var Ug=class extends Error{constructor(e,t,n){super(),typeof t==`string`&&(n=t,t=void 0);let r=``,i={},a=!1;if(t&&(i=`line`in t&&`column`in t||`start`in t&&`end`in t?{place:t}:`type`in t?{ancestors:[t],place:t.position}:{...t}),typeof e==`string`?r=e:!i.cause&&e&&(a=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&typeof n==`string`){let e=n.indexOf(`:`);e===-1?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let o=i.place&&`start`in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file=``,this.message=r,this.line=o?o.line:void 0,this.name=zg(i.place)||`1:1`,this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&typeof i.cause.stack==`string`?i.cause.stack:``,this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};Ug.prototype.file=``,Ug.prototype.name=``,Ug.prototype.reason=``,Ug.prototype.message=``,Ug.prototype.stack=``,Ug.prototype.column=void 0,Ug.prototype.line=void 0,Ug.prototype.ancestors=void 0,Ug.prototype.cause=void 0,Ug.prototype.fatal=void 0,Ug.prototype.place=void 0,Ug.prototype.ruleId=void 0,Ug.prototype.source=void 0;var Wg=s(Pg(),1),Gg={}.hasOwnProperty,Kg=new Map,qg=/[A-Z]/g,Jg=new Set([`table`,`tbody`,`thead`,`tfoot`,`tr`]),Yg=new Set([`td`,`th`]),Xg=`https://github.com/syntax-tree/hast-util-to-jsx-runtime`;function Zg(e,t){if(!t||t.Fragment===void 0)throw TypeError("Expected `Fragment` in options");let n=t.filePath||void 0,r;if(t.development){if(typeof t.jsxDEV!=`function`)throw TypeError("Expected `jsxDEV` in options when `development: true`");r=c_(n,t.jsxDEV)}else{if(typeof t.jsx!=`function`)throw TypeError("Expected `jsx` in production options");if(typeof t.jsxs!=`function`)throw TypeError("Expected `jsxs` in production options");r=s_(n,t.jsx,t.jsxs)}let i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||`react`,evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space===`svg`?kg:Og,stylePropertyNameCase:t.stylePropertyNameCase||`dom`,tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=Qg(i,e,void 0);return a&&typeof a!=`string`?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function Qg(e,t,n){if(t.type===`element`)return $g(e,t,n);if(t.type===`mdxFlowExpression`||t.type===`mdxTextExpression`)return e_(e,t);if(t.type===`mdxJsxFlowElement`||t.type===`mdxJsxTextElement`)return n_(e,t,n);if(t.type===`mdxjsEsm`)return t_(e,t);if(t.type===`root`)return r_(e,t,n);if(t.type===`text`)return i_(e,t)}function $g(e,t,n){let r=e.schema,i=r;t.tagName.toLowerCase()===`svg`&&r.space===`html`&&(i=kg,e.schema=i),e.ancestors.push(t);let a=m_(e,t.tagName,!1),o=l_(e,t),s=d_(e,t);return Jg.has(t.tagName)&&(s=s.filter(function(e){return typeof e==`string`?!Xh(e):!0})),a_(e,o,a,t),o_(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function e_(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}h_(e,t.position)}function t_(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);h_(e,t.position)}function n_(e,t,n){let r=e.schema,i=r;t.name===`svg`&&r.space===`html`&&(i=kg,e.schema=i),e.ancestors.push(t);let a=t.name===null?e.Fragment:m_(e,t.name,!0),o=u_(e,t),s=d_(e,t);return a_(e,o,a,t),o_(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function r_(e,t,n){let r={};return o_(r,d_(e,t)),e.create(t,e.Fragment,r,n)}function i_(e,t){return t.value}function a_(e,t,n,r){typeof n!=`string`&&n!==e.Fragment&&e.passNode&&(t.node=r)}function o_(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function s_(e,t,n){return r;function r(e,r,i,a){let o=Array.isArray(i.children)?n:t;return a?o(r,i,a):o(r,i)}}function c_(e,t){return n;function n(n,r,i,a){let o=Array.isArray(i.children),s=Ig(n);return t(r,i,a,o,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}function l_(e,t){let n={},r,i;for(i in t.properties)if(i!==`children`&&Gg.call(t.properties,i)){let a=f_(e,i,t.properties[i]);if(a){let[i,o]=a;e.tableCellAlignToStyle&&i===`align`&&typeof o==`string`&&Yg.has(t.tagName)?r=o:n[i]=o}}if(r){let t=n.style||(n.style={});t[e.stylePropertyNameCase===`css`?`text-align`:`textAlign`]=r}return n}function u_(e,t){let n={};for(let r of t.attributes)if(r.type===`mdxJsxExpressionAttribute`)if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];t.type;let i=t.expression;i.type;let a=i.properties[0];a.type,Object.assign(n,e.evaluater.evaluateExpression(a.argument))}else h_(e,t.position);else{let i=r.name,a;if(r.value&&typeof r.value==`object`)if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];t.type,a=e.evaluater.evaluateExpression(t.expression)}else h_(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function d_(e,t){let n=[],r=-1,i=e.passKeys?new Map:Kg;for(;++r<t.children.length;){let a=t.children[r],o;if(e.passKeys){let e=a.type===`element`?a.tagName:a.type===`mdxJsxFlowElement`||a.type===`mdxJsxTextElement`?a.name:void 0;if(e){let t=i.get(e)||0;o=e+`-`+t,i.set(e,t+1)}}let s=Qg(e,a,o);s!==void 0&&n.push(s)}return n}function f_(e,t,n){let r=Tg(e.schema,t);if(!(n==null||typeof n==`number`&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Wh(n):Ag(n)),r.property===`style`){let t=typeof n==`object`?n:p_(e,String(n));return e.stylePropertyNameCase===`css`&&(t=g_(t)),[`style`,t]}return[e.elementAttributeNameCase===`react`&&r.space?xg[r.property]||r.property:r.attribute,n]}}function p_(e,t){try{return(0,Wg.default)(t,{reactCompat:!0})}catch(t){if(e.ignoreInvalidStyle)return{};let n=t,r=new Ug("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:`style`,source:`hast-util-to-jsx-runtime`});throw r.file=e.filePath||void 0,r.url=Xg+`#cannot-parse-style-attribute`,r}}function m_(e,t,n){let r;if(!n)r={type:`Literal`,value:t};else if(t.includes(`.`)){let e=t.split(`.`),n=-1,i;for(;++n<e.length;){let t=Jh(e[n])?{type:`Identifier`,name:e[n]}:{type:`Literal`,value:e[n]};i=i?{type:`MemberExpression`,object:i,property:t,computed:!!(n&&t.type===`Literal`),optional:!1}:t}r=i}else r=Jh(t)&&!/^[a-z]/.test(t)?{type:`Identifier`,name:t}:{type:`Literal`,value:t};if(r.type===`Literal`){let t=r.value;return Gg.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);h_(e)}function h_(e,t){let n=new Ug("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:`mdx-estree`,source:`hast-util-to-jsx-runtime`});throw n.file=e.filePath||void 0,n.url=Xg+`#cannot-handle-mdx-estrees-without-createevaluater`,n}function g_(e){let t={},n;for(n in e)Gg.call(e,n)&&(t[__(n)]=e[n]);return t}function __(e){let t=e.replace(qg,v_);return t.slice(0,3)===`ms-`&&(t=`-`+t),t}function v_(e){return`-`+e.toLowerCase()}var y_={action:[`form`],cite:[`blockquote`,`del`,`ins`,`q`],data:[`object`],formAction:[`button`,`input`],href:[`a`,`area`,`base`,`link`],icon:[`menuitem`],itemId:null,manifest:[`html`],ping:[`a`,`area`],poster:[`video`],src:[`audio`,`embed`,`iframe`,`img`,`input`,`script`,`source`,`track`,`video`]},b_={};function x_(e,t){let n=t||b_;return S_(e,typeof n.includeImageAlt==`boolean`?n.includeImageAlt:!0,typeof n.includeHtml==`boolean`?n.includeHtml:!0)}function S_(e,t,n){if(w_(e)){if(`value`in e)return e.type===`html`&&!n?``:e.value;if(t&&`alt`in e&&e.alt)return e.alt;if(`children`in e)return C_(e.children,t,n)}return Array.isArray(e)?C_(e,t,n):``}function C_(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=S_(e[i],t,n);return r.join(``)}function w_(e){return!!(e&&typeof e==`object`)}var T_={AElig:`Æ`,AMP:`&`,Aacute:`Á`,Abreve:`Ă`,Acirc:`Â`,Acy:`А`,Afr:`𝔄`,Agrave:`À`,Alpha:`Α`,Amacr:`Ā`,And:`⩓`,Aogon:`Ą`,Aopf:`𝔸`,ApplyFunction:``,Aring:`Å`,Ascr:`𝒜`,Assign:`≔`,Atilde:`Ã`,Auml:`Ä`,Backslash:`∖`,Barv:`⫧`,Barwed:`⌆`,Bcy:`Б`,Because:`∵`,Bernoullis:`ℬ`,Beta:`Β`,Bfr:`𝔅`,Bopf:`𝔹`,Breve:`˘`,Bscr:`ℬ`,Bumpeq:`≎`,CHcy:`Ч`,COPY:`©`,Cacute:`Ć`,Cap:`⋒`,CapitalDifferentialD:`ⅅ`,Cayleys:`ℭ`,Ccaron:`Č`,Ccedil:`Ç`,Ccirc:`Ĉ`,Cconint:`∰`,Cdot:`Ċ`,Cedilla:`¸`,CenterDot:`·`,Cfr:`ℭ`,Chi:`Χ`,CircleDot:`⊙`,CircleMinus:`⊖`,CirclePlus:`⊕`,CircleTimes:`⊗`,ClockwiseContourIntegral:`∲`,CloseCurlyDoubleQuote:`”`,CloseCurlyQuote:`’`,Colon:`∷`,Colone:`⩴`,Congruent:`≡`,Conint:`∯`,ContourIntegral:`∮`,Copf:`ℂ`,Coproduct:`∐`,CounterClockwiseContourIntegral:`∳`,Cross:`⨯`,Cscr:`𝒞`,Cup:`⋓`,CupCap:`≍`,DD:`ⅅ`,DDotrahd:`⤑`,DJcy:`Ђ`,DScy:`Ѕ`,DZcy:`Џ`,Dagger:`‡`,Darr:`↡`,Dashv:`⫤`,Dcaron:`Ď`,Dcy:`Д`,Del:`∇`,Delta:`Δ`,Dfr:`𝔇`,DiacriticalAcute:`´`,DiacriticalDot:`˙`,DiacriticalDoubleAcute:`˝`,DiacriticalGrave:"`",DiacriticalTilde:`˜`,Diamond:`⋄`,DifferentialD:`ⅆ`,Dopf:`𝔻`,Dot:`¨`,DotDot:`⃜`,DotEqual:`≐`,DoubleContourIntegral:`∯`,DoubleDot:`¨`,DoubleDownArrow:`⇓`,DoubleLeftArrow:`⇐`,DoubleLeftRightArrow:`⇔`,DoubleLeftTee:`⫤`,DoubleLongLeftArrow:`⟸`,DoubleLongLeftRightArrow:`⟺`,DoubleLongRightArrow:`⟹`,DoubleRightArrow:`⇒`,DoubleRightTee:`⊨`,DoubleUpArrow:`⇑`,DoubleUpDownArrow:`⇕`,DoubleVerticalBar:`∥`,DownArrow:`↓`,DownArrowBar:`⤓`,DownArrowUpArrow:`⇵`,DownBreve:`̑`,DownLeftRightVector:`⥐`,DownLeftTeeVector:`⥞`,DownLeftVector:`↽`,DownLeftVectorBar:`⥖`,DownRightTeeVector:`⥟`,DownRightVector:`⇁`,DownRightVectorBar:`⥗`,DownTee:`⊤`,DownTeeArrow:`↧`,Downarrow:`⇓`,Dscr:`𝒟`,Dstrok:`Đ`,ENG:`Ŋ`,ETH:`Ð`,Eacute:`É`,Ecaron:`Ě`,Ecirc:`Ê`,Ecy:`Э`,Edot:`Ė`,Efr:`𝔈`,Egrave:`È`,Element:`∈`,Emacr:`Ē`,EmptySmallSquare:`◻`,EmptyVerySmallSquare:`▫`,Eogon:`Ę`,Eopf:`𝔼`,Epsilon:`Ε`,Equal:`⩵`,EqualTilde:`≂`,Equilibrium:`⇌`,Escr:`ℰ`,Esim:`⩳`,Eta:`Η`,Euml:`Ë`,Exists:`∃`,ExponentialE:`ⅇ`,Fcy:`Ф`,Ffr:`𝔉`,FilledSmallSquare:`◼`,FilledVerySmallSquare:`▪`,Fopf:`𝔽`,ForAll:`∀`,Fouriertrf:`ℱ`,Fscr:`ℱ`,GJcy:`Ѓ`,GT:`>`,Gamma:`Γ`,Gammad:`Ϝ`,Gbreve:`Ğ`,Gcedil:`Ģ`,Gcirc:`Ĝ`,Gcy:`Г`,Gdot:`Ġ`,Gfr:`𝔊`,Gg:`⋙`,Gopf:`𝔾`,GreaterEqual:`≥`,GreaterEqualLess:`⋛`,GreaterFullEqual:`≧`,GreaterGreater:`⪢`,GreaterLess:`≷`,GreaterSlantEqual:`⩾`,GreaterTilde:`≳`,Gscr:`𝒢`,Gt:`≫`,HARDcy:`Ъ`,Hacek:`ˇ`,Hat:`^`,Hcirc:`Ĥ`,Hfr:`ℌ`,HilbertSpace:`ℋ`,Hopf:`ℍ`,HorizontalLine:`─`,Hscr:`ℋ`,Hstrok:`Ħ`,HumpDownHump:`≎`,HumpEqual:`≏`,IEcy:`Е`,IJlig:`IJ`,IOcy:`Ё`,Iacute:`Í`,Icirc:`Î`,Icy:`И`,Idot:`İ`,Ifr:`ℑ`,Igrave:`Ì`,Im:`ℑ`,Imacr:`Ī`,ImaginaryI:`ⅈ`,Implies:`⇒`,Int:`∬`,Integral:`∫`,Intersection:`⋂`,InvisibleComma:``,InvisibleTimes:``,Iogon:`Į`,Iopf:`𝕀`,Iota:`Ι`,Iscr:`ℐ`,Itilde:`Ĩ`,Iukcy:`І`,Iuml:`Ï`,Jcirc:`Ĵ`,Jcy:`Й`,Jfr:`𝔍`,Jopf:`𝕁`,Jscr:`𝒥`,Jsercy:`Ј`,Jukcy:`Є`,KHcy:`Х`,KJcy:`Ќ`,Kappa:`Κ`,Kcedil:`Ķ`,Kcy:`К`,Kfr:`𝔎`,Kopf:`𝕂`,Kscr:`𝒦`,LJcy:`Љ`,LT:`<`,Lacute:`Ĺ`,Lambda:`Λ`,Lang:`⟪`,Laplacetrf:`ℒ`,Larr:`↞`,Lcaron:`Ľ`,Lcedil:`Ļ`,Lcy:`Л`,LeftAngleBracket:`⟨`,LeftArrow:`←`,LeftArrowBar:`⇤`,LeftArrowRightArrow:`⇆`,LeftCeiling:`⌈`,LeftDoubleBracket:`⟦`,LeftDownTeeVector:`⥡`,LeftDownVector:`⇃`,LeftDownVectorBar:`⥙`,LeftFloor:`⌊`,LeftRightArrow:`↔`,LeftRightVector:`⥎`,LeftTee:`⊣`,LeftTeeArrow:`↤`,LeftTeeVector:`⥚`,LeftTriangle:`⊲`,LeftTriangleBar:`⧏`,LeftTriangleEqual:`⊴`,LeftUpDownVector:`⥑`,LeftUpTeeVector:`⥠`,LeftUpVector:`↿`,LeftUpVectorBar:`⥘`,LeftVector:`↼`,LeftVectorBar:`⥒`,Leftarrow:`⇐`,Leftrightarrow:`⇔`,LessEqualGreater:`⋚`,LessFullEqual:`≦`,LessGreater:`≶`,LessLess:`⪡`,LessSlantEqual:`⩽`,LessTilde:`≲`,Lfr:`𝔏`,Ll:`⋘`,Lleftarrow:`⇚`,Lmidot:`Ŀ`,LongLeftArrow:`⟵`,LongLeftRightArrow:`⟷`,LongRightArrow:`⟶`,Longleftarrow:`⟸`,Longleftrightarrow:`⟺`,Longrightarrow:`⟹`,Lopf:`𝕃`,LowerLeftArrow:`↙`,LowerRightArrow:`↘`,Lscr:`ℒ`,Lsh:`↰`,Lstrok:`Ł`,Lt:`≪`,Map:`⤅`,Mcy:`М`,MediumSpace:` `,Mellintrf:`ℳ`,Mfr:`𝔐`,MinusPlus:`∓`,Mopf:`𝕄`,Mscr:`ℳ`,Mu:`Μ`,NJcy:`Њ`,Nacute:`Ń`,Ncaron:`Ň`,Ncedil:`Ņ`,Ncy:`Н`,NegativeMediumSpace:``,NegativeThickSpace:``,NegativeThinSpace:``,NegativeVeryThinSpace:``,NestedGreaterGreater:`≫`,NestedLessLess:`≪`,NewLine:`
|
|
263
|
-
`,Nfr:`𝔑`,NoBreak:``,NonBreakingSpace:`\xA0`,Nopf:`ℕ`,Not:`⫬`,NotCongruent:`≢`,NotCupCap:`≭`,NotDoubleVerticalBar:`∦`,NotElement:`∉`,NotEqual:`≠`,NotEqualTilde:`≂̸`,NotExists:`∄`,NotGreater:`≯`,NotGreaterEqual:`≱`,NotGreaterFullEqual:`≧̸`,NotGreaterGreater:`≫̸`,NotGreaterLess:`≹`,NotGreaterSlantEqual:`⩾̸`,NotGreaterTilde:`≵`,NotHumpDownHump:`≎̸`,NotHumpEqual:`≏̸`,NotLeftTriangle:`⋪`,NotLeftTriangleBar:`⧏̸`,NotLeftTriangleEqual:`⋬`,NotLess:`≮`,NotLessEqual:`≰`,NotLessGreater:`≸`,NotLessLess:`≪̸`,NotLessSlantEqual:`⩽̸`,NotLessTilde:`≴`,NotNestedGreaterGreater:`⪢̸`,NotNestedLessLess:`⪡̸`,NotPrecedes:`⊀`,NotPrecedesEqual:`⪯̸`,NotPrecedesSlantEqual:`⋠`,NotReverseElement:`∌`,NotRightTriangle:`⋫`,NotRightTriangleBar:`⧐̸`,NotRightTriangleEqual:`⋭`,NotSquareSubset:`⊏̸`,NotSquareSubsetEqual:`⋢`,NotSquareSuperset:`⊐̸`,NotSquareSupersetEqual:`⋣`,NotSubset:`⊂⃒`,NotSubsetEqual:`⊈`,NotSucceeds:`⊁`,NotSucceedsEqual:`⪰̸`,NotSucceedsSlantEqual:`⋡`,NotSucceedsTilde:`≿̸`,NotSuperset:`⊃⃒`,NotSupersetEqual:`⊉`,NotTilde:`≁`,NotTildeEqual:`≄`,NotTildeFullEqual:`≇`,NotTildeTilde:`≉`,NotVerticalBar:`∤`,Nscr:`𝒩`,Ntilde:`Ñ`,Nu:`Ν`,OElig:`Œ`,Oacute:`Ó`,Ocirc:`Ô`,Ocy:`О`,Odblac:`Ő`,Ofr:`𝔒`,Ograve:`Ò`,Omacr:`Ō`,Omega:`Ω`,Omicron:`Ο`,Oopf:`𝕆`,OpenCurlyDoubleQuote:`“`,OpenCurlyQuote:`‘`,Or:`⩔`,Oscr:`𝒪`,Oslash:`Ø`,Otilde:`Õ`,Otimes:`⨷`,Ouml:`Ö`,OverBar:`‾`,OverBrace:`⏞`,OverBracket:`⎴`,OverParenthesis:`⏜`,PartialD:`∂`,Pcy:`П`,Pfr:`𝔓`,Phi:`Φ`,Pi:`Π`,PlusMinus:`±`,Poincareplane:`ℌ`,Popf:`ℙ`,Pr:`⪻`,Precedes:`≺`,PrecedesEqual:`⪯`,PrecedesSlantEqual:`≼`,PrecedesTilde:`≾`,Prime:`″`,Product:`∏`,Proportion:`∷`,Proportional:`∝`,Pscr:`𝒫`,Psi:`Ψ`,QUOT:`"`,Qfr:`𝔔`,Qopf:`ℚ`,Qscr:`𝒬`,RBarr:`⤐`,REG:`®`,Racute:`Ŕ`,Rang:`⟫`,Rarr:`↠`,Rarrtl:`⤖`,Rcaron:`Ř`,Rcedil:`Ŗ`,Rcy:`Р`,Re:`ℜ`,ReverseElement:`∋`,ReverseEquilibrium:`⇋`,ReverseUpEquilibrium:`⥯`,Rfr:`ℜ`,Rho:`Ρ`,RightAngleBracket:`⟩`,RightArrow:`→`,RightArrowBar:`⇥`,RightArrowLeftArrow:`⇄`,RightCeiling:`⌉`,RightDoubleBracket:`⟧`,RightDownTeeVector:`⥝`,RightDownVector:`⇂`,RightDownVectorBar:`⥕`,RightFloor:`⌋`,RightTee:`⊢`,RightTeeArrow:`↦`,RightTeeVector:`⥛`,RightTriangle:`⊳`,RightTriangleBar:`⧐`,RightTriangleEqual:`⊵`,RightUpDownVector:`⥏`,RightUpTeeVector:`⥜`,RightUpVector:`↾`,RightUpVectorBar:`⥔`,RightVector:`⇀`,RightVectorBar:`⥓`,Rightarrow:`⇒`,Ropf:`ℝ`,RoundImplies:`⥰`,Rrightarrow:`⇛`,Rscr:`ℛ`,Rsh:`↱`,RuleDelayed:`⧴`,SHCHcy:`Щ`,SHcy:`Ш`,SOFTcy:`Ь`,Sacute:`Ś`,Sc:`⪼`,Scaron:`Š`,Scedil:`Ş`,Scirc:`Ŝ`,Scy:`С`,Sfr:`𝔖`,ShortDownArrow:`↓`,ShortLeftArrow:`←`,ShortRightArrow:`→`,ShortUpArrow:`↑`,Sigma:`Σ`,SmallCircle:`∘`,Sopf:`𝕊`,Sqrt:`√`,Square:`□`,SquareIntersection:`⊓`,SquareSubset:`⊏`,SquareSubsetEqual:`⊑`,SquareSuperset:`⊐`,SquareSupersetEqual:`⊒`,SquareUnion:`⊔`,Sscr:`𝒮`,Star:`⋆`,Sub:`⋐`,Subset:`⋐`,SubsetEqual:`⊆`,Succeeds:`≻`,SucceedsEqual:`⪰`,SucceedsSlantEqual:`≽`,SucceedsTilde:`≿`,SuchThat:`∋`,Sum:`∑`,Sup:`⋑`,Superset:`⊃`,SupersetEqual:`⊇`,Supset:`⋑`,THORN:`Þ`,TRADE:`™`,TSHcy:`Ћ`,TScy:`Ц`,Tab:` `,Tau:`Τ`,Tcaron:`Ť`,Tcedil:`Ţ`,Tcy:`Т`,Tfr:`𝔗`,Therefore:`∴`,Theta:`Θ`,ThickSpace:` `,ThinSpace:` `,Tilde:`∼`,TildeEqual:`≃`,TildeFullEqual:`≅`,TildeTilde:`≈`,Topf:`𝕋`,TripleDot:`⃛`,Tscr:`𝒯`,Tstrok:`Ŧ`,Uacute:`Ú`,Uarr:`↟`,Uarrocir:`⥉`,Ubrcy:`Ў`,Ubreve:`Ŭ`,Ucirc:`Û`,Ucy:`У`,Udblac:`Ű`,Ufr:`𝔘`,Ugrave:`Ù`,Umacr:`Ū`,UnderBar:`_`,UnderBrace:`⏟`,UnderBracket:`⎵`,UnderParenthesis:`⏝`,Union:`⋃`,UnionPlus:`⊎`,Uogon:`Ų`,Uopf:`𝕌`,UpArrow:`↑`,UpArrowBar:`⤒`,UpArrowDownArrow:`⇅`,UpDownArrow:`↕`,UpEquilibrium:`⥮`,UpTee:`⊥`,UpTeeArrow:`↥`,Uparrow:`⇑`,Updownarrow:`⇕`,UpperLeftArrow:`↖`,UpperRightArrow:`↗`,Upsi:`ϒ`,Upsilon:`Υ`,Uring:`Ů`,Uscr:`𝒰`,Utilde:`Ũ`,Uuml:`Ü`,VDash:`⊫`,Vbar:`⫫`,Vcy:`В`,Vdash:`⊩`,Vdashl:`⫦`,Vee:`⋁`,Verbar:`‖`,Vert:`‖`,VerticalBar:`∣`,VerticalLine:`|`,VerticalSeparator:`❘`,VerticalTilde:`≀`,VeryThinSpace:` `,Vfr:`𝔙`,Vopf:`𝕍`,Vscr:`𝒱`,Vvdash:`⊪`,Wcirc:`Ŵ`,Wedge:`⋀`,Wfr:`𝔚`,Wopf:`𝕎`,Wscr:`𝒲`,Xfr:`𝔛`,Xi:`Ξ`,Xopf:`𝕏`,Xscr:`𝒳`,YAcy:`Я`,YIcy:`Ї`,YUcy:`Ю`,Yacute:`Ý`,Ycirc:`Ŷ`,Ycy:`Ы`,Yfr:`𝔜`,Yopf:`𝕐`,Yscr:`𝒴`,Yuml:`Ÿ`,ZHcy:`Ж`,Zacute:`Ź`,Zcaron:`Ž`,Zcy:`З`,Zdot:`Ż`,ZeroWidthSpace:``,Zeta:`Ζ`,Zfr:`ℨ`,Zopf:`ℤ`,Zscr:`𝒵`,aacute:`á`,abreve:`ă`,ac:`∾`,acE:`∾̳`,acd:`∿`,acirc:`â`,acute:`´`,acy:`а`,aelig:`æ`,af:``,afr:`𝔞`,agrave:`à`,alefsym:`ℵ`,aleph:`ℵ`,alpha:`α`,amacr:`ā`,amalg:`⨿`,amp:`&`,and:`∧`,andand:`⩕`,andd:`⩜`,andslope:`⩘`,andv:`⩚`,ang:`∠`,ange:`⦤`,angle:`∠`,angmsd:`∡`,angmsdaa:`⦨`,angmsdab:`⦩`,angmsdac:`⦪`,angmsdad:`⦫`,angmsdae:`⦬`,angmsdaf:`⦭`,angmsdag:`⦮`,angmsdah:`⦯`,angrt:`∟`,angrtvb:`⊾`,angrtvbd:`⦝`,angsph:`∢`,angst:`Å`,angzarr:`⍼`,aogon:`ą`,aopf:`𝕒`,ap:`≈`,apE:`⩰`,apacir:`⩯`,ape:`≊`,apid:`≋`,apos:`'`,approx:`≈`,approxeq:`≊`,aring:`å`,ascr:`𝒶`,ast:`*`,asymp:`≈`,asympeq:`≍`,atilde:`ã`,auml:`ä`,awconint:`∳`,awint:`⨑`,bNot:`⫭`,backcong:`≌`,backepsilon:`϶`,backprime:`‵`,backsim:`∽`,backsimeq:`⋍`,barvee:`⊽`,barwed:`⌅`,barwedge:`⌅`,bbrk:`⎵`,bbrktbrk:`⎶`,bcong:`≌`,bcy:`б`,bdquo:`„`,becaus:`∵`,because:`∵`,bemptyv:`⦰`,bepsi:`϶`,bernou:`ℬ`,beta:`β`,beth:`ℶ`,between:`≬`,bfr:`𝔟`,bigcap:`⋂`,bigcirc:`◯`,bigcup:`⋃`,bigodot:`⨀`,bigoplus:`⨁`,bigotimes:`⨂`,bigsqcup:`⨆`,bigstar:`★`,bigtriangledown:`▽`,bigtriangleup:`△`,biguplus:`⨄`,bigvee:`⋁`,bigwedge:`⋀`,bkarow:`⤍`,blacklozenge:`⧫`,blacksquare:`▪`,blacktriangle:`▴`,blacktriangledown:`▾`,blacktriangleleft:`◂`,blacktriangleright:`▸`,blank:`␣`,blk12:`▒`,blk14:`░`,blk34:`▓`,block:`█`,bne:`=⃥`,bnequiv:`≡⃥`,bnot:`⌐`,bopf:`𝕓`,bot:`⊥`,bottom:`⊥`,bowtie:`⋈`,boxDL:`╗`,boxDR:`╔`,boxDl:`╖`,boxDr:`╓`,boxH:`═`,boxHD:`╦`,boxHU:`╩`,boxHd:`╤`,boxHu:`╧`,boxUL:`╝`,boxUR:`╚`,boxUl:`╜`,boxUr:`╙`,boxV:`║`,boxVH:`╬`,boxVL:`╣`,boxVR:`╠`,boxVh:`╫`,boxVl:`╢`,boxVr:`╟`,boxbox:`⧉`,boxdL:`╕`,boxdR:`╒`,boxdl:`┐`,boxdr:`┌`,boxh:`─`,boxhD:`╥`,boxhU:`╨`,boxhd:`┬`,boxhu:`┴`,boxminus:`⊟`,boxplus:`⊞`,boxtimes:`⊠`,boxuL:`╛`,boxuR:`╘`,boxul:`┘`,boxur:`└`,boxv:`│`,boxvH:`╪`,boxvL:`╡`,boxvR:`╞`,boxvh:`┼`,boxvl:`┤`,boxvr:`├`,bprime:`‵`,breve:`˘`,brvbar:`¦`,bscr:`𝒷`,bsemi:`⁏`,bsim:`∽`,bsime:`⋍`,bsol:`\\`,bsolb:`⧅`,bsolhsub:`⟈`,bull:`•`,bullet:`•`,bump:`≎`,bumpE:`⪮`,bumpe:`≏`,bumpeq:`≏`,cacute:`ć`,cap:`∩`,capand:`⩄`,capbrcup:`⩉`,capcap:`⩋`,capcup:`⩇`,capdot:`⩀`,caps:`∩︀`,caret:`⁁`,caron:`ˇ`,ccaps:`⩍`,ccaron:`č`,ccedil:`ç`,ccirc:`ĉ`,ccups:`⩌`,ccupssm:`⩐`,cdot:`ċ`,cedil:`¸`,cemptyv:`⦲`,cent:`¢`,centerdot:`·`,cfr:`𝔠`,chcy:`ч`,check:`✓`,checkmark:`✓`,chi:`χ`,cir:`○`,cirE:`⧃`,circ:`ˆ`,circeq:`≗`,circlearrowleft:`↺`,circlearrowright:`↻`,circledR:`®`,circledS:`Ⓢ`,circledast:`⊛`,circledcirc:`⊚`,circleddash:`⊝`,cire:`≗`,cirfnint:`⨐`,cirmid:`⫯`,cirscir:`⧂`,clubs:`♣`,clubsuit:`♣`,colon:`:`,colone:`≔`,coloneq:`≔`,comma:`,`,commat:`@`,comp:`∁`,compfn:`∘`,complement:`∁`,complexes:`ℂ`,cong:`≅`,congdot:`⩭`,conint:`∮`,copf:`𝕔`,coprod:`∐`,copy:`©`,copysr:`℗`,crarr:`↵`,cross:`✗`,cscr:`𝒸`,csub:`⫏`,csube:`⫑`,csup:`⫐`,csupe:`⫒`,ctdot:`⋯`,cudarrl:`⤸`,cudarrr:`⤵`,cuepr:`⋞`,cuesc:`⋟`,cularr:`↶`,cularrp:`⤽`,cup:`∪`,cupbrcap:`⩈`,cupcap:`⩆`,cupcup:`⩊`,cupdot:`⊍`,cupor:`⩅`,cups:`∪︀`,curarr:`↷`,curarrm:`⤼`,curlyeqprec:`⋞`,curlyeqsucc:`⋟`,curlyvee:`⋎`,curlywedge:`⋏`,curren:`¤`,curvearrowleft:`↶`,curvearrowright:`↷`,cuvee:`⋎`,cuwed:`⋏`,cwconint:`∲`,cwint:`∱`,cylcty:`⌭`,dArr:`⇓`,dHar:`⥥`,dagger:`†`,daleth:`ℸ`,darr:`↓`,dash:`‐`,dashv:`⊣`,dbkarow:`⤏`,dblac:`˝`,dcaron:`ď`,dcy:`д`,dd:`ⅆ`,ddagger:`‡`,ddarr:`⇊`,ddotseq:`⩷`,deg:`°`,delta:`δ`,demptyv:`⦱`,dfisht:`⥿`,dfr:`𝔡`,dharl:`⇃`,dharr:`⇂`,diam:`⋄`,diamond:`⋄`,diamondsuit:`♦`,diams:`♦`,die:`¨`,digamma:`ϝ`,disin:`⋲`,div:`÷`,divide:`÷`,divideontimes:`⋇`,divonx:`⋇`,djcy:`ђ`,dlcorn:`⌞`,dlcrop:`⌍`,dollar:`$`,dopf:`𝕕`,dot:`˙`,doteq:`≐`,doteqdot:`≑`,dotminus:`∸`,dotplus:`∔`,dotsquare:`⊡`,doublebarwedge:`⌆`,downarrow:`↓`,downdownarrows:`⇊`,downharpoonleft:`⇃`,downharpoonright:`⇂`,drbkarow:`⤐`,drcorn:`⌟`,drcrop:`⌌`,dscr:`𝒹`,dscy:`ѕ`,dsol:`⧶`,dstrok:`đ`,dtdot:`⋱`,dtri:`▿`,dtrif:`▾`,duarr:`⇵`,duhar:`⥯`,dwangle:`⦦`,dzcy:`џ`,dzigrarr:`⟿`,eDDot:`⩷`,eDot:`≑`,eacute:`é`,easter:`⩮`,ecaron:`ě`,ecir:`≖`,ecirc:`ê`,ecolon:`≕`,ecy:`э`,edot:`ė`,ee:`ⅇ`,efDot:`≒`,efr:`𝔢`,eg:`⪚`,egrave:`è`,egs:`⪖`,egsdot:`⪘`,el:`⪙`,elinters:`⏧`,ell:`ℓ`,els:`⪕`,elsdot:`⪗`,emacr:`ē`,empty:`∅`,emptyset:`∅`,emptyv:`∅`,emsp13:` `,emsp14:` `,emsp:` `,eng:`ŋ`,ensp:` `,eogon:`ę`,eopf:`𝕖`,epar:`⋕`,eparsl:`⧣`,eplus:`⩱`,epsi:`ε`,epsilon:`ε`,epsiv:`ϵ`,eqcirc:`≖`,eqcolon:`≕`,eqsim:`≂`,eqslantgtr:`⪖`,eqslantless:`⪕`,equals:`=`,equest:`≟`,equiv:`≡`,equivDD:`⩸`,eqvparsl:`⧥`,erDot:`≓`,erarr:`⥱`,escr:`ℯ`,esdot:`≐`,esim:`≂`,eta:`η`,eth:`ð`,euml:`ë`,euro:`€`,excl:`!`,exist:`∃`,expectation:`ℰ`,exponentiale:`ⅇ`,fallingdotseq:`≒`,fcy:`ф`,female:`♀`,ffilig:`ffi`,fflig:`ff`,ffllig:`ffl`,ffr:`𝔣`,filig:`fi`,fjlig:`fj`,flat:`♭`,fllig:`fl`,fltns:`▱`,fnof:`ƒ`,fopf:`𝕗`,forall:`∀`,fork:`⋔`,forkv:`⫙`,fpartint:`⨍`,frac12:`½`,frac13:`⅓`,frac14:`¼`,frac15:`⅕`,frac16:`⅙`,frac18:`⅛`,frac23:`⅔`,frac25:`⅖`,frac34:`¾`,frac35:`⅗`,frac38:`⅜`,frac45:`⅘`,frac56:`⅚`,frac58:`⅝`,frac78:`⅞`,frasl:`⁄`,frown:`⌢`,fscr:`𝒻`,gE:`≧`,gEl:`⪌`,gacute:`ǵ`,gamma:`γ`,gammad:`ϝ`,gap:`⪆`,gbreve:`ğ`,gcirc:`ĝ`,gcy:`г`,gdot:`ġ`,ge:`≥`,gel:`⋛`,geq:`≥`,geqq:`≧`,geqslant:`⩾`,ges:`⩾`,gescc:`⪩`,gesdot:`⪀`,gesdoto:`⪂`,gesdotol:`⪄`,gesl:`⋛︀`,gesles:`⪔`,gfr:`𝔤`,gg:`≫`,ggg:`⋙`,gimel:`ℷ`,gjcy:`ѓ`,gl:`≷`,glE:`⪒`,gla:`⪥`,glj:`⪤`,gnE:`≩`,gnap:`⪊`,gnapprox:`⪊`,gne:`⪈`,gneq:`⪈`,gneqq:`≩`,gnsim:`⋧`,gopf:`𝕘`,grave:"`",gscr:`ℊ`,gsim:`≳`,gsime:`⪎`,gsiml:`⪐`,gt:`>`,gtcc:`⪧`,gtcir:`⩺`,gtdot:`⋗`,gtlPar:`⦕`,gtquest:`⩼`,gtrapprox:`⪆`,gtrarr:`⥸`,gtrdot:`⋗`,gtreqless:`⋛`,gtreqqless:`⪌`,gtrless:`≷`,gtrsim:`≳`,gvertneqq:`≩︀`,gvnE:`≩︀`,hArr:`⇔`,hairsp:` `,half:`½`,hamilt:`ℋ`,hardcy:`ъ`,harr:`↔`,harrcir:`⥈`,harrw:`↭`,hbar:`ℏ`,hcirc:`ĥ`,hearts:`♥`,heartsuit:`♥`,hellip:`…`,hercon:`⊹`,hfr:`𝔥`,hksearow:`⤥`,hkswarow:`⤦`,hoarr:`⇿`,homtht:`∻`,hookleftarrow:`↩`,hookrightarrow:`↪`,hopf:`𝕙`,horbar:`―`,hscr:`𝒽`,hslash:`ℏ`,hstrok:`ħ`,hybull:`⁃`,hyphen:`‐`,iacute:`í`,ic:``,icirc:`î`,icy:`и`,iecy:`е`,iexcl:`¡`,iff:`⇔`,ifr:`𝔦`,igrave:`ì`,ii:`ⅈ`,iiiint:`⨌`,iiint:`∭`,iinfin:`⧜`,iiota:`℩`,ijlig:`ij`,imacr:`ī`,image:`ℑ`,imagline:`ℐ`,imagpart:`ℑ`,imath:`ı`,imof:`⊷`,imped:`Ƶ`,in:`∈`,incare:`℅`,infin:`∞`,infintie:`⧝`,inodot:`ı`,int:`∫`,intcal:`⊺`,integers:`ℤ`,intercal:`⊺`,intlarhk:`⨗`,intprod:`⨼`,iocy:`ё`,iogon:`į`,iopf:`𝕚`,iota:`ι`,iprod:`⨼`,iquest:`¿`,iscr:`𝒾`,isin:`∈`,isinE:`⋹`,isindot:`⋵`,isins:`⋴`,isinsv:`⋳`,isinv:`∈`,it:``,itilde:`ĩ`,iukcy:`і`,iuml:`ï`,jcirc:`ĵ`,jcy:`й`,jfr:`𝔧`,jmath:`ȷ`,jopf:`𝕛`,jscr:`𝒿`,jsercy:`ј`,jukcy:`є`,kappa:`κ`,kappav:`ϰ`,kcedil:`ķ`,kcy:`к`,kfr:`𝔨`,kgreen:`ĸ`,khcy:`х`,kjcy:`ќ`,kopf:`𝕜`,kscr:`𝓀`,lAarr:`⇚`,lArr:`⇐`,lAtail:`⤛`,lBarr:`⤎`,lE:`≦`,lEg:`⪋`,lHar:`⥢`,lacute:`ĺ`,laemptyv:`⦴`,lagran:`ℒ`,lambda:`λ`,lang:`⟨`,langd:`⦑`,langle:`⟨`,lap:`⪅`,laquo:`«`,larr:`←`,larrb:`⇤`,larrbfs:`⤟`,larrfs:`⤝`,larrhk:`↩`,larrlp:`↫`,larrpl:`⤹`,larrsim:`⥳`,larrtl:`↢`,lat:`⪫`,latail:`⤙`,late:`⪭`,lates:`⪭︀`,lbarr:`⤌`,lbbrk:`❲`,lbrace:`{`,lbrack:`[`,lbrke:`⦋`,lbrksld:`⦏`,lbrkslu:`⦍`,lcaron:`ľ`,lcedil:`ļ`,lceil:`⌈`,lcub:`{`,lcy:`л`,ldca:`⤶`,ldquo:`“`,ldquor:`„`,ldrdhar:`⥧`,ldrushar:`⥋`,ldsh:`↲`,le:`≤`,leftarrow:`←`,leftarrowtail:`↢`,leftharpoondown:`↽`,leftharpoonup:`↼`,leftleftarrows:`⇇`,leftrightarrow:`↔`,leftrightarrows:`⇆`,leftrightharpoons:`⇋`,leftrightsquigarrow:`↭`,leftthreetimes:`⋋`,leg:`⋚`,leq:`≤`,leqq:`≦`,leqslant:`⩽`,les:`⩽`,lescc:`⪨`,lesdot:`⩿`,lesdoto:`⪁`,lesdotor:`⪃`,lesg:`⋚︀`,lesges:`⪓`,lessapprox:`⪅`,lessdot:`⋖`,lesseqgtr:`⋚`,lesseqqgtr:`⪋`,lessgtr:`≶`,lesssim:`≲`,lfisht:`⥼`,lfloor:`⌊`,lfr:`𝔩`,lg:`≶`,lgE:`⪑`,lhard:`↽`,lharu:`↼`,lharul:`⥪`,lhblk:`▄`,ljcy:`љ`,ll:`≪`,llarr:`⇇`,llcorner:`⌞`,llhard:`⥫`,lltri:`◺`,lmidot:`ŀ`,lmoust:`⎰`,lmoustache:`⎰`,lnE:`≨`,lnap:`⪉`,lnapprox:`⪉`,lne:`⪇`,lneq:`⪇`,lneqq:`≨`,lnsim:`⋦`,loang:`⟬`,loarr:`⇽`,lobrk:`⟦`,longleftarrow:`⟵`,longleftrightarrow:`⟷`,longmapsto:`⟼`,longrightarrow:`⟶`,looparrowleft:`↫`,looparrowright:`↬`,lopar:`⦅`,lopf:`𝕝`,loplus:`⨭`,lotimes:`⨴`,lowast:`∗`,lowbar:`_`,loz:`◊`,lozenge:`◊`,lozf:`⧫`,lpar:`(`,lparlt:`⦓`,lrarr:`⇆`,lrcorner:`⌟`,lrhar:`⇋`,lrhard:`⥭`,lrm:``,lrtri:`⊿`,lsaquo:`‹`,lscr:`𝓁`,lsh:`↰`,lsim:`≲`,lsime:`⪍`,lsimg:`⪏`,lsqb:`[`,lsquo:`‘`,lsquor:`‚`,lstrok:`ł`,lt:`<`,ltcc:`⪦`,ltcir:`⩹`,ltdot:`⋖`,lthree:`⋋`,ltimes:`⋉`,ltlarr:`⥶`,ltquest:`⩻`,ltrPar:`⦖`,ltri:`◃`,ltrie:`⊴`,ltrif:`◂`,lurdshar:`⥊`,luruhar:`⥦`,lvertneqq:`≨︀`,lvnE:`≨︀`,mDDot:`∺`,macr:`¯`,male:`♂`,malt:`✠`,maltese:`✠`,map:`↦`,mapsto:`↦`,mapstodown:`↧`,mapstoleft:`↤`,mapstoup:`↥`,marker:`▮`,mcomma:`⨩`,mcy:`м`,mdash:`—`,measuredangle:`∡`,mfr:`𝔪`,mho:`℧`,micro:`µ`,mid:`∣`,midast:`*`,midcir:`⫰`,middot:`·`,minus:`−`,minusb:`⊟`,minusd:`∸`,minusdu:`⨪`,mlcp:`⫛`,mldr:`…`,mnplus:`∓`,models:`⊧`,mopf:`𝕞`,mp:`∓`,mscr:`𝓂`,mstpos:`∾`,mu:`μ`,multimap:`⊸`,mumap:`⊸`,nGg:`⋙̸`,nGt:`≫⃒`,nGtv:`≫̸`,nLeftarrow:`⇍`,nLeftrightarrow:`⇎`,nLl:`⋘̸`,nLt:`≪⃒`,nLtv:`≪̸`,nRightarrow:`⇏`,nVDash:`⊯`,nVdash:`⊮`,nabla:`∇`,nacute:`ń`,nang:`∠⃒`,nap:`≉`,napE:`⩰̸`,napid:`≋̸`,napos:`ʼn`,napprox:`≉`,natur:`♮`,natural:`♮`,naturals:`ℕ`,nbsp:`\xA0`,nbump:`≎̸`,nbumpe:`≏̸`,ncap:`⩃`,ncaron:`ň`,ncedil:`ņ`,ncong:`≇`,ncongdot:`⩭̸`,ncup:`⩂`,ncy:`н`,ndash:`–`,ne:`≠`,neArr:`⇗`,nearhk:`⤤`,nearr:`↗`,nearrow:`↗`,nedot:`≐̸`,nequiv:`≢`,nesear:`⤨`,nesim:`≂̸`,nexist:`∄`,nexists:`∄`,nfr:`𝔫`,ngE:`≧̸`,nge:`≱`,ngeq:`≱`,ngeqq:`≧̸`,ngeqslant:`⩾̸`,nges:`⩾̸`,ngsim:`≵`,ngt:`≯`,ngtr:`≯`,nhArr:`⇎`,nharr:`↮`,nhpar:`⫲`,ni:`∋`,nis:`⋼`,nisd:`⋺`,niv:`∋`,njcy:`њ`,nlArr:`⇍`,nlE:`≦̸`,nlarr:`↚`,nldr:`‥`,nle:`≰`,nleftarrow:`↚`,nleftrightarrow:`↮`,nleq:`≰`,nleqq:`≦̸`,nleqslant:`⩽̸`,nles:`⩽̸`,nless:`≮`,nlsim:`≴`,nlt:`≮`,nltri:`⋪`,nltrie:`⋬`,nmid:`∤`,nopf:`𝕟`,not:`¬`,notin:`∉`,notinE:`⋹̸`,notindot:`⋵̸`,notinva:`∉`,notinvb:`⋷`,notinvc:`⋶`,notni:`∌`,notniva:`∌`,notnivb:`⋾`,notnivc:`⋽`,npar:`∦`,nparallel:`∦`,nparsl:`⫽⃥`,npart:`∂̸`,npolint:`⨔`,npr:`⊀`,nprcue:`⋠`,npre:`⪯̸`,nprec:`⊀`,npreceq:`⪯̸`,nrArr:`⇏`,nrarr:`↛`,nrarrc:`⤳̸`,nrarrw:`↝̸`,nrightarrow:`↛`,nrtri:`⋫`,nrtrie:`⋭`,nsc:`⊁`,nsccue:`⋡`,nsce:`⪰̸`,nscr:`𝓃`,nshortmid:`∤`,nshortparallel:`∦`,nsim:`≁`,nsime:`≄`,nsimeq:`≄`,nsmid:`∤`,nspar:`∦`,nsqsube:`⋢`,nsqsupe:`⋣`,nsub:`⊄`,nsubE:`⫅̸`,nsube:`⊈`,nsubset:`⊂⃒`,nsubseteq:`⊈`,nsubseteqq:`⫅̸`,nsucc:`⊁`,nsucceq:`⪰̸`,nsup:`⊅`,nsupE:`⫆̸`,nsupe:`⊉`,nsupset:`⊃⃒`,nsupseteq:`⊉`,nsupseteqq:`⫆̸`,ntgl:`≹`,ntilde:`ñ`,ntlg:`≸`,ntriangleleft:`⋪`,ntrianglelefteq:`⋬`,ntriangleright:`⋫`,ntrianglerighteq:`⋭`,nu:`ν`,num:`#`,numero:`№`,numsp:` `,nvDash:`⊭`,nvHarr:`⤄`,nvap:`≍⃒`,nvdash:`⊬`,nvge:`≥⃒`,nvgt:`>⃒`,nvinfin:`⧞`,nvlArr:`⤂`,nvle:`≤⃒`,nvlt:`<⃒`,nvltrie:`⊴⃒`,nvrArr:`⤃`,nvrtrie:`⊵⃒`,nvsim:`∼⃒`,nwArr:`⇖`,nwarhk:`⤣`,nwarr:`↖`,nwarrow:`↖`,nwnear:`⤧`,oS:`Ⓢ`,oacute:`ó`,oast:`⊛`,ocir:`⊚`,ocirc:`ô`,ocy:`о`,odash:`⊝`,odblac:`ő`,odiv:`⨸`,odot:`⊙`,odsold:`⦼`,oelig:`œ`,ofcir:`⦿`,ofr:`𝔬`,ogon:`˛`,ograve:`ò`,ogt:`⧁`,ohbar:`⦵`,ohm:`Ω`,oint:`∮`,olarr:`↺`,olcir:`⦾`,olcross:`⦻`,oline:`‾`,olt:`⧀`,omacr:`ō`,omega:`ω`,omicron:`ο`,omid:`⦶`,ominus:`⊖`,oopf:`𝕠`,opar:`⦷`,operp:`⦹`,oplus:`⊕`,or:`∨`,orarr:`↻`,ord:`⩝`,order:`ℴ`,orderof:`ℴ`,ordf:`ª`,ordm:`º`,origof:`⊶`,oror:`⩖`,orslope:`⩗`,orv:`⩛`,oscr:`ℴ`,oslash:`ø`,osol:`⊘`,otilde:`õ`,otimes:`⊗`,otimesas:`⨶`,ouml:`ö`,ovbar:`⌽`,par:`∥`,para:`¶`,parallel:`∥`,parsim:`⫳`,parsl:`⫽`,part:`∂`,pcy:`п`,percnt:`%`,period:`.`,permil:`‰`,perp:`⊥`,pertenk:`‱`,pfr:`𝔭`,phi:`φ`,phiv:`ϕ`,phmmat:`ℳ`,phone:`☎`,pi:`π`,pitchfork:`⋔`,piv:`ϖ`,planck:`ℏ`,planckh:`ℎ`,plankv:`ℏ`,plus:`+`,plusacir:`⨣`,plusb:`⊞`,pluscir:`⨢`,plusdo:`∔`,plusdu:`⨥`,pluse:`⩲`,plusmn:`±`,plussim:`⨦`,plustwo:`⨧`,pm:`±`,pointint:`⨕`,popf:`𝕡`,pound:`£`,pr:`≺`,prE:`⪳`,prap:`⪷`,prcue:`≼`,pre:`⪯`,prec:`≺`,precapprox:`⪷`,preccurlyeq:`≼`,preceq:`⪯`,precnapprox:`⪹`,precneqq:`⪵`,precnsim:`⋨`,precsim:`≾`,prime:`′`,primes:`ℙ`,prnE:`⪵`,prnap:`⪹`,prnsim:`⋨`,prod:`∏`,profalar:`⌮`,profline:`⌒`,profsurf:`⌓`,prop:`∝`,propto:`∝`,prsim:`≾`,prurel:`⊰`,pscr:`𝓅`,psi:`ψ`,puncsp:` `,qfr:`𝔮`,qint:`⨌`,qopf:`𝕢`,qprime:`⁗`,qscr:`𝓆`,quaternions:`ℍ`,quatint:`⨖`,quest:`?`,questeq:`≟`,quot:`"`,rAarr:`⇛`,rArr:`⇒`,rAtail:`⤜`,rBarr:`⤏`,rHar:`⥤`,race:`∽̱`,racute:`ŕ`,radic:`√`,raemptyv:`⦳`,rang:`⟩`,rangd:`⦒`,range:`⦥`,rangle:`⟩`,raquo:`»`,rarr:`→`,rarrap:`⥵`,rarrb:`⇥`,rarrbfs:`⤠`,rarrc:`⤳`,rarrfs:`⤞`,rarrhk:`↪`,rarrlp:`↬`,rarrpl:`⥅`,rarrsim:`⥴`,rarrtl:`↣`,rarrw:`↝`,ratail:`⤚`,ratio:`∶`,rationals:`ℚ`,rbarr:`⤍`,rbbrk:`❳`,rbrace:`}`,rbrack:`]`,rbrke:`⦌`,rbrksld:`⦎`,rbrkslu:`⦐`,rcaron:`ř`,rcedil:`ŗ`,rceil:`⌉`,rcub:`}`,rcy:`р`,rdca:`⤷`,rdldhar:`⥩`,rdquo:`”`,rdquor:`”`,rdsh:`↳`,real:`ℜ`,realine:`ℛ`,realpart:`ℜ`,reals:`ℝ`,rect:`▭`,reg:`®`,rfisht:`⥽`,rfloor:`⌋`,rfr:`𝔯`,rhard:`⇁`,rharu:`⇀`,rharul:`⥬`,rho:`ρ`,rhov:`ϱ`,rightarrow:`→`,rightarrowtail:`↣`,rightharpoondown:`⇁`,rightharpoonup:`⇀`,rightleftarrows:`⇄`,rightleftharpoons:`⇌`,rightrightarrows:`⇉`,rightsquigarrow:`↝`,rightthreetimes:`⋌`,ring:`˚`,risingdotseq:`≓`,rlarr:`⇄`,rlhar:`⇌`,rlm:``,rmoust:`⎱`,rmoustache:`⎱`,rnmid:`⫮`,roang:`⟭`,roarr:`⇾`,robrk:`⟧`,ropar:`⦆`,ropf:`𝕣`,roplus:`⨮`,rotimes:`⨵`,rpar:`)`,rpargt:`⦔`,rppolint:`⨒`,rrarr:`⇉`,rsaquo:`›`,rscr:`𝓇`,rsh:`↱`,rsqb:`]`,rsquo:`’`,rsquor:`’`,rthree:`⋌`,rtimes:`⋊`,rtri:`▹`,rtrie:`⊵`,rtrif:`▸`,rtriltri:`⧎`,ruluhar:`⥨`,rx:`℞`,sacute:`ś`,sbquo:`‚`,sc:`≻`,scE:`⪴`,scap:`⪸`,scaron:`š`,sccue:`≽`,sce:`⪰`,scedil:`ş`,scirc:`ŝ`,scnE:`⪶`,scnap:`⪺`,scnsim:`⋩`,scpolint:`⨓`,scsim:`≿`,scy:`с`,sdot:`⋅`,sdotb:`⊡`,sdote:`⩦`,seArr:`⇘`,searhk:`⤥`,searr:`↘`,searrow:`↘`,sect:`§`,semi:`;`,seswar:`⤩`,setminus:`∖`,setmn:`∖`,sext:`✶`,sfr:`𝔰`,sfrown:`⌢`,sharp:`♯`,shchcy:`щ`,shcy:`ш`,shortmid:`∣`,shortparallel:`∥`,shy:``,sigma:`σ`,sigmaf:`ς`,sigmav:`ς`,sim:`∼`,simdot:`⩪`,sime:`≃`,simeq:`≃`,simg:`⪞`,simgE:`⪠`,siml:`⪝`,simlE:`⪟`,simne:`≆`,simplus:`⨤`,simrarr:`⥲`,slarr:`←`,smallsetminus:`∖`,smashp:`⨳`,smeparsl:`⧤`,smid:`∣`,smile:`⌣`,smt:`⪪`,smte:`⪬`,smtes:`⪬︀`,softcy:`ь`,sol:`/`,solb:`⧄`,solbar:`⌿`,sopf:`𝕤`,spades:`♠`,spadesuit:`♠`,spar:`∥`,sqcap:`⊓`,sqcaps:`⊓︀`,sqcup:`⊔`,sqcups:`⊔︀`,sqsub:`⊏`,sqsube:`⊑`,sqsubset:`⊏`,sqsubseteq:`⊑`,sqsup:`⊐`,sqsupe:`⊒`,sqsupset:`⊐`,sqsupseteq:`⊒`,squ:`□`,square:`□`,squarf:`▪`,squf:`▪`,srarr:`→`,sscr:`𝓈`,ssetmn:`∖`,ssmile:`⌣`,sstarf:`⋆`,star:`☆`,starf:`★`,straightepsilon:`ϵ`,straightphi:`ϕ`,strns:`¯`,sub:`⊂`,subE:`⫅`,subdot:`⪽`,sube:`⊆`,subedot:`⫃`,submult:`⫁`,subnE:`⫋`,subne:`⊊`,subplus:`⪿`,subrarr:`⥹`,subset:`⊂`,subseteq:`⊆`,subseteqq:`⫅`,subsetneq:`⊊`,subsetneqq:`⫋`,subsim:`⫇`,subsub:`⫕`,subsup:`⫓`,succ:`≻`,succapprox:`⪸`,succcurlyeq:`≽`,succeq:`⪰`,succnapprox:`⪺`,succneqq:`⪶`,succnsim:`⋩`,succsim:`≿`,sum:`∑`,sung:`♪`,sup1:`¹`,sup2:`²`,sup3:`³`,sup:`⊃`,supE:`⫆`,supdot:`⪾`,supdsub:`⫘`,supe:`⊇`,supedot:`⫄`,suphsol:`⟉`,suphsub:`⫗`,suplarr:`⥻`,supmult:`⫂`,supnE:`⫌`,supne:`⊋`,supplus:`⫀`,supset:`⊃`,supseteq:`⊇`,supseteqq:`⫆`,supsetneq:`⊋`,supsetneqq:`⫌`,supsim:`⫈`,supsub:`⫔`,supsup:`⫖`,swArr:`⇙`,swarhk:`⤦`,swarr:`↙`,swarrow:`↙`,swnwar:`⤪`,szlig:`ß`,target:`⌖`,tau:`τ`,tbrk:`⎴`,tcaron:`ť`,tcedil:`ţ`,tcy:`т`,tdot:`⃛`,telrec:`⌕`,tfr:`𝔱`,there4:`∴`,therefore:`∴`,theta:`θ`,thetasym:`ϑ`,thetav:`ϑ`,thickapprox:`≈`,thicksim:`∼`,thinsp:` `,thkap:`≈`,thksim:`∼`,thorn:`þ`,tilde:`˜`,times:`×`,timesb:`⊠`,timesbar:`⨱`,timesd:`⨰`,tint:`∭`,toea:`⤨`,top:`⊤`,topbot:`⌶`,topcir:`⫱`,topf:`𝕥`,topfork:`⫚`,tosa:`⤩`,tprime:`‴`,trade:`™`,triangle:`▵`,triangledown:`▿`,triangleleft:`◃`,trianglelefteq:`⊴`,triangleq:`≜`,triangleright:`▹`,trianglerighteq:`⊵`,tridot:`◬`,trie:`≜`,triminus:`⨺`,triplus:`⨹`,trisb:`⧍`,tritime:`⨻`,trpezium:`⏢`,tscr:`𝓉`,tscy:`ц`,tshcy:`ћ`,tstrok:`ŧ`,twixt:`≬`,twoheadleftarrow:`↞`,twoheadrightarrow:`↠`,uArr:`⇑`,uHar:`⥣`,uacute:`ú`,uarr:`↑`,ubrcy:`ў`,ubreve:`ŭ`,ucirc:`û`,ucy:`у`,udarr:`⇅`,udblac:`ű`,udhar:`⥮`,ufisht:`⥾`,ufr:`𝔲`,ugrave:`ù`,uharl:`↿`,uharr:`↾`,uhblk:`▀`,ulcorn:`⌜`,ulcorner:`⌜`,ulcrop:`⌏`,ultri:`◸`,umacr:`ū`,uml:`¨`,uogon:`ų`,uopf:`𝕦`,uparrow:`↑`,updownarrow:`↕`,upharpoonleft:`↿`,upharpoonright:`↾`,uplus:`⊎`,upsi:`υ`,upsih:`ϒ`,upsilon:`υ`,upuparrows:`⇈`,urcorn:`⌝`,urcorner:`⌝`,urcrop:`⌎`,uring:`ů`,urtri:`◹`,uscr:`𝓊`,utdot:`⋰`,utilde:`ũ`,utri:`▵`,utrif:`▴`,uuarr:`⇈`,uuml:`ü`,uwangle:`⦧`,vArr:`⇕`,vBar:`⫨`,vBarv:`⫩`,vDash:`⊨`,vangrt:`⦜`,varepsilon:`ϵ`,varkappa:`ϰ`,varnothing:`∅`,varphi:`ϕ`,varpi:`ϖ`,varpropto:`∝`,varr:`↕`,varrho:`ϱ`,varsigma:`ς`,varsubsetneq:`⊊︀`,varsubsetneqq:`⫋︀`,varsupsetneq:`⊋︀`,varsupsetneqq:`⫌︀`,vartheta:`ϑ`,vartriangleleft:`⊲`,vartriangleright:`⊳`,vcy:`в`,vdash:`⊢`,vee:`∨`,veebar:`⊻`,veeeq:`≚`,vellip:`⋮`,verbar:`|`,vert:`|`,vfr:`𝔳`,vltri:`⊲`,vnsub:`⊂⃒`,vnsup:`⊃⃒`,vopf:`𝕧`,vprop:`∝`,vrtri:`⊳`,vscr:`𝓋`,vsubnE:`⫋︀`,vsubne:`⊊︀`,vsupnE:`⫌︀`,vsupne:`⊋︀`,vzigzag:`⦚`,wcirc:`ŵ`,wedbar:`⩟`,wedge:`∧`,wedgeq:`≙`,weierp:`℘`,wfr:`𝔴`,wopf:`𝕨`,wp:`℘`,wr:`≀`,wreath:`≀`,wscr:`𝓌`,xcap:`⋂`,xcirc:`◯`,xcup:`⋃`,xdtri:`▽`,xfr:`𝔵`,xhArr:`⟺`,xharr:`⟷`,xi:`ξ`,xlArr:`⟸`,xlarr:`⟵`,xmap:`⟼`,xnis:`⋻`,xodot:`⨀`,xopf:`𝕩`,xoplus:`⨁`,xotime:`⨂`,xrArr:`⟹`,xrarr:`⟶`,xscr:`𝓍`,xsqcup:`⨆`,xuplus:`⨄`,xutri:`△`,xvee:`⋁`,xwedge:`⋀`,yacute:`ý`,yacy:`я`,ycirc:`ŷ`,ycy:`ы`,yen:`¥`,yfr:`𝔶`,yicy:`ї`,yopf:`𝕪`,yscr:`𝓎`,yucy:`ю`,yuml:`ÿ`,zacute:`ź`,zcaron:`ž`,zcy:`з`,zdot:`ż`,zeetrf:`ℨ`,zeta:`ζ`,zfr:`𝔷`,zhcy:`ж`,zigrarr:`⇝`,zopf:`𝕫`,zscr:`𝓏`,zwj:``,zwnj:``},E_={}.hasOwnProperty;function D_(e){return E_.call(T_,e)?T_[e]:!1}function O_(e,t,n,r){let i=e.length,a=0,o;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function k_(e,t){return e.length>0?(O_(e,e.length,0,t),e):t}var A_={}.hasOwnProperty;function j_(e){let t={},n=-1;for(;++n<e.length;)M_(t,e[n]);return t}function M_(e,t){let n;for(n in t){let r=(A_.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n],a;if(i)for(a in i){A_.call(r,a)||(r[a]=[]);let e=i[a];N_(r[a],Array.isArray(e)?e:e?[e]:[])}}}function N_(e,t){let n=-1,r=[];for(;++n<t.length;)(t[n].add===`after`?e:r).push(t[n]);O_(e,0,0,r)}function P_(e,t){let 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?`�`:String.fromCodePoint(n)}function F_(e){return e.replace(/[\t\n\r ]+/g,` `).replace(/^ | $/g,``).toLowerCase().toUpperCase()}var I_=G_(/[A-Za-z]/),L_=G_(/[\dA-Za-z]/),R_=G_(/[#-'*+\--9=?A-Z^-~]/);function z_(e){return e!==null&&(e<32||e===127)}var B_=G_(/\d/),V_=G_(/[\dA-Fa-f]/),H_=G_(/[!-/:-@[-`{-~]/);function Y(e){return e!==null&&e<-2}function X(e){return e!==null&&(e<0||e===32)}function Z(e){return e===-2||e===-1||e===32}var U_=G_(/\p{P}|\p{S}/u),W_=G_(/\s/);function G_(e){return t;function t(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function K_(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let a=e.charCodeAt(n),o=``;if(a===37&&L_(e.charCodeAt(n+1))&&L_(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){let t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(o=String.fromCharCode(a,t),i=1):o=`�`}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 Q(e,t,n,r){let i=r?r-1:1/0,a=0;return o;function o(r){return Z(r)?(e.enter(n),s(r)):t(r)}function s(r){return Z(r)&&a++<i?(e.consume(r),s):(e.exit(n),t(r))}}var q_={tokenize:J_};function J_(e){let t=e.attempt(this.parser.constructs.contentInitial,r,i),n;return t;function r(n){if(n===null){e.consume(n);return}return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),Q(e,t,`linePrefix`)}function i(t){return e.enter(`paragraph`),a(t)}function a(t){let r=e.enter(`chunkText`,{contentType:`text`,previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){if(t===null){e.exit(`chunkText`),e.exit(`paragraph`),e.consume(t);return}return Y(t)?(e.consume(t),e.exit(`chunkText`),a):(e.consume(t),o)}}var Y_={tokenize:Z_},X_={tokenize:Q_};function Z_(e){let t=this,n=[],r=0,i,a,o;return s;function s(i){if(r<n.length){let a=n[r];return t.containerState=a[1],e.attempt(a[0].continuation,c,l)(i)}return l(i)}function c(e){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&v();let n=t.events.length,a=n,o;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){o=t.events[a][1].end;break}_(r);let s=n;for(;s<t.events.length;)t.events[s][1].end={...o},s++;return O_(t.events,a+1,0,t.events.slice(n)),t.events.length=s,l(e)}return s(e)}function l(a){if(r===n.length){if(!i)return f(a);if(i.currentConstruct&&i.currentConstruct.concrete)return m(a);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(X_,u,d)(a)}function u(e){return i&&v(),_(r),f(e)}function d(e){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,m(e)}function f(n){return t.containerState={},e.attempt(X_,p,m)(n)}function p(e){return r++,n.push([t.currentConstruct,t.containerState]),f(e)}function m(n){if(n===null){i&&v(),_(0),e.consume(n);return}return i=i||t.parser.flow(t.now()),e.enter(`chunkFlow`,{_tokenizer:i,contentType:`flow`,previous:a}),h(n)}function h(n){if(n===null){g(e.exit(`chunkFlow`),!0),_(0),e.consume(n);return}return Y(n)?(e.consume(n),g(e.exit(`chunkFlow`)),r=0,t.interrupt=void 0,s):(e.consume(n),h)}function g(e,n){let s=t.sliceStream(e);if(n&&s.push(null),e.previous=a,a&&(a.next=e),a=e,i.defineSkip(e.start),i.write(s),t.parser.lazy[e.start.line]){let e=i.events.length;for(;e--;)if(i.events[e][1].start.offset<o&&(!i.events[e][1].end||i.events[e][1].end.offset>o))return;let n=t.events.length,a=n,s,c;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){if(s){c=t.events[a][1].end;break}s=!0}for(_(r),e=n;e<t.events.length;)t.events[e][1].end={...c},e++;O_(t.events,a+1,0,t.events.slice(n)),t.events.length=e}}function _(r){let i=n.length;for(;i-- >r;){let r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Q_(e,t,n){return Q(e,e.attempt(this.parser.constructs.document,t,n),`linePrefix`,this.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)}function $_(e){if(e===null||X(e)||W_(e))return 1;if(U_(e))return 2}function ev(e,t,n){let r=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}var tv={name:`attention`,resolveAll:nv,tokenize:rv};function nv(e,t){let n=-1,r,i,a,o,s,c,l,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;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let d={...e[r][1].end},f={...e[n][1].start};iv(d,-c),iv(f,c),o={type:c>1?`strongSequence`:`emphasisSequence`,start:d,end:{...e[r][1].end}},s={type:c>1?`strongSequence`:`emphasisSequence`,start:{...e[n][1].start},end:f},a={type:c>1?`strongText`:`emphasisText`,start:{...e[r][1].end},end:{...e[n][1].start}},i={type:c>1?`strong`:`emphasis`,start:{...o.start},end:{...s.end}},e[r][1].end={...o.start},e[n][1].start={...s.end},l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=k_(l,[[`enter`,e[r][1],t],[`exit`,e[r][1],t]])),l=k_(l,[[`enter`,i,t],[`enter`,o,t],[`exit`,o,t],[`enter`,a,t]]),l=k_(l,ev(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=k_(l,[[`exit`,a,t],[`enter`,s,t],[`exit`,s,t],[`exit`,i,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,l=k_(l,[[`enter`,e[n][1],t],[`exit`,e[n][1],t]])):u=0,O_(e,r-1,n-r+3,l),n=r+l.length-u-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`attentionSequence`&&(e[n][1].type=`data`);return e}function rv(e,t){let n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=$_(r),a;return o;function o(t){return a=t,e.enter(`attentionSequence`),s(t)}function s(o){if(o===a)return e.consume(o),s;let c=e.exit(`attentionSequence`),l=$_(o),u=!l||l===2&&i||n.includes(o),d=!i||i===2&&l||n.includes(r);return c._open=!!(a===42?u:u&&(i||!d)),c._close=!!(a===42?d:d&&(l||!u)),t(o)}}function iv(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var av={name:`autolink`,tokenize:ov};function ov(e,t,n){let r=0;return i;function i(t){return e.enter(`autolink`),e.enter(`autolinkMarker`),e.consume(t),e.exit(`autolinkMarker`),e.enter(`autolinkProtocol`),a}function a(t){return I_(t)?(e.consume(t),o):t===64?n(t):l(t)}function o(e){return e===43||e===45||e===46||L_(e)?(r=1,s(e)):l(e)}function s(t){return t===58?(e.consume(t),r=0,c):(t===43||t===45||t===46||L_(t))&&r++<32?(e.consume(t),s):(r=0,l(t))}function c(r){return r===62?(e.exit(`autolinkProtocol`),e.enter(`autolinkMarker`),e.consume(r),e.exit(`autolinkMarker`),e.exit(`autolink`),t):r===null||r===32||r===60||z_(r)?n(r):(e.consume(r),c)}function l(t){return t===64?(e.consume(t),u):R_(t)?(e.consume(t),l):n(t)}function u(e){return L_(e)?d(e):n(e)}function d(n){return n===46?(e.consume(n),r=0,u):n===62?(e.exit(`autolinkProtocol`).type=`autolinkEmail`,e.enter(`autolinkMarker`),e.consume(n),e.exit(`autolinkMarker`),e.exit(`autolink`),t):f(n)}function f(t){if((t===45||L_(t))&&r++<63){let n=t===45?f:d;return e.consume(t),n}return n(t)}}var sv={partial:!0,tokenize:cv};function cv(e,t,n){return r;function r(t){return Z(t)?Q(e,i,`linePrefix`)(t):i(t)}function i(e){return e===null||Y(e)?t(e):n(e)}}var lv={continuation:{tokenize:dv},exit:fv,name:`blockQuote`,tokenize:uv};function uv(e,t,n){let r=this;return i;function i(t){if(t===62){let n=r.containerState;return n.open||(e.enter(`blockQuote`,{_container:!0}),n.open=!0),e.enter(`blockQuotePrefix`),e.enter(`blockQuoteMarker`),e.consume(t),e.exit(`blockQuoteMarker`),a}return n(t)}function a(n){return Z(n)?(e.enter(`blockQuotePrefixWhitespace`),e.consume(n),e.exit(`blockQuotePrefixWhitespace`),e.exit(`blockQuotePrefix`),t):(e.exit(`blockQuotePrefix`),t(n))}}function dv(e,t,n){let r=this;return i;function i(t){return Z(t)?Q(e,a,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):a(t)}function a(r){return e.attempt(lv,t,n)(r)}}function fv(e){e.exit(`blockQuote`)}var pv={name:`characterEscape`,tokenize:mv};function mv(e,t,n){return r;function r(t){return e.enter(`characterEscape`),e.enter(`escapeMarker`),e.consume(t),e.exit(`escapeMarker`),i}function i(r){return H_(r)?(e.enter(`characterEscapeValue`),e.consume(r),e.exit(`characterEscapeValue`),e.exit(`characterEscape`),t):n(r)}}var hv={name:`characterReference`,tokenize:gv};function gv(e,t,n){let r=this,i=0,a,o;return s;function s(t){return e.enter(`characterReference`),e.enter(`characterReferenceMarker`),e.consume(t),e.exit(`characterReferenceMarker`),c}function c(t){return t===35?(e.enter(`characterReferenceMarkerNumeric`),e.consume(t),e.exit(`characterReferenceMarkerNumeric`),l):(e.enter(`characterReferenceValue`),a=31,o=L_,u(t))}function l(t){return t===88||t===120?(e.enter(`characterReferenceMarkerHexadecimal`),e.consume(t),e.exit(`characterReferenceMarkerHexadecimal`),e.enter(`characterReferenceValue`),a=6,o=V_,u):(e.enter(`characterReferenceValue`),a=7,o=B_,u(t))}function u(s){if(s===59&&i){let i=e.exit(`characterReferenceValue`);return o===L_&&!D_(r.sliceSerialize(i))?n(s):(e.enter(`characterReferenceMarker`),e.consume(s),e.exit(`characterReferenceMarker`),e.exit(`characterReference`),t)}return o(s)&&i++<a?(e.consume(s),u):n(s)}}var _v={partial:!0,tokenize:bv},vv={concrete:!0,name:`codeFenced`,tokenize:yv};function yv(e,t,n){let r=this,i={partial:!0,tokenize:x},a=0,o=0,s;return c;function c(e){return l(e)}function l(t){let n=r.events[r.events.length-1];return a=n&&n[1].type===`linePrefix`?n[2].sliceSerialize(n[1],!0).length:0,s=t,e.enter(`codeFenced`),e.enter(`codeFencedFence`),e.enter(`codeFencedFenceSequence`),u(t)}function u(t){return t===s?(o++,e.consume(t),u):o<3?n(t):(e.exit(`codeFencedFenceSequence`),Z(t)?Q(e,d,`whitespace`)(t):d(t))}function d(n){return n===null||Y(n)?(e.exit(`codeFencedFence`),r.interrupt?t(n):e.check(_v,h,b)(n)):(e.enter(`codeFencedFenceInfo`),e.enter(`chunkString`,{contentType:`string`}),f(n))}function f(t){return t===null||Y(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),d(t)):Z(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),Q(e,p,`whitespace`)(t)):t===96&&t===s?n(t):(e.consume(t),f)}function p(t){return t===null||Y(t)?d(t):(e.enter(`codeFencedFenceMeta`),e.enter(`chunkString`,{contentType:`string`}),m(t))}function m(t){return t===null||Y(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceMeta`),d(t)):t===96&&t===s?n(t):(e.consume(t),m)}function h(t){return e.attempt(i,b,g)(t)}function g(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),_}function _(t){return a>0&&Z(t)?Q(e,v,`linePrefix`,a+1)(t):v(t)}function v(t){return t===null||Y(t)?e.check(_v,h,b)(t):(e.enter(`codeFlowValue`),y(t))}function y(t){return t===null||Y(t)?(e.exit(`codeFlowValue`),v(t)):(e.consume(t),y)}function b(n){return e.exit(`codeFenced`),t(n)}function x(e,t,n){let i=0;return a;function a(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c}function c(t){return e.enter(`codeFencedFence`),Z(t)?Q(e,l,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):l(t)}function l(t){return t===s?(e.enter(`codeFencedFenceSequence`),u(t)):n(t)}function u(t){return t===s?(i++,e.consume(t),u):i>=o?(e.exit(`codeFencedFenceSequence`),Z(t)?Q(e,d,`whitespace`)(t):d(t)):n(t)}function d(r){return r===null||Y(r)?(e.exit(`codeFencedFence`),t(r)):n(r)}}}function bv(e,t,n){let r=this;return i;function i(t){return t===null?n(t):(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}var xv={name:`codeIndented`,tokenize:Cv},Sv={partial:!0,tokenize:wv};function Cv(e,t,n){let r=this;return i;function i(t){return e.enter(`codeIndented`),Q(e,a,`linePrefix`,5)(t)}function a(e){let t=r.events[r.events.length-1];return t&&t[1].type===`linePrefix`&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return t===null?c(t):Y(t)?e.attempt(Sv,o,c)(t):(e.enter(`codeFlowValue`),s(t))}function s(t){return t===null||Y(t)?(e.exit(`codeFlowValue`),o(t)):(e.consume(t),s)}function c(n){return e.exit(`codeIndented`),t(n)}}function wv(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):Y(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),i):Q(e,a,`linePrefix`,5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):Y(e)?i(e):n(e)}}var Tv={name:`codeText`,previous:Dv,resolve:Ev,tokenize:Ov};function Ev(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 Dv(e){return e!==96||this.events[this.events.length-1][1].type===`characterEscape`}function Ov(e,t,n){let r=0,i,a;return o;function o(t){return e.enter(`codeText`),e.enter(`codeTextSequence`),s(t)}function s(t){return t===96?(e.consume(t),r++,s):(e.exit(`codeTextSequence`),c(t))}function c(t){return t===null?n(t):t===32?(e.enter(`space`),e.consume(t),e.exit(`space`),c):t===96?(a=e.enter(`codeTextSequence`),i=0,u(t)):Y(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c):(e.enter(`codeTextData`),l(t))}function l(t){return t===null||t===32||t===96||Y(t)?(e.exit(`codeTextData`),c(t)):(e.consume(t),l)}function u(n){return n===96?(e.consume(n),i++,u):i===r?(e.exit(`codeTextSequence`),e.exit(`codeText`),t(n)):(a.type=`codeTextData`,l(n))}}var kv=class{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=t??1/0;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){let r=t||0;this.setCursor(Math.trunc(e));let i=this.right.splice(this.right.length-r,1/0);return n&&Av(this.left,n),i.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),Av(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),Av(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){let t=this.left.splice(e,1/0);Av(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);Av(this.left,t.reverse())}}};function Av(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function jv(e){let t={},n=-1,r,i,a,o,s,c,l,u=new kv(e);for(;++n<u.length;){for(;n in t;)n=t[n];if(r=u.get(n),n&&r[1].type===`chunkFlow`&&u.get(n-1)[1].type===`listItemPrefix`&&(c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type===`lineEndingBlank`&&(a+=2),a<c.length&&c[a][1].type===`content`))for(;++a<c.length&&c[a][1].type!==`content`;)c[a][1].type===`chunkText`&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]===`enter`)r[1].contentType&&(Object.assign(t,Mv(u,n)),n=t[n],l=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(o=u.get(a),o[1].type===`lineEnding`||o[1].type===`lineEndingBlank`)o[0]===`enter`&&(i&&(u.get(i)[1].type=`lineEndingBlank`),o[1].type=`lineEnding`,i=a);else if(!(o[1].type===`linePrefix`||o[1].type===`listItemIndent`))break;i&&(r[1].end={...u.get(i)[1].start},s=u.slice(i,n),s.unshift(r),u.splice(i,n-i+1,s))}}return O_(e,0,1/0,u.slice(0)),!l}function Mv(e,t){let n=e.get(t)[1],r=e.get(t)[2],i=t-1,a=[],o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));let s=o.events,c=[],l={},u,d,f=-1,p=n,m=0,h=0,g=[h];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),d&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(u),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=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&&(h=f+1,g.push(h),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),f=g.length;f--;){let t=s.slice(g[f],g[f+1]),n=a.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)l[m+c[f][0]]=m+c[f][1],m+=c[f][1]-c[f][0]-1;return l}var Nv={resolve:Fv,tokenize:Iv},Pv={partial:!0,tokenize:Lv};function Fv(e){return jv(e),e}function Iv(e,t){let n;return r;function r(t){return e.enter(`content`),n=e.enter(`chunkContent`,{contentType:`content`}),i(t)}function i(t){return t===null?a(t):Y(t)?e.check(Pv,o,a)(t):(e.consume(t),i)}function a(n){return e.exit(`chunkContent`),e.exit(`content`),t(n)}function o(t){return e.consume(t),e.exit(`chunkContent`),n.next=e.enter(`chunkContent`,{contentType:`content`,previous:n}),n=n.next,i}}function Lv(e,t,n){let r=this;return i;function i(t){return e.exit(`chunkContent`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),Q(e,a,`linePrefix`)}function a(i){if(i===null||Y(i))return n(i);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes(`codeIndented`)&&a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}function Rv(e,t,n,r,i,a,o,s,c){let l=c||1/0,u=0;return d;function d(t){return t===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(t),e.exit(a),f):t===null||t===32||t===41||z_(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter(`chunkString`,{contentType:`string`}),h(t))}function f(n){return n===62?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter(`chunkString`,{contentType:`string`}),p(n))}function p(t){return t===62?(e.exit(`chunkString`),e.exit(s),f(t)):t===null||t===60||Y(t)?n(t):(e.consume(t),t===92?m:p)}function m(t){return t===60||t===62||t===92?(e.consume(t),p):p(t)}function h(i){return!u&&(i===null||i===41||X(i))?(e.exit(`chunkString`),e.exit(s),e.exit(o),e.exit(r),t(i)):u<l&&i===40?(e.consume(i),u++,h):i===41?(e.consume(i),u--,h):i===null||i===32||i===40||z_(i)?n(i):(e.consume(i),i===92?g:h)}function g(t){return t===40||t===41||t===92?(e.consume(t),h):h(t)}}function zv(e,t,n,r,i,a){let o=this,s=0,c;return l;function l(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),u}function u(l){return s>999||l===null||l===91||l===93&&!c||l===94&&!s&&`_hiddenFootnoteSupport`in o.parser.constructs?n(l):l===93?(e.exit(a),e.enter(i),e.consume(l),e.exit(i),e.exit(r),t):Y(l)?(e.enter(`lineEnding`),e.consume(l),e.exit(`lineEnding`),u):(e.enter(`chunkString`,{contentType:`string`}),d(l))}function d(t){return t===null||t===91||t===93||Y(t)||s++>999?(e.exit(`chunkString`),u(t)):(e.consume(t),c||(c=!Z(t)),t===92?f:d)}function f(t){return t===91||t===92||t===93?(e.consume(t),s++,d):d(t)}}function Bv(e,t,n,r,i,a){let o;return s;function s(t){return t===34||t===39||t===40?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=t===40?41:t,c):n(t)}function c(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),l(n))}function l(t){return t===o?(e.exit(a),c(o)):t===null?n(t):Y(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),Q(e,l,`linePrefix`)):(e.enter(`chunkString`,{contentType:`string`}),u(t))}function u(t){return t===o||t===null||Y(t)?(e.exit(`chunkString`),l(t)):(e.consume(t),t===92?d:u)}function d(t){return t===o||t===92?(e.consume(t),u):u(t)}}function Vv(e,t){let n;return r;function r(i){return Y(i)?(e.enter(`lineEnding`),e.consume(i),e.exit(`lineEnding`),n=!0,r):Z(i)?Q(e,r,n?`linePrefix`:`lineSuffix`)(i):t(i)}}var Hv={name:`definition`,tokenize:Wv},Uv={partial:!0,tokenize:Gv};function Wv(e,t,n){let r=this,i;return a;function a(t){return e.enter(`definition`),o(t)}function o(t){return zv.call(r,e,s,n,`definitionLabel`,`definitionLabelMarker`,`definitionLabelString`)(t)}function s(t){return i=F_(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),c):n(t)}function c(t){return X(t)?Vv(e,l)(t):l(t)}function l(t){return Rv(e,u,n,`definitionDestination`,`definitionDestinationLiteral`,`definitionDestinationLiteralMarker`,`definitionDestinationRaw`,`definitionDestinationString`)(t)}function u(t){return e.attempt(Uv,d,d)(t)}function d(t){return Z(t)?Q(e,f,`whitespace`)(t):f(t)}function f(a){return a===null||Y(a)?(e.exit(`definition`),r.parser.defined.push(i),t(a)):n(a)}}function Gv(e,t,n){return r;function r(t){return X(t)?Vv(e,i)(t):n(t)}function i(t){return Bv(e,a,n,`definitionTitle`,`definitionTitleMarker`,`definitionTitleString`)(t)}function a(t){return Z(t)?Q(e,o,`whitespace`)(t):o(t)}function o(e){return e===null||Y(e)?t(e):n(e)}}var Kv={name:`hardBreakEscape`,tokenize:qv};function qv(e,t,n){return r;function r(t){return e.enter(`hardBreakEscape`),e.consume(t),i}function i(r){return Y(r)?(e.exit(`hardBreakEscape`),t(r)):n(r)}}var Jv={name:`headingAtx`,resolve:Yv,tokenize:Xv};function Yv(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`},O_(e,r,n-r+1,[[`enter`,i,t],[`enter`,a,t],[`exit`,a,t],[`exit`,i,t]])),e}function Xv(e,t,n){let r=0;return i;function i(t){return e.enter(`atxHeading`),a(t)}function a(t){return e.enter(`atxHeadingSequence`),o(t)}function o(t){return t===35&&r++<6?(e.consume(t),o):t===null||X(t)?(e.exit(`atxHeadingSequence`),s(t)):n(t)}function s(n){return n===35?(e.enter(`atxHeadingSequence`),c(n)):n===null||Y(n)?(e.exit(`atxHeading`),t(n)):Z(n)?Q(e,s,`whitespace`)(n):(e.enter(`atxHeadingText`),l(n))}function c(t){return t===35?(e.consume(t),c):(e.exit(`atxHeadingSequence`),s(t))}function l(t){return t===null||t===35||X(t)?(e.exit(`atxHeadingText`),s(t)):(e.consume(t),l)}}var Zv=`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.search.section.summary.table.tbody.td.tfoot.th.thead.title.tr.track.ul`.split(`.`),Qv=[`pre`,`script`,`style`,`textarea`],$v={concrete:!0,name:`htmlFlow`,resolveTo:ny,tokenize:ry},ey={partial:!0,tokenize:ay},ty={partial:!0,tokenize:iy};function ny(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 ry(e,t,n){let r=this,i,a,o,s,c;return l;function l(e){return u(e)}function u(t){return e.enter(`htmlFlow`),e.enter(`htmlFlowData`),e.consume(t),d}function d(s){return s===33?(e.consume(s),f):s===47?(e.consume(s),a=!0,h):s===63?(e.consume(s),i=3,r.interrupt?t:ae):I_(s)?(e.consume(s),o=String.fromCharCode(s),g):n(s)}function f(a){return a===45?(e.consume(a),i=2,p):a===91?(e.consume(a),i=5,s=0,m):I_(a)?(e.consume(a),i=4,r.interrupt?t:ae):n(a)}function p(i){return i===45?(e.consume(i),r.interrupt?t:ae):n(i)}function m(i){return i===`CDATA[`.charCodeAt(s++)?(e.consume(i),s===6?r.interrupt?t:D:m):n(i)}function h(t){return I_(t)?(e.consume(t),o=String.fromCharCode(t),g):n(t)}function g(s){if(s===null||s===47||s===62||X(s)){let c=s===47,l=o.toLowerCase();return!c&&!a&&Qv.includes(l)?(i=1,r.interrupt?t(s):D(s)):Zv.includes(o.toLowerCase())?(i=6,c?(e.consume(s),_):r.interrupt?t(s):D(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):a?v(s):y(s))}return s===45||L_(s)?(e.consume(s),o+=String.fromCharCode(s),g):n(s)}function _(i){return i===62?(e.consume(i),r.interrupt?t:D):n(i)}function v(t){return Z(t)?(e.consume(t),v):E(t)}function y(t){return t===47?(e.consume(t),E):t===58||t===95||I_(t)?(e.consume(t),b):Z(t)?(e.consume(t),y):E(t)}function b(t){return t===45||t===46||t===58||t===95||L_(t)?(e.consume(t),b):x(t)}function x(t){return t===61?(e.consume(t),S):Z(t)?(e.consume(t),x):y(t)}function S(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),c=t,C):Z(t)?(e.consume(t),S):w(t)}function C(t){return t===c?(e.consume(t),c=null,T):t===null||Y(t)?n(t):(e.consume(t),C)}function w(t){return t===null||t===34||t===39||t===47||t===60||t===61||t===62||t===96||X(t)?x(t):(e.consume(t),w)}function T(e){return e===47||e===62||Z(e)?y(e):n(e)}function E(t){return t===62?(e.consume(t),ee):n(t)}function ee(t){return t===null||Y(t)?D(t):Z(t)?(e.consume(t),ee):n(t)}function D(t){return t===45&&i===2?(e.consume(t),re):t===60&&i===1?(e.consume(t),k):t===62&&i===4?(e.consume(t),oe):t===63&&i===3?(e.consume(t),ae):t===93&&i===5?(e.consume(t),ie):Y(t)&&(i===6||i===7)?(e.exit(`htmlFlowData`),e.check(ey,se,te)(t)):t===null||Y(t)?(e.exit(`htmlFlowData`),te(t)):(e.consume(t),D)}function te(t){return e.check(ty,O,se)(t)}function O(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),ne}function ne(t){return t===null||Y(t)?te(t):(e.enter(`htmlFlowData`),D(t))}function re(t){return t===45?(e.consume(t),ae):D(t)}function k(t){return t===47?(e.consume(t),o=``,A):D(t)}function A(t){if(t===62){let n=o.toLowerCase();return Qv.includes(n)?(e.consume(t),oe):D(t)}return I_(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),A):D(t)}function ie(t){return t===93?(e.consume(t),ae):D(t)}function ae(t){return t===62?(e.consume(t),oe):t===45&&i===2?(e.consume(t),ae):D(t)}function oe(t){return t===null||Y(t)?(e.exit(`htmlFlowData`),se(t)):(e.consume(t),oe)}function se(n){return e.exit(`htmlFlow`),t(n)}}function iy(e,t,n){let r=this;return i;function i(t){return Y(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a):n(t)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function ay(e,t,n){return r;function r(r){return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),e.attempt(sv,t,n)}}var oy={name:`htmlText`,tokenize:sy};function sy(e,t,n){let r=this,i,a,o;return s;function s(t){return e.enter(`htmlText`),e.enter(`htmlTextData`),e.consume(t),c}function c(t){return t===33?(e.consume(t),l):t===47?(e.consume(t),x):t===63?(e.consume(t),y):I_(t)?(e.consume(t),w):n(t)}function l(t){return t===45?(e.consume(t),u):t===91?(e.consume(t),a=0,m):I_(t)?(e.consume(t),v):n(t)}function u(t){return t===45?(e.consume(t),p):n(t)}function d(t){return t===null?n(t):t===45?(e.consume(t),f):Y(t)?(o=d,k(t)):(e.consume(t),d)}function f(t){return t===45?(e.consume(t),p):d(t)}function p(e){return e===62?re(e):e===45?f(e):d(e)}function m(t){return t===`CDATA[`.charCodeAt(a++)?(e.consume(t),a===6?h:m):n(t)}function h(t){return t===null?n(t):t===93?(e.consume(t),g):Y(t)?(o=h,k(t)):(e.consume(t),h)}function g(t){return t===93?(e.consume(t),_):h(t)}function _(t){return t===62?re(t):t===93?(e.consume(t),_):h(t)}function v(t){return t===null||t===62?re(t):Y(t)?(o=v,k(t)):(e.consume(t),v)}function y(t){return t===null?n(t):t===63?(e.consume(t),b):Y(t)?(o=y,k(t)):(e.consume(t),y)}function b(e){return e===62?re(e):y(e)}function x(t){return I_(t)?(e.consume(t),S):n(t)}function S(t){return t===45||L_(t)?(e.consume(t),S):C(t)}function C(t){return Y(t)?(o=C,k(t)):Z(t)?(e.consume(t),C):re(t)}function w(t){return t===45||L_(t)?(e.consume(t),w):t===47||t===62||X(t)?T(t):n(t)}function T(t){return t===47?(e.consume(t),re):t===58||t===95||I_(t)?(e.consume(t),E):Y(t)?(o=T,k(t)):Z(t)?(e.consume(t),T):re(t)}function E(t){return t===45||t===46||t===58||t===95||L_(t)?(e.consume(t),E):ee(t)}function ee(t){return t===61?(e.consume(t),D):Y(t)?(o=ee,k(t)):Z(t)?(e.consume(t),ee):T(t)}function D(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),i=t,te):Y(t)?(o=D,k(t)):Z(t)?(e.consume(t),D):(e.consume(t),O)}function te(t){return t===i?(e.consume(t),i=void 0,ne):t===null?n(t):Y(t)?(o=te,k(t)):(e.consume(t),te)}function O(t){return t===null||t===34||t===39||t===60||t===61||t===96?n(t):t===47||t===62||X(t)?T(t):(e.consume(t),O)}function ne(e){return e===47||e===62||X(e)?T(e):n(e)}function re(r){return r===62?(e.consume(r),e.exit(`htmlTextData`),e.exit(`htmlText`),t):n(r)}function k(t){return e.exit(`htmlTextData`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),A}function A(t){return Z(t)?Q(e,ie,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):ie(t)}function ie(t){return e.enter(`htmlTextData`),o(t)}}var cy={name:`labelEnd`,resolveAll:fy,resolveTo:py,tokenize:my},ly={tokenize:hy},uy={tokenize:gy},dy={tokenize:_y};function fy(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),r.type===`labelImage`||r.type===`labelLink`||r.type===`labelEnd`){let e=r.type===`labelImage`?4:2;r.type=`data`,t+=e}}return e.length!==n.length&&O_(e,0,e.length,n),e}function py(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);let c={type:e[a][1].type===`labelLink`?`link`:`image`,start:{...e[a][1].start},end:{...e[e.length-1][1].end}},l={type:`label`,start:{...e[a][1].start},end:{...e[o][1].end}},u={type:`labelText`,start:{...e[a+r+2][1].end},end:{...e[o-2][1].start}};return s=[[`enter`,c,t],[`enter`,l,t]],s=k_(s,e.slice(a+1,a+r+3)),s=k_(s,[[`enter`,u,t]]),s=k_(s,ev(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),s=k_(s,[[`exit`,u,t],e[o-2],e[o-1],[`exit`,l,t]]),s=k_(s,e.slice(o+1)),s=k_(s,[[`exit`,c,t]]),O_(e,a,e.length,s),e}function my(e,t,n){let r=this,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(t){return a?a._inactive?d(t):(o=r.parser.defined.includes(F_(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter(`labelEnd`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelEnd`),c):n(t)}function c(t){return t===40?e.attempt(ly,u,o?u:d)(t):t===91?e.attempt(uy,u,o?l:d)(t):o?u(t):d(t)}function l(t){return e.attempt(dy,u,d)(t)}function u(e){return t(e)}function d(e){return a._balanced=!0,n(e)}}function hy(e,t,n){return r;function r(t){return e.enter(`resource`),e.enter(`resourceMarker`),e.consume(t),e.exit(`resourceMarker`),i}function i(t){return X(t)?Vv(e,a)(t):a(t)}function a(t){return t===41?u(t):Rv(e,o,s,`resourceDestination`,`resourceDestinationLiteral`,`resourceDestinationLiteralMarker`,`resourceDestinationRaw`,`resourceDestinationString`,32)(t)}function o(t){return X(t)?Vv(e,c)(t):u(t)}function s(e){return n(e)}function c(t){return t===34||t===39||t===40?Bv(e,l,n,`resourceTitle`,`resourceTitleMarker`,`resourceTitleString`)(t):u(t)}function l(t){return X(t)?Vv(e,u)(t):u(t)}function u(r){return r===41?(e.enter(`resourceMarker`),e.consume(r),e.exit(`resourceMarker`),e.exit(`resource`),t):n(r)}}function gy(e,t,n){let r=this;return i;function i(t){return zv.call(r,e,a,o,`reference`,`referenceMarker`,`referenceString`)(t)}function a(e){return r.parser.defined.includes(F_(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}function _y(e,t,n){return r;function r(t){return e.enter(`reference`),e.enter(`referenceMarker`),e.consume(t),e.exit(`referenceMarker`),i}function i(r){return r===93?(e.enter(`referenceMarker`),e.consume(r),e.exit(`referenceMarker`),e.exit(`reference`),t):n(r)}}var vy={name:`labelStartImage`,resolveAll:cy.resolveAll,tokenize:yy};function yy(e,t,n){let r=this;return i;function i(t){return e.enter(`labelImage`),e.enter(`labelImageMarker`),e.consume(t),e.exit(`labelImageMarker`),a}function a(t){return t===91?(e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelImage`),o):n(t)}function o(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var by={name:`labelStartLink`,resolveAll:cy.resolveAll,tokenize:xy};function xy(e,t,n){let r=this;return i;function i(t){return e.enter(`labelLink`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelLink`),a}function a(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var Sy={name:`lineEnding`,tokenize:Cy};function Cy(e,t){return n;function n(n){return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),Q(e,t,`linePrefix`)}}var wy={name:`thematicBreak`,tokenize:Ty};function Ty(e,t,n){let r=0,i;return a;function a(t){return e.enter(`thematicBreak`),o(t)}function o(e){return i=e,s(e)}function s(a){return a===i?(e.enter(`thematicBreakSequence`),c(a)):r>=3&&(a===null||Y(a))?(e.exit(`thematicBreak`),t(a)):n(a)}function c(t){return t===i?(e.consume(t),r++,c):(e.exit(`thematicBreakSequence`),Z(t)?Q(e,s,`whitespace`)(t):s(t))}}var Ey={continuation:{tokenize:Ay},exit:My,name:`list`,tokenize:ky},Dy={partial:!0,tokenize:Ny},Oy={partial:!0,tokenize:jy};function ky(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&i[1].type===`linePrefix`?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(t){let i=r.containerState.type||(t===42||t===43||t===45?`listUnordered`:`listOrdered`);if(i===`listUnordered`?!r.containerState.marker||t===r.containerState.marker:B_(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),i===`listUnordered`)return e.enter(`listItemPrefix`),t===42||t===45?e.check(wy,n,l)(t):l(t);if(!r.interrupt||t===49)return e.enter(`listItemPrefix`),e.enter(`listItemValue`),c(t)}return n(t)}function c(t){return B_(t)&&++o<10?(e.consume(t),c):(!r.interrupt||o<2)&&(r.containerState.marker?t===r.containerState.marker:t===41||t===46)?(e.exit(`listItemValue`),l(t)):n(t)}function l(t){return e.enter(`listItemMarker`),e.consume(t),e.exit(`listItemMarker`),r.containerState.marker=r.containerState.marker||t,e.check(sv,r.interrupt?n:u,e.attempt(Dy,f,d))}function u(e){return r.containerState.initialBlankLine=!0,a++,f(e)}function d(t){return Z(t)?(e.enter(`listItemPrefixWhitespace`),e.consume(t),e.exit(`listItemPrefixWhitespace`),f):n(t)}function f(n){return r.containerState.size=a+r.sliceSerialize(e.exit(`listItemPrefix`),!0).length,t(n)}}function Ay(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(sv,i,a);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Q(e,t,`listItemIndent`,r.containerState.size+1)(n)}function a(n){return r.containerState.furtherBlankLines||!Z(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Oy,t,o)(n))}function o(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,Q(e,e.attempt(Ey,t,n),`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(i)}}function jy(e,t,n){let r=this;return Q(e,i,`listItemIndent`,r.containerState.size+1);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`listItemIndent`&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)}}function My(e){e.exit(this.containerState.type)}function Ny(e,t,n){let r=this;return Q(e,i,`listItemPrefixWhitespace`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:5);function i(e){let i=r.events[r.events.length-1];return!Z(e)&&i&&i[1].type===`listItemPrefixWhitespace`?t(e):n(e)}}var Py={name:`setextUnderline`,resolveTo:Fy,tokenize:Iy};function Fy(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);let o={type:`setextHeading`,start:{...e[r][1].start},end:{...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={...e[a][1].end}):e[r][1]=o,e.push([`exit`,o,t]),e}function Iy(e,t,n){let r=this,i;return a;function a(t){let a=r.events.length,s;for(;a--;)if(r.events[a][1].type!==`lineEnding`&&r.events[a][1].type!==`linePrefix`&&r.events[a][1].type!==`content`){s=r.events[a][1].type===`paragraph`;break}return!r.parser.lazy[r.now().line]&&(r.interrupt||s)?(e.enter(`setextHeadingLine`),i=t,o(t)):n(t)}function o(t){return e.enter(`setextHeadingLineSequence`),s(t)}function s(t){return t===i?(e.consume(t),s):(e.exit(`setextHeadingLineSequence`),Z(t)?Q(e,c,`lineSuffix`)(t):c(t))}function c(r){return r===null||Y(r)?(e.exit(`setextHeadingLine`),t(r)):n(r)}}var Ly={tokenize:Ry};function Ry(e){let t=this,n=e.attempt(sv,r,e.attempt(this.parser.constructs.flowInitial,i,Q(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Nv,i)),`linePrefix`)));return n;function r(r){if(r===null){e.consume(r);return}return e.enter(`lineEndingBlank`),e.consume(r),e.exit(`lineEndingBlank`),t.currentConstruct=void 0,n}function i(r){if(r===null){e.consume(r);return}return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),t.currentConstruct=void 0,n}}var zy={resolveAll:Uy()},By=Hy(`string`),Vy=Hy(`text`);function Hy(e){return{resolveAll:Uy(e===`text`?Wy:void 0),tokenize:t};function t(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,o);return a;function a(e){return c(e)?i(e):o(e)}function o(e){if(e===null){t.consume(e);return}return t.enter(`data`),t.consume(e),s}function s(e){return c(e)?(t.exit(`data`),i(e)):(t.consume(e),s)}function c(e){if(e===null)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}function Uy(e){return t;function t(t,n){let r=-1,i;for(;++r<=t.length;)i===void 0?t[r]&&t[r][1].type===`data`&&(i=r,r++):(!t[r]||t[r][1].type!==`data`)&&(r!==i+2&&(t[i][1].end=t[r-1][1].end,t.splice(i+2,r-i-2),r=i+2),i=void 0);return e?e(t,n):t}}function Wy(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type===`lineEnding`)&&e[n-1][1].type===`data`){let r=e[n-1][1],i=t.sliceStream(r),a=i.length,o=-1,s=0,c;for(;a--;){let e=i[a];if(typeof e==`string`){for(o=e.length;e.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(e===-2)c=!0,s++;else if(e!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){let i={type:n===e.length||c||s<2?`lineSuffix`:`hardBreakTrailing`,start:{_bufferIndex:a?o:r.start._bufferIndex+o,_index:r.start._index+a,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...i.start},r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,[`enter`,i,t],[`exit`,i,t]),n+=2)}n++}return e}var Gy=t({attentionMarkers:()=>$y,contentInitial:()=>qy,disable:()=>eb,document:()=>Ky,flow:()=>Yy,flowInitial:()=>Jy,insideSpan:()=>Qy,string:()=>Xy,text:()=>Zy}),Ky={42:Ey,43:Ey,45:Ey,48:Ey,49:Ey,50:Ey,51:Ey,52:Ey,53:Ey,54:Ey,55:Ey,56:Ey,57:Ey,62:lv},qy={91:Hv},Jy={[-2]:xv,[-1]:xv,32:xv},Yy={35:Jv,42:wy,45:[Py,wy],60:$v,61:Py,95:wy,96:vv,126:vv},Xy={38:hv,92:pv},Zy={[-5]:Sy,[-4]:Sy,[-3]:Sy,33:vy,38:hv,42:tv,60:[av,oy],91:by,92:[Kv,pv],93:cy,95:tv,96:Tv},Qy={null:[tv,zy]},$y={null:[42,95]},eb={null:[]};function tb(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},a=[],o=[],s=[],c={attempt:C(x),check:C(S),consume:v,enter:y,exit:b,interrupt:C(S,{interrupt:!0})},l={code:null,containerState:{},defineSkip:h,events:[],now:m,parser:e,previous:null,sliceSerialize:f,sliceStream:p,write:d},u=t.tokenize.call(l,c);return t.resolveAll&&a.push(t),l;function d(e){return o=k_(o,e),g(),o[o.length-1]===null?(w(t,0),l.events=ev(a,l.events,l),l.events):[]}function f(e,t){return rb(p(e),t)}function p(e){return nb(o,e)}function m(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:a}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:a}}function h(e){i[e.line]=e.column,E()}function g(){let e;for(;r._index<o.length;){let t=o[r._index];if(typeof t==`string`)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)_(t.charCodeAt(r._bufferIndex));else _(t)}}function _(e){u=u(e)}function v(e){Y(e)?(r.line++,r.column=1,r.offset+=e===-3?2:1,E()):e!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),l.previous=e}function y(e,t){let n=t||{};return n.type=e,n.start=m(),l.events.push([`enter`,n,l]),s.push(n),n}function b(e){let t=s.pop();return t.end=m(),l.events.push([`exit`,t,l]),t}function x(e,t){w(e,t.from)}function S(e,t){t.restore()}function C(e,t){return n;function n(n,r,i){let a,o,s,u;return Array.isArray(n)?f(n):`tokenize`in n?f([n]):d(n);function d(e){return t;function t(t){let n=t!==null&&e[t],r=t!==null&&e.null;return f([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}function f(e){return a=e,o=0,e.length===0?i:p(e[o])}function p(e){return n;function n(n){return u=T(),s=e,e.partial||(l.currentConstruct=e),e.name&&l.parser.constructs.disable.null.includes(e.name)?h(n):e.tokenize.call(t?Object.assign(Object.create(l),t):l,c,m,h)(n)}}function m(t){return e(s,u),r}function h(e){return u.restore(),++o<a.length?p(a[o]):i}}}function w(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&O_(l.events,t,l.events.length-t,e.resolve(l.events.slice(t),l)),e.resolveTo&&(l.events=e.resolveTo(l.events,l))}function T(){let e=m(),t=l.previous,n=l.currentConstruct,i=l.events.length,a=Array.from(s);return{from:i,restore:o};function o(){r=e,l.previous=t,l.currentConstruct=n,l.events.length=i,s=a,E()}}function E(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function nb(e,t){let n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex,o;if(n===i)o=[e[n].slice(r,a)];else{if(o=e.slice(n,i),r>-1){let e=o[0];typeof e==`string`?o[0]=e.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function rb(e,t){let n=-1,r=[],i;for(;++n<e.length;){let a=e[n],o;if(typeof a==`string`)o=a;else switch(a){case-5:o=`\r`;break;case-4:o=`
|
|
261
|
+
`;function nf(e){return Ol(tf,{...Qd,...e})}function rf(e,t){return typeof window>`u`||!e.source?!1:e.source===(t===`iframe`?window.parent:window)}var af=`wexio-cache`,of=`kv`,sf=1,cf={config:(e,t)=>`config:${e}:${t}`,configPrefix:e=>`config:${e}:`,gate:e=>`gate:${e}:`,news:(e,t)=>`news:${e}:${t}`,newsPost:(e,t,n)=>`news-post:${e}:${t}:${n}`,article:(e,t,n)=>`article:${e}:${t}:${n}`,helpCategories:(e,t)=>`help-categories:${e}:${t}`,helpRoot:(e,t)=>`help-root:${e}:${t}`,home:(e,t,n)=>`home:${e}:${t}:${n}`},lf=4320*60*1e3;function uf(e){return!!e&&typeof e==`object`&&typeof e.at==`number`}function df(){let e=new Map;return{get:t=>Promise.resolve(e.get(t)??null),set:(t,n)=>(e.set(t,n),Promise.resolve()),prune:t=>{for(let[n,r]of e)r.at<t&&e.delete(n);return Promise.resolve()},evictPrefix:t=>{for(let n of e.keys())n.startsWith(t)&&e.delete(n);return Promise.resolve()}}}function ff(){return typeof indexedDB>`u`?Promise.resolve(null):new Promise(e=>{let t;try{t=indexedDB.open(af,sf)}catch{e(null);return}t.onupgradeneeded=()=>{let e=t.result;e.objectStoreNames.contains(of)||e.createObjectStore(of)},t.onsuccess=()=>e(t.result),t.onerror=()=>e(null),t.onblocked=()=>e(null)})}var pf={get:e=>ff().then(t=>new Promise(n=>{if(!t){n(null);return}try{let r=t.transaction(of,`readonly`).objectStore(of).get(e);r.onsuccess=()=>n(uf(r.result)?r.result:null),r.onerror=()=>n(null)}catch{n(null)}})),set:(e,t)=>ff().then(n=>new Promise(r=>{if(!n){r();return}try{let i=n.transaction(of,`readwrite`);i.objectStore(of).put(t,e),i.oncomplete=()=>r(),i.onerror=()=>r(),i.onabort=()=>r()}catch{r()}})),prune:e=>ff().then(t=>new Promise(n=>{if(!t){n();return}try{let r=t.transaction(of,`readwrite`),i=r.objectStore(of).openCursor();i.onsuccess=()=>{let t=i.result;if(!t)return;let n=t.value;(!uf(n)||n.at<e)&&t.delete(),t.continue()},r.oncomplete=()=>n(),r.onerror=()=>n(),r.onabort=()=>n()}catch{n()}})),evictPrefix:e=>ff().then(t=>new Promise(n=>{if(!t){n();return}try{let r=t.transaction(of,`readwrite`),i=IDBKeyRange.bound(e,`${e}\uffff`),a=r.objectStore(of).openCursor(i);a.onsuccess=()=>{let e=a.result;e&&(e.delete(),e.continue())},r.oncomplete=()=>n(),r.onerror=()=>n(),r.onabort=()=>n()}catch{n()}}))};function mf(){return typeof indexedDB>`u`?df():pf}var hf=mf(),gf=!1;function _f(){gf||(gf=!0,hf.prune(Date.now()-lf).catch(()=>void 0))}async function vf(e){_f();try{let t=await hf.get(e);return t?Date.now()-t.at>2592e5?(hf.prune(Date.now()-lf).catch(()=>void 0),null):t.v:null}catch{return null}}function yf(e,t){return _f(),hf.set(e,{v:t,at:Date.now()}).catch(()=>void 0)}function bf(e){return hf.evictPrefix(e).catch(()=>void 0)}var xf=m(null),Sf=xf.Provider;function Cf(){return _(xf)}function wf(){let{preview:e}=Qu();return C(e.subscribe,e.snapshot,e.snapshot)}function Tf(){let e=e=>{typeof window>`u`||window.parent?.postMessage(e,`*`)};return{kind:`iframe`,onResize:(t,n,r)=>e({type:`wexio:widget:resize:v1`,width:t,height:n,open:r}),onOpen:()=>e({type:`wexio:widget:open:v1`}),onClose:()=>e({type:`wexio:widget:close:v1`}),onMessageAction:t=>e({type:`wexio:widget:message-action:v1`,detail:t}),onLauncherPosition:t=>e({type:`wexio:widget:position:v1`,side:t}),onOverlay:t=>e({type:`wexio:widget:overlay:v1`,open:t}),onHitArea:t=>e({type:`wexio:widget:hit-area:v1`,rects:t}),onLauncherOffset:t=>e({type:`wexio:widget:offset:v1`,x:t.x,y:t.y}),onPreviewTokenRequest:t=>e({type:`wexio:preview-token:request`,reason:t}),onHidden:()=>e({type:`wexio:widget:hidden:v1`}),onActive:()=>e({type:`wexio:widget:active:v1`})}}var Ef=m(null);function Df({env:e,children:t}){return T(Ef.Provider,{value:e,children:t})}function Of(){let e=_(Ef),t=b(()=>Tf(),[]);return e??t}var kf=`message:`,Af=(e,t)=>t?`${kf}${e}:${t}`:`${kf}${e}`;function jf(e){if(!e?.startsWith(`message:`))return null;let t=e.slice(8),n=t.indexOf(`:`),r=n<0?t:t.slice(0,n);return r?[r,n<0?null:t.slice(n+1)||null]:null}function Mf(e){return jf(e)?.[0]??null}function Nf(e){return jf(e)?.[1]??null}var Pf=/^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8}){0,3}$/,Ff=e=>e.length<=35&&Pf.test(e);function If(e,t,n){let r=Mf(e);if(!r||!t||t.slotId!==r)return;let i=Nf(e);if(!(i&&t.variantId!==i))return{slotId:r,variantId:t.variantId,...Ff(n)?{locale:n}:{}}}function Lf(e){let{threadKey:t,pick:n,exists:r,locale:i}=e;if(!(!t||Mf(t)||r||!n))return{slotId:n.slotId,variantId:n.variantId,...Ff(i)?{locale:i}:{}}}function Rf(e){let t=e.threadKey??null,n=Mf(t);if(!n)return{threadKey:t};let r=e.firstSendOnly??!0;if(e.exists&&r)return{threadKey:t};let i=Nf(t),a=e=>e&&e.slotId===n&&(!i||e.variantId===i)?e:null,o=a(e.remembered),s=o??a(e.current)??(i?{slotId:n,variantId:i}:null);if(!s)return e.exists?{threadKey:t}:{threadKey:null};let c=If(t,s,e.locale);return{threadKey:t,...c?{messageSlot:c}:{},...o?{}:{remember:s}}}var zf=`slot-`,Bf=e=>e.replace(/[^A-Za-z0-9_-]/g,`_`),Vf=(e,t)=>`${zf}${Hf(e,t)}`,Hf=(e,t)=>t?`${Bf(e)}:${Bf(t)}`:Bf(e);function Uf(e){let t=e.indexOf(`:`);return t<0?{slotKeyId:e,variantKeyId:null}:{slotKeyId:e.slice(0,t),variantKeyId:e.slice(t+1)||null}}function Wf(e){return e?.startsWith(`slot-`)&&e.slice(5)||null}function Gf(e){if(!e)return`main`;if(e.startsWith(`message:`)){let{slotKeyId:t,variantKeyId:n}=Uf(e.slice(kf.length));return`slot:${Hf(t,n)}`}let t=Wf(e);return t?`slot:${t}`:e}var Kf=(e,t)=>Bf(e)===Uf(t).slotKeyId,qf=e=>`wexio:local-slots:${e}`;function Jf(e,t){try{let n=e.getItem(qf(t)),r=n?JSON.parse(n):null;return r&&typeof r==`object`&&!Array.isArray(r)?r:{}}catch{return{}}}function Yf(e,t,n){let r=Jf(e,t),i=Hf(n.slotId,n.pinVariant?n.variant.id:null);if(r[i])return r;let{when:a,...o}=n.variant,s={...r,[i]:o};try{e.setItem(qf(t),JSON.stringify(s))}catch{}return s}var Xf=new Set;function Zf(e,t){let n=new Set((e??[]).map(e=>e.id)),r=(t??[]).filter(e=>e.kind===`MESSAGE`&&!n.has(e.id));return r.length===0?Xf:new Set(r.map(e=>e.id))}var Qf=new Set,$f=null;function ep(){for(let e of[...Qf])e()}var tp=!1;function np(){tp||(tp=!0,queueMicrotask(()=>{tp=!1,ep()}))}function rp(){let e=window.history.pushState,t=window.history.replaceState,n=function(...t){let n=e.apply(this,t);return np(),n},r=function(...e){let n=t.apply(this,e);return np(),n};return window.history.pushState=n,window.history.replaceState=r,window.addEventListener(`popstate`,np),window.addEventListener(`hashchange`,np),()=>{window.history.pushState===n&&(window.history.pushState=e),window.history.replaceState===r&&(window.history.replaceState=t),window.removeEventListener(`popstate`,np),window.removeEventListener(`hashchange`,np)}}function ip(e){return typeof window>`u`?()=>{}:(Qf.add(e),$f||($f=rp()),()=>{Qf.delete(e),Qf.size===0&&$f&&($f(),$f=null)})}function ap(e){let t=new Map,n=new Map;return{peek(e){return t.get(e)??null},get(r){let i=t.get(r);if(i)return Promise.resolve(i);let a=n.get(r);if(a)return a;let o=e(r).then(e=>(t.set(r,e),n.delete(r),e),()=>(n.delete(r),null));return n.set(r,o),o}}}var op=`en.en-US.en-GB.uk.de.es.es-MX.fr.it.nl.pt.pt-BR.sv.da.no.fi.pl.cs.sk.tr.ro.hu.el.ar.he.hi.th.vi.id.ja.ko.zh.zh-TW`.split(`.`);function sp(e){return typeof e==`string`&&op.includes(e)}var cp={ar:()=>import(`./widget-react-DJTgpBXp.js`),cs:()=>import(`./widget-react-CgvtA8Ek.js`),da:()=>import(`./widget-react-CxTI2WNr.js`),de:()=>import(`./widget-react-tvX8XSZD.js`),el:()=>import(`./widget-react-Cx_utOCH.js`),"en-GB":()=>import(`./widget-react-RFGjueTQ.js`),"en-US":()=>import(`./widget-react-uWEOH9Lh.js`),en:()=>import(`./widget-react-iwANUtnB.js`),"es-MX":()=>import(`./widget-react-BAzh_M3R.js`),es:()=>import(`./widget-react-C1rXlCoj.js`),fi:()=>import(`./widget-react-Cil8Ajlh.js`),fr:()=>import(`./widget-react-BEeSy_sM.js`),he:()=>import(`./widget-react-Bz5u8QHz.js`),hi:()=>import(`./widget-react-C2_GJN-2.js`),hu:()=>import(`./widget-react-Fou9JP7u.js`),id:()=>import(`./widget-react-YOrK-1WI2.js`),it:()=>import(`./widget-react-C6OZyIh32.js`),ja:()=>import(`./widget-react-0MqeP0VG2.js`),ko:()=>import(`./widget-react-DPf6mDAF2.js`),nl:()=>import(`./widget-react-bEpDN5aA2.js`),no:()=>import(`./widget-react-12srXq362.js`),pl:()=>import(`./widget-react-DLK0giQJ2.js`),"pt-BR":()=>import(`./widget-react-B1v9X8dK2.js`),pt:()=>import(`./widget-react-Dy2T3sIZ2.js`),ro:()=>import(`./widget-react-C78gQza62.js`),sk:()=>import(`./widget-react-13R6Vrt62.js`),sv:()=>import(`./widget-react-Cw8StXTV2.js`),th:()=>import(`./widget-react-BzlFOEiU2.js`),tr:()=>import(`./widget-react-C1vTza-V2.js`),uk:()=>import(`./widget-react-dWaXqKR32.js`),vi:()=>import(`./widget-react-DCnPzcmJ2.js`),"zh-TW":()=>import(`./widget-react-BpSJW2vD2.js`),zh:()=>import(`./widget-react-BKZZeBk72.js`)};function lp(e){return cp[sp(e)?e:`en`]()}function up(e){let t=e;for(let e=0;e<4;e++){if(t&&typeof t==`object`&&(`threads`in t||`conversation`in t))return t;if(t&&typeof t==`object`&&`default`in t)t=t.default;else break}return t&&typeof t==`object`?t:{}}async function dp(e){return up(await lp(e))}var fp={raw:()=>void 0,ready:!1};function pp(e){return e.ready!==!1}var mp=op,hp=ap(dp);function gp(e){return t=>{let n=e;for(let e of t.split(`.`))if(n&&typeof n==`object`&&e in n)n=n[e];else return;return n}}function _p(e,t){let[n,r]=S(()=>{let t=hp.peek(e);return t?{raw:gp(t)}:null});return v(()=>{let t=!0;return hp.get(e).then(e=>{!t||!e||r({raw:gp(e)})}),()=>{t=!1}},[e]),n??t}function vp(){return _p(r(),fp)}var yp=new Map,bp=new Set;function xp(e,t,n){if(bp.has(e))return Promise.resolve();let r=yf(t,n),i=yp.get(e)??new Set;return yp.set(e,i),i.add(r),r.finally(()=>i.delete(r)),r}async function Sp(e){bp.add(e),await Promise.all([...yp.get(e)??[]]),await Promise.all([bf(cf.configPrefix(e)),bf(cf.gate(e))])}var Cp=new Set([`status`,`branding`,`integrationId`,`name`,`security`]),wp=new Set([`__proto__`,`constructor`,`prototype`]);function Tp(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}function Ep(e){if(Array.isArray(e)){let t=!1,n=e.map(e=>{let n=Ep(e);return n!==e&&(t=!0),n});return t?n:e}if(!Tp(e))return e;let t=!1,n={};for(let r of Object.keys(e)){if(wp.has(r)){t=!0;continue}let i=Ep(e[r]);i!==e[r]&&(t=!0),n[r]=i}return t?n:e}function Dp(e){if(!(!Tp(e)||typeof e.enabled!=`boolean`))return{enabled:e.enabled}}function Op(e){if(!Tp(e))return;let t=Dp(e.google),n=Dp(e.passkey);if(!(!t&&!n))return{...t&&{google:t},...n&&{passkey:n}}}function kp(e){if(!Tp(e))return{};let t=Ep(e),n={};for(let e of Object.keys(t))Cp.has(e)||(n[e]=t[e]);let r=Op(t.security);return r&&(n.security=r),n}function Ap(e,t,n){return e.kind===`ok`?{action:`show`,value:e.value}:e.kind===`transient`&&e.previewReason?(t.report(e.previewReason,n),{action:`wait`}):{action:`hide`,unreachable:e.kind===`transient`}}function jp(e,t){return e.kind===`ok`?{action:`show`,value:e.value,source:`live`}:e.kind===`definitive`?{action:`hide`,evict:!0}:t?t.status===`active`?{action:`show`,value:t,source:`cache`}:{action:`hide`,evict:!0}:{action:`hide`,evict:!1}}async function Mp(e,t,n){let r=jp(e,e.kind===`transient`?await vf(n):null);return r.action===`hide`&&r.evict&&await Sp(t),r}function Np(e,t=typeof window>`u`?null:window.location.href){let n=t?new URL(t).searchParams.get(`pk`)??void 0:void 0,r=e.modeOverride===`demo`,i=r?void 0:cu()||void 0,a=r?void 0:e.publicKeyOverride??n??i,o=a===`pk_demo`?void 0:a,s=e.publicKeyOverride??n;return{publicKey:o,keyed:!!o||!!(s&&s!==`pk_demo`),pkFromUrl:n}}var Pp=/^[\w ,."'-]+$/;function Fp(e){if(typeof e!=`string`)return!1;let t=e.trim();if(!t||t.length>200||!Pp.test(t))return!1;for(let e of[`'`,`"`])if((t.split(e).length-1)%2!=0)return!1;return!0}var Ip=e=>Fp(e)?e.trim():void 0,Lp=/^#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,Rp=e=>typeof e==`string`&&Lp.test(e)?e:void 0,zp=`Inter.Poppins.DM Sans.Roboto.IBM Plex Sans.Lato.Montserrat.Nunito.Raleway.Work Sans.Open Sans.Noto Sans.Source Sans 3.Manrope.Onest.PT Sans.Fira Sans.Jost.Rubik.Comfortaa.Merriweather.Lora.PT Serif.Playfair Display.JetBrains Mono.IBM Plex Mono`.split(`.`),Bp=`400;500;600;700`,Vp={Roboto:`400;500;700`,Lato:`400;700`},Hp=new Map(zp.map(e=>[e.toLowerCase(),`${e.replace(/ /g,`+`)}:wght@${Vp[e]??Bp}`]));function Up(e){if(typeof document>`u`)return;let t=Ip(e);if(!t)return;let n=t.split(`,`)[0]?.trim().replace(/^['"]|['"]$/g,``);if(!n)return;let r=Hp.get(n.toLowerCase());if(!r)return;let i=`wexio-font-${n.toLowerCase().replace(/\s+/g,`-`)}`;if(document.getElementById(i))return;let a=document.createElement(`link`);a.id=i,a.rel=`stylesheet`,a.href=`https://fonts.googleapis.com/css2?family=${r}&display=swap`,document.head.appendChild(a)}var Wp=`wexio-trust:public`,Gp={status:`active`,defaultTab:`home`,localeStrategy:`AUTO`,defaultLocale:`en`,supportedLocales:[],contentLocaleFallback:!0,security:{requireAuth:!1,google:{enabled:!1,clientId:``},passkey:{enabled:!1}},features:{home:!0,messenger:!0,help:!0,news:!0,profile:!0},theme:null,themeMode:`auto`,operatorAvatars:[{src:`https://i.pravatar.cc/64?u=op-1`,alt:`Operator`},{src:`https://i.pravatar.cc/64?u=op-2`,alt:`Operator`},{src:`https://i.pravatar.cc/64?u=op-3`,alt:`Operator`}],organizationLogo:null,showLogoInLauncher:!1,greeting:{headline:`Hi there 👋`,subheadline:`How can we help?`},homeLayout:[{kind:`team-status`,showResponseTime:!0,showOperatorAvatars:!0,presence:`HUMAN`,responseTime:`MINUTES`},{kind:`ask-question`},{kind:`recent-message`},{kind:`featured-article`},{kind:`pinned-articles`,articleIds:[]},{kind:`quick-actions`,layout:`inline`,buttons:[{label:`WhatsApp`,icon:{kind:`named`,name:`whatsapp`},action:`open-url`,url:`https://wa.me/15555555555`},{label:`Telegram`,icon:{kind:`named`,name:`telegram`},action:`open-url`,url:`https://t.me/wexio`},{label:`Instagram`,icon:{kind:`named`,name:`instagram`},action:`open-url`,url:`https://instagram.com/wexio`},{label:`Email`,icon:{kind:`named`,name:`email`},action:`open-url`,url:`mailto:help@wexio.io`}]}],prechatForm:{enabled:!1,fields:[]},branding:null,sounds:{enabled:!0,inboundSoundId:`wx-nt_3`,outboundSoundId:`wx-nt_1`,volume:.5},messenger:{title:null,description:null,aiAssistantAvatar:ud(`/logo-dark.png`),aiAssistant:{enabled:!0,name:null,avatar:ud(`/logo-dark.png`)},commands:[`/start`,`/help`,`/contact`],messages:[],showRelatedNews:!0,showRelatedHelpArticles:!0,showReactionCounts:!1,profile:null},botProtection:null,tracking:null},Kp=[{kind:`ask-question`},{kind:`recent-message`},{kind:`featured-article`},{kind:`pinned-articles`,articleIds:[]},{kind:`quick-actions`,layout:`inline`,buttons:[{label:`WhatsApp`,icon:{kind:`named`,name:`whatsapp`},action:`open-url`,url:`https://wa.me/15555555555`},{label:`Telegram`,icon:{kind:`named`,name:`telegram`},action:`open-url`,url:`https://t.me/wexio`},{label:`Instagram`,icon:{kind:`named`,name:`instagram`},action:`open-url`,url:`https://instagram.com/wexio`},{label:`Email`,icon:{kind:`named`,name:`email`},action:`open-url`,url:`mailto:help@wexio.io`}]}];function qp(){let e=Of(),t=Qu(),{token:n,holding:i}=wf(),a=r(),[o,s]=S({mode:`demo`,config:Gp,isDummy:!0,isLoading:!0,error:null}),[c,l]=S(null);v(()=>{if(i)return;let r=new URL(window.location.href),o=r.searchParams.get(`mode`),{publicKey:c}=Np({modeOverride:e.modeOverride,publicKeyOverride:e.publicKeyOverride},r.href),u=e.modeOverride??(c?`production`:o===`preview`?`preview`:`demo`),d=!1;(async()=>{if(e.configBase){let r=null;if(c&&n){let e=await Su(c,n);if(d)return;let i=Ap(e,t.preview,n);if(i.action===`wait`)return;if(i.action===`hide`){s({mode:u,config:Gp,isDummy:!0,isLoading:!1,error:i.unreachable?`publicKeyInvalid`:`widgetUnavailable`});return}r=i.value}else if(c){let t=await Su(c);if(d)return;if(t.kind===`ok`)r=t.value,xp(c,cf.gate(c),r);else if(e.forceDummyData===!0&&!(t.kind===`definitive`&&typeof t.reason==`string`))r=null;else{let e=await Mp(t,c,cf.gate(c));if(d)return;if(e.action===`hide`){s({mode:u,config:Gp,isDummy:!0,isLoading:!1,error:t.kind===`transient`&&!e.evict?`publicKeyInvalid`:`widgetUnavailable`});return}r=e.value}}let i=e.configBase.security,a=r?.security,o={requireAuth:a?.requireAuth??!1,google:{enabled:i?.google?.enabled??a?.google?.enabled??!1,clientId:a?.google?.clientId??null},passkey:{enabled:i?.passkey?.enabled??a?.passkey?.enabled??!1}},{security:l,...f}=e.configBase;s({mode:u,config:{...f,security:o,branding:r?.branding??null,status:r?.status??`active`},isDummy:e.forceDummyData===!0,isLoading:!1,error:null});return}if(e.forceDummyData!==void 0){s({mode:u,config:Gp,isDummy:e.forceDummyData,isLoading:!1,error:null});return}if(c&&n){let e=await fu(c,a,n);if(d)return;let r=Ap(e,t.preview,n);if(r.action===`wait`)return;s(r.action===`show`?{mode:u,config:r.value,isDummy:!1,isLoading:!1,error:null,fromBe:!0}:{mode:u,config:Gp,isDummy:!0,isLoading:!1,error:r.unreachable?`publicKeyInvalid`:`widgetUnavailable`});return}if(c){let e=await fu(c,a);if(d)return;let t=cf.config(c,a);if(e.kind===`ok`){s({mode:u,config:e.value,isDummy:!1,isLoading:!1,error:null,fromBe:!0}),xp(c,t,e.value);return}let n=await Mp(e,c,t);if(d)return;if(n.action===`show`){s({mode:u,config:n.value,isDummy:!1,isLoading:!1,error:null,fromBe:!0});return}s({mode:u,config:Gp,isDummy:!0,isLoading:!1,error:e.kind===`transient`&&!n.evict?`publicKeyInvalid`:`widgetUnavailable`});return}s({mode:u,config:Gp,isDummy:!0,isLoading:!1,error:null})})();let f=t=>{if(!rf(t,e.kind)||!t.data||typeof t.data!=`object`||t.data.type!==`wexio:preview-config:v1`&&t.data.type!==`wexio:config-override:v1`||!t.data.config)return;let n=t.data.config;l(e=>Jp(e??{},n))};return window.addEventListener(`message`,f),()=>{d=!0,window.removeEventListener(`message`,f)}},[e.publicKeyOverride,e.modeOverride,e.forceDummyData,e.configBase,e.kind,a,t,n,i]);let u=o.isDummy||e.forceDummyData===!0,d=o.mode===`preview`&&!n,f=e.configOverride?.operatorAvatars!==void 0,{keyed:p}=Np({modeOverride:e.modeOverride,publicKeyOverride:e.publicKeyOverride}),m=!p,h=b(()=>{let t=o.config;return c&&(t=Jp(t,m?c:kp(c))),e.configOverride&&(t=Jp(t,m?e.configOverride:kp(e.configOverride))),u&&t.operatorAvatars.length===0&&!f&&(t={...t,operatorAvatars:Gp.operatorAvatars}),t},[o.config,m,c,e.configOverride,u,f]),g=b(()=>Zf(o.fromBe?o.config.messenger?.messageSlots:void 0,h.messenger?.messageSlots),[o.fromBe,o.config,h.messenger?.messageSlots]),_=e.styleRoot;y(()=>{h.theme&&nm(h.theme,_??document)},[h.theme,_]),v(()=>{h.theme&&Up(h.theme.fontFamily)},[h.theme]);let x=e.onLocaleStrategy;return v(()=>{let e=h.localeStrategy===`DEFAULT`?h.defaultLocale:h.localeStrategy;x?.(e)},[x,h.localeStrategy,h.defaultLocale]),{mode:o.mode,config:h,isDummy:u,sessionDemo:d,injectedSlotIds:g,isLoading:o.isLoading,error:o.error}}function Jp(e,t){return{...e,...t,features:{...e.features??{},...t.features??{}},greeting:{...e.greeting??{},...t.greeting??{}},messenger:t.messenger===void 0?e.messenger:t.messenger===null?null:{...e.messenger??{},...t.messenger},security:t.security===void 0?e.security:{...e.security??{},...t.security,google:{...e.security?.google??{},...t.security?.google??{}},passkey:{...e.security?.passkey??{},...t.security?.passkey??{}}},tracking:t.tracking===void 0?e.tracking:{...e.tracking??{},...t.tracking??{}},theme:t.theme===void 0?e.theme:t.theme===null?null:{...e.theme??{},...t.theme,light:{...e.theme?.light??{},...t.theme.light??{}},dark:{...e.theme?.dark??{},...t.theme.dark??{}},radii:{...e.theme?.radii??{},...t.theme.radii??{}}}}}var Yp={background:`--wx-bg`,surface:`--wx-bg-elevated`,surfaceElevated:`--wx-bg-elevated-2`,text:`--wx-fg`,textMuted:`--wx-fg-muted`,textSubtle:`--wx-fg-subtle`,border:`--wx-border`,borderStrong:`--wx-border-strong`,primary:`--wx-primary`,primaryHover:`--wx-primary-hover`,primaryForeground:`--wx-primary-fg`,launcherBackground:`--wx-launcher-bg`,launcherForeground:`--wx-launcher-fg`,success:`--wx-success`,danger:`--wx-danger`,homeBackdrop:`--wx-home-glow`},Xp={sm:`--wx-radius-sm`,md:`--wx-radius`,lg:`--wx-radius-lg`,xl:`--wx-radius-xl`};function Zp(e){return e?Object.entries(e).filter(([e,t])=>e!==`homeBackdrop`&&typeof t==`string`&&t.length>0).map(([e,t])=>`${Yp[e]}: ${t};`).concat(Qp(e)).join(` `):``}function Qp(e){let t=Rp(e.homeBackdrop)??Rp(e.primary);if(!t)return[];let n=t.length===5||t.length===9;return[`${Yp.homeBackdrop}: ${t};`,`--wx-home-glow-a: ${n?`100%`:`initial`};`]}function $p(e){return e?Object.entries(e).filter(([,e])=>typeof e==`number`&&Number.isFinite(e)).map(([e,t])=>`${Xp[e]}: ${t}px;`).join(` `):``}var em=new WeakMap;function tm(e){let t=$p(e.radii),n=Ip(e.fontFamily),r=[t,n?`--wx-font: ${n};`:``].filter(Boolean).join(` `),i=[Zp(e.light),r].filter(Boolean).join(` `),a=[Zp(e.dark),r].filter(Boolean).join(` `),o=[];return i&&o.push(`:root, :host { ${i} }`),a&&o.push(`[data-theme="dark"] { ${a} }`),o.join(` `)}function nm(e,t){let n=tm(e);if(!(t instanceof Document)){let e=t;if(typeof CSSStyleSheet<`u`&&`replaceSync`in CSSStyleSheet.prototype){let t=em.get(e);t||(t=new CSSStyleSheet,em.set(e,t),e.adoptedStyleSheets=[...e.adoptedStyleSheets,t]),t.replaceSync(n);return}let r=e.querySelector(`#wexio-theme-vars`);r||(r=document.createElement(`style`),r.id=`wexio-theme-vars`,e.appendChild(r)),r.textContent=n;return}let r=t.getElementById(`wexio-theme-vars`);r||(r=document.createElement(`style`),r.id=`wexio-theme-vars`,t.head.appendChild(r)),r.textContent=n}var rm=l(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),im=l(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),am=l(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),om=l(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),sm=l(`globe`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20`,key:`13o1zl`}],[`path`,{d:`M2 12h20`,key:`9i4pu4`}]]),cm=p.forwardRef(({className:e,...t},n)=>T(`div`,{ref:n,className:c(`rounded-wx-lg bg-wx-bg-elevated text-wx-fg`,e),...t}));cm.displayName=`Card`;var lm=p.forwardRef(({className:e,...t},n)=>T(`div`,{ref:n,className:c(`rounded-wx bg-wx-bg-elevated-2 text-wx-fg`,e),...t}));lm.displayName=`CardNested`;var um=p.forwardRef(({className:e,...t},n)=>T(`div`,{ref:n,className:c(`flex flex-col gap-1 px-5 pt-5`,e),...t}));um.displayName=`CardHeader`;var dm=p.forwardRef(({className:e,...t},n)=>T(`p`,{ref:n,className:c(`text-base font-semibold text-wx-fg`,e),...t}));dm.displayName=`CardTitle`;var fm=p.forwardRef(({className:e,...t},n)=>T(`p`,{ref:n,className:c(`text-sm text-wx-fg-muted`,e),...t}));fm.displayName=`CardSubtitle`;var pm=p.forwardRef(({className:e,...t},n)=>T(`div`,{ref:n,className:c(`px-5 py-4`,e),...t}));pm.displayName=`CardBody`;var mm=p.forwardRef(({className:e,...t},n)=>T(`div`,{ref:n,className:c(`flex items-center justify-between px-5 py-3 border-t border-wx-border`,e),...t}));mm.displayName=`CardFooter`;function hm(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function gm(...e){return t=>{let n=!1,r=e.map(e=>{let r=hm(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():hm(e[t],null)}}}}function _m(...e){return p.useCallback(gm(...e),e)}function vm(e){let t=ym(e),n=p.forwardRef((e,n)=>{let{children:r,...i}=e,a=p.Children.toArray(r),o=a.find(xm);if(o){let e=o.props.children,r=a.map(t=>t===o?p.Children.count(e)>1?p.Children.only(null):p.isValidElement(e)?e.props.children:null:t);return T(t,{...i,ref:n,children:p.isValidElement(e)?p.cloneElement(e,void 0,r):null})}return T(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function ym(e){let t=p.forwardRef((e,t)=>{let{children:n,...r}=e;if(p.isValidElement(n)){let e=Cm(n),i=Sm(r,n.props);return n.type!==p.Fragment&&(i.ref=t?gm(t,e):e),p.cloneElement(n,i)}return p.Children.count(n)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var bm=Symbol(`radix.slottable`);function xm(e){return p.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===bm}function Sm(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function Cm(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var wm=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=vm(`Primitive.${t}`),r=p.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),T(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),Tm=globalThis?.document?p.useLayoutEffect:()=>{};function Em(e,t){return p.useReducer((e,n)=>t[e][n]??e,e)}var Dm=e=>{let{present:t,children:n}=e,r=Om(t),i=typeof n==`function`?n({present:r.isPresent}):p.Children.only(n),a=_m(r.ref,Am(i));return typeof n==`function`||r.isPresent?p.cloneElement(i,{ref:a}):null};Dm.displayName=`Presence`;function Om(e){let[t,n]=p.useState(),r=p.useRef(null),i=p.useRef(e),a=p.useRef(`none`),[o,s]=Em(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return p.useEffect(()=>{let e=km(r.current);a.current=o===`mounted`?e:`none`},[o]),Tm(()=>{let t=r.current,n=i.current;if(n!==e){let r=a.current,o=km(t);e?s(`MOUNT`):o===`none`||t?.display===`none`?s(`UNMOUNT`):s(n&&r!==o?`ANIMATION_OUT`:`UNMOUNT`),i.current=e}},[e,s]),Tm(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,o=a=>{let o=km(r.current).includes(CSS.escape(a.animationName));if(a.target===t&&o&&(s(`ANIMATION_END`),!i.current)){let r=t.style.animationFillMode;t.style.animationFillMode=`forwards`,e=n.setTimeout(()=>{t.style.animationFillMode===`forwards`&&(t.style.animationFillMode=r)})}},c=e=>{e.target===t&&(a.current=km(r.current))};return t.addEventListener(`animationstart`,c),t.addEventListener(`animationcancel`,o),t.addEventListener(`animationend`,o),()=>{n.clearTimeout(e),t.removeEventListener(`animationstart`,c),t.removeEventListener(`animationcancel`,o),t.removeEventListener(`animationend`,o)}}else s(`ANIMATION_END`)},[t,s]),{isPresent:[`mounted`,`unmountSuspended`].includes(o),ref:p.useCallback(e=>{r.current=e?getComputedStyle(e):null,n(e)},[])}}function km(e){return e?.animationName||`none`}function Am(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function jm(e,t=[]){let n=[];function r(t,r){let i=p.createContext(r),a=n.length;n=[...n,r];let o=t=>{let{scope:n,children:r,...o}=t,s=n?.[e]?.[a]||i,c=p.useMemo(()=>o,Object.values(o));return T(s.Provider,{value:c,children:r})};o.displayName=t+`Provider`;function s(n,o){let s=o?.[e]?.[a]||i,c=p.useContext(s);if(c)return c;if(r!==void 0)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}return[o,s]}let i=()=>{let t=n.map(e=>p.createContext(e));return function(n){let r=n?.[e]||t;return p.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return i.scopeName=e,[r,Mm(i,...t)]}function Mm(...e){let t=e[0];if(e.length===1)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}function Nm(e){let t=p.useRef(e);return p.useEffect(()=>{t.current=e}),p.useMemo(()=>(...e)=>t.current?.(...e),[])}var Pm=p.createContext(void 0);function Fm(e){let t=p.useContext(Pm);return e||t||`ltr`}function Im(e,[t,n]){return Math.min(n,Math.max(t,e))}typeof window<`u`&&window.document&&window.document.createElement;function Lm(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),n===!1||!r.defaultPrevented)return t?.(r)}}function Rm(e,t){return p.useReducer((e,n)=>t[e][n]??e,e)}var zm=`ScrollArea`,[Bm,Vm]=jm(zm),[Hm,Um]=Bm(zm),Wm=p.forwardRef((e,t)=>{let{__scopeScrollArea:n,type:r=`hover`,dir:i,scrollHideDelay:a=600,...o}=e,[s,c]=p.useState(null),[l,u]=p.useState(null),[d,f]=p.useState(null),[m,h]=p.useState(null),[g,_]=p.useState(null),[v,y]=p.useState(0),[b,x]=p.useState(0),[S,C]=p.useState(!1),[w,E]=p.useState(!1),ee=_m(t,e=>c(e)),D=Fm(i);return T(Hm,{scope:n,type:r,dir:D,scrollHideDelay:a,scrollArea:s,viewport:l,onViewportChange:u,content:d,onContentChange:f,scrollbarX:m,onScrollbarXChange:h,scrollbarXEnabled:S,onScrollbarXEnabledChange:C,scrollbarY:g,onScrollbarYChange:_,scrollbarYEnabled:w,onScrollbarYEnabledChange:E,onCornerWidthChange:y,onCornerHeightChange:x,children:T(wm.div,{dir:D,...o,ref:ee,style:{position:`relative`,"--radix-scroll-area-corner-width":v+`px`,"--radix-scroll-area-corner-height":b+`px`,...e.style}})})});Wm.displayName=zm;var Gm=`ScrollAreaViewport`,Km=p.forwardRef((e,t)=>{let{__scopeScrollArea:n,children:r,nonce:i,...a}=e,o=Um(Gm,n),s=_m(t,p.useRef(null),o.onViewportChange);return E(w,{children:[T(`style`,{dangerouslySetInnerHTML:{__html:`[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}`},nonce:i}),T(wm.div,{"data-radix-scroll-area-viewport":``,...a,ref:s,style:{overflowX:o.scrollbarXEnabled?`scroll`:`hidden`,overflowY:o.scrollbarYEnabled?`scroll`:`hidden`,...e.style},children:T(`div`,{ref:o.onContentChange,style:{minWidth:`100%`,display:`table`},children:r})})]})});Km.displayName=Gm;var qm=`ScrollAreaScrollbar`,Jm=p.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=Um(qm,e.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:o}=i,s=e.orientation===`horizontal`;return p.useEffect(()=>(s?a(!0):o(!0),()=>{s?a(!1):o(!1)}),[s,a,o]),i.type===`hover`?T(Ym,{...r,ref:t,forceMount:n}):i.type===`scroll`?T(Xm,{...r,ref:t,forceMount:n}):i.type===`auto`?T(Zm,{...r,ref:t,forceMount:n}):i.type===`always`?T(Qm,{...r,ref:t}):null});Jm.displayName=qm;var Ym=p.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=Um(qm,e.__scopeScrollArea),[a,o]=p.useState(!1);return p.useEffect(()=>{let e=i.scrollArea,t=0;if(e){let n=()=>{window.clearTimeout(t),o(!0)},r=()=>{t=window.setTimeout(()=>o(!1),i.scrollHideDelay)};return e.addEventListener(`pointerenter`,n),e.addEventListener(`pointerleave`,r),()=>{window.clearTimeout(t),e.removeEventListener(`pointerenter`,n),e.removeEventListener(`pointerleave`,r)}}},[i.scrollArea,i.scrollHideDelay]),T(Dm,{present:n||a,children:T(Zm,{"data-state":a?`visible`:`hidden`,...r,ref:t})})}),Xm=p.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=Um(qm,e.__scopeScrollArea),a=e.orientation===`horizontal`,o=vh(()=>c(`SCROLL_END`),100),[s,c]=Rm(`hidden`,{hidden:{SCROLL:`scrolling`},scrolling:{SCROLL_END:`idle`,POINTER_ENTER:`interacting`},interacting:{SCROLL:`interacting`,POINTER_LEAVE:`idle`},idle:{HIDE:`hidden`,SCROLL:`scrolling`,POINTER_ENTER:`interacting`}});return p.useEffect(()=>{if(s===`idle`){let e=window.setTimeout(()=>c(`HIDE`),i.scrollHideDelay);return()=>window.clearTimeout(e)}},[s,i.scrollHideDelay,c]),p.useEffect(()=>{let e=i.viewport,t=a?`scrollLeft`:`scrollTop`;if(e){let n=e[t],r=()=>{let r=e[t];n!==r&&(c(`SCROLL`),o()),n=r};return e.addEventListener(`scroll`,r),()=>e.removeEventListener(`scroll`,r)}},[i.viewport,a,c,o]),T(Dm,{present:n||s!==`hidden`,children:T(Qm,{"data-state":s===`hidden`?`hidden`:`visible`,...r,ref:t,onPointerEnter:Lm(e.onPointerEnter,()=>c(`POINTER_ENTER`)),onPointerLeave:Lm(e.onPointerLeave,()=>c(`POINTER_LEAVE`))})})}),Zm=p.forwardRef((e,t)=>{let n=Um(qm,e.__scopeScrollArea),{forceMount:r,...i}=e,[a,o]=p.useState(!1),s=e.orientation===`horizontal`,c=vh(()=>{if(n.viewport){let e=n.viewport.offsetWidth<n.viewport.scrollWidth,t=n.viewport.offsetHeight<n.viewport.scrollHeight;o(s?e:t)}},10);return yh(n.viewport,c),yh(n.content,c),T(Dm,{present:r||a,children:T(Qm,{"data-state":a?`visible`:`hidden`,...i,ref:t})})}),Qm=p.forwardRef((e,t)=>{let{orientation:n=`vertical`,...r}=e,i=Um(qm,e.__scopeScrollArea),a=p.useRef(null),o=p.useRef(0),[s,c]=p.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),l=dh(s.viewport,s.content),u={...r,sizes:s,onSizesChange:c,hasThumb:l>0&&l<1,onThumbChange:e=>a.current=e,onThumbPointerUp:()=>o.current=0,onThumbPointerDown:e=>o.current=e};function d(e,t){return ph(e,o.current,s,t)}return n===`horizontal`?T($m,{...u,ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){let e=i.viewport.scrollLeft,t=mh(e,s,i.dir);a.current.style.transform=`translate3d(${t}px, 0, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollLeft=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollLeft=d(e,i.dir))}}):n===`vertical`?T(eh,{...u,ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){let e=i.viewport.scrollTop,t=mh(e,s);a.current.style.transform=`translate3d(0, ${t}px, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollTop=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollTop=d(e))}}):null}),$m=p.forwardRef((e,t)=>{let{sizes:n,onSizesChange:r,...i}=e,a=Um(qm,e.__scopeScrollArea),[o,s]=p.useState(),c=p.useRef(null),l=_m(t,c,a.onScrollbarXChange);return p.useEffect(()=>{c.current&&s(getComputedStyle(c.current))},[c]),T(rh,{"data-orientation":`horizontal`,...i,ref:l,sizes:n,style:{bottom:0,left:a.dir===`rtl`?`var(--radix-scroll-area-corner-width)`:0,right:a.dir===`ltr`?`var(--radix-scroll-area-corner-width)`:0,"--radix-scroll-area-thumb-width":fh(n)+`px`,...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,n)=>{if(a.viewport){let r=a.viewport.scrollLeft+t.deltaX;e.onWheelScroll(r),gh(r,n)&&t.preventDefault()}},onResize:()=>{c.current&&a.viewport&&o&&r({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:c.current.clientWidth,paddingStart:uh(o.paddingLeft),paddingEnd:uh(o.paddingRight)}})}})}),eh=p.forwardRef((e,t)=>{let{sizes:n,onSizesChange:r,...i}=e,a=Um(qm,e.__scopeScrollArea),[o,s]=p.useState(),c=p.useRef(null),l=_m(t,c,a.onScrollbarYChange);return p.useEffect(()=>{c.current&&s(getComputedStyle(c.current))},[c]),T(rh,{"data-orientation":`vertical`,...i,ref:l,sizes:n,style:{top:0,right:a.dir===`ltr`?0:void 0,left:a.dir===`rtl`?0:void 0,bottom:`var(--radix-scroll-area-corner-height)`,"--radix-scroll-area-thumb-height":fh(n)+`px`,...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,n)=>{if(a.viewport){let r=a.viewport.scrollTop+t.deltaY;e.onWheelScroll(r),gh(r,n)&&t.preventDefault()}},onResize:()=>{c.current&&a.viewport&&o&&r({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:c.current.clientHeight,paddingStart:uh(o.paddingTop),paddingEnd:uh(o.paddingBottom)}})}})}),[th,nh]=Bm(qm),rh=p.forwardRef((e,t)=>{let{__scopeScrollArea:n,sizes:r,hasThumb:i,onThumbChange:a,onThumbPointerUp:o,onThumbPointerDown:s,onThumbPositionChange:c,onDragScroll:l,onWheelScroll:u,onResize:d,...f}=e,m=Um(qm,n),[h,g]=p.useState(null),_=_m(t,e=>g(e)),v=p.useRef(null),y=p.useRef(``),b=m.viewport,x=r.content-r.viewport,S=Nm(u),C=Nm(c),w=vh(d,10);function E(e){v.current&&l({x:e.clientX-v.current.left,y:e.clientY-v.current.top})}return p.useEffect(()=>{let e=e=>{let t=e.target;h?.contains(t)&&S(e,x)};return document.addEventListener(`wheel`,e,{passive:!1}),()=>document.removeEventListener(`wheel`,e,{passive:!1})},[b,h,x,S]),p.useEffect(C,[r,C]),yh(h,w),yh(m.content,w),T(th,{scope:n,scrollbar:h,hasThumb:i,onThumbChange:Nm(a),onThumbPointerUp:Nm(o),onThumbPositionChange:C,onThumbPointerDown:Nm(s),children:T(wm.div,{...f,ref:_,style:{position:`absolute`,...f.style},onPointerDown:Lm(e.onPointerDown,e=>{e.button===0&&(e.target.setPointerCapture(e.pointerId),v.current=h.getBoundingClientRect(),y.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect=`none`,m.viewport&&(m.viewport.style.scrollBehavior=`auto`),E(e))}),onPointerMove:Lm(e.onPointerMove,E),onPointerUp:Lm(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=y.current,m.viewport&&(m.viewport.style.scrollBehavior=``),v.current=null})})})}),ih=`ScrollAreaThumb`,ah=p.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=nh(ih,e.__scopeScrollArea);return T(Dm,{present:n||i.hasThumb,children:T(oh,{ref:t,...r})})}),oh=p.forwardRef((e,t)=>{let{__scopeScrollArea:n,style:r,...i}=e,a=Um(ih,n),o=nh(ih,n),{onThumbPositionChange:s}=o,c=_m(t,e=>o.onThumbChange(e)),l=p.useRef(void 0),u=vh(()=>{l.current&&(l.current(),l.current=void 0)},100);return p.useEffect(()=>{let e=a.viewport;if(e){let t=()=>{u(),l.current||(l.current=_h(e,s),s())};return s(),e.addEventListener(`scroll`,t),()=>e.removeEventListener(`scroll`,t)}},[a.viewport,u,s]),T(wm.div,{"data-state":o.hasThumb?`visible`:`hidden`,...i,ref:c,style:{width:`var(--radix-scroll-area-thumb-width)`,height:`var(--radix-scroll-area-thumb-height)`,...r},onPointerDownCapture:Lm(e.onPointerDownCapture,e=>{let t=e.target.getBoundingClientRect(),n=e.clientX-t.left,r=e.clientY-t.top;o.onThumbPointerDown({x:n,y:r})}),onPointerUp:Lm(e.onPointerUp,o.onThumbPointerUp)})});ah.displayName=ih;var sh=`ScrollAreaCorner`,ch=p.forwardRef((e,t)=>{let n=Um(sh,e.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return n.type!==`scroll`&&r?T(lh,{...e,ref:t}):null});ch.displayName=sh;var lh=p.forwardRef((e,t)=>{let{__scopeScrollArea:n,...r}=e,i=Um(sh,n),[a,o]=p.useState(0),[s,c]=p.useState(0),l=!!(a&&s);return yh(i.scrollbarX,()=>{let e=i.scrollbarX?.offsetHeight||0;i.onCornerHeightChange(e),c(e)}),yh(i.scrollbarY,()=>{let e=i.scrollbarY?.offsetWidth||0;i.onCornerWidthChange(e),o(e)}),l?T(wm.div,{...r,ref:t,style:{width:a,height:s,position:`absolute`,right:i.dir===`ltr`?0:void 0,left:i.dir===`rtl`?0:void 0,bottom:0,...e.style}}):null});function uh(e){return e?parseInt(e,10):0}function dh(e,t){let n=e/t;return isNaN(n)?0:n}function fh(e){let t=dh(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function ph(e,t,n,r=`ltr`){let i=fh(n),a=i/2,o=t||a,s=i-o,c=n.scrollbar.paddingStart+o,l=n.scrollbar.size-n.scrollbar.paddingEnd-s,u=n.content-n.viewport,d=r===`ltr`?[0,u]:[u*-1,0];return hh([c,l],d)(e)}function mh(e,t,n=`ltr`){let r=fh(t),i=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-i,o=t.content-t.viewport,s=a-r,c=Im(e,n===`ltr`?[0,o]:[o*-1,0]);return hh([0,o],[0,s])(c)}function hh(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function gh(e,t){return e>0&&e<t}var _h=(e,t=()=>{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return(function i(){let a={left:e.scrollLeft,top:e.scrollTop},o=n.left!==a.left,s=n.top!==a.top;(o||s)&&t(),n=a,r=window.requestAnimationFrame(i)})(),()=>window.cancelAnimationFrame(r)};function vh(e,t){let n=Nm(e),r=p.useRef(0);return p.useEffect(()=>()=>window.clearTimeout(r.current),[]),p.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)},[n,t])}function yh(e,t){let n=Nm(t);Tm(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}var bh=Wm,xh=Km,Sh=ch;function Ch({className:e,viewportRef:t,followDirection:n,children:r,onScroll:i,...a}){return E(bh,{"data-slot":`scroll-area`,className:c(`relative min-h-0 min-w-0 overflow-hidden`,n&&`[direction:inherit]`,e),...a,children:[T(xh,{ref:t,"data-slot":`scroll-area-viewport`,onScroll:i,className:c(`h-full w-full rounded-[inherit]`,`[&>div]:!block [&>div]:!w-full [&>div]:!max-w-full`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-wx-primary/40`),children:r}),T(wh,{}),T(Sh,{})]})}function wh({className:e,orientation:t=`vertical`,...n}){return T(Jm,{"data-slot":`scroll-area-scrollbar`,orientation:t,className:c(`flex touch-none select-none transition-opacity duration-150`,`opacity-0 data-[state=visible]:opacity-100`,`hover:opacity-100`,t===`vertical`&&`h-full w-1.5 border-l border-l-transparent p-px`,t===`horizontal`&&`h-1.5 flex-col border-t border-t-transparent p-px`,e),...n,children:T(ah,{"data-slot":`scroll-area-thumb`,className:c(`relative flex-1 rounded-full`,`bg-wx-fg-muted/40 hover:bg-wx-fg-muted/60 transition-colors`)})})}var Th=/<(\/?(?:p|div|h[1-6]|li|ul|ol|blockquote|br|tr|td|th|figure|figcaption|section|article|pre|hr)\b)/gi;function Eh(e){if(!e)return``;if(!/[<&]/.test(e))return e;let t=e.replace(Th,` <$1`);return typeof DOMParser<`u`?(new DOMParser().parseFromString(t,`text/html`).body.textContent??``).replace(/\s+/g,` `).trim():t.replace(/<[^>]*>/g,``).replace(/ /g,` `).replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/\s+/g,` `).trim()}var Dh=/[.!?…:;)"'»”]$/,Oh=80;function kh(e){return e.replace(/```[^\n]*\n?([\s\S]*?)(```|$)/g,` $1 `).replace(/!\[[^\]]*\]\([^)]*\)/g,` `).replace(/\[([^\]]*)\]\([^)]*\)/g,`$1`).replace(/^\s{0,3}#{1,6}\s+/gm,``).replace(/^\s{0,3}>\s?/gm,``).replace(/^\s*(?:[-*+]|\d+[.)])\s+/gm,``).replace(/^\s*([-*_]\s*){3,}$/gm,` `).replace(/(\*\*|__)(.+?)\1/g,`$2`).replace(/(^|[\s(])([*_])(\S(?:.*?\S)?)\2(?=$|[\s).,;:!?])/g,`$1$3`).replace(/~~(.+?)~~/g,`$1`).replace(/`([^`]*)`/g,`$1`).replace(/\s+/g,` `).trim()}function Ah(e){return kh(Eh(e))}function jh(e,t){let n=e.slice(0,t),r=n.lastIndexOf(` `);return(r>0?n.slice(0,r):n).replace(/[\s,;:.\-–—]+$/,``)}function Mh(e,t=200){let n=Ah(e);if(!n)return``;if(n.length>t)return`${jh(n,t)}…`;if(n.length>=Oh&&!Dh.test(n)){let e=n.lastIndexOf(` `);return`${(e>0?n.slice(0,e):n).replace(/[\s,;:.\-–—]+$/,``)}…`}return n}function Nh(e,t){let n=Ah(e),r=Ah(t);return!!n&&!!r&&r.startsWith(n.replace(/…$/,``).trimEnd())}function Ph(){return g(e=>{if(!e)return;let t=e.getRootNode().activeElement,n=!t||t===document.body,r=e.closest(`main`),i=!!t&&!!r&&r.contains(t)&&!e.contains(t);!n&&!i||(e.hasAttribute(`tabindex`)||(e.tabIndex=-1),e.focus({preventScroll:!0}))},[])}function Fh(e,t){let[n,r]=S(null),i=wf().token===null?e:null;return v(()=>{if(!i)return;if(t!=null){r(t),yf(i,t);return}let e=!1;return vf(i).then(t=>{!e&&t!=null&&r(e=>e??t)}),()=>{e=!0}},[i,t]),t??n}function Ih(e,t){try{return new URL(e).pathname.replace(/\/$/,``)===new URL(t).pathname.replace(/\/$/,``)}catch{return e===t}}function Lh(e,t,n){let r=[...e,t];return r.length>n?r.slice(r.length-n):r}var Rh=m({trackPageView:()=>{},trackLinkClick:()=>{},trackButtonClick:()=>{}});function zh(){return _(Rh)}var Bh={page:`trackPageView`,link:`trackLinkClick`,button:`trackButtonClick`};function Vh({children:e,tracking:t,enabled:n,token:r}){let i=Of(),a=Qu(),[o]=qd(),[s]=Yd(),[c]=Zd(),l=Cf(),u=n&&(t?.trackWebsitePages??!0),d=n&&(t?.trackWidgetLinks??!0),f=x([]),p=x(null),m=x(null),h=x(null),_=g(e=>{if(l){l.enqueue({op:Bh[e.kind],semantics:`queue`,payload:e.input});return}(e.kind===`page`?o({variables:{input:e.input}}):e.kind===`link`?s({variables:{input:e.input}}):c({variables:{input:e.input}})).catch(()=>{})},[l,o,s,c]),y=g(e=>{l||a.token?_(e):f.current=Lh(f.current,e,50)},[l,_,a]);v(()=>{if(!r)return;let e=f.current;f.current=[];for(let t of e)_(t)},[r,_]),v(()=>()=>{m.current&&clearTimeout(m.current)},[]);let S=g((e,t)=>{!u||!e||p.current&&Ih(p.current,e)||(m.current&&clearTimeout(m.current),m.current=setTimeout(()=>{p.current=e,y({kind:`page`,input:{url:e,title:t?.title,referrer:t?.referrer,occurredAt:new Date().toISOString()}})},500))},[u,y]),C=g(e=>{!d||!e.url||y({kind:`link`,input:{url:e.url,targetType:e.targetType,targetRefId:e.targetRefId,title:e.title,referrer:typeof document<`u`&&document.referrer||void 0,occurredAt:new Date().toISOString()}})},[d,y]),w=g(e=>{n&&y({kind:`button`,input:{...e,occurredAt:new Date().toISOString()}})},[n,y]);v(()=>{if(!u||typeof window>`u`)return;if(i.kind===`iframe`){let e=e=>{if(!rf(e,i.kind))return;let t=e.data;!t||typeof t!=`object`||t.type!==`wexio:host-navigation:v1`||typeof t.url==`string`&&S(t.url,{title:typeof t.title==`string`?t.title:void 0,referrer:typeof t.referrer==`string`?t.referrer:void 0})};return window.addEventListener(`message`,e),()=>window.removeEventListener(`message`,e)}let e=()=>S(window.location.href,{title:document.title,referrer:document.referrer}),t=()=>{h.current?.();let t=document.querySelector(`title`),n=!1,r=()=>{o?.disconnect(),clearTimeout(a),h.current=null},i=()=>{n||(n=!0,r(),e())},a=setTimeout(i,600),o=null;t&&typeof MutationObserver<`u`&&(o=new MutationObserver(i),o.observe(t,{childList:!0,characterData:!0,subtree:!0})),h.current=r};e();let n=ip(t);return()=>{h.current?.(),n()}},[u,i.kind,S]);let E=b(()=>({trackPageView:S,trackLinkClick:C,trackButtonClick:w}),[S,C,w]);return T(Rh.Provider,{value:E,children:e})}var Hh=new WeakMap;function Uh(e){let t=e.getRootNode();return t instanceof ShadowRoot?t:null}function Wh(e){let t=document.createElement(`div`);t.setAttribute(`data-wexio-overlay-layer`,`true`),t.style.display=`contents`;let n=t.attachShadow({mode:`open`}),r=document.createElement(`div`);r.style.display=`contents`,n.appendChild(r);let i=()=>{let t=Uh(e);if(t){t.adoptedStyleSheets&&(n.adoptedStyleSheets=[...t.adoptedStyleSheets]);for(let e of n.querySelectorAll(`style[data-wexio-copy]`))e.remove();for(let e of t.querySelectorAll(`style`)){let t=e.cloneNode(!0);t.setAttribute(`data-wexio-copy`,`true`),n.insertBefore(t,r)}}},a=()=>{let n=e.dataset.theme;for(let e of[t,r])n?e.dataset.theme=n:delete e.dataset.theme;e.hasAttribute(`dir`)?r.dir=e.dir:r.removeAttribute(`dir`)};i(),a();let o=new MutationObserver(a);return o.observe(e,{attributes:!0,attributeFilter:[`data-theme`,`dir`]}),document.body.appendChild(t),{host:t,mount:r,observer:o,refs:0,syncStyles:i}}function Gh(e){let t=Hh.get(e);t||(t=Wh(e),Hh.set(e,t)),t.refs+=1;let n=t,r=!1;return{mount:n.mount,syncStyles:n.syncStyles,release:()=>{r||(r=!0,--n.refs,!(n.refs>0)&&(n.observer.disconnect(),n.host.remove(),Hh.delete(e)))}}}function Kh(e){let t=Of(),n=t.themeRoot,[r,i]=S(null),a=x(t.onOverlay);return a.current=t.onOverlay,v(()=>{if(!(!e||n))return a.current?.(!0),()=>a.current?.(!1)},[e,n]),v(()=>{if(!e||!n)return;let t=Gh(n);return t.syncStyles(),i(t.mount),()=>{t.release(),i(null)}},[e,n]),n?r:e&&typeof document<`u`?document.body:null}var qh=`button:not([disabled]), [href], video[controls], iframe, [tabindex]:not([tabindex="-1"])`;function Jh(){let e=document.activeElement;for(;e?.shadowRoot?.activeElement;)e=e.shadowRoot.activeElement;return e instanceof HTMLElement?e:null}function Yh(e,t){let n=x(null);v(()=>{if(e)return n.current=Jh(),()=>{let e=n.current;n.current=null,e?.isConnected&&e.focus({preventScroll:!0})}},[e]),v(()=>{if(!e||!t)return;t.querySelector(qh)?.focus({preventScroll:!0});let n=e=>{if(e.key!==`Tab`)return;let n=Array.from(t.querySelectorAll(qh));if(n.length===0)return;let r=t.getRootNode().activeElement,i=n[0],a=n[n.length-1];e.shiftKey&&(r===i||!r||!t.contains(r))?(e.preventDefault(),a.focus()):!e.shiftKey&&(r===a||!r||!t.contains(r))&&(e.preventDefault(),i.focus())};return t.addEventListener(`keydown`,n),()=>t.removeEventListener(`keydown`,n)},[e,t])}function Xh(){return typeof HTMLDialogElement<`u`&&typeof HTMLDialogElement.prototype.showModal==`function`}function Zh(e,t,n){let r=x(n);r.current=n,v(()=>{if(!t||!(e instanceof HTMLDialogElement)||!Xh())return;let n=e=>{e.preventDefault(),r.current()};return e.addEventListener(`cancel`,n),e.open||e.showModal(),()=>{e.removeEventListener(`cancel`,n),e.open&&e.close()}},[e,t])}function Qh({items:e,initialIndex:t,open:n,onClose:r}){let i=a(`lightbox`),[s,l]=S(t),[u,p]=S(n);v(()=>{n&&p(!0)},[n]);let m=Kh(n||u),[h,_]=S(null);Zh(h,n,r),Yh(n,h);let y=Xh()?o.dialog:o.div;v(()=>{n&&l(t)},[n,t]);let b=e.length,x=e[s],C=g(()=>{l(e=>(e+1)%b)},[b]),D=g(()=>{l(e=>(e-1+b)%b)},[b]);return v(()=>{if(!n)return;let e=e=>{e.key===`Escape`?(e.preventDefault(),r()):e.key===`ArrowRight`?C():e.key===`ArrowLeft`&&D()};document.addEventListener(`keydown`,e,!0);let t=document.body.style.overflow;return document.body.style.overflow=`hidden`,()=>{document.removeEventListener(`keydown`,e,!0),document.body.style.overflow=t}},[n,r,C,D]),m?ee(T(d,{onExitComplete:()=>p(!1),children:n&&x&&E(y,{ref:_,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.15},onClick:r,className:`fixed inset-0 z-2147483647 m-0 h-full max-h-none w-full max-w-none border-0 p-0 backdrop:bg-transparent flex items-center justify-center bg-black/85 backdrop-blur-sm`,role:`dialog`,"aria-modal":`true`,"aria-label":x.alt||i(`mediaPreview`),children:[T(`button`,{type:`button`,onClick:e=>{e.stopPropagation(),r()},"aria-label":i(`close`),className:c(`absolute top-4 right-4 z-10 flex h-9 w-9 items-center justify-center rounded-full`,`bg-white/10 text-white transition-colors hover:bg-white/20`),children:T(f,{size:18})}),b>1&&E(w,{children:[T(`button`,{type:`button`,onClick:e=>{e.stopPropagation(),D()},"aria-label":i(`previous`),className:c(`absolute left-4 top-1/2 z-10 -translate-y-1/2 flex h-10 w-10 items-center justify-center rounded-full`,`bg-white/10 text-white transition-colors hover:bg-white/20`),children:T(am,{size:20})}),T(`button`,{type:`button`,onClick:e=>{e.stopPropagation(),C()},"aria-label":i(`next`),className:c(`absolute right-4 top-1/2 z-10 -translate-y-1/2 flex h-10 w-10 items-center justify-center rounded-full`,`bg-white/10 text-white transition-colors hover:bg-white/20`),children:T(om,{size:20})})]}),T(o.div,{initial:{scale:.96,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.96,opacity:0},transition:{duration:.18,ease:`easeOut`},className:`pointer-events-none flex max-h-[90vh] max-w-[90vw] items-center justify-center`,children:x.mimetype.startsWith(`video/`)?T(`video`,{src:x.url,controls:!0,autoPlay:!0,onClick:e=>e.stopPropagation(),className:`pointer-events-auto max-h-[90vh] max-w-[90vw] rounded-wx-lg`}):x.mimetype===`application/pdf`?T(`iframe`,{src:x.url,title:x.alt||`PDF preview`,onClick:e=>e.stopPropagation(),className:`pointer-events-auto h-[90vh] w-[90vw] rounded-wx-lg border-0 bg-white`}):T(o.img,{src:x.url,alt:x.alt,onClick:e=>e.stopPropagation(),draggable:!1,drag:b>1?`x`:!1,dragConstraints:{left:0,right:0},dragElastic:.18,dragMomentum:!1,onDragEnd:(e,t)=>{t.offset.x<=-60?C():t.offset.x>=60&&D()},className:c(`pointer-events-auto rounded-wx-lg object-contain`,`max-h-[90vh] max-w-[90vw]`,b>1&&`cursor-grab active:cursor-grabbing`)})},`${s}-${x.url}`),b>1&&E(`div`,{className:`absolute bottom-4 left-1/2 -translate-x-1/2 rounded-full bg-white/10 px-3 py-1 text-xs font-medium text-white`,children:[s+1,` / `,b]})]},`media-lightbox`)}),m):null}function $h(e,t){let n=t||{};return(e[e.length-1]===``?[...e,``]:e).join((n.padRight?` `:``)+`,`+(n.padLeft===!1?``:` `)).trim()}var eg=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,tg=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,ng={};function rg(e,t){return((t||ng).jsx?tg:eg).test(e)}var ig=/[ \t\n\f\r]/g;function ag(e){return typeof e==`object`?e.type===`text`?og(e.value):!1:og(e)}function og(e){return e.replace(ig,``)===``}var sg=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};sg.prototype.normal={},sg.prototype.property={},sg.prototype.space=void 0;function cg(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new sg(n,r,t)}function lg(e){return e.toLowerCase()}var ug=class{constructor(e,t){this.attribute=t,this.property=e}};ug.prototype.attribute=``,ug.prototype.booleanish=!1,ug.prototype.boolean=!1,ug.prototype.commaOrSpaceSeparated=!1,ug.prototype.commaSeparated=!1,ug.prototype.defined=!1,ug.prototype.mustUseProperty=!1,ug.prototype.number=!1,ug.prototype.overloadedBoolean=!1,ug.prototype.property=``,ug.prototype.spaceSeparated=!1,ug.prototype.space=void 0;var dg=t({boolean:()=>K,booleanish:()=>pg,commaOrSpaceSeparated:()=>gg,commaSeparated:()=>hg,number:()=>q,overloadedBoolean:()=>mg,spaceSeparated:()=>J}),fg=0,K=_g(),pg=_g(),mg=_g(),q=_g(),J=_g(),hg=_g(),gg=_g();function _g(){return 2**++fg}var vg=Object.keys(dg),yg=class extends ug{constructor(e,t,n,r){let i=-1;if(super(e,t),bg(this,`space`,r),typeof n==`number`)for(;++i<vg.length;){let e=vg[i];bg(this,vg[i],(n&dg[e])===dg[e])}}};yg.prototype.defined=!0;function bg(e,t,n){n&&(e[t]=n)}function xg(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new yg(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[lg(r)]=r,n[lg(a.attribute)]=r}return new sg(t,n,e.space)}var Sg=xg({properties:{ariaActiveDescendant:null,ariaAtomic:pg,ariaAutoComplete:null,ariaBusy:pg,ariaChecked:pg,ariaColCount:q,ariaColIndex:q,ariaColSpan:q,ariaControls:J,ariaCurrent:null,ariaDescribedBy:J,ariaDetails:null,ariaDisabled:pg,ariaDropEffect:J,ariaErrorMessage:null,ariaExpanded:pg,ariaFlowTo:J,ariaGrabbed:pg,ariaHasPopup:null,ariaHidden:pg,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:J,ariaLevel:q,ariaLive:null,ariaModal:pg,ariaMultiLine:pg,ariaMultiSelectable:pg,ariaOrientation:null,ariaOwns:J,ariaPlaceholder:null,ariaPosInSet:q,ariaPressed:pg,ariaReadOnly:pg,ariaRelevant:null,ariaRequired:pg,ariaRoleDescription:J,ariaRowCount:q,ariaRowIndex:q,ariaRowSpan:q,ariaSelected:pg,ariaSetSize:q,ariaSort:null,ariaValueMax:q,ariaValueMin:q,ariaValueNow:q,ariaValueText:null,role:null},transform(e,t){return t===`role`?t:`aria-`+t.slice(4).toLowerCase()}});function Cg(e,t){return t in e?e[t]:t}function wg(e,t){return Cg(e,t.toLowerCase())}var Tg=xg({attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:hg,acceptCharset:J,accessKey:J,action:null,allow:null,allowFullScreen:K,allowPaymentRequest:K,allowUserMedia:K,alt:null,as:null,async:K,autoCapitalize:null,autoComplete:J,autoFocus:K,autoPlay:K,blocking:J,capture:null,charSet:null,checked:K,cite:null,className:J,cols:q,colSpan:null,content:null,contentEditable:pg,controls:K,controlsList:J,coords:q|hg,crossOrigin:null,data:null,dateTime:null,decoding:null,default:K,defer:K,dir:null,dirName:null,disabled:K,download:mg,draggable:pg,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:K,formTarget:null,headers:J,height:q,hidden:mg,high:q,href:null,hrefLang:null,htmlFor:J,httpEquiv:J,id:null,imageSizes:null,imageSrcSet:null,inert:K,inputMode:null,integrity:null,is:null,isMap:K,itemId:null,itemProp:J,itemRef:J,itemScope:K,itemType:J,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:K,low:q,manifest:null,max:null,maxLength:q,media:null,method:null,min:null,minLength:q,multiple:K,muted:K,name:null,nonce:null,noModule:K,noValidate:K,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle: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,onScrollEnd: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:K,optimum:q,pattern:null,ping:J,placeholder:null,playsInline:K,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:K,referrerPolicy:null,rel:J,required:K,reversed:K,rows:q,rowSpan:q,sandbox:J,scope:null,scoped:K,seamless:K,selected:K,shadowRootClonable:K,shadowRootDelegatesFocus:K,shadowRootMode:null,shape:null,size:q,sizes:null,slot:null,span:q,spellCheck:pg,src:null,srcDoc:null,srcLang:null,srcSet:null,start:q,step:null,style:null,tabIndex:q,target:null,title:null,translate:null,type:null,typeMustMatch:K,useMap:null,value:pg,width:q,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:J,axis:null,background:null,bgColor:null,border:q,borderColor:null,bottomMargin:q,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:K,declare:K,event:null,face:null,frame:null,frameBorder:null,hSpace:q,leftMargin:q,link:null,longDesc:null,lowSrc:null,marginHeight:q,marginWidth:q,noResize:K,noHref:K,noShade:K,noWrap:K,object:null,profile:null,prompt:null,rev:null,rightMargin:q,rules:null,scheme:null,scrolling:pg,standby:null,summary:null,text:null,topMargin:q,valueType:null,version:null,vAlign:null,vLink:null,vSpace:q,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:K,disableRemotePlayback:K,prefix:null,property:null,results:q,security:null,unselectable:null},space:`html`,transform:wg}),Eg=xg({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`,transformOrigin:`transform-origin`,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`},properties:{about:gg,accentHeight:q,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:q,amplitude:q,arabicForm:null,ascent:q,attributeName:null,attributeType:null,azimuth:q,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:q,by:null,calcMode:null,capHeight:q,className:J,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:q,diffuseConstant:q,direction:null,display:null,dur:null,divisor:q,dominantBaseline:null,download:K,dx:null,dy:null,edgeMode:null,editable:null,elevation:q,enableBackground:null,end:null,event:null,exponent:q,externalResourcesRequired:null,fill:null,fillOpacity:q,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:hg,g2:hg,glyphName:hg,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:q,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:q,horizOriginX:q,horizOriginY:q,id:null,ideographic:q,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:q,k:q,k1:q,k2:q,k3:q,k4:q,kernelMatrix:gg,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:q,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:q,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:q,overlineThickness:q,paintOrder:null,panose1:null,path:null,pathLength:q,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:J,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:q,pointsAtY:q,pointsAtZ:q,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:gg,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:gg,rev:gg,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:gg,requiredFeatures:gg,requiredFonts:gg,requiredFormats:gg,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:q,specularExponent:q,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:q,strikethroughThickness:q,string:null,stroke:null,strokeDashArray:gg,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:q,strokeOpacity:q,strokeWidth:null,style:null,surfaceScale:q,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:gg,tabIndex:q,tableValues:null,target:null,targetX:q,targetY:q,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:gg,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:q,underlineThickness:q,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:q,values:null,vAlphabetic:q,vMathematical:q,vectorEffect:null,vHanging:q,vIdeographic:q,version:null,vertAdvY:q,vertOriginX:q,vertOriginY:q,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:q,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:`svg`,transform:Cg}),Dg=xg({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:`xlink`,transform(e,t){return`xlink:`+t.slice(5).toLowerCase()}}),Og=xg({attributes:{xmlnsxlink:`xmlns:xlink`},properties:{xmlnsXLink:null,xmlns:null},space:`xmlns`,transform:wg}),kg=xg({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()}}),Ag={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`},jg=/[A-Z]/g,Mg=/-[a-z]/g,Ng=/^data[-\w.:]+$/i;function Pg(e,t){let n=lg(t),r=t,i=ug;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&Ng.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(Mg,Ig);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!Mg.test(e)){let n=e.replace(jg,Fg);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=yg}return new i(r,t)}function Fg(e){return`-`+e.toLowerCase()}function Ig(e){return e.charAt(1).toUpperCase()}var Lg=cg([Sg,Tg,Dg,Og,kg],`html`),Rg=cg([Sg,Eg,Dg,Og,kg],`svg`);function zg(e){return e.join(` `).trim()}var Bg=u(((e,t)=>{var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,i=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,l=/^\s+|\s+$/g,u=`
|
|
262
|
+
`,d=`/`,f=`*`,p=``,m=`comment`,h=`declaration`;function g(e,t){if(typeof e!=`string`)throw TypeError(`First argument must be a string`);if(!e)return[];t=t||{};var l=1,g=1;function v(e){var t=e.match(r);t&&(l+=t.length);var n=e.lastIndexOf(u);g=~n?e.length-n:g+e.length}function y(){var e={line:l,column:g};return function(t){return t.position=new b(e),C(),t}}function b(e){this.start=e,this.end={line:l,column:g},this.source=t.source}b.prototype.content=e;function x(n){var r=Error(t.source+`:`+l+`:`+g+`: `+n);if(r.reason=n,r.filename=t.source,r.line=l,r.column=g,r.source=e,!t.silent)throw r}function S(t){var n=t.exec(e);if(n){var r=n[0];return v(r),e=e.slice(r.length),n}}function C(){S(i)}function w(e){var t;for(e=e||[];t=T();)t!==!1&&e.push(t);return e}function T(){var t=y();if(!(d!=e.charAt(0)||f!=e.charAt(1))){for(var n=2;p!=e.charAt(n)&&(f!=e.charAt(n)||d!=e.charAt(n+1));)++n;if(n+=2,p===e.charAt(n-1))return x(`End of comment missing`);var r=e.slice(2,n-2);return g+=2,v(r),e=e.slice(n),g+=2,t({type:m,comment:r})}}function E(){var e=y(),t=S(a);if(t){if(T(),!S(o))return x(`property missing ':'`);var r=S(s),i=e({type:h,property:_(t[0].replace(n,p)),value:r?_(r[0].replace(n,p)):p});return S(c),i}}function ee(){var e=[];w(e);for(var t;t=E();)t!==!1&&(e.push(t),w(e));return e}return C(),ee()}function _(e){return e?e.replace(l,p):p}t.exports=g})),Vg=u((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.default=r;var n=t(Bg());function r(e,t){let r=null;if(!e||typeof e!=`string`)return r;let i=(0,n.default)(e),a=typeof t==`function`;return i.forEach(e=>{if(e.type!==`declaration`)return;let{property:n,value:i}=e;a?t(n,i,e):i&&(r=r||{},r[n]=i)}),r}})),Hg=u((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.camelCase=void 0;var t=/^--[a-zA-Z0-9_-]+$/,n=/-([a-z])/g,r=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,o=function(e){return!e||r.test(e)||t.test(e)},s=function(e,t){return t.toUpperCase()},c=function(e,t){return`${t}-`};e.camelCase=function(e,t){return t===void 0&&(t={}),o(e)?e:(e=e.toLowerCase(),e=t.reactCompat?e.replace(a,c):e.replace(i,c),e.replace(n,s))}})),Ug=u(((e,t)=>{var n=(e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(Vg()),r=Hg();function i(e,t){var i={};return!e||typeof e!=`string`||(0,n.default)(e,function(e,n){e&&n&&(i[(0,r.camelCase)(e,t)]=n)}),i}i.default=i,t.exports=i})),Wg=Kg(`end`),Gg=Kg(`start`);function Kg(e){return t;function t(t){let n=t&&t.position&&t.position[e]||{};if(typeof n.line==`number`&&n.line>0&&typeof n.column==`number`&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset==`number`&&n.offset>-1?n.offset:void 0}}}function qg(e){let t=Gg(e),n=Wg(e);if(t&&n)return{start:t,end:n}}function Jg(e){return!e||typeof e!=`object`?``:`position`in e||`type`in e?Xg(e.position):`start`in e||`end`in e?Xg(e):`line`in e||`column`in e?Yg(e):``}function Yg(e){return Zg(e&&e.line)+`:`+Zg(e&&e.column)}function Xg(e){return Yg(e&&e.start)+`-`+Yg(e&&e.end)}function Zg(e){return e&&typeof e==`number`?e:1}var Qg=class extends Error{constructor(e,t,n){super(),typeof t==`string`&&(n=t,t=void 0);let r=``,i={},a=!1;if(t&&(i=`line`in t&&`column`in t||`start`in t&&`end`in t?{place:t}:`type`in t?{ancestors:[t],place:t.position}:{...t}),typeof e==`string`?r=e:!i.cause&&e&&(a=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&typeof n==`string`){let e=n.indexOf(`:`);e===-1?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let o=i.place&&`start`in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file=``,this.message=r,this.line=o?o.line:void 0,this.name=Jg(i.place)||`1:1`,this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&typeof i.cause.stack==`string`?i.cause.stack:``,this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};Qg.prototype.file=``,Qg.prototype.name=``,Qg.prototype.reason=``,Qg.prototype.message=``,Qg.prototype.stack=``,Qg.prototype.column=void 0,Qg.prototype.line=void 0,Qg.prototype.ancestors=void 0,Qg.prototype.cause=void 0,Qg.prototype.fatal=void 0,Qg.prototype.place=void 0,Qg.prototype.ruleId=void 0,Qg.prototype.source=void 0;var $g=s(Ug(),1),e_={}.hasOwnProperty,t_=new Map,n_=/[A-Z]/g,r_=new Set([`table`,`tbody`,`thead`,`tfoot`,`tr`]),i_=new Set([`td`,`th`]),a_=`https://github.com/syntax-tree/hast-util-to-jsx-runtime`;function o_(e,t){if(!t||t.Fragment===void 0)throw TypeError("Expected `Fragment` in options");let n=t.filePath||void 0,r;if(t.development){if(typeof t.jsxDEV!=`function`)throw TypeError("Expected `jsxDEV` in options when `development: true`");r=__(n,t.jsxDEV)}else{if(typeof t.jsx!=`function`)throw TypeError("Expected `jsx` in production options");if(typeof t.jsxs!=`function`)throw TypeError("Expected `jsxs` in production options");r=g_(n,t.jsx,t.jsxs)}let i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||`react`,evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space===`svg`?Rg:Lg,stylePropertyNameCase:t.stylePropertyNameCase||`dom`,tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=s_(i,e,void 0);return a&&typeof a!=`string`?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function s_(e,t,n){if(t.type===`element`)return c_(e,t,n);if(t.type===`mdxFlowExpression`||t.type===`mdxTextExpression`)return l_(e,t);if(t.type===`mdxJsxFlowElement`||t.type===`mdxJsxTextElement`)return d_(e,t,n);if(t.type===`mdxjsEsm`)return u_(e,t);if(t.type===`root`)return f_(e,t,n);if(t.type===`text`)return p_(e,t)}function c_(e,t,n){let r=e.schema,i=r;t.tagName.toLowerCase()===`svg`&&r.space===`html`&&(i=Rg,e.schema=i),e.ancestors.push(t);let a=C_(e,t.tagName,!1),o=v_(e,t),s=b_(e,t);return r_.has(t.tagName)&&(s=s.filter(function(e){return typeof e==`string`?!ag(e):!0})),m_(e,o,a,t),h_(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function l_(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}w_(e,t.position)}function u_(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);w_(e,t.position)}function d_(e,t,n){let r=e.schema,i=r;t.name===`svg`&&r.space===`html`&&(i=Rg,e.schema=i),e.ancestors.push(t);let a=t.name===null?e.Fragment:C_(e,t.name,!0),o=y_(e,t),s=b_(e,t);return m_(e,o,a,t),h_(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function f_(e,t,n){let r={};return h_(r,b_(e,t)),e.create(t,e.Fragment,r,n)}function p_(e,t){return t.value}function m_(e,t,n,r){typeof n!=`string`&&n!==e.Fragment&&e.passNode&&(t.node=r)}function h_(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function g_(e,t,n){return r;function r(e,r,i,a){let o=Array.isArray(i.children)?n:t;return a?o(r,i,a):o(r,i)}}function __(e,t){return n;function n(n,r,i,a){let o=Array.isArray(i.children),s=Gg(n);return t(r,i,a,o,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}function v_(e,t){let n={},r,i;for(i in t.properties)if(i!==`children`&&e_.call(t.properties,i)){let a=x_(e,i,t.properties[i]);if(a){let[i,o]=a;e.tableCellAlignToStyle&&i===`align`&&typeof o==`string`&&i_.has(t.tagName)?r=o:n[i]=o}}if(r){let t=n.style||(n.style={});t[e.stylePropertyNameCase===`css`?`text-align`:`textAlign`]=r}return n}function y_(e,t){let n={};for(let r of t.attributes)if(r.type===`mdxJsxExpressionAttribute`)if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];t.type;let i=t.expression;i.type;let a=i.properties[0];a.type,Object.assign(n,e.evaluater.evaluateExpression(a.argument))}else w_(e,t.position);else{let i=r.name,a;if(r.value&&typeof r.value==`object`)if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];t.type,a=e.evaluater.evaluateExpression(t.expression)}else w_(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function b_(e,t){let n=[],r=-1,i=e.passKeys?new Map:t_;for(;++r<t.children.length;){let a=t.children[r],o;if(e.passKeys){let e=a.type===`element`?a.tagName:a.type===`mdxJsxFlowElement`||a.type===`mdxJsxTextElement`?a.name:void 0;if(e){let t=i.get(e)||0;o=e+`-`+t,i.set(e,t+1)}}let s=s_(e,a,o);s!==void 0&&n.push(s)}return n}function x_(e,t,n){let r=Pg(e.schema,t);if(!(n==null||typeof n==`number`&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?$h(n):zg(n)),r.property===`style`){let t=typeof n==`object`?n:S_(e,String(n));return e.stylePropertyNameCase===`css`&&(t=T_(t)),[`style`,t]}return[e.elementAttributeNameCase===`react`&&r.space?Ag[r.property]||r.property:r.attribute,n]}}function S_(e,t){try{return(0,$g.default)(t,{reactCompat:!0})}catch(t){if(e.ignoreInvalidStyle)return{};let n=t,r=new Qg("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:`style`,source:`hast-util-to-jsx-runtime`});throw r.file=e.filePath||void 0,r.url=a_+`#cannot-parse-style-attribute`,r}}function C_(e,t,n){let r;if(!n)r={type:`Literal`,value:t};else if(t.includes(`.`)){let e=t.split(`.`),n=-1,i;for(;++n<e.length;){let t=rg(e[n])?{type:`Identifier`,name:e[n]}:{type:`Literal`,value:e[n]};i=i?{type:`MemberExpression`,object:i,property:t,computed:!!(n&&t.type===`Literal`),optional:!1}:t}r=i}else r=rg(t)&&!/^[a-z]/.test(t)?{type:`Identifier`,name:t}:{type:`Literal`,value:t};if(r.type===`Literal`){let t=r.value;return e_.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);w_(e)}function w_(e,t){let n=new Qg("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:`mdx-estree`,source:`hast-util-to-jsx-runtime`});throw n.file=e.filePath||void 0,n.url=a_+`#cannot-handle-mdx-estrees-without-createevaluater`,n}function T_(e){let t={},n;for(n in e)e_.call(e,n)&&(t[E_(n)]=e[n]);return t}function E_(e){let t=e.replace(n_,D_);return t.slice(0,3)===`ms-`&&(t=`-`+t),t}function D_(e){return`-`+e.toLowerCase()}var O_={action:[`form`],cite:[`blockquote`,`del`,`ins`,`q`],data:[`object`],formAction:[`button`,`input`],href:[`a`,`area`,`base`,`link`],icon:[`menuitem`],itemId:null,manifest:[`html`],ping:[`a`,`area`],poster:[`video`],src:[`audio`,`embed`,`iframe`,`img`,`input`,`script`,`source`,`track`,`video`]},k_={};function A_(e,t){let n=t||k_;return j_(e,typeof n.includeImageAlt==`boolean`?n.includeImageAlt:!0,typeof n.includeHtml==`boolean`?n.includeHtml:!0)}function j_(e,t,n){if(N_(e)){if(`value`in e)return e.type===`html`&&!n?``:e.value;if(t&&`alt`in e&&e.alt)return e.alt;if(`children`in e)return M_(e.children,t,n)}return Array.isArray(e)?M_(e,t,n):``}function M_(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=j_(e[i],t,n);return r.join(``)}function N_(e){return!!(e&&typeof e==`object`)}var P_={AElig:`Æ`,AMP:`&`,Aacute:`Á`,Abreve:`Ă`,Acirc:`Â`,Acy:`А`,Afr:`𝔄`,Agrave:`À`,Alpha:`Α`,Amacr:`Ā`,And:`⩓`,Aogon:`Ą`,Aopf:`𝔸`,ApplyFunction:``,Aring:`Å`,Ascr:`𝒜`,Assign:`≔`,Atilde:`Ã`,Auml:`Ä`,Backslash:`∖`,Barv:`⫧`,Barwed:`⌆`,Bcy:`Б`,Because:`∵`,Bernoullis:`ℬ`,Beta:`Β`,Bfr:`𝔅`,Bopf:`𝔹`,Breve:`˘`,Bscr:`ℬ`,Bumpeq:`≎`,CHcy:`Ч`,COPY:`©`,Cacute:`Ć`,Cap:`⋒`,CapitalDifferentialD:`ⅅ`,Cayleys:`ℭ`,Ccaron:`Č`,Ccedil:`Ç`,Ccirc:`Ĉ`,Cconint:`∰`,Cdot:`Ċ`,Cedilla:`¸`,CenterDot:`·`,Cfr:`ℭ`,Chi:`Χ`,CircleDot:`⊙`,CircleMinus:`⊖`,CirclePlus:`⊕`,CircleTimes:`⊗`,ClockwiseContourIntegral:`∲`,CloseCurlyDoubleQuote:`”`,CloseCurlyQuote:`’`,Colon:`∷`,Colone:`⩴`,Congruent:`≡`,Conint:`∯`,ContourIntegral:`∮`,Copf:`ℂ`,Coproduct:`∐`,CounterClockwiseContourIntegral:`∳`,Cross:`⨯`,Cscr:`𝒞`,Cup:`⋓`,CupCap:`≍`,DD:`ⅅ`,DDotrahd:`⤑`,DJcy:`Ђ`,DScy:`Ѕ`,DZcy:`Џ`,Dagger:`‡`,Darr:`↡`,Dashv:`⫤`,Dcaron:`Ď`,Dcy:`Д`,Del:`∇`,Delta:`Δ`,Dfr:`𝔇`,DiacriticalAcute:`´`,DiacriticalDot:`˙`,DiacriticalDoubleAcute:`˝`,DiacriticalGrave:"`",DiacriticalTilde:`˜`,Diamond:`⋄`,DifferentialD:`ⅆ`,Dopf:`𝔻`,Dot:`¨`,DotDot:`⃜`,DotEqual:`≐`,DoubleContourIntegral:`∯`,DoubleDot:`¨`,DoubleDownArrow:`⇓`,DoubleLeftArrow:`⇐`,DoubleLeftRightArrow:`⇔`,DoubleLeftTee:`⫤`,DoubleLongLeftArrow:`⟸`,DoubleLongLeftRightArrow:`⟺`,DoubleLongRightArrow:`⟹`,DoubleRightArrow:`⇒`,DoubleRightTee:`⊨`,DoubleUpArrow:`⇑`,DoubleUpDownArrow:`⇕`,DoubleVerticalBar:`∥`,DownArrow:`↓`,DownArrowBar:`⤓`,DownArrowUpArrow:`⇵`,DownBreve:`̑`,DownLeftRightVector:`⥐`,DownLeftTeeVector:`⥞`,DownLeftVector:`↽`,DownLeftVectorBar:`⥖`,DownRightTeeVector:`⥟`,DownRightVector:`⇁`,DownRightVectorBar:`⥗`,DownTee:`⊤`,DownTeeArrow:`↧`,Downarrow:`⇓`,Dscr:`𝒟`,Dstrok:`Đ`,ENG:`Ŋ`,ETH:`Ð`,Eacute:`É`,Ecaron:`Ě`,Ecirc:`Ê`,Ecy:`Э`,Edot:`Ė`,Efr:`𝔈`,Egrave:`È`,Element:`∈`,Emacr:`Ē`,EmptySmallSquare:`◻`,EmptyVerySmallSquare:`▫`,Eogon:`Ę`,Eopf:`𝔼`,Epsilon:`Ε`,Equal:`⩵`,EqualTilde:`≂`,Equilibrium:`⇌`,Escr:`ℰ`,Esim:`⩳`,Eta:`Η`,Euml:`Ë`,Exists:`∃`,ExponentialE:`ⅇ`,Fcy:`Ф`,Ffr:`𝔉`,FilledSmallSquare:`◼`,FilledVerySmallSquare:`▪`,Fopf:`𝔽`,ForAll:`∀`,Fouriertrf:`ℱ`,Fscr:`ℱ`,GJcy:`Ѓ`,GT:`>`,Gamma:`Γ`,Gammad:`Ϝ`,Gbreve:`Ğ`,Gcedil:`Ģ`,Gcirc:`Ĝ`,Gcy:`Г`,Gdot:`Ġ`,Gfr:`𝔊`,Gg:`⋙`,Gopf:`𝔾`,GreaterEqual:`≥`,GreaterEqualLess:`⋛`,GreaterFullEqual:`≧`,GreaterGreater:`⪢`,GreaterLess:`≷`,GreaterSlantEqual:`⩾`,GreaterTilde:`≳`,Gscr:`𝒢`,Gt:`≫`,HARDcy:`Ъ`,Hacek:`ˇ`,Hat:`^`,Hcirc:`Ĥ`,Hfr:`ℌ`,HilbertSpace:`ℋ`,Hopf:`ℍ`,HorizontalLine:`─`,Hscr:`ℋ`,Hstrok:`Ħ`,HumpDownHump:`≎`,HumpEqual:`≏`,IEcy:`Е`,IJlig:`IJ`,IOcy:`Ё`,Iacute:`Í`,Icirc:`Î`,Icy:`И`,Idot:`İ`,Ifr:`ℑ`,Igrave:`Ì`,Im:`ℑ`,Imacr:`Ī`,ImaginaryI:`ⅈ`,Implies:`⇒`,Int:`∬`,Integral:`∫`,Intersection:`⋂`,InvisibleComma:``,InvisibleTimes:``,Iogon:`Į`,Iopf:`𝕀`,Iota:`Ι`,Iscr:`ℐ`,Itilde:`Ĩ`,Iukcy:`І`,Iuml:`Ï`,Jcirc:`Ĵ`,Jcy:`Й`,Jfr:`𝔍`,Jopf:`𝕁`,Jscr:`𝒥`,Jsercy:`Ј`,Jukcy:`Є`,KHcy:`Х`,KJcy:`Ќ`,Kappa:`Κ`,Kcedil:`Ķ`,Kcy:`К`,Kfr:`𝔎`,Kopf:`𝕂`,Kscr:`𝒦`,LJcy:`Љ`,LT:`<`,Lacute:`Ĺ`,Lambda:`Λ`,Lang:`⟪`,Laplacetrf:`ℒ`,Larr:`↞`,Lcaron:`Ľ`,Lcedil:`Ļ`,Lcy:`Л`,LeftAngleBracket:`⟨`,LeftArrow:`←`,LeftArrowBar:`⇤`,LeftArrowRightArrow:`⇆`,LeftCeiling:`⌈`,LeftDoubleBracket:`⟦`,LeftDownTeeVector:`⥡`,LeftDownVector:`⇃`,LeftDownVectorBar:`⥙`,LeftFloor:`⌊`,LeftRightArrow:`↔`,LeftRightVector:`⥎`,LeftTee:`⊣`,LeftTeeArrow:`↤`,LeftTeeVector:`⥚`,LeftTriangle:`⊲`,LeftTriangleBar:`⧏`,LeftTriangleEqual:`⊴`,LeftUpDownVector:`⥑`,LeftUpTeeVector:`⥠`,LeftUpVector:`↿`,LeftUpVectorBar:`⥘`,LeftVector:`↼`,LeftVectorBar:`⥒`,Leftarrow:`⇐`,Leftrightarrow:`⇔`,LessEqualGreater:`⋚`,LessFullEqual:`≦`,LessGreater:`≶`,LessLess:`⪡`,LessSlantEqual:`⩽`,LessTilde:`≲`,Lfr:`𝔏`,Ll:`⋘`,Lleftarrow:`⇚`,Lmidot:`Ŀ`,LongLeftArrow:`⟵`,LongLeftRightArrow:`⟷`,LongRightArrow:`⟶`,Longleftarrow:`⟸`,Longleftrightarrow:`⟺`,Longrightarrow:`⟹`,Lopf:`𝕃`,LowerLeftArrow:`↙`,LowerRightArrow:`↘`,Lscr:`ℒ`,Lsh:`↰`,Lstrok:`Ł`,Lt:`≪`,Map:`⤅`,Mcy:`М`,MediumSpace:` `,Mellintrf:`ℳ`,Mfr:`𝔐`,MinusPlus:`∓`,Mopf:`𝕄`,Mscr:`ℳ`,Mu:`Μ`,NJcy:`Њ`,Nacute:`Ń`,Ncaron:`Ň`,Ncedil:`Ņ`,Ncy:`Н`,NegativeMediumSpace:``,NegativeThickSpace:``,NegativeThinSpace:``,NegativeVeryThinSpace:``,NestedGreaterGreater:`≫`,NestedLessLess:`≪`,NewLine:`
|
|
263
|
+
`,Nfr:`𝔑`,NoBreak:``,NonBreakingSpace:`\xA0`,Nopf:`ℕ`,Not:`⫬`,NotCongruent:`≢`,NotCupCap:`≭`,NotDoubleVerticalBar:`∦`,NotElement:`∉`,NotEqual:`≠`,NotEqualTilde:`≂̸`,NotExists:`∄`,NotGreater:`≯`,NotGreaterEqual:`≱`,NotGreaterFullEqual:`≧̸`,NotGreaterGreater:`≫̸`,NotGreaterLess:`≹`,NotGreaterSlantEqual:`⩾̸`,NotGreaterTilde:`≵`,NotHumpDownHump:`≎̸`,NotHumpEqual:`≏̸`,NotLeftTriangle:`⋪`,NotLeftTriangleBar:`⧏̸`,NotLeftTriangleEqual:`⋬`,NotLess:`≮`,NotLessEqual:`≰`,NotLessGreater:`≸`,NotLessLess:`≪̸`,NotLessSlantEqual:`⩽̸`,NotLessTilde:`≴`,NotNestedGreaterGreater:`⪢̸`,NotNestedLessLess:`⪡̸`,NotPrecedes:`⊀`,NotPrecedesEqual:`⪯̸`,NotPrecedesSlantEqual:`⋠`,NotReverseElement:`∌`,NotRightTriangle:`⋫`,NotRightTriangleBar:`⧐̸`,NotRightTriangleEqual:`⋭`,NotSquareSubset:`⊏̸`,NotSquareSubsetEqual:`⋢`,NotSquareSuperset:`⊐̸`,NotSquareSupersetEqual:`⋣`,NotSubset:`⊂⃒`,NotSubsetEqual:`⊈`,NotSucceeds:`⊁`,NotSucceedsEqual:`⪰̸`,NotSucceedsSlantEqual:`⋡`,NotSucceedsTilde:`≿̸`,NotSuperset:`⊃⃒`,NotSupersetEqual:`⊉`,NotTilde:`≁`,NotTildeEqual:`≄`,NotTildeFullEqual:`≇`,NotTildeTilde:`≉`,NotVerticalBar:`∤`,Nscr:`𝒩`,Ntilde:`Ñ`,Nu:`Ν`,OElig:`Œ`,Oacute:`Ó`,Ocirc:`Ô`,Ocy:`О`,Odblac:`Ő`,Ofr:`𝔒`,Ograve:`Ò`,Omacr:`Ō`,Omega:`Ω`,Omicron:`Ο`,Oopf:`𝕆`,OpenCurlyDoubleQuote:`“`,OpenCurlyQuote:`‘`,Or:`⩔`,Oscr:`𝒪`,Oslash:`Ø`,Otilde:`Õ`,Otimes:`⨷`,Ouml:`Ö`,OverBar:`‾`,OverBrace:`⏞`,OverBracket:`⎴`,OverParenthesis:`⏜`,PartialD:`∂`,Pcy:`П`,Pfr:`𝔓`,Phi:`Φ`,Pi:`Π`,PlusMinus:`±`,Poincareplane:`ℌ`,Popf:`ℙ`,Pr:`⪻`,Precedes:`≺`,PrecedesEqual:`⪯`,PrecedesSlantEqual:`≼`,PrecedesTilde:`≾`,Prime:`″`,Product:`∏`,Proportion:`∷`,Proportional:`∝`,Pscr:`𝒫`,Psi:`Ψ`,QUOT:`"`,Qfr:`𝔔`,Qopf:`ℚ`,Qscr:`𝒬`,RBarr:`⤐`,REG:`®`,Racute:`Ŕ`,Rang:`⟫`,Rarr:`↠`,Rarrtl:`⤖`,Rcaron:`Ř`,Rcedil:`Ŗ`,Rcy:`Р`,Re:`ℜ`,ReverseElement:`∋`,ReverseEquilibrium:`⇋`,ReverseUpEquilibrium:`⥯`,Rfr:`ℜ`,Rho:`Ρ`,RightAngleBracket:`⟩`,RightArrow:`→`,RightArrowBar:`⇥`,RightArrowLeftArrow:`⇄`,RightCeiling:`⌉`,RightDoubleBracket:`⟧`,RightDownTeeVector:`⥝`,RightDownVector:`⇂`,RightDownVectorBar:`⥕`,RightFloor:`⌋`,RightTee:`⊢`,RightTeeArrow:`↦`,RightTeeVector:`⥛`,RightTriangle:`⊳`,RightTriangleBar:`⧐`,RightTriangleEqual:`⊵`,RightUpDownVector:`⥏`,RightUpTeeVector:`⥜`,RightUpVector:`↾`,RightUpVectorBar:`⥔`,RightVector:`⇀`,RightVectorBar:`⥓`,Rightarrow:`⇒`,Ropf:`ℝ`,RoundImplies:`⥰`,Rrightarrow:`⇛`,Rscr:`ℛ`,Rsh:`↱`,RuleDelayed:`⧴`,SHCHcy:`Щ`,SHcy:`Ш`,SOFTcy:`Ь`,Sacute:`Ś`,Sc:`⪼`,Scaron:`Š`,Scedil:`Ş`,Scirc:`Ŝ`,Scy:`С`,Sfr:`𝔖`,ShortDownArrow:`↓`,ShortLeftArrow:`←`,ShortRightArrow:`→`,ShortUpArrow:`↑`,Sigma:`Σ`,SmallCircle:`∘`,Sopf:`𝕊`,Sqrt:`√`,Square:`□`,SquareIntersection:`⊓`,SquareSubset:`⊏`,SquareSubsetEqual:`⊑`,SquareSuperset:`⊐`,SquareSupersetEqual:`⊒`,SquareUnion:`⊔`,Sscr:`𝒮`,Star:`⋆`,Sub:`⋐`,Subset:`⋐`,SubsetEqual:`⊆`,Succeeds:`≻`,SucceedsEqual:`⪰`,SucceedsSlantEqual:`≽`,SucceedsTilde:`≿`,SuchThat:`∋`,Sum:`∑`,Sup:`⋑`,Superset:`⊃`,SupersetEqual:`⊇`,Supset:`⋑`,THORN:`Þ`,TRADE:`™`,TSHcy:`Ћ`,TScy:`Ц`,Tab:` `,Tau:`Τ`,Tcaron:`Ť`,Tcedil:`Ţ`,Tcy:`Т`,Tfr:`𝔗`,Therefore:`∴`,Theta:`Θ`,ThickSpace:` `,ThinSpace:` `,Tilde:`∼`,TildeEqual:`≃`,TildeFullEqual:`≅`,TildeTilde:`≈`,Topf:`𝕋`,TripleDot:`⃛`,Tscr:`𝒯`,Tstrok:`Ŧ`,Uacute:`Ú`,Uarr:`↟`,Uarrocir:`⥉`,Ubrcy:`Ў`,Ubreve:`Ŭ`,Ucirc:`Û`,Ucy:`У`,Udblac:`Ű`,Ufr:`𝔘`,Ugrave:`Ù`,Umacr:`Ū`,UnderBar:`_`,UnderBrace:`⏟`,UnderBracket:`⎵`,UnderParenthesis:`⏝`,Union:`⋃`,UnionPlus:`⊎`,Uogon:`Ų`,Uopf:`𝕌`,UpArrow:`↑`,UpArrowBar:`⤒`,UpArrowDownArrow:`⇅`,UpDownArrow:`↕`,UpEquilibrium:`⥮`,UpTee:`⊥`,UpTeeArrow:`↥`,Uparrow:`⇑`,Updownarrow:`⇕`,UpperLeftArrow:`↖`,UpperRightArrow:`↗`,Upsi:`ϒ`,Upsilon:`Υ`,Uring:`Ů`,Uscr:`𝒰`,Utilde:`Ũ`,Uuml:`Ü`,VDash:`⊫`,Vbar:`⫫`,Vcy:`В`,Vdash:`⊩`,Vdashl:`⫦`,Vee:`⋁`,Verbar:`‖`,Vert:`‖`,VerticalBar:`∣`,VerticalLine:`|`,VerticalSeparator:`❘`,VerticalTilde:`≀`,VeryThinSpace:` `,Vfr:`𝔙`,Vopf:`𝕍`,Vscr:`𝒱`,Vvdash:`⊪`,Wcirc:`Ŵ`,Wedge:`⋀`,Wfr:`𝔚`,Wopf:`𝕎`,Wscr:`𝒲`,Xfr:`𝔛`,Xi:`Ξ`,Xopf:`𝕏`,Xscr:`𝒳`,YAcy:`Я`,YIcy:`Ї`,YUcy:`Ю`,Yacute:`Ý`,Ycirc:`Ŷ`,Ycy:`Ы`,Yfr:`𝔜`,Yopf:`𝕐`,Yscr:`𝒴`,Yuml:`Ÿ`,ZHcy:`Ж`,Zacute:`Ź`,Zcaron:`Ž`,Zcy:`З`,Zdot:`Ż`,ZeroWidthSpace:``,Zeta:`Ζ`,Zfr:`ℨ`,Zopf:`ℤ`,Zscr:`𝒵`,aacute:`á`,abreve:`ă`,ac:`∾`,acE:`∾̳`,acd:`∿`,acirc:`â`,acute:`´`,acy:`а`,aelig:`æ`,af:``,afr:`𝔞`,agrave:`à`,alefsym:`ℵ`,aleph:`ℵ`,alpha:`α`,amacr:`ā`,amalg:`⨿`,amp:`&`,and:`∧`,andand:`⩕`,andd:`⩜`,andslope:`⩘`,andv:`⩚`,ang:`∠`,ange:`⦤`,angle:`∠`,angmsd:`∡`,angmsdaa:`⦨`,angmsdab:`⦩`,angmsdac:`⦪`,angmsdad:`⦫`,angmsdae:`⦬`,angmsdaf:`⦭`,angmsdag:`⦮`,angmsdah:`⦯`,angrt:`∟`,angrtvb:`⊾`,angrtvbd:`⦝`,angsph:`∢`,angst:`Å`,angzarr:`⍼`,aogon:`ą`,aopf:`𝕒`,ap:`≈`,apE:`⩰`,apacir:`⩯`,ape:`≊`,apid:`≋`,apos:`'`,approx:`≈`,approxeq:`≊`,aring:`å`,ascr:`𝒶`,ast:`*`,asymp:`≈`,asympeq:`≍`,atilde:`ã`,auml:`ä`,awconint:`∳`,awint:`⨑`,bNot:`⫭`,backcong:`≌`,backepsilon:`϶`,backprime:`‵`,backsim:`∽`,backsimeq:`⋍`,barvee:`⊽`,barwed:`⌅`,barwedge:`⌅`,bbrk:`⎵`,bbrktbrk:`⎶`,bcong:`≌`,bcy:`б`,bdquo:`„`,becaus:`∵`,because:`∵`,bemptyv:`⦰`,bepsi:`϶`,bernou:`ℬ`,beta:`β`,beth:`ℶ`,between:`≬`,bfr:`𝔟`,bigcap:`⋂`,bigcirc:`◯`,bigcup:`⋃`,bigodot:`⨀`,bigoplus:`⨁`,bigotimes:`⨂`,bigsqcup:`⨆`,bigstar:`★`,bigtriangledown:`▽`,bigtriangleup:`△`,biguplus:`⨄`,bigvee:`⋁`,bigwedge:`⋀`,bkarow:`⤍`,blacklozenge:`⧫`,blacksquare:`▪`,blacktriangle:`▴`,blacktriangledown:`▾`,blacktriangleleft:`◂`,blacktriangleright:`▸`,blank:`␣`,blk12:`▒`,blk14:`░`,blk34:`▓`,block:`█`,bne:`=⃥`,bnequiv:`≡⃥`,bnot:`⌐`,bopf:`𝕓`,bot:`⊥`,bottom:`⊥`,bowtie:`⋈`,boxDL:`╗`,boxDR:`╔`,boxDl:`╖`,boxDr:`╓`,boxH:`═`,boxHD:`╦`,boxHU:`╩`,boxHd:`╤`,boxHu:`╧`,boxUL:`╝`,boxUR:`╚`,boxUl:`╜`,boxUr:`╙`,boxV:`║`,boxVH:`╬`,boxVL:`╣`,boxVR:`╠`,boxVh:`╫`,boxVl:`╢`,boxVr:`╟`,boxbox:`⧉`,boxdL:`╕`,boxdR:`╒`,boxdl:`┐`,boxdr:`┌`,boxh:`─`,boxhD:`╥`,boxhU:`╨`,boxhd:`┬`,boxhu:`┴`,boxminus:`⊟`,boxplus:`⊞`,boxtimes:`⊠`,boxuL:`╛`,boxuR:`╘`,boxul:`┘`,boxur:`└`,boxv:`│`,boxvH:`╪`,boxvL:`╡`,boxvR:`╞`,boxvh:`┼`,boxvl:`┤`,boxvr:`├`,bprime:`‵`,breve:`˘`,brvbar:`¦`,bscr:`𝒷`,bsemi:`⁏`,bsim:`∽`,bsime:`⋍`,bsol:`\\`,bsolb:`⧅`,bsolhsub:`⟈`,bull:`•`,bullet:`•`,bump:`≎`,bumpE:`⪮`,bumpe:`≏`,bumpeq:`≏`,cacute:`ć`,cap:`∩`,capand:`⩄`,capbrcup:`⩉`,capcap:`⩋`,capcup:`⩇`,capdot:`⩀`,caps:`∩︀`,caret:`⁁`,caron:`ˇ`,ccaps:`⩍`,ccaron:`č`,ccedil:`ç`,ccirc:`ĉ`,ccups:`⩌`,ccupssm:`⩐`,cdot:`ċ`,cedil:`¸`,cemptyv:`⦲`,cent:`¢`,centerdot:`·`,cfr:`𝔠`,chcy:`ч`,check:`✓`,checkmark:`✓`,chi:`χ`,cir:`○`,cirE:`⧃`,circ:`ˆ`,circeq:`≗`,circlearrowleft:`↺`,circlearrowright:`↻`,circledR:`®`,circledS:`Ⓢ`,circledast:`⊛`,circledcirc:`⊚`,circleddash:`⊝`,cire:`≗`,cirfnint:`⨐`,cirmid:`⫯`,cirscir:`⧂`,clubs:`♣`,clubsuit:`♣`,colon:`:`,colone:`≔`,coloneq:`≔`,comma:`,`,commat:`@`,comp:`∁`,compfn:`∘`,complement:`∁`,complexes:`ℂ`,cong:`≅`,congdot:`⩭`,conint:`∮`,copf:`𝕔`,coprod:`∐`,copy:`©`,copysr:`℗`,crarr:`↵`,cross:`✗`,cscr:`𝒸`,csub:`⫏`,csube:`⫑`,csup:`⫐`,csupe:`⫒`,ctdot:`⋯`,cudarrl:`⤸`,cudarrr:`⤵`,cuepr:`⋞`,cuesc:`⋟`,cularr:`↶`,cularrp:`⤽`,cup:`∪`,cupbrcap:`⩈`,cupcap:`⩆`,cupcup:`⩊`,cupdot:`⊍`,cupor:`⩅`,cups:`∪︀`,curarr:`↷`,curarrm:`⤼`,curlyeqprec:`⋞`,curlyeqsucc:`⋟`,curlyvee:`⋎`,curlywedge:`⋏`,curren:`¤`,curvearrowleft:`↶`,curvearrowright:`↷`,cuvee:`⋎`,cuwed:`⋏`,cwconint:`∲`,cwint:`∱`,cylcty:`⌭`,dArr:`⇓`,dHar:`⥥`,dagger:`†`,daleth:`ℸ`,darr:`↓`,dash:`‐`,dashv:`⊣`,dbkarow:`⤏`,dblac:`˝`,dcaron:`ď`,dcy:`д`,dd:`ⅆ`,ddagger:`‡`,ddarr:`⇊`,ddotseq:`⩷`,deg:`°`,delta:`δ`,demptyv:`⦱`,dfisht:`⥿`,dfr:`𝔡`,dharl:`⇃`,dharr:`⇂`,diam:`⋄`,diamond:`⋄`,diamondsuit:`♦`,diams:`♦`,die:`¨`,digamma:`ϝ`,disin:`⋲`,div:`÷`,divide:`÷`,divideontimes:`⋇`,divonx:`⋇`,djcy:`ђ`,dlcorn:`⌞`,dlcrop:`⌍`,dollar:`$`,dopf:`𝕕`,dot:`˙`,doteq:`≐`,doteqdot:`≑`,dotminus:`∸`,dotplus:`∔`,dotsquare:`⊡`,doublebarwedge:`⌆`,downarrow:`↓`,downdownarrows:`⇊`,downharpoonleft:`⇃`,downharpoonright:`⇂`,drbkarow:`⤐`,drcorn:`⌟`,drcrop:`⌌`,dscr:`𝒹`,dscy:`ѕ`,dsol:`⧶`,dstrok:`đ`,dtdot:`⋱`,dtri:`▿`,dtrif:`▾`,duarr:`⇵`,duhar:`⥯`,dwangle:`⦦`,dzcy:`џ`,dzigrarr:`⟿`,eDDot:`⩷`,eDot:`≑`,eacute:`é`,easter:`⩮`,ecaron:`ě`,ecir:`≖`,ecirc:`ê`,ecolon:`≕`,ecy:`э`,edot:`ė`,ee:`ⅇ`,efDot:`≒`,efr:`𝔢`,eg:`⪚`,egrave:`è`,egs:`⪖`,egsdot:`⪘`,el:`⪙`,elinters:`⏧`,ell:`ℓ`,els:`⪕`,elsdot:`⪗`,emacr:`ē`,empty:`∅`,emptyset:`∅`,emptyv:`∅`,emsp13:` `,emsp14:` `,emsp:` `,eng:`ŋ`,ensp:` `,eogon:`ę`,eopf:`𝕖`,epar:`⋕`,eparsl:`⧣`,eplus:`⩱`,epsi:`ε`,epsilon:`ε`,epsiv:`ϵ`,eqcirc:`≖`,eqcolon:`≕`,eqsim:`≂`,eqslantgtr:`⪖`,eqslantless:`⪕`,equals:`=`,equest:`≟`,equiv:`≡`,equivDD:`⩸`,eqvparsl:`⧥`,erDot:`≓`,erarr:`⥱`,escr:`ℯ`,esdot:`≐`,esim:`≂`,eta:`η`,eth:`ð`,euml:`ë`,euro:`€`,excl:`!`,exist:`∃`,expectation:`ℰ`,exponentiale:`ⅇ`,fallingdotseq:`≒`,fcy:`ф`,female:`♀`,ffilig:`ffi`,fflig:`ff`,ffllig:`ffl`,ffr:`𝔣`,filig:`fi`,fjlig:`fj`,flat:`♭`,fllig:`fl`,fltns:`▱`,fnof:`ƒ`,fopf:`𝕗`,forall:`∀`,fork:`⋔`,forkv:`⫙`,fpartint:`⨍`,frac12:`½`,frac13:`⅓`,frac14:`¼`,frac15:`⅕`,frac16:`⅙`,frac18:`⅛`,frac23:`⅔`,frac25:`⅖`,frac34:`¾`,frac35:`⅗`,frac38:`⅜`,frac45:`⅘`,frac56:`⅚`,frac58:`⅝`,frac78:`⅞`,frasl:`⁄`,frown:`⌢`,fscr:`𝒻`,gE:`≧`,gEl:`⪌`,gacute:`ǵ`,gamma:`γ`,gammad:`ϝ`,gap:`⪆`,gbreve:`ğ`,gcirc:`ĝ`,gcy:`г`,gdot:`ġ`,ge:`≥`,gel:`⋛`,geq:`≥`,geqq:`≧`,geqslant:`⩾`,ges:`⩾`,gescc:`⪩`,gesdot:`⪀`,gesdoto:`⪂`,gesdotol:`⪄`,gesl:`⋛︀`,gesles:`⪔`,gfr:`𝔤`,gg:`≫`,ggg:`⋙`,gimel:`ℷ`,gjcy:`ѓ`,gl:`≷`,glE:`⪒`,gla:`⪥`,glj:`⪤`,gnE:`≩`,gnap:`⪊`,gnapprox:`⪊`,gne:`⪈`,gneq:`⪈`,gneqq:`≩`,gnsim:`⋧`,gopf:`𝕘`,grave:"`",gscr:`ℊ`,gsim:`≳`,gsime:`⪎`,gsiml:`⪐`,gt:`>`,gtcc:`⪧`,gtcir:`⩺`,gtdot:`⋗`,gtlPar:`⦕`,gtquest:`⩼`,gtrapprox:`⪆`,gtrarr:`⥸`,gtrdot:`⋗`,gtreqless:`⋛`,gtreqqless:`⪌`,gtrless:`≷`,gtrsim:`≳`,gvertneqq:`≩︀`,gvnE:`≩︀`,hArr:`⇔`,hairsp:` `,half:`½`,hamilt:`ℋ`,hardcy:`ъ`,harr:`↔`,harrcir:`⥈`,harrw:`↭`,hbar:`ℏ`,hcirc:`ĥ`,hearts:`♥`,heartsuit:`♥`,hellip:`…`,hercon:`⊹`,hfr:`𝔥`,hksearow:`⤥`,hkswarow:`⤦`,hoarr:`⇿`,homtht:`∻`,hookleftarrow:`↩`,hookrightarrow:`↪`,hopf:`𝕙`,horbar:`―`,hscr:`𝒽`,hslash:`ℏ`,hstrok:`ħ`,hybull:`⁃`,hyphen:`‐`,iacute:`í`,ic:``,icirc:`î`,icy:`и`,iecy:`е`,iexcl:`¡`,iff:`⇔`,ifr:`𝔦`,igrave:`ì`,ii:`ⅈ`,iiiint:`⨌`,iiint:`∭`,iinfin:`⧜`,iiota:`℩`,ijlig:`ij`,imacr:`ī`,image:`ℑ`,imagline:`ℐ`,imagpart:`ℑ`,imath:`ı`,imof:`⊷`,imped:`Ƶ`,in:`∈`,incare:`℅`,infin:`∞`,infintie:`⧝`,inodot:`ı`,int:`∫`,intcal:`⊺`,integers:`ℤ`,intercal:`⊺`,intlarhk:`⨗`,intprod:`⨼`,iocy:`ё`,iogon:`į`,iopf:`𝕚`,iota:`ι`,iprod:`⨼`,iquest:`¿`,iscr:`𝒾`,isin:`∈`,isinE:`⋹`,isindot:`⋵`,isins:`⋴`,isinsv:`⋳`,isinv:`∈`,it:``,itilde:`ĩ`,iukcy:`і`,iuml:`ï`,jcirc:`ĵ`,jcy:`й`,jfr:`𝔧`,jmath:`ȷ`,jopf:`𝕛`,jscr:`𝒿`,jsercy:`ј`,jukcy:`є`,kappa:`κ`,kappav:`ϰ`,kcedil:`ķ`,kcy:`к`,kfr:`𝔨`,kgreen:`ĸ`,khcy:`х`,kjcy:`ќ`,kopf:`𝕜`,kscr:`𝓀`,lAarr:`⇚`,lArr:`⇐`,lAtail:`⤛`,lBarr:`⤎`,lE:`≦`,lEg:`⪋`,lHar:`⥢`,lacute:`ĺ`,laemptyv:`⦴`,lagran:`ℒ`,lambda:`λ`,lang:`⟨`,langd:`⦑`,langle:`⟨`,lap:`⪅`,laquo:`«`,larr:`←`,larrb:`⇤`,larrbfs:`⤟`,larrfs:`⤝`,larrhk:`↩`,larrlp:`↫`,larrpl:`⤹`,larrsim:`⥳`,larrtl:`↢`,lat:`⪫`,latail:`⤙`,late:`⪭`,lates:`⪭︀`,lbarr:`⤌`,lbbrk:`❲`,lbrace:`{`,lbrack:`[`,lbrke:`⦋`,lbrksld:`⦏`,lbrkslu:`⦍`,lcaron:`ľ`,lcedil:`ļ`,lceil:`⌈`,lcub:`{`,lcy:`л`,ldca:`⤶`,ldquo:`“`,ldquor:`„`,ldrdhar:`⥧`,ldrushar:`⥋`,ldsh:`↲`,le:`≤`,leftarrow:`←`,leftarrowtail:`↢`,leftharpoondown:`↽`,leftharpoonup:`↼`,leftleftarrows:`⇇`,leftrightarrow:`↔`,leftrightarrows:`⇆`,leftrightharpoons:`⇋`,leftrightsquigarrow:`↭`,leftthreetimes:`⋋`,leg:`⋚`,leq:`≤`,leqq:`≦`,leqslant:`⩽`,les:`⩽`,lescc:`⪨`,lesdot:`⩿`,lesdoto:`⪁`,lesdotor:`⪃`,lesg:`⋚︀`,lesges:`⪓`,lessapprox:`⪅`,lessdot:`⋖`,lesseqgtr:`⋚`,lesseqqgtr:`⪋`,lessgtr:`≶`,lesssim:`≲`,lfisht:`⥼`,lfloor:`⌊`,lfr:`𝔩`,lg:`≶`,lgE:`⪑`,lhard:`↽`,lharu:`↼`,lharul:`⥪`,lhblk:`▄`,ljcy:`љ`,ll:`≪`,llarr:`⇇`,llcorner:`⌞`,llhard:`⥫`,lltri:`◺`,lmidot:`ŀ`,lmoust:`⎰`,lmoustache:`⎰`,lnE:`≨`,lnap:`⪉`,lnapprox:`⪉`,lne:`⪇`,lneq:`⪇`,lneqq:`≨`,lnsim:`⋦`,loang:`⟬`,loarr:`⇽`,lobrk:`⟦`,longleftarrow:`⟵`,longleftrightarrow:`⟷`,longmapsto:`⟼`,longrightarrow:`⟶`,looparrowleft:`↫`,looparrowright:`↬`,lopar:`⦅`,lopf:`𝕝`,loplus:`⨭`,lotimes:`⨴`,lowast:`∗`,lowbar:`_`,loz:`◊`,lozenge:`◊`,lozf:`⧫`,lpar:`(`,lparlt:`⦓`,lrarr:`⇆`,lrcorner:`⌟`,lrhar:`⇋`,lrhard:`⥭`,lrm:``,lrtri:`⊿`,lsaquo:`‹`,lscr:`𝓁`,lsh:`↰`,lsim:`≲`,lsime:`⪍`,lsimg:`⪏`,lsqb:`[`,lsquo:`‘`,lsquor:`‚`,lstrok:`ł`,lt:`<`,ltcc:`⪦`,ltcir:`⩹`,ltdot:`⋖`,lthree:`⋋`,ltimes:`⋉`,ltlarr:`⥶`,ltquest:`⩻`,ltrPar:`⦖`,ltri:`◃`,ltrie:`⊴`,ltrif:`◂`,lurdshar:`⥊`,luruhar:`⥦`,lvertneqq:`≨︀`,lvnE:`≨︀`,mDDot:`∺`,macr:`¯`,male:`♂`,malt:`✠`,maltese:`✠`,map:`↦`,mapsto:`↦`,mapstodown:`↧`,mapstoleft:`↤`,mapstoup:`↥`,marker:`▮`,mcomma:`⨩`,mcy:`м`,mdash:`—`,measuredangle:`∡`,mfr:`𝔪`,mho:`℧`,micro:`µ`,mid:`∣`,midast:`*`,midcir:`⫰`,middot:`·`,minus:`−`,minusb:`⊟`,minusd:`∸`,minusdu:`⨪`,mlcp:`⫛`,mldr:`…`,mnplus:`∓`,models:`⊧`,mopf:`𝕞`,mp:`∓`,mscr:`𝓂`,mstpos:`∾`,mu:`μ`,multimap:`⊸`,mumap:`⊸`,nGg:`⋙̸`,nGt:`≫⃒`,nGtv:`≫̸`,nLeftarrow:`⇍`,nLeftrightarrow:`⇎`,nLl:`⋘̸`,nLt:`≪⃒`,nLtv:`≪̸`,nRightarrow:`⇏`,nVDash:`⊯`,nVdash:`⊮`,nabla:`∇`,nacute:`ń`,nang:`∠⃒`,nap:`≉`,napE:`⩰̸`,napid:`≋̸`,napos:`ʼn`,napprox:`≉`,natur:`♮`,natural:`♮`,naturals:`ℕ`,nbsp:`\xA0`,nbump:`≎̸`,nbumpe:`≏̸`,ncap:`⩃`,ncaron:`ň`,ncedil:`ņ`,ncong:`≇`,ncongdot:`⩭̸`,ncup:`⩂`,ncy:`н`,ndash:`–`,ne:`≠`,neArr:`⇗`,nearhk:`⤤`,nearr:`↗`,nearrow:`↗`,nedot:`≐̸`,nequiv:`≢`,nesear:`⤨`,nesim:`≂̸`,nexist:`∄`,nexists:`∄`,nfr:`𝔫`,ngE:`≧̸`,nge:`≱`,ngeq:`≱`,ngeqq:`≧̸`,ngeqslant:`⩾̸`,nges:`⩾̸`,ngsim:`≵`,ngt:`≯`,ngtr:`≯`,nhArr:`⇎`,nharr:`↮`,nhpar:`⫲`,ni:`∋`,nis:`⋼`,nisd:`⋺`,niv:`∋`,njcy:`њ`,nlArr:`⇍`,nlE:`≦̸`,nlarr:`↚`,nldr:`‥`,nle:`≰`,nleftarrow:`↚`,nleftrightarrow:`↮`,nleq:`≰`,nleqq:`≦̸`,nleqslant:`⩽̸`,nles:`⩽̸`,nless:`≮`,nlsim:`≴`,nlt:`≮`,nltri:`⋪`,nltrie:`⋬`,nmid:`∤`,nopf:`𝕟`,not:`¬`,notin:`∉`,notinE:`⋹̸`,notindot:`⋵̸`,notinva:`∉`,notinvb:`⋷`,notinvc:`⋶`,notni:`∌`,notniva:`∌`,notnivb:`⋾`,notnivc:`⋽`,npar:`∦`,nparallel:`∦`,nparsl:`⫽⃥`,npart:`∂̸`,npolint:`⨔`,npr:`⊀`,nprcue:`⋠`,npre:`⪯̸`,nprec:`⊀`,npreceq:`⪯̸`,nrArr:`⇏`,nrarr:`↛`,nrarrc:`⤳̸`,nrarrw:`↝̸`,nrightarrow:`↛`,nrtri:`⋫`,nrtrie:`⋭`,nsc:`⊁`,nsccue:`⋡`,nsce:`⪰̸`,nscr:`𝓃`,nshortmid:`∤`,nshortparallel:`∦`,nsim:`≁`,nsime:`≄`,nsimeq:`≄`,nsmid:`∤`,nspar:`∦`,nsqsube:`⋢`,nsqsupe:`⋣`,nsub:`⊄`,nsubE:`⫅̸`,nsube:`⊈`,nsubset:`⊂⃒`,nsubseteq:`⊈`,nsubseteqq:`⫅̸`,nsucc:`⊁`,nsucceq:`⪰̸`,nsup:`⊅`,nsupE:`⫆̸`,nsupe:`⊉`,nsupset:`⊃⃒`,nsupseteq:`⊉`,nsupseteqq:`⫆̸`,ntgl:`≹`,ntilde:`ñ`,ntlg:`≸`,ntriangleleft:`⋪`,ntrianglelefteq:`⋬`,ntriangleright:`⋫`,ntrianglerighteq:`⋭`,nu:`ν`,num:`#`,numero:`№`,numsp:` `,nvDash:`⊭`,nvHarr:`⤄`,nvap:`≍⃒`,nvdash:`⊬`,nvge:`≥⃒`,nvgt:`>⃒`,nvinfin:`⧞`,nvlArr:`⤂`,nvle:`≤⃒`,nvlt:`<⃒`,nvltrie:`⊴⃒`,nvrArr:`⤃`,nvrtrie:`⊵⃒`,nvsim:`∼⃒`,nwArr:`⇖`,nwarhk:`⤣`,nwarr:`↖`,nwarrow:`↖`,nwnear:`⤧`,oS:`Ⓢ`,oacute:`ó`,oast:`⊛`,ocir:`⊚`,ocirc:`ô`,ocy:`о`,odash:`⊝`,odblac:`ő`,odiv:`⨸`,odot:`⊙`,odsold:`⦼`,oelig:`œ`,ofcir:`⦿`,ofr:`𝔬`,ogon:`˛`,ograve:`ò`,ogt:`⧁`,ohbar:`⦵`,ohm:`Ω`,oint:`∮`,olarr:`↺`,olcir:`⦾`,olcross:`⦻`,oline:`‾`,olt:`⧀`,omacr:`ō`,omega:`ω`,omicron:`ο`,omid:`⦶`,ominus:`⊖`,oopf:`𝕠`,opar:`⦷`,operp:`⦹`,oplus:`⊕`,or:`∨`,orarr:`↻`,ord:`⩝`,order:`ℴ`,orderof:`ℴ`,ordf:`ª`,ordm:`º`,origof:`⊶`,oror:`⩖`,orslope:`⩗`,orv:`⩛`,oscr:`ℴ`,oslash:`ø`,osol:`⊘`,otilde:`õ`,otimes:`⊗`,otimesas:`⨶`,ouml:`ö`,ovbar:`⌽`,par:`∥`,para:`¶`,parallel:`∥`,parsim:`⫳`,parsl:`⫽`,part:`∂`,pcy:`п`,percnt:`%`,period:`.`,permil:`‰`,perp:`⊥`,pertenk:`‱`,pfr:`𝔭`,phi:`φ`,phiv:`ϕ`,phmmat:`ℳ`,phone:`☎`,pi:`π`,pitchfork:`⋔`,piv:`ϖ`,planck:`ℏ`,planckh:`ℎ`,plankv:`ℏ`,plus:`+`,plusacir:`⨣`,plusb:`⊞`,pluscir:`⨢`,plusdo:`∔`,plusdu:`⨥`,pluse:`⩲`,plusmn:`±`,plussim:`⨦`,plustwo:`⨧`,pm:`±`,pointint:`⨕`,popf:`𝕡`,pound:`£`,pr:`≺`,prE:`⪳`,prap:`⪷`,prcue:`≼`,pre:`⪯`,prec:`≺`,precapprox:`⪷`,preccurlyeq:`≼`,preceq:`⪯`,precnapprox:`⪹`,precneqq:`⪵`,precnsim:`⋨`,precsim:`≾`,prime:`′`,primes:`ℙ`,prnE:`⪵`,prnap:`⪹`,prnsim:`⋨`,prod:`∏`,profalar:`⌮`,profline:`⌒`,profsurf:`⌓`,prop:`∝`,propto:`∝`,prsim:`≾`,prurel:`⊰`,pscr:`𝓅`,psi:`ψ`,puncsp:` `,qfr:`𝔮`,qint:`⨌`,qopf:`𝕢`,qprime:`⁗`,qscr:`𝓆`,quaternions:`ℍ`,quatint:`⨖`,quest:`?`,questeq:`≟`,quot:`"`,rAarr:`⇛`,rArr:`⇒`,rAtail:`⤜`,rBarr:`⤏`,rHar:`⥤`,race:`∽̱`,racute:`ŕ`,radic:`√`,raemptyv:`⦳`,rang:`⟩`,rangd:`⦒`,range:`⦥`,rangle:`⟩`,raquo:`»`,rarr:`→`,rarrap:`⥵`,rarrb:`⇥`,rarrbfs:`⤠`,rarrc:`⤳`,rarrfs:`⤞`,rarrhk:`↪`,rarrlp:`↬`,rarrpl:`⥅`,rarrsim:`⥴`,rarrtl:`↣`,rarrw:`↝`,ratail:`⤚`,ratio:`∶`,rationals:`ℚ`,rbarr:`⤍`,rbbrk:`❳`,rbrace:`}`,rbrack:`]`,rbrke:`⦌`,rbrksld:`⦎`,rbrkslu:`⦐`,rcaron:`ř`,rcedil:`ŗ`,rceil:`⌉`,rcub:`}`,rcy:`р`,rdca:`⤷`,rdldhar:`⥩`,rdquo:`”`,rdquor:`”`,rdsh:`↳`,real:`ℜ`,realine:`ℛ`,realpart:`ℜ`,reals:`ℝ`,rect:`▭`,reg:`®`,rfisht:`⥽`,rfloor:`⌋`,rfr:`𝔯`,rhard:`⇁`,rharu:`⇀`,rharul:`⥬`,rho:`ρ`,rhov:`ϱ`,rightarrow:`→`,rightarrowtail:`↣`,rightharpoondown:`⇁`,rightharpoonup:`⇀`,rightleftarrows:`⇄`,rightleftharpoons:`⇌`,rightrightarrows:`⇉`,rightsquigarrow:`↝`,rightthreetimes:`⋌`,ring:`˚`,risingdotseq:`≓`,rlarr:`⇄`,rlhar:`⇌`,rlm:``,rmoust:`⎱`,rmoustache:`⎱`,rnmid:`⫮`,roang:`⟭`,roarr:`⇾`,robrk:`⟧`,ropar:`⦆`,ropf:`𝕣`,roplus:`⨮`,rotimes:`⨵`,rpar:`)`,rpargt:`⦔`,rppolint:`⨒`,rrarr:`⇉`,rsaquo:`›`,rscr:`𝓇`,rsh:`↱`,rsqb:`]`,rsquo:`’`,rsquor:`’`,rthree:`⋌`,rtimes:`⋊`,rtri:`▹`,rtrie:`⊵`,rtrif:`▸`,rtriltri:`⧎`,ruluhar:`⥨`,rx:`℞`,sacute:`ś`,sbquo:`‚`,sc:`≻`,scE:`⪴`,scap:`⪸`,scaron:`š`,sccue:`≽`,sce:`⪰`,scedil:`ş`,scirc:`ŝ`,scnE:`⪶`,scnap:`⪺`,scnsim:`⋩`,scpolint:`⨓`,scsim:`≿`,scy:`с`,sdot:`⋅`,sdotb:`⊡`,sdote:`⩦`,seArr:`⇘`,searhk:`⤥`,searr:`↘`,searrow:`↘`,sect:`§`,semi:`;`,seswar:`⤩`,setminus:`∖`,setmn:`∖`,sext:`✶`,sfr:`𝔰`,sfrown:`⌢`,sharp:`♯`,shchcy:`щ`,shcy:`ш`,shortmid:`∣`,shortparallel:`∥`,shy:``,sigma:`σ`,sigmaf:`ς`,sigmav:`ς`,sim:`∼`,simdot:`⩪`,sime:`≃`,simeq:`≃`,simg:`⪞`,simgE:`⪠`,siml:`⪝`,simlE:`⪟`,simne:`≆`,simplus:`⨤`,simrarr:`⥲`,slarr:`←`,smallsetminus:`∖`,smashp:`⨳`,smeparsl:`⧤`,smid:`∣`,smile:`⌣`,smt:`⪪`,smte:`⪬`,smtes:`⪬︀`,softcy:`ь`,sol:`/`,solb:`⧄`,solbar:`⌿`,sopf:`𝕤`,spades:`♠`,spadesuit:`♠`,spar:`∥`,sqcap:`⊓`,sqcaps:`⊓︀`,sqcup:`⊔`,sqcups:`⊔︀`,sqsub:`⊏`,sqsube:`⊑`,sqsubset:`⊏`,sqsubseteq:`⊑`,sqsup:`⊐`,sqsupe:`⊒`,sqsupset:`⊐`,sqsupseteq:`⊒`,squ:`□`,square:`□`,squarf:`▪`,squf:`▪`,srarr:`→`,sscr:`𝓈`,ssetmn:`∖`,ssmile:`⌣`,sstarf:`⋆`,star:`☆`,starf:`★`,straightepsilon:`ϵ`,straightphi:`ϕ`,strns:`¯`,sub:`⊂`,subE:`⫅`,subdot:`⪽`,sube:`⊆`,subedot:`⫃`,submult:`⫁`,subnE:`⫋`,subne:`⊊`,subplus:`⪿`,subrarr:`⥹`,subset:`⊂`,subseteq:`⊆`,subseteqq:`⫅`,subsetneq:`⊊`,subsetneqq:`⫋`,subsim:`⫇`,subsub:`⫕`,subsup:`⫓`,succ:`≻`,succapprox:`⪸`,succcurlyeq:`≽`,succeq:`⪰`,succnapprox:`⪺`,succneqq:`⪶`,succnsim:`⋩`,succsim:`≿`,sum:`∑`,sung:`♪`,sup1:`¹`,sup2:`²`,sup3:`³`,sup:`⊃`,supE:`⫆`,supdot:`⪾`,supdsub:`⫘`,supe:`⊇`,supedot:`⫄`,suphsol:`⟉`,suphsub:`⫗`,suplarr:`⥻`,supmult:`⫂`,supnE:`⫌`,supne:`⊋`,supplus:`⫀`,supset:`⊃`,supseteq:`⊇`,supseteqq:`⫆`,supsetneq:`⊋`,supsetneqq:`⫌`,supsim:`⫈`,supsub:`⫔`,supsup:`⫖`,swArr:`⇙`,swarhk:`⤦`,swarr:`↙`,swarrow:`↙`,swnwar:`⤪`,szlig:`ß`,target:`⌖`,tau:`τ`,tbrk:`⎴`,tcaron:`ť`,tcedil:`ţ`,tcy:`т`,tdot:`⃛`,telrec:`⌕`,tfr:`𝔱`,there4:`∴`,therefore:`∴`,theta:`θ`,thetasym:`ϑ`,thetav:`ϑ`,thickapprox:`≈`,thicksim:`∼`,thinsp:` `,thkap:`≈`,thksim:`∼`,thorn:`þ`,tilde:`˜`,times:`×`,timesb:`⊠`,timesbar:`⨱`,timesd:`⨰`,tint:`∭`,toea:`⤨`,top:`⊤`,topbot:`⌶`,topcir:`⫱`,topf:`𝕥`,topfork:`⫚`,tosa:`⤩`,tprime:`‴`,trade:`™`,triangle:`▵`,triangledown:`▿`,triangleleft:`◃`,trianglelefteq:`⊴`,triangleq:`≜`,triangleright:`▹`,trianglerighteq:`⊵`,tridot:`◬`,trie:`≜`,triminus:`⨺`,triplus:`⨹`,trisb:`⧍`,tritime:`⨻`,trpezium:`⏢`,tscr:`𝓉`,tscy:`ц`,tshcy:`ћ`,tstrok:`ŧ`,twixt:`≬`,twoheadleftarrow:`↞`,twoheadrightarrow:`↠`,uArr:`⇑`,uHar:`⥣`,uacute:`ú`,uarr:`↑`,ubrcy:`ў`,ubreve:`ŭ`,ucirc:`û`,ucy:`у`,udarr:`⇅`,udblac:`ű`,udhar:`⥮`,ufisht:`⥾`,ufr:`𝔲`,ugrave:`ù`,uharl:`↿`,uharr:`↾`,uhblk:`▀`,ulcorn:`⌜`,ulcorner:`⌜`,ulcrop:`⌏`,ultri:`◸`,umacr:`ū`,uml:`¨`,uogon:`ų`,uopf:`𝕦`,uparrow:`↑`,updownarrow:`↕`,upharpoonleft:`↿`,upharpoonright:`↾`,uplus:`⊎`,upsi:`υ`,upsih:`ϒ`,upsilon:`υ`,upuparrows:`⇈`,urcorn:`⌝`,urcorner:`⌝`,urcrop:`⌎`,uring:`ů`,urtri:`◹`,uscr:`𝓊`,utdot:`⋰`,utilde:`ũ`,utri:`▵`,utrif:`▴`,uuarr:`⇈`,uuml:`ü`,uwangle:`⦧`,vArr:`⇕`,vBar:`⫨`,vBarv:`⫩`,vDash:`⊨`,vangrt:`⦜`,varepsilon:`ϵ`,varkappa:`ϰ`,varnothing:`∅`,varphi:`ϕ`,varpi:`ϖ`,varpropto:`∝`,varr:`↕`,varrho:`ϱ`,varsigma:`ς`,varsubsetneq:`⊊︀`,varsubsetneqq:`⫋︀`,varsupsetneq:`⊋︀`,varsupsetneqq:`⫌︀`,vartheta:`ϑ`,vartriangleleft:`⊲`,vartriangleright:`⊳`,vcy:`в`,vdash:`⊢`,vee:`∨`,veebar:`⊻`,veeeq:`≚`,vellip:`⋮`,verbar:`|`,vert:`|`,vfr:`𝔳`,vltri:`⊲`,vnsub:`⊂⃒`,vnsup:`⊃⃒`,vopf:`𝕧`,vprop:`∝`,vrtri:`⊳`,vscr:`𝓋`,vsubnE:`⫋︀`,vsubne:`⊊︀`,vsupnE:`⫌︀`,vsupne:`⊋︀`,vzigzag:`⦚`,wcirc:`ŵ`,wedbar:`⩟`,wedge:`∧`,wedgeq:`≙`,weierp:`℘`,wfr:`𝔴`,wopf:`𝕨`,wp:`℘`,wr:`≀`,wreath:`≀`,wscr:`𝓌`,xcap:`⋂`,xcirc:`◯`,xcup:`⋃`,xdtri:`▽`,xfr:`𝔵`,xhArr:`⟺`,xharr:`⟷`,xi:`ξ`,xlArr:`⟸`,xlarr:`⟵`,xmap:`⟼`,xnis:`⋻`,xodot:`⨀`,xopf:`𝕩`,xoplus:`⨁`,xotime:`⨂`,xrArr:`⟹`,xrarr:`⟶`,xscr:`𝓍`,xsqcup:`⨆`,xuplus:`⨄`,xutri:`△`,xvee:`⋁`,xwedge:`⋀`,yacute:`ý`,yacy:`я`,ycirc:`ŷ`,ycy:`ы`,yen:`¥`,yfr:`𝔶`,yicy:`ї`,yopf:`𝕪`,yscr:`𝓎`,yucy:`ю`,yuml:`ÿ`,zacute:`ź`,zcaron:`ž`,zcy:`з`,zdot:`ż`,zeetrf:`ℨ`,zeta:`ζ`,zfr:`𝔷`,zhcy:`ж`,zigrarr:`⇝`,zopf:`𝕫`,zscr:`𝓏`,zwj:``,zwnj:``},F_={}.hasOwnProperty;function I_(e){return F_.call(P_,e)?P_[e]:!1}function L_(e,t,n,r){let i=e.length,a=0,o;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function R_(e,t){return e.length>0?(L_(e,e.length,0,t),e):t}var z_={}.hasOwnProperty;function B_(e){let t={},n=-1;for(;++n<e.length;)V_(t,e[n]);return t}function V_(e,t){let n;for(n in t){let r=(z_.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n],a;if(i)for(a in i){z_.call(r,a)||(r[a]=[]);let e=i[a];H_(r[a],Array.isArray(e)?e:e?[e]:[])}}}function H_(e,t){let n=-1,r=[];for(;++n<t.length;)(t[n].add===`after`?e:r).push(t[n]);L_(e,0,0,r)}function U_(e,t){let 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?`�`:String.fromCodePoint(n)}function W_(e){return e.replace(/[\t\n\r ]+/g,` `).replace(/^ | $/g,``).toLowerCase().toUpperCase()}var G_=ev(/[A-Za-z]/),K_=ev(/[\dA-Za-z]/),q_=ev(/[#-'*+\--9=?A-Z^-~]/);function J_(e){return e!==null&&(e<32||e===127)}var Y_=ev(/\d/),X_=ev(/[\dA-Fa-f]/),Z_=ev(/[!-/:-@[-`{-~]/);function Y(e){return e!==null&&e<-2}function X(e){return e!==null&&(e<0||e===32)}function Z(e){return e===-2||e===-1||e===32}var Q_=ev(/\p{P}|\p{S}/u),$_=ev(/\s/);function ev(e){return t;function t(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function tv(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let a=e.charCodeAt(n),o=``;if(a===37&&K_(e.charCodeAt(n+1))&&K_(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){let t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(o=String.fromCharCode(a,t),i=1):o=`�`}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 Q(e,t,n,r){let i=r?r-1:1/0,a=0;return o;function o(r){return Z(r)?(e.enter(n),s(r)):t(r)}function s(r){return Z(r)&&a++<i?(e.consume(r),s):(e.exit(n),t(r))}}var nv={tokenize:rv};function rv(e){let t=e.attempt(this.parser.constructs.contentInitial,r,i),n;return t;function r(n){if(n===null){e.consume(n);return}return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),Q(e,t,`linePrefix`)}function i(t){return e.enter(`paragraph`),a(t)}function a(t){let r=e.enter(`chunkText`,{contentType:`text`,previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){if(t===null){e.exit(`chunkText`),e.exit(`paragraph`),e.consume(t);return}return Y(t)?(e.consume(t),e.exit(`chunkText`),a):(e.consume(t),o)}}var iv={tokenize:ov},av={tokenize:sv};function ov(e){let t=this,n=[],r=0,i,a,o;return s;function s(i){if(r<n.length){let a=n[r];return t.containerState=a[1],e.attempt(a[0].continuation,c,l)(i)}return l(i)}function c(e){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&v();let n=t.events.length,a=n,o;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){o=t.events[a][1].end;break}_(r);let s=n;for(;s<t.events.length;)t.events[s][1].end={...o},s++;return L_(t.events,a+1,0,t.events.slice(n)),t.events.length=s,l(e)}return s(e)}function l(a){if(r===n.length){if(!i)return f(a);if(i.currentConstruct&&i.currentConstruct.concrete)return m(a);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(av,u,d)(a)}function u(e){return i&&v(),_(r),f(e)}function d(e){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,m(e)}function f(n){return t.containerState={},e.attempt(av,p,m)(n)}function p(e){return r++,n.push([t.currentConstruct,t.containerState]),f(e)}function m(n){if(n===null){i&&v(),_(0),e.consume(n);return}return i=i||t.parser.flow(t.now()),e.enter(`chunkFlow`,{_tokenizer:i,contentType:`flow`,previous:a}),h(n)}function h(n){if(n===null){g(e.exit(`chunkFlow`),!0),_(0),e.consume(n);return}return Y(n)?(e.consume(n),g(e.exit(`chunkFlow`)),r=0,t.interrupt=void 0,s):(e.consume(n),h)}function g(e,n){let s=t.sliceStream(e);if(n&&s.push(null),e.previous=a,a&&(a.next=e),a=e,i.defineSkip(e.start),i.write(s),t.parser.lazy[e.start.line]){let e=i.events.length;for(;e--;)if(i.events[e][1].start.offset<o&&(!i.events[e][1].end||i.events[e][1].end.offset>o))return;let n=t.events.length,a=n,s,c;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){if(s){c=t.events[a][1].end;break}s=!0}for(_(r),e=n;e<t.events.length;)t.events[e][1].end={...c},e++;L_(t.events,a+1,0,t.events.slice(n)),t.events.length=e}}function _(r){let i=n.length;for(;i-- >r;){let r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function sv(e,t,n){return Q(e,e.attempt(this.parser.constructs.document,t,n),`linePrefix`,this.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)}function cv(e){if(e===null||X(e)||$_(e))return 1;if(Q_(e))return 2}function lv(e,t,n){let r=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}var uv={name:`attention`,resolveAll:dv,tokenize:fv};function dv(e,t){let n=-1,r,i,a,o,s,c,l,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;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let d={...e[r][1].end},f={...e[n][1].start};pv(d,-c),pv(f,c),o={type:c>1?`strongSequence`:`emphasisSequence`,start:d,end:{...e[r][1].end}},s={type:c>1?`strongSequence`:`emphasisSequence`,start:{...e[n][1].start},end:f},a={type:c>1?`strongText`:`emphasisText`,start:{...e[r][1].end},end:{...e[n][1].start}},i={type:c>1?`strong`:`emphasis`,start:{...o.start},end:{...s.end}},e[r][1].end={...o.start},e[n][1].start={...s.end},l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=R_(l,[[`enter`,e[r][1],t],[`exit`,e[r][1],t]])),l=R_(l,[[`enter`,i,t],[`enter`,o,t],[`exit`,o,t],[`enter`,a,t]]),l=R_(l,lv(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=R_(l,[[`exit`,a,t],[`enter`,s,t],[`exit`,s,t],[`exit`,i,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,l=R_(l,[[`enter`,e[n][1],t],[`exit`,e[n][1],t]])):u=0,L_(e,r-1,n-r+3,l),n=r+l.length-u-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`attentionSequence`&&(e[n][1].type=`data`);return e}function fv(e,t){let n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=cv(r),a;return o;function o(t){return a=t,e.enter(`attentionSequence`),s(t)}function s(o){if(o===a)return e.consume(o),s;let c=e.exit(`attentionSequence`),l=cv(o),u=!l||l===2&&i||n.includes(o),d=!i||i===2&&l||n.includes(r);return c._open=!!(a===42?u:u&&(i||!d)),c._close=!!(a===42?d:d&&(l||!u)),t(o)}}function pv(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var mv={name:`autolink`,tokenize:hv};function hv(e,t,n){let r=0;return i;function i(t){return e.enter(`autolink`),e.enter(`autolinkMarker`),e.consume(t),e.exit(`autolinkMarker`),e.enter(`autolinkProtocol`),a}function a(t){return G_(t)?(e.consume(t),o):t===64?n(t):l(t)}function o(e){return e===43||e===45||e===46||K_(e)?(r=1,s(e)):l(e)}function s(t){return t===58?(e.consume(t),r=0,c):(t===43||t===45||t===46||K_(t))&&r++<32?(e.consume(t),s):(r=0,l(t))}function c(r){return r===62?(e.exit(`autolinkProtocol`),e.enter(`autolinkMarker`),e.consume(r),e.exit(`autolinkMarker`),e.exit(`autolink`),t):r===null||r===32||r===60||J_(r)?n(r):(e.consume(r),c)}function l(t){return t===64?(e.consume(t),u):q_(t)?(e.consume(t),l):n(t)}function u(e){return K_(e)?d(e):n(e)}function d(n){return n===46?(e.consume(n),r=0,u):n===62?(e.exit(`autolinkProtocol`).type=`autolinkEmail`,e.enter(`autolinkMarker`),e.consume(n),e.exit(`autolinkMarker`),e.exit(`autolink`),t):f(n)}function f(t){if((t===45||K_(t))&&r++<63){let n=t===45?f:d;return e.consume(t),n}return n(t)}}var gv={partial:!0,tokenize:_v};function _v(e,t,n){return r;function r(t){return Z(t)?Q(e,i,`linePrefix`)(t):i(t)}function i(e){return e===null||Y(e)?t(e):n(e)}}var vv={continuation:{tokenize:bv},exit:xv,name:`blockQuote`,tokenize:yv};function yv(e,t,n){let r=this;return i;function i(t){if(t===62){let n=r.containerState;return n.open||(e.enter(`blockQuote`,{_container:!0}),n.open=!0),e.enter(`blockQuotePrefix`),e.enter(`blockQuoteMarker`),e.consume(t),e.exit(`blockQuoteMarker`),a}return n(t)}function a(n){return Z(n)?(e.enter(`blockQuotePrefixWhitespace`),e.consume(n),e.exit(`blockQuotePrefixWhitespace`),e.exit(`blockQuotePrefix`),t):(e.exit(`blockQuotePrefix`),t(n))}}function bv(e,t,n){let r=this;return i;function i(t){return Z(t)?Q(e,a,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):a(t)}function a(r){return e.attempt(vv,t,n)(r)}}function xv(e){e.exit(`blockQuote`)}var Sv={name:`characterEscape`,tokenize:Cv};function Cv(e,t,n){return r;function r(t){return e.enter(`characterEscape`),e.enter(`escapeMarker`),e.consume(t),e.exit(`escapeMarker`),i}function i(r){return Z_(r)?(e.enter(`characterEscapeValue`),e.consume(r),e.exit(`characterEscapeValue`),e.exit(`characterEscape`),t):n(r)}}var wv={name:`characterReference`,tokenize:Tv};function Tv(e,t,n){let r=this,i=0,a,o;return s;function s(t){return e.enter(`characterReference`),e.enter(`characterReferenceMarker`),e.consume(t),e.exit(`characterReferenceMarker`),c}function c(t){return t===35?(e.enter(`characterReferenceMarkerNumeric`),e.consume(t),e.exit(`characterReferenceMarkerNumeric`),l):(e.enter(`characterReferenceValue`),a=31,o=K_,u(t))}function l(t){return t===88||t===120?(e.enter(`characterReferenceMarkerHexadecimal`),e.consume(t),e.exit(`characterReferenceMarkerHexadecimal`),e.enter(`characterReferenceValue`),a=6,o=X_,u):(e.enter(`characterReferenceValue`),a=7,o=Y_,u(t))}function u(s){if(s===59&&i){let i=e.exit(`characterReferenceValue`);return o===K_&&!I_(r.sliceSerialize(i))?n(s):(e.enter(`characterReferenceMarker`),e.consume(s),e.exit(`characterReferenceMarker`),e.exit(`characterReference`),t)}return o(s)&&i++<a?(e.consume(s),u):n(s)}}var Ev={partial:!0,tokenize:kv},Dv={concrete:!0,name:`codeFenced`,tokenize:Ov};function Ov(e,t,n){let r=this,i={partial:!0,tokenize:x},a=0,o=0,s;return c;function c(e){return l(e)}function l(t){let n=r.events[r.events.length-1];return a=n&&n[1].type===`linePrefix`?n[2].sliceSerialize(n[1],!0).length:0,s=t,e.enter(`codeFenced`),e.enter(`codeFencedFence`),e.enter(`codeFencedFenceSequence`),u(t)}function u(t){return t===s?(o++,e.consume(t),u):o<3?n(t):(e.exit(`codeFencedFenceSequence`),Z(t)?Q(e,d,`whitespace`)(t):d(t))}function d(n){return n===null||Y(n)?(e.exit(`codeFencedFence`),r.interrupt?t(n):e.check(Ev,h,b)(n)):(e.enter(`codeFencedFenceInfo`),e.enter(`chunkString`,{contentType:`string`}),f(n))}function f(t){return t===null||Y(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),d(t)):Z(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),Q(e,p,`whitespace`)(t)):t===96&&t===s?n(t):(e.consume(t),f)}function p(t){return t===null||Y(t)?d(t):(e.enter(`codeFencedFenceMeta`),e.enter(`chunkString`,{contentType:`string`}),m(t))}function m(t){return t===null||Y(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceMeta`),d(t)):t===96&&t===s?n(t):(e.consume(t),m)}function h(t){return e.attempt(i,b,g)(t)}function g(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),_}function _(t){return a>0&&Z(t)?Q(e,v,`linePrefix`,a+1)(t):v(t)}function v(t){return t===null||Y(t)?e.check(Ev,h,b)(t):(e.enter(`codeFlowValue`),y(t))}function y(t){return t===null||Y(t)?(e.exit(`codeFlowValue`),v(t)):(e.consume(t),y)}function b(n){return e.exit(`codeFenced`),t(n)}function x(e,t,n){let i=0;return a;function a(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c}function c(t){return e.enter(`codeFencedFence`),Z(t)?Q(e,l,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):l(t)}function l(t){return t===s?(e.enter(`codeFencedFenceSequence`),u(t)):n(t)}function u(t){return t===s?(i++,e.consume(t),u):i>=o?(e.exit(`codeFencedFenceSequence`),Z(t)?Q(e,d,`whitespace`)(t):d(t)):n(t)}function d(r){return r===null||Y(r)?(e.exit(`codeFencedFence`),t(r)):n(r)}}}function kv(e,t,n){let r=this;return i;function i(t){return t===null?n(t):(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}var Av={name:`codeIndented`,tokenize:Mv},jv={partial:!0,tokenize:Nv};function Mv(e,t,n){let r=this;return i;function i(t){return e.enter(`codeIndented`),Q(e,a,`linePrefix`,5)(t)}function a(e){let t=r.events[r.events.length-1];return t&&t[1].type===`linePrefix`&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return t===null?c(t):Y(t)?e.attempt(jv,o,c)(t):(e.enter(`codeFlowValue`),s(t))}function s(t){return t===null||Y(t)?(e.exit(`codeFlowValue`),o(t)):(e.consume(t),s)}function c(n){return e.exit(`codeIndented`),t(n)}}function Nv(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):Y(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),i):Q(e,a,`linePrefix`,5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):Y(e)?i(e):n(e)}}var Pv={name:`codeText`,previous:Iv,resolve:Fv,tokenize:Lv};function Fv(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 Iv(e){return e!==96||this.events[this.events.length-1][1].type===`characterEscape`}function Lv(e,t,n){let r=0,i,a;return o;function o(t){return e.enter(`codeText`),e.enter(`codeTextSequence`),s(t)}function s(t){return t===96?(e.consume(t),r++,s):(e.exit(`codeTextSequence`),c(t))}function c(t){return t===null?n(t):t===32?(e.enter(`space`),e.consume(t),e.exit(`space`),c):t===96?(a=e.enter(`codeTextSequence`),i=0,u(t)):Y(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c):(e.enter(`codeTextData`),l(t))}function l(t){return t===null||t===32||t===96||Y(t)?(e.exit(`codeTextData`),c(t)):(e.consume(t),l)}function u(n){return n===96?(e.consume(n),i++,u):i===r?(e.exit(`codeTextSequence`),e.exit(`codeText`),t(n)):(a.type=`codeTextData`,l(n))}}var Rv=class{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=t??1/0;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){let r=t||0;this.setCursor(Math.trunc(e));let i=this.right.splice(this.right.length-r,1/0);return n&&zv(this.left,n),i.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),zv(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),zv(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){let t=this.left.splice(e,1/0);zv(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);zv(this.left,t.reverse())}}};function zv(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Bv(e){let t={},n=-1,r,i,a,o,s,c,l,u=new Rv(e);for(;++n<u.length;){for(;n in t;)n=t[n];if(r=u.get(n),n&&r[1].type===`chunkFlow`&&u.get(n-1)[1].type===`listItemPrefix`&&(c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type===`lineEndingBlank`&&(a+=2),a<c.length&&c[a][1].type===`content`))for(;++a<c.length&&c[a][1].type!==`content`;)c[a][1].type===`chunkText`&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]===`enter`)r[1].contentType&&(Object.assign(t,Vv(u,n)),n=t[n],l=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(o=u.get(a),o[1].type===`lineEnding`||o[1].type===`lineEndingBlank`)o[0]===`enter`&&(i&&(u.get(i)[1].type=`lineEndingBlank`),o[1].type=`lineEnding`,i=a);else if(!(o[1].type===`linePrefix`||o[1].type===`listItemIndent`))break;i&&(r[1].end={...u.get(i)[1].start},s=u.slice(i,n),s.unshift(r),u.splice(i,n-i+1,s))}}return L_(e,0,1/0,u.slice(0)),!l}function Vv(e,t){let n=e.get(t)[1],r=e.get(t)[2],i=t-1,a=[],o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));let s=o.events,c=[],l={},u,d,f=-1,p=n,m=0,h=0,g=[h];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),d&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(u),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=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&&(h=f+1,g.push(h),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),f=g.length;f--;){let t=s.slice(g[f],g[f+1]),n=a.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)l[m+c[f][0]]=m+c[f][1],m+=c[f][1]-c[f][0]-1;return l}var Hv={resolve:Wv,tokenize:Gv},Uv={partial:!0,tokenize:Kv};function Wv(e){return Bv(e),e}function Gv(e,t){let n;return r;function r(t){return e.enter(`content`),n=e.enter(`chunkContent`,{contentType:`content`}),i(t)}function i(t){return t===null?a(t):Y(t)?e.check(Uv,o,a)(t):(e.consume(t),i)}function a(n){return e.exit(`chunkContent`),e.exit(`content`),t(n)}function o(t){return e.consume(t),e.exit(`chunkContent`),n.next=e.enter(`chunkContent`,{contentType:`content`,previous:n}),n=n.next,i}}function Kv(e,t,n){let r=this;return i;function i(t){return e.exit(`chunkContent`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),Q(e,a,`linePrefix`)}function a(i){if(i===null||Y(i))return n(i);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes(`codeIndented`)&&a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}function qv(e,t,n,r,i,a,o,s,c){let l=c||1/0,u=0;return d;function d(t){return t===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(t),e.exit(a),f):t===null||t===32||t===41||J_(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter(`chunkString`,{contentType:`string`}),h(t))}function f(n){return n===62?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter(`chunkString`,{contentType:`string`}),p(n))}function p(t){return t===62?(e.exit(`chunkString`),e.exit(s),f(t)):t===null||t===60||Y(t)?n(t):(e.consume(t),t===92?m:p)}function m(t){return t===60||t===62||t===92?(e.consume(t),p):p(t)}function h(i){return!u&&(i===null||i===41||X(i))?(e.exit(`chunkString`),e.exit(s),e.exit(o),e.exit(r),t(i)):u<l&&i===40?(e.consume(i),u++,h):i===41?(e.consume(i),u--,h):i===null||i===32||i===40||J_(i)?n(i):(e.consume(i),i===92?g:h)}function g(t){return t===40||t===41||t===92?(e.consume(t),h):h(t)}}function Jv(e,t,n,r,i,a){let o=this,s=0,c;return l;function l(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),u}function u(l){return s>999||l===null||l===91||l===93&&!c||l===94&&!s&&`_hiddenFootnoteSupport`in o.parser.constructs?n(l):l===93?(e.exit(a),e.enter(i),e.consume(l),e.exit(i),e.exit(r),t):Y(l)?(e.enter(`lineEnding`),e.consume(l),e.exit(`lineEnding`),u):(e.enter(`chunkString`,{contentType:`string`}),d(l))}function d(t){return t===null||t===91||t===93||Y(t)||s++>999?(e.exit(`chunkString`),u(t)):(e.consume(t),c||(c=!Z(t)),t===92?f:d)}function f(t){return t===91||t===92||t===93?(e.consume(t),s++,d):d(t)}}function Yv(e,t,n,r,i,a){let o;return s;function s(t){return t===34||t===39||t===40?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=t===40?41:t,c):n(t)}function c(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),l(n))}function l(t){return t===o?(e.exit(a),c(o)):t===null?n(t):Y(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),Q(e,l,`linePrefix`)):(e.enter(`chunkString`,{contentType:`string`}),u(t))}function u(t){return t===o||t===null||Y(t)?(e.exit(`chunkString`),l(t)):(e.consume(t),t===92?d:u)}function d(t){return t===o||t===92?(e.consume(t),u):u(t)}}function Xv(e,t){let n;return r;function r(i){return Y(i)?(e.enter(`lineEnding`),e.consume(i),e.exit(`lineEnding`),n=!0,r):Z(i)?Q(e,r,n?`linePrefix`:`lineSuffix`)(i):t(i)}}var Zv={name:`definition`,tokenize:$v},Qv={partial:!0,tokenize:ey};function $v(e,t,n){let r=this,i;return a;function a(t){return e.enter(`definition`),o(t)}function o(t){return Jv.call(r,e,s,n,`definitionLabel`,`definitionLabelMarker`,`definitionLabelString`)(t)}function s(t){return i=W_(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),c):n(t)}function c(t){return X(t)?Xv(e,l)(t):l(t)}function l(t){return qv(e,u,n,`definitionDestination`,`definitionDestinationLiteral`,`definitionDestinationLiteralMarker`,`definitionDestinationRaw`,`definitionDestinationString`)(t)}function u(t){return e.attempt(Qv,d,d)(t)}function d(t){return Z(t)?Q(e,f,`whitespace`)(t):f(t)}function f(a){return a===null||Y(a)?(e.exit(`definition`),r.parser.defined.push(i),t(a)):n(a)}}function ey(e,t,n){return r;function r(t){return X(t)?Xv(e,i)(t):n(t)}function i(t){return Yv(e,a,n,`definitionTitle`,`definitionTitleMarker`,`definitionTitleString`)(t)}function a(t){return Z(t)?Q(e,o,`whitespace`)(t):o(t)}function o(e){return e===null||Y(e)?t(e):n(e)}}var ty={name:`hardBreakEscape`,tokenize:ny};function ny(e,t,n){return r;function r(t){return e.enter(`hardBreakEscape`),e.consume(t),i}function i(r){return Y(r)?(e.exit(`hardBreakEscape`),t(r)):n(r)}}var ry={name:`headingAtx`,resolve:iy,tokenize:ay};function iy(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`},L_(e,r,n-r+1,[[`enter`,i,t],[`enter`,a,t],[`exit`,a,t],[`exit`,i,t]])),e}function ay(e,t,n){let r=0;return i;function i(t){return e.enter(`atxHeading`),a(t)}function a(t){return e.enter(`atxHeadingSequence`),o(t)}function o(t){return t===35&&r++<6?(e.consume(t),o):t===null||X(t)?(e.exit(`atxHeadingSequence`),s(t)):n(t)}function s(n){return n===35?(e.enter(`atxHeadingSequence`),c(n)):n===null||Y(n)?(e.exit(`atxHeading`),t(n)):Z(n)?Q(e,s,`whitespace`)(n):(e.enter(`atxHeadingText`),l(n))}function c(t){return t===35?(e.consume(t),c):(e.exit(`atxHeadingSequence`),s(t))}function l(t){return t===null||t===35||X(t)?(e.exit(`atxHeadingText`),s(t)):(e.consume(t),l)}}var oy=`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.search.section.summary.table.tbody.td.tfoot.th.thead.title.tr.track.ul`.split(`.`),sy=[`pre`,`script`,`style`,`textarea`],cy={concrete:!0,name:`htmlFlow`,resolveTo:dy,tokenize:fy},ly={partial:!0,tokenize:my},uy={partial:!0,tokenize:py};function dy(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 fy(e,t,n){let r=this,i,a,o,s,c;return l;function l(e){return u(e)}function u(t){return e.enter(`htmlFlow`),e.enter(`htmlFlowData`),e.consume(t),d}function d(s){return s===33?(e.consume(s),f):s===47?(e.consume(s),a=!0,h):s===63?(e.consume(s),i=3,r.interrupt?t:ae):G_(s)?(e.consume(s),o=String.fromCharCode(s),g):n(s)}function f(a){return a===45?(e.consume(a),i=2,p):a===91?(e.consume(a),i=5,s=0,m):G_(a)?(e.consume(a),i=4,r.interrupt?t:ae):n(a)}function p(i){return i===45?(e.consume(i),r.interrupt?t:ae):n(i)}function m(i){return i===`CDATA[`.charCodeAt(s++)?(e.consume(i),s===6?r.interrupt?t:D:m):n(i)}function h(t){return G_(t)?(e.consume(t),o=String.fromCharCode(t),g):n(t)}function g(s){if(s===null||s===47||s===62||X(s)){let c=s===47,l=o.toLowerCase();return!c&&!a&&sy.includes(l)?(i=1,r.interrupt?t(s):D(s)):oy.includes(o.toLowerCase())?(i=6,c?(e.consume(s),_):r.interrupt?t(s):D(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):a?v(s):y(s))}return s===45||K_(s)?(e.consume(s),o+=String.fromCharCode(s),g):n(s)}function _(i){return i===62?(e.consume(i),r.interrupt?t:D):n(i)}function v(t){return Z(t)?(e.consume(t),v):E(t)}function y(t){return t===47?(e.consume(t),E):t===58||t===95||G_(t)?(e.consume(t),b):Z(t)?(e.consume(t),y):E(t)}function b(t){return t===45||t===46||t===58||t===95||K_(t)?(e.consume(t),b):x(t)}function x(t){return t===61?(e.consume(t),S):Z(t)?(e.consume(t),x):y(t)}function S(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),c=t,C):Z(t)?(e.consume(t),S):w(t)}function C(t){return t===c?(e.consume(t),c=null,T):t===null||Y(t)?n(t):(e.consume(t),C)}function w(t){return t===null||t===34||t===39||t===47||t===60||t===61||t===62||t===96||X(t)?x(t):(e.consume(t),w)}function T(e){return e===47||e===62||Z(e)?y(e):n(e)}function E(t){return t===62?(e.consume(t),ee):n(t)}function ee(t){return t===null||Y(t)?D(t):Z(t)?(e.consume(t),ee):n(t)}function D(t){return t===45&&i===2?(e.consume(t),re):t===60&&i===1?(e.consume(t),k):t===62&&i===4?(e.consume(t),oe):t===63&&i===3?(e.consume(t),ae):t===93&&i===5?(e.consume(t),ie):Y(t)&&(i===6||i===7)?(e.exit(`htmlFlowData`),e.check(ly,se,te)(t)):t===null||Y(t)?(e.exit(`htmlFlowData`),te(t)):(e.consume(t),D)}function te(t){return e.check(uy,O,se)(t)}function O(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),ne}function ne(t){return t===null||Y(t)?te(t):(e.enter(`htmlFlowData`),D(t))}function re(t){return t===45?(e.consume(t),ae):D(t)}function k(t){return t===47?(e.consume(t),o=``,A):D(t)}function A(t){if(t===62){let n=o.toLowerCase();return sy.includes(n)?(e.consume(t),oe):D(t)}return G_(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),A):D(t)}function ie(t){return t===93?(e.consume(t),ae):D(t)}function ae(t){return t===62?(e.consume(t),oe):t===45&&i===2?(e.consume(t),ae):D(t)}function oe(t){return t===null||Y(t)?(e.exit(`htmlFlowData`),se(t)):(e.consume(t),oe)}function se(n){return e.exit(`htmlFlow`),t(n)}}function py(e,t,n){let r=this;return i;function i(t){return Y(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a):n(t)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function my(e,t,n){return r;function r(r){return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),e.attempt(gv,t,n)}}var hy={name:`htmlText`,tokenize:gy};function gy(e,t,n){let r=this,i,a,o;return s;function s(t){return e.enter(`htmlText`),e.enter(`htmlTextData`),e.consume(t),c}function c(t){return t===33?(e.consume(t),l):t===47?(e.consume(t),x):t===63?(e.consume(t),y):G_(t)?(e.consume(t),w):n(t)}function l(t){return t===45?(e.consume(t),u):t===91?(e.consume(t),a=0,m):G_(t)?(e.consume(t),v):n(t)}function u(t){return t===45?(e.consume(t),p):n(t)}function d(t){return t===null?n(t):t===45?(e.consume(t),f):Y(t)?(o=d,k(t)):(e.consume(t),d)}function f(t){return t===45?(e.consume(t),p):d(t)}function p(e){return e===62?re(e):e===45?f(e):d(e)}function m(t){return t===`CDATA[`.charCodeAt(a++)?(e.consume(t),a===6?h:m):n(t)}function h(t){return t===null?n(t):t===93?(e.consume(t),g):Y(t)?(o=h,k(t)):(e.consume(t),h)}function g(t){return t===93?(e.consume(t),_):h(t)}function _(t){return t===62?re(t):t===93?(e.consume(t),_):h(t)}function v(t){return t===null||t===62?re(t):Y(t)?(o=v,k(t)):(e.consume(t),v)}function y(t){return t===null?n(t):t===63?(e.consume(t),b):Y(t)?(o=y,k(t)):(e.consume(t),y)}function b(e){return e===62?re(e):y(e)}function x(t){return G_(t)?(e.consume(t),S):n(t)}function S(t){return t===45||K_(t)?(e.consume(t),S):C(t)}function C(t){return Y(t)?(o=C,k(t)):Z(t)?(e.consume(t),C):re(t)}function w(t){return t===45||K_(t)?(e.consume(t),w):t===47||t===62||X(t)?T(t):n(t)}function T(t){return t===47?(e.consume(t),re):t===58||t===95||G_(t)?(e.consume(t),E):Y(t)?(o=T,k(t)):Z(t)?(e.consume(t),T):re(t)}function E(t){return t===45||t===46||t===58||t===95||K_(t)?(e.consume(t),E):ee(t)}function ee(t){return t===61?(e.consume(t),D):Y(t)?(o=ee,k(t)):Z(t)?(e.consume(t),ee):T(t)}function D(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),i=t,te):Y(t)?(o=D,k(t)):Z(t)?(e.consume(t),D):(e.consume(t),O)}function te(t){return t===i?(e.consume(t),i=void 0,ne):t===null?n(t):Y(t)?(o=te,k(t)):(e.consume(t),te)}function O(t){return t===null||t===34||t===39||t===60||t===61||t===96?n(t):t===47||t===62||X(t)?T(t):(e.consume(t),O)}function ne(e){return e===47||e===62||X(e)?T(e):n(e)}function re(r){return r===62?(e.consume(r),e.exit(`htmlTextData`),e.exit(`htmlText`),t):n(r)}function k(t){return e.exit(`htmlTextData`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),A}function A(t){return Z(t)?Q(e,ie,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):ie(t)}function ie(t){return e.enter(`htmlTextData`),o(t)}}var _y={name:`labelEnd`,resolveAll:xy,resolveTo:Sy,tokenize:Cy},vy={tokenize:wy},yy={tokenize:Ty},by={tokenize:Ey};function xy(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),r.type===`labelImage`||r.type===`labelLink`||r.type===`labelEnd`){let e=r.type===`labelImage`?4:2;r.type=`data`,t+=e}}return e.length!==n.length&&L_(e,0,e.length,n),e}function Sy(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);let c={type:e[a][1].type===`labelLink`?`link`:`image`,start:{...e[a][1].start},end:{...e[e.length-1][1].end}},l={type:`label`,start:{...e[a][1].start},end:{...e[o][1].end}},u={type:`labelText`,start:{...e[a+r+2][1].end},end:{...e[o-2][1].start}};return s=[[`enter`,c,t],[`enter`,l,t]],s=R_(s,e.slice(a+1,a+r+3)),s=R_(s,[[`enter`,u,t]]),s=R_(s,lv(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),s=R_(s,[[`exit`,u,t],e[o-2],e[o-1],[`exit`,l,t]]),s=R_(s,e.slice(o+1)),s=R_(s,[[`exit`,c,t]]),L_(e,a,e.length,s),e}function Cy(e,t,n){let r=this,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(t){return a?a._inactive?d(t):(o=r.parser.defined.includes(W_(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter(`labelEnd`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelEnd`),c):n(t)}function c(t){return t===40?e.attempt(vy,u,o?u:d)(t):t===91?e.attempt(yy,u,o?l:d)(t):o?u(t):d(t)}function l(t){return e.attempt(by,u,d)(t)}function u(e){return t(e)}function d(e){return a._balanced=!0,n(e)}}function wy(e,t,n){return r;function r(t){return e.enter(`resource`),e.enter(`resourceMarker`),e.consume(t),e.exit(`resourceMarker`),i}function i(t){return X(t)?Xv(e,a)(t):a(t)}function a(t){return t===41?u(t):qv(e,o,s,`resourceDestination`,`resourceDestinationLiteral`,`resourceDestinationLiteralMarker`,`resourceDestinationRaw`,`resourceDestinationString`,32)(t)}function o(t){return X(t)?Xv(e,c)(t):u(t)}function s(e){return n(e)}function c(t){return t===34||t===39||t===40?Yv(e,l,n,`resourceTitle`,`resourceTitleMarker`,`resourceTitleString`)(t):u(t)}function l(t){return X(t)?Xv(e,u)(t):u(t)}function u(r){return r===41?(e.enter(`resourceMarker`),e.consume(r),e.exit(`resourceMarker`),e.exit(`resource`),t):n(r)}}function Ty(e,t,n){let r=this;return i;function i(t){return Jv.call(r,e,a,o,`reference`,`referenceMarker`,`referenceString`)(t)}function a(e){return r.parser.defined.includes(W_(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}function Ey(e,t,n){return r;function r(t){return e.enter(`reference`),e.enter(`referenceMarker`),e.consume(t),e.exit(`referenceMarker`),i}function i(r){return r===93?(e.enter(`referenceMarker`),e.consume(r),e.exit(`referenceMarker`),e.exit(`reference`),t):n(r)}}var Dy={name:`labelStartImage`,resolveAll:_y.resolveAll,tokenize:Oy};function Oy(e,t,n){let r=this;return i;function i(t){return e.enter(`labelImage`),e.enter(`labelImageMarker`),e.consume(t),e.exit(`labelImageMarker`),a}function a(t){return t===91?(e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelImage`),o):n(t)}function o(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var ky={name:`labelStartLink`,resolveAll:_y.resolveAll,tokenize:Ay};function Ay(e,t,n){let r=this;return i;function i(t){return e.enter(`labelLink`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelLink`),a}function a(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var jy={name:`lineEnding`,tokenize:My};function My(e,t){return n;function n(n){return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),Q(e,t,`linePrefix`)}}var Ny={name:`thematicBreak`,tokenize:Py};function Py(e,t,n){let r=0,i;return a;function a(t){return e.enter(`thematicBreak`),o(t)}function o(e){return i=e,s(e)}function s(a){return a===i?(e.enter(`thematicBreakSequence`),c(a)):r>=3&&(a===null||Y(a))?(e.exit(`thematicBreak`),t(a)):n(a)}function c(t){return t===i?(e.consume(t),r++,c):(e.exit(`thematicBreakSequence`),Z(t)?Q(e,s,`whitespace`)(t):s(t))}}var Fy={continuation:{tokenize:zy},exit:Vy,name:`list`,tokenize:Ry},Iy={partial:!0,tokenize:Hy},Ly={partial:!0,tokenize:By};function Ry(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&i[1].type===`linePrefix`?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(t){let i=r.containerState.type||(t===42||t===43||t===45?`listUnordered`:`listOrdered`);if(i===`listUnordered`?!r.containerState.marker||t===r.containerState.marker:Y_(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),i===`listUnordered`)return e.enter(`listItemPrefix`),t===42||t===45?e.check(Ny,n,l)(t):l(t);if(!r.interrupt||t===49)return e.enter(`listItemPrefix`),e.enter(`listItemValue`),c(t)}return n(t)}function c(t){return Y_(t)&&++o<10?(e.consume(t),c):(!r.interrupt||o<2)&&(r.containerState.marker?t===r.containerState.marker:t===41||t===46)?(e.exit(`listItemValue`),l(t)):n(t)}function l(t){return e.enter(`listItemMarker`),e.consume(t),e.exit(`listItemMarker`),r.containerState.marker=r.containerState.marker||t,e.check(gv,r.interrupt?n:u,e.attempt(Iy,f,d))}function u(e){return r.containerState.initialBlankLine=!0,a++,f(e)}function d(t){return Z(t)?(e.enter(`listItemPrefixWhitespace`),e.consume(t),e.exit(`listItemPrefixWhitespace`),f):n(t)}function f(n){return r.containerState.size=a+r.sliceSerialize(e.exit(`listItemPrefix`),!0).length,t(n)}}function zy(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(gv,i,a);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Q(e,t,`listItemIndent`,r.containerState.size+1)(n)}function a(n){return r.containerState.furtherBlankLines||!Z(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Ly,t,o)(n))}function o(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,Q(e,e.attempt(Fy,t,n),`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(i)}}function By(e,t,n){let r=this;return Q(e,i,`listItemIndent`,r.containerState.size+1);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`listItemIndent`&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)}}function Vy(e){e.exit(this.containerState.type)}function Hy(e,t,n){let r=this;return Q(e,i,`listItemPrefixWhitespace`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:5);function i(e){let i=r.events[r.events.length-1];return!Z(e)&&i&&i[1].type===`listItemPrefixWhitespace`?t(e):n(e)}}var Uy={name:`setextUnderline`,resolveTo:Wy,tokenize:Gy};function Wy(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);let o={type:`setextHeading`,start:{...e[r][1].start},end:{...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={...e[a][1].end}):e[r][1]=o,e.push([`exit`,o,t]),e}function Gy(e,t,n){let r=this,i;return a;function a(t){let a=r.events.length,s;for(;a--;)if(r.events[a][1].type!==`lineEnding`&&r.events[a][1].type!==`linePrefix`&&r.events[a][1].type!==`content`){s=r.events[a][1].type===`paragraph`;break}return!r.parser.lazy[r.now().line]&&(r.interrupt||s)?(e.enter(`setextHeadingLine`),i=t,o(t)):n(t)}function o(t){return e.enter(`setextHeadingLineSequence`),s(t)}function s(t){return t===i?(e.consume(t),s):(e.exit(`setextHeadingLineSequence`),Z(t)?Q(e,c,`lineSuffix`)(t):c(t))}function c(r){return r===null||Y(r)?(e.exit(`setextHeadingLine`),t(r)):n(r)}}var Ky={tokenize:qy};function qy(e){let t=this,n=e.attempt(gv,r,e.attempt(this.parser.constructs.flowInitial,i,Q(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Hv,i)),`linePrefix`)));return n;function r(r){if(r===null){e.consume(r);return}return e.enter(`lineEndingBlank`),e.consume(r),e.exit(`lineEndingBlank`),t.currentConstruct=void 0,n}function i(r){if(r===null){e.consume(r);return}return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),t.currentConstruct=void 0,n}}var Jy={resolveAll:Qy()},Yy=Zy(`string`),Xy=Zy(`text`);function Zy(e){return{resolveAll:Qy(e===`text`?$y:void 0),tokenize:t};function t(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,o);return a;function a(e){return c(e)?i(e):o(e)}function o(e){if(e===null){t.consume(e);return}return t.enter(`data`),t.consume(e),s}function s(e){return c(e)?(t.exit(`data`),i(e)):(t.consume(e),s)}function c(e){if(e===null)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}function Qy(e){return t;function t(t,n){let r=-1,i;for(;++r<=t.length;)i===void 0?t[r]&&t[r][1].type===`data`&&(i=r,r++):(!t[r]||t[r][1].type!==`data`)&&(r!==i+2&&(t[i][1].end=t[r-1][1].end,t.splice(i+2,r-i-2),r=i+2),i=void 0);return e?e(t,n):t}}function $y(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type===`lineEnding`)&&e[n-1][1].type===`data`){let r=e[n-1][1],i=t.sliceStream(r),a=i.length,o=-1,s=0,c;for(;a--;){let e=i[a];if(typeof e==`string`){for(o=e.length;e.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(e===-2)c=!0,s++;else if(e!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){let i={type:n===e.length||c||s<2?`lineSuffix`:`hardBreakTrailing`,start:{_bufferIndex:a?o:r.start._bufferIndex+o,_index:r.start._index+a,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...i.start},r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,[`enter`,i,t],[`exit`,i,t]),n+=2)}n++}return e}var eb=t({attentionMarkers:()=>cb,contentInitial:()=>nb,disable:()=>lb,document:()=>tb,flow:()=>ib,flowInitial:()=>rb,insideSpan:()=>sb,string:()=>ab,text:()=>ob}),tb={42:Fy,43:Fy,45:Fy,48:Fy,49:Fy,50:Fy,51:Fy,52:Fy,53:Fy,54:Fy,55:Fy,56:Fy,57:Fy,62:vv},nb={91:Zv},rb={[-2]:Av,[-1]:Av,32:Av},ib={35:ry,42:Ny,45:[Uy,Ny],60:cy,61:Uy,95:Ny,96:Dv,126:Dv},ab={38:wv,92:Sv},ob={[-5]:jy,[-4]:jy,[-3]:jy,33:Dy,38:wv,42:uv,60:[mv,hy],91:ky,92:[ty,Sv],93:_y,95:uv,96:Pv},sb={null:[uv,Jy]},cb={null:[42,95]},lb={null:[]};function ub(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},a=[],o=[],s=[],c={attempt:C(x),check:C(S),consume:v,enter:y,exit:b,interrupt:C(S,{interrupt:!0})},l={code:null,containerState:{},defineSkip:h,events:[],now:m,parser:e,previous:null,sliceSerialize:f,sliceStream:p,write:d},u=t.tokenize.call(l,c);return t.resolveAll&&a.push(t),l;function d(e){return o=R_(o,e),g(),o[o.length-1]===null?(w(t,0),l.events=lv(a,l.events,l),l.events):[]}function f(e,t){return fb(p(e),t)}function p(e){return db(o,e)}function m(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:a}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:a}}function h(e){i[e.line]=e.column,E()}function g(){let e;for(;r._index<o.length;){let t=o[r._index];if(typeof t==`string`)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)_(t.charCodeAt(r._bufferIndex));else _(t)}}function _(e){u=u(e)}function v(e){Y(e)?(r.line++,r.column=1,r.offset+=e===-3?2:1,E()):e!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),l.previous=e}function y(e,t){let n=t||{};return n.type=e,n.start=m(),l.events.push([`enter`,n,l]),s.push(n),n}function b(e){let t=s.pop();return t.end=m(),l.events.push([`exit`,t,l]),t}function x(e,t){w(e,t.from)}function S(e,t){t.restore()}function C(e,t){return n;function n(n,r,i){let a,o,s,u;return Array.isArray(n)?f(n):`tokenize`in n?f([n]):d(n);function d(e){return t;function t(t){let n=t!==null&&e[t],r=t!==null&&e.null;return f([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}function f(e){return a=e,o=0,e.length===0?i:p(e[o])}function p(e){return n;function n(n){return u=T(),s=e,e.partial||(l.currentConstruct=e),e.name&&l.parser.constructs.disable.null.includes(e.name)?h(n):e.tokenize.call(t?Object.assign(Object.create(l),t):l,c,m,h)(n)}}function m(t){return e(s,u),r}function h(e){return u.restore(),++o<a.length?p(a[o]):i}}}function w(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&L_(l.events,t,l.events.length-t,e.resolve(l.events.slice(t),l)),e.resolveTo&&(l.events=e.resolveTo(l.events,l))}function T(){let e=m(),t=l.previous,n=l.currentConstruct,i=l.events.length,a=Array.from(s);return{from:i,restore:o};function o(){r=e,l.previous=t,l.currentConstruct=n,l.events.length=i,s=a,E()}}function E(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function db(e,t){let n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex,o;if(n===i)o=[e[n].slice(r,a)];else{if(o=e.slice(n,i),r>-1){let e=o[0];typeof e==`string`?o[0]=e.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function fb(e,t){let n=-1,r=[],i;for(;++n<e.length;){let a=e[n],o;if(typeof a==`string`)o=a;else switch(a){case-5:o=`\r`;break;case-4:o=`
|
|
264
264
|
`;break;case-3:o=`\r
|
|
265
|
-
`;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(``)}function ib(e){let t={constructs:j_([Gy,...(e||{}).extensions||[]]),content:n(q_),defined:[],document:n(Y_),flow:n(Ly),lazy:{},string:n(By),text:n(Vy)};return t;function n(e){return n;function n(n){return tb(t,e,n)}}}function ab(e){for(;!jv(e););return e}var ob=/[\0\t\n\r]/g;function sb(){let e=1,t=``,n=!0,r;return i;function i(i,a,o){let s=[],c,l,u,d,f;for(i=t+(typeof i==`string`?i.toString():new TextDecoder(a||void 0).decode(i)),u=0,t=``,n&&(i.charCodeAt(0)===65279&&u++,n=void 0);u<i.length;){if(ob.lastIndex=u,c=ob.exec(i),d=c&&c.index!==void 0?c.index:i.length,f=i.charCodeAt(d),!c){t=i.slice(u);break}if(f===10&&u===d&&r)s.push(-3),r=void 0;else switch(r&&(s.push(-5),r=void 0),u<d&&(s.push(i.slice(u,d)),e+=d-u),f){case 0:s.push(65533),e++;break;case 9:for(l=Math.ceil(e/4)*4,s.push(-2);e++<l;)s.push(-1);break;case 10:s.push(-4),e=1;break;default:r=!0,e=1}u=d+1}return o&&(r&&s.push(-5),t&&s.push(t),s.push(null)),s}}var cb=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function lb(e){return e.replace(cb,ub)}function ub(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){let e=n.charCodeAt(1),t=e===120||e===88;return P_(n.slice(t?2:1),t?16:10)}return D_(n)||e}var db={}.hasOwnProperty;function fb(e,t,n){return t&&typeof t==`object`&&(n=t,t=void 0),pb(n)(ab(ib(n).document().write(sb()(e,t,!0))))}function pb(e){let t={transforms:[],canContainEols:[`emphasis`,`fragment`,`heading`,`paragraph`,`strong`],enter:{autolink:a(Ce),autolinkProtocol:T,autolinkEmail:T,atxHeading:a(ye),blockQuote:a(he),characterEscape:T,characterReference:T,codeFenced:a(ge),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(ge,o),codeText:a(_e,o),codeTextData:T,data:T,codeFlowValue:T,definition:a(ve),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(j),hardBreakEscape:a(be),hardBreakTrailing:a(be),htmlFlow:a(xe,o),htmlFlowData:T,htmlText:a(xe,o),htmlTextData:T,image:a(Se),label:o,link:a(Ce),listItem:a(Te),listItemValue:f,listOrdered:a(we,d),listUnordered:a(we),paragraph:a(Ee),reference:ce,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(ye),strong:a(De),thematicBreak:a(ke)},exit:{atxHeading:c(),atxHeadingSequence:x,autolink:c(),autolinkEmail:me,autolinkProtocol:pe,blockQuote:c(),characterEscapeValue:E,characterReferenceMarkerHexadecimal:ue,characterReferenceMarkerNumeric:ue,characterReferenceValue:de,characterReference:fe,codeFenced:c(g),codeFencedFence:h,codeFencedFenceInfo:p,codeFencedFenceMeta:m,codeFlowValue:E,codeIndented:c(_),codeText:c(ne),codeTextData:E,data:E,definition:c(),definitionDestinationString:b,definitionLabelString:v,definitionTitleString:y,emphasis:c(),hardBreakEscape:c(D),hardBreakTrailing:c(D),htmlFlow:c(te),htmlFlowData:E,htmlText:c(O),htmlTextData:E,image:c(k),label:ie,labelText:A,lineEnding:ee,link:c(re),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:le,resourceDestinationString:ae,resourceTitleString:oe,resource:se,setextHeading:c(w),setextHeadingLineSequence:C,setextHeadingText:S,strong:c(),thematicBreak:c()}};hb(t,(e||{}).mdastExtensions||[]);let n={};return r;function r(e){let r={type:`root`,children:[]},a={stack:[r],tokenStack:[],config:t,enter:s,exit:l,buffer:o,resume:u,data:n},c=[],d=-1;for(;++d<e.length;)(e[d][1].type===`listOrdered`||e[d][1].type===`listUnordered`)&&(e[d][0]===`enter`?c.push(d):d=i(e,c.pop(),d));for(d=-1;++d<e.length;){let n=t[e[d][0]];db.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},a),e[d][1])}if(a.tokenStack.length>0){let e=a.tokenStack[a.tokenStack.length-1];(e[1]||_b).call(a,void 0,e[0])}for(r.position={start:mb(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:mb(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)r=t.transforms[d](r)||r;return r}function i(e,t,n){let r=t-1,i=-1,a=!1,o,s,c,l;for(;++r<=n;){let t=e[r];switch(t[1].type){case`listUnordered`:case`listOrdered`:case`blockQuote`:t[0]===`enter`?i++:i--,l=void 0;break;case`lineEndingBlank`:t[0]===`enter`&&(o&&!l&&!i&&!c&&(c=r),l=void 0);break;case`linePrefix`:case`listItemValue`:case`listItemMarker`:case`listItemPrefix`:case`listItemPrefixWhitespace`:break;default:l=void 0}if(!i&&t[0]===`enter`&&t[1].type===`listItemPrefix`||i===-1&&t[0]===`exit`&&(t[1].type===`listUnordered`||t[1].type===`listOrdered`)){if(o){let i=r;for(s=void 0;i--;){let t=e[i];if(t[1].type===`lineEnding`||t[1].type===`lineEndingBlank`){if(t[0]===`exit`)continue;s&&(e[s][1].type=`lineEndingBlank`,a=!0),t[1].type=`lineEnding`,s=i}else if(!(t[1].type===`linePrefix`||t[1].type===`blockQuotePrefix`||t[1].type===`blockQuotePrefixWhitespace`||t[1].type===`blockQuoteMarker`||t[1].type===`listItemIndent`))break}c&&(!s||c<s)&&(o._spread=!0),o.end=Object.assign({},s?e[s][1].start:t[1].end),e.splice(s||r,0,[`exit`,o,t[2]]),r++,n++}if(t[1].type===`listItemPrefix`){let i={type:`listItem`,_spread:!1,start:Object.assign({},t[1].start),end:void 0};o=i,e.splice(r,0,[`enter`,i,t[2]]),r++,n++,c=void 0,l=!0}}}return e[t][1]._spread=a,n}function a(e,t){return n;function n(n){s.call(this,e(n),n),t&&t.call(this,n)}}function o(){this.stack.push({type:`fragment`,children:[]})}function s(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:mb(t.start),end:void 0}}function c(e){return t;function t(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||_b).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+zg({start:e.start,end:e.end})+`): it’s not open`);n.position.end=mb(e.end)}function u(){return x_(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function f(e){if(this.data.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function p(){let e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e}function m(){let e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e}function h(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,``),this.data.flowCodeInside=void 0}function _(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,``)}function v(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=F_(this.sliceSerialize(e)).toLowerCase()}function y(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function b(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function x(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)}function S(){this.data.setextHeadingSlurpLineEnding=!0}function C(e){let t=this.stack[this.stack.length-1];t.depth=this.sliceSerialize(e).codePointAt(0)===61?1:2}function w(){this.data.setextHeadingSlurpLineEnding=void 0}function T(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];(!n||n.type!==`text`)&&(n=Oe(),n.position={start:mb(e.start),end:void 0},t.push(n)),this.stack.push(n)}function E(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=mb(e.end)}function ee(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){let t=n.children[n.children.length-1];t.position.end=mb(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(T.call(this,e),E.call(this,e))}function D(){this.data.atHardBreak=!0}function te(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function O(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function ne(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function re(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function k(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function A(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=lb(t),n.identifier=F_(t).toLowerCase()}function ie(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,n.type===`link`?n.children=e.children:n.alt=t}function ae(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function oe(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function se(){this.data.inReference=void 0}function ce(){this.data.referenceType=`collapsed`}function le(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=F_(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType=`full`}function ue(e){this.data.characterReferenceType=e.type}function de(e){let t=this.sliceSerialize(e),n=this.data.characterReferenceType,r;n?(r=P_(t,n===`characterReferenceMarkerNumeric`?10:16),this.data.characterReferenceType=void 0):r=D_(t);let i=this.stack[this.stack.length-1];i.value+=r}function fe(e){let t=this.stack.pop();t.position.end=mb(e.end)}function pe(e){E.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)}function me(e){E.call(this,e);let t=this.stack[this.stack.length-1];t.url=`mailto:`+this.sliceSerialize(e)}function he(){return{type:`blockquote`,children:[]}}function ge(){return{type:`code`,lang:null,meta:null,value:``}}function _e(){return{type:`inlineCode`,value:``}}function ve(){return{type:`definition`,identifier:``,label:null,title:null,url:``}}function j(){return{type:`emphasis`,children:[]}}function ye(){return{type:`heading`,depth:0,children:[]}}function be(){return{type:`break`}}function xe(){return{type:`html`,value:``}}function Se(){return{type:`image`,title:null,url:``,alt:null}}function Ce(){return{type:`link`,title:null,url:``,children:[]}}function we(e){return{type:`list`,ordered:e.type===`listOrdered`,start:null,spread:e._spread,children:[]}}function Te(e){return{type:`listItem`,spread:e._spread,checked:null,children:[]}}function Ee(){return{type:`paragraph`,children:[]}}function De(){return{type:`strong`,children:[]}}function Oe(){return{type:`text`,value:``}}function ke(){return{type:`thematicBreak`}}}function mb(e){return{line:e.line,column:e.column,offset:e.offset}}function hb(e,t){let n=-1;for(;++n<t.length;){let r=t[n];Array.isArray(r)?hb(e,r):gb(e,r)}}function gb(e,t){let n;for(n in t)if(db.call(t,n))switch(n){case`canContainEols`:{let r=t[n];r&&e[n].push(...r);break}case`transforms`:{let r=t[n];r&&e[n].push(...r);break}case`enter`:case`exit`:{let r=t[n];r&&Object.assign(e[n],r);break}}}function _b(e,t){throw Error(e?"Cannot close `"+e.type+"` ("+zg({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+zg({start:t.start,end:t.end})+`) is open`:"Cannot close document, a token (`"+t.type+"`, "+zg({start:t.start,end:t.end})+`) is still open`)}function vb(e){let t=this;t.parser=n;function n(n){return fb(n,{...t.data(`settings`),...e,extensions:t.data(`micromarkExtensions`)||[],mdastExtensions:t.data(`fromMarkdownExtensions`)||[]})}}function yb(e,t){let n={type:`element`,tagName:`blockquote`,properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function bb(e,t){let n={type:`element`,tagName:`br`,properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:`text`,value:`
|
|
266
|
-
`}]}function
|
|
267
|
-
`:``,r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=[`language-`+i[0]]);let a={type:`element`,tagName:`code`,properties:r,children:[{type:`text`,value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:`element`,tagName:`pre`,properties:{},children:[a]},e.patch(t,a),a}function
|
|
265
|
+
`;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(``)}function pb(e){let t={constructs:B_([eb,...(e||{}).extensions||[]]),content:n(nv),defined:[],document:n(iv),flow:n(Ky),lazy:{},string:n(Yy),text:n(Xy)};return t;function n(e){return n;function n(n){return ub(t,e,n)}}}function mb(e){for(;!Bv(e););return e}var hb=/[\0\t\n\r]/g;function gb(){let e=1,t=``,n=!0,r;return i;function i(i,a,o){let s=[],c,l,u,d,f;for(i=t+(typeof i==`string`?i.toString():new TextDecoder(a||void 0).decode(i)),u=0,t=``,n&&(i.charCodeAt(0)===65279&&u++,n=void 0);u<i.length;){if(hb.lastIndex=u,c=hb.exec(i),d=c&&c.index!==void 0?c.index:i.length,f=i.charCodeAt(d),!c){t=i.slice(u);break}if(f===10&&u===d&&r)s.push(-3),r=void 0;else switch(r&&(s.push(-5),r=void 0),u<d&&(s.push(i.slice(u,d)),e+=d-u),f){case 0:s.push(65533),e++;break;case 9:for(l=Math.ceil(e/4)*4,s.push(-2);e++<l;)s.push(-1);break;case 10:s.push(-4),e=1;break;default:r=!0,e=1}u=d+1}return o&&(r&&s.push(-5),t&&s.push(t),s.push(null)),s}}var _b=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function vb(e){return e.replace(_b,yb)}function yb(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){let e=n.charCodeAt(1),t=e===120||e===88;return U_(n.slice(t?2:1),t?16:10)}return I_(n)||e}var bb={}.hasOwnProperty;function xb(e,t,n){return t&&typeof t==`object`&&(n=t,t=void 0),Sb(n)(mb(pb(n).document().write(gb()(e,t,!0))))}function Sb(e){let t={transforms:[],canContainEols:[`emphasis`,`fragment`,`heading`,`paragraph`,`strong`],enter:{autolink:a(Ce),autolinkProtocol:T,autolinkEmail:T,atxHeading:a(ye),blockQuote:a(he),characterEscape:T,characterReference:T,codeFenced:a(ge),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(ge,o),codeText:a(_e,o),codeTextData:T,data:T,codeFlowValue:T,definition:a(ve),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(j),hardBreakEscape:a(be),hardBreakTrailing:a(be),htmlFlow:a(xe,o),htmlFlowData:T,htmlText:a(xe,o),htmlTextData:T,image:a(Se),label:o,link:a(Ce),listItem:a(Te),listItemValue:f,listOrdered:a(we,d),listUnordered:a(we),paragraph:a(Ee),reference:ce,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(ye),strong:a(De),thematicBreak:a(ke)},exit:{atxHeading:c(),atxHeadingSequence:x,autolink:c(),autolinkEmail:me,autolinkProtocol:pe,blockQuote:c(),characterEscapeValue:E,characterReferenceMarkerHexadecimal:ue,characterReferenceMarkerNumeric:ue,characterReferenceValue:de,characterReference:fe,codeFenced:c(g),codeFencedFence:h,codeFencedFenceInfo:p,codeFencedFenceMeta:m,codeFlowValue:E,codeIndented:c(_),codeText:c(ne),codeTextData:E,data:E,definition:c(),definitionDestinationString:b,definitionLabelString:v,definitionTitleString:y,emphasis:c(),hardBreakEscape:c(D),hardBreakTrailing:c(D),htmlFlow:c(te),htmlFlowData:E,htmlText:c(O),htmlTextData:E,image:c(k),label:ie,labelText:A,lineEnding:ee,link:c(re),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:le,resourceDestinationString:ae,resourceTitleString:oe,resource:se,setextHeading:c(w),setextHeadingLineSequence:C,setextHeadingText:S,strong:c(),thematicBreak:c()}};wb(t,(e||{}).mdastExtensions||[]);let n={};return r;function r(e){let r={type:`root`,children:[]},a={stack:[r],tokenStack:[],config:t,enter:s,exit:l,buffer:o,resume:u,data:n},c=[],d=-1;for(;++d<e.length;)(e[d][1].type===`listOrdered`||e[d][1].type===`listUnordered`)&&(e[d][0]===`enter`?c.push(d):d=i(e,c.pop(),d));for(d=-1;++d<e.length;){let n=t[e[d][0]];bb.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},a),e[d][1])}if(a.tokenStack.length>0){let e=a.tokenStack[a.tokenStack.length-1];(e[1]||Eb).call(a,void 0,e[0])}for(r.position={start:Cb(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:Cb(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)r=t.transforms[d](r)||r;return r}function i(e,t,n){let r=t-1,i=-1,a=!1,o,s,c,l;for(;++r<=n;){let t=e[r];switch(t[1].type){case`listUnordered`:case`listOrdered`:case`blockQuote`:t[0]===`enter`?i++:i--,l=void 0;break;case`lineEndingBlank`:t[0]===`enter`&&(o&&!l&&!i&&!c&&(c=r),l=void 0);break;case`linePrefix`:case`listItemValue`:case`listItemMarker`:case`listItemPrefix`:case`listItemPrefixWhitespace`:break;default:l=void 0}if(!i&&t[0]===`enter`&&t[1].type===`listItemPrefix`||i===-1&&t[0]===`exit`&&(t[1].type===`listUnordered`||t[1].type===`listOrdered`)){if(o){let i=r;for(s=void 0;i--;){let t=e[i];if(t[1].type===`lineEnding`||t[1].type===`lineEndingBlank`){if(t[0]===`exit`)continue;s&&(e[s][1].type=`lineEndingBlank`,a=!0),t[1].type=`lineEnding`,s=i}else if(!(t[1].type===`linePrefix`||t[1].type===`blockQuotePrefix`||t[1].type===`blockQuotePrefixWhitespace`||t[1].type===`blockQuoteMarker`||t[1].type===`listItemIndent`))break}c&&(!s||c<s)&&(o._spread=!0),o.end=Object.assign({},s?e[s][1].start:t[1].end),e.splice(s||r,0,[`exit`,o,t[2]]),r++,n++}if(t[1].type===`listItemPrefix`){let i={type:`listItem`,_spread:!1,start:Object.assign({},t[1].start),end:void 0};o=i,e.splice(r,0,[`enter`,i,t[2]]),r++,n++,c=void 0,l=!0}}}return e[t][1]._spread=a,n}function a(e,t){return n;function n(n){s.call(this,e(n),n),t&&t.call(this,n)}}function o(){this.stack.push({type:`fragment`,children:[]})}function s(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:Cb(t.start),end:void 0}}function c(e){return t;function t(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||Eb).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+Jg({start:e.start,end:e.end})+`): it’s not open`);n.position.end=Cb(e.end)}function u(){return A_(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function f(e){if(this.data.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function p(){let e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e}function m(){let e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e}function h(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,``),this.data.flowCodeInside=void 0}function _(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,``)}function v(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=W_(this.sliceSerialize(e)).toLowerCase()}function y(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function b(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function x(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)}function S(){this.data.setextHeadingSlurpLineEnding=!0}function C(e){let t=this.stack[this.stack.length-1];t.depth=this.sliceSerialize(e).codePointAt(0)===61?1:2}function w(){this.data.setextHeadingSlurpLineEnding=void 0}function T(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];(!n||n.type!==`text`)&&(n=Oe(),n.position={start:Cb(e.start),end:void 0},t.push(n)),this.stack.push(n)}function E(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=Cb(e.end)}function ee(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){let t=n.children[n.children.length-1];t.position.end=Cb(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(T.call(this,e),E.call(this,e))}function D(){this.data.atHardBreak=!0}function te(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function O(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function ne(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function re(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function k(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function A(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=vb(t),n.identifier=W_(t).toLowerCase()}function ie(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,n.type===`link`?n.children=e.children:n.alt=t}function ae(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function oe(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function se(){this.data.inReference=void 0}function ce(){this.data.referenceType=`collapsed`}function le(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=W_(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType=`full`}function ue(e){this.data.characterReferenceType=e.type}function de(e){let t=this.sliceSerialize(e),n=this.data.characterReferenceType,r;n?(r=U_(t,n===`characterReferenceMarkerNumeric`?10:16),this.data.characterReferenceType=void 0):r=I_(t);let i=this.stack[this.stack.length-1];i.value+=r}function fe(e){let t=this.stack.pop();t.position.end=Cb(e.end)}function pe(e){E.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)}function me(e){E.call(this,e);let t=this.stack[this.stack.length-1];t.url=`mailto:`+this.sliceSerialize(e)}function he(){return{type:`blockquote`,children:[]}}function ge(){return{type:`code`,lang:null,meta:null,value:``}}function _e(){return{type:`inlineCode`,value:``}}function ve(){return{type:`definition`,identifier:``,label:null,title:null,url:``}}function j(){return{type:`emphasis`,children:[]}}function ye(){return{type:`heading`,depth:0,children:[]}}function be(){return{type:`break`}}function xe(){return{type:`html`,value:``}}function Se(){return{type:`image`,title:null,url:``,alt:null}}function Ce(){return{type:`link`,title:null,url:``,children:[]}}function we(e){return{type:`list`,ordered:e.type===`listOrdered`,start:null,spread:e._spread,children:[]}}function Te(e){return{type:`listItem`,spread:e._spread,checked:null,children:[]}}function Ee(){return{type:`paragraph`,children:[]}}function De(){return{type:`strong`,children:[]}}function Oe(){return{type:`text`,value:``}}function ke(){return{type:`thematicBreak`}}}function Cb(e){return{line:e.line,column:e.column,offset:e.offset}}function wb(e,t){let n=-1;for(;++n<t.length;){let r=t[n];Array.isArray(r)?wb(e,r):Tb(e,r)}}function Tb(e,t){let n;for(n in t)if(bb.call(t,n))switch(n){case`canContainEols`:{let r=t[n];r&&e[n].push(...r);break}case`transforms`:{let r=t[n];r&&e[n].push(...r);break}case`enter`:case`exit`:{let r=t[n];r&&Object.assign(e[n],r);break}}}function Eb(e,t){throw Error(e?"Cannot close `"+e.type+"` ("+Jg({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Jg({start:t.start,end:t.end})+`) is open`:"Cannot close document, a token (`"+t.type+"`, "+Jg({start:t.start,end:t.end})+`) is still open`)}function Db(e){let t=this;t.parser=n;function n(n){return xb(n,{...t.data(`settings`),...e,extensions:t.data(`micromarkExtensions`)||[],mdastExtensions:t.data(`fromMarkdownExtensions`)||[]})}}function Ob(e,t){let n={type:`element`,tagName:`blockquote`,properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function kb(e,t){let n={type:`element`,tagName:`br`,properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:`text`,value:`
|
|
266
|
+
`}]}function Ab(e,t){let n=t.value?t.value+`
|
|
267
|
+
`:``,r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=[`language-`+i[0]]);let a={type:`element`,tagName:`code`,properties:r,children:[{type:`text`,value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:`element`,tagName:`pre`,properties:{},children:[a]},e.patch(t,a),a}function jb(e,t){let n={type:`element`,tagName:`del`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Mb(e,t){let n={type:`element`,tagName:`em`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Nb(e,t){let n=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,r=String(t.identifier).toUpperCase(),i=tv(r.toLowerCase()),a=e.footnoteOrder.indexOf(r),o,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=a+1,s+=1,e.footnoteCounts.set(r,s);let c={type:`element`,tagName:`a`,properties:{href:`#`+n+`fn-`+i,id:n+`fnref-`+i+(s>1?`-`+s:``),dataFootnoteRef:!0,ariaDescribedBy:[`footnote-label`]},children:[{type:`text`,value:String(o)}]};e.patch(t,c);let l={type:`element`,tagName:`sup`,properties:{},children:[c]};return e.patch(t,l),e.applyData(t,l)}function Pb(e,t){let n={type:`element`,tagName:`h`+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Fb(e,t){if(e.options.allowDangerousHtml){let n={type:`raw`,value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Ib(e,t){let n=t.referenceType,r=`]`;if(n===`collapsed`?r+=`[]`:n===`full`&&(r+=`[`+(t.label||t.identifier)+`]`),t.type===`imageReference`)return[{type:`text`,value:`![`+t.alt+r}];let i=e.all(t),a=i[0];a&&a.type===`text`?a.value=`[`+a.value:i.unshift({type:`text`,value:`[`});let o=i[i.length-1];return o&&o.type===`text`?o.value+=r:i.push({type:`text`,value:r}),i}function Lb(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Ib(e,t);let i={src:tv(r.url||``),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);let a={type:`element`,tagName:`img`,properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function Rb(e,t){let n={src:tv(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:`element`,tagName:`img`,properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function zb(e,t){let n={type:`text`,value:t.value.replace(/\r?\n|\r/g,` `)};e.patch(t,n);let r={type:`element`,tagName:`code`,properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function Bb(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Ib(e,t);let i={href:tv(r.url||``)};r.title!==null&&r.title!==void 0&&(i.title=r.title);let a={type:`element`,tagName:`a`,properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function Vb(e,t){let n={href:tv(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:`element`,tagName:`a`,properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Hb(e,t,n){let r=e.all(t),i=n?Ub(n):Wb(t),a={},o=[];if(typeof t.checked==`boolean`){let e=r[0],n;e&&e.type===`element`&&e.tagName===`p`?n=e:(n={type:`element`,tagName:`p`,properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:`text`,value:` `}),n.children.unshift({type:`element`,tagName:`input`,properties:{type:`checkbox`,checked:t.checked,disabled:!0},children:[]}),a.className=[`task-list-item`]}let s=-1;for(;++s<r.length;){let e=r[s];(i||s!==0||e.type!==`element`||e.tagName!==`p`)&&o.push({type:`text`,value:`
|
|
268
268
|
`}),e.type===`element`&&e.tagName===`p`&&!i?o.push(...e.children):o.push(e)}let c=r[r.length-1];c&&(i||c.type!==`element`||c.tagName!==`p`)&&o.push({type:`text`,value:`
|
|
269
|
-
`});let l={type:`element`,tagName:`li`,properties:a,children:o};return e.patch(t,l),e.applyData(t,l)}function
|
|
269
|
+
`});let l={type:`element`,tagName:`li`,properties:a,children:o};return e.patch(t,l),e.applyData(t,l)}function Ub(e){let t=!1;if(e.type===`list`){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=Wb(n[r])}return t}function Wb(e){return e.spread??e.children.length>1}function Gb(e,t){let n={},r=e.all(t),i=-1;for(typeof t.start==`number`&&t.start!==1&&(n.start=t.start);++i<r.length;){let e=r[i];if(e.type===`element`&&e.tagName===`li`&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes(`task-list-item`)){n.className=[`contains-task-list`];break}}let a={type:`element`,tagName:t.ordered?`ol`:`ul`,properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)}function Kb(e,t){let n={type:`element`,tagName:`p`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function qb(e,t){let n={type:`root`,children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function Jb(e,t){let n={type:`element`,tagName:`strong`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Yb(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:`element`,tagName:`thead`,properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:`element`,tagName:`tbody`,properties:{},children:e.wrap(n,!0)},a=Gg(t.children[1]),o=Wg(t.children[t.children.length-1]);a&&o&&(r.position={start:a,end:o}),i.push(r)}let a={type:`element`,tagName:`table`,properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function Xb(e,t,n){let r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?`th`:`td`,a=n&&n.type===`table`?n.align:void 0,o=a?a.length:t.children.length,s=-1,c=[];for(;++s<o;){let n=t.children[s],r={},o=a?a[s]:void 0;o&&(r.align=o);let l={type:`element`,tagName:i,properties:r,children:[]};n&&(l.children=e.all(n),e.patch(n,l),l=e.applyData(n,l)),c.push(l)}let l={type:`element`,tagName:`tr`,properties:{},children:e.wrap(c,!0)};return e.patch(t,l),e.applyData(t,l)}function Zb(e,t){let n={type:`element`,tagName:`td`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var Qb=9,$b=32;function ex(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,a=[];for(;r;)a.push(tx(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(tx(t.slice(i),i>0,!1)),a.join(``)}function tx(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;t===Qb||t===$b;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;t===Qb||t===$b;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):``}function nx(e,t){let n={type:`text`,value:ex(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function rx(e,t){let n={type:`element`,tagName:`hr`,properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}var ix={blockquote:Ob,break:kb,code:Ab,delete:jb,emphasis:Mb,footnoteReference:Nb,heading:Pb,html:Fb,imageReference:Lb,image:Rb,inlineCode:zb,linkReference:Bb,link:Vb,listItem:Hb,list:Gb,paragraph:Kb,root:qb,strong:Jb,table:Yb,tableCell:Zb,tableRow:Xb,text:nx,thematicBreak:rx,toml:ax,yaml:ax,definition:ax,footnoteDefinition:ax};function ax(){}var ox=typeof self==`object`?self:globalThis,sx=(e,t)=>{switch(e){case`Function`:case`SharedWorker`:case`Worker`:case`eval`:case`setInterval`:case`setTimeout`:throw TypeError(`unable to deserialize `+e)}return new ox[e](t)},cx=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case 0:case-1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(sx(e,t),i)}case 8:return n(BigInt(o),i);case`BigInt`:return n(Object(BigInt(o)),i);case`ArrayBuffer`:return n(new Uint8Array(o).buffer,o);case`DataView`:{let{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}}return n(sx(a,o),i)};return r},lx=e=>cx(new Map,e)(0),ux=``,{toString:dx}={},{keys:fx}=Object,px=e=>{let t=typeof e;if(t!==`object`||!e)return[0,t];let n=dx.call(e).slice(8,-1);switch(n){case`Array`:return[1,ux];case`Object`:return[2,ux];case`Date`:return[3,ux];case`RegExp`:return[4,ux];case`Map`:return[5,ux];case`Set`:return[6,ux];case`DataView`:return[1,n]}return n.includes(`Array`)?[1,n]:n.includes(`Error`)?[7,n]:[2,n]},mx=([e,t])=>e===0&&(t===`function`||t===`symbol`),hx=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[o,s]=px(r);switch(o){case 0:{let t=r;switch(s){case`bigint`:o=8,t=r.toString();break;case`function`:case`symbol`:if(e)throw TypeError(`unable to serialize `+s);t=null;break;case`undefined`:return i([-1],r)}return i([o,t],r)}case 1:{if(s){let e=r;return s===`DataView`?e=new Uint8Array(r.buffer):s===`ArrayBuffer`&&(e=new Uint8Array(r)),i([s,[...e]],r)}let e=[],t=i([o,e],r);for(let t of r)e.push(a(t));return t}case 2:{if(s)switch(s){case`BigInt`:return i([s,r.toString()],r);case`Boolean`:case`Number`:case`String`:return i([s,r.valueOf()],r)}if(t&&`toJSON`in r)return a(r.toJSON());let n=[],c=i([o,n],r);for(let t of fx(r))(e||!mx(px(r[t])))&&n.push([a(t),a(r[t])]);return c}case 3:return i([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case 5:{let t=[],n=i([o,t],r);for(let[n,i]of r)(e||!(mx(px(n))||mx(px(i))))&&t.push([a(n),a(i)]);return n}case 6:{let t=[],n=i([o,t],r);for(let n of r)(e||!mx(px(n)))&&t.push(a(n));return n}}let{message:c}=r;return i([o,{name:s,message:c}],r)};return a},gx=(e,{json:t,lossy:n}={})=>{let r=[];return hx(!(t||n),!!t,new Map,r)(e),r},_x=typeof structuredClone==`function`?(e,t)=>t&&(`json`in t||`lossy`in t)?lx(gx(e,t)):structuredClone(e):(e,t)=>lx(gx(e,t));function vx(e,t){let n=[{type:`text`,value:`↩`}];return t>1&&n.push({type:`element`,tagName:`sup`,properties:{},children:[{type:`text`,value:String(t)}]}),n}function yx(e,t){return`Back to reference `+(e+1)+(t>1?`-`+t:``)}function bx(e){let t=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,n=e.options.footnoteBackContent||vx,r=e.options.footnoteBackLabel||yx,i=e.options.footnoteLabel||`Footnotes`,a=e.options.footnoteLabelTagName||`h2`,o=e.options.footnoteLabelProperties||{className:[`sr-only`]},s=[],c=-1;for(;++c<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[c]);if(!i)continue;let a=e.all(i),o=String(i.identifier).toUpperCase(),l=tv(o.toLowerCase()),u=0,d=[],f=e.footnoteCounts.get(o);for(;f!==void 0&&++u<=f;){d.length>0&&d.push({type:`text`,value:` `});let e=typeof n==`string`?n:n(c,u);typeof e==`string`&&(e={type:`text`,value:e}),d.push({type:`element`,tagName:`a`,properties:{href:`#`+t+`fnref-`+l+(u>1?`-`+u:``),dataFootnoteBackref:``,ariaLabel:typeof r==`string`?r:r(c,u),className:[`data-footnote-backref`]},children:Array.isArray(e)?e:[e]})}let p=a[a.length-1];if(p&&p.type===`element`&&p.tagName===`p`){let e=p.children[p.children.length-1];e&&e.type===`text`?e.value+=` `:p.children.push({type:`text`,value:` `}),p.children.push(...d)}else a.push(...d);let m={type:`element`,tagName:`li`,properties:{id:t+`fn-`+l},children:e.wrap(a,!0)};e.patch(i,m),s.push(m)}if(s.length!==0)return{type:`element`,tagName:`section`,properties:{dataFootnotes:!0,className:[`footnotes`]},children:[{type:`element`,tagName:a,properties:{..._x(o),id:`footnote-label`},children:[{type:`text`,value:i}]},{type:`text`,value:`
|
|
270
270
|
`},{type:`element`,tagName:`ol`,properties:{},children:e.wrap(s,!0)},{type:`text`,value:`
|
|
271
|
-
`}]}}var
|
|
271
|
+
`}]}}var xx=(function(e){if(e==null)return Ex;if(typeof e==`function`)return Tx(e);if(typeof e==`object`)return Array.isArray(e)?Sx(e):Cx(e);if(typeof e==`string`)return wx(e);throw Error(`Expected function, string, or object as test`)});function Sx(e){let t=[],n=-1;for(;++n<e.length;)t[n]=xx(e[n]);return Tx(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function Cx(e){let t=e;return Tx(n);function n(n){let r=n,i;for(i in e)if(r[i]!==t[i])return!1;return!0}}function wx(e){return Tx(t);function t(t){return t&&t.type===e}}function Tx(e){return t;function t(t,n,r){return!!(Dx(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function Ex(){return!0}function Dx(e){return typeof e==`object`&&!!e&&`type`in e}function Ox(e){return e}var kx=[];function Ax(e,t,n,r){let i;typeof t==`function`&&typeof n!=`function`?(r=n,n=t):i=t;let a=xx(i),o=r?-1:1;s(e,void 0,[])();function s(e,i,c){let l=e&&typeof e==`object`?e:{};if(typeof l.type==`string`){let t=typeof l.tagName==`string`?l.tagName:typeof l.name==`string`?l.name:void 0;Object.defineProperty(u,`name`,{value:`node (`+Ox(e.type+(t?`<`+t+`>`:``))+`)`})}return u;function u(){let l=kx,u,d,f;if((!t||a(e,i,c[c.length-1]||void 0))&&(l=jx(n(e,c)),l[0]===!1))return l;if(`children`in e&&e.children){let t=e;if(t.children&&l[0]!==`skip`)for(d=(r?t.children.length:-1)+o,f=c.concat(t);d>-1&&d<t.children.length;){let e=t.children[d];if(u=s(e,d,f)(),u[0]===!1)return u;d=typeof u[1]==`number`?u[1]:d+o}}return l}}}function jx(e){return Array.isArray(e)?e:typeof e==`number`?[!0,e]:e==null?kx:[e]}function Mx(e,t,n,r){let i,a,o;typeof t==`function`&&typeof n!=`function`?(a=void 0,o=t,i=n):(a=t,o=n,i=r),Ax(e,a,s,i);function s(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)}}var Nx={}.hasOwnProperty,Px={};function Fx(e,t){let n=t||Px,r=new Map,i=new Map,a={all:s,applyData:Lx,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...ix,...n.handlers},one:o,options:n,patch:Ix,wrap:zx};return Mx(e,function(e){if(e.type===`definition`||e.type===`footnoteDefinition`){let t=e.type===`definition`?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),a;function o(e,t){let n=e.type,r=a.handlers[n];if(Nx.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if(`children`in e){let{children:t,...n}=e,r=_x(n);return r.children=a.all(e),r}return _x(e)}return(a.options.unknownHandler||Rx)(a,e,t)}function s(e){let t=[];if(`children`in e){let n=e.children,r=-1;for(;++r<n.length;){let i=a.one(n[r],e);if(i){if(r&&n[r-1].type===`break`&&(!Array.isArray(i)&&i.type===`text`&&(i.value=Bx(i.value)),!Array.isArray(i)&&i.type===`element`)){let e=i.children[0];e&&e.type===`text`&&(e.value=Bx(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t}}function Ix(e,t){e.position&&(t.position=qg(e))}function Lx(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;typeof t==`string`&&(n.type===`element`?n.tagName=t:n={type:`element`,tagName:t,properties:{},children:`children`in n?n.children:[n]}),n.type===`element`&&i&&Object.assign(n.properties,_x(i)),`children`in n&&n.children&&r!=null&&(n.children=r)}return n}function Rx(e,t){let n=t.data||{},r=`value`in t&&!(Nx.call(n,`hProperties`)||Nx.call(n,`hChildren`))?{type:`text`,value:t.value}:{type:`element`,tagName:`div`,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function zx(e,t){let n=[],r=-1;for(t&&n.push({type:`text`,value:`
|
|
272
272
|
`});++r<e.length;)r&&n.push({type:`text`,value:`
|
|
273
273
|
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:`text`,value:`
|
|
274
|
-
`}),n}function
|
|
275
|
-
`},i)),a}function Nx(e,t){return e&&`run`in e?async function(n,r){let i=Mx(n,{file:r,...t});await e.run(i,r)}:function(n,r){return Mx(n,{file:r,...e||t})}}function Px(e){if(e)throw e}var Fx=s(u(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(e){return typeof Array.isArray==`function`?Array.isArray(e):r.call(e)===`[object Array]`},s=function(e){if(!e||r.call(e)!==`[object Object]`)return!1;var t=n.call(e,`constructor`),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,`isPrototypeOf`);if(e.constructor&&!t&&!i)return!1;for(var a in e);return a===void 0||n.call(e,a)},c=function(e,t){i&&t.name===`__proto__`?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,t){if(t===`__proto__`){if(!n.call(e,t))return;if(a)return a(e,t).value}return e[t]};t.exports=function e(){var t,n,r,i,a,u,d=arguments[0],f=1,p=arguments.length,m=!1;for(typeof d==`boolean`&&(m=d,d=arguments[1]||{},f=2),(d==null||typeof d!=`object`&&typeof d!=`function`)&&(d={});f<p;++f)if(t=arguments[f],t!=null)for(n in t)r=l(d,n),i=l(t,n),d!==i&&(m&&i&&(s(i)||(a=o(i)))?(a?(a=!1,u=r&&o(r)?r:[]):u=r&&s(r)?r:{},c(d,{name:n,newValue:e(m,u,i)})):i!==void 0&&c(d,{name:n,newValue:i}));return d}}))(),1);function Ix(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Lx(){let e=[],t={run:n,use:r};return t;function n(...t){let n=-1,r=t.pop();if(typeof r!=`function`)throw TypeError(`Expected function as last argument, not `+r);i(null,...t);function i(a,...o){let s=e[++n],c=-1;if(a){r(a);return}for(;++c<t.length;)(o[c]===null||o[c]===void 0)&&(o[c]=t[c]);t=o,s?Rx(s,i)(...o):r(null,...o)}}function r(n){if(typeof n!=`function`)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}}function Rx(e,t){let n;return r;function r(...t){let r=e.length>t.length,o;r&&t.push(i);try{o=e.apply(this,t)}catch(e){let t=e;if(r&&n)throw t;return i(t)}r||(o&&o.then&&typeof o.then==`function`?o.then(a,i):o instanceof Error?i(o):a(o))}function i(e,...r){n||(n=!0,t(e,...r))}function a(e){i(null,e)}}var zx={basename:Bx,dirname:Vx,extname:Hx,join:Ux,sep:`/`};function Bx(e,t){if(t!==void 0&&typeof t!=`string`)throw TypeError(`"ext" argument must be a string`);Kx(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.codePointAt(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.codePointAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(r=i):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function Vx(e){if(Kx(e),e.length===0)return`.`;let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?`/`:`.`:t===1&&e.codePointAt(0)===47?`//`:e.slice(0,t)}function Hx(e){Kx(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){let s=e.codePointAt(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 Ux(...e){let t=-1,n;for(;++t<e.length;)Kx(e[t]),e[t]&&(n=n===void 0?e[t]:n+`/`+e[t]);return n===void 0?`.`:Wx(n)}function Wx(e){Kx(e);let t=e.codePointAt(0)===47,n=Gx(e,!t);return n.length===0&&!t&&(n=`.`),n.length>0&&e.codePointAt(e.length-1)===47&&(n+=`/`),t?`/`+n:n}function Gx(e,t){let n=``,r=0,i=-1,a=0,o=-1,s,c;for(;++o<=e.length;){if(o<e.length)s=e.codePointAt(o);else if(s===47)break;else s=47;if(s===47){if(!(i===o-1||a===1))if(i!==o-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf(`/`),c!==n.length-1){c<0?(n=``,r=0):(n=n.slice(0,c),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 Kx(e){if(typeof e!=`string`)throw TypeError(`Path must be a string. Received `+JSON.stringify(e))}var qx={cwd:Jx};function Jx(){return`/`}function Yx(e){return!!(typeof e==`object`&&e&&`href`in e&&e.href&&`protocol`in e&&e.protocol&&e.auth===void 0)}function Xx(e){if(typeof e==`string`)e=new URL(e);else if(!Yx(e)){let t=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:`){let e=TypeError(`The URL must be of scheme file`);throw e.code=`ERR_INVALID_URL_SCHEME`,e}return Zx(e)}function Zx(e){if(e.hostname!==``){let e=TypeError(`File URL host must be "localhost" or empty on darwin`);throw e.code=`ERR_INVALID_FILE_URL_HOST`,e}let t=e.pathname,n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){let e=t.codePointAt(n+2);if(e===70||e===102){let e=TypeError(`File URL path must not include encoded / characters`);throw e.code=`ERR_INVALID_FILE_URL_PATH`,e}}return decodeURIComponent(t)}var Qx=[`history`,`path`,`basename`,`stem`,`extname`,`dirname`],$x=class{constructor(e){let t;t=e?Yx(e)?{path:e}:typeof e==`string`||rS(e)?{value:e}:e:{},this.cwd=`cwd`in t?``:qx.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<Qx.length;){let e=Qx[n];e in t&&t[e]!==void 0&&t[e]!==null&&(this[e]=e===`history`?[...t[e]]:t[e])}let r;for(r in t)Qx.includes(r)||(this[r]=t[r])}get basename(){return typeof this.path==`string`?zx.basename(this.path):void 0}set basename(e){tS(e,`basename`),eS(e,`basename`),this.path=zx.join(this.dirname||``,e)}get dirname(){return typeof this.path==`string`?zx.dirname(this.path):void 0}set dirname(e){nS(this.basename,`dirname`),this.path=zx.join(e||``,this.basename)}get extname(){return typeof this.path==`string`?zx.extname(this.path):void 0}set extname(e){if(eS(e,`extname`),nS(this.dirname,`extname`),e){if(e.codePointAt(0)!==46)throw Error("`extname` must start with `.`");if(e.includes(`.`,1))throw Error("`extname` cannot contain multiple dots")}this.path=zx.join(this.dirname,this.stem+(e||``))}get path(){return this.history[this.history.length-1]}set path(e){Yx(e)&&(e=Xx(e)),tS(e,`path`),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path==`string`?zx.basename(this.path,this.extname):void 0}set stem(e){tS(e,`stem`),eS(e,`stem`),this.path=zx.join(this.dirname||``,e+(this.extname||``))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new Ug(e,t,n);return this.path&&(r.name=this.path+`:`+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return this.value===void 0?``:typeof this.value==`string`?this.value:new TextDecoder(e||void 0).decode(this.value)}};function eS(e,t){if(e&&e.includes(zx.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+zx.sep+"`")}function tS(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function nS(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}function rS(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}var iS=(function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r}),aS={}.hasOwnProperty,oS=new class e extends iS{constructor(){super(`copy`),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Lx()}copy(){let t=new e,n=-1;for(;++n<this.attachers.length;){let e=this.attachers[n];t.use(...e)}return t.data((0,Fx.default)(!0,{},this.namespace)),t}data(e,t){return typeof e==`string`?arguments.length===2?(lS(`data`,this.frozen),this.namespace[e]=t,this):aS.call(this.namespace,e)&&this.namespace[e]||void 0:e?(lS(`data`,this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;let e=this;for(;++this.freezeIndex<this.attachers.length;){let[t,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);let r=t.call(e,...n);typeof r==`function`&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=fS(e),n=this.parser||this.Parser;return sS(`parse`,n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),sS(`process`,this.parser||this.Parser),cS(`process`,this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let a=fS(e),o=n.parse(a);n.run(o,a,function(e,t,r){if(e||!t||!r)return s(e);let i=t,a=n.stringify(i,r);mS(a)?r.value=a:r.result=a,s(e,r)});function s(e,n){e||!n?i(e):r?r(n):t(void 0,n)}}}processSync(e){let t=!1,n;return this.freeze(),sS(`processSync`,this.parser||this.Parser),cS(`processSync`,this.compiler||this.Compiler),this.process(e,r),dS(`processSync`,`process`,t),n;function r(e,r){t=!0,Px(e),n=r}}run(e,t,n){uS(e),this.freeze();let r=this.transformers;return!n&&typeof t==`function`&&(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,a){let o=fS(t);r.run(e,o,s);function s(t,r,o){let s=r||e;t?a(t):i?i(s):n(void 0,s,o)}}}runSync(e,t){let n=!1,r;return this.run(e,t,i),dS(`runSync`,`run`,n),r;function i(e,t){Px(e),r=t,n=!0}}stringify(e,t){this.freeze();let n=fS(t),r=this.compiler||this.Compiler;return cS(`stringify`,r),uS(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(lS(`use`,this.frozen),e!=null)if(typeof e==`function`)s(e,t);else if(typeof e==`object`)Array.isArray(e)?o(e):a(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(typeof e==`function`)s(e,[]);else if(typeof e==`object`)if(Array.isArray(e)){let[t,...n]=e;s(t,n)}else a(e);else throw TypeError("Expected usable value, not `"+e+"`")}function a(e){if(!(`plugins`in e)&&!(`settings`in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(e.plugins),e.settings&&(r.settings=(0,Fx.default)(!0,r.settings,e.settings))}function o(e){let t=-1;if(e!=null)if(Array.isArray(e))for(;++t<e.length;){let n=e[t];i(n)}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function s(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(i===-1)n.push([e,...t]);else if(t.length>0){let[r,...a]=t,o=n[i][1];Ix(o)&&Ix(r)&&(r=(0,Fx.default)(!0,o,r)),n[i]=[e,r,...a]}}}}().freeze();function sS(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `parser`")}function cS(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `compiler`")}function lS(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function uS(e){if(!Ix(e)||typeof e.type!=`string`)throw TypeError("Expected node, got `"+e+"`")}function dS(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function fS(e){return pS(e)?e:new $x(e)}function pS(e){return!!(e&&typeof e==`object`&&`message`in e&&`messages`in e)}function mS(e){return typeof e==`string`||hS(e)}function hS(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}var gS=[],_S={allowDangerousHtml:!0},vS=/^(https?|ircs?|mailto|xmpp)$/i,yS=[{from:`astPlugins`,id:`remove-buggy-html-in-markdown-parser`},{from:`allowDangerousHtml`,id:`remove-buggy-html-in-markdown-parser`},{from:`allowNode`,id:`replace-allownode-allowedtypes-and-disallowedtypes`,to:`allowElement`},{from:`allowedTypes`,id:`replace-allownode-allowedtypes-and-disallowedtypes`,to:`allowedElements`},{from:`className`,id:`remove-classname`},{from:`disallowedTypes`,id:`replace-allownode-allowedtypes-and-disallowedtypes`,to:`disallowedElements`},{from:`escapeHtml`,id:`remove-buggy-html-in-markdown-parser`},{from:`includeElementIndex`,id:`#remove-includeelementindex`},{from:`includeNodeIndex`,id:`change-includenodeindex-to-includeelementindex`},{from:`linkTarget`,id:`remove-linktarget`},{from:`plugins`,id:`change-plugins-to-remarkplugins`,to:`remarkPlugins`},{from:`rawSourcePos`,id:`#remove-rawsourcepos`},{from:`renderers`,id:`change-renderers-to-components`,to:`components`},{from:`source`,id:`change-source-to-children`,to:`children`},{from:`sourcePos`,id:`#remove-sourcepos`},{from:`transformImageUri`,id:`#add-urltransform`,to:`urlTransform`},{from:`transformLinkUri`,id:`#add-urltransform`,to:`urlTransform`}];function bS(e){let t=xS(e),n=SS(e);return CS(t.runSync(t.parse(n),n),e)}function xS(e){let t=e.rehypePlugins||gS,n=e.remarkPlugins||gS,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,..._S}:_S;return oS().use(vb).use(n).use(Nx,r).use(t)}function SS(e){let t=e.children||``,n=new $x;return typeof t==`string`?n.value=t:``+t,n}function CS(e,t){let n=t.allowedElements,r=t.allowElement,i=t.components,a=t.disallowedElements,o=t.skipHtml,s=t.unwrapDisallowed,c=t.urlTransform||wS;for(let e of yS)Object.hasOwn(t,e.from)&&``+e.from+(e.to?"use `"+e.to+"` instead":`remove it`)+e.id;return Cx(e,l),Zg(e,{Fragment:w,components:i,ignoreInvalidStyle:!0,jsx:T,jsxs:E,passKeys:!0,passNode:!0});function l(e,t,i){if(e.type===`raw`&&i&&typeof t==`number`)return o?i.children.splice(t,1):i.children[t]={type:`text`,value:e.value},t;if(e.type===`element`){let t;for(t in y_)if(Object.hasOwn(y_,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=y_[t];(r===null||r.includes(e.tagName))&&(e.properties[t]=c(String(n||``),t,e))}}if(e.type===`element`){let o=n?!n.includes(e.tagName):a?a.includes(e.tagName):!1;if(!o&&r&&typeof t==`number`&&(o=!r(e,t,i)),o&&i&&typeof t==`number`)return s&&e.children?i.children.splice(t,1,...e.children):i.children.splice(t,1),t}}}function wS(e){let t=e.indexOf(`:`),n=e.indexOf(`?`),r=e.indexOf(`#`),i=e.indexOf(`/`);return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||vS.test(e.slice(0,t))?e:``}function TS(e,t){let n=String(e);if(typeof t!=`string`)throw TypeError(`Expected character`);let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function ES(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);return e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`)}function DS(e,t,n){let r=fx((n||{}).ignore||[]),i=OS(t),a=-1;for(;++a<i.length;)xx(e,`text`,o);function o(e,t){let n=-1,i;for(;++n<t.length;){let e=t[n],a=i?i.children:void 0;if(r(e,a?a.indexOf(e):void 0,i))return;i=e}if(i)return s(e,t)}function s(e,t){let n=t[t.length-1],r=i[a][0],o=i[a][1],s=0,c=n.children.indexOf(e),l=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){let n=d.index,i={index:d.index,input:d.input,stack:[...t,e]},a=o(...d,i);if(typeof a==`string`&&(a=a.length>0?{type:`text`,value:a}:void 0),a===!1?r.lastIndex=n+1:(s!==n&&u.push({type:`text`,value:e.value.slice(s,n)}),Array.isArray(a)?u.push(...a):a&&u.push(a),s=n+d[0].length,l=!0),!r.global)break;d=r.exec(e.value)}return l?(s<e.value.length&&u.push({type:`text`,value:e.value.slice(s)}),n.children.splice(c,1,...u)):u=[e],c+u.length}}function OS(e){let t=[];if(!Array.isArray(e))throw TypeError(`Expected find and replace tuple or list of tuples`);let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){let e=n[r];t.push([kS(e[0]),AS(e[1])])}return t}function kS(e){return typeof e==`string`?new RegExp(ES(e),`g`):e}function AS(e){return typeof e==`function`?e:function(){return e}}var jS=`phrasing`,MS=[`autolink`,`link`,`image`,`label`];function NS(){return{transforms:[VS],enter:{literalAutolink:FS,literalAutolinkEmail:IS,literalAutolinkHttp:IS,literalAutolinkWww:IS},exit:{literalAutolink:BS,literalAutolinkEmail:zS,literalAutolinkHttp:LS,literalAutolinkWww:RS}}}function PS(){return{unsafe:[{character:`@`,before:`[+\\-.\\w]`,after:`[\\-.\\w]`,inConstruct:jS,notInConstruct:MS},{character:`.`,before:`[Ww]`,after:`[\\-.\\w]`,inConstruct:jS,notInConstruct:MS},{character:`:`,before:`[ps]`,after:`\\/`,inConstruct:jS,notInConstruct:MS}]}}function FS(e){this.enter({type:`link`,title:null,url:``,children:[]},e)}function IS(e){this.config.enter.autolinkProtocol.call(this,e)}function LS(e){this.config.exit.autolinkProtocol.call(this,e)}function RS(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url=`http://`+this.sliceSerialize(e)}function zS(e){this.config.exit.autolinkEmail.call(this,e)}function BS(e){this.exit(e)}function VS(e){DS(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,HS],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,US]],{ignore:[`link`,`linkReference`]})}function HS(e,t,n,r,i){let a=``;if(!KS(i)||(/^w/i.test(t)&&(n=t+n,t=``,a=`http://`),!WS(n)))return!1;let o=GS(n+r);if(!o[0])return!1;let 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 US(e,t,n,r){return!KS(r,!0)||/[-\d_]$/.test(n)?!1:{type:`link`,title:null,url:`mailto:`+t+`@`+n,children:[{type:`text`,value:t+`@`+n}]}}function WS(e){let 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 GS(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(`)`),i=TS(e,`(`),a=TS(e,`)`);for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(`)`),a++;return[e,n]}function KS(e,t){let n=e.input.charCodeAt(e.index-1);return(e.index===0||W_(n)||U_(n))&&(!t||n!==47)}nC.peek=tC;function qS(){this.buffer()}function JS(e){this.enter({type:`footnoteReference`,identifier:``,label:``},e)}function YS(){this.buffer()}function XS(e){this.enter({type:`footnoteDefinition`,identifier:``,label:``,children:[]},e)}function ZS(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=F_(this.sliceSerialize(e)).toLowerCase(),n.label=t}function QS(e){this.exit(e)}function $S(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=F_(this.sliceSerialize(e)).toLowerCase(),n.label=t}function eC(e){this.exit(e)}function tC(){return`[`}function nC(e,t,n,r){let i=n.createTracker(r),a=i.move(`[^`),o=n.enter(`footnoteReference`),s=n.enter(`reference`);return a+=i.move(n.safe(n.associationId(e),{after:`]`,before:a})),s(),o(),a+=i.move(`]`),a}function rC(){return{enter:{gfmFootnoteCallString:qS,gfmFootnoteCall:JS,gfmFootnoteDefinitionLabelString:YS,gfmFootnoteDefinition:XS},exit:{gfmFootnoteCallString:ZS,gfmFootnoteCall:QS,gfmFootnoteDefinitionLabelString:$S,gfmFootnoteDefinition:eC}}}function iC(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:nC},unsafe:[{character:`[`,inConstruct:[`label`,`phrasing`,`reference`]}]};function n(e,n,r,i){let a=r.createTracker(i),o=a.move(`[^`),s=r.enter(`footnoteDefinition`),c=r.enter(`label`);return o+=a.move(r.safe(r.associationId(e),{before:o,after:`]`})),c(),o+=a.move(`]:`),e.children&&e.children.length>0&&(a.shift(4),o+=a.move((t?`
|
|
276
|
-
`:` `)+r.indentLines(r.containerFlow(e,a.current()),t?
|
|
277
|
-
`)}function
|
|
278
|
-
`&&
|
|
279
|
-
`}function
|
|
274
|
+
`}),n}function Bx(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function Vx(e,t){let n=Fx(e,t),r=n.one(e,void 0),i=bx(n),a=Array.isArray(r)?{type:`root`,children:r}:r||{type:`root`,children:[]};return i&&(`children`in a,a.children.push({type:`text`,value:`
|
|
275
|
+
`},i)),a}function Hx(e,t){return e&&`run`in e?async function(n,r){let i=Vx(n,{file:r,...t});await e.run(i,r)}:function(n,r){return Vx(n,{file:r,...e||t})}}function Ux(e){if(e)throw e}var Wx=s(u(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(e){return typeof Array.isArray==`function`?Array.isArray(e):r.call(e)===`[object Array]`},s=function(e){if(!e||r.call(e)!==`[object Object]`)return!1;var t=n.call(e,`constructor`),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,`isPrototypeOf`);if(e.constructor&&!t&&!i)return!1;for(var a in e);return a===void 0||n.call(e,a)},c=function(e,t){i&&t.name===`__proto__`?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,t){if(t===`__proto__`){if(!n.call(e,t))return;if(a)return a(e,t).value}return e[t]};t.exports=function e(){var t,n,r,i,a,u,d=arguments[0],f=1,p=arguments.length,m=!1;for(typeof d==`boolean`&&(m=d,d=arguments[1]||{},f=2),(d==null||typeof d!=`object`&&typeof d!=`function`)&&(d={});f<p;++f)if(t=arguments[f],t!=null)for(n in t)r=l(d,n),i=l(t,n),d!==i&&(m&&i&&(s(i)||(a=o(i)))?(a?(a=!1,u=r&&o(r)?r:[]):u=r&&s(r)?r:{},c(d,{name:n,newValue:e(m,u,i)})):i!==void 0&&c(d,{name:n,newValue:i}));return d}}))(),1);function Gx(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Kx(){let e=[],t={run:n,use:r};return t;function n(...t){let n=-1,r=t.pop();if(typeof r!=`function`)throw TypeError(`Expected function as last argument, not `+r);i(null,...t);function i(a,...o){let s=e[++n],c=-1;if(a){r(a);return}for(;++c<t.length;)(o[c]===null||o[c]===void 0)&&(o[c]=t[c]);t=o,s?qx(s,i)(...o):r(null,...o)}}function r(n){if(typeof n!=`function`)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}}function qx(e,t){let n;return r;function r(...t){let r=e.length>t.length,o;r&&t.push(i);try{o=e.apply(this,t)}catch(e){let t=e;if(r&&n)throw t;return i(t)}r||(o&&o.then&&typeof o.then==`function`?o.then(a,i):o instanceof Error?i(o):a(o))}function i(e,...r){n||(n=!0,t(e,...r))}function a(e){i(null,e)}}var Jx={basename:Yx,dirname:Xx,extname:Zx,join:Qx,sep:`/`};function Yx(e,t){if(t!==void 0&&typeof t!=`string`)throw TypeError(`"ext" argument must be a string`);tS(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.codePointAt(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.codePointAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(r=i):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function Xx(e){if(tS(e),e.length===0)return`.`;let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?`/`:`.`:t===1&&e.codePointAt(0)===47?`//`:e.slice(0,t)}function Zx(e){tS(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){let s=e.codePointAt(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 Qx(...e){let t=-1,n;for(;++t<e.length;)tS(e[t]),e[t]&&(n=n===void 0?e[t]:n+`/`+e[t]);return n===void 0?`.`:$x(n)}function $x(e){tS(e);let t=e.codePointAt(0)===47,n=eS(e,!t);return n.length===0&&!t&&(n=`.`),n.length>0&&e.codePointAt(e.length-1)===47&&(n+=`/`),t?`/`+n:n}function eS(e,t){let n=``,r=0,i=-1,a=0,o=-1,s,c;for(;++o<=e.length;){if(o<e.length)s=e.codePointAt(o);else if(s===47)break;else s=47;if(s===47){if(!(i===o-1||a===1))if(i!==o-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf(`/`),c!==n.length-1){c<0?(n=``,r=0):(n=n.slice(0,c),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 tS(e){if(typeof e!=`string`)throw TypeError(`Path must be a string. Received `+JSON.stringify(e))}var nS={cwd:rS};function rS(){return`/`}function iS(e){return!!(typeof e==`object`&&e&&`href`in e&&e.href&&`protocol`in e&&e.protocol&&e.auth===void 0)}function aS(e){if(typeof e==`string`)e=new URL(e);else if(!iS(e)){let t=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:`){let e=TypeError(`The URL must be of scheme file`);throw e.code=`ERR_INVALID_URL_SCHEME`,e}return oS(e)}function oS(e){if(e.hostname!==``){let e=TypeError(`File URL host must be "localhost" or empty on darwin`);throw e.code=`ERR_INVALID_FILE_URL_HOST`,e}let t=e.pathname,n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){let e=t.codePointAt(n+2);if(e===70||e===102){let e=TypeError(`File URL path must not include encoded / characters`);throw e.code=`ERR_INVALID_FILE_URL_PATH`,e}}return decodeURIComponent(t)}var sS=[`history`,`path`,`basename`,`stem`,`extname`,`dirname`],cS=class{constructor(e){let t;t=e?iS(e)?{path:e}:typeof e==`string`||fS(e)?{value:e}:e:{},this.cwd=`cwd`in t?``:nS.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<sS.length;){let e=sS[n];e in t&&t[e]!==void 0&&t[e]!==null&&(this[e]=e===`history`?[...t[e]]:t[e])}let r;for(r in t)sS.includes(r)||(this[r]=t[r])}get basename(){return typeof this.path==`string`?Jx.basename(this.path):void 0}set basename(e){uS(e,`basename`),lS(e,`basename`),this.path=Jx.join(this.dirname||``,e)}get dirname(){return typeof this.path==`string`?Jx.dirname(this.path):void 0}set dirname(e){dS(this.basename,`dirname`),this.path=Jx.join(e||``,this.basename)}get extname(){return typeof this.path==`string`?Jx.extname(this.path):void 0}set extname(e){if(lS(e,`extname`),dS(this.dirname,`extname`),e){if(e.codePointAt(0)!==46)throw Error("`extname` must start with `.`");if(e.includes(`.`,1))throw Error("`extname` cannot contain multiple dots")}this.path=Jx.join(this.dirname,this.stem+(e||``))}get path(){return this.history[this.history.length-1]}set path(e){iS(e)&&(e=aS(e)),uS(e,`path`),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path==`string`?Jx.basename(this.path,this.extname):void 0}set stem(e){uS(e,`stem`),lS(e,`stem`),this.path=Jx.join(this.dirname||``,e+(this.extname||``))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new Qg(e,t,n);return this.path&&(r.name=this.path+`:`+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return this.value===void 0?``:typeof this.value==`string`?this.value:new TextDecoder(e||void 0).decode(this.value)}};function lS(e,t){if(e&&e.includes(Jx.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+Jx.sep+"`")}function uS(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function dS(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}function fS(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}var pS=(function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r}),mS={}.hasOwnProperty,hS=new class e extends pS{constructor(){super(`copy`),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Kx()}copy(){let t=new e,n=-1;for(;++n<this.attachers.length;){let e=this.attachers[n];t.use(...e)}return t.data((0,Wx.default)(!0,{},this.namespace)),t}data(e,t){return typeof e==`string`?arguments.length===2?(vS(`data`,this.frozen),this.namespace[e]=t,this):mS.call(this.namespace,e)&&this.namespace[e]||void 0:e?(vS(`data`,this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;let e=this;for(;++this.freezeIndex<this.attachers.length;){let[t,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);let r=t.call(e,...n);typeof r==`function`&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=xS(e),n=this.parser||this.Parser;return gS(`parse`,n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),gS(`process`,this.parser||this.Parser),_S(`process`,this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let a=xS(e),o=n.parse(a);n.run(o,a,function(e,t,r){if(e||!t||!r)return s(e);let i=t,a=n.stringify(i,r);CS(a)?r.value=a:r.result=a,s(e,r)});function s(e,n){e||!n?i(e):r?r(n):t(void 0,n)}}}processSync(e){let t=!1,n;return this.freeze(),gS(`processSync`,this.parser||this.Parser),_S(`processSync`,this.compiler||this.Compiler),this.process(e,r),bS(`processSync`,`process`,t),n;function r(e,r){t=!0,Ux(e),n=r}}run(e,t,n){yS(e),this.freeze();let r=this.transformers;return!n&&typeof t==`function`&&(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,a){let o=xS(t);r.run(e,o,s);function s(t,r,o){let s=r||e;t?a(t):i?i(s):n(void 0,s,o)}}}runSync(e,t){let n=!1,r;return this.run(e,t,i),bS(`runSync`,`run`,n),r;function i(e,t){Ux(e),r=t,n=!0}}stringify(e,t){this.freeze();let n=xS(t),r=this.compiler||this.Compiler;return _S(`stringify`,r),yS(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(vS(`use`,this.frozen),e!=null)if(typeof e==`function`)s(e,t);else if(typeof e==`object`)Array.isArray(e)?o(e):a(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(typeof e==`function`)s(e,[]);else if(typeof e==`object`)if(Array.isArray(e)){let[t,...n]=e;s(t,n)}else a(e);else throw TypeError("Expected usable value, not `"+e+"`")}function a(e){if(!(`plugins`in e)&&!(`settings`in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(e.plugins),e.settings&&(r.settings=(0,Wx.default)(!0,r.settings,e.settings))}function o(e){let t=-1;if(e!=null)if(Array.isArray(e))for(;++t<e.length;){let n=e[t];i(n)}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function s(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(i===-1)n.push([e,...t]);else if(t.length>0){let[r,...a]=t,o=n[i][1];Gx(o)&&Gx(r)&&(r=(0,Wx.default)(!0,o,r)),n[i]=[e,r,...a]}}}}().freeze();function gS(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `parser`")}function _S(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `compiler`")}function vS(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function yS(e){if(!Gx(e)||typeof e.type!=`string`)throw TypeError("Expected node, got `"+e+"`")}function bS(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function xS(e){return SS(e)?e:new cS(e)}function SS(e){return!!(e&&typeof e==`object`&&`message`in e&&`messages`in e)}function CS(e){return typeof e==`string`||wS(e)}function wS(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}var TS=[],ES={allowDangerousHtml:!0},DS=/^(https?|ircs?|mailto|xmpp)$/i,OS=[{from:`astPlugins`,id:`remove-buggy-html-in-markdown-parser`},{from:`allowDangerousHtml`,id:`remove-buggy-html-in-markdown-parser`},{from:`allowNode`,id:`replace-allownode-allowedtypes-and-disallowedtypes`,to:`allowElement`},{from:`allowedTypes`,id:`replace-allownode-allowedtypes-and-disallowedtypes`,to:`allowedElements`},{from:`className`,id:`remove-classname`},{from:`disallowedTypes`,id:`replace-allownode-allowedtypes-and-disallowedtypes`,to:`disallowedElements`},{from:`escapeHtml`,id:`remove-buggy-html-in-markdown-parser`},{from:`includeElementIndex`,id:`#remove-includeelementindex`},{from:`includeNodeIndex`,id:`change-includenodeindex-to-includeelementindex`},{from:`linkTarget`,id:`remove-linktarget`},{from:`plugins`,id:`change-plugins-to-remarkplugins`,to:`remarkPlugins`},{from:`rawSourcePos`,id:`#remove-rawsourcepos`},{from:`renderers`,id:`change-renderers-to-components`,to:`components`},{from:`source`,id:`change-source-to-children`,to:`children`},{from:`sourcePos`,id:`#remove-sourcepos`},{from:`transformImageUri`,id:`#add-urltransform`,to:`urlTransform`},{from:`transformLinkUri`,id:`#add-urltransform`,to:`urlTransform`}];function kS(e){let t=AS(e),n=jS(e);return MS(t.runSync(t.parse(n),n),e)}function AS(e){let t=e.rehypePlugins||TS,n=e.remarkPlugins||TS,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...ES}:ES;return hS().use(Db).use(n).use(Hx,r).use(t)}function jS(e){let t=e.children||``,n=new cS;return typeof t==`string`?n.value=t:``+t,n}function MS(e,t){let n=t.allowedElements,r=t.allowElement,i=t.components,a=t.disallowedElements,o=t.skipHtml,s=t.unwrapDisallowed,c=t.urlTransform||NS;for(let e of OS)Object.hasOwn(t,e.from)&&``+e.from+(e.to?"use `"+e.to+"` instead":`remove it`)+e.id;return Mx(e,l),o_(e,{Fragment:w,components:i,ignoreInvalidStyle:!0,jsx:T,jsxs:E,passKeys:!0,passNode:!0});function l(e,t,i){if(e.type===`raw`&&i&&typeof t==`number`)return o?i.children.splice(t,1):i.children[t]={type:`text`,value:e.value},t;if(e.type===`element`){let t;for(t in O_)if(Object.hasOwn(O_,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=O_[t];(r===null||r.includes(e.tagName))&&(e.properties[t]=c(String(n||``),t,e))}}if(e.type===`element`){let o=n?!n.includes(e.tagName):a?a.includes(e.tagName):!1;if(!o&&r&&typeof t==`number`&&(o=!r(e,t,i)),o&&i&&typeof t==`number`)return s&&e.children?i.children.splice(t,1,...e.children):i.children.splice(t,1),t}}}function NS(e){let t=e.indexOf(`:`),n=e.indexOf(`?`),r=e.indexOf(`#`),i=e.indexOf(`/`);return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||DS.test(e.slice(0,t))?e:``}function PS(e,t){let n=String(e);if(typeof t!=`string`)throw TypeError(`Expected character`);let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function FS(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);return e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`)}function IS(e,t,n){let r=xx((n||{}).ignore||[]),i=LS(t),a=-1;for(;++a<i.length;)Ax(e,`text`,o);function o(e,t){let n=-1,i;for(;++n<t.length;){let e=t[n],a=i?i.children:void 0;if(r(e,a?a.indexOf(e):void 0,i))return;i=e}if(i)return s(e,t)}function s(e,t){let n=t[t.length-1],r=i[a][0],o=i[a][1],s=0,c=n.children.indexOf(e),l=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){let n=d.index,i={index:d.index,input:d.input,stack:[...t,e]},a=o(...d,i);if(typeof a==`string`&&(a=a.length>0?{type:`text`,value:a}:void 0),a===!1?r.lastIndex=n+1:(s!==n&&u.push({type:`text`,value:e.value.slice(s,n)}),Array.isArray(a)?u.push(...a):a&&u.push(a),s=n+d[0].length,l=!0),!r.global)break;d=r.exec(e.value)}return l?(s<e.value.length&&u.push({type:`text`,value:e.value.slice(s)}),n.children.splice(c,1,...u)):u=[e],c+u.length}}function LS(e){let t=[];if(!Array.isArray(e))throw TypeError(`Expected find and replace tuple or list of tuples`);let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){let e=n[r];t.push([RS(e[0]),zS(e[1])])}return t}function RS(e){return typeof e==`string`?new RegExp(FS(e),`g`):e}function zS(e){return typeof e==`function`?e:function(){return e}}var BS=`phrasing`,VS=[`autolink`,`link`,`image`,`label`];function HS(){return{transforms:[XS],enter:{literalAutolink:WS,literalAutolinkEmail:GS,literalAutolinkHttp:GS,literalAutolinkWww:GS},exit:{literalAutolink:YS,literalAutolinkEmail:JS,literalAutolinkHttp:KS,literalAutolinkWww:qS}}}function US(){return{unsafe:[{character:`@`,before:`[+\\-.\\w]`,after:`[\\-.\\w]`,inConstruct:BS,notInConstruct:VS},{character:`.`,before:`[Ww]`,after:`[\\-.\\w]`,inConstruct:BS,notInConstruct:VS},{character:`:`,before:`[ps]`,after:`\\/`,inConstruct:BS,notInConstruct:VS}]}}function WS(e){this.enter({type:`link`,title:null,url:``,children:[]},e)}function GS(e){this.config.enter.autolinkProtocol.call(this,e)}function KS(e){this.config.exit.autolinkProtocol.call(this,e)}function qS(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url=`http://`+this.sliceSerialize(e)}function JS(e){this.config.exit.autolinkEmail.call(this,e)}function YS(e){this.exit(e)}function XS(e){IS(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,ZS],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,QS]],{ignore:[`link`,`linkReference`]})}function ZS(e,t,n,r,i){let a=``;if(!tC(i)||(/^w/i.test(t)&&(n=t+n,t=``,a=`http://`),!$S(n)))return!1;let o=eC(n+r);if(!o[0])return!1;let 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 QS(e,t,n,r){return!tC(r,!0)||/[-\d_]$/.test(n)?!1:{type:`link`,title:null,url:`mailto:`+t+`@`+n,children:[{type:`text`,value:t+`@`+n}]}}function $S(e){let 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 eC(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(`)`),i=PS(e,`(`),a=PS(e,`)`);for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(`)`),a++;return[e,n]}function tC(e,t){let n=e.input.charCodeAt(e.index-1);return(e.index===0||$_(n)||Q_(n))&&(!t||n!==47)}dC.peek=uC;function nC(){this.buffer()}function rC(e){this.enter({type:`footnoteReference`,identifier:``,label:``},e)}function iC(){this.buffer()}function aC(e){this.enter({type:`footnoteDefinition`,identifier:``,label:``,children:[]},e)}function oC(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=W_(this.sliceSerialize(e)).toLowerCase(),n.label=t}function sC(e){this.exit(e)}function cC(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=W_(this.sliceSerialize(e)).toLowerCase(),n.label=t}function lC(e){this.exit(e)}function uC(){return`[`}function dC(e,t,n,r){let i=n.createTracker(r),a=i.move(`[^`),o=n.enter(`footnoteReference`),s=n.enter(`reference`);return a+=i.move(n.safe(n.associationId(e),{after:`]`,before:a})),s(),o(),a+=i.move(`]`),a}function fC(){return{enter:{gfmFootnoteCallString:nC,gfmFootnoteCall:rC,gfmFootnoteDefinitionLabelString:iC,gfmFootnoteDefinition:aC},exit:{gfmFootnoteCallString:oC,gfmFootnoteCall:sC,gfmFootnoteDefinitionLabelString:cC,gfmFootnoteDefinition:lC}}}function pC(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:dC},unsafe:[{character:`[`,inConstruct:[`label`,`phrasing`,`reference`]}]};function n(e,n,r,i){let a=r.createTracker(i),o=a.move(`[^`),s=r.enter(`footnoteDefinition`),c=r.enter(`label`);return o+=a.move(r.safe(r.associationId(e),{before:o,after:`]`})),c(),o+=a.move(`]:`),e.children&&e.children.length>0&&(a.shift(4),o+=a.move((t?`
|
|
276
|
+
`:` `)+r.indentLines(r.containerFlow(e,a.current()),t?hC:mC))),s(),o}}function mC(e,t,n){return t===0?e:hC(e,t,n)}function hC(e,t,n){return(n?``:` `)+e}var gC=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`];xC.peek=SC;function _C(){return{canContainEols:[`delete`],enter:{strikethrough:yC},exit:{strikethrough:bC}}}function vC(){return{unsafe:[{character:`~`,inConstruct:`phrasing`,notInConstruct:gC}],handlers:{delete:xC}}}function yC(e){this.enter({type:`delete`,children:[]},e)}function bC(e){this.exit(e)}function xC(e,t,n,r){let i=n.createTracker(r),a=n.enter(`strikethrough`),o=i.move(`~~`);return o+=n.containerPhrasing(e,{...i.current(),before:o,after:`~`}),o+=i.move(`~~`),a(),o}function SC(){return`~`}function CC(e){return e.length}function wC(e,t){let n=t||{},r=(n.align||[]).concat(),i=n.stringLength||CC,a=[],o=[],s=[],c=[],l=0,u=-1;for(;++u<e.length;){let t=[],r=[],a=-1;for(e[u].length>l&&(l=e[u].length);++a<e[u].length;){let o=TC(e[u][a]);if(n.alignDelimiters!==!1){let e=i(o);r[a]=e,(c[a]===void 0||e>c[a])&&(c[a]=e)}t.push(o)}o[u]=t,s[u]=r}let d=-1;if(typeof r==`object`&&`length`in r)for(;++d<l;)a[d]=EC(r[d]);else{let e=EC(r);for(;++d<l;)a[d]=e}d=-1;let f=[],p=[];for(;++d<l;){let e=a[d],t=``,r=``;e===99?(t=`:`,r=`:`):e===108?t=`:`:e===114&&(r=`:`);let i=n.alignDelimiters===!1?1:Math.max(1,c[d]-t.length-r.length),o=t+`-`.repeat(i)+r;n.alignDelimiters!==!1&&(i=t.length+i+r.length,i>c[d]&&(c[d]=i),p[d]=i),f[d]=o}o.splice(1,0,f),s.splice(1,0,p),u=-1;let m=[];for(;++u<o.length;){let e=o[u],t=s[u];d=-1;let r=[];for(;++d<l;){let i=e[d]||``,o=``,s=``;if(n.alignDelimiters!==!1){let e=c[d]-(t[d]||0),n=a[d];n===114?o=` `.repeat(e):n===99?e%2?(o=` `.repeat(e/2+.5),s=` `.repeat(e/2-.5)):(o=` `.repeat(e/2),s=o):s=` `.repeat(e)}n.delimiterStart!==!1&&!d&&r.push(`|`),n.padding!==!1&&!(n.alignDelimiters===!1&&i===``)&&(n.delimiterStart!==!1||d)&&r.push(` `),n.alignDelimiters!==!1&&r.push(o),r.push(i),n.alignDelimiters!==!1&&r.push(s),n.padding!==!1&&r.push(` `),(n.delimiterEnd!==!1||d!==l-1)&&r.push(`|`)}m.push(n.delimiterEnd===!1?r.join(``).replace(/ +$/,``):r.join(``))}return m.join(`
|
|
277
|
+
`)}function TC(e){return e==null?``:String(e)}function EC(e){let 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}function DC(e,t,n,r){let i=n.enter(`blockquote`),a=n.createTracker(r);a.move(`> `),a.shift(2);let o=n.indentLines(n.containerFlow(e,a.current()),OC);return i(),o}function OC(e,t,n){return`>`+(n?``:` `)+e}function kC(e,t){return AC(e,t.inConstruct,!0)&&!AC(e,t.notInConstruct,!1)}function AC(e,t,n){if(typeof t==`string`&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function jC(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
|
|
278
|
+
`&&kC(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?``:` `;return`\\
|
|
279
|
+
`}function MC(e,t){let n=String(e),r=n.indexOf(t),i=r,a=0,o=0;if(typeof t!=`string`)throw TypeError(`Expected substring`);for(;r!==-1;)r===i?++a>o&&(o=a):a=1,i=r+t.length,r=n.indexOf(t,i);return o}function NC(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function PC(e){let t=e.options.fence||"`";if(t!=="`"&&t!==`~`)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function FC(e,t,n,r){let i=PC(n),a=e.value||``,o=i==="`"?`GraveAccent`:`Tilde`;if(NC(e,n)){let e=n.enter(`codeIndented`),t=n.indentLines(a,IC);return e(),t}let s=n.createTracker(r),c=i.repeat(Math.max(MC(a,i)+1,3)),l=n.enter(`codeFenced`),u=s.move(c);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:` `,encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(` `),u+=s.move(n.safe(e.meta,{before:u,after:`
|
|
280
280
|
`,encode:["`"],...s.current()})),t()}return u+=s.move(`
|
|
281
281
|
`),a&&(u+=s.move(a+`
|
|
282
|
-
`)),u+=s.move(c),l(),u}function
|
|
283
|
-
`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),o(),l}function
|
|
282
|
+
`)),u+=s.move(c),l(),u}function IC(e,t,n){return(n?``:` `)+e}function LC(e){let t=e.options.quote||`"`;if(t!==`"`&&t!==`'`)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function RC(e,t,n,r){let i=LC(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`definition`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`[`);return l+=c.move(n.safe(n.associationId(e),{before:l,after:`]`,...c.current()})),l+=c.move(`]: `),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`
|
|
283
|
+
`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),o(),l}function zC(e){let t=e.options.emphasis||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function BC(e){return`&#x`+e.toString(16).toUpperCase()+`;`}function VC(e,t,n){let r=cv(e),i=cv(t);return r===void 0?i===void 0?n===`_`?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}HC.peek=UC;function HC(e,t,n,r){let i=zC(n),a=n.enter(`emphasis`),o=n.createTracker(r),s=o.move(i),c=o.move(n.containerPhrasing(e,{after:i,before:s,...o.current()})),l=c.charCodeAt(0),u=VC(r.before.charCodeAt(r.before.length-1),l,i);u.inside&&(c=BC(l)+c.slice(1));let d=c.charCodeAt(c.length-1),f=VC(r.after.charCodeAt(0),d,i);f.inside&&(c=c.slice(0,-1)+BC(d));let p=o.move(i);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},s+c+p}function UC(e,t,n){return n.options.emphasis||`*`}function WC(e,t){let n=!1;return Mx(e,function(e){if(`value`in e&&/\r?\n|\r/.test(e.value)||e.type===`break`)return n=!0,!1}),!!((!e.depth||e.depth<3)&&A_(e)&&(t.options.setext||n))}function GC(e,t,n,r){let i=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(WC(e,n)){let t=n.enter(`headingSetext`),r=n.enter(`phrasing`),o=n.containerPhrasing(e,{...a.current(),before:`
|
|
284
284
|
`,after:`
|
|
285
285
|
`});return r(),t(),o+`
|
|
286
286
|
`+(i===1?`=`:`-`).repeat(o.length-(Math.max(o.lastIndexOf(`\r`),o.lastIndexOf(`
|
|
287
287
|
`))+1))}let o=`#`.repeat(i),s=n.enter(`headingAtx`),c=n.enter(`phrasing`);a.move(o+` `);let l=n.containerPhrasing(e,{before:`# `,after:`
|
|
288
|
-
`,...a.current()});return/^[\t ]/.test(l)&&(l=
|
|
288
|
+
`,...a.current()});return/^[\t ]/.test(l)&&(l=BC(l.charCodeAt(0))+l.slice(1)),l=l?o+` `+l:o,n.options.closeAtx&&(l+=` `+o),c(),s(),l}KC.peek=qC;function KC(e){return e.value||``}function qC(){return`<`}JC.peek=YC;function JC(e,t,n,r){let i=LC(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`image`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`![`);return l+=c.move(n.safe(e.alt,{before:l,after:`]`,...c.current()})),l+=c.move(`](`),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),l+=c.move(`)`),o(),l}function YC(){return`!`}XC.peek=ZC;function XC(e,t,n,r){let i=e.referenceType,a=n.enter(`imageReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`![`),l=n.safe(e.alt,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function ZC(){return`!`}QC.peek=$C;function QC(e,t,n){let r=e.value||``,i="`",a=-1;for(;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;){let e=n.unsafe[a],t=n.compilePattern(e),i;if(e.atBreak)for(;i=t.exec(r);){let e=i.index;r.charCodeAt(e)===10&&r.charCodeAt(e-1)===13&&e--,r=r.slice(0,e)+` `+r.slice(i.index+1)}}return i+r+i}function $C(){return"`"}function ew(e,t){let n=A_(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type===`text`&&(n===e.url||`mailto:`+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}tw.peek=nw;function tw(e,t,n,r){let i=LC(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.createTracker(r),s,c;if(ew(e,n)){let t=n.stack;n.stack=[],s=n.enter(`autolink`);let r=o.move(`<`);return r+=o.move(n.containerPhrasing(e,{before:r,after:`>`,...o.current()})),r+=o.move(`>`),s(),n.stack=t,r}s=n.enter(`link`),c=n.enter(`label`);let l=o.move(`[`);return l+=o.move(n.containerPhrasing(e,{before:l,after:`](`,...o.current()})),l+=o.move(`](`),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter(`destinationLiteral`),l+=o.move(`<`),l+=o.move(n.safe(e.url,{before:l,after:`>`,...o.current()})),l+=o.move(`>`)):(c=n.enter(`destinationRaw`),l+=o.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...o.current()}))),c(),e.title&&(c=n.enter(`title${a}`),l+=o.move(` `+i),l+=o.move(n.safe(e.title,{before:l,after:i,...o.current()})),l+=o.move(i),c()),l+=o.move(`)`),s(),l}function nw(e,t,n){return ew(e,n)?`<`:`[`}rw.peek=iw;function rw(e,t,n,r){let i=e.referenceType,a=n.enter(`linkReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`[`),l=n.containerPhrasing(e,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function iw(){return`[`}function aw(e){let t=e.options.bullet||`*`;if(t!==`*`&&t!==`+`&&t!==`-`)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function ow(e){let t=aw(e),n=e.options.bulletOther;if(!n)return t===`*`?`-`:`*`;if(n!==`*`&&n!==`+`&&n!==`-`)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function sw(e){let t=e.options.bulletOrdered||`.`;if(t!==`.`&&t!==`)`)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function cw(e){let t=e.options.rule||`*`;if(t!==`*`&&t!==`-`&&t!==`_`)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function lw(e,t,n,r){let i=n.enter(`list`),a=n.bulletCurrent,o=e.ordered?sw(n):aw(n),s=e.ordered?o===`.`?`)`:`.`:ow(n),c=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){let t=e.children?e.children[0]:void 0;if((o===`*`||o===`-`)&&t&&(!t.children||!t.children[0])&&n.stack[n.stack.length-1]===`list`&&n.stack[n.stack.length-2]===`listItem`&&n.stack[n.stack.length-3]===`list`&&n.stack[n.stack.length-4]===`listItem`&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(c=!0),cw(n)===o&&t){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if(n&&n.type===`listItem`&&n.children&&n.children[0]&&n.children[0].type===`thematicBreak`){c=!0;break}}}}c&&(o=s),n.bulletCurrent=o;let l=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=a,i(),l}function uw(e){let t=e.options.listItemIndent||`one`;if(t!==`tab`&&t!==`one`&&t!==`mixed`)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function dw(e,t,n,r){let i=uw(n),a=n.bulletCurrent||aw(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);let s=n.createTracker(r);s.move(a+` `.repeat(o-a.length)),s.shift(o);let c=n.enter(`listItem`),l=n.indentLines(n.containerFlow(e,s.current()),u);return c(),l;function u(e,t,n){return t?(n?``:` `.repeat(o))+e:(n?a:a+` `.repeat(o-a.length))+e}}function fw(e,t,n,r){let i=n.enter(`paragraph`),a=n.enter(`phrasing`),o=n.containerPhrasing(e,r);return a(),i(),o}var pw=xx([`break`,`delete`,`emphasis`,`footnote`,`footnoteReference`,`image`,`imageReference`,`inlineCode`,`inlineMath`,`link`,`linkReference`,`mdxJsxTextElement`,`mdxTextExpression`,`strong`,`text`,`textDirective`]);function mw(e,t,n,r){return(e.children.some(function(e){return pw(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function hw(e){let t=e.options.strong||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}gw.peek=_w;function gw(e,t,n,r){let i=hw(n),a=n.enter(`strong`),o=n.createTracker(r),s=o.move(i+i),c=o.move(n.containerPhrasing(e,{after:i,before:s,...o.current()})),l=c.charCodeAt(0),u=VC(r.before.charCodeAt(r.before.length-1),l,i);u.inside&&(c=BC(l)+c.slice(1));let d=c.charCodeAt(c.length-1),f=VC(r.after.charCodeAt(0),d,i);f.inside&&(c=c.slice(0,-1)+BC(d));let p=o.move(i+i);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},s+c+p}function _w(e,t,n){return n.options.strong||`*`}function vw(e,t,n,r){return n.safe(e.value,r)}function yw(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function bw(e,t,n){let r=(cw(n)+(n.options.ruleSpaces?` `:``)).repeat(yw(n));return n.options.ruleSpaces?r.slice(0,-1):r}var xw={blockquote:DC,break:jC,code:FC,definition:RC,emphasis:HC,hardBreak:jC,heading:GC,html:KC,image:JC,imageReference:XC,inlineCode:QC,link:tw,linkReference:rw,list:lw,listItem:dw,paragraph:fw,root:mw,strong:gw,text:vw,thematicBreak:bw};function Sw(){return{enter:{table:Cw,tableData:Dw,tableHeader:Dw,tableRow:Tw},exit:{codeText:Ow,table:ww,tableData:Ew,tableHeader:Ew,tableRow:Ew}}}function Cw(e){let t=e._align;this.enter({type:`table`,align:t.map(function(e){return e===`none`?null:e}),children:[]},e),this.data.inTable=!0}function ww(e){this.exit(e),this.data.inTable=void 0}function Tw(e){this.enter({type:`tableRow`,children:[]},e)}function Ew(e){this.exit(e)}function Dw(e){this.enter({type:`tableCell`,children:[]},e)}function Ow(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,kw));let n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function kw(e,t){return t===`|`?t:e}function Aw(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?` `:`|`;return{unsafe:[{character:`\r`,inConstruct:`tableCell`},{character:`
|
|
289
289
|
`,inConstruct:`tableCell`},{atBreak:!0,character:`|`,after:`[ :-]`},{character:`|`,inConstruct:`tableCell`},{atBreak:!0,character:`:`,after:`-`},{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{inlineCode:f,table:o,tableCell:c,tableRow:s}};function o(e,t,n,r){return l(u(e,n,r),e.align)}function s(e,t,n,r){let i=l([d(e,n,r)]);return i.slice(0,i.indexOf(`
|
|
290
|
-
`))}function c(e,t,n,r){let i=n.enter(`tableCell`),o=n.enter(`phrasing`),s=n.containerPhrasing(e,{...r,before:a,after:a});return o(),i(),s}function l(e,t){return hC(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function u(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`table`);for(;++i<r.length;)a[i]=d(r[i],t,n);return o(),a}function d(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`tableRow`);for(;++i<r.length;)a[i]=c(r[i],e,t,n);return o(),a}function f(e,t,n){let r=fw.inlineCode(e,t,n);return n.stack.includes(`tableCell`)&&(r=r.replace(/\|/g,`\\$&`)),r}}function Sw(){return{exit:{taskListCheckValueChecked:ww,taskListCheckValueUnchecked:ww,paragraph:Tw}}}function Cw(){return{unsafe:[{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{listItem:Ew}}}function ww(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type===`taskListCheckValueChecked`}function Tw(e){let t=this.stack[this.stack.length-2];if(t&&t.type===`listItem`&&typeof t.checked==`boolean`){let e=this.stack[this.stack.length-1];e.type;let n=e.children[0];if(n&&n.type===`text`){let r=t.children,i=-1,a;for(;++i<r.length;){let e=r[i];if(e.type===`paragraph`){a=e;break}}a===e&&(n.value=n.value.slice(1),n.value.length===0?e.children.shift():e.position&&n.position&&typeof n.position.start.offset==`number`&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function Ew(e,t,n,r){let i=e.children[0],a=typeof e.checked==`boolean`&&i&&i.type===`paragraph`,o=`[`+(e.checked?`x`:` `)+`] `,s=n.createTracker(r);a&&s.move(o);let c=fw.listItem(e,t,n,{...r,...s.current()});return a&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),c;function l(e){return e+o}}function Dw(){return[NS(),rC(),cC(),pw(),Sw()]}function Ow(e){return{extensions:[PS(),iC(e),lC(),xw(e),Cw()]}}var kw={tokenize:Uw,partial:!0},Aw={tokenize:Ww,partial:!0},jw={tokenize:Gw,partial:!0},Mw={tokenize:Kw,partial:!0},Nw={tokenize:qw,partial:!0},Pw={name:`wwwAutolink`,tokenize:Vw,previous:Jw},Fw={name:`protocolAutolink`,tokenize:Hw,previous:Yw},Iw={name:`emailAutolink`,tokenize:Bw,previous:Xw},Lw={};function Rw(){return{text:Lw}}for(var zw=48;zw<123;)Lw[zw]=Iw,zw++,zw===58?zw=65:zw===91&&(zw=97);Lw[43]=Iw,Lw[45]=Iw,Lw[46]=Iw,Lw[95]=Iw,Lw[72]=[Iw,Fw],Lw[104]=[Iw,Fw],Lw[87]=[Iw,Pw],Lw[119]=[Iw,Pw];function Bw(e,t,n){let r=this,i,a;return o;function o(t){return!Zw(t)||!Xw.call(r,r.previous)||Qw(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkEmail`),s(t))}function s(t){return Zw(t)?(e.consume(t),s):t===64?(e.consume(t),c):n(t)}function c(t){return t===46?e.check(Nw,u,l)(t):t===45||t===95||L_(t)?(a=!0,e.consume(t),c):u(t)}function l(t){return e.consume(t),i=!0,c}function u(o){return a&&i&&I_(r.previous)?(e.exit(`literalAutolinkEmail`),e.exit(`literalAutolink`),t(o)):n(o)}}function Vw(e,t,n){let r=this;return i;function i(t){return t!==87&&t!==119||!Jw.call(r,r.previous)||Qw(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkWww`),e.check(kw,e.attempt(Aw,e.attempt(jw,a),n),n)(t))}function a(n){return e.exit(`literalAutolinkWww`),e.exit(`literalAutolink`),t(n)}}function Hw(e,t,n){let r=this,i=``,a=!1;return o;function o(t){return(t===72||t===104)&&Yw.call(r,r.previous)&&!Qw(r.events)?(e.enter(`literalAutolink`),e.enter(`literalAutolinkHttp`),i+=String.fromCodePoint(t),e.consume(t),s):n(t)}function s(t){if(I_(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),s;if(t===58){let n=i.toLowerCase();if(n===`http`||n===`https`)return e.consume(t),c}return n(t)}function c(t){return t===47?(e.consume(t),a?l:(a=!0,c)):n(t)}function l(t){return t===null||z_(t)||X(t)||W_(t)||U_(t)?n(t):e.attempt(Aw,e.attempt(jw,u),n)(t)}function u(n){return e.exit(`literalAutolinkHttp`),e.exit(`literalAutolink`),t(n)}}function Uw(e,t,n){let r=0;return i;function i(t){return(t===87||t===119)&&r<3?(r++,e.consume(t),i):t===46&&r===3?(e.consume(t),a):n(t)}function a(e){return e===null?n(e):t(e)}}function Ww(e,t,n){let r,i,a;return o;function o(t){return t===46||t===95?e.check(Mw,c,s)(t):t===null||X(t)||W_(t)||t!==45&&U_(t)?c(t):(a=!0,e.consume(t),o)}function s(t){return t===95?r=!0:(i=r,r=void 0),e.consume(t),o}function c(e){return i||r||!a?n(e):t(e)}}function Gw(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(Mw,t,a)(o):o===null||X(o)||W_(o)?t(o):(e.consume(o),i)}function a(t){return t===41&&r++,e.consume(t),i}}function Kw(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),a):o===93?(e.consume(o),i):o===60||o===null||X(o)||W_(o)?t(o):n(o)}function i(e){return e===null||e===40||e===91||X(e)||W_(e)?t(e):r(e)}function a(e){return I_(e)?o(e):n(e)}function o(t){return t===59?(e.consume(t),r):I_(t)?(e.consume(t),o):n(t)}}function qw(e,t,n){return r;function r(t){return e.consume(t),i}function i(e){return L_(e)?n(e):t(e)}}function Jw(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||X(e)}function Yw(e){return!I_(e)}function Xw(e){return!(e===47||Zw(e))}function Zw(e){return e===43||e===45||e===46||e===95||L_(e)}function Qw(e){let t=e.length,n=!1;for(;t--;){let 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}var $w={tokenize:sT,partial:!0};function eT(){return{document:{91:{name:`gfmFootnoteDefinition`,tokenize:iT,continuation:{tokenize:aT},exit:oT}},text:{91:{name:`gfmFootnoteCall`,tokenize:rT},93:{name:`gfmPotentialFootnoteCall`,add:`after`,tokenize:tT,resolveTo:nT}}}}function tT(e,t,n){let r=this,i=r.events.length,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o;for(;i--;){let e=r.events[i][1];if(e.type===`labelImage`){o=e;break}if(e.type===`gfmFootnoteCall`||e.type===`labelLink`||e.type===`label`||e.type===`image`||e.type===`link`)break}return s;function s(i){if(!o||!o._balanced)return n(i);let s=F_(r.sliceSerialize({start:o.end,end:r.now()}));return s.codePointAt(0)!==94||!a.includes(s.slice(1))?n(i):(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(i),e.exit(`gfmFootnoteCallLabelMarker`),t(i))}}function nT(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`;let 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++;let 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 rT(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a=0,o;return s;function s(t){return e.enter(`gfmFootnoteCall`),e.enter(`gfmFootnoteCallLabelMarker`),e.consume(t),e.exit(`gfmFootnoteCallLabelMarker`),c}function c(t){return t===94?(e.enter(`gfmFootnoteCallMarker`),e.consume(t),e.exit(`gfmFootnoteCallMarker`),e.enter(`gfmFootnoteCallString`),e.enter(`chunkString`).contentType=`string`,l):n(t)}function l(s){if(a>999||s===93&&!o||s===null||s===91||X(s))return n(s);if(s===93){e.exit(`chunkString`);let a=e.exit(`gfmFootnoteCallString`);return i.includes(F_(r.sliceSerialize(a)))?(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(s),e.exit(`gfmFootnoteCallLabelMarker`),e.exit(`gfmFootnoteCall`),t):n(s)}return X(s)||(o=!0),a++,e.consume(s),s===92?u:l}function u(t){return t===91||t===92||t===93?(e.consume(t),a++,l):l(t)}}function iT(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a,o=0,s;return c;function c(t){return e.enter(`gfmFootnoteDefinition`)._container=!0,e.enter(`gfmFootnoteDefinitionLabel`),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),l}function l(t){return t===94?(e.enter(`gfmFootnoteDefinitionMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionMarker`),e.enter(`gfmFootnoteDefinitionLabelString`),e.enter(`chunkString`).contentType=`string`,u):n(t)}function u(t){if(o>999||t===93&&!s||t===null||t===91||X(t))return n(t);if(t===93){e.exit(`chunkString`);let n=e.exit(`gfmFootnoteDefinitionLabelString`);return a=F_(r.sliceSerialize(n)),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),e.exit(`gfmFootnoteDefinitionLabel`),f}return X(t)||(s=!0),o++,e.consume(t),t===92?d:u}function d(t){return t===91||t===92||t===93?(e.consume(t),o++,u):u(t)}function f(t){return t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),i.includes(a)||i.push(a),Q(e,p,`gfmFootnoteDefinitionWhitespace`)):n(t)}function p(e){return t(e)}}function aT(e,t,n){return e.check(sv,t,e.attempt($w,t,n))}function oT(e){e.exit(`gfmFootnoteDefinition`)}function sT(e,t,n){let r=this;return Q(e,i,`gfmFootnoteDefinitionIndent`,5);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`gfmFootnoteDefinitionIndent`&&i[2].sliceSerialize(i[1],!0).length===4?t(e):n(e)}}function cT(e){let t=(e||{}).singleTilde,n={name:`strikethrough`,tokenize:i,resolveAll:r};return t??(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(e,t){let n=-1;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`strikethroughSequenceTemporary`&&e[n][1]._close){let r=n;for(;r--;)if(e[r][0]===`exit`&&e[r][1].type===`strikethroughSequenceTemporary`&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type=`strikethroughSequence`,e[r][1].type=`strikethroughSequence`;let i={type:`strikethrough`,start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},a={type:`strikethroughText`,start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[[`enter`,i,t],[`enter`,e[r][1],t],[`exit`,e[r][1],t],[`enter`,a,t]],s=t.parser.constructs.insideSpan.null;s&&O_(o,o.length,0,ev(s,e.slice(r+1,n),t)),O_(o,o.length,0,[[`exit`,a,t],[`enter`,e[n][1],t],[`exit`,e[n][1],t],[`exit`,i,t]]),O_(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`strikethroughSequenceTemporary`&&(e[n][1].type=`data`);return e}function i(e,n,r){let i=this.previous,a=this.events,o=0;return s;function s(t){return i===126&&a[a.length-1][1].type!==`characterEscape`?r(t):(e.enter(`strikethroughSequenceTemporary`),c(t))}function c(a){let s=$_(i);if(a===126)return o>1?r(a):(e.consume(a),o++,c);if(o<2&&!t)return r(a);let l=e.exit(`strikethroughSequenceTemporary`),u=$_(a);return l._open=!u||u===2&&!!s,l._close=!s||s===2&&!!u,n(a)}}}var lT=class{constructor(){this.map=[]}add(e,t,n){uT(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),this.map.length===0)return;let t=this.map.length,n=[];for(;t>0;)--t,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0}};function uT(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function dT(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if(i[0]===`enter`)i[1].type===`tableContent`&&r.push(e[t+1][1].type===`tableDelimiterMarker`?`left`:`none`);else if(i[1].type===`tableContent`){if(e[t-1][1].type===`tableDelimiterMarker`){let e=r.length-1;r[e]=r[e]===`left`?`center`:`right`}}else if(i[1].type===`tableDelimiterRow`)break}else i[0]===`enter`&&i[1].type===`tableDelimiterRow`&&(n=!0);t+=1}return r}function fT(){return{flow:{null:{name:`table`,tokenize:pT,resolveAll:mT}}}}function pT(e,t,n){let r=this,i=0,a=0,o;return s;function s(e){let t=r.events.length-1;for(;t>-1;){let e=r.events[t][1].type;if(e===`lineEnding`||e===`linePrefix`)t--;else break}let i=t>-1?r.events[t][1].type:null,a=i===`tableHead`||i===`tableRow`?S:c;return a===S&&r.parser.lazy[r.now().line]?n(e):a(e)}function c(t){return e.enter(`tableHead`),e.enter(`tableRow`),l(t)}function l(e){return e===124?u(e):(o=!0,a+=1,u(e))}function u(t){return t===null?n(t):Y(t)?a>1?(a=0,r.interrupt=!0,e.exit(`tableRow`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),p):n(t):Z(t)?Q(e,u,`whitespace`)(t):(a+=1,o&&(o=!1,i+=1),t===124?(e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),o=!0,u):(e.enter(`data`),d(t)))}function d(t){return t===null||t===124||X(t)?(e.exit(`data`),u(t)):(e.consume(t),t===92?f:d)}function f(t){return t===92||t===124?(e.consume(t),d):d(t)}function p(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter(`tableDelimiterRow`),o=!1,Z(t)?Q(e,m,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):m(t))}function m(t){return t===45||t===58?g(t):t===124?(o=!0,e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),h):x(t)}function h(t){return Z(t)?Q(e,g,`whitespace`)(t):g(t)}function g(t){return t===58?(a+=1,o=!0,e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),_):t===45?(a+=1,_(t)):t===null||Y(t)?b(t):x(t)}function _(t){return t===45?(e.enter(`tableDelimiterFiller`),v(t)):x(t)}function v(t){return t===45?(e.consume(t),v):t===58?(o=!0,e.exit(`tableDelimiterFiller`),e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),y):(e.exit(`tableDelimiterFiller`),y(t))}function y(t){return Z(t)?Q(e,b,`whitespace`)(t):b(t)}function b(n){return n===124?m(n):n===null||Y(n)?!o||i!==a?x(n):(e.exit(`tableDelimiterRow`),e.exit(`tableHead`),t(n)):x(n)}function x(e){return n(e)}function S(t){return e.enter(`tableRow`),C(t)}function C(n){return n===124?(e.enter(`tableCellDivider`),e.consume(n),e.exit(`tableCellDivider`),C):n===null||Y(n)?(e.exit(`tableRow`),t(n)):Z(n)?Q(e,C,`whitespace`)(n):(e.enter(`data`),w(n))}function w(t){return t===null||t===124||X(t)?(e.exit(`data`),C(t)):(e.consume(t),t===92?T:w)}function T(t){return t===92||t===124?(e.consume(t),w):w(t)}}function mT(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],s=!1,c=0,l,u,d,f=new lT;for(;++n<e.length;){let p=e[n],m=p[1];p[0]===`enter`?m.type===`tableHead`?(s=!1,c!==0&&(gT(f,t,c,l,u),u=void 0,c=0),l={type:`table`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,l,t]])):m.type===`tableRow`||m.type===`tableDelimiterRow`?(r=!0,d=void 0,a=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,u={type:`tableBody`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,u,t]])),i=m.type===`tableDelimiterRow`?2:u?3:1):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)?(r=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],d=hT(f,t,a,i,void 0,d),a=[0,0,0,0]),o[2]=n)):m.type===`tableCellDivider`&&(r?r=!1:(a[1]!==0&&(o[0]=o[1],d=hT(f,t,a,i,void 0,d)),a=o,o=[a[1],n,0,0])):m.type===`tableHead`?(s=!0,c=n):m.type===`tableRow`||m.type===`tableDelimiterRow`?(c=n,a[1]===0?o[1]!==0&&(d=hT(f,t,o,i,n,d)):(o[0]=o[1],d=hT(f,t,a,i,n,d)),i=0):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)&&(o[3]=n)}for(c!==0&&gT(f,t,c,l,u),f.consume(t.events),n=-1;++n<t.events.length;){let e=t.events[n];e[0]===`enter`&&e[1].type===`table`&&(e[1]._align=dT(t.events,n))}return e}function hT(e,t,n,r,i,a){let o=r===1?`tableHeader`:r===2?`tableDelimiter`:`tableData`;n[0]!==0&&(a.end=Object.assign({},_T(t.events,n[0])),e.add(n[0],0,[[`exit`,a,t]]));let s=_T(t.events,n[1]);if(a={type:o,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[[`enter`,a,t]]),n[2]!==0){let i=_T(t.events,n[2]),a=_T(t.events,n[3]),o={type:`tableContent`,start:Object.assign({},i),end:Object.assign({},a)};if(e.add(n[2],0,[[`enter`,o,t]]),r!==2){let r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type=`chunkText`,r[1].contentType=`text`,n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[[`exit`,o,t]])}return i!==void 0&&(a.end=Object.assign({},_T(t.events,i)),e.add(i,0,[[`exit`,a,t]]),a=void 0),a}function gT(e,t,n,r,i){let a=[],o=_T(t.events,n);i&&(i.end=Object.assign({},o),a.push([`exit`,i,t])),r.end=Object.assign({},o),a.push([`exit`,r,t]),e.add(n+1,0,a)}function _T(e,t){let n=e[t],r=n[0]===`enter`?`start`:`end`;return n[1][r]}var vT={name:`tasklistCheck`,tokenize:bT};function yT(){return{text:{91:vT}}}function bT(e,t,n){let r=this;return i;function i(t){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(t):(e.enter(`taskListCheck`),e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),a)}function a(t){return X(t)?(e.enter(`taskListCheckValueUnchecked`),e.consume(t),e.exit(`taskListCheckValueUnchecked`),o):t===88||t===120?(e.enter(`taskListCheckValueChecked`),e.consume(t),e.exit(`taskListCheckValueChecked`),o):n(t)}function o(t){return t===93?(e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),e.exit(`taskListCheck`),s):n(t)}function s(r){return Y(r)?t(r):Z(r)?e.check({tokenize:xT},t,n)(r):n(r)}}function xT(e,t,n){return Q(e,r,`whitespace`);function r(e){return e===null?n(e):t(e)}}function ST(e){return j_([Rw(),eT(),cT(e),fT(),yT()])}var CT={};function wT(e){let t=this,n=e||CT,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(ST(n)),a.push(Dw()),o.push(Ow(n))}var TT=u((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t;(function(e){e.Root=`root`,e.Text=`text`,e.Directive=`directive`,e.Comment=`comment`,e.Script=`script`,e.Style=`style`,e.Tag=`tag`,e.CDATA=`cdata`,e.Doctype=`doctype`})(t||(t={}));function n(e){return e.type===t.Tag||e.type===t.Script||e.type===t.Style}t.Root,t.Text,t.Directive,t.Comment,t.Script,t.Style,t.Tag,t.CDATA,t.Doctype;var r=class{constructor(){P(this,`parent`,null),P(this,`prev`,null),P(this,`next`,null),P(this,`startIndex`,null),P(this,`endIndex`,null)}get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return v(this,e)}},i=class extends r{constructor(e){super(),P(this,`data`,void 0),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}},a=class extends i{constructor(...e){super(...e),P(this,`type`,t.Text)}get nodeType(){return 3}},o=class extends i{constructor(...e){super(...e),P(this,`type`,t.Comment)}get nodeType(){return 8}},s=class extends i{constructor(e,n){super(n),P(this,`type`,t.Directive),P(this,`name`,void 0),P(this,`x-name`,void 0),P(this,`x-publicId`,void 0),P(this,`x-systemId`,void 0),this.name=e}get nodeType(){return 1}},c=class extends r{constructor(e){super(),P(this,`children`,void 0),this.children=e}get firstChild(){return this.children[0]??null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}},l=class extends c{constructor(...e){super(...e),P(this,`type`,t.CDATA)}get nodeType(){return 4}},u=class extends c{constructor(...e){super(...e),P(this,`type`,t.Root)}get nodeType(){return 9}},d=class extends c{constructor(e,n,r=[],i=e===`script`?t.Script:e===`style`?t.Style:t.Tag){super(r),P(this,`name`,void 0),P(this,`attribs`,void 0),P(this,`type`,void 0),P(this,`namespace`,void 0),P(this,`x-attribsNamespace`,void 0),P(this,`x-attribsPrefix`,void 0),this.name=e,this.attribs=n,this.type=i}get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map(e=>({name:e,value:this.attribs[e],namespace:this[`x-attribsNamespace`]?.[e],prefix:this[`x-attribsPrefix`]?.[e]}))}};function f(e){return n(e)}function p(e){return e.type===t.CDATA}function m(e){return e.type===t.Text}function h(e){return e.type===t.Comment}function g(e){return e.type===t.Directive}function _(e){return e.type===t.Root}function v(e,t=!1){let n;if(m(e))n=new a(e.data);else if(h(e))n=new o(e.data);else if(f(e)){let r=t?y(e.children):[],i=new d(e.name,{...e.attribs},r);for(let e of r)e.parent=i;e.namespace!=null&&(i.namespace=e.namespace),e[`x-attribsNamespace`]&&(i[`x-attribsNamespace`]={...e[`x-attribsNamespace`]}),e[`x-attribsPrefix`]&&(i[`x-attribsPrefix`]={...e[`x-attribsPrefix`]}),n=i}else if(p(e)){let r=t?y(e.children):[],i=new l(r);for(let e of r)e.parent=i;n=i}else if(_(e)){let r=t?y(e.children):[],i=new u(r);for(let e of r)e.parent=i;e[`x-mode`]&&(i[`x-mode`]=e[`x-mode`]),n=i}else if(g(e)){let t=new s(e.name,e.data);e[`x-name`]!=null&&(t[`x-name`]=e[`x-name`],t[`x-publicId`]=e[`x-publicId`],t[`x-systemId`]=e[`x-systemId`]),n=t}else throw Error(`Not implemented yet: ${e.type}`);return n.startIndex=e.startIndex,n.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function y(e){let t=e.map(e=>v(e,!0));for(let e=1;e<t.length;e++)t[e].prev=t[e-1],t[e-1].next=t[e];return t}var b=`animateMotion.animateTransform.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.linearGradient.radialGradient.textPath`.split(`.`).reduce(function(e,t){return e[t.toLowerCase()]=t,e},{}),x=`\r`,S=new RegExp(x,`g`),C=`__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_${Date.now().toString()}__`,w=new RegExp(C,`g`);function T(e){return b[e]}function E(e){for(var t={},n=0,r=e.length;n<r;n++){var i=e[n];t[i.name]=i.value}return t}function ee(e){return e=e.toLowerCase(),T(e)||e}function D(e,t){var n=`<`+t,r=e.toLowerCase().indexOf(n);if(r===-1)return!1;var i=e[r+n.length];return i===`>`||i===` `||i===` `||i===`
|
|
291
|
-
`||i===`\r`||i===`/`}function te(e){return e.replace(S,C)}function O(e){return e.replace(w,x)}function ne(e,t,n){t===void 0&&(t=null);for(var r=[],i,c=0,l=e.length;c<l;c++){var u=e[c];switch(u.nodeType){case 1:var f=ee(u.nodeName);i=new d(f,E(u.attributes)),i.children=ne(f===`template`?u.content.childNodes:u.childNodes,i);break;case 3:i=new a(O(u.nodeValue??``));break;case 8:i=new o(u.nodeValue??``);break;default:continue}var p=r[c-1]??null;p&&(p.next=i),i.parent=t,i.prev=p,i.next=null,r.push(i)}return n&&(i=new s(n.substring(0,n.indexOf(` `)).toLowerCase(),n),i.next=r[0]??null,i.parent=t,r.unshift(i),r[1]&&(r[1].prev=r[0])),r}var re=`html`,k=`head`,A=`body`,ie=/<([a-zA-Z]+[0-9]?)/;function ae(e,t){return t?t.createHTML(e):e}var oe=function(e,t,n){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},se=function(e,t,n){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")},ce=typeof window==`object`&&window.DOMParser;if(typeof ce==`function`){var le=new ce,ue=`text/html`;se=function(e,t,n){return t&&(e=`<${t}>${e}</${t}>`),le.parseFromString(e,ue)},oe=se}if(typeof document==`object`&&document.implementation){var de=document.implementation.createHTMLDocument();oe=function(e,t,n){if(t){var r=de.documentElement.querySelector(t);return r&&(r.innerHTML=ae(e,n)),de}return de.documentElement.innerHTML=ae(e,n),de}}var fe=typeof document==`object`&&document.createElement(`template`),pe;fe&&fe.content&&(pe=function(e,t){return fe.innerHTML=ae(e,t),fe.content.childNodes});var me=function(){return document.createDocumentFragment().childNodes};function he(e,t){var n,r;e=te(e);var i=(ie.exec(e)?.[1])?.toLowerCase();switch(i){case re:var a=se(e);if(!D(e,k)){var o=a.querySelector(k);(n=o?.parentNode)==null||n.removeChild(o)}if(!D(e,A)){var o=a.querySelector(A);(r=o?.parentNode)==null||r.removeChild(o)}return a.querySelectorAll(re);case k:case A:var s=oe(e,void 0,t).querySelectorAll(i);return D(e,A)&&D(e,k)?s[0].parentNode?.childNodes??me():s;default:if(pe)return pe(e,t);var o=oe(e,A,t).querySelector(A);return o?.childNodes??me()}}var ge=/<(![a-zA-Z\s]+)>/;function _e(e,t){if(typeof e!=`string`)throw TypeError(`First argument must be a string`);if(!e)return[];var n=ge.exec(e),r=n?n[1]:void 0;return ne(he(e,t?.trustedTypePolicy),null,r)}e.default=_e})),ET=u((e=>{e.SAME=0,e.CAMELCASE=1,e.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":`acceptCharset`,accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:`className`,classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:`htmlFor`,form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":`httpEquiv`,icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":`accentHeight`,accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":`alignmentBaseline`,allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":`arabicForm`,ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":`baselineShift`,baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":`capHeight`,clip:0,clipPath:1,"clip-path":`clipPath`,clipPathUnits:1,clipRule:1,"clip-rule":`clipRule`,color:0,colorInterpolation:1,"color-interpolation":`colorInterpolation`,colorInterpolationFilters:1,"color-interpolation-filters":`colorInterpolationFilters`,colorProfile:1,"color-profile":`colorProfile`,colorRendering:1,"color-rendering":`colorRendering`,contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":`dominantBaseline`,dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":`enableBackground`,end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":`fillOpacity`,fillRule:1,"fill-rule":`fillRule`,filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":`floodOpacity`,floodColor:1,"flood-color":`floodColor`,focusable:0,fontFamily:1,"font-family":`fontFamily`,fontSize:1,"font-size":`fontSize`,fontSizeAdjust:1,"font-size-adjust":`fontSizeAdjust`,fontStretch:1,"font-stretch":`fontStretch`,fontStyle:1,"font-style":`fontStyle`,fontVariant:1,"font-variant":`fontVariant`,fontWeight:1,"font-weight":`fontWeight`,format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":`glyphName`,glyphOrientationHorizontal:1,"glyph-orientation-horizontal":`glyphOrientationHorizontal`,glyphOrientationVertical:1,"glyph-orientation-vertical":`glyphOrientationVertical`,glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":`horizAdvX`,horizOriginX:1,"horiz-origin-x":`horizOriginX`,ideographic:0,imageRendering:1,"image-rendering":`imageRendering`,in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":`letterSpacing`,lightingColor:1,"lighting-color":`lightingColor`,limitingConeAngle:1,local:0,markerEnd:1,"marker-end":`markerEnd`,markerHeight:1,markerMid:1,"marker-mid":`markerMid`,markerStart:1,"marker-start":`markerStart`,markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":`overlinePosition`,overlineThickness:1,"overline-thickness":`overlineThickness`,paintOrder:1,"paint-order":`paintOrder`,panose1:0,"panose-1":`panose1`,pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":`pointerEvents`,points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":`renderingIntent`,repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":`shapeRendering`,slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":`stopColor`,stopOpacity:1,"stop-opacity":`stopOpacity`,strikethroughPosition:1,"strikethrough-position":`strikethroughPosition`,strikethroughThickness:1,"strikethrough-thickness":`strikethroughThickness`,string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":`strokeDasharray`,strokeDashoffset:1,"stroke-dashoffset":`strokeDashoffset`,strokeLinecap:1,"stroke-linecap":`strokeLinecap`,strokeLinejoin:1,"stroke-linejoin":`strokeLinejoin`,strokeMiterlimit:1,"stroke-miterlimit":`strokeMiterlimit`,strokeWidth:1,"stroke-width":`strokeWidth`,strokeOpacity:1,"stroke-opacity":`strokeOpacity`,suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":`textAnchor`,textDecoration:1,"text-decoration":`textDecoration`,textLength:1,textRendering:1,"text-rendering":`textRendering`,to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":`underlinePosition`,underlineThickness:1,"underline-thickness":`underlineThickness`,unicode:0,unicodeBidi:1,"unicode-bidi":`unicodeBidi`,unicodeRange:1,"unicode-range":`unicodeRange`,unitsPerEm:1,"units-per-em":`unitsPerEm`,unselectable:0,vAlphabetic:1,"v-alphabetic":`vAlphabetic`,values:0,vectorEffect:1,"vector-effect":`vectorEffect`,version:0,vertAdvY:1,"vert-adv-y":`vertAdvY`,vertOriginX:1,"vert-origin-x":`vertOriginX`,vertOriginY:1,"vert-origin-y":`vertOriginY`,vHanging:1,"v-hanging":`vHanging`,vIdeographic:1,"v-ideographic":`vIdeographic`,viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":`vMathematical`,vocab:0,widths:0,wordSpacing:1,"word-spacing":`wordSpacing`,writingMode:1,"writing-mode":`writingMode`,x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":`xHeight`,xlinkActuate:1,"xlink:actuate":`xlinkActuate`,xlinkArcrole:1,"xlink:arcrole":`xlinkArcrole`,xlinkHref:1,"xlink:href":`xlinkHref`,xlinkRole:1,"xlink:role":`xlinkRole`,xlinkShow:1,"xlink:show":`xlinkShow`,xlinkTitle:1,"xlink:title":`xlinkTitle`,xlinkType:1,"xlink:type":`xlinkType`,xmlBase:1,"xml:base":`xmlBase`,xmlLang:1,"xml:lang":`xmlLang`,xmlns:0,"xml:space":`xmlSpace`,xmlnsXlink:1,"xmlns:xlink":`xmlnsXlink`,xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}})),DT=u((e=>{var t=0,n=1,r=2,i=3,a=4,o=5,s=6;function c(e){return u.hasOwnProperty(e)?u[e]:null}function l(e,t,n,o,s,c,l){this.acceptsBooleans=t===r||t===i||t===a,this.attributeName=o,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=c,this.removeEmptyString=l}var u={};[`children`,`dangerouslySetInnerHTML`,`defaultValue`,`defaultChecked`,`innerHTML`,`suppressContentEditableWarning`,`suppressHydrationWarning`,`style`].forEach(e=>{u[e]=new l(e,t,!1,e,null,!1,!1)}),[[`acceptCharset`,`accept-charset`],[`className`,`class`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`]].forEach(([e,t])=>{u[e]=new l(e,n,!1,t,null,!1,!1)}),[`contentEditable`,`draggable`,`spellCheck`,`value`].forEach(e=>{u[e]=new l(e,r,!1,e.toLowerCase(),null,!1,!1)}),[`autoReverse`,`externalResourcesRequired`,`focusable`,`preserveAlpha`].forEach(e=>{u[e]=new l(e,r,!1,e,null,!1,!1)}),[`allowFullScreen`,`async`,`autoFocus`,`autoPlay`,`controls`,`default`,`defer`,`disabled`,`disablePictureInPicture`,`disableRemotePlayback`,`formNoValidate`,`hidden`,`loop`,`noModule`,`noValidate`,`open`,`playsInline`,`readOnly`,`required`,`reversed`,`scoped`,`seamless`,`itemScope`].forEach(e=>{u[e]=new l(e,i,!1,e.toLowerCase(),null,!1,!1)}),[`checked`,`multiple`,`muted`,`selected`].forEach(e=>{u[e]=new l(e,i,!0,e,null,!1,!1)}),[`capture`,`download`].forEach(e=>{u[e]=new l(e,a,!1,e,null,!1,!1)}),[`cols`,`rows`,`size`,`span`].forEach(e=>{u[e]=new l(e,s,!1,e,null,!1,!1)}),[`rowSpan`,`start`].forEach(e=>{u[e]=new l(e,o,!1,e.toLowerCase(),null,!1,!1)});var d=/[\-\:]([a-z])/g,f=e=>e[1].toUpperCase();`accent-height.alignment-baseline.arabic-form.baseline-shift.cap-height.clip-path.clip-rule.color-interpolation.color-interpolation-filters.color-profile.color-rendering.dominant-baseline.enable-background.fill-opacity.fill-rule.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.glyph-name.glyph-orientation-horizontal.glyph-orientation-vertical.horiz-adv-x.horiz-origin-x.image-rendering.letter-spacing.lighting-color.marker-end.marker-mid.marker-start.overline-position.overline-thickness.paint-order.panose-1.pointer-events.rendering-intent.shape-rendering.stop-color.stop-opacity.strikethrough-position.strikethrough-thickness.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.text-anchor.text-decoration.text-rendering.underline-position.underline-thickness.unicode-bidi.unicode-range.units-per-em.v-alphabetic.v-hanging.v-ideographic.v-mathematical.vector-effect.vert-adv-y.vert-origin-x.vert-origin-y.word-spacing.writing-mode.xmlns:xlink.x-height`.split(`.`).forEach(e=>{let t=e.replace(d,f);u[t]=new l(t,n,!1,e,null,!1,!1)}),[`xlink:actuate`,`xlink:arcrole`,`xlink:role`,`xlink:show`,`xlink:title`,`xlink:type`].forEach(e=>{let t=e.replace(d,f);u[t]=new l(t,n,!1,e,`http://www.w3.org/1999/xlink`,!1,!1)}),[`xml:base`,`xml:lang`,`xml:space`].forEach(e=>{let t=e.replace(d,f);u[t]=new l(t,n,!1,e,`http://www.w3.org/XML/1998/namespace`,!1,!1)}),[`tabIndex`,`crossOrigin`].forEach(e=>{u[e]=new l(e,n,!1,e.toLowerCase(),null,!1,!1)});var p=`xlinkHref`;u[p]=new l(`xlinkHref`,n,!1,`xlink:href`,`http://www.w3.org/1999/xlink`,!0,!1),[`src`,`href`,`action`,`formAction`].forEach(e=>{u[e]=new l(e,n,!1,e.toLowerCase(),null,!0,!0)});var{CAMELCASE:m,SAME:h,possibleStandardNames:g}=ET(),_=RegExp.prototype.test.bind(RegExp(`^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`)),v=Object.keys(g).reduce((e,t)=>{let n=g[t];return n===h?e[t]=t:n===m?e[t.toLowerCase()]=t:e[t]=n,e},{});e.BOOLEAN=i,e.BOOLEANISH_STRING=r,e.NUMERIC=o,e.OVERLOADED_BOOLEAN=a,e.POSITIVE_NUMERIC=s,e.RESERVED=t,e.STRING=n,e.getPropertyInfo=c,e.isCustomAttribute=_,e.possibleStandardNames=v})),OT=u((t=>{var n=t&&t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,`__esModule`,{value:!0}),t.returnFirstArg=t.canTextBeChildOfNode=t.ELEMENTS_WITH_NO_TEXT_CHILDREN=t.PRESERVE_CUSTOM_ATTRIBUTES=void 0,t.isCustomComponent=o,t.setStyleProp=c;var r=e(`react`),i=n(Pg()),a=new Set([`annotation-xml`,`color-profile`,`font-face`,`font-face-src`,`font-face-uri`,`font-face-format`,`font-face-name`,`missing-glyph`]);function o(e,t){return e.includes(`-`)?!a.has(e):!!(t&&typeof t.is==`string`)}var s={reactCompat:!0};function c(e,t){if(typeof e==`string`){if(!e.trim()){t.style={};return}try{t.style=(0,i.default)(e,s)}catch{t.style={}}}}t.PRESERVE_CUSTOM_ATTRIBUTES=Number(r.version.split(`.`)[0])>=16,t.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set([`tr`,`tbody`,`thead`,`tfoot`,`colgroup`,`table`,`head`,`html`,`frameset`]),t.canTextBeChildOfNode=e=>!t.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name),t.returnFirstArg=e=>e})),kT=u((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=o;var t=DT(),n=OT(),r=[`checked`,`value`],i=[`input`,`select`,`textarea`],a={reset:!0,submit:!0};function o(e={},o){let c={},l=!!(e.type&&a[e.type]);for(let a in e){let u=e[a];if((0,t.isCustomAttribute)(a)){c[a]=u;continue}let d=a.toLowerCase(),f=s(d);if(f){let e=(0,t.getPropertyInfo)(f);switch(r.includes(f)&&i.includes(o)&&!l&&(f=s(`default`+d)),c[f]=u,e?.type){case t.BOOLEAN:c[f]=!0;break;case t.OVERLOADED_BOOLEAN:u===``&&(c[f]=!0);break}continue}n.PRESERVE_CUSTOM_ATTRIBUTES&&(c[a]=u)}return(0,n.setStyleProp)(e.style,c),c}function s(e){return t.possibleStandardNames[e]}}));function AT(e){return e.type===$.Tag||e.type===$.Script||e.type===$.Style}var $,jT=i((()=>{(function(e){e.Root=`root`,e.Text=`text`,e.Directive=`directive`,e.Comment=`comment`,e.Script=`script`,e.Style=`style`,e.Tag=`tag`,e.CDATA=`cdata`,e.Doctype=`doctype`})($||($={})),$.Root,$.Text,$.Directive,$.Comment,$.Script,$.Style,$.Tag,$.CDATA,$.Doctype}));function MT(e){return AT(e)}function NT(e){return e.type===$.CDATA}function PT(e){return e.type===$.Text}function FT(e){return e.type===$.Comment}function IT(e){return e.type===$.Directive}function LT(e){return e.type===$.Root}function RT(e){return Object.hasOwn(e,`children`)}function zT(e,t=!1){let n;if(PT(e))n=new UT(e.data);else if(FT(e))n=new WT(e.data);else if(MT(e)){let r=t?BT(e.children):[],i=new YT(e.name,{...e.attribs},r);for(let e of r)e.parent=i;e.namespace!=null&&(i.namespace=e.namespace),e[`x-attribsNamespace`]&&(i[`x-attribsNamespace`]={...e[`x-attribsNamespace`]}),e[`x-attribsPrefix`]&&(i[`x-attribsPrefix`]={...e[`x-attribsPrefix`]}),n=i}else if(NT(e)){let r=t?BT(e.children):[],i=new qT(r);for(let e of r)e.parent=i;n=i}else if(LT(e)){let r=t?BT(e.children):[],i=new JT(r);for(let e of r)e.parent=i;e[`x-mode`]&&(i[`x-mode`]=e[`x-mode`]),n=i}else if(IT(e)){let t=new GT(e.name,e.data);e[`x-name`]!=null&&(t[`x-name`]=e[`x-name`],t[`x-publicId`]=e[`x-publicId`],t[`x-systemId`]=e[`x-systemId`]),n=t}else throw Error(`Not implemented yet: ${e.type}`);return n.startIndex=e.startIndex,n.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function BT(e){let t=e.map(e=>zT(e,!0));for(let e=1;e<t.length;e++)t[e].prev=t[e-1],t[e-1].next=t[e];return t}var VT,HT,UT,WT,GT,KT,qT,JT,YT,XT=i((()=>{jT(),wt(),VT=class{constructor(){P(this,`parent`,null),P(this,`prev`,null),P(this,`next`,null),P(this,`startIndex`,null),P(this,`endIndex`,null)}get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return zT(this,e)}},HT=class extends VT{constructor(e){super(),P(this,`data`,void 0),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}},UT=class extends HT{constructor(...e){super(...e),P(this,`type`,$.Text)}get nodeType(){return 3}},WT=class extends HT{constructor(...e){super(...e),P(this,`type`,$.Comment)}get nodeType(){return 8}},GT=class extends HT{constructor(e,t){super(t),P(this,`type`,$.Directive),P(this,`name`,void 0),P(this,`x-name`,void 0),P(this,`x-publicId`,void 0),P(this,`x-systemId`,void 0),this.name=e}get nodeType(){return 1}},KT=class extends VT{constructor(e){super(),P(this,`children`,void 0),this.children=e}get firstChild(){return this.children[0]??null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}},qT=class extends KT{constructor(...e){super(...e),P(this,`type`,$.CDATA)}get nodeType(){return 4}},JT=class extends KT{constructor(...e){super(...e),P(this,`type`,$.Root)}get nodeType(){return 9}},YT=class extends KT{constructor(e,t,n=[],r=e===`script`?$.Script:e===`style`?$.Style:$.Tag){super(n),P(this,`name`,void 0),P(this,`attribs`,void 0),P(this,`type`,void 0),P(this,`namespace`,void 0),P(this,`x-attribsNamespace`,void 0),P(this,`x-attribsPrefix`,void 0),this.name=e,this.attribs=t,this.type=r}get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map(e=>({name:e,value:this.attribs[e],namespace:this[`x-attribsNamespace`]?.[e],prefix:this[`x-attribsPrefix`]?.[e]}))}}})),ZT=t({CDATA:()=>qT,Comment:()=>WT,DataNode:()=>HT,Document:()=>JT,DomHandler:()=>$T,Element:()=>YT,Node:()=>VT,NodeWithChildren:()=>KT,ProcessingInstruction:()=>GT,Text:()=>UT,cloneNode:()=>zT,default:()=>$T,hasChildren:()=>RT,isCDATA:()=>NT,isComment:()=>FT,isDirective:()=>IT,isDocument:()=>LT,isTag:()=>MT,isText:()=>PT}),QT,$T,eE=i((()=>{jT(),XT(),wt(),XT(),QT={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},$T=class{constructor(e,t,n){P(this,`dom`,[]),P(this,`root`,new JT(this.dom)),P(this,`callback`,void 0),P(this,`options`,void 0),P(this,`elementCB`,void 0),P(this,`done`,!1),P(this,`tagStack`,[this.root]),P(this,`lastNode`,null),P(this,`parser`,null),typeof t==`function`&&(n=t,t=QT),typeof e==`object`&&(t=e,e=void 0),this.callback=e??null,this.options=t??QT,this.elementCB=n??null}onparserinit(e){this.parser=e}onreset(){this.dom=[],this.root=new JT(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(e){this.handleCallback(e)}onclosetag(){this.lastNode=null;let e=this.tagStack.pop();this.options.withEndIndices&&this.parser&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)}onopentag(e,t){let n=new YT(e,t,void 0,this.options.xmlMode?$.Tag:void 0);this.addNode(n),this.tagStack.push(n)}ontext(e){let{lastNode:t}=this;if(t&&t.type===$.Text)t.data+=e,this.options.withEndIndices&&this.parser&&(t.endIndex=this.parser.endIndex);else{let t=new UT(e);this.addNode(t),this.lastNode=t}}oncomment(e){if(this.lastNode&&this.lastNode.type===$.Comment){this.lastNode.data+=e;return}let t=new WT(e);this.addNode(t),this.lastNode=t}oncommentend(){this.lastNode=null}oncdatastart(){let e=new UT(``),t=new qT([e]);this.addNode(t),e.parent=t,this.lastNode=e}oncdataend(){this.lastNode=null}onprocessinginstruction(e,t){let n=new GT(e,t);this.addNode(n)}handleCallback(e){if(typeof this.callback==`function`)this.callback(e,this.dom);else if(e)throw e}addNode(e){let t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&this.parser&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&this.parser&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null}}})),tE=u((t=>{var r=t&&t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,`__esModule`,{value:!0}),t.default=l;var i=(eE(),n(ZT)),a=e(`react`),o=r(kT()),s=OT(),c={cloneElement:a.cloneElement,createElement:a.createElement,isValidElement:a.isValidElement};function l(e,t={}){let n=[],r=typeof t.replace==`function`,i=t.transform??s.returnFirstArg,{cloneElement:a,createElement:f,isValidElement:p}=t.library??c,m=e.length;u(e);for(let c=0;c<m;c++){let u=e[c];if(r){let e=t.replace?.call(t,u,c);if(p(e)){m>1&&(e=a(e,{key:e.key??c})),n.push(i(e,u,c));continue}}if(u.type===`text`){let e=!u.data.trim().length;if(e&&u.parent&&!(0,s.canTextBeChildOfNode)(u.parent)||t.trim&&e)continue;n.push(i(u.data,u,c));continue}let h=u,g={};d(h)?((0,s.setStyleProp)(h.attribs.style,h.attribs),g=h.attribs):h.attribs&&(g=(0,o.default)(h.attribs,h.name));let _;switch(u.type){case`script`:case`style`:u.children[0]&&(g.dangerouslySetInnerHTML={__html:u.children[0].data});break;case`tag`:u.name===`textarea`&&u.children[0]?g.defaultValue=u.children[0].data:u.children?.length&&(_=l(u.children,t));break;default:continue}m>1&&(g.key=c),n.push(i(f(u.name,g,_),u,c))}return n.length===1?n[0]:n}function u(e){for(let t of e)(t.type===`tag`||t.type===`script`||t.type===`style`)&&(Object.setPrototypeOf(t,i.Element.prototype),u(t.children))}function d(e){return s.PRESERVE_CUSTOM_ATTRIBUTES&&e.type===`tag`&&(0,s.isCustomComponent)(e.name,e.attribs)}})),nE=s(u((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.htmlToDOM=e.domToReact=e.attributesToProps=e.Text=e.ProcessingInstruction=e.Element=e.Comment=void 0,e.default=s;var r=t(TT());e.htmlToDOM=r.default,e.attributesToProps=t(kT()).default;var i=t(tE());e.domToReact=i.default;var a=(eE(),n(ZT));Object.defineProperty(e,`Comment`,{enumerable:!0,get:function(){return a.Comment}}),Object.defineProperty(e,`Element`,{enumerable:!0,get:function(){return a.Element}}),Object.defineProperty(e,`ProcessingInstruction`,{enumerable:!0,get:function(){return a.ProcessingInstruction}}),Object.defineProperty(e,`Text`,{enumerable:!0,get:function(){return a.Text}});var o={lowerCaseAttributeNames:!1};function s(e,t){if(typeof e!=`string`)throw TypeError(`First argument must be a string`);if(!e)return[];let n=Object.assign(Object.assign({},t?.htmlparser2??o),{trustedTypePolicy:t?.trustedTypePolicy});return(0,i.default)((0,r.default)(e,n),t)}}))(),1),rE=nE.default.default||nE.default;function iE({entries:e}){let t=a(`article`),[n,r]=S(!1),i=(e,t)=>{e.preventDefault();let n=e.currentTarget.getRootNode(),r=n instanceof ShadowRoot||n instanceof Document?n:document,i=`querySelector`in r?r.querySelector(`[id="${CSS.escape(t)}"]`):null;if(!i)return;let a=i.closest(`[data-slot='scroll-area-viewport']`);if(!a){let e=i.parentElement;for(;e;){let t=getComputedStyle(e);if(/(auto|scroll|overlay)/.test(t.overflowY)){a=e;break}e=e.parentElement}}if(a){let e=i.getBoundingClientRect(),t=a.getBoundingClientRect();a.scrollTo({top:a.scrollTop+e.top-t.top-16,behavior:`smooth`})}else i.scrollIntoView({behavior:`smooth`,block:`start`})};return E(`nav`,{"aria-label":t(`tableOfContents`),className:c(`wx-toc mt-0 overflow-hidden rounded-xl border border-wx-border bg-wx-bg`,`[&_a]:no-underline [&_a]:text-inherit [&_a:hover]:opacity-100`,`[&_ul]:m-0 [&_ul]:list-none [&_ul]:p-0`,`[&_li]:m-0`),children:[E(`button`,{type:`button`,onClick:()=>r(e=>!e),"aria-expanded":n,className:c(`flex w-full items-center justify-between gap-3 px-4 py-3`,`text-left text-sm font-medium text-wx-fg`,`transition-colors hover:bg-wx-bg-elevated/40`),children:[T(`span`,{children:t(`tableOfContents`)}),T(im,{className:c(`h-4 w-4 shrink-0 text-wx-fg-subtle transition-transform duration-200`,n&&`rotate-180`),"aria-hidden":`true`})]}),T(`div`,{className:c(`grid transition-[grid-template-rows] duration-200 ease-out`,n?`grid-rows-[1fr]`:`grid-rows-[0fr]`),"aria-hidden":!n,children:T(`div`,{className:`min-h-0 overflow-hidden`,children:T(`div`,{className:`border-t border-wx-border/70 px-2 py-2`,children:T(`div`,{className:`flex flex-col`,children:e.map(e=>{let t=e.level===2?16:e.level===3?32:0;return T(`button`,{type:`button`,onClick:t=>i(t,e.id),className:c(`flex h-8 items-center truncate rounded-md pr-2 text-left text-sm text-wx-fg`,`transition-colors hover:bg-wx-bg-elevated/50`),style:{paddingLeft:12+t},children:T(`span`,{className:`truncate`,children:e.text})},e.id)})})})})})]})}function aE({summary:e,body:t,defaultOpen:n}){let[r,i]=S(n);return E(`div`,{className:`my-2 overflow-hidden rounded-lg border border-wx-border`,children:[E(`button`,{type:`button`,onClick:()=>i(e=>!e),"aria-expanded":r,className:c(`flex w-full items-center justify-between gap-3 px-4 py-3`,`text-left text-sm font-semibold text-wx-fg`,`transition-colors hover:bg-wx-bg-elevated/50`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-wx-primary/30`),children:[T(`span`,{className:`min-w-0 flex-1`,children:e}),T(im,{className:c(`h-4 w-4 shrink-0 text-wx-fg-subtle transition-transform`,r&&`rotate-180`),"aria-hidden":`true`})]}),r&&T(`div`,{className:`border-t border-wx-border px-4 py-3 text-sm leading-relaxed text-wx-fg [&>:first-child]:mt-0 [&>:last-child]:mb-0`,children:t})]})}var oE=(e,t)=>{let n=e.name===`details`,r=e.name===`div`&&e.attribs?.[`data-type`]===`details`;if(!n&&!r)return;let i=r?(e.children??[]).flatMap(e=>e instanceof nE.Element&&e.name===`div`&&!e.attribs?.[`data-type`]?e.children??[]:[e]):e.children??[],a=i.find(e=>e instanceof nE.Element&&e.name===`summary`),o=i.filter(e=>e!==a&&!(e instanceof nE.Element&&e.name===`button`)),s=o.find(e=>e instanceof nE.Element&&e.name===`div`&&(e.attribs?.[`data-type`]===`detailsContent`||e.attribs?.[`data-type`]===`details-content`)),c=s?s.children??[]:o,l=a?(0,nE.domToReact)(a.children,t.options):null,u=T(w,{children:(0,nE.domToReact)(c,t.options)});return T(aE,{defaultOpen:e.attribs?.open!==void 0||e.attribs?.[`data-open`]===`true`,summary:l,body:u})},sE={card:`border-wx-border bg-wx-bg-elevated/60`,callout:`border-wx-primary/30 bg-wx-primary/5`,note:`border-wx-border bg-wx-bg-elevated/60`,tip:`border-wx-success/30 bg-wx-success/5`,warning:`border-wx-warning/30 bg-wx-warning/5`,danger:`border-wx-danger/30 bg-wx-danger/5`},cE=(e,t)=>{let n=sE[e.name];if(n)return T(`div`,{className:`my-4 rounded-wx-md border px-4 py-3 ${n}`,"data-custom-block":e.name,children:(0,nE.domToReact)(e.children??[],t.options)})};function lE(e,t){let n=e.normalize(`NFD`).replace(/[̀-ͯ]/g,``).toLowerCase().replace(/[^a-z0-9]+/g,`-`).replace(/^-+|-+$/g,``)||`section`,r=n,i=2;for(;t.has(r);)r=`${n}-${i}`,i+=1;return t.add(r),r}function uE(e){let t=``;for(let n of e.children??[])n.type===`text`?t+=n.data??``:n instanceof nE.Element&&(t+=uE(n));return t}var dE=(e,t)=>{if(e.name!==`h1`&&e.name!==`h2`&&e.name!==`h3`)return;let n=Number(e.name.slice(1)),r=uE(e).trim();if(!r)return;let i=lE(r,t.seenIds);return t.entries.push({id:i,text:r,level:n}),h(e.name,{id:i},(0,nE.domToReact)(e.children??[],t.options))},fE=(e,t)=>{if(e.name!==`img`)return;let n=e.attribs??{},r=n[`data-align`]??`center`,i=n.width||n.style?.match(/width:\s*([^;]+)/i)?.[1],a=r===`left`?`0`:`auto`,o=r===`right`?`0`:`auto`,s=n.src??``,c=n.alt??``,l={...i?{width:i}:{},marginLeft:a,marginRight:o,display:`block`};if(t.images&&t.onImageClick){let e=t.images.length;t.images.push({url:s,mimetype:`image/jpeg`,alt:c});let n=t.onImageClick;return T(`button`,{type:`button`,onClick:()=>n(e),className:`my-3 block w-full cursor-zoom-in border-0 bg-transparent p-0`,"aria-label":c||t.openImageLabel,children:T(`img`,{src:s,alt:c,style:l,className:`max-w-full`})})}return T(`img`,{src:s,alt:c,style:l,className:`my-3 max-w-full`})},pE=(e,t)=>{if(e.name!==`a`)return;let n=e.attribs?.href??``;return T(`a`,{href:n,target:`_blank`,rel:`noopener noreferrer`,onClick:()=>t.onLinkClick?.(n),className:`text-wx-primary underline underline-offset-2 transition-opacity hover:opacity-70`,children:(0,nE.domToReact)(e.children??[],t.options)})},mE=(e,t)=>{if(e.name===`table`)return T(`div`,{className:c(`my-3 overflow-x-auto`,`[scrollbar-width:thin] [scrollbar-color:var(--color-wx-fg-subtle)_transparent]`,`[&::-webkit-scrollbar]:h-2`,`[&::-webkit-scrollbar-track]:bg-transparent`,`[&::-webkit-scrollbar-thumb]:rounded-full`,`[&::-webkit-scrollbar-thumb]:bg-wx-fg-subtle/40`,`[&::-webkit-scrollbar-thumb:hover]:bg-wx-fg-subtle/60`),children:T(`table`,{children:(0,nE.domToReact)(e.children??[],t.options)})})};function hE({tabs:e}){let t=a(`article`),[n,r]=S(0);return e.length===0?null:E(`div`,{className:`my-4`,children:[T(`div`,{role:`tablist`,className:`relative flex items-center gap-1 border-b border-wx-border`,children:e.map((e,i)=>{let a=i===n,o=e.label||t(`tabFallback`,{n:i+1});return E(`button`,{type:`button`,role:`tab`,"aria-selected":a,tabIndex:a?0:-1,onClick:()=>r(i),className:c(`group relative inline-flex items-center justify-center px-3 py-2 text-sm`,`transition-colors focus-visible:outline-none`,a?`font-semibold text-wx-fg`:`font-medium text-wx-fg-muted hover:text-wx-fg`),children:[o,T(`span`,{"aria-hidden":`true`,className:c(`pointer-events-none absolute inset-x-2 bottom-0 h-[2px] origin-left rounded-full bg-wx-primary`,`transition-transform duration-200 ease-out`,a?`scale-x-100`:`scale-x-0`)})]},i)})}),T(`div`,{className:`mt-3 text-sm leading-relaxed text-wx-fg [&>:first-child]:mt-0 [&>:last-child]:mb-0`,children:e[n]?.body})]})}var gE=[dE,(e,t)=>{if(e.name===`div`&&(e.attribs?.[`data-type`]===`tabs`||e.attribs?.[`data-type`]===`tabs`))return T(hE,{tabs:(e.children??[]).filter(e=>e instanceof nE.Element&&e.name===`div`&&e.attribs?.[`data-type`]===`tab`).map(e=>{let n=e.children?.find(e=>e instanceof nE.Element&&e.name===`div`&&`data-tab-label`in(e.attribs??{})),r=(e.children??[]).filter(e=>e!==n);return{label:n?uE(n).trim():``,body:T(w,{children:(0,nE.domToReact)(r,t.options)})}})})},oE,cE,mE,fE,pE];function _E(e,t,n,r,i,a){let o={},s={options:o,entries:e,seenIds:t,images:n,onImageClick:r,onLinkClick:i,openImageLabel:a};return o.replace=e=>{if(e instanceof nE.Element){for(let t of Object.keys(e.attribs))t.startsWith(`data-wx-`)&&delete e.attribs[t];for(let t of gE){let n=t(e,s);if(n!==void 0)return n}}},o}function vE({html:e,className:t,onLinkClick:n}){let[r,i]=S(null),o=a(`messages`)(`openImage`),{trackLinkClick:s}=Ah(),c=g(e=>s({url:e,targetType:`EXTERNAL`}),[s]),l=n??c,{parsed:u,entries:d,images:f}=b(()=>{let t=[],n=new Set,r=[];return{parsed:rE(e,_E(t,n,r,i,l,o)),entries:t,images:r}},[e,l,o]);return E(`div`,{className:t,children:[d.length>=3&&T(iE,{entries:d}),u,f.length>0&&T(Uh,{items:f,initialIndex:r??0,open:r!==null,onClose:()=>i(null)})]})}function yE(e){return rE(e,_E([],new Set))}var bE=[{value:`en`,label:`English`},{value:`en-US`,label:`English (US)`},{value:`en-GB`,label:`English (UK)`},{value:`uk`,label:`Українська`},{value:`de`,label:`Deutsch`},{value:`es`,label:`Español`},{value:`es-MX`,label:`Español (México)`},{value:`fr`,label:`Français`},{value:`it`,label:`Italiano`},{value:`pt`,label:`Português`},{value:`pt-BR`,label:`Português (Brasil)`},{value:`nl`,label:`Nederlands`},{value:`pl`,label:`Polski`},{value:`tr`,label:`Türkçe`},{value:`cs`,label:`Čeština`},{value:`sk`,label:`Slovenčina`},{value:`ro`,label:`Română`},{value:`hu`,label:`Magyar`},{value:`el`,label:`Ελληνικά`},{value:`sv`,label:`Svenska`},{value:`da`,label:`Dansk`},{value:`no`,label:`Norsk`},{value:`fi`,label:`Suomi`},{value:`ar`,label:`العربية`},{value:`he`,label:`עברית`},{value:`hi`,label:`हिन्दी`},{value:`th`,label:`ไทย`},{value:`vi`,label:`Tiếng Việt`},{value:`id`,label:`Bahasa Indonesia`},{value:`ja`,label:`日本語`},{value:`ko`,label:`한국어`},{value:`zh`,label:`中文(简体)`},{value:`zh-TW`,label:`中文(繁體)`}];function xE(e){let t=bE.find(t=>t.value===e);if(t)return t.label;let n=e.split(`-`)[0].toLowerCase(),r=bE.find(e=>e.value===n);return r?r.label:n.toUpperCase()}export{cf as $,Pl as $t,op as A,id as At,Uf as B,Ou as Bt,Wp as C,_d as Ct,vp as D,ud as Dt,pp as E,dd as Et,Bf as F,Qu as Ft,Rf as G,Eu as Gt,kf as H,Ru as Ht,Kf as I,Vu as It,Df as J,Ql as Jt,Af as K,Tu as Kt,Vf as L,Gu as Lt,ip as M,$u as Mt,Hf as N,td as Nt,_p as O,cd as Ot,Wf as P,Zu as Pt,Cf as Q,jl as Qt,Jf as R,Ju as Rt,Kp as S,Ed as St,mp as T,pd as Tt,Lf as U,Lu as Ut,Gf as V,ku as Vt,Mf as W,Du as Wt,wf as X,$l as Xt,Of as Y,eu as Yt,Sf as Z,nu as Zt,sm as _,qd as _t,bS as a,we as an,Bd as at,rm as b,zd as bt,Ah as c,ne as cn,Pd as ct,Ch as d,Ad as dt,Ol as en,yf as et,Nm as f,bd as ft,dm as g,Yd as gt,fm as h,Zd as ht,wT as i,za as in,Ld as it,sp as j,ed as jt,dp as k,od as kt,Eh as l,A as ln,Gd as lt,pm as m,Id as mt,vE as n,G as nn,nf as nt,Uh as o,j as on,Rd as ot,cm as p,Sd as pt,Nf as q,ou as qt,yE as r,Ba as rn,ef as rt,Mh as s,O as sn,Od as st,xE as t,ll as tn,rf as tt,Th as u,wd as ut,om as v,Md as vt,Sp as w,hd as wt,qp as x,Vd as xt,im as y,Ud as yt,Yf as z,qu as zt};
|
|
292
|
-
//# sourceMappingURL=widget-react-
|
|
290
|
+
`))}function c(e,t,n,r){let i=n.enter(`tableCell`),o=n.enter(`phrasing`),s=n.containerPhrasing(e,{...r,before:a,after:a});return o(),i(),s}function l(e,t){return wC(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function u(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`table`);for(;++i<r.length;)a[i]=d(r[i],t,n);return o(),a}function d(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`tableRow`);for(;++i<r.length;)a[i]=c(r[i],e,t,n);return o(),a}function f(e,t,n){let r=xw.inlineCode(e,t,n);return n.stack.includes(`tableCell`)&&(r=r.replace(/\|/g,`\\$&`)),r}}function jw(){return{exit:{taskListCheckValueChecked:Nw,taskListCheckValueUnchecked:Nw,paragraph:Pw}}}function Mw(){return{unsafe:[{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{listItem:Fw}}}function Nw(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type===`taskListCheckValueChecked`}function Pw(e){let t=this.stack[this.stack.length-2];if(t&&t.type===`listItem`&&typeof t.checked==`boolean`){let e=this.stack[this.stack.length-1];e.type;let n=e.children[0];if(n&&n.type===`text`){let r=t.children,i=-1,a;for(;++i<r.length;){let e=r[i];if(e.type===`paragraph`){a=e;break}}a===e&&(n.value=n.value.slice(1),n.value.length===0?e.children.shift():e.position&&n.position&&typeof n.position.start.offset==`number`&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function Fw(e,t,n,r){let i=e.children[0],a=typeof e.checked==`boolean`&&i&&i.type===`paragraph`,o=`[`+(e.checked?`x`:` `)+`] `,s=n.createTracker(r);a&&s.move(o);let c=xw.listItem(e,t,n,{...r,...s.current()});return a&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),c;function l(e){return e+o}}function Iw(){return[HS(),fC(),_C(),Sw(),jw()]}function Lw(e){return{extensions:[US(),pC(e),vC(),Aw(e),Mw()]}}var Rw={tokenize:Qw,partial:!0},zw={tokenize:$w,partial:!0},Bw={tokenize:eT,partial:!0},Vw={tokenize:tT,partial:!0},Hw={tokenize:nT,partial:!0},Uw={name:`wwwAutolink`,tokenize:Xw,previous:rT},Ww={name:`protocolAutolink`,tokenize:Zw,previous:iT},Gw={name:`emailAutolink`,tokenize:Yw,previous:aT},Kw={};function qw(){return{text:Kw}}for(var Jw=48;Jw<123;)Kw[Jw]=Gw,Jw++,Jw===58?Jw=65:Jw===91&&(Jw=97);Kw[43]=Gw,Kw[45]=Gw,Kw[46]=Gw,Kw[95]=Gw,Kw[72]=[Gw,Ww],Kw[104]=[Gw,Ww],Kw[87]=[Gw,Uw],Kw[119]=[Gw,Uw];function Yw(e,t,n){let r=this,i,a;return o;function o(t){return!oT(t)||!aT.call(r,r.previous)||sT(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkEmail`),s(t))}function s(t){return oT(t)?(e.consume(t),s):t===64?(e.consume(t),c):n(t)}function c(t){return t===46?e.check(Hw,u,l)(t):t===45||t===95||K_(t)?(a=!0,e.consume(t),c):u(t)}function l(t){return e.consume(t),i=!0,c}function u(o){return a&&i&&G_(r.previous)?(e.exit(`literalAutolinkEmail`),e.exit(`literalAutolink`),t(o)):n(o)}}function Xw(e,t,n){let r=this;return i;function i(t){return t!==87&&t!==119||!rT.call(r,r.previous)||sT(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkWww`),e.check(Rw,e.attempt(zw,e.attempt(Bw,a),n),n)(t))}function a(n){return e.exit(`literalAutolinkWww`),e.exit(`literalAutolink`),t(n)}}function Zw(e,t,n){let r=this,i=``,a=!1;return o;function o(t){return(t===72||t===104)&&iT.call(r,r.previous)&&!sT(r.events)?(e.enter(`literalAutolink`),e.enter(`literalAutolinkHttp`),i+=String.fromCodePoint(t),e.consume(t),s):n(t)}function s(t){if(G_(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),s;if(t===58){let n=i.toLowerCase();if(n===`http`||n===`https`)return e.consume(t),c}return n(t)}function c(t){return t===47?(e.consume(t),a?l:(a=!0,c)):n(t)}function l(t){return t===null||J_(t)||X(t)||$_(t)||Q_(t)?n(t):e.attempt(zw,e.attempt(Bw,u),n)(t)}function u(n){return e.exit(`literalAutolinkHttp`),e.exit(`literalAutolink`),t(n)}}function Qw(e,t,n){let r=0;return i;function i(t){return(t===87||t===119)&&r<3?(r++,e.consume(t),i):t===46&&r===3?(e.consume(t),a):n(t)}function a(e){return e===null?n(e):t(e)}}function $w(e,t,n){let r,i,a;return o;function o(t){return t===46||t===95?e.check(Vw,c,s)(t):t===null||X(t)||$_(t)||t!==45&&Q_(t)?c(t):(a=!0,e.consume(t),o)}function s(t){return t===95?r=!0:(i=r,r=void 0),e.consume(t),o}function c(e){return i||r||!a?n(e):t(e)}}function eT(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(Vw,t,a)(o):o===null||X(o)||$_(o)?t(o):(e.consume(o),i)}function a(t){return t===41&&r++,e.consume(t),i}}function tT(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),a):o===93?(e.consume(o),i):o===60||o===null||X(o)||$_(o)?t(o):n(o)}function i(e){return e===null||e===40||e===91||X(e)||$_(e)?t(e):r(e)}function a(e){return G_(e)?o(e):n(e)}function o(t){return t===59?(e.consume(t),r):G_(t)?(e.consume(t),o):n(t)}}function nT(e,t,n){return r;function r(t){return e.consume(t),i}function i(e){return K_(e)?n(e):t(e)}}function rT(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||X(e)}function iT(e){return!G_(e)}function aT(e){return!(e===47||oT(e))}function oT(e){return e===43||e===45||e===46||e===95||K_(e)}function sT(e){let t=e.length,n=!1;for(;t--;){let 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}var cT={tokenize:gT,partial:!0};function lT(){return{document:{91:{name:`gfmFootnoteDefinition`,tokenize:pT,continuation:{tokenize:mT},exit:hT}},text:{91:{name:`gfmFootnoteCall`,tokenize:fT},93:{name:`gfmPotentialFootnoteCall`,add:`after`,tokenize:uT,resolveTo:dT}}}}function uT(e,t,n){let r=this,i=r.events.length,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o;for(;i--;){let e=r.events[i][1];if(e.type===`labelImage`){o=e;break}if(e.type===`gfmFootnoteCall`||e.type===`labelLink`||e.type===`label`||e.type===`image`||e.type===`link`)break}return s;function s(i){if(!o||!o._balanced)return n(i);let s=W_(r.sliceSerialize({start:o.end,end:r.now()}));return s.codePointAt(0)!==94||!a.includes(s.slice(1))?n(i):(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(i),e.exit(`gfmFootnoteCallLabelMarker`),t(i))}}function dT(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`;let 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++;let 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 fT(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a=0,o;return s;function s(t){return e.enter(`gfmFootnoteCall`),e.enter(`gfmFootnoteCallLabelMarker`),e.consume(t),e.exit(`gfmFootnoteCallLabelMarker`),c}function c(t){return t===94?(e.enter(`gfmFootnoteCallMarker`),e.consume(t),e.exit(`gfmFootnoteCallMarker`),e.enter(`gfmFootnoteCallString`),e.enter(`chunkString`).contentType=`string`,l):n(t)}function l(s){if(a>999||s===93&&!o||s===null||s===91||X(s))return n(s);if(s===93){e.exit(`chunkString`);let a=e.exit(`gfmFootnoteCallString`);return i.includes(W_(r.sliceSerialize(a)))?(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(s),e.exit(`gfmFootnoteCallLabelMarker`),e.exit(`gfmFootnoteCall`),t):n(s)}return X(s)||(o=!0),a++,e.consume(s),s===92?u:l}function u(t){return t===91||t===92||t===93?(e.consume(t),a++,l):l(t)}}function pT(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a,o=0,s;return c;function c(t){return e.enter(`gfmFootnoteDefinition`)._container=!0,e.enter(`gfmFootnoteDefinitionLabel`),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),l}function l(t){return t===94?(e.enter(`gfmFootnoteDefinitionMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionMarker`),e.enter(`gfmFootnoteDefinitionLabelString`),e.enter(`chunkString`).contentType=`string`,u):n(t)}function u(t){if(o>999||t===93&&!s||t===null||t===91||X(t))return n(t);if(t===93){e.exit(`chunkString`);let n=e.exit(`gfmFootnoteDefinitionLabelString`);return a=W_(r.sliceSerialize(n)),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),e.exit(`gfmFootnoteDefinitionLabel`),f}return X(t)||(s=!0),o++,e.consume(t),t===92?d:u}function d(t){return t===91||t===92||t===93?(e.consume(t),o++,u):u(t)}function f(t){return t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),i.includes(a)||i.push(a),Q(e,p,`gfmFootnoteDefinitionWhitespace`)):n(t)}function p(e){return t(e)}}function mT(e,t,n){return e.check(gv,t,e.attempt(cT,t,n))}function hT(e){e.exit(`gfmFootnoteDefinition`)}function gT(e,t,n){let r=this;return Q(e,i,`gfmFootnoteDefinitionIndent`,5);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`gfmFootnoteDefinitionIndent`&&i[2].sliceSerialize(i[1],!0).length===4?t(e):n(e)}}function _T(e){let t=(e||{}).singleTilde,n={name:`strikethrough`,tokenize:i,resolveAll:r};return t??(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(e,t){let n=-1;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`strikethroughSequenceTemporary`&&e[n][1]._close){let r=n;for(;r--;)if(e[r][0]===`exit`&&e[r][1].type===`strikethroughSequenceTemporary`&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type=`strikethroughSequence`,e[r][1].type=`strikethroughSequence`;let i={type:`strikethrough`,start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},a={type:`strikethroughText`,start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[[`enter`,i,t],[`enter`,e[r][1],t],[`exit`,e[r][1],t],[`enter`,a,t]],s=t.parser.constructs.insideSpan.null;s&&L_(o,o.length,0,lv(s,e.slice(r+1,n),t)),L_(o,o.length,0,[[`exit`,a,t],[`enter`,e[n][1],t],[`exit`,e[n][1],t],[`exit`,i,t]]),L_(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`strikethroughSequenceTemporary`&&(e[n][1].type=`data`);return e}function i(e,n,r){let i=this.previous,a=this.events,o=0;return s;function s(t){return i===126&&a[a.length-1][1].type!==`characterEscape`?r(t):(e.enter(`strikethroughSequenceTemporary`),c(t))}function c(a){let s=cv(i);if(a===126)return o>1?r(a):(e.consume(a),o++,c);if(o<2&&!t)return r(a);let l=e.exit(`strikethroughSequenceTemporary`),u=cv(a);return l._open=!u||u===2&&!!s,l._close=!s||s===2&&!!u,n(a)}}}var vT=class{constructor(){this.map=[]}add(e,t,n){yT(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),this.map.length===0)return;let t=this.map.length,n=[];for(;t>0;)--t,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0}};function yT(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function bT(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if(i[0]===`enter`)i[1].type===`tableContent`&&r.push(e[t+1][1].type===`tableDelimiterMarker`?`left`:`none`);else if(i[1].type===`tableContent`){if(e[t-1][1].type===`tableDelimiterMarker`){let e=r.length-1;r[e]=r[e]===`left`?`center`:`right`}}else if(i[1].type===`tableDelimiterRow`)break}else i[0]===`enter`&&i[1].type===`tableDelimiterRow`&&(n=!0);t+=1}return r}function xT(){return{flow:{null:{name:`table`,tokenize:ST,resolveAll:CT}}}}function ST(e,t,n){let r=this,i=0,a=0,o;return s;function s(e){let t=r.events.length-1;for(;t>-1;){let e=r.events[t][1].type;if(e===`lineEnding`||e===`linePrefix`)t--;else break}let i=t>-1?r.events[t][1].type:null,a=i===`tableHead`||i===`tableRow`?S:c;return a===S&&r.parser.lazy[r.now().line]?n(e):a(e)}function c(t){return e.enter(`tableHead`),e.enter(`tableRow`),l(t)}function l(e){return e===124?u(e):(o=!0,a+=1,u(e))}function u(t){return t===null?n(t):Y(t)?a>1?(a=0,r.interrupt=!0,e.exit(`tableRow`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),p):n(t):Z(t)?Q(e,u,`whitespace`)(t):(a+=1,o&&(o=!1,i+=1),t===124?(e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),o=!0,u):(e.enter(`data`),d(t)))}function d(t){return t===null||t===124||X(t)?(e.exit(`data`),u(t)):(e.consume(t),t===92?f:d)}function f(t){return t===92||t===124?(e.consume(t),d):d(t)}function p(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter(`tableDelimiterRow`),o=!1,Z(t)?Q(e,m,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):m(t))}function m(t){return t===45||t===58?g(t):t===124?(o=!0,e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),h):x(t)}function h(t){return Z(t)?Q(e,g,`whitespace`)(t):g(t)}function g(t){return t===58?(a+=1,o=!0,e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),_):t===45?(a+=1,_(t)):t===null||Y(t)?b(t):x(t)}function _(t){return t===45?(e.enter(`tableDelimiterFiller`),v(t)):x(t)}function v(t){return t===45?(e.consume(t),v):t===58?(o=!0,e.exit(`tableDelimiterFiller`),e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),y):(e.exit(`tableDelimiterFiller`),y(t))}function y(t){return Z(t)?Q(e,b,`whitespace`)(t):b(t)}function b(n){return n===124?m(n):n===null||Y(n)?!o||i!==a?x(n):(e.exit(`tableDelimiterRow`),e.exit(`tableHead`),t(n)):x(n)}function x(e){return n(e)}function S(t){return e.enter(`tableRow`),C(t)}function C(n){return n===124?(e.enter(`tableCellDivider`),e.consume(n),e.exit(`tableCellDivider`),C):n===null||Y(n)?(e.exit(`tableRow`),t(n)):Z(n)?Q(e,C,`whitespace`)(n):(e.enter(`data`),w(n))}function w(t){return t===null||t===124||X(t)?(e.exit(`data`),C(t)):(e.consume(t),t===92?T:w)}function T(t){return t===92||t===124?(e.consume(t),w):w(t)}}function CT(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],s=!1,c=0,l,u,d,f=new vT;for(;++n<e.length;){let p=e[n],m=p[1];p[0]===`enter`?m.type===`tableHead`?(s=!1,c!==0&&(TT(f,t,c,l,u),u=void 0,c=0),l={type:`table`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,l,t]])):m.type===`tableRow`||m.type===`tableDelimiterRow`?(r=!0,d=void 0,a=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,u={type:`tableBody`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,u,t]])),i=m.type===`tableDelimiterRow`?2:u?3:1):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)?(r=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],d=wT(f,t,a,i,void 0,d),a=[0,0,0,0]),o[2]=n)):m.type===`tableCellDivider`&&(r?r=!1:(a[1]!==0&&(o[0]=o[1],d=wT(f,t,a,i,void 0,d)),a=o,o=[a[1],n,0,0])):m.type===`tableHead`?(s=!0,c=n):m.type===`tableRow`||m.type===`tableDelimiterRow`?(c=n,a[1]===0?o[1]!==0&&(d=wT(f,t,o,i,n,d)):(o[0]=o[1],d=wT(f,t,a,i,n,d)),i=0):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)&&(o[3]=n)}for(c!==0&&TT(f,t,c,l,u),f.consume(t.events),n=-1;++n<t.events.length;){let e=t.events[n];e[0]===`enter`&&e[1].type===`table`&&(e[1]._align=bT(t.events,n))}return e}function wT(e,t,n,r,i,a){let o=r===1?`tableHeader`:r===2?`tableDelimiter`:`tableData`;n[0]!==0&&(a.end=Object.assign({},ET(t.events,n[0])),e.add(n[0],0,[[`exit`,a,t]]));let s=ET(t.events,n[1]);if(a={type:o,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[[`enter`,a,t]]),n[2]!==0){let i=ET(t.events,n[2]),a=ET(t.events,n[3]),o={type:`tableContent`,start:Object.assign({},i),end:Object.assign({},a)};if(e.add(n[2],0,[[`enter`,o,t]]),r!==2){let r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type=`chunkText`,r[1].contentType=`text`,n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[[`exit`,o,t]])}return i!==void 0&&(a.end=Object.assign({},ET(t.events,i)),e.add(i,0,[[`exit`,a,t]]),a=void 0),a}function TT(e,t,n,r,i){let a=[],o=ET(t.events,n);i&&(i.end=Object.assign({},o),a.push([`exit`,i,t])),r.end=Object.assign({},o),a.push([`exit`,r,t]),e.add(n+1,0,a)}function ET(e,t){let n=e[t],r=n[0]===`enter`?`start`:`end`;return n[1][r]}var DT={name:`tasklistCheck`,tokenize:kT};function OT(){return{text:{91:DT}}}function kT(e,t,n){let r=this;return i;function i(t){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(t):(e.enter(`taskListCheck`),e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),a)}function a(t){return X(t)?(e.enter(`taskListCheckValueUnchecked`),e.consume(t),e.exit(`taskListCheckValueUnchecked`),o):t===88||t===120?(e.enter(`taskListCheckValueChecked`),e.consume(t),e.exit(`taskListCheckValueChecked`),o):n(t)}function o(t){return t===93?(e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),e.exit(`taskListCheck`),s):n(t)}function s(r){return Y(r)?t(r):Z(r)?e.check({tokenize:AT},t,n)(r):n(r)}}function AT(e,t,n){return Q(e,r,`whitespace`);function r(e){return e===null?n(e):t(e)}}function jT(e){return B_([qw(),lT(),_T(e),xT(),OT()])}var MT={};function NT(e){let t=this,n=e||MT,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(jT(n)),a.push(Iw()),o.push(Lw(n))}var PT=u((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t;(function(e){e.Root=`root`,e.Text=`text`,e.Directive=`directive`,e.Comment=`comment`,e.Script=`script`,e.Style=`style`,e.Tag=`tag`,e.CDATA=`cdata`,e.Doctype=`doctype`})(t||(t={}));function n(e){return e.type===t.Tag||e.type===t.Script||e.type===t.Style}t.Root,t.Text,t.Directive,t.Comment,t.Script,t.Style,t.Tag,t.CDATA,t.Doctype;var r=class{constructor(){P(this,`parent`,null),P(this,`prev`,null),P(this,`next`,null),P(this,`startIndex`,null),P(this,`endIndex`,null)}get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return v(this,e)}},i=class extends r{constructor(e){super(),P(this,`data`,void 0),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}},a=class extends i{constructor(...e){super(...e),P(this,`type`,t.Text)}get nodeType(){return 3}},o=class extends i{constructor(...e){super(...e),P(this,`type`,t.Comment)}get nodeType(){return 8}},s=class extends i{constructor(e,n){super(n),P(this,`type`,t.Directive),P(this,`name`,void 0),P(this,`x-name`,void 0),P(this,`x-publicId`,void 0),P(this,`x-systemId`,void 0),this.name=e}get nodeType(){return 1}},c=class extends r{constructor(e){super(),P(this,`children`,void 0),this.children=e}get firstChild(){return this.children[0]??null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}},l=class extends c{constructor(...e){super(...e),P(this,`type`,t.CDATA)}get nodeType(){return 4}},u=class extends c{constructor(...e){super(...e),P(this,`type`,t.Root)}get nodeType(){return 9}},d=class extends c{constructor(e,n,r=[],i=e===`script`?t.Script:e===`style`?t.Style:t.Tag){super(r),P(this,`name`,void 0),P(this,`attribs`,void 0),P(this,`type`,void 0),P(this,`namespace`,void 0),P(this,`x-attribsNamespace`,void 0),P(this,`x-attribsPrefix`,void 0),this.name=e,this.attribs=n,this.type=i}get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map(e=>({name:e,value:this.attribs[e],namespace:this[`x-attribsNamespace`]?.[e],prefix:this[`x-attribsPrefix`]?.[e]}))}};function f(e){return n(e)}function p(e){return e.type===t.CDATA}function m(e){return e.type===t.Text}function h(e){return e.type===t.Comment}function g(e){return e.type===t.Directive}function _(e){return e.type===t.Root}function v(e,t=!1){let n;if(m(e))n=new a(e.data);else if(h(e))n=new o(e.data);else if(f(e)){let r=t?y(e.children):[],i=new d(e.name,{...e.attribs},r);for(let e of r)e.parent=i;e.namespace!=null&&(i.namespace=e.namespace),e[`x-attribsNamespace`]&&(i[`x-attribsNamespace`]={...e[`x-attribsNamespace`]}),e[`x-attribsPrefix`]&&(i[`x-attribsPrefix`]={...e[`x-attribsPrefix`]}),n=i}else if(p(e)){let r=t?y(e.children):[],i=new l(r);for(let e of r)e.parent=i;n=i}else if(_(e)){let r=t?y(e.children):[],i=new u(r);for(let e of r)e.parent=i;e[`x-mode`]&&(i[`x-mode`]=e[`x-mode`]),n=i}else if(g(e)){let t=new s(e.name,e.data);e[`x-name`]!=null&&(t[`x-name`]=e[`x-name`],t[`x-publicId`]=e[`x-publicId`],t[`x-systemId`]=e[`x-systemId`]),n=t}else throw Error(`Not implemented yet: ${e.type}`);return n.startIndex=e.startIndex,n.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function y(e){let t=e.map(e=>v(e,!0));for(let e=1;e<t.length;e++)t[e].prev=t[e-1],t[e-1].next=t[e];return t}var b=`animateMotion.animateTransform.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.linearGradient.radialGradient.textPath`.split(`.`).reduce(function(e,t){return e[t.toLowerCase()]=t,e},{}),x=`\r`,S=new RegExp(x,`g`),C=`__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_${Date.now().toString()}__`,w=new RegExp(C,`g`);function T(e){return b[e]}function E(e){for(var t={},n=0,r=e.length;n<r;n++){var i=e[n];t[i.name]=i.value}return t}function ee(e){return e=e.toLowerCase(),T(e)||e}function D(e,t){var n=`<`+t,r=e.toLowerCase().indexOf(n);if(r===-1)return!1;var i=e[r+n.length];return i===`>`||i===` `||i===` `||i===`
|
|
291
|
+
`||i===`\r`||i===`/`}function te(e){return e.replace(S,C)}function O(e){return e.replace(w,x)}function ne(e,t,n){t===void 0&&(t=null);for(var r=[],i,c=0,l=e.length;c<l;c++){var u=e[c];switch(u.nodeType){case 1:var f=ee(u.nodeName);i=new d(f,E(u.attributes)),i.children=ne(f===`template`?u.content.childNodes:u.childNodes,i);break;case 3:i=new a(O(u.nodeValue??``));break;case 8:i=new o(u.nodeValue??``);break;default:continue}var p=r[c-1]??null;p&&(p.next=i),i.parent=t,i.prev=p,i.next=null,r.push(i)}return n&&(i=new s(n.substring(0,n.indexOf(` `)).toLowerCase(),n),i.next=r[0]??null,i.parent=t,r.unshift(i),r[1]&&(r[1].prev=r[0])),r}var re=`html`,k=`head`,A=`body`,ie=/<([a-zA-Z]+[0-9]?)/;function ae(e,t){return t?t.createHTML(e):e}var oe=function(e,t,n){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},se=function(e,t,n){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")},ce=typeof window==`object`&&window.DOMParser;if(typeof ce==`function`){var le=new ce,ue=`text/html`;se=function(e,t,n){return t&&(e=`<${t}>${e}</${t}>`),le.parseFromString(e,ue)},oe=se}if(typeof document==`object`&&document.implementation){var de=document.implementation.createHTMLDocument();oe=function(e,t,n){if(t){var r=de.documentElement.querySelector(t);return r&&(r.innerHTML=ae(e,n)),de}return de.documentElement.innerHTML=ae(e,n),de}}var fe=typeof document==`object`&&document.createElement(`template`),pe;fe&&fe.content&&(pe=function(e,t){return fe.innerHTML=ae(e,t),fe.content.childNodes});var me=function(){return document.createDocumentFragment().childNodes};function he(e,t){var n,r;e=te(e);var i=(ie.exec(e)?.[1])?.toLowerCase();switch(i){case re:var a=se(e);if(!D(e,k)){var o=a.querySelector(k);(n=o?.parentNode)==null||n.removeChild(o)}if(!D(e,A)){var o=a.querySelector(A);(r=o?.parentNode)==null||r.removeChild(o)}return a.querySelectorAll(re);case k:case A:var s=oe(e,void 0,t).querySelectorAll(i);return D(e,A)&&D(e,k)?s[0].parentNode?.childNodes??me():s;default:if(pe)return pe(e,t);var o=oe(e,A,t).querySelector(A);return o?.childNodes??me()}}var ge=/<(![a-zA-Z\s]+)>/;function _e(e,t){if(typeof e!=`string`)throw TypeError(`First argument must be a string`);if(!e)return[];var n=ge.exec(e),r=n?n[1]:void 0;return ne(he(e,t?.trustedTypePolicy),null,r)}e.default=_e})),FT=u((e=>{e.SAME=0,e.CAMELCASE=1,e.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":`acceptCharset`,accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:`className`,classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:`htmlFor`,form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":`httpEquiv`,icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":`accentHeight`,accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":`alignmentBaseline`,allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":`arabicForm`,ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":`baselineShift`,baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":`capHeight`,clip:0,clipPath:1,"clip-path":`clipPath`,clipPathUnits:1,clipRule:1,"clip-rule":`clipRule`,color:0,colorInterpolation:1,"color-interpolation":`colorInterpolation`,colorInterpolationFilters:1,"color-interpolation-filters":`colorInterpolationFilters`,colorProfile:1,"color-profile":`colorProfile`,colorRendering:1,"color-rendering":`colorRendering`,contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":`dominantBaseline`,dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":`enableBackground`,end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":`fillOpacity`,fillRule:1,"fill-rule":`fillRule`,filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":`floodOpacity`,floodColor:1,"flood-color":`floodColor`,focusable:0,fontFamily:1,"font-family":`fontFamily`,fontSize:1,"font-size":`fontSize`,fontSizeAdjust:1,"font-size-adjust":`fontSizeAdjust`,fontStretch:1,"font-stretch":`fontStretch`,fontStyle:1,"font-style":`fontStyle`,fontVariant:1,"font-variant":`fontVariant`,fontWeight:1,"font-weight":`fontWeight`,format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":`glyphName`,glyphOrientationHorizontal:1,"glyph-orientation-horizontal":`glyphOrientationHorizontal`,glyphOrientationVertical:1,"glyph-orientation-vertical":`glyphOrientationVertical`,glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":`horizAdvX`,horizOriginX:1,"horiz-origin-x":`horizOriginX`,ideographic:0,imageRendering:1,"image-rendering":`imageRendering`,in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":`letterSpacing`,lightingColor:1,"lighting-color":`lightingColor`,limitingConeAngle:1,local:0,markerEnd:1,"marker-end":`markerEnd`,markerHeight:1,markerMid:1,"marker-mid":`markerMid`,markerStart:1,"marker-start":`markerStart`,markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":`overlinePosition`,overlineThickness:1,"overline-thickness":`overlineThickness`,paintOrder:1,"paint-order":`paintOrder`,panose1:0,"panose-1":`panose1`,pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":`pointerEvents`,points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":`renderingIntent`,repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":`shapeRendering`,slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":`stopColor`,stopOpacity:1,"stop-opacity":`stopOpacity`,strikethroughPosition:1,"strikethrough-position":`strikethroughPosition`,strikethroughThickness:1,"strikethrough-thickness":`strikethroughThickness`,string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":`strokeDasharray`,strokeDashoffset:1,"stroke-dashoffset":`strokeDashoffset`,strokeLinecap:1,"stroke-linecap":`strokeLinecap`,strokeLinejoin:1,"stroke-linejoin":`strokeLinejoin`,strokeMiterlimit:1,"stroke-miterlimit":`strokeMiterlimit`,strokeWidth:1,"stroke-width":`strokeWidth`,strokeOpacity:1,"stroke-opacity":`strokeOpacity`,suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":`textAnchor`,textDecoration:1,"text-decoration":`textDecoration`,textLength:1,textRendering:1,"text-rendering":`textRendering`,to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":`underlinePosition`,underlineThickness:1,"underline-thickness":`underlineThickness`,unicode:0,unicodeBidi:1,"unicode-bidi":`unicodeBidi`,unicodeRange:1,"unicode-range":`unicodeRange`,unitsPerEm:1,"units-per-em":`unitsPerEm`,unselectable:0,vAlphabetic:1,"v-alphabetic":`vAlphabetic`,values:0,vectorEffect:1,"vector-effect":`vectorEffect`,version:0,vertAdvY:1,"vert-adv-y":`vertAdvY`,vertOriginX:1,"vert-origin-x":`vertOriginX`,vertOriginY:1,"vert-origin-y":`vertOriginY`,vHanging:1,"v-hanging":`vHanging`,vIdeographic:1,"v-ideographic":`vIdeographic`,viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":`vMathematical`,vocab:0,widths:0,wordSpacing:1,"word-spacing":`wordSpacing`,writingMode:1,"writing-mode":`writingMode`,x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":`xHeight`,xlinkActuate:1,"xlink:actuate":`xlinkActuate`,xlinkArcrole:1,"xlink:arcrole":`xlinkArcrole`,xlinkHref:1,"xlink:href":`xlinkHref`,xlinkRole:1,"xlink:role":`xlinkRole`,xlinkShow:1,"xlink:show":`xlinkShow`,xlinkTitle:1,"xlink:title":`xlinkTitle`,xlinkType:1,"xlink:type":`xlinkType`,xmlBase:1,"xml:base":`xmlBase`,xmlLang:1,"xml:lang":`xmlLang`,xmlns:0,"xml:space":`xmlSpace`,xmlnsXlink:1,"xmlns:xlink":`xmlnsXlink`,xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}})),IT=u((e=>{var t=0,n=1,r=2,i=3,a=4,o=5,s=6;function c(e){return u.hasOwnProperty(e)?u[e]:null}function l(e,t,n,o,s,c,l){this.acceptsBooleans=t===r||t===i||t===a,this.attributeName=o,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=c,this.removeEmptyString=l}var u={};[`children`,`dangerouslySetInnerHTML`,`defaultValue`,`defaultChecked`,`innerHTML`,`suppressContentEditableWarning`,`suppressHydrationWarning`,`style`].forEach(e=>{u[e]=new l(e,t,!1,e,null,!1,!1)}),[[`acceptCharset`,`accept-charset`],[`className`,`class`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`]].forEach(([e,t])=>{u[e]=new l(e,n,!1,t,null,!1,!1)}),[`contentEditable`,`draggable`,`spellCheck`,`value`].forEach(e=>{u[e]=new l(e,r,!1,e.toLowerCase(),null,!1,!1)}),[`autoReverse`,`externalResourcesRequired`,`focusable`,`preserveAlpha`].forEach(e=>{u[e]=new l(e,r,!1,e,null,!1,!1)}),[`allowFullScreen`,`async`,`autoFocus`,`autoPlay`,`controls`,`default`,`defer`,`disabled`,`disablePictureInPicture`,`disableRemotePlayback`,`formNoValidate`,`hidden`,`loop`,`noModule`,`noValidate`,`open`,`playsInline`,`readOnly`,`required`,`reversed`,`scoped`,`seamless`,`itemScope`].forEach(e=>{u[e]=new l(e,i,!1,e.toLowerCase(),null,!1,!1)}),[`checked`,`multiple`,`muted`,`selected`].forEach(e=>{u[e]=new l(e,i,!0,e,null,!1,!1)}),[`capture`,`download`].forEach(e=>{u[e]=new l(e,a,!1,e,null,!1,!1)}),[`cols`,`rows`,`size`,`span`].forEach(e=>{u[e]=new l(e,s,!1,e,null,!1,!1)}),[`rowSpan`,`start`].forEach(e=>{u[e]=new l(e,o,!1,e.toLowerCase(),null,!1,!1)});var d=/[\-\:]([a-z])/g,f=e=>e[1].toUpperCase();`accent-height.alignment-baseline.arabic-form.baseline-shift.cap-height.clip-path.clip-rule.color-interpolation.color-interpolation-filters.color-profile.color-rendering.dominant-baseline.enable-background.fill-opacity.fill-rule.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.glyph-name.glyph-orientation-horizontal.glyph-orientation-vertical.horiz-adv-x.horiz-origin-x.image-rendering.letter-spacing.lighting-color.marker-end.marker-mid.marker-start.overline-position.overline-thickness.paint-order.panose-1.pointer-events.rendering-intent.shape-rendering.stop-color.stop-opacity.strikethrough-position.strikethrough-thickness.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.text-anchor.text-decoration.text-rendering.underline-position.underline-thickness.unicode-bidi.unicode-range.units-per-em.v-alphabetic.v-hanging.v-ideographic.v-mathematical.vector-effect.vert-adv-y.vert-origin-x.vert-origin-y.word-spacing.writing-mode.xmlns:xlink.x-height`.split(`.`).forEach(e=>{let t=e.replace(d,f);u[t]=new l(t,n,!1,e,null,!1,!1)}),[`xlink:actuate`,`xlink:arcrole`,`xlink:role`,`xlink:show`,`xlink:title`,`xlink:type`].forEach(e=>{let t=e.replace(d,f);u[t]=new l(t,n,!1,e,`http://www.w3.org/1999/xlink`,!1,!1)}),[`xml:base`,`xml:lang`,`xml:space`].forEach(e=>{let t=e.replace(d,f);u[t]=new l(t,n,!1,e,`http://www.w3.org/XML/1998/namespace`,!1,!1)}),[`tabIndex`,`crossOrigin`].forEach(e=>{u[e]=new l(e,n,!1,e.toLowerCase(),null,!1,!1)});var p=`xlinkHref`;u[p]=new l(`xlinkHref`,n,!1,`xlink:href`,`http://www.w3.org/1999/xlink`,!0,!1),[`src`,`href`,`action`,`formAction`].forEach(e=>{u[e]=new l(e,n,!1,e.toLowerCase(),null,!0,!0)});var{CAMELCASE:m,SAME:h,possibleStandardNames:g}=FT(),_=RegExp.prototype.test.bind(RegExp(`^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`)),v=Object.keys(g).reduce((e,t)=>{let n=g[t];return n===h?e[t]=t:n===m?e[t.toLowerCase()]=t:e[t]=n,e},{});e.BOOLEAN=i,e.BOOLEANISH_STRING=r,e.NUMERIC=o,e.OVERLOADED_BOOLEAN=a,e.POSITIVE_NUMERIC=s,e.RESERVED=t,e.STRING=n,e.getPropertyInfo=c,e.isCustomAttribute=_,e.possibleStandardNames=v})),LT=u((t=>{var n=t&&t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,`__esModule`,{value:!0}),t.returnFirstArg=t.canTextBeChildOfNode=t.ELEMENTS_WITH_NO_TEXT_CHILDREN=t.PRESERVE_CUSTOM_ATTRIBUTES=void 0,t.isCustomComponent=o,t.setStyleProp=c;var r=e(`react`),i=n(Ug()),a=new Set([`annotation-xml`,`color-profile`,`font-face`,`font-face-src`,`font-face-uri`,`font-face-format`,`font-face-name`,`missing-glyph`]);function o(e,t){return e.includes(`-`)?!a.has(e):!!(t&&typeof t.is==`string`)}var s={reactCompat:!0};function c(e,t){if(typeof e==`string`){if(!e.trim()){t.style={};return}try{t.style=(0,i.default)(e,s)}catch{t.style={}}}}t.PRESERVE_CUSTOM_ATTRIBUTES=Number(r.version.split(`.`)[0])>=16,t.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set([`tr`,`tbody`,`thead`,`tfoot`,`colgroup`,`table`,`head`,`html`,`frameset`]),t.canTextBeChildOfNode=e=>!t.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name),t.returnFirstArg=e=>e})),RT=u((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=o;var t=IT(),n=LT(),r=[`checked`,`value`],i=[`input`,`select`,`textarea`],a={reset:!0,submit:!0};function o(e={},o){let c={},l=!!(e.type&&a[e.type]);for(let a in e){let u=e[a];if((0,t.isCustomAttribute)(a)){c[a]=u;continue}let d=a.toLowerCase(),f=s(d);if(f){let e=(0,t.getPropertyInfo)(f);switch(r.includes(f)&&i.includes(o)&&!l&&(f=s(`default`+d)),c[f]=u,e?.type){case t.BOOLEAN:c[f]=!0;break;case t.OVERLOADED_BOOLEAN:u===``&&(c[f]=!0);break}continue}n.PRESERVE_CUSTOM_ATTRIBUTES&&(c[a]=u)}return(0,n.setStyleProp)(e.style,c),c}function s(e){return t.possibleStandardNames[e]}}));function zT(e){return e.type===$.Tag||e.type===$.Script||e.type===$.Style}var $,BT=i((()=>{(function(e){e.Root=`root`,e.Text=`text`,e.Directive=`directive`,e.Comment=`comment`,e.Script=`script`,e.Style=`style`,e.Tag=`tag`,e.CDATA=`cdata`,e.Doctype=`doctype`})($||($={})),$.Root,$.Text,$.Directive,$.Comment,$.Script,$.Style,$.Tag,$.CDATA,$.Doctype}));function VT(e){return zT(e)}function HT(e){return e.type===$.CDATA}function UT(e){return e.type===$.Text}function WT(e){return e.type===$.Comment}function GT(e){return e.type===$.Directive}function KT(e){return e.type===$.Root}function qT(e){return Object.hasOwn(e,`children`)}function JT(e,t=!1){let n;if(UT(e))n=new QT(e.data);else if(WT(e))n=new $T(e.data);else if(VT(e)){let r=t?YT(e.children):[],i=new iE(e.name,{...e.attribs},r);for(let e of r)e.parent=i;e.namespace!=null&&(i.namespace=e.namespace),e[`x-attribsNamespace`]&&(i[`x-attribsNamespace`]={...e[`x-attribsNamespace`]}),e[`x-attribsPrefix`]&&(i[`x-attribsPrefix`]={...e[`x-attribsPrefix`]}),n=i}else if(HT(e)){let r=t?YT(e.children):[],i=new nE(r);for(let e of r)e.parent=i;n=i}else if(KT(e)){let r=t?YT(e.children):[],i=new rE(r);for(let e of r)e.parent=i;e[`x-mode`]&&(i[`x-mode`]=e[`x-mode`]),n=i}else if(GT(e)){let t=new eE(e.name,e.data);e[`x-name`]!=null&&(t[`x-name`]=e[`x-name`],t[`x-publicId`]=e[`x-publicId`],t[`x-systemId`]=e[`x-systemId`]),n=t}else throw Error(`Not implemented yet: ${e.type}`);return n.startIndex=e.startIndex,n.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function YT(e){let t=e.map(e=>JT(e,!0));for(let e=1;e<t.length;e++)t[e].prev=t[e-1],t[e-1].next=t[e];return t}var XT,ZT,QT,$T,eE,tE,nE,rE,iE,aE=i((()=>{BT(),wt(),XT=class{constructor(){P(this,`parent`,null),P(this,`prev`,null),P(this,`next`,null),P(this,`startIndex`,null),P(this,`endIndex`,null)}get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return JT(this,e)}},ZT=class extends XT{constructor(e){super(),P(this,`data`,void 0),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}},QT=class extends ZT{constructor(...e){super(...e),P(this,`type`,$.Text)}get nodeType(){return 3}},$T=class extends ZT{constructor(...e){super(...e),P(this,`type`,$.Comment)}get nodeType(){return 8}},eE=class extends ZT{constructor(e,t){super(t),P(this,`type`,$.Directive),P(this,`name`,void 0),P(this,`x-name`,void 0),P(this,`x-publicId`,void 0),P(this,`x-systemId`,void 0),this.name=e}get nodeType(){return 1}},tE=class extends XT{constructor(e){super(),P(this,`children`,void 0),this.children=e}get firstChild(){return this.children[0]??null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}},nE=class extends tE{constructor(...e){super(...e),P(this,`type`,$.CDATA)}get nodeType(){return 4}},rE=class extends tE{constructor(...e){super(...e),P(this,`type`,$.Root)}get nodeType(){return 9}},iE=class extends tE{constructor(e,t,n=[],r=e===`script`?$.Script:e===`style`?$.Style:$.Tag){super(n),P(this,`name`,void 0),P(this,`attribs`,void 0),P(this,`type`,void 0),P(this,`namespace`,void 0),P(this,`x-attribsNamespace`,void 0),P(this,`x-attribsPrefix`,void 0),this.name=e,this.attribs=t,this.type=r}get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map(e=>({name:e,value:this.attribs[e],namespace:this[`x-attribsNamespace`]?.[e],prefix:this[`x-attribsPrefix`]?.[e]}))}}})),oE=t({CDATA:()=>nE,Comment:()=>$T,DataNode:()=>ZT,Document:()=>rE,DomHandler:()=>cE,Element:()=>iE,Node:()=>XT,NodeWithChildren:()=>tE,ProcessingInstruction:()=>eE,Text:()=>QT,cloneNode:()=>JT,default:()=>cE,hasChildren:()=>qT,isCDATA:()=>HT,isComment:()=>WT,isDirective:()=>GT,isDocument:()=>KT,isTag:()=>VT,isText:()=>UT}),sE,cE,lE=i((()=>{BT(),aE(),wt(),aE(),sE={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},cE=class{constructor(e,t,n){P(this,`dom`,[]),P(this,`root`,new rE(this.dom)),P(this,`callback`,void 0),P(this,`options`,void 0),P(this,`elementCB`,void 0),P(this,`done`,!1),P(this,`tagStack`,[this.root]),P(this,`lastNode`,null),P(this,`parser`,null),typeof t==`function`&&(n=t,t=sE),typeof e==`object`&&(t=e,e=void 0),this.callback=e??null,this.options=t??sE,this.elementCB=n??null}onparserinit(e){this.parser=e}onreset(){this.dom=[],this.root=new rE(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(e){this.handleCallback(e)}onclosetag(){this.lastNode=null;let e=this.tagStack.pop();this.options.withEndIndices&&this.parser&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)}onopentag(e,t){let n=new iE(e,t,void 0,this.options.xmlMode?$.Tag:void 0);this.addNode(n),this.tagStack.push(n)}ontext(e){let{lastNode:t}=this;if(t&&t.type===$.Text)t.data+=e,this.options.withEndIndices&&this.parser&&(t.endIndex=this.parser.endIndex);else{let t=new QT(e);this.addNode(t),this.lastNode=t}}oncomment(e){if(this.lastNode&&this.lastNode.type===$.Comment){this.lastNode.data+=e;return}let t=new $T(e);this.addNode(t),this.lastNode=t}oncommentend(){this.lastNode=null}oncdatastart(){let e=new QT(``),t=new nE([e]);this.addNode(t),e.parent=t,this.lastNode=e}oncdataend(){this.lastNode=null}onprocessinginstruction(e,t){let n=new eE(e,t);this.addNode(n)}handleCallback(e){if(typeof this.callback==`function`)this.callback(e,this.dom);else if(e)throw e}addNode(e){let t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&this.parser&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&this.parser&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null}}})),uE=u((t=>{var r=t&&t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,`__esModule`,{value:!0}),t.default=l;var i=(lE(),n(oE)),a=e(`react`),o=r(RT()),s=LT(),c={cloneElement:a.cloneElement,createElement:a.createElement,isValidElement:a.isValidElement};function l(e,t={}){let n=[],r=typeof t.replace==`function`,i=t.transform??s.returnFirstArg,{cloneElement:a,createElement:f,isValidElement:p}=t.library??c,m=e.length;u(e);for(let c=0;c<m;c++){let u=e[c];if(r){let e=t.replace?.call(t,u,c);if(p(e)){m>1&&(e=a(e,{key:e.key??c})),n.push(i(e,u,c));continue}}if(u.type===`text`){let e=!u.data.trim().length;if(e&&u.parent&&!(0,s.canTextBeChildOfNode)(u.parent)||t.trim&&e)continue;n.push(i(u.data,u,c));continue}let h=u,g={};d(h)?((0,s.setStyleProp)(h.attribs.style,h.attribs),g=h.attribs):h.attribs&&(g=(0,o.default)(h.attribs,h.name));let _;switch(u.type){case`script`:case`style`:u.children[0]&&(g.dangerouslySetInnerHTML={__html:u.children[0].data});break;case`tag`:u.name===`textarea`&&u.children[0]?g.defaultValue=u.children[0].data:u.children?.length&&(_=l(u.children,t));break;default:continue}m>1&&(g.key=c),n.push(i(f(u.name,g,_),u,c))}return n.length===1?n[0]:n}function u(e){for(let t of e)(t.type===`tag`||t.type===`script`||t.type===`style`)&&(Object.setPrototypeOf(t,i.Element.prototype),u(t.children))}function d(e){return s.PRESERVE_CUSTOM_ATTRIBUTES&&e.type===`tag`&&(0,s.isCustomComponent)(e.name,e.attribs)}})),dE=s(u((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.htmlToDOM=e.domToReact=e.attributesToProps=e.Text=e.ProcessingInstruction=e.Element=e.Comment=void 0,e.default=s;var r=t(PT());e.htmlToDOM=r.default,e.attributesToProps=t(RT()).default;var i=t(uE());e.domToReact=i.default;var a=(lE(),n(oE));Object.defineProperty(e,`Comment`,{enumerable:!0,get:function(){return a.Comment}}),Object.defineProperty(e,`Element`,{enumerable:!0,get:function(){return a.Element}}),Object.defineProperty(e,`ProcessingInstruction`,{enumerable:!0,get:function(){return a.ProcessingInstruction}}),Object.defineProperty(e,`Text`,{enumerable:!0,get:function(){return a.Text}});var o={lowerCaseAttributeNames:!1};function s(e,t){if(typeof e!=`string`)throw TypeError(`First argument must be a string`);if(!e)return[];let n=Object.assign(Object.assign({},t?.htmlparser2??o),{trustedTypePolicy:t?.trustedTypePolicy});return(0,i.default)((0,r.default)(e,n),t)}}))(),1),fE=dE.default.default||dE.default;function pE({entries:e}){let t=a(`article`),[n,r]=S(!1),i=(e,t)=>{e.preventDefault();let n=e.currentTarget.getRootNode(),r=n instanceof ShadowRoot||n instanceof Document?n:document,i=`querySelector`in r?r.querySelector(`[id="${CSS.escape(t)}"]`):null;if(!i)return;let a=i.closest(`[data-slot='scroll-area-viewport']`);if(!a){let e=i.parentElement;for(;e;){let t=getComputedStyle(e);if(/(auto|scroll|overlay)/.test(t.overflowY)){a=e;break}e=e.parentElement}}if(a){let e=i.getBoundingClientRect(),t=a.getBoundingClientRect();a.scrollTo({top:a.scrollTop+e.top-t.top-16,behavior:`smooth`})}else i.scrollIntoView({behavior:`smooth`,block:`start`})};return E(`nav`,{"aria-label":t(`tableOfContents`),className:c(`wx-toc mt-0 overflow-hidden rounded-xl border border-wx-border bg-wx-bg`,`[&_a]:no-underline [&_a]:text-inherit [&_a:hover]:opacity-100`,`[&_ul]:m-0 [&_ul]:list-none [&_ul]:p-0`,`[&_li]:m-0`),children:[E(`button`,{type:`button`,onClick:()=>r(e=>!e),"aria-expanded":n,className:c(`flex w-full items-center justify-between gap-3 px-4 py-3`,`text-left text-sm font-medium text-wx-fg`,`transition-colors hover:bg-wx-bg-elevated/40`),children:[T(`span`,{children:t(`tableOfContents`)}),T(im,{className:c(`h-4 w-4 shrink-0 text-wx-fg-subtle transition-transform duration-200`,n&&`rotate-180`),"aria-hidden":`true`})]}),T(`div`,{className:c(`grid transition-[grid-template-rows] duration-200 ease-out`,n?`grid-rows-[1fr]`:`grid-rows-[0fr]`),"aria-hidden":!n,children:T(`div`,{className:`min-h-0 overflow-hidden`,children:T(`div`,{className:`border-t border-wx-border/70 px-2 py-2`,children:T(`div`,{className:`flex flex-col`,children:e.map(e=>{let t=e.level===2?16:e.level===3?32:0;return T(`button`,{type:`button`,onClick:t=>i(t,e.id),className:c(`flex h-8 items-center truncate rounded-md pr-2 text-left text-sm text-wx-fg`,`transition-colors hover:bg-wx-bg-elevated/50`),style:{paddingLeft:12+t},children:T(`span`,{className:`truncate`,children:e.text})},e.id)})})})})})]})}function mE({summary:e,body:t,defaultOpen:n}){let[r,i]=S(n);return E(`div`,{className:`my-2 overflow-hidden rounded-lg border border-wx-border`,children:[E(`button`,{type:`button`,onClick:()=>i(e=>!e),"aria-expanded":r,className:c(`flex w-full items-center justify-between gap-3 px-4 py-3`,`text-left text-sm font-semibold text-wx-fg`,`transition-colors hover:bg-wx-bg-elevated/50`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-wx-primary/30`),children:[T(`span`,{className:`min-w-0 flex-1`,children:e}),T(im,{className:c(`h-4 w-4 shrink-0 text-wx-fg-subtle transition-transform`,r&&`rotate-180`),"aria-hidden":`true`})]}),r&&T(`div`,{className:`border-t border-wx-border px-4 py-3 text-sm leading-relaxed text-wx-fg [&>:first-child]:mt-0 [&>:last-child]:mb-0`,children:t})]})}var hE=(e,t)=>{let n=e.name===`details`,r=e.name===`div`&&e.attribs?.[`data-type`]===`details`;if(!n&&!r)return;let i=r?(e.children??[]).flatMap(e=>e instanceof dE.Element&&e.name===`div`&&!e.attribs?.[`data-type`]?e.children??[]:[e]):e.children??[],a=i.find(e=>e instanceof dE.Element&&e.name===`summary`),o=i.filter(e=>e!==a&&!(e instanceof dE.Element&&e.name===`button`)),s=o.find(e=>e instanceof dE.Element&&e.name===`div`&&(e.attribs?.[`data-type`]===`detailsContent`||e.attribs?.[`data-type`]===`details-content`)),c=s?s.children??[]:o,l=a?(0,dE.domToReact)(a.children,t.options):null,u=T(w,{children:(0,dE.domToReact)(c,t.options)});return T(mE,{defaultOpen:e.attribs?.open!==void 0||e.attribs?.[`data-open`]===`true`,summary:l,body:u})},gE={card:`border-wx-border bg-wx-bg-elevated/60`,callout:`border-wx-primary/30 bg-wx-primary/5`,note:`border-wx-border bg-wx-bg-elevated/60`,tip:`border-wx-success/30 bg-wx-success/5`,warning:`border-wx-warning/30 bg-wx-warning/5`,danger:`border-wx-danger/30 bg-wx-danger/5`},_E=(e,t)=>{let n=gE[e.name];if(n)return T(`div`,{className:`my-4 rounded-wx-md border px-4 py-3 ${n}`,"data-custom-block":e.name,children:(0,dE.domToReact)(e.children??[],t.options)})};function vE(e,t){let n=e.normalize(`NFD`).replace(/[̀-ͯ]/g,``).toLowerCase().replace(/[^a-z0-9]+/g,`-`).replace(/^-+|-+$/g,``)||`section`,r=n,i=2;for(;t.has(r);)r=`${n}-${i}`,i+=1;return t.add(r),r}function yE(e){let t=``;for(let n of e.children??[])n.type===`text`?t+=n.data??``:n instanceof dE.Element&&(t+=yE(n));return t}var bE=(e,t)=>{if(e.name!==`h1`&&e.name!==`h2`&&e.name!==`h3`)return;let n=Number(e.name.slice(1)),r=yE(e).trim();if(!r)return;let i=vE(r,t.seenIds);return t.entries.push({id:i,text:r,level:n}),h(e.name,{id:i},(0,dE.domToReact)(e.children??[],t.options))},xE=(e,t)=>{if(e.name!==`img`)return;let n=e.attribs??{},r=n[`data-align`]??`center`,i=n.width||n.style?.match(/width:\s*([^;]+)/i)?.[1],a=r===`left`?`0`:`auto`,o=r===`right`?`0`:`auto`,s=n.src??``,c=n.alt??``,l={...i?{width:i}:{},marginLeft:a,marginRight:o,display:`block`};if(t.images&&t.onImageClick){let e=t.images.length;t.images.push({url:s,mimetype:`image/jpeg`,alt:c});let n=t.onImageClick;return T(`button`,{type:`button`,onClick:()=>n(e),className:`my-3 block w-full cursor-zoom-in border-0 bg-transparent p-0`,"aria-label":c||t.openImageLabel,children:T(`img`,{src:s,alt:c,style:l,className:`max-w-full`})})}return T(`img`,{src:s,alt:c,style:l,className:`my-3 max-w-full`})},SE=(e,t)=>{if(e.name!==`a`)return;let n=e.attribs?.href??``;return T(`a`,{href:n,target:`_blank`,rel:`noopener noreferrer`,onClick:()=>t.onLinkClick?.(n),className:`text-wx-primary underline underline-offset-2 transition-opacity hover:opacity-70`,children:(0,dE.domToReact)(e.children??[],t.options)})},CE=(e,t)=>{if(e.name===`table`)return T(`div`,{className:c(`my-3 overflow-x-auto`,`[scrollbar-width:thin] [scrollbar-color:var(--color-wx-fg-subtle)_transparent]`,`[&::-webkit-scrollbar]:h-2`,`[&::-webkit-scrollbar-track]:bg-transparent`,`[&::-webkit-scrollbar-thumb]:rounded-full`,`[&::-webkit-scrollbar-thumb]:bg-wx-fg-subtle/40`,`[&::-webkit-scrollbar-thumb:hover]:bg-wx-fg-subtle/60`),children:T(`table`,{children:(0,dE.domToReact)(e.children??[],t.options)})})};function wE({tabs:e}){let t=a(`article`),[n,r]=S(0);return e.length===0?null:E(`div`,{className:`my-4`,children:[T(`div`,{role:`tablist`,className:`relative flex items-center gap-1 border-b border-wx-border`,children:e.map((e,i)=>{let a=i===n,o=e.label||t(`tabFallback`,{n:i+1});return E(`button`,{type:`button`,role:`tab`,"aria-selected":a,tabIndex:a?0:-1,onClick:()=>r(i),className:c(`group relative inline-flex items-center justify-center px-3 py-2 text-sm`,`transition-colors focus-visible:outline-none`,a?`font-semibold text-wx-fg`:`font-medium text-wx-fg-muted hover:text-wx-fg`),children:[o,T(`span`,{"aria-hidden":`true`,className:c(`pointer-events-none absolute inset-x-2 bottom-0 h-[2px] origin-left rounded-full bg-wx-primary`,`transition-transform duration-200 ease-out`,a?`scale-x-100`:`scale-x-0`)})]},i)})}),T(`div`,{className:`mt-3 text-sm leading-relaxed text-wx-fg [&>:first-child]:mt-0 [&>:last-child]:mb-0`,children:e[n]?.body})]})}var TE=[bE,(e,t)=>{if(e.name===`div`&&(e.attribs?.[`data-type`]===`tabs`||e.attribs?.[`data-type`]===`tabs`))return T(wE,{tabs:(e.children??[]).filter(e=>e instanceof dE.Element&&e.name===`div`&&e.attribs?.[`data-type`]===`tab`).map(e=>{let n=e.children?.find(e=>e instanceof dE.Element&&e.name===`div`&&`data-tab-label`in(e.attribs??{})),r=(e.children??[]).filter(e=>e!==n);return{label:n?yE(n).trim():``,body:T(w,{children:(0,dE.domToReact)(r,t.options)})}})})},hE,_E,CE,xE,SE];function EE(e,t,n,r,i,a){let o={},s={options:o,entries:e,seenIds:t,images:n,onImageClick:r,onLinkClick:i,openImageLabel:a};return o.replace=e=>{if(e instanceof dE.Element){for(let t of Object.keys(e.attribs))t.startsWith(`data-wx-`)&&delete e.attribs[t];for(let t of TE){let n=t(e,s);if(n!==void 0)return n}}},o}function DE({html:e,className:t,onLinkClick:n}){let[r,i]=S(null),o=a(`messages`)(`openImage`),{trackLinkClick:s}=zh(),c=g(e=>s({url:e,targetType:`EXTERNAL`}),[s]),l=n??c,{parsed:u,entries:d,images:f}=b(()=>{let t=[],n=new Set,r=[];return{parsed:fE(e,EE(t,n,r,i,l,o)),entries:t,images:r}},[e,l,o]);return E(`div`,{className:t,children:[d.length>=3&&T(pE,{entries:d}),u,f.length>0&&T(Qh,{items:f,initialIndex:r??0,open:r!==null,onClose:()=>i(null)})]})}function OE(e){return fE(e,EE([],new Set))}var kE=[{value:`en`,label:`English`},{value:`en-US`,label:`English (US)`},{value:`en-GB`,label:`English (UK)`},{value:`uk`,label:`Українська`},{value:`de`,label:`Deutsch`},{value:`es`,label:`Español`},{value:`es-MX`,label:`Español (México)`},{value:`fr`,label:`Français`},{value:`it`,label:`Italiano`},{value:`pt`,label:`Português`},{value:`pt-BR`,label:`Português (Brasil)`},{value:`nl`,label:`Nederlands`},{value:`pl`,label:`Polski`},{value:`tr`,label:`Türkçe`},{value:`cs`,label:`Čeština`},{value:`sk`,label:`Slovenčina`},{value:`ro`,label:`Română`},{value:`hu`,label:`Magyar`},{value:`el`,label:`Ελληνικά`},{value:`sv`,label:`Svenska`},{value:`da`,label:`Dansk`},{value:`no`,label:`Norsk`},{value:`fi`,label:`Suomi`},{value:`ar`,label:`العربية`},{value:`he`,label:`עברית`},{value:`hi`,label:`हिन्दी`},{value:`th`,label:`ไทย`},{value:`vi`,label:`Tiếng Việt`},{value:`id`,label:`Bahasa Indonesia`},{value:`ja`,label:`日本語`},{value:`ko`,label:`한국어`},{value:`zh`,label:`中文(简体)`},{value:`zh-TW`,label:`中文(繁體)`}];function AE(e){let t=kE.find(t=>t.value===e);if(t)return t.label;let n=e.split(`-`)[0].toLowerCase(),r=kE.find(e=>e.value===n);return r?r.label:n.toUpperCase()}export{wf as $,$l as $t,vp as A,ud as At,Vf as B,Gu as Bt,rm as C,zd as Ct,Sp as D,hd as Dt,Wp as E,_d as Et,ip as F,$u as Ft,kf as G,Ru as Gt,Yf as H,qu as Ht,Hf as I,td as It,Rf as J,Eu as Jt,Lf as K,Lu as Kt,Wf as L,Zu as Lt,dp as M,od as Mt,op as N,id as Nt,mp as O,pd as Ot,sp as P,ed as Pt,Of as Q,eu as Qt,Bf as R,Qu as Rt,im as S,Ud as St,Kp as T,Ed as Tt,Uf as U,Ou as Ut,Jf as V,Ju as Vt,Gf as W,ku as Wt,Nf as X,ou as Xt,Af as Y,Tu as Yt,Df as Z,Ql as Zt,pm as _,Id as _t,kS as a,G as an,nf as at,sm as b,qd as bt,zh as c,we as cn,Bd as ct,Nh as d,ne as dn,Pd as dt,nu as en,Sf as et,Mh as f,A as fn,Gd as ft,cm as g,Sd as gt,Nm as h,bd as ht,NT as i,ll as in,rf as it,_p as j,cd as jt,pp as k,dd as kt,Fh as l,j as ln,Rd as lt,Ch as m,Ad as mt,DE as n,Pl as nn,cf as nt,Qh as o,Ba as on,ef as ot,Eh as p,wd as pt,Mf as q,Du as qt,OE as r,Ol as rn,yf as rt,Vh as s,za as sn,Ld as st,AE as t,jl as tn,Cf as tt,Ph as u,O as un,Od as ut,fm as v,Zd as vt,qp as w,Vd as wt,om as x,Md as xt,dm as y,Yd as yt,Kf as z,Vu as zt};
|
|
292
|
+
//# sourceMappingURL=widget-react-D-bgEOgc.js.map
|