@wexio/messenger-widget-react 1.5.3 → 1.6.0

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.
@@ -251,7 +251,7 @@ this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):a
251
251
  ok
252
252
  }
253
253
  }
254
- `;function ud(e){return Dl(ld,{...od,...e})}function dd(e,t){return typeof window>`u`||!e.source?!1:e.source===(t===`iframe`?window.parent:window)}var fd=`wexio-cache`,pd=`kv`,md=1,hd={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}`},gd=4320*60*1e3;function _d(e){return!!e&&typeof e==`object`&&typeof e.at==`number`}function vd(){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 yd(){return typeof indexedDB>`u`?Promise.resolve(null):new Promise(e=>{let t;try{t=indexedDB.open(fd,md)}catch{e(null);return}t.onupgradeneeded=()=>{let e=t.result;e.objectStoreNames.contains(pd)||e.createObjectStore(pd)},t.onsuccess=()=>e(t.result),t.onerror=()=>e(null),t.onblocked=()=>e(null)})}var bd={get:e=>yd().then(t=>new Promise(n=>{if(!t){n(null);return}try{let r=t.transaction(pd,`readonly`).objectStore(pd).get(e);r.onsuccess=()=>n(_d(r.result)?r.result:null),r.onerror=()=>n(null)}catch{n(null)}})),set:(e,t)=>yd().then(n=>new Promise(r=>{if(!n){r();return}try{let i=n.transaction(pd,`readwrite`);i.objectStore(pd).put(t,e),i.oncomplete=()=>r(),i.onerror=()=>r(),i.onabort=()=>r()}catch{r()}})),prune:e=>yd().then(t=>new Promise(n=>{if(!t){n();return}try{let r=t.transaction(pd,`readwrite`),i=r.objectStore(pd).openCursor();i.onsuccess=()=>{let t=i.result;if(!t)return;let n=t.value;(!_d(n)||n.at<e)&&t.delete(),t.continue()},r.oncomplete=()=>n(),r.onerror=()=>n(),r.onabort=()=>n()}catch{n()}})),evictPrefix:e=>yd().then(t=>new Promise(n=>{if(!t){n();return}try{let r=t.transaction(pd,`readwrite`),i=IDBKeyRange.bound(e,`${e}\uffff`),a=r.objectStore(pd).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 xd(){return typeof indexedDB>`u`?vd():bd}var Sd=xd(),Cd=!1;function wd(){Cd||(Cd=!0,Sd.prune(Date.now()-gd).catch(()=>void 0))}async function Td(e){wd();try{let t=await Sd.get(e);return t?Date.now()-t.at>2592e5?(Sd.prune(Date.now()-gd).catch(()=>void 0),null):t.v:null}catch{return null}}function Ed(e,t){return wd(),Sd.set(e,{v:t,at:Date.now()}).catch(()=>void 0)}function Dd(e){return Sd.evictPrefix(e).catch(()=>void 0)}var Od=m(null),kd=Od.Provider;function Ad(){return _(Od)}function jd(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 Md=`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 Nd(e){return typeof e==`string`&&Md.includes(e)}var Pd={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 Fd(e){return Pd[Nd(e)?e:`en`]()}function Id(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 Ld(e){return Id(await Fd(e))}var Rd={raw:()=>void 0,ready:!1};function zd(e){return e.ready!==!1}var Bd=Md,Vd=jd(Ld);function Hd(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 Ud(e,t){let[n,r]=S(()=>{let t=Vd.peek(e);return t?{raw:Hd(t)}:null});return v(()=>{let t=!0;return Vd.get(e).then(e=>{!t||!e||r({raw:Hd(e)})}),()=>{t=!1}},[e]),n??t}function Wd(){return Ud(u(),Rd)}function Gd(){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`}),onLauncherPosition:t=>e({type:`wexio:widget:position:v1`,side:t}),onHidden:()=>e({type:`wexio:widget:hidden:v1`}),onActive:()=>e({type:`wexio:widget:active:v1`})}}var Kd=m(null);function qd({env:e,children:t}){return w(Kd.Provider,{value:e,children:t})}function Jd(){let e=_(Kd),t=b(()=>Gd(),[]);return e??t}var Yd=new Map,Xd=new Set;function Zd(e,t,n){if(Xd.has(e))return Promise.resolve();let r=Ed(t,n),i=Yd.get(e)??new Set;return Yd.set(e,i),i.add(r),r.finally(()=>i.delete(r)),r}async function Qd(e){Xd.add(e),await Promise.all([...Yd.get(e)??[]]),await Promise.all([Dd(hd.configPrefix(e)),Dd(hd.gate(e))])}var $d=new Set([`status`,`branding`,`integrationId`,`name`,`security`]),ef=new Set([`__proto__`,`constructor`,`prototype`]);function tf(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}function nf(e){if(Array.isArray(e)){let t=!1,n=e.map(e=>{let n=nf(e);return n!==e&&(t=!0),n});return t?n:e}if(!tf(e))return e;let t=!1,n={};for(let r of Object.keys(e)){if(ef.has(r)){t=!0;continue}let i=nf(e[r]);i!==e[r]&&(t=!0),n[r]=i}return t?n:e}function rf(e){if(!(!tf(e)||typeof e.enabled!=`boolean`))return{enabled:e.enabled}}function af(e){if(!tf(e))return;let t=rf(e.google),n=rf(e.passkey);if(!(!t&&!n))return{...t&&{google:t},...n&&{passkey:n}}}function of(e){if(!tf(e))return{};let t=nf(e),n={};for(let e of Object.keys(t))$d.has(e)||(n[e]=t[e]);let r=af(t.security);return r&&(n.security=r),n}function sf(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 cf(e,t,n){let r=sf(e,e.kind===`transient`?await Td(n):null);return r.action===`hide`&&r.evict&&await Qd(t),r}function lf(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:zl()||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 uf=/^[\w ,."'-]+$/;function df(e){if(typeof e!=`string`)return!1;let t=e.trim();if(!t||t.length>200||!uf.test(t))return!1;for(let e of[`'`,`"`])if((t.split(e).length-1)%2!=0)return!1;return!0}var ff=e=>df(e)?e.trim():void 0,pf=`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(`.`),mf=`400;500;600;700`,hf={Roboto:`400;500;700`,Lato:`400;700`},gf=new Map(pf.map(e=>[e.toLowerCase(),`${e.replace(/ /g,`+`)}:wght@${hf[e]??mf}`]));function _f(e){if(typeof document>`u`)return;let t=ff(e);if(!t)return;let n=t.split(`,`)[0]?.trim().replace(/^['"]|['"]$/g,``);if(!n)return;let r=gf.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 vf=`wexio-trust:public`,yf={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:xu(`/logo-dark.png`),aiAssistant:{enabled:!0,name:null,avatar:xu(`/logo-dark.png`)},commands:[`/start`,`/help`,`/contact`],messages:[],showRelatedNews:!0,showRelatedHelpArticles:!0,showReactionCounts:!1,profile:null},botProtection:null,tracking:null},bf=[{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 xf(){let e=Jd(),t=u(),[n,r]=S({mode:`demo`,config:yf,isDummy:!0,isLoading:!0,error:null}),[i,a]=S(null);v(()=>{let n=new URL(window.location.href),i=n.searchParams.get(`mode`),{publicKey:o}=lf({modeOverride:e.modeOverride,publicKeyOverride:e.publicKeyOverride},n.href),s=e.modeOverride??(o?`production`:i===`preview`?`preview`:`demo`),c=!1;(async()=>{if(e.configBase){let t=null;if(o){let n=await Xl(o);if(c)return;if(n.kind===`ok`)t=n.value,Zd(o,hd.gate(o),t);else if(e.forceDummyData===!0&&!(n.kind===`definitive`&&typeof n.reason==`string`))t=null;else{let e=await cf(n,o,hd.gate(o));if(c)return;if(e.action===`hide`){r({mode:s,config:yf,isDummy:!0,isLoading:!1,error:n.kind===`transient`&&!e.evict?`publicKeyInvalid`:`widgetUnavailable`});return}t=e.value}}let n=e.configBase.security,i=t?.security,a={requireAuth:i?.requireAuth??!1,google:{enabled:n?.google?.enabled??i?.google?.enabled??!1,clientId:i?.google?.clientId??null},passkey:{enabled:n?.passkey?.enabled??i?.passkey?.enabled??!1}},{security:l,...u}=e.configBase;r({mode:s,config:{...u,security:a,branding:t?.branding??null,status:t?.status??`active`},isDummy:e.forceDummyData===!0,isLoading:!1,error:null});return}if(e.forceDummyData!==void 0){r({mode:s,config:yf,isDummy:e.forceDummyData,isLoading:!1,error:null});return}if(o){let e=await Vl(o,t);if(c)return;let n=hd.config(o,t);if(e.kind===`ok`){r({mode:s,config:e.value,isDummy:!1,isLoading:!1,error:null}),Zd(o,n,e.value);return}let i=await cf(e,o,n);if(c)return;if(i.action===`show`){r({mode:s,config:i.value,isDummy:!1,isLoading:!1,error:null});return}r({mode:s,config:yf,isDummy:!0,isLoading:!1,error:e.kind===`transient`&&!i.evict?`publicKeyInvalid`:`widgetUnavailable`});return}r({mode:s,config:yf,isDummy:!0,isLoading:!1,error:null})})();let l=t=>{if(!dd(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;a(e=>Sf(e??{},n))};return window.addEventListener(`message`,l),()=>{c=!0,window.removeEventListener(`message`,l)}},[e.publicKeyOverride,e.modeOverride,e.forceDummyData,e.configBase,e.kind,t]);let o=n.isDummy||e.forceDummyData===!0,s=e.configOverride?.operatorAvatars!==void 0,{keyed:c}=lf({modeOverride:e.modeOverride,publicKeyOverride:e.publicKeyOverride}),l=!c,d=b(()=>{let t=n.config;return i&&(t=Sf(t,l?i:of(i))),e.configOverride&&(t=Sf(t,l?e.configOverride:of(e.configOverride))),o&&t.operatorAvatars.length===0&&!s&&(t={...t,operatorAvatars:yf.operatorAvatars}),t},[n.config,l,i,e.configOverride,o,s]),f=e.styleRoot;y(()=>{d.theme&&kf(d.theme,f??document)},[d.theme,f]),v(()=>{d.theme&&_f(d.theme.fontFamily)},[d.theme]);let p=e.onLocaleStrategy;return v(()=>{let e=d.localeStrategy===`DEFAULT`?d.defaultLocale:d.localeStrategy;p?.(e)},[p,d.localeStrategy,d.defaultLocale]),{mode:n.mode,config:d,isDummy:o,isLoading:n.isLoading,error:n.error}}function Sf(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 Cf={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`},wf={sm:`--wx-radius-sm`,md:`--wx-radius`,lg:`--wx-radius-lg`,xl:`--wx-radius-xl`};function Tf(e){return e?Object.entries(e).filter(([,e])=>typeof e==`string`&&e.length>0).map(([e,t])=>`${Cf[e]}: ${t};`).join(` `):``}function Ef(e){return e?Object.entries(e).filter(([,e])=>typeof e==`number`&&Number.isFinite(e)).map(([e,t])=>`${wf[e]}: ${t}px;`).join(` `):``}var Df=new WeakMap;function Of(e){let t=Ef(e.radii),n=ff(e.fontFamily),r=[t,n?`--wx-font: ${n};`:``].filter(Boolean).join(` `),i=[Tf(e.light),r].filter(Boolean).join(` `),a=[Tf(e.dark),r].filter(Boolean).join(` `),o=[];return i&&o.push(`:root, :host { ${i} }`),a&&o.push(`[data-theme="dark"] { ${a} }`),o.join(` `)}function kf(e,t){let n=Of(e);if(!(t instanceof Document)){let e=t;if(typeof CSSStyleSheet<`u`&&`replaceSync`in CSSStyleSheet.prototype){let t=Df.get(e);t||(t=new CSSStyleSheet,Df.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 Af=s(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),jf=s(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),Mf=s(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),Nf=s(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),Pf=s(`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`}]]),Ff=p.forwardRef(({className:e,...t},n)=>w(`div`,{ref:n,className:o(`rounded-wx-lg bg-wx-bg-elevated text-wx-fg`,e),...t}));Ff.displayName=`Card`;var If=p.forwardRef(({className:e,...t},n)=>w(`div`,{ref:n,className:o(`rounded-wx bg-wx-bg-elevated-2 text-wx-fg`,e),...t}));If.displayName=`CardNested`;var Lf=p.forwardRef(({className:e,...t},n)=>w(`div`,{ref:n,className:o(`flex flex-col gap-1 px-5 pt-5`,e),...t}));Lf.displayName=`CardHeader`;var Rf=p.forwardRef(({className:e,...t},n)=>w(`p`,{ref:n,className:o(`text-base font-semibold text-wx-fg`,e),...t}));Rf.displayName=`CardTitle`;var zf=p.forwardRef(({className:e,...t},n)=>w(`p`,{ref:n,className:o(`text-sm text-wx-fg-muted`,e),...t}));zf.displayName=`CardSubtitle`;var Bf=p.forwardRef(({className:e,...t},n)=>w(`div`,{ref:n,className:o(`px-5 py-4`,e),...t}));Bf.displayName=`CardBody`;var Vf=p.forwardRef(({className:e,...t},n)=>w(`div`,{ref:n,className:o(`flex items-center justify-between px-5 py-3 border-t border-wx-border`,e),...t}));Vf.displayName=`CardFooter`;function Hf(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function Uf(...e){return t=>{let n=!1,r=e.map(e=>{let r=Hf(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():Hf(e[t],null)}}}}function Wf(...e){return p.useCallback(Uf(...e),e)}function Gf(e){let t=Kf(e),n=p.forwardRef((e,n)=>{let{children:r,...i}=e,a=p.Children.toArray(r),o=a.find(Jf);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 w(t,{...i,ref:n,children:p.isValidElement(e)?p.cloneElement(e,void 0,r):null})}return w(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function Kf(e){let t=p.forwardRef((e,t)=>{let{children:n,...r}=e;if(p.isValidElement(n)){let e=Xf(n),i=Yf(r,n.props);return n.type!==p.Fragment&&(i.ref=t?Uf(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 qf=Symbol(`radix.slottable`);function Jf(e){return p.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===qf}function Yf(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 Xf(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 Zf=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=Gf(`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),w(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),Qf=globalThis?.document?p.useLayoutEffect:()=>{};function $f(e,t){return p.useReducer((e,n)=>t[e][n]??e,e)}var ep=e=>{let{present:t,children:n}=e,r=tp(t),i=typeof n==`function`?n({present:r.isPresent}):p.Children.only(n),a=Wf(r.ref,rp(i));return typeof n==`function`||r.isPresent?p.cloneElement(i,{ref:a}):null};ep.displayName=`Presence`;function tp(e){let[t,n]=p.useState(),r=p.useRef(null),i=p.useRef(e),a=p.useRef(`none`),[o,s]=$f(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return p.useEffect(()=>{let e=np(r.current);a.current=o===`mounted`?e:`none`},[o]),Qf(()=>{let t=r.current,n=i.current;if(n!==e){let r=a.current,o=np(t);e?s(`MOUNT`):o===`none`||t?.display===`none`?s(`UNMOUNT`):s(n&&r!==o?`ANIMATION_OUT`:`UNMOUNT`),i.current=e}},[e,s]),Qf(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,o=a=>{let o=np(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=np(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 np(e){return e?.animationName||`none`}function rp(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 ip(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 w(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,ap(i,...t)]}function ap(...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 op(e){let t=p.useRef(e);return p.useEffect(()=>{t.current=e}),p.useMemo(()=>(...e)=>t.current?.(...e),[])}var sp=p.createContext(void 0);function cp(e){let t=p.useContext(sp);return e||t||`ltr`}function lp(e,[t,n]){return Math.min(n,Math.max(t,e))}typeof window<`u`&&window.document&&window.document.createElement;function up(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),n===!1||!r.defaultPrevented)return t?.(r)}}function dp(e,t){return p.useReducer((e,n)=>t[e][n]??e,e)}var fp=`ScrollArea`,[pp,mp]=ip(fp),[hp,gp]=pp(fp),_p=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),[T,E]=p.useState(!1),ee=Wf(t,e=>c(e)),D=cp(i);return w(hp,{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:T,onScrollbarYEnabledChange:E,onCornerWidthChange:y,onCornerHeightChange:x,children:w(Zf.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}})})});_p.displayName=fp;var vp=`ScrollAreaViewport`,yp=p.forwardRef((e,t)=>{let{__scopeScrollArea:n,children:r,nonce:i,...a}=e,o=gp(vp,n),s=Wf(t,p.useRef(null),o.onViewportChange);return T(C,{children:[w(`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}),w(Zf.div,{"data-radix-scroll-area-viewport":``,...a,ref:s,style:{overflowX:o.scrollbarXEnabled?`scroll`:`hidden`,overflowY:o.scrollbarYEnabled?`scroll`:`hidden`,...e.style},children:w(`div`,{ref:o.onContentChange,style:{minWidth:`100%`,display:`table`},children:r})})]})});yp.displayName=vp;var bp=`ScrollAreaScrollbar`,xp=p.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=gp(bp,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`?w(Sp,{...r,ref:t,forceMount:n}):i.type===`scroll`?w(Cp,{...r,ref:t,forceMount:n}):i.type===`auto`?w(wp,{...r,ref:t,forceMount:n}):i.type===`always`?w(Tp,{...r,ref:t}):null});xp.displayName=bp;var Sp=p.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=gp(bp,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]),w(ep,{present:n||a,children:w(wp,{"data-state":a?`visible`:`hidden`,...r,ref:t})})}),Cp=p.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=gp(bp,e.__scopeScrollArea),a=e.orientation===`horizontal`,o=Gp(()=>c(`SCROLL_END`),100),[s,c]=dp(`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]),w(ep,{present:n||s!==`hidden`,children:w(Tp,{"data-state":s===`hidden`?`hidden`:`visible`,...r,ref:t,onPointerEnter:up(e.onPointerEnter,()=>c(`POINTER_ENTER`)),onPointerLeave:up(e.onPointerLeave,()=>c(`POINTER_LEAVE`))})})}),wp=p.forwardRef((e,t)=>{let n=gp(bp,e.__scopeScrollArea),{forceMount:r,...i}=e,[a,o]=p.useState(!1),s=e.orientation===`horizontal`,c=Gp(()=>{if(n.viewport){let e=n.viewport.offsetWidth<n.viewport.scrollWidth,t=n.viewport.offsetHeight<n.viewport.scrollHeight;o(s?e:t)}},10);return Kp(n.viewport,c),Kp(n.content,c),w(ep,{present:r||a,children:w(Tp,{"data-state":a?`visible`:`hidden`,...i,ref:t})})}),Tp=p.forwardRef((e,t)=>{let{orientation:n=`vertical`,...r}=e,i=gp(bp,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=Rp(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 Bp(e,o.current,s,t)}return n===`horizontal`?w(Ep,{...u,ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){let e=i.viewport.scrollLeft,t=Vp(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`?w(Dp,{...u,ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){let e=i.viewport.scrollTop,t=Vp(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}),Ep=p.forwardRef((e,t)=>{let{sizes:n,onSizesChange:r,...i}=e,a=gp(bp,e.__scopeScrollArea),[o,s]=p.useState(),c=p.useRef(null),l=Wf(t,c,a.onScrollbarXChange);return p.useEffect(()=>{c.current&&s(getComputedStyle(c.current))},[c]),w(Ap,{"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":zp(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),Up(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:Lp(o.paddingLeft),paddingEnd:Lp(o.paddingRight)}})}})}),Dp=p.forwardRef((e,t)=>{let{sizes:n,onSizesChange:r,...i}=e,a=gp(bp,e.__scopeScrollArea),[o,s]=p.useState(),c=p.useRef(null),l=Wf(t,c,a.onScrollbarYChange);return p.useEffect(()=>{c.current&&s(getComputedStyle(c.current))},[c]),w(Ap,{"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":zp(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),Up(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:Lp(o.paddingTop),paddingEnd:Lp(o.paddingBottom)}})}})}),[Op,kp]=pp(bp),Ap=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=gp(bp,n),[h,g]=p.useState(null),_=Wf(t,e=>g(e)),v=p.useRef(null),y=p.useRef(``),b=m.viewport,x=r.content-r.viewport,S=op(u),C=op(c),T=Gp(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]),Kp(h,T),Kp(m.content,T),w(Op,{scope:n,scrollbar:h,hasThumb:i,onThumbChange:op(a),onThumbPointerUp:op(o),onThumbPositionChange:C,onThumbPointerDown:op(s),children:w(Zf.div,{...f,ref:_,style:{position:`absolute`,...f.style},onPointerDown:up(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:up(e.onPointerMove,E),onPointerUp:up(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})})})}),jp=`ScrollAreaThumb`,Mp=p.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=kp(jp,e.__scopeScrollArea);return w(ep,{present:n||i.hasThumb,children:w(Np,{ref:t,...r})})}),Np=p.forwardRef((e,t)=>{let{__scopeScrollArea:n,style:r,...i}=e,a=gp(jp,n),o=kp(jp,n),{onThumbPositionChange:s}=o,c=Wf(t,e=>o.onThumbChange(e)),l=p.useRef(void 0),u=Gp(()=>{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=Wp(e,s),s())};return s(),e.addEventListener(`scroll`,t),()=>e.removeEventListener(`scroll`,t)}},[a.viewport,u,s]),w(Zf.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:up(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:up(e.onPointerUp,o.onThumbPointerUp)})});Mp.displayName=jp;var Pp=`ScrollAreaCorner`,Fp=p.forwardRef((e,t)=>{let n=gp(Pp,e.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return n.type!==`scroll`&&r?w(Ip,{...e,ref:t}):null});Fp.displayName=Pp;var Ip=p.forwardRef((e,t)=>{let{__scopeScrollArea:n,...r}=e,i=gp(Pp,n),[a,o]=p.useState(0),[s,c]=p.useState(0),l=!!(a&&s);return Kp(i.scrollbarX,()=>{let e=i.scrollbarX?.offsetHeight||0;i.onCornerHeightChange(e),c(e)}),Kp(i.scrollbarY,()=>{let e=i.scrollbarY?.offsetWidth||0;i.onCornerWidthChange(e),o(e)}),l?w(Zf.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 Lp(e){return e?parseInt(e,10):0}function Rp(e,t){let n=e/t;return isNaN(n)?0:n}function zp(e){let t=Rp(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function Bp(e,t,n,r=`ltr`){let i=zp(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 Hp([c,l],d)(e)}function Vp(e,t,n=`ltr`){let r=zp(t),i=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-i,o=t.content-t.viewport,s=a-r,c=lp(e,n===`ltr`?[0,o]:[o*-1,0]);return Hp([0,o],[0,s])(c)}function Hp(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 Up(e,t){return e>0&&e<t}var Wp=(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 Gp(e,t){let n=op(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 Kp(e,t){let n=op(t);Qf(()=>{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 qp=_p,Jp=yp,Yp=Fp;function Xp({className:e,viewportRef:t,followDirection:n,children:r,onScroll:i,...a}){return T(qp,{"data-slot":`scroll-area`,className:o(`relative min-h-0 min-w-0 overflow-hidden`,n&&`[direction:inherit]`,e),...a,children:[w(Jp,{ref:t,"data-slot":`scroll-area-viewport`,onScroll:i,className:o(`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}),w(Zp,{}),w(Yp,{})]})}function Zp({className:e,orientation:t=`vertical`,...n}){return w(xp,{"data-slot":`scroll-area-scrollbar`,orientation:t,className:o(`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:w(Mp,{"data-slot":`scroll-area-thumb`,className:o(`relative flex-1 rounded-full`,`bg-wx-fg-muted/40 hover:bg-wx-fg-muted/60 transition-colors`)})})}function Qp(){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 $p(e,t){let[n,r]=S(null);return v(()=>{if(!e)return;if(t!=null){r(t),Ed(e,t);return}let n=!1;return Td(e).then(e=>{!n&&e!=null&&r(t=>t??e)}),()=>{n=!0}},[e,t]),t??n}function em(e,t){try{return new URL(e).pathname.replace(/\/$/,``)===new URL(t).pathname.replace(/\/$/,``)}catch{return e===t}}function tm(e,t,n){let r=[...e,t];return r.length>n?r.slice(r.length-n):r}var nm=m({trackPageView:()=>{},trackLinkClick:()=>{}});function rm(){return _(nm)}function im({children:e,tracking:t,enabled:n,token:r}){let i=Jd(),a=lu(),[o]=rd(),[s]=ad(),c=Ad(),l=n&&(t?.trackWebsitePages??!0),u=n&&(t?.trackWidgetLinks??!0),d=x([]),f=x(null),p=x(null),m=x(null),h=g(e=>{if(c){c.enqueue({op:e.kind===`page`?`trackPageView`:`trackLinkClick`,semantics:`queue`,payload:e.input});return}e.kind===`page`?o({variables:{input:e.input}}).catch(()=>{}):s({variables:{input:e.input}}).catch(()=>{})},[c,o,s]),_=g(e=>{c||a.token?h(e):d.current=tm(d.current,e,50)},[c,h,a]);v(()=>{if(!r)return;let e=d.current;d.current=[];for(let t of e)h(t)},[r,h]),v(()=>()=>{p.current&&clearTimeout(p.current)},[]);let y=g((e,t)=>{!l||!e||f.current&&em(f.current,e)||(p.current&&clearTimeout(p.current),p.current=setTimeout(()=>{f.current=e,_({kind:`page`,input:{url:e,title:t?.title,referrer:t?.referrer,occurredAt:new Date().toISOString()}})},500))},[l,_]),S=g(e=>{!u||!e.url||_({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()}})},[u,_]);v(()=>{if(!l||typeof window>`u`)return;if(i.kind===`iframe`){let e=e=>{if(!dd(e,i.kind))return;let t=e.data;!t||typeof t!=`object`||t.type!==`wexio:host-navigation:v1`||typeof t.url==`string`&&y(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=()=>y(window.location.href,{title:document.title,referrer:document.referrer}),t=()=>{m.current?.();let t=document.querySelector(`title`),n=!1,r=()=>{o?.disconnect(),clearTimeout(a),m.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})),m.current=r};e();let n=window.history.pushState,r=window.history.replaceState;return window.history.pushState=function(...e){let r=n.apply(this,e);return t(),r},window.history.replaceState=function(...e){let n=r.apply(this,e);return t(),n},window.addEventListener(`popstate`,t),window.addEventListener(`hashchange`,t),()=>{m.current?.(),window.history.pushState=n,window.history.replaceState=r,window.removeEventListener(`popstate`,t),window.removeEventListener(`hashchange`,t)}},[l,i.kind,y]);let C=b(()=>({trackPageView:y,trackLinkClick:S}),[y,S]);return w(nm.Provider,{value:C,children:e})}function am({items:e,initialIndex:t,open:n,onClose:r}){let s=i(`lightbox`),[c,l]=S(t),u=Jd(),p=!(u.embedded??!1)||(u.lightboxViewport??!0);v(()=>{n&&l(t)},[n,t]);let m=e.length,h=e[c],_=g(()=>{l(e=>(e+1)%m)},[m]),y=g(()=>{l(e=>(e-1+m)%m)},[m]);v(()=>{if(!n)return;let e=e=>{e.key===`Escape`?r():e.key===`ArrowRight`?_():e.key===`ArrowLeft`&&y()};document.addEventListener(`keydown`,e);let t=document.body.style.overflow;return p&&(document.body.style.overflow=`hidden`),()=>{document.removeEventListener(`keydown`,e),p&&(document.body.style.overflow=t)}},[n,r,_,y,p]);let b=u.themeRoot??(typeof document<`u`?document.body:null);return b?E(w(d,{children:n&&h&&T(a.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.15},onClick:r,className:o(p?`fixed`:`absolute`,`inset-0 z-2147483647 flex items-center justify-center`,`bg-black/85 backdrop-blur-sm`),role:`dialog`,"aria-modal":`true`,"aria-label":h.alt||s(`mediaPreview`),children:[w(`button`,{type:`button`,onClick:e=>{e.stopPropagation(),r()},"aria-label":s(`close`),className:o(`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:w(f,{size:18})}),m>1&&T(C,{children:[w(`button`,{type:`button`,onClick:e=>{e.stopPropagation(),y()},"aria-label":s(`previous`),className:o(`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:w(Mf,{size:20})}),w(`button`,{type:`button`,onClick:e=>{e.stopPropagation(),_()},"aria-label":s(`next`),className:o(`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:w(Nf,{size:20})})]}),w(a.div,{initial:{scale:.96,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.96,opacity:0},transition:{duration:.18,ease:`easeOut`},className:o(`pointer-events-none flex items-center justify-center`,p?`max-h-[90vh] max-w-[90vw]`:`absolute inset-0 p-6`),children:h.mimetype.startsWith(`video/`)?w(`video`,{src:h.url,controls:!0,autoPlay:!0,onClick:e=>e.stopPropagation(),className:o(`pointer-events-auto rounded-wx-lg`,p?`max-h-[90vh] max-w-[90vw]`:`max-h-full max-w-full`)}):h.mimetype===`application/pdf`?w(`iframe`,{src:h.url,title:h.alt||`PDF preview`,onClick:e=>e.stopPropagation(),className:o(`pointer-events-auto rounded-wx-lg border-0 bg-white`,p?`h-[90vh] w-[90vw]`:`h-full w-full`)}):w(a.img,{src:h.url,alt:h.alt,onClick:e=>e.stopPropagation(),draggable:!1,drag:m>1?`x`:!1,dragConstraints:{left:0,right:0},dragElastic:.18,dragMomentum:!1,onDragEnd:(e,t)=>{t.offset.x<=-60?_():t.offset.x>=60&&y()},className:o(`pointer-events-auto rounded-wx-lg object-contain`,m>1&&`cursor-grab active:cursor-grabbing`,p?`max-h-[90vh] max-w-[90vw]`:`max-h-full max-w-full`)})},`${c}-${h.url}`),m>1&&T(`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:[c+1,` / `,m]})]},`media-lightbox`)}),b):null}function om(e,t){let n=t||{};return(e[e.length-1]===``?[...e,``]:e).join((n.padRight?` `:``)+`,`+(n.padLeft===!1?``:` `)).trim()}var sm=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,cm=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,lm={};function um(e,t){return((t||lm).jsx?cm:sm).test(e)}var dm=/[ \t\n\f\r]/g;function fm(e){return typeof e==`object`?e.type===`text`?pm(e.value):!1:pm(e)}function pm(e){return e.replace(dm,``)===``}var mm=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};mm.prototype.normal={},mm.prototype.property={},mm.prototype.space=void 0;function hm(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new mm(n,r,t)}function gm(e){return e.toLowerCase()}var _m=class{constructor(e,t){this.attribute=t,this.property=e}};_m.prototype.attribute=``,_m.prototype.booleanish=!1,_m.prototype.boolean=!1,_m.prototype.commaOrSpaceSeparated=!1,_m.prototype.commaSeparated=!1,_m.prototype.defined=!1,_m.prototype.mustUseProperty=!1,_m.prototype.number=!1,_m.prototype.overloadedBoolean=!1,_m.prototype.property=``,_m.prototype.spaceSeparated=!1,_m.prototype.space=void 0;var vm=e({boolean:()=>K,booleanish:()=>bm,commaOrSpaceSeparated:()=>Cm,commaSeparated:()=>Sm,number:()=>q,overloadedBoolean:()=>xm,spaceSeparated:()=>J}),ym=0,K=wm(),bm=wm(),xm=wm(),q=wm(),J=wm(),Sm=wm(),Cm=wm();function wm(){return 2**++ym}var Tm=Object.keys(vm),Em=class extends _m{constructor(e,t,n,r){let i=-1;if(super(e,t),Dm(this,`space`,r),typeof n==`number`)for(;++i<Tm.length;){let e=Tm[i];Dm(this,Tm[i],(n&vm[e])===vm[e])}}};Em.prototype.defined=!0;function Dm(e,t,n){n&&(e[t]=n)}function Om(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new Em(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[gm(r)]=r,n[gm(a.attribute)]=r}return new mm(t,n,e.space)}var km=Om({properties:{ariaActiveDescendant:null,ariaAtomic:bm,ariaAutoComplete:null,ariaBusy:bm,ariaChecked:bm,ariaColCount:q,ariaColIndex:q,ariaColSpan:q,ariaControls:J,ariaCurrent:null,ariaDescribedBy:J,ariaDetails:null,ariaDisabled:bm,ariaDropEffect:J,ariaErrorMessage:null,ariaExpanded:bm,ariaFlowTo:J,ariaGrabbed:bm,ariaHasPopup:null,ariaHidden:bm,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:J,ariaLevel:q,ariaLive:null,ariaModal:bm,ariaMultiLine:bm,ariaMultiSelectable:bm,ariaOrientation:null,ariaOwns:J,ariaPlaceholder:null,ariaPosInSet:q,ariaPressed:bm,ariaReadOnly:bm,ariaRelevant:null,ariaRequired:bm,ariaRoleDescription:J,ariaRowCount:q,ariaRowIndex:q,ariaRowSpan:q,ariaSelected:bm,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 Am(e,t){return t in e?e[t]:t}function jm(e,t){return Am(e,t.toLowerCase())}var Mm=Om({attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:Sm,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:bm,controls:K,controlsList:J,coords:q|Sm,crossOrigin:null,data:null,dateTime:null,decoding:null,default:K,defer:K,dir:null,dirName:null,disabled:K,download:xm,draggable:bm,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:K,formTarget:null,headers:J,height:q,hidden:xm,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:bm,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:bm,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:bm,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:jm}),Nm=Om({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:Cm,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:Sm,g2:Sm,glyphName:Sm,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:Cm,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:Cm,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Cm,rev:Cm,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Cm,requiredFeatures:Cm,requiredFonts:Cm,requiredFormats:Cm,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:Cm,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:Cm,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:Cm,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:Am}),Pm=Om({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()}}),Fm=Om({attributes:{xmlnsxlink:`xmlns:xlink`},properties:{xmlnsXLink:null,xmlns:null},space:`xmlns`,transform:jm}),Im=Om({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()}}),Lm={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`},Rm=/[A-Z]/g,zm=/-[a-z]/g,Bm=/^data[-\w.:]+$/i;function Vm(e,t){let n=gm(t),r=t,i=_m;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&Bm.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(zm,Um);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!zm.test(e)){let n=e.replace(Rm,Hm);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=Em}return new i(r,t)}function Hm(e){return`-`+e.toLowerCase()}function Um(e){return e.charAt(1).toUpperCase()}var Wm=hm([km,Mm,Pm,Fm,Im],`html`),Gm=hm([km,Nm,Pm,Fm,Im],`svg`);function Km(e){return e.join(` `).trim()}var qm=l(((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=`
254
+ `;function ud(e){return Dl(ld,{...od,...e})}function dd(e,t){return typeof window>`u`||!e.source?!1:e.source===(t===`iframe`?window.parent:window)}var fd=`wexio-cache`,pd=`kv`,md=1,hd={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}`},gd=4320*60*1e3;function _d(e){return!!e&&typeof e==`object`&&typeof e.at==`number`}function vd(){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 yd(){return typeof indexedDB>`u`?Promise.resolve(null):new Promise(e=>{let t;try{t=indexedDB.open(fd,md)}catch{e(null);return}t.onupgradeneeded=()=>{let e=t.result;e.objectStoreNames.contains(pd)||e.createObjectStore(pd)},t.onsuccess=()=>e(t.result),t.onerror=()=>e(null),t.onblocked=()=>e(null)})}var bd={get:e=>yd().then(t=>new Promise(n=>{if(!t){n(null);return}try{let r=t.transaction(pd,`readonly`).objectStore(pd).get(e);r.onsuccess=()=>n(_d(r.result)?r.result:null),r.onerror=()=>n(null)}catch{n(null)}})),set:(e,t)=>yd().then(n=>new Promise(r=>{if(!n){r();return}try{let i=n.transaction(pd,`readwrite`);i.objectStore(pd).put(t,e),i.oncomplete=()=>r(),i.onerror=()=>r(),i.onabort=()=>r()}catch{r()}})),prune:e=>yd().then(t=>new Promise(n=>{if(!t){n();return}try{let r=t.transaction(pd,`readwrite`),i=r.objectStore(pd).openCursor();i.onsuccess=()=>{let t=i.result;if(!t)return;let n=t.value;(!_d(n)||n.at<e)&&t.delete(),t.continue()},r.oncomplete=()=>n(),r.onerror=()=>n(),r.onabort=()=>n()}catch{n()}})),evictPrefix:e=>yd().then(t=>new Promise(n=>{if(!t){n();return}try{let r=t.transaction(pd,`readwrite`),i=IDBKeyRange.bound(e,`${e}\uffff`),a=r.objectStore(pd).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 xd(){return typeof indexedDB>`u`?vd():bd}var Sd=xd(),Cd=!1;function wd(){Cd||(Cd=!0,Sd.prune(Date.now()-gd).catch(()=>void 0))}async function Td(e){wd();try{let t=await Sd.get(e);return t?Date.now()-t.at>2592e5?(Sd.prune(Date.now()-gd).catch(()=>void 0),null):t.v:null}catch{return null}}function Ed(e,t){return wd(),Sd.set(e,{v:t,at:Date.now()}).catch(()=>void 0)}function Dd(e){return Sd.evictPrefix(e).catch(()=>void 0)}var Od=m(null),kd=Od.Provider;function Ad(){return _(Od)}function jd(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 Md=`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 Nd(e){return typeof e==`string`&&Md.includes(e)}var Pd={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 Fd(e){return Pd[Nd(e)?e:`en`]()}function Id(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 Ld(e){return Id(await Fd(e))}var Rd={raw:()=>void 0,ready:!1};function zd(e){return e.ready!==!1}var Bd=Md,Vd=jd(Ld);function Hd(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 Ud(e,t){let[n,r]=S(()=>{let t=Vd.peek(e);return t?{raw:Hd(t)}:null});return v(()=>{let t=!0;return Vd.get(e).then(e=>{!t||!e||r({raw:Hd(e)})}),()=>{t=!1}},[e]),n??t}function Wd(){return Ud(u(),Rd)}function Gd(){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`}),onLauncherPosition:t=>e({type:`wexio:widget:position:v1`,side:t}),onLauncherOffset:t=>e({type:`wexio:widget:offset:v1`,x:t.x,y:t.y}),onHidden:()=>e({type:`wexio:widget:hidden:v1`}),onActive:()=>e({type:`wexio:widget:active:v1`})}}var Kd=m(null);function qd({env:e,children:t}){return w(Kd.Provider,{value:e,children:t})}function Jd(){let e=_(Kd),t=b(()=>Gd(),[]);return e??t}var Yd=new Map,Xd=new Set;function Zd(e,t,n){if(Xd.has(e))return Promise.resolve();let r=Ed(t,n),i=Yd.get(e)??new Set;return Yd.set(e,i),i.add(r),r.finally(()=>i.delete(r)),r}async function Qd(e){Xd.add(e),await Promise.all([...Yd.get(e)??[]]),await Promise.all([Dd(hd.configPrefix(e)),Dd(hd.gate(e))])}var $d=new Set([`status`,`branding`,`integrationId`,`name`,`security`]),ef=new Set([`__proto__`,`constructor`,`prototype`]);function tf(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}function nf(e){if(Array.isArray(e)){let t=!1,n=e.map(e=>{let n=nf(e);return n!==e&&(t=!0),n});return t?n:e}if(!tf(e))return e;let t=!1,n={};for(let r of Object.keys(e)){if(ef.has(r)){t=!0;continue}let i=nf(e[r]);i!==e[r]&&(t=!0),n[r]=i}return t?n:e}function rf(e){if(!(!tf(e)||typeof e.enabled!=`boolean`))return{enabled:e.enabled}}function af(e){if(!tf(e))return;let t=rf(e.google),n=rf(e.passkey);if(!(!t&&!n))return{...t&&{google:t},...n&&{passkey:n}}}function of(e){if(!tf(e))return{};let t=nf(e),n={};for(let e of Object.keys(t))$d.has(e)||(n[e]=t[e]);let r=af(t.security);return r&&(n.security=r),n}function sf(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 cf(e,t,n){let r=sf(e,e.kind===`transient`?await Td(n):null);return r.action===`hide`&&r.evict&&await Qd(t),r}function lf(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:zl()||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 uf=/^[\w ,."'-]+$/;function df(e){if(typeof e!=`string`)return!1;let t=e.trim();if(!t||t.length>200||!uf.test(t))return!1;for(let e of[`'`,`"`])if((t.split(e).length-1)%2!=0)return!1;return!0}var ff=e=>df(e)?e.trim():void 0,pf=`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(`.`),mf=`400;500;600;700`,hf={Roboto:`400;500;700`,Lato:`400;700`},gf=new Map(pf.map(e=>[e.toLowerCase(),`${e.replace(/ /g,`+`)}:wght@${hf[e]??mf}`]));function _f(e){if(typeof document>`u`)return;let t=ff(e);if(!t)return;let n=t.split(`,`)[0]?.trim().replace(/^['"]|['"]$/g,``);if(!n)return;let r=gf.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 vf=`wexio-trust:public`,yf={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:xu(`/logo-dark.png`),aiAssistant:{enabled:!0,name:null,avatar:xu(`/logo-dark.png`)},commands:[`/start`,`/help`,`/contact`],messages:[],showRelatedNews:!0,showRelatedHelpArticles:!0,showReactionCounts:!1,profile:null},botProtection:null,tracking:null},bf=[{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 xf(){let e=Jd(),t=u(),[n,r]=S({mode:`demo`,config:yf,isDummy:!0,isLoading:!0,error:null}),[i,a]=S(null);v(()=>{let n=new URL(window.location.href),i=n.searchParams.get(`mode`),{publicKey:o}=lf({modeOverride:e.modeOverride,publicKeyOverride:e.publicKeyOverride},n.href),s=e.modeOverride??(o?`production`:i===`preview`?`preview`:`demo`),c=!1;(async()=>{if(e.configBase){let t=null;if(o){let n=await Xl(o);if(c)return;if(n.kind===`ok`)t=n.value,Zd(o,hd.gate(o),t);else if(e.forceDummyData===!0&&!(n.kind===`definitive`&&typeof n.reason==`string`))t=null;else{let e=await cf(n,o,hd.gate(o));if(c)return;if(e.action===`hide`){r({mode:s,config:yf,isDummy:!0,isLoading:!1,error:n.kind===`transient`&&!e.evict?`publicKeyInvalid`:`widgetUnavailable`});return}t=e.value}}let n=e.configBase.security,i=t?.security,a={requireAuth:i?.requireAuth??!1,google:{enabled:n?.google?.enabled??i?.google?.enabled??!1,clientId:i?.google?.clientId??null},passkey:{enabled:n?.passkey?.enabled??i?.passkey?.enabled??!1}},{security:l,...u}=e.configBase;r({mode:s,config:{...u,security:a,branding:t?.branding??null,status:t?.status??`active`},isDummy:e.forceDummyData===!0,isLoading:!1,error:null});return}if(e.forceDummyData!==void 0){r({mode:s,config:yf,isDummy:e.forceDummyData,isLoading:!1,error:null});return}if(o){let e=await Vl(o,t);if(c)return;let n=hd.config(o,t);if(e.kind===`ok`){r({mode:s,config:e.value,isDummy:!1,isLoading:!1,error:null}),Zd(o,n,e.value);return}let i=await cf(e,o,n);if(c)return;if(i.action===`show`){r({mode:s,config:i.value,isDummy:!1,isLoading:!1,error:null});return}r({mode:s,config:yf,isDummy:!0,isLoading:!1,error:e.kind===`transient`&&!i.evict?`publicKeyInvalid`:`widgetUnavailable`});return}r({mode:s,config:yf,isDummy:!0,isLoading:!1,error:null})})();let l=t=>{if(!dd(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;a(e=>Sf(e??{},n))};return window.addEventListener(`message`,l),()=>{c=!0,window.removeEventListener(`message`,l)}},[e.publicKeyOverride,e.modeOverride,e.forceDummyData,e.configBase,e.kind,t]);let o=n.isDummy||e.forceDummyData===!0,s=e.configOverride?.operatorAvatars!==void 0,{keyed:c}=lf({modeOverride:e.modeOverride,publicKeyOverride:e.publicKeyOverride}),l=!c,d=b(()=>{let t=n.config;return i&&(t=Sf(t,l?i:of(i))),e.configOverride&&(t=Sf(t,l?e.configOverride:of(e.configOverride))),o&&t.operatorAvatars.length===0&&!s&&(t={...t,operatorAvatars:yf.operatorAvatars}),t},[n.config,l,i,e.configOverride,o,s]),f=e.styleRoot;y(()=>{d.theme&&kf(d.theme,f??document)},[d.theme,f]),v(()=>{d.theme&&_f(d.theme.fontFamily)},[d.theme]);let p=e.onLocaleStrategy;return v(()=>{let e=d.localeStrategy===`DEFAULT`?d.defaultLocale:d.localeStrategy;p?.(e)},[p,d.localeStrategy,d.defaultLocale]),{mode:n.mode,config:d,isDummy:o,isLoading:n.isLoading,error:n.error}}function Sf(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 Cf={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`},wf={sm:`--wx-radius-sm`,md:`--wx-radius`,lg:`--wx-radius-lg`,xl:`--wx-radius-xl`};function Tf(e){return e?Object.entries(e).filter(([,e])=>typeof e==`string`&&e.length>0).map(([e,t])=>`${Cf[e]}: ${t};`).join(` `):``}function Ef(e){return e?Object.entries(e).filter(([,e])=>typeof e==`number`&&Number.isFinite(e)).map(([e,t])=>`${wf[e]}: ${t}px;`).join(` `):``}var Df=new WeakMap;function Of(e){let t=Ef(e.radii),n=ff(e.fontFamily),r=[t,n?`--wx-font: ${n};`:``].filter(Boolean).join(` `),i=[Tf(e.light),r].filter(Boolean).join(` `),a=[Tf(e.dark),r].filter(Boolean).join(` `),o=[];return i&&o.push(`:root, :host { ${i} }`),a&&o.push(`[data-theme="dark"] { ${a} }`),o.join(` `)}function kf(e,t){let n=Of(e);if(!(t instanceof Document)){let e=t;if(typeof CSSStyleSheet<`u`&&`replaceSync`in CSSStyleSheet.prototype){let t=Df.get(e);t||(t=new CSSStyleSheet,Df.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 Af=s(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),jf=s(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),Mf=s(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),Nf=s(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),Pf=s(`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`}]]),Ff=p.forwardRef(({className:e,...t},n)=>w(`div`,{ref:n,className:o(`rounded-wx-lg bg-wx-bg-elevated text-wx-fg`,e),...t}));Ff.displayName=`Card`;var If=p.forwardRef(({className:e,...t},n)=>w(`div`,{ref:n,className:o(`rounded-wx bg-wx-bg-elevated-2 text-wx-fg`,e),...t}));If.displayName=`CardNested`;var Lf=p.forwardRef(({className:e,...t},n)=>w(`div`,{ref:n,className:o(`flex flex-col gap-1 px-5 pt-5`,e),...t}));Lf.displayName=`CardHeader`;var Rf=p.forwardRef(({className:e,...t},n)=>w(`p`,{ref:n,className:o(`text-base font-semibold text-wx-fg`,e),...t}));Rf.displayName=`CardTitle`;var zf=p.forwardRef(({className:e,...t},n)=>w(`p`,{ref:n,className:o(`text-sm text-wx-fg-muted`,e),...t}));zf.displayName=`CardSubtitle`;var Bf=p.forwardRef(({className:e,...t},n)=>w(`div`,{ref:n,className:o(`px-5 py-4`,e),...t}));Bf.displayName=`CardBody`;var Vf=p.forwardRef(({className:e,...t},n)=>w(`div`,{ref:n,className:o(`flex items-center justify-between px-5 py-3 border-t border-wx-border`,e),...t}));Vf.displayName=`CardFooter`;function Hf(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function Uf(...e){return t=>{let n=!1,r=e.map(e=>{let r=Hf(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():Hf(e[t],null)}}}}function Wf(...e){return p.useCallback(Uf(...e),e)}function Gf(e){let t=Kf(e),n=p.forwardRef((e,n)=>{let{children:r,...i}=e,a=p.Children.toArray(r),o=a.find(Jf);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 w(t,{...i,ref:n,children:p.isValidElement(e)?p.cloneElement(e,void 0,r):null})}return w(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function Kf(e){let t=p.forwardRef((e,t)=>{let{children:n,...r}=e;if(p.isValidElement(n)){let e=Xf(n),i=Yf(r,n.props);return n.type!==p.Fragment&&(i.ref=t?Uf(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 qf=Symbol(`radix.slottable`);function Jf(e){return p.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===qf}function Yf(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 Xf(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 Zf=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=Gf(`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),w(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),Qf=globalThis?.document?p.useLayoutEffect:()=>{};function $f(e,t){return p.useReducer((e,n)=>t[e][n]??e,e)}var ep=e=>{let{present:t,children:n}=e,r=tp(t),i=typeof n==`function`?n({present:r.isPresent}):p.Children.only(n),a=Wf(r.ref,rp(i));return typeof n==`function`||r.isPresent?p.cloneElement(i,{ref:a}):null};ep.displayName=`Presence`;function tp(e){let[t,n]=p.useState(),r=p.useRef(null),i=p.useRef(e),a=p.useRef(`none`),[o,s]=$f(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return p.useEffect(()=>{let e=np(r.current);a.current=o===`mounted`?e:`none`},[o]),Qf(()=>{let t=r.current,n=i.current;if(n!==e){let r=a.current,o=np(t);e?s(`MOUNT`):o===`none`||t?.display===`none`?s(`UNMOUNT`):s(n&&r!==o?`ANIMATION_OUT`:`UNMOUNT`),i.current=e}},[e,s]),Qf(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,o=a=>{let o=np(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=np(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 np(e){return e?.animationName||`none`}function rp(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 ip(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 w(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,ap(i,...t)]}function ap(...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 op(e){let t=p.useRef(e);return p.useEffect(()=>{t.current=e}),p.useMemo(()=>(...e)=>t.current?.(...e),[])}var sp=p.createContext(void 0);function cp(e){let t=p.useContext(sp);return e||t||`ltr`}function lp(e,[t,n]){return Math.min(n,Math.max(t,e))}typeof window<`u`&&window.document&&window.document.createElement;function up(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),n===!1||!r.defaultPrevented)return t?.(r)}}function dp(e,t){return p.useReducer((e,n)=>t[e][n]??e,e)}var fp=`ScrollArea`,[pp,mp]=ip(fp),[hp,gp]=pp(fp),_p=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),[T,E]=p.useState(!1),ee=Wf(t,e=>c(e)),D=cp(i);return w(hp,{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:T,onScrollbarYEnabledChange:E,onCornerWidthChange:y,onCornerHeightChange:x,children:w(Zf.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}})})});_p.displayName=fp;var vp=`ScrollAreaViewport`,yp=p.forwardRef((e,t)=>{let{__scopeScrollArea:n,children:r,nonce:i,...a}=e,o=gp(vp,n),s=Wf(t,p.useRef(null),o.onViewportChange);return T(C,{children:[w(`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}),w(Zf.div,{"data-radix-scroll-area-viewport":``,...a,ref:s,style:{overflowX:o.scrollbarXEnabled?`scroll`:`hidden`,overflowY:o.scrollbarYEnabled?`scroll`:`hidden`,...e.style},children:w(`div`,{ref:o.onContentChange,style:{minWidth:`100%`,display:`table`},children:r})})]})});yp.displayName=vp;var bp=`ScrollAreaScrollbar`,xp=p.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=gp(bp,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`?w(Sp,{...r,ref:t,forceMount:n}):i.type===`scroll`?w(Cp,{...r,ref:t,forceMount:n}):i.type===`auto`?w(wp,{...r,ref:t,forceMount:n}):i.type===`always`?w(Tp,{...r,ref:t}):null});xp.displayName=bp;var Sp=p.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=gp(bp,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]),w(ep,{present:n||a,children:w(wp,{"data-state":a?`visible`:`hidden`,...r,ref:t})})}),Cp=p.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=gp(bp,e.__scopeScrollArea),a=e.orientation===`horizontal`,o=Gp(()=>c(`SCROLL_END`),100),[s,c]=dp(`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]),w(ep,{present:n||s!==`hidden`,children:w(Tp,{"data-state":s===`hidden`?`hidden`:`visible`,...r,ref:t,onPointerEnter:up(e.onPointerEnter,()=>c(`POINTER_ENTER`)),onPointerLeave:up(e.onPointerLeave,()=>c(`POINTER_LEAVE`))})})}),wp=p.forwardRef((e,t)=>{let n=gp(bp,e.__scopeScrollArea),{forceMount:r,...i}=e,[a,o]=p.useState(!1),s=e.orientation===`horizontal`,c=Gp(()=>{if(n.viewport){let e=n.viewport.offsetWidth<n.viewport.scrollWidth,t=n.viewport.offsetHeight<n.viewport.scrollHeight;o(s?e:t)}},10);return Kp(n.viewport,c),Kp(n.content,c),w(ep,{present:r||a,children:w(Tp,{"data-state":a?`visible`:`hidden`,...i,ref:t})})}),Tp=p.forwardRef((e,t)=>{let{orientation:n=`vertical`,...r}=e,i=gp(bp,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=Rp(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 Bp(e,o.current,s,t)}return n===`horizontal`?w(Ep,{...u,ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){let e=i.viewport.scrollLeft,t=Vp(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`?w(Dp,{...u,ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){let e=i.viewport.scrollTop,t=Vp(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}),Ep=p.forwardRef((e,t)=>{let{sizes:n,onSizesChange:r,...i}=e,a=gp(bp,e.__scopeScrollArea),[o,s]=p.useState(),c=p.useRef(null),l=Wf(t,c,a.onScrollbarXChange);return p.useEffect(()=>{c.current&&s(getComputedStyle(c.current))},[c]),w(Ap,{"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":zp(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),Up(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:Lp(o.paddingLeft),paddingEnd:Lp(o.paddingRight)}})}})}),Dp=p.forwardRef((e,t)=>{let{sizes:n,onSizesChange:r,...i}=e,a=gp(bp,e.__scopeScrollArea),[o,s]=p.useState(),c=p.useRef(null),l=Wf(t,c,a.onScrollbarYChange);return p.useEffect(()=>{c.current&&s(getComputedStyle(c.current))},[c]),w(Ap,{"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":zp(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),Up(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:Lp(o.paddingTop),paddingEnd:Lp(o.paddingBottom)}})}})}),[Op,kp]=pp(bp),Ap=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=gp(bp,n),[h,g]=p.useState(null),_=Wf(t,e=>g(e)),v=p.useRef(null),y=p.useRef(``),b=m.viewport,x=r.content-r.viewport,S=op(u),C=op(c),T=Gp(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]),Kp(h,T),Kp(m.content,T),w(Op,{scope:n,scrollbar:h,hasThumb:i,onThumbChange:op(a),onThumbPointerUp:op(o),onThumbPositionChange:C,onThumbPointerDown:op(s),children:w(Zf.div,{...f,ref:_,style:{position:`absolute`,...f.style},onPointerDown:up(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:up(e.onPointerMove,E),onPointerUp:up(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})})})}),jp=`ScrollAreaThumb`,Mp=p.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=kp(jp,e.__scopeScrollArea);return w(ep,{present:n||i.hasThumb,children:w(Np,{ref:t,...r})})}),Np=p.forwardRef((e,t)=>{let{__scopeScrollArea:n,style:r,...i}=e,a=gp(jp,n),o=kp(jp,n),{onThumbPositionChange:s}=o,c=Wf(t,e=>o.onThumbChange(e)),l=p.useRef(void 0),u=Gp(()=>{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=Wp(e,s),s())};return s(),e.addEventListener(`scroll`,t),()=>e.removeEventListener(`scroll`,t)}},[a.viewport,u,s]),w(Zf.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:up(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:up(e.onPointerUp,o.onThumbPointerUp)})});Mp.displayName=jp;var Pp=`ScrollAreaCorner`,Fp=p.forwardRef((e,t)=>{let n=gp(Pp,e.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return n.type!==`scroll`&&r?w(Ip,{...e,ref:t}):null});Fp.displayName=Pp;var Ip=p.forwardRef((e,t)=>{let{__scopeScrollArea:n,...r}=e,i=gp(Pp,n),[a,o]=p.useState(0),[s,c]=p.useState(0),l=!!(a&&s);return Kp(i.scrollbarX,()=>{let e=i.scrollbarX?.offsetHeight||0;i.onCornerHeightChange(e),c(e)}),Kp(i.scrollbarY,()=>{let e=i.scrollbarY?.offsetWidth||0;i.onCornerWidthChange(e),o(e)}),l?w(Zf.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 Lp(e){return e?parseInt(e,10):0}function Rp(e,t){let n=e/t;return isNaN(n)?0:n}function zp(e){let t=Rp(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function Bp(e,t,n,r=`ltr`){let i=zp(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 Hp([c,l],d)(e)}function Vp(e,t,n=`ltr`){let r=zp(t),i=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-i,o=t.content-t.viewport,s=a-r,c=lp(e,n===`ltr`?[0,o]:[o*-1,0]);return Hp([0,o],[0,s])(c)}function Hp(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 Up(e,t){return e>0&&e<t}var Wp=(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 Gp(e,t){let n=op(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 Kp(e,t){let n=op(t);Qf(()=>{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 qp=_p,Jp=yp,Yp=Fp;function Xp({className:e,viewportRef:t,followDirection:n,children:r,onScroll:i,...a}){return T(qp,{"data-slot":`scroll-area`,className:o(`relative min-h-0 min-w-0 overflow-hidden`,n&&`[direction:inherit]`,e),...a,children:[w(Jp,{ref:t,"data-slot":`scroll-area-viewport`,onScroll:i,className:o(`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}),w(Zp,{}),w(Yp,{})]})}function Zp({className:e,orientation:t=`vertical`,...n}){return w(xp,{"data-slot":`scroll-area-scrollbar`,orientation:t,className:o(`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:w(Mp,{"data-slot":`scroll-area-thumb`,className:o(`relative flex-1 rounded-full`,`bg-wx-fg-muted/40 hover:bg-wx-fg-muted/60 transition-colors`)})})}function Qp(){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 $p(e,t){let[n,r]=S(null);return v(()=>{if(!e)return;if(t!=null){r(t),Ed(e,t);return}let n=!1;return Td(e).then(e=>{!n&&e!=null&&r(t=>t??e)}),()=>{n=!0}},[e,t]),t??n}function em(e,t){try{return new URL(e).pathname.replace(/\/$/,``)===new URL(t).pathname.replace(/\/$/,``)}catch{return e===t}}function tm(e,t,n){let r=[...e,t];return r.length>n?r.slice(r.length-n):r}var nm=m({trackPageView:()=>{},trackLinkClick:()=>{}});function rm(){return _(nm)}function im({children:e,tracking:t,enabled:n,token:r}){let i=Jd(),a=lu(),[o]=rd(),[s]=ad(),c=Ad(),l=n&&(t?.trackWebsitePages??!0),u=n&&(t?.trackWidgetLinks??!0),d=x([]),f=x(null),p=x(null),m=x(null),h=g(e=>{if(c){c.enqueue({op:e.kind===`page`?`trackPageView`:`trackLinkClick`,semantics:`queue`,payload:e.input});return}e.kind===`page`?o({variables:{input:e.input}}).catch(()=>{}):s({variables:{input:e.input}}).catch(()=>{})},[c,o,s]),_=g(e=>{c||a.token?h(e):d.current=tm(d.current,e,50)},[c,h,a]);v(()=>{if(!r)return;let e=d.current;d.current=[];for(let t of e)h(t)},[r,h]),v(()=>()=>{p.current&&clearTimeout(p.current)},[]);let y=g((e,t)=>{!l||!e||f.current&&em(f.current,e)||(p.current&&clearTimeout(p.current),p.current=setTimeout(()=>{f.current=e,_({kind:`page`,input:{url:e,title:t?.title,referrer:t?.referrer,occurredAt:new Date().toISOString()}})},500))},[l,_]),S=g(e=>{!u||!e.url||_({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()}})},[u,_]);v(()=>{if(!l||typeof window>`u`)return;if(i.kind===`iframe`){let e=e=>{if(!dd(e,i.kind))return;let t=e.data;!t||typeof t!=`object`||t.type!==`wexio:host-navigation:v1`||typeof t.url==`string`&&y(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=()=>y(window.location.href,{title:document.title,referrer:document.referrer}),t=()=>{m.current?.();let t=document.querySelector(`title`),n=!1,r=()=>{o?.disconnect(),clearTimeout(a),m.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})),m.current=r};e();let n=window.history.pushState,r=window.history.replaceState;return window.history.pushState=function(...e){let r=n.apply(this,e);return t(),r},window.history.replaceState=function(...e){let n=r.apply(this,e);return t(),n},window.addEventListener(`popstate`,t),window.addEventListener(`hashchange`,t),()=>{m.current?.(),window.history.pushState=n,window.history.replaceState=r,window.removeEventListener(`popstate`,t),window.removeEventListener(`hashchange`,t)}},[l,i.kind,y]);let C=b(()=>({trackPageView:y,trackLinkClick:S}),[y,S]);return w(nm.Provider,{value:C,children:e})}function am({items:e,initialIndex:t,open:n,onClose:r}){let s=i(`lightbox`),[c,l]=S(t),u=Jd(),p=!(u.embedded??!1)||(u.lightboxViewport??!0);v(()=>{n&&l(t)},[n,t]);let m=e.length,h=e[c],_=g(()=>{l(e=>(e+1)%m)},[m]),y=g(()=>{l(e=>(e-1+m)%m)},[m]);v(()=>{if(!n)return;let e=e=>{e.key===`Escape`?r():e.key===`ArrowRight`?_():e.key===`ArrowLeft`&&y()};document.addEventListener(`keydown`,e);let t=document.body.style.overflow;return p&&(document.body.style.overflow=`hidden`),()=>{document.removeEventListener(`keydown`,e),p&&(document.body.style.overflow=t)}},[n,r,_,y,p]);let b=u.themeRoot??(typeof document<`u`?document.body:null);return b?E(w(d,{children:n&&h&&T(a.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.15},onClick:r,className:o(p?`fixed`:`absolute`,`inset-0 z-2147483647 flex items-center justify-center`,`bg-black/85 backdrop-blur-sm`),role:`dialog`,"aria-modal":`true`,"aria-label":h.alt||s(`mediaPreview`),children:[w(`button`,{type:`button`,onClick:e=>{e.stopPropagation(),r()},"aria-label":s(`close`),className:o(`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:w(f,{size:18})}),m>1&&T(C,{children:[w(`button`,{type:`button`,onClick:e=>{e.stopPropagation(),y()},"aria-label":s(`previous`),className:o(`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:w(Mf,{size:20})}),w(`button`,{type:`button`,onClick:e=>{e.stopPropagation(),_()},"aria-label":s(`next`),className:o(`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:w(Nf,{size:20})})]}),w(a.div,{initial:{scale:.96,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.96,opacity:0},transition:{duration:.18,ease:`easeOut`},className:o(`pointer-events-none flex items-center justify-center`,p?`max-h-[90vh] max-w-[90vw]`:`absolute inset-0 p-6`),children:h.mimetype.startsWith(`video/`)?w(`video`,{src:h.url,controls:!0,autoPlay:!0,onClick:e=>e.stopPropagation(),className:o(`pointer-events-auto rounded-wx-lg`,p?`max-h-[90vh] max-w-[90vw]`:`max-h-full max-w-full`)}):h.mimetype===`application/pdf`?w(`iframe`,{src:h.url,title:h.alt||`PDF preview`,onClick:e=>e.stopPropagation(),className:o(`pointer-events-auto rounded-wx-lg border-0 bg-white`,p?`h-[90vh] w-[90vw]`:`h-full w-full`)}):w(a.img,{src:h.url,alt:h.alt,onClick:e=>e.stopPropagation(),draggable:!1,drag:m>1?`x`:!1,dragConstraints:{left:0,right:0},dragElastic:.18,dragMomentum:!1,onDragEnd:(e,t)=>{t.offset.x<=-60?_():t.offset.x>=60&&y()},className:o(`pointer-events-auto rounded-wx-lg object-contain`,m>1&&`cursor-grab active:cursor-grabbing`,p?`max-h-[90vh] max-w-[90vw]`:`max-h-full max-w-full`)})},`${c}-${h.url}`),m>1&&T(`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:[c+1,` / `,m]})]},`media-lightbox`)}),b):null}function om(e,t){let n=t||{};return(e[e.length-1]===``?[...e,``]:e).join((n.padRight?` `:``)+`,`+(n.padLeft===!1?``:` `)).trim()}var sm=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,cm=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,lm={};function um(e,t){return((t||lm).jsx?cm:sm).test(e)}var dm=/[ \t\n\f\r]/g;function fm(e){return typeof e==`object`?e.type===`text`?pm(e.value):!1:pm(e)}function pm(e){return e.replace(dm,``)===``}var mm=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};mm.prototype.normal={},mm.prototype.property={},mm.prototype.space=void 0;function hm(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new mm(n,r,t)}function gm(e){return e.toLowerCase()}var _m=class{constructor(e,t){this.attribute=t,this.property=e}};_m.prototype.attribute=``,_m.prototype.booleanish=!1,_m.prototype.boolean=!1,_m.prototype.commaOrSpaceSeparated=!1,_m.prototype.commaSeparated=!1,_m.prototype.defined=!1,_m.prototype.mustUseProperty=!1,_m.prototype.number=!1,_m.prototype.overloadedBoolean=!1,_m.prototype.property=``,_m.prototype.spaceSeparated=!1,_m.prototype.space=void 0;var vm=e({boolean:()=>K,booleanish:()=>bm,commaOrSpaceSeparated:()=>Cm,commaSeparated:()=>Sm,number:()=>q,overloadedBoolean:()=>xm,spaceSeparated:()=>J}),ym=0,K=wm(),bm=wm(),xm=wm(),q=wm(),J=wm(),Sm=wm(),Cm=wm();function wm(){return 2**++ym}var Tm=Object.keys(vm),Em=class extends _m{constructor(e,t,n,r){let i=-1;if(super(e,t),Dm(this,`space`,r),typeof n==`number`)for(;++i<Tm.length;){let e=Tm[i];Dm(this,Tm[i],(n&vm[e])===vm[e])}}};Em.prototype.defined=!0;function Dm(e,t,n){n&&(e[t]=n)}function Om(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new Em(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[gm(r)]=r,n[gm(a.attribute)]=r}return new mm(t,n,e.space)}var km=Om({properties:{ariaActiveDescendant:null,ariaAtomic:bm,ariaAutoComplete:null,ariaBusy:bm,ariaChecked:bm,ariaColCount:q,ariaColIndex:q,ariaColSpan:q,ariaControls:J,ariaCurrent:null,ariaDescribedBy:J,ariaDetails:null,ariaDisabled:bm,ariaDropEffect:J,ariaErrorMessage:null,ariaExpanded:bm,ariaFlowTo:J,ariaGrabbed:bm,ariaHasPopup:null,ariaHidden:bm,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:J,ariaLevel:q,ariaLive:null,ariaModal:bm,ariaMultiLine:bm,ariaMultiSelectable:bm,ariaOrientation:null,ariaOwns:J,ariaPlaceholder:null,ariaPosInSet:q,ariaPressed:bm,ariaReadOnly:bm,ariaRelevant:null,ariaRequired:bm,ariaRoleDescription:J,ariaRowCount:q,ariaRowIndex:q,ariaRowSpan:q,ariaSelected:bm,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 Am(e,t){return t in e?e[t]:t}function jm(e,t){return Am(e,t.toLowerCase())}var Mm=Om({attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:Sm,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:bm,controls:K,controlsList:J,coords:q|Sm,crossOrigin:null,data:null,dateTime:null,decoding:null,default:K,defer:K,dir:null,dirName:null,disabled:K,download:xm,draggable:bm,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:K,formTarget:null,headers:J,height:q,hidden:xm,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:bm,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:bm,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:bm,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:jm}),Nm=Om({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:Cm,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:Sm,g2:Sm,glyphName:Sm,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:Cm,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:Cm,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Cm,rev:Cm,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Cm,requiredFeatures:Cm,requiredFonts:Cm,requiredFormats:Cm,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:Cm,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:Cm,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:Cm,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:Am}),Pm=Om({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()}}),Fm=Om({attributes:{xmlnsxlink:`xmlns:xlink`},properties:{xmlnsXLink:null,xmlns:null},space:`xmlns`,transform:jm}),Im=Om({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()}}),Lm={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`},Rm=/[A-Z]/g,zm=/-[a-z]/g,Bm=/^data[-\w.:]+$/i;function Vm(e,t){let n=gm(t),r=t,i=_m;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&Bm.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(zm,Um);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!zm.test(e)){let n=e.replace(Rm,Hm);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=Em}return new i(r,t)}function Hm(e){return`-`+e.toLowerCase()}function Um(e){return e.charAt(1).toUpperCase()}var Wm=hm([km,Mm,Pm,Fm,Im],`html`),Gm=hm([km,Nm,Pm,Fm,Im],`svg`);function Km(e){return e.join(` `).trim()}var qm=l(((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=`
255
255
  `,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})),Jm=l((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(qm());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}})),Ym=l((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))}})),Xm=l(((e,t)=>{var n=(e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(Jm()),r=Ym();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})),Zm=$m(`end`),Qm=$m(`start`);function $m(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 eh(e){let t=Qm(e),n=Zm(e);if(t&&n)return{start:t,end:n}}function th(e){return!e||typeof e!=`object`?``:`position`in e||`type`in e?rh(e.position):`start`in e||`end`in e?rh(e):`line`in e||`column`in e?nh(e):``}function nh(e){return ih(e&&e.line)+`:`+ih(e&&e.column)}function rh(e){return nh(e&&e.start)+`-`+nh(e&&e.end)}function ih(e){return e&&typeof e==`number`?e:1}var ah=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=th(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}};ah.prototype.file=``,ah.prototype.name=``,ah.prototype.reason=``,ah.prototype.message=``,ah.prototype.stack=``,ah.prototype.column=void 0,ah.prototype.line=void 0,ah.prototype.ancestors=void 0,ah.prototype.cause=void 0,ah.prototype.fatal=void 0,ah.prototype.place=void 0,ah.prototype.ruleId=void 0,ah.prototype.source=void 0;var oh=t(Xm(),1),sh={}.hasOwnProperty,ch=new Map,lh=/[A-Z]/g,uh=new Set([`table`,`tbody`,`thead`,`tfoot`,`tr`]),dh=new Set([`td`,`th`]),fh=`https://github.com/syntax-tree/hast-util-to-jsx-runtime`;function ph(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=wh(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=Ch(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`?Gm:Wm,stylePropertyNameCase:t.stylePropertyNameCase||`dom`,tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=mh(i,e,void 0);return a&&typeof a!=`string`?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function mh(e,t,n){if(t.type===`element`)return hh(e,t,n);if(t.type===`mdxFlowExpression`||t.type===`mdxTextExpression`)return gh(e,t);if(t.type===`mdxJsxFlowElement`||t.type===`mdxJsxTextElement`)return vh(e,t,n);if(t.type===`mdxjsEsm`)return _h(e,t);if(t.type===`root`)return yh(e,t,n);if(t.type===`text`)return bh(e,t)}function hh(e,t,n){let r=e.schema,i=r;t.tagName.toLowerCase()===`svg`&&r.space===`html`&&(i=Gm,e.schema=i),e.ancestors.push(t);let a=Ah(e,t.tagName,!1),o=Th(e,t),s=Dh(e,t);return uh.has(t.tagName)&&(s=s.filter(function(e){return typeof e==`string`?!fm(e):!0})),xh(e,o,a,t),Sh(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function gh(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)}jh(e,t.position)}function _h(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);jh(e,t.position)}function vh(e,t,n){let r=e.schema,i=r;t.name===`svg`&&r.space===`html`&&(i=Gm,e.schema=i),e.ancestors.push(t);let a=t.name===null?e.Fragment:Ah(e,t.name,!0),o=Eh(e,t),s=Dh(e,t);return xh(e,o,a,t),Sh(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function yh(e,t,n){let r={};return Sh(r,Dh(e,t)),e.create(t,e.Fragment,r,n)}function bh(e,t){return t.value}function xh(e,t,n,r){typeof n!=`string`&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Sh(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function Ch(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 wh(e,t){return n;function n(n,r,i,a){let o=Array.isArray(i.children),s=Qm(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 Th(e,t){let n={},r,i;for(i in t.properties)if(i!==`children`&&sh.call(t.properties,i)){let a=Oh(e,i,t.properties[i]);if(a){let[i,o]=a;e.tableCellAlignToStyle&&i===`align`&&typeof o==`string`&&dh.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 Eh(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 jh(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 jh(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function Dh(e,t){let n=[],r=-1,i=e.passKeys?new Map:ch;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=mh(e,a,o);s!==void 0&&n.push(s)}return n}function Oh(e,t,n){let r=Vm(e.schema,t);if(!(n==null||typeof n==`number`&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?om(n):Km(n)),r.property===`style`){let t=typeof n==`object`?n:kh(e,String(n));return e.stylePropertyNameCase===`css`&&(t=Mh(t)),[`style`,t]}return[e.elementAttributeNameCase===`react`&&r.space?Lm[r.property]||r.property:r.attribute,n]}}function kh(e,t){try{return(0,oh.default)(t,{reactCompat:!0})}catch(t){if(e.ignoreInvalidStyle)return{};let n=t,r=new ah("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=fh+`#cannot-parse-style-attribute`,r}}function Ah(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=um(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=um(t)&&!/^[a-z]/.test(t)?{type:`Identifier`,name:t}:{type:`Literal`,value:t};if(r.type===`Literal`){let t=r.value;return sh.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);jh(e)}function jh(e,t){let n=new ah("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=fh+`#cannot-handle-mdx-estrees-without-createevaluater`,n}function Mh(e){let t={},n;for(n in e)sh.call(e,n)&&(t[Nh(n)]=e[n]);return t}function Nh(e){let t=e.replace(lh,Ph);return t.slice(0,3)===`ms-`&&(t=`-`+t),t}function Ph(e){return`-`+e.toLowerCase()}var Fh={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`]},Ih={};function Lh(e,t){let n=t||Ih;return Rh(e,typeof n.includeImageAlt==`boolean`?n.includeImageAlt:!0,typeof n.includeHtml==`boolean`?n.includeHtml:!0)}function Rh(e,t,n){if(Bh(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 zh(e.children,t,n)}return Array.isArray(e)?zh(e,t,n):``}function zh(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=Rh(e[i],t,n);return r.join(``)}function Bh(e){return!!(e&&typeof e==`object`)}var Vh={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:`
256
256
  `,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:`‌`},Hh={}.hasOwnProperty;function Uh(e){return Hh.call(Vh,e)?Vh[e]:!1}function Wh(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 Gh(e,t){return e.length>0?(Wh(e,e.length,0,t),e):t}var Kh={}.hasOwnProperty;function qh(e){let t={},n=-1;for(;++n<e.length;)Jh(t,e[n]);return t}function Jh(e,t){let n;for(n in t){let r=(Kh.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n],a;if(i)for(a in i){Kh.call(r,a)||(r[a]=[]);let e=i[a];Yh(r[a],Array.isArray(e)?e:e?[e]:[])}}}function Yh(e,t){let n=-1,r=[];for(;++n<t.length;)(t[n].add===`after`?e:r).push(t[n]);Wh(e,0,0,r)}function Xh(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 Zh(e){return e.replace(/[\t\n\r ]+/g,` `).replace(/^ | $/g,``).toLowerCase().toUpperCase()}var Qh=sg(/[A-Za-z]/),$h=sg(/[\dA-Za-z]/),eg=sg(/[#-'*+\--9=?A-Z^-~]/);function tg(e){return e!==null&&(e<32||e===127)}var ng=sg(/\d/),rg=sg(/[\dA-Fa-f]/),ig=sg(/[!-/:-@[-`{-~]/);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 ag=sg(/\p{P}|\p{S}/u),og=sg(/\s/);function sg(e){return t;function t(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function cg(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let a=e.charCodeAt(n),o=``;if(a===37&&$h(e.charCodeAt(n+1))&&$h(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 lg={tokenize:ug};function ug(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 dg={tokenize:pg},fg={tokenize:mg};function pg(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 Wh(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(fg,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(fg,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++;Wh(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 mg(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 hg(e){if(e===null||X(e)||og(e))return 1;if(ag(e))return 2}function gg(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 _g={name:`attention`,resolveAll:vg,tokenize:yg};function vg(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};bg(d,-c),bg(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=Gh(l,[[`enter`,e[r][1],t],[`exit`,e[r][1],t]])),l=Gh(l,[[`enter`,i,t],[`enter`,o,t],[`exit`,o,t],[`enter`,a,t]]),l=Gh(l,gg(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=Gh(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=Gh(l,[[`enter`,e[n][1],t],[`exit`,e[n][1],t]])):u=0,Wh(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 yg(e,t){let n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=hg(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=hg(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 bg(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var xg={name:`autolink`,tokenize:Sg};function Sg(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 Qh(t)?(e.consume(t),o):t===64?n(t):l(t)}function o(e){return e===43||e===45||e===46||$h(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||$h(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||tg(r)?n(r):(e.consume(r),c)}function l(t){return t===64?(e.consume(t),u):eg(t)?(e.consume(t),l):n(t)}function u(e){return $h(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||$h(t))&&r++<63){let n=t===45?f:d;return e.consume(t),n}return n(t)}}var Cg={partial:!0,tokenize:wg};function wg(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 Tg={continuation:{tokenize:Dg},exit:Og,name:`blockQuote`,tokenize:Eg};function Eg(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 Dg(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(Tg,t,n)(r)}}function Og(e){e.exit(`blockQuote`)}var kg={name:`characterEscape`,tokenize:Ag};function Ag(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 ig(r)?(e.enter(`characterEscapeValue`),e.consume(r),e.exit(`characterEscapeValue`),e.exit(`characterEscape`),t):n(r)}}var jg={name:`characterReference`,tokenize:Mg};function Mg(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=$h,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=rg,u):(e.enter(`characterReferenceValue`),a=7,o=ng,u(t))}function u(s){if(s===59&&i){let i=e.exit(`characterReferenceValue`);return o===$h&&!Uh(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 Ng={partial:!0,tokenize:Ig},Pg={concrete:!0,name:`codeFenced`,tokenize:Fg};function Fg(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(Ng,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(Ng,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 Ig(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 Lg={name:`codeIndented`,tokenize:zg},Rg={partial:!0,tokenize:Bg};function zg(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(Rg,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 Bg(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 Vg={name:`codeText`,previous:Ug,resolve:Hg,tokenize:Wg};function Hg(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 Ug(e){return e!==96||this.events[this.events.length-1][1].type===`characterEscape`}function Wg(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 Gg=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&&Kg(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),Kg(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),Kg(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);Kg(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);Kg(this.left,t.reverse())}}};function Kg(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 qg(e){let t={},n=-1,r,i,a,o,s,c,l,u=new Gg(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,Jg(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 Wh(e,0,1/0,u.slice(0)),!l}function Jg(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 Yg={resolve:Zg,tokenize:Qg},Xg={partial:!0,tokenize:$g};function Zg(e){return qg(e),e}function Qg(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(Xg,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 $g(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 e_(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||tg(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||tg(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 t_(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 n_(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 r_(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 i_={name:`definition`,tokenize:o_},a_={partial:!0,tokenize:s_};function o_(e,t,n){let r=this,i;return a;function a(t){return e.enter(`definition`),o(t)}function o(t){return t_.call(r,e,s,n,`definitionLabel`,`definitionLabelMarker`,`definitionLabelString`)(t)}function s(t){return i=Zh(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)?r_(e,l)(t):l(t)}function l(t){return e_(e,u,n,`definitionDestination`,`definitionDestinationLiteral`,`definitionDestinationLiteralMarker`,`definitionDestinationRaw`,`definitionDestinationString`)(t)}function u(t){return e.attempt(a_,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 s_(e,t,n){return r;function r(t){return X(t)?r_(e,i)(t):n(t)}function i(t){return n_(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 c_={name:`hardBreakEscape`,tokenize:l_};function l_(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 u_={name:`headingAtx`,resolve:d_,tokenize:f_};function d_(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`},Wh(e,r,n-r+1,[[`enter`,i,t],[`enter`,a,t],[`exit`,a,t],[`exit`,i,t]])),e}function f_(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 p_=`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(`.`),m_=[`pre`,`script`,`style`,`textarea`],h_={concrete:!0,name:`htmlFlow`,resolveTo:v_,tokenize:y_},g_={partial:!0,tokenize:x_},__={partial:!0,tokenize:b_};function v_(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 y_(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:oe):Qh(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):Qh(a)?(e.consume(a),i=4,r.interrupt?t:oe):n(a)}function p(i){return i===45?(e.consume(i),r.interrupt?t:oe):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 Qh(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&&m_.includes(l)?(i=1,r.interrupt?t(s):D(s)):p_.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||$h(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||Qh(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||$h(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),se):t===63&&i===3?(e.consume(t),oe):t===93&&i===5?(e.consume(t),ae):Y(t)&&(i===6||i===7)?(e.exit(`htmlFlowData`),e.check(g_,ce,O)(t)):t===null||Y(t)?(e.exit(`htmlFlowData`),O(t)):(e.consume(t),D)}function O(t){return e.check(__,te,ce)(t)}function te(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),ne}function ne(t){return t===null||Y(t)?O(t):(e.enter(`htmlFlowData`),D(t))}function re(t){return t===45?(e.consume(t),oe):D(t)}function k(t){return t===47?(e.consume(t),o=``,ie):D(t)}function ie(t){if(t===62){let n=o.toLowerCase();return m_.includes(n)?(e.consume(t),se):D(t)}return Qh(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),ie):D(t)}function ae(t){return t===93?(e.consume(t),oe):D(t)}function oe(t){return t===62?(e.consume(t),se):t===45&&i===2?(e.consume(t),oe):D(t)}function se(t){return t===null||Y(t)?(e.exit(`htmlFlowData`),ce(t)):(e.consume(t),se)}function ce(n){return e.exit(`htmlFlow`),t(n)}}function b_(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 x_(e,t,n){return r;function r(r){return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),e.attempt(Cg,t,n)}}var S_={name:`htmlText`,tokenize:C_};function C_(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):Qh(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):Qh(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 Qh(t)?(e.consume(t),S):n(t)}function S(t){return t===45||$h(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||$h(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||Qh(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||$h(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,O):Y(t)?(o=D,k(t)):Z(t)?(e.consume(t),D):(e.consume(t),te)}function O(t){return t===i?(e.consume(t),i=void 0,ne):t===null?n(t):Y(t)?(o=O,k(t)):(e.consume(t),O)}function te(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),te)}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`),ie}function ie(t){return Z(t)?Q(e,ae,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):ae(t)}function ae(t){return e.enter(`htmlTextData`),o(t)}}var w_={name:`labelEnd`,resolveAll:O_,resolveTo:k_,tokenize:A_},T_={tokenize:j_},E_={tokenize:M_},D_={tokenize:N_};function O_(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&&Wh(e,0,e.length,n),e}function k_(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=Gh(s,e.slice(a+1,a+r+3)),s=Gh(s,[[`enter`,u,t]]),s=Gh(s,gg(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),s=Gh(s,[[`exit`,u,t],e[o-2],e[o-1],[`exit`,l,t]]),s=Gh(s,e.slice(o+1)),s=Gh(s,[[`exit`,c,t]]),Wh(e,a,e.length,s),e}function A_(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(Zh(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(T_,u,o?u:d)(t):t===91?e.attempt(E_,u,o?l:d)(t):o?u(t):d(t)}function l(t){return e.attempt(D_,u,d)(t)}function u(e){return t(e)}function d(e){return a._balanced=!0,n(e)}}function j_(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)?r_(e,a)(t):a(t)}function a(t){return t===41?u(t):e_(e,o,s,`resourceDestination`,`resourceDestinationLiteral`,`resourceDestinationLiteralMarker`,`resourceDestinationRaw`,`resourceDestinationString`,32)(t)}function o(t){return X(t)?r_(e,c)(t):u(t)}function s(e){return n(e)}function c(t){return t===34||t===39||t===40?n_(e,l,n,`resourceTitle`,`resourceTitleMarker`,`resourceTitleString`)(t):u(t)}function l(t){return X(t)?r_(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 M_(e,t,n){let r=this;return i;function i(t){return t_.call(r,e,a,o,`reference`,`referenceMarker`,`referenceString`)(t)}function a(e){return r.parser.defined.includes(Zh(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}function N_(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 P_={name:`labelStartImage`,resolveAll:w_.resolveAll,tokenize:F_};function F_(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 I_={name:`labelStartLink`,resolveAll:w_.resolveAll,tokenize:L_};function L_(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 R_={name:`lineEnding`,tokenize:z_};function z_(e,t){return n;function n(n){return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),Q(e,t,`linePrefix`)}}var B_={name:`thematicBreak`,tokenize:V_};function V_(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 H_={continuation:{tokenize:K_},exit:J_,name:`list`,tokenize:G_},U_={partial:!0,tokenize:Y_},W_={partial:!0,tokenize:q_};function G_(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:ng(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(B_,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 ng(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(Cg,r.interrupt?n:u,e.attempt(U_,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 K_(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(Cg,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(W_,t,o)(n))}function o(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,Q(e,e.attempt(H_,t,n),`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(i)}}function q_(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 J_(e){e.exit(this.containerState.type)}function Y_(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 X_={name:`setextUnderline`,resolveTo:Z_,tokenize:Q_};function Z_(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 Q_(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 $_={tokenize:ev};function ev(e){let t=this,n=e.attempt(Cg,r,e.attempt(this.parser.constructs.flowInitial,i,Q(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Yg,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 tv={resolveAll:av()},nv=iv(`string`),rv=iv(`text`);function iv(e){return{resolveAll:av(e===`text`?ov: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 av(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 ov(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 sv=e({attentionMarkers:()=>hv,contentInitial:()=>lv,disable:()=>gv,document:()=>cv,flow:()=>dv,flowInitial:()=>uv,insideSpan:()=>mv,string:()=>fv,text:()=>pv}),cv={42:H_,43:H_,45:H_,48:H_,49:H_,50:H_,51:H_,52:H_,53:H_,54:H_,55:H_,56:H_,57:H_,62:Tg},lv={91:i_},uv={[-2]:Lg,[-1]:Lg,32:Lg},dv={35:u_,42:B_,45:[X_,B_],60:h_,61:X_,95:B_,96:Pg,126:Pg},fv={38:jg,92:kg},pv={[-5]:R_,[-4]:R_,[-3]:R_,33:P_,38:jg,42:_g,60:[xg,S_],91:I_,92:[c_,kg],93:w_,95:_g,96:Vg},mv={null:[_g,tv]},hv={null:[42,95]},gv={null:[]};function _v(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=Gh(o,e),g(),o[o.length-1]===null?(w(t,0),l.events=gg(a,l.events,l),l.events):[]}function f(e,t){return yv(p(e),t)}function p(e){return vv(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&&Wh(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 vv(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 yv(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=`
257
257
  `;break;case-3:o=`\r
@@ -282,4 +282,4 @@ this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):a
282
282
  `,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(`
283
283
  `))}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 jx(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=OS.inlineCode(e,t,n);return n.stack.includes(`tableCell`)&&(r=r.replace(/\|/g,`\\$&`)),r}}function RS(){return{exit:{taskListCheckValueChecked:BS,taskListCheckValueUnchecked:BS,paragraph:VS}}}function zS(){return{unsafe:[{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{listItem:HS}}}function BS(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type===`taskListCheckValueChecked`}function VS(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 HS(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=OS.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 US(){return[Yb(),yx(),wx(),kS(),RS()]}function WS(e){return{extensions:[Xb(),bx(e),Tx(),LS(e),zS()]}}var GS={tokenize:aC,partial:!0},KS={tokenize:oC,partial:!0},qS={tokenize:sC,partial:!0},JS={tokenize:cC,partial:!0},YS={tokenize:lC,partial:!0},XS={name:`wwwAutolink`,tokenize:rC,previous:uC},ZS={name:`protocolAutolink`,tokenize:iC,previous:dC},QS={name:`emailAutolink`,tokenize:nC,previous:fC},$S={};function eC(){return{text:$S}}for(var tC=48;tC<123;)$S[tC]=QS,tC++,tC===58?tC=65:tC===91&&(tC=97);$S[43]=QS,$S[45]=QS,$S[46]=QS,$S[95]=QS,$S[72]=[QS,ZS],$S[104]=[QS,ZS],$S[87]=[QS,XS],$S[119]=[QS,XS];function nC(e,t,n){let r=this,i,a;return o;function o(t){return!pC(t)||!fC.call(r,r.previous)||mC(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkEmail`),s(t))}function s(t){return pC(t)?(e.consume(t),s):t===64?(e.consume(t),c):n(t)}function c(t){return t===46?e.check(YS,u,l)(t):t===45||t===95||$h(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&&Qh(r.previous)?(e.exit(`literalAutolinkEmail`),e.exit(`literalAutolink`),t(o)):n(o)}}function rC(e,t,n){let r=this;return i;function i(t){return t!==87&&t!==119||!uC.call(r,r.previous)||mC(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkWww`),e.check(GS,e.attempt(KS,e.attempt(qS,a),n),n)(t))}function a(n){return e.exit(`literalAutolinkWww`),e.exit(`literalAutolink`),t(n)}}function iC(e,t,n){let r=this,i=``,a=!1;return o;function o(t){return(t===72||t===104)&&dC.call(r,r.previous)&&!mC(r.events)?(e.enter(`literalAutolink`),e.enter(`literalAutolinkHttp`),i+=String.fromCodePoint(t),e.consume(t),s):n(t)}function s(t){if(Qh(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||tg(t)||X(t)||og(t)||ag(t)?n(t):e.attempt(KS,e.attempt(qS,u),n)(t)}function u(n){return e.exit(`literalAutolinkHttp`),e.exit(`literalAutolink`),t(n)}}function aC(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 oC(e,t,n){let r,i,a;return o;function o(t){return t===46||t===95?e.check(JS,c,s)(t):t===null||X(t)||og(t)||t!==45&&ag(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 sC(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(JS,t,a)(o):o===null||X(o)||og(o)?t(o):(e.consume(o),i)}function a(t){return t===41&&r++,e.consume(t),i}}function cC(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)||og(o)?t(o):n(o)}function i(e){return e===null||e===40||e===91||X(e)||og(e)?t(e):r(e)}function a(e){return Qh(e)?o(e):n(e)}function o(t){return t===59?(e.consume(t),r):Qh(t)?(e.consume(t),o):n(t)}}function lC(e,t,n){return r;function r(t){return e.consume(t),i}function i(e){return $h(e)?n(e):t(e)}}function uC(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||X(e)}function dC(e){return!Qh(e)}function fC(e){return!(e===47||pC(e))}function pC(e){return e===43||e===45||e===46||e===95||$h(e)}function mC(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 hC={tokenize:CC,partial:!0};function gC(){return{document:{91:{name:`gfmFootnoteDefinition`,tokenize:bC,continuation:{tokenize:xC},exit:SC}},text:{91:{name:`gfmFootnoteCall`,tokenize:yC},93:{name:`gfmPotentialFootnoteCall`,add:`after`,tokenize:_C,resolveTo:vC}}}}function _C(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=Zh(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 vC(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 yC(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(Zh(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 bC(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=Zh(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 xC(e,t,n){return e.check(Cg,t,e.attempt(hC,t,n))}function SC(e){e.exit(`gfmFootnoteDefinition`)}function CC(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 wC(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&&Wh(o,o.length,0,gg(s,e.slice(r+1,n),t)),Wh(o,o.length,0,[[`exit`,a,t],[`enter`,e[n][1],t],[`exit`,e[n][1],t],[`exit`,i,t]]),Wh(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=hg(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=hg(a);return l._open=!u||u===2&&!!s,l._close=!s||s===2&&!!u,n(a)}}}var TC=class{constructor(){this.map=[]}add(e,t,n){EC(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 EC(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 DC(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 OC(){return{flow:{null:{name:`table`,tokenize:kC,resolveAll:AC}}}}function kC(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 AC(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 TC;for(;++n<e.length;){let p=e[n],m=p[1];p[0]===`enter`?m.type===`tableHead`?(s=!1,c!==0&&(MC(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=jC(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=jC(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=jC(f,t,o,i,n,d)):(o[0]=o[1],d=jC(f,t,a,i,n,d)),i=0):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)&&(o[3]=n)}for(c!==0&&MC(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=DC(t.events,n))}return e}function jC(e,t,n,r,i,a){let o=r===1?`tableHeader`:r===2?`tableDelimiter`:`tableData`;n[0]!==0&&(a.end=Object.assign({},NC(t.events,n[0])),e.add(n[0],0,[[`exit`,a,t]]));let s=NC(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=NC(t.events,n[2]),a=NC(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({},NC(t.events,i)),e.add(i,0,[[`exit`,a,t]]),a=void 0),a}function MC(e,t,n,r,i){let a=[],o=NC(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 NC(e,t){let n=e[t],r=n[0]===`enter`?`start`:`end`;return n[1][r]}var PC={name:`tasklistCheck`,tokenize:IC};function FC(){return{text:{91:PC}}}function IC(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:LC},t,n)(r):n(r)}}function LC(e,t,n){return Q(e,r,`whitespace`);function r(e){return e===null?n(e):t(e)}}function RC(e){return qh([eC(),gC(),wC(e),OC(),FC()])}var zC={};function BC(e){let t=this,n=e||zC,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(RC(n)),a.push(US()),o.push(WS(n))}var VC=l((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===`
284
284
  `||i===`\r`||i===`/`}function O(e){return e.replace(S,C)}function te(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(te(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`,ie=`body`,ae=/<([a-zA-Z]+[0-9]?)/;function oe(e,t){return t?t.createHTML(e):e}var se=function(e,t,n){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},ce=function(e,t,n){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")},le=typeof window==`object`&&window.DOMParser;if(typeof le==`function`){var ue=new le,de=`text/html`;ce=function(e,t,n){return t&&(e=`<${t}>${e}</${t}>`),ue.parseFromString(e,de)},se=ce}if(typeof document==`object`&&document.implementation){var fe=document.implementation.createHTMLDocument();se=function(e,t,n){if(t){var r=fe.documentElement.querySelector(t);return r&&(r.innerHTML=oe(e,n)),fe}return fe.documentElement.innerHTML=oe(e,n),fe}}var pe=typeof document==`object`&&document.createElement(`template`),me;pe&&pe.content&&(me=function(e,t){return pe.innerHTML=oe(e,t),pe.content.childNodes});var he=function(){return document.createDocumentFragment().childNodes};function ge(e,t){var n,r;e=O(e);var i=(ae.exec(e)?.[1])?.toLowerCase();switch(i){case re:var a=ce(e);if(!D(e,k)){var o=a.querySelector(k);(n=o?.parentNode)==null||n.removeChild(o)}if(!D(e,ie)){var o=a.querySelector(ie);(r=o?.parentNode)==null||r.removeChild(o)}return a.querySelectorAll(re);case k:case ie:var s=se(e,void 0,t).querySelectorAll(i);return D(e,ie)&&D(e,k)?s[0].parentNode?.childNodes??he():s;default:if(me)return me(e,t);var o=se(e,ie,t).querySelector(ie);return o?.childNodes??he()}}var _e=/<(![a-zA-Z\s]+)>/;function ve(e,t){if(typeof e!=`string`)throw TypeError(`First argument must be a string`);if(!e)return[];var n=_e.exec(e),r=n?n[1]:void 0;return ne(ge(e,t?.trustedTypePolicy),null,r)}e.default=ve})),HC=l((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}})),UC=l((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}=HC(),_=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})),WC=l((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.returnFirstArg=e.canTextBeChildOfNode=e.ELEMENTS_WITH_NO_TEXT_CHILDREN=e.PRESERVE_CUSTOM_ATTRIBUTES=void 0,e.isCustomComponent=a,e.setStyleProp=s;var n=c(`react`),r=t(Xm()),i=new Set([`annotation-xml`,`color-profile`,`font-face`,`font-face-src`,`font-face-uri`,`font-face-format`,`font-face-name`,`missing-glyph`]);function a(e,t){return e.includes(`-`)?!i.has(e):!!(t&&typeof t.is==`string`)}var o={reactCompat:!0};function s(e,t){if(typeof e==`string`){if(!e.trim()){t.style={};return}try{t.style=(0,r.default)(e,o)}catch{t.style={}}}}e.PRESERVE_CUSTOM_ATTRIBUTES=Number(n.version.split(`.`)[0])>=16,e.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set([`tr`,`tbody`,`thead`,`tfoot`,`colgroup`,`table`,`head`,`html`,`frameset`]),e.canTextBeChildOfNode=t=>!e.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(t.name),e.returnFirstArg=e=>e})),GC=l((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=o;var t=UC(),n=WC(),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 KC(e){return e.type===$.Tag||e.type===$.Script||e.type===$.Style}var $,qC=n((()=>{(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 JC(e){return KC(e)}function YC(e){return e.type===$.CDATA}function XC(e){return e.type===$.Text}function ZC(e){return e.type===$.Comment}function QC(e){return e.type===$.Directive}function $C(e){return e.type===$.Root}function ew(e){return Object.hasOwn(e,`children`)}function tw(e,t=!1){let n;if(XC(e))n=new aw(e.data);else if(ZC(e))n=new ow(e.data);else if(JC(e)){let r=t?nw(e.children):[],i=new dw(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(YC(e)){let r=t?nw(e.children):[],i=new lw(r);for(let e of r)e.parent=i;n=i}else if($C(e)){let r=t?nw(e.children):[],i=new uw(r);for(let e of r)e.parent=i;e[`x-mode`]&&(i[`x-mode`]=e[`x-mode`]),n=i}else if(QC(e)){let t=new sw(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 nw(e){let t=e.map(e=>tw(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 rw,iw,aw,ow,sw,cw,lw,uw,dw,fw=n((()=>{qC(),Ct(),rw=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 tw(this,e)}},iw=class extends rw{constructor(e){super(),P(this,`data`,void 0),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}},aw=class extends iw{constructor(...e){super(...e),P(this,`type`,$.Text)}get nodeType(){return 3}},ow=class extends iw{constructor(...e){super(...e),P(this,`type`,$.Comment)}get nodeType(){return 8}},sw=class extends iw{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}},cw=class extends rw{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}},lw=class extends cw{constructor(...e){super(...e),P(this,`type`,$.CDATA)}get nodeType(){return 4}},uw=class extends cw{constructor(...e){super(...e),P(this,`type`,$.Root)}get nodeType(){return 9}},dw=class extends cw{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]}))}}})),pw=e({CDATA:()=>lw,Comment:()=>ow,DataNode:()=>iw,Document:()=>uw,DomHandler:()=>hw,Element:()=>dw,Node:()=>rw,NodeWithChildren:()=>cw,ProcessingInstruction:()=>sw,Text:()=>aw,cloneNode:()=>tw,default:()=>hw,hasChildren:()=>ew,isCDATA:()=>YC,isComment:()=>ZC,isDirective:()=>QC,isDocument:()=>$C,isTag:()=>JC,isText:()=>XC}),mw,hw,gw=n((()=>{qC(),fw(),Ct(),fw(),mw={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},hw=class{constructor(e,t,n){P(this,`dom`,[]),P(this,`root`,new uw(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=mw),typeof e==`object`&&(t=e,e=void 0),this.callback=e??null,this.options=t??mw,this.elementCB=n??null}onparserinit(e){this.parser=e}onreset(){this.dom=[],this.root=new uw(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 dw(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 aw(e);this.addNode(t),this.lastNode=t}}oncomment(e){if(this.lastNode&&this.lastNode.type===$.Comment){this.lastNode.data+=e;return}let t=new ow(e);this.addNode(t),this.lastNode=t}oncommentend(){this.lastNode=null}oncdatastart(){let e=new aw(``),t=new lw([e]);this.addNode(t),e.parent=t,this.lastNode=e}oncdataend(){this.lastNode=null}onprocessinginstruction(e,t){let n=new sw(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}}})),_w=l((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.default=l;var n=(gw(),r(pw)),i=c(`react`),a=t(GC()),o=WC(),s={cloneElement:i.cloneElement,createElement:i.createElement,isValidElement:i.isValidElement};function l(e,t={}){let n=[],r=typeof t.replace==`function`,i=t.transform??o.returnFirstArg,{cloneElement:c,createElement:f,isValidElement:p}=t.library??s,m=e.length;u(e);for(let s=0;s<m;s++){let u=e[s];if(r){let e=t.replace?.call(t,u,s);if(p(e)){m>1&&(e=c(e,{key:e.key??s})),n.push(i(e,u,s));continue}}if(u.type===`text`){let e=!u.data.trim().length;if(e&&u.parent&&!(0,o.canTextBeChildOfNode)(u.parent)||t.trim&&e)continue;n.push(i(u.data,u,s));continue}let h=u,g={};d(h)?((0,o.setStyleProp)(h.attribs.style,h.attribs),g=h.attribs):h.attribs&&(g=(0,a.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=s),n.push(i(f(u.name,g,_),u,s))}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,n.Element.prototype),u(t.children))}function d(e){return o.PRESERVE_CUSTOM_ATTRIBUTES&&e.type===`tag`&&(0,o.isCustomComponent)(e.name,e.attribs)}})),vw=t(l((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 n=t(VC());e.htmlToDOM=n.default,e.attributesToProps=t(GC()).default;var i=t(_w());e.domToReact=i.default;var a=(gw(),r(pw));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 r=Object.assign(Object.assign({},t?.htmlparser2??o),{trustedTypePolicy:t?.trustedTypePolicy});return(0,i.default)((0,n.default)(e,r),t)}}))(),1),yw=vw.default.default||vw.default;function bw({entries:e}){let t=i(`article`),[n,r]=S(!1),a=(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 T(`nav`,{"aria-label":t(`tableOfContents`),className:o(`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:[T(`button`,{type:`button`,onClick:()=>r(e=>!e),"aria-expanded":n,className:o(`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:[w(`span`,{children:t(`tableOfContents`)}),w(jf,{className:o(`h-4 w-4 shrink-0 text-wx-fg-subtle transition-transform duration-200`,n&&`rotate-180`),"aria-hidden":`true`})]}),w(`div`,{className:o(`grid transition-[grid-template-rows] duration-200 ease-out`,n?`grid-rows-[1fr]`:`grid-rows-[0fr]`),"aria-hidden":!n,children:w(`div`,{className:`min-h-0 overflow-hidden`,children:w(`div`,{className:`border-t border-wx-border/70 px-2 py-2`,children:w(`div`,{className:`flex flex-col`,children:e.map(e=>{let t=e.level===2?16:e.level===3?32:0;return w(`button`,{type:`button`,onClick:t=>a(t,e.id),className:o(`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:w(`span`,{className:`truncate`,children:e.text})},e.id)})})})})})]})}function xw({summary:e,body:t,defaultOpen:n}){let[r,i]=S(n);return T(`div`,{className:`my-2 overflow-hidden rounded-lg border border-wx-border`,children:[T(`button`,{type:`button`,onClick:()=>i(e=>!e),"aria-expanded":r,className:o(`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:[w(`span`,{className:`min-w-0 flex-1`,children:e}),w(jf,{className:o(`h-4 w-4 shrink-0 text-wx-fg-subtle transition-transform`,r&&`rotate-180`),"aria-hidden":`true`})]}),r&&w(`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 Sw=(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 vw.Element&&e.name===`div`&&!e.attribs?.[`data-type`]?e.children??[]:[e]):e.children??[],a=i.find(e=>e instanceof vw.Element&&e.name===`summary`),o=i.filter(e=>e!==a&&!(e instanceof vw.Element&&e.name===`button`)),s=o.find(e=>e instanceof vw.Element&&e.name===`div`&&(e.attribs?.[`data-type`]===`detailsContent`||e.attribs?.[`data-type`]===`details-content`)),c=s?s.children??[]:o,l=a?(0,vw.domToReact)(a.children,t.options):null,u=w(C,{children:(0,vw.domToReact)(c,t.options)});return w(xw,{defaultOpen:e.attribs?.open!==void 0||e.attribs?.[`data-open`]===`true`,summary:l,body:u})},Cw={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`},ww=(e,t)=>{let n=Cw[e.name];if(n)return w(`div`,{className:`my-4 rounded-wx-md border px-4 py-3 ${n}`,"data-custom-block":e.name,children:(0,vw.domToReact)(e.children??[],t.options)})};function Tw(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 Ew(e){let t=``;for(let n of e.children??[])n.type===`text`?t+=n.data??``:n instanceof vw.Element&&(t+=Ew(n));return t}var Dw=(e,t)=>{if(e.name!==`h1`&&e.name!==`h2`&&e.name!==`h3`)return;let n=Number(e.name.slice(1)),r=Ew(e).trim();if(!r)return;let i=Tw(r,t.seenIds);return t.entries.push({id:i,text:r,level:n}),h(e.name,{id:i},(0,vw.domToReact)(e.children??[],t.options))},Ow=(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 w(`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:w(`img`,{src:s,alt:c,style:l,className:`max-w-full`})})}return w(`img`,{src:s,alt:c,style:l,className:`my-3 max-w-full`})},kw=(e,t)=>{if(e.name!==`a`)return;let n=e.attribs?.href??``;return w(`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,vw.domToReact)(e.children??[],t.options)})},Aw=(e,t)=>{if(e.name===`table`)return w(`div`,{className:o(`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:w(`table`,{children:(0,vw.domToReact)(e.children??[],t.options)})})};function jw({tabs:e}){let t=i(`article`),[n,r]=S(0);return e.length===0?null:T(`div`,{className:`my-4`,children:[w(`div`,{role:`tablist`,className:`relative flex items-center gap-1 border-b border-wx-border`,children:e.map((e,i)=>{let a=i===n,s=e.label||t(`tabFallback`,{n:i+1});return T(`button`,{type:`button`,role:`tab`,"aria-selected":a,tabIndex:a?0:-1,onClick:()=>r(i),className:o(`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:[s,w(`span`,{"aria-hidden":`true`,className:o(`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)})}),w(`div`,{className:`mt-3 text-sm leading-relaxed text-wx-fg [&>:first-child]:mt-0 [&>:last-child]:mb-0`,children:e[n]?.body})]})}var Mw=[Dw,(e,t)=>{if(e.name===`div`&&(e.attribs?.[`data-type`]===`tabs`||e.attribs?.[`data-type`]===`tabs`))return w(jw,{tabs:(e.children??[]).filter(e=>e instanceof vw.Element&&e.name===`div`&&e.attribs?.[`data-type`]===`tab`).map(e=>{let n=e.children?.find(e=>e instanceof vw.Element&&e.name===`div`&&`data-tab-label`in(e.attribs??{})),r=(e.children??[]).filter(e=>e!==n);return{label:n?Ew(n).trim():``,body:w(C,{children:(0,vw.domToReact)(r,t.options)})}})})},Sw,ww,Aw,Ow,kw];function Nw(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 vw.Element){for(let t of Object.keys(e.attribs))t.startsWith(`data-wx-`)&&delete e.attribs[t];for(let t of Mw){let n=t(e,s);if(n!==void 0)return n}}},o}function Pw({html:e,className:t,onLinkClick:n}){let[r,a]=S(null),o=i(`messages`)(`openImage`),{trackLinkClick:s}=rm(),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:yw(e,Nw(t,n,r,a,l,o)),entries:t,images:r}},[e,l,o]);return T(`div`,{className:t,children:[d.length>=3&&w(bw,{entries:d}),u,f.length>0&&w(am,{items:f,initialIndex:r??0,open:r!==null,onClose:()=>a(null)})]})}function Fw(e){return yw(e,Nw([],new Set))}var Iw=[{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 Lw(e){let t=Iw.find(t=>t.value===e);if(t)return t.label;let n=e.split(`-`)[0].toLowerCase(),r=Iw.find(e=>e.value===n);return r?r.label:n.toUpperCase()}export{Hu as $,Ud as A,te as At,cd as B,vf as C,cl as Ct,Bd as D,we as Dt,Jd as E,Ra as Et,Ad as F,td as G,Ju as H,hd as I,Au as J,Pu as K,Ed as L,Md as M,Nd as N,zd as O,A as Ot,kd as P,rd as Q,dd as R,bf as S,Dl as St,qd as T,za as Tt,Ru as U,Xu as V,Wu as W,Ku as X,Mu as Y,ad as Z,Pf as _,eu as _t,Ib as a,Eu as at,Af as b,iu as bt,rm as c,xu as ct,Xp as d,hu as dt,$u as et,op as f,du as ft,Rf as g,lu as gt,zf as h,cu as ht,BC as i,Du as it,Ld as j,k as jt,Wd as k,O as kt,$p as l,yu as lt,Bf as m,fu as mt,Pw as n,Zu as nt,am as o,wu as ot,Ff as p,uu as pt,Bu as q,Fw as r,Iu as rt,im as s,Su as st,Lw as t,Yu as tt,Qp as u,_u as ut,Nf as v,nu as vt,Qd as w,G as wt,xf as x,Ll as xt,jf as y,au as yt,ud as z};
285
- //# sourceMappingURL=widget-react-YrYT-pD1.js.map
285
+ //# sourceMappingURL=widget-react-CkDSkBH9.js.map