idea-manager 1.9.0 → 2.0.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.
- package/.next/build-manifest.json +2 -2
- package/.next/routes-manifest.json +20 -0
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error.html +2 -2
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +2 -2
- package/.next/server/app/_not-found.rsc +2 -2
- package/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/api/archive/route.js +10 -2
- package/.next/server/app/api/archive/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/filesystem/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/filesystem/tree/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/global-advisor/route.js +26 -0
- package/.next/server/app/api/global-advisor/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/global-memo/route.js +8 -0
- package/.next/server/app/api/global-memo/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/health/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/maintenance/route.js +130 -0
- package/.next/server/app/api/maintenance/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/projects/[id]/advisor/route.js +2 -2
- package/.next/server/app/api/projects/[id]/advisor/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/projects/[id]/apply-distribute/route.js +2 -2
- package/.next/server/app/api/projects/[id]/apply-distribute/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/projects/[id]/auto-distribute/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/projects/[id]/brainstorm/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/projects/[id]/git-sync/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/projects/[id]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/route.js +8 -0
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/chat/route.js +2 -2
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/chat/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/prompt/route.js +8 -0
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/prompt/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/refine/route.js +2 -2
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/refine/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/route.js +10 -2
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/route.js +10 -2
- package/.next/server/app/api/projects/[id]/sub-projects/[subId]/tasks/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/projects/[id]/sub-projects/route.js +8 -0
- package/.next/server/app/api/projects/[id]/sub-projects/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/projects/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/search/route.js +8 -0
- package/.next/server/app/api/search/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/sync/route.js +8 -0
- package/.next/server/app/api/sync/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/tasks/[taskId]/move/route.js +144 -0
- package/.next/server/app/api/tasks/[taskId]/move/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/update/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/version/route_client-reference-manifest.js +1 -1
- package/.next/server/app/index.html +2 -2
- package/.next/server/app/index.rsc +3 -3
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/index.segments/_full.segment.rsc +3 -3
- package/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/.next/server/app/index.segments/_index.segment.rsc +2 -2
- package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/page.js +12 -12
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/projects/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +18 -15
- package/.next/server/chunks/117.js +8 -0
- package/.next/server/pages/404.html +2 -2
- package/.next/server/pages/500.html +2 -2
- package/.next/static/5I00mUqwYdcGFbs7ETC9d/_buildManifest.js +1 -0
- package/.next/static/chunks/374-23189d7e246ad164.js +1 -0
- package/.next/static/chunks/app/_global-error/page-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/api/archive/route-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/api/filesystem/route-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/api/filesystem/tree/route-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/api/global-advisor/route-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/api/global-memo/route-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/api/health/route-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/api/maintenance/route-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/api/projects/[id]/advisor/route-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/api/projects/[id]/apply-distribute/route-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/api/projects/[id]/auto-distribute/route-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/api/projects/[id]/brainstorm/route-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/api/projects/[id]/git-sync/route-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/api/projects/[id]/route-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/api/projects/[id]/sub-projects/[subId]/route-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/chat/route-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/prompt/route-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/refine/route-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/route-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/api/projects/[id]/sub-projects/[subId]/tasks/route-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/api/projects/[id]/sub-projects/route-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/api/projects/route-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/api/search/route-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/api/sync/route-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/api/tasks/[taskId]/move/route-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/api/update/route-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/api/version/route-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/app/page-b6580e09a4af9dff.js +28 -0
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-92496bc87f5c29a9.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-92496bc87f5c29a9.js +1 -0
- package/.next/static/css/a57b4564ec9082ab.css +3 -0
- package/package.json +1 -1
- package/src/app/api/global-advisor/route.ts +50 -0
- package/src/app/api/maintenance/route.ts +36 -0
- package/src/app/api/tasks/[taskId]/move/route.ts +30 -0
- package/src/components/advisor/AdvisorChat.tsx +165 -0
- package/src/components/advisor/GlobalAdvisorLayer.tsx +38 -0
- package/src/components/dashboard/DashboardPanel.tsx +2 -0
- package/src/components/memo/GlobalMemoLayer.tsx +81 -0
- package/src/components/tabs/TabBar.tsx +2 -0
- package/src/components/tabs/TabShell.tsx +6 -0
- package/src/components/task/TaskChat.tsx +4 -0
- package/src/components/task/TaskDetail.tsx +89 -1
- package/src/components/ui/AiActivityIndicator.tsx +66 -0
- package/src/components/ui/ShortcutOverlay.tsx +104 -0
- package/src/components/workspace/ProjectAdvisor.tsx +17 -181
- package/src/components/workspace/WorkspacePanel.tsx +6 -0
- package/src/hooks/useAiActivity.ts +6 -0
- package/src/lib/ai/global-context.ts +94 -0
- package/src/lib/ai-activity.ts +33 -0
- package/src/lib/db/queries/global-conversations.ts +31 -0
- package/src/lib/db/queries/tasks.ts +3 -1
- package/src/lib/db/schema.ts +8 -0
- package/.next/static/chunks/374-769431701aab500f.js +0 -1
- package/.next/static/chunks/app/_global-error/page-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/app/api/archive/route-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/app/api/filesystem/route-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/app/api/filesystem/tree/route-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/app/api/global-memo/route-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/app/api/health/route-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/app/api/projects/[id]/advisor/route-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/app/api/projects/[id]/apply-distribute/route-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/app/api/projects/[id]/auto-distribute/route-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/app/api/projects/[id]/brainstorm/route-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/app/api/projects/[id]/git-sync/route-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/app/api/projects/[id]/route-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/app/api/projects/[id]/sub-projects/[subId]/route-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/chat/route-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/prompt/route-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/refine/route-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/app/api/projects/[id]/sub-projects/[subId]/tasks/[taskId]/route-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/app/api/projects/[id]/sub-projects/[subId]/tasks/route-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/app/api/projects/[id]/sub-projects/route-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/app/api/projects/route-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/app/api/search/route-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/app/api/sync/route-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/app/api/update/route-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/app/api/version/route-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/app/page-e935ee928da68ca2.js +0 -28
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-3ff8f59aaa75b8f8.js +0 -1
- package/.next/static/css/e4c7cd5a570312d9.css +0 -3
- package/.next/static/pxqzEiwniZAUDOUTb5SnX/_buildManifest.js +0 -1
- /package/.next/static/{pxqzEiwniZAUDOUTb5SnX → 5I00mUqwYdcGFbs7ETC9d}/_ssgManifest.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[374],{55:(e,t,n)=>{n.d(t,{B:()=>l});var r=n(2835),i=n(4294);let l={partial:!0,tokenize:function(e,t,n){return function(t){return(0,i.On)(t)?(0,r.N)(e,l,"linePrefix")(t):l(t)};function l(e){return null===e||(0,i.HP)(e)?t(e):n(e)}}}},768:(e,t,n)=>{n.d(t,{dc:()=>l,VG:()=>o});var r=n(3129);let i=[],l=!1;function o(e,t,n,o){let s;"function"==typeof t&&"function"!=typeof n?(o=n,n=t):s=t;let a=(0,r.C)(s),c=o?-1:1;(function e(r,s,u){let h=r&&"object"==typeof r?r:{};if("string"==typeof h.type){let e="string"==typeof h.tagName?h.tagName:"string"==typeof h.name?h.name:void 0;Object.defineProperty(f,"name",{value:"node ("+r.type+(e?"<"+e+">":"")+")"})}return f;function f(){var h;let f,O,d,p=i;if((!t||a(r,s,u[u.length-1]||void 0))&&(p=Array.isArray(h=n(r,u))?h:"number"==typeof h?[!0,h]:null==h?i:[h])[0]===l)return p;if("children"in r&&r.children&&r.children&&"skip"!==p[0])for(O=(o?r.children.length:-1)+c,d=u.concat(r);O>-1&&O<r.children.length;){if((f=e(r.children[O],O,d)())[0]===l)return f;O="number"==typeof f[1]?f[1]:O+c}return p}})(e,void 0,[])()}},783:(e,t,n)=>{n.d(t,{y:()=>l});var r=n(1161);let i={}.hasOwnProperty;function l(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let l,o=(i.call(e,n)?e[n]:void 0)||(e[n]={}),s=t[n];if(s)for(l in s){i.call(o,l)||(o[l]=[]);let e=s[l];!function(e,t){let n=-1,i=[];for(;++n<t.length;)("after"===t[n].add?e:i).push(t[n]);(0,r.m)(e,0,0,i)}(o[l],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}},1090:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,l=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,a=/^\s+|\s+$/g;function c(e){return e?e.replace(a,""):""}e.exports=function(e,a){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];a=a||{};var u=1,h=1;function f(e){var t=e.match(n);t&&(u+=t.length);var r=e.lastIndexOf("\n");h=~r?e.length-r:h+e.length}function O(){var e={line:u,column:h};return function(t){return t.position=new d(e),m(r),t}}function d(e){this.start=e,this.end={line:u,column:h},this.source=a.source}function p(t){var n=Error(a.source+":"+u+":"+h+": "+t);if(n.reason=t,n.filename=a.source,n.line=u,n.column=h,n.source=e,a.silent);else throw n}function m(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function g(e){var t;for(e=e||[];t=y();)!1!==t&&e.push(t);return e}function y(){var t=O();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return p("End of comment missing");var r=e.slice(2,n-2);return h+=2,f(r),e=e.slice(n),h+=2,t({type:"comment",comment:r})}}d.prototype.content=e,m(r);var x,k=[];for(g(k);x=function(){var e=O(),n=m(i);if(n){if(y(),!m(l))return p("property missing ':'");var r=m(o),a=e({type:"declaration",property:c(n[0].replace(t,"")),value:r?c(r[0].replace(t,"")):""});return m(s),a}}();)!1!==x&&(k.push(x),g(k));return k}},1161:(e,t,n)=>{function r(e,t,n,r){let i,l=e.length,o=0;if(t=t<0?-t>l?0:l+t:t>l?l:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);o<r.length;)(i=r.slice(o,o+1e4)).unshift(t,0),e.splice(...i),o+=1e4,t+=1e4}function i(e,t){return e.length>0?(r(e,e.length,0,t),e):t}n.d(t,{V:()=>i,m:()=>r})},2161:(e,t,n)=>{n.d(t,{Ar:()=>c,Bc:()=>ex,Gw:()=>es,OO:()=>ew,_5:()=>o,et:()=>a,wm:()=>eO,yU:()=>eS});var r=n(7071),i=n(9561),l=n(6732);class o{constructor(e,t,n,r){this.state=e,this.pos=t,this.explicit=n,this.view=r,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let t=(0,l.mv)(this.state).resolveInner(this.pos,-1);for(;t&&0>e.indexOf(t.name);)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),r=t.text.slice(n-t.from,this.pos-t.from),i=r.search(f(e,!1));return i<0?null:{from:n+i,to:this.pos,text:r.slice(i)}}get aborted(){return null==this.abortListeners}addEventListener(e,t,n){"abort"==e&&this.abortListeners&&(this.abortListeners.push(t),n&&n.onDocChange&&(this.abortOnDocChange=!0))}}function s(e){let t=Object.keys(e).join(""),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,"")),`[${n?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function a(e){let t=e.map(e=>"string"==typeof e?{label:e}:e),[n,r]=t.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:function(e){let t=Object.create(null),n=Object.create(null);for(let{label:r}of e){t[r[0]]=!0;for(let e=1;e<r.length;e++)n[r[e]]=!0}let r=s(t)+s(n)+"*$";return[RegExp("^"+r),new RegExp(r)]}(t);return e=>{let i=e.matchBefore(r);return i||e.explicit?{from:i?i.from:e.pos,options:t,validFor:n}:null}}function c(e,t){return n=>{for(let t=(0,l.mv)(n.state).resolveInner(n.pos,-1);t;t=t.parent){if(e.indexOf(t.name)>-1)return null;if(t.type.isTop)break}return t(n)}}class u{constructor(e,t,n,r){this.completion=e,this.source=t,this.match=n,this.score=r}}function h(e){return e.selection.main.from}function f(e,t){var n;let{source:r}=e,i=t&&"^"!=r[0],l="$"!=r[r.length-1];return i||l?RegExp(`${i?"^":""}(?:${r})${l?"$":""}`,null!=(n=e.flags)?n:e.ignoreCase?"i":""):e}let O=r.YH.define(),d=new WeakMap;function p(e){if(!Array.isArray(e))return e;let t=d.get(e);return t||d.set(e,t=a(e)),t}let m=r.Pe.define(),g=r.Pe.define();class y{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let t=0;t<e.length;){let n=(0,r.vS)(e,t),i=(0,r.Fh)(n);this.chars.push(n);let l=e.slice(t,t+i),o=l.toUpperCase();this.folded.push((0,r.vS)(o==l?l.toLowerCase():o,0)),t+=i}this.astral=e.length!=this.chars.length}ret(e,t){return this.score=e,this.matched=t,this}match(e){if(0==this.pattern.length)return this.ret(-100,[]);if(e.length<this.pattern.length)return null;let{chars:t,folded:n,any:i,precise:l,byWord:o}=this;if(1==t.length){let i=(0,r.vS)(e,0),l=(0,r.Fh)(i),o=l==e.length?0:-100;if(i==t[0]);else{if(i!=n[0])return null;o+=-200}return this.ret(o,[0,l])}let s=e.indexOf(this.pattern);if(0==s)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length]);let a=t.length,c=0;if(s<0){for(let l=0,o=Math.min(e.length,200);l<o&&c<a;){let o=(0,r.vS)(e,l);(o==t[c]||o==n[c])&&(i[c++]=l),l+=(0,r.Fh)(o)}if(c<a)return null}let u=0,h=0,f=!1,O=0,d=-1,p=-1,m=/[a-z]/.test(e),g=!0;for(let i=0,c=Math.min(e.length,200),y=0;i<c&&h<a;){let c=(0,r.vS)(e,i);s<0&&(u<a&&c==t[u]&&(l[u++]=i),O<a&&(c==t[O]||c==n[O]?(0==O&&(d=i),p=i+1,O++):O=0));let x,k=c<255?c>=48&&c<=57||c>=97&&c<=122?2:+(c>=65&&c<=90):(x=(0,r.MK)(c))!=x.toLowerCase()?1:2*(x!=x.toUpperCase());(!i||1==k&&m||0==y&&0!=k)&&(t[h]==c||n[h]==c&&(f=!0)?o[h++]=i:o.length&&(g=!1)),y=k,i+=(0,r.Fh)(c)}return h==a&&0==o[0]&&g?this.result(-100+(f?-200:0),o,e):O==a&&0==d?this.ret(-200-e.length+(p==e.length?0:-100),[0,p]):s>-1?this.ret(-700-e.length,[s,s+this.pattern.length]):O==a?this.ret(-900-e.length,[d,p]):h==a?this.result(-100+(f?-200:0)+-700+(g?0:-1100),o,e):2==t.length?null:this.result((i[0]?-700:0)+-200+-1100,i,e)}result(e,t,n){let i=[],l=0;for(let e of t){let t=e+(this.astral?(0,r.Fh)((0,r.vS)(n,e)):1);l&&i[l-1]==e?i[l-1]=t:(i[l++]=e,i[l++]=t)}return this.ret(e-n.length,i)}}class x{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length<this.pattern.length)return null;let t=e.slice(0,this.pattern.length),n=t==this.pattern?0:t.toLowerCase()==this.folded?-200:null;return null==n?null:(this.matched=[0,t.length],this.score=n+(e.length==this.pattern.length?0:-100),this)}}let k=r.sj.define({combine:e=>(0,r.QR)(e,{activateOnTyping:!0,activateOnCompletion:()=>!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:v,filterStrict:!1,compareCompletions:(e,t)=>(e.sortText||e.label).localeCompare(t.sortText||t.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>n=>b(e(n),t(n)),optionClass:(e,t)=>n=>b(e(n),t(n)),addToOptions:(e,t)=>e.concat(t),filterStrict:(e,t)=>e||t})});function b(e,t){return e?t?e+" "+t:e:t}function v(e,t,n,r,l,o){let s=e.textDirection==i.OP.RTL,a=s,c=!1,u="top",h,f,O=t.left-l.left,d=l.right-t.right,p=r.right-r.left,m=r.bottom-r.top;if(a&&O<Math.min(p,d)?a=!1:!a&&d<Math.min(p,O)&&(a=!0),p<=(a?O:d))h=Math.max(l.top,Math.min(n.top,l.bottom-m))-t.top,f=Math.min(400,a?O:d);else{c=!0,f=Math.min(400,(s?t.right:l.right-t.left)-30);let e=l.bottom-t.bottom;e>=m||e>t.top?h=n.bottom-t.top:(u="bottom",h=t.bottom-n.top)}let g=(t.bottom-t.top)/o.offsetHeight,y=(t.right-t.left)/o.offsetWidth;return{style:`${u}: ${h/g}px; max-width: ${f/y}px`,class:"cm-completionInfo-"+(c?s?"left-narrow":"right-narrow":a?"left":"right")}}let Q=r.Pe.define();function S(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let e=Math.floor(t/n);return{from:e*n,to:(e+1)*n}}let r=Math.floor((e-t)/n);return{from:e-(r+1)*n,to:e-r*n}}class w{constructor(e,t,n){this.view=e,this.stateField=t,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:e=>this.placeInfo(e),key:this},this.space=null,this.currentClass="";let r=e.state.field(t),{options:i,selected:l}=r.open,o=e.state.facet(k);this.optionContent=function(e){let t=e.addToOptions.slice();return e.icons&&t.push({render(e){let t=document.createElement("div");return t.classList.add("cm-completionIcon"),e.type&&t.classList.add(...e.type.split(/\s+/g).map(e=>"cm-completionIcon-"+e)),t.setAttribute("aria-hidden","true"),t},position:20}),t.push({render(e,t,n,r){let i=document.createElement("span");i.className="cm-completionLabel";let l=e.displayLabel||e.label,o=0;for(let e=0;e<r.length;){let t=r[e++],n=r[e++];t>o&&i.appendChild(document.createTextNode(l.slice(o,t)));let s=i.appendChild(document.createElement("span"));s.appendChild(document.createTextNode(l.slice(t,n))),s.className="cm-completionMatchedText",o=n}return o<l.length&&i.appendChild(document.createTextNode(l.slice(o))),i},position:50},{render(e){if(!e.detail)return null;let t=document.createElement("span");return t.className="cm-completionDetail",t.textContent=e.detail,t},position:80}),t.sort((e,t)=>e.position-t.position).map(e=>e.render)}(o),this.optionClass=o.optionClass,this.tooltipClass=o.tooltipClass,this.range=S(i.length,l,o.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",n=>{let{options:r}=e.state.field(t).open;for(let t=n.target,i;t&&t!=this.dom;t=t.parentNode)if("LI"==t.nodeName&&(i=/-(\d+)$/.exec(t.id))&&+i[1]<r.length){this.applyCompletion(e,r[+i[1]]),n.preventDefault();return}if(n.target==this.list){let t=this.list.classList.contains("cm-completionListIncompleteTop")&&n.clientY<this.list.firstChild.getBoundingClientRect().top?this.range.from-1:this.list.classList.contains("cm-completionListIncompleteBottom")&&n.clientY>this.list.lastChild.getBoundingClientRect().bottom?this.range.to:null;null!=t&&(e.dispatch({effects:Q.of(t)}),n.preventDefault())}}),this.dom.addEventListener("focusout",t=>{let n=e.state.field(this.stateField,!1);n&&n.tooltip&&e.state.facet(k).closeOnBlur&&t.relatedTarget!=e.contentDOM&&e.dispatch({effects:g.of(null)})}),this.showOptions(i,r.id)}mount(){this.updateSel()}showOptions(e,t){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,t,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var t;let n=e.state.field(this.stateField),r=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),n!=r){let{options:i,selected:l,disabled:o}=n.open;r.open&&r.open.options==i||(this.range=S(i.length,l,e.state.facet(k).maxRenderedOptions),this.showOptions(i,n.id)),this.updateSel(),o!=(null==(t=r.open)?void 0:t.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!o)}}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let e of this.currentClass.split(" "))e&&this.dom.classList.remove(e);for(let e of t.split(" "))e&&this.dom.classList.add(e);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;(t.selected>-1&&t.selected<this.range.from||t.selected>=this.range.to)&&(this.range=S(t.options.length,t.selected,this.view.state.facet(k).maxRenderedOptions),this.showOptions(t.options,e.id));let n=this.updateSelectedOption(t.selected);if(n){this.destroyInfo();let{completion:r}=t.options[t.selected],{info:l}=r;if(!l)return;let o="string"==typeof l?document.createTextNode(l):l(r);if(!o)return;"then"in o?o.then(t=>{t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t,r)}).catch(e=>(0,i.c_)(this.view.state,e,"completion info")):(this.addInfoPane(o,r),n.setAttribute("aria-describedby",this.info.id))}}addInfoPane(e,t){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",n.id="cm-completionInfo-"+Math.floor(65535*Math.random()).toString(16),null!=e.nodeType)n.appendChild(e),this.infoDestroy=null;else{let{dom:t,destroy:r}=e;n.appendChild(t),this.infoDestroy=r||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){var t,n;let r,i,l,o=null;for(let t=this.list.firstChild,n=this.range.from;t;t=t.nextSibling,n++)"LI"==t.nodeName&&t.id?n==e?t.hasAttribute("aria-selected")||(t.setAttribute("aria-selected","true"),o=t):t.hasAttribute("aria-selected")&&(t.removeAttribute("aria-selected"),t.removeAttribute("aria-describedby")):n--;return o&&(t=this.list,n=o,r=t.getBoundingClientRect(),i=n.getBoundingClientRect(),l=r.height/t.offsetHeight,i.top<r.top?t.scrollTop-=(r.top-i.top)/l:i.bottom>r.bottom&&(t.scrollTop+=(i.bottom-r.bottom)/l)),o}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),i=this.space;if(!i){let e=this.dom.ownerDocument.documentElement;i={left:0,top:0,right:e.clientWidth,bottom:e.clientHeight}}return r.top>Math.min(i.bottom,t.bottom)-10||r.bottom<Math.max(i.top,t.top)+10?null:this.view.state.facet(k).positionInfo(this.view,t,r,n,i,this.dom)}placeInfo(e){this.info&&(e?(e.style&&(this.info.style.cssText=e.style),this.info.className="cm-tooltip cm-completionInfo "+(e.class||"")):this.info.style.cssText="top: -1e6px")}createListBox(e,t,n){let r=document.createElement("ul");r.id=t,r.setAttribute("role","listbox"),r.setAttribute("aria-expanded","true"),r.setAttribute("aria-label",this.view.state.phrase("Completions")),r.addEventListener("mousedown",e=>{e.target==r&&e.preventDefault()});let i=null;for(let l=n.from;l<n.to;l++){let{completion:o,match:s}=e[l],{section:a}=o;if(a){let e="string"==typeof a?a:a.name;e!=i&&(l>n.from||0==n.from)&&(i=e,"string"!=typeof a&&a.header?r.appendChild(a.header(a)):r.appendChild(document.createElement("completion-section")).textContent=e)}let c=r.appendChild(document.createElement("li"));c.id=t+"-"+l,c.setAttribute("role","option");let u=this.optionClass(o);for(let e of(u&&(c.className=u),this.optionContent)){let t=e(o,this.view.state,this.view,s);t&&c.appendChild(t)}}return n.from&&r.classList.add("cm-completionListIncompleteTop"),n.to<e.length&&r.classList.add("cm-completionListIncompleteBottom"),r}destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null)}destroy(){this.destroyInfo()}}function $(e){return 100*(e.boost||0)+10*!!e.apply+5*!!e.info+ +!!e.type}class P{constructor(e,t,n,r,i,l){this.options=e,this.attrs=t,this.tooltip=n,this.timestamp=r,this.selected=i,this.disabled=l}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new P(this.options,A(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,n,r,i,l){if(r&&!l&&e.some(e=>e.isPending))return r.setDisabled();let o=function(e,t){let n=[],r=null,i=null,l=e=>{n.push(e);let{section:t}=e.completion;if(t){r||(r=[]);let e="string"==typeof t?t:t.name;r.some(t=>t.name==e)||r.push("string"==typeof t?{name:e}:t)}},o=t.facet(k);for(let r of e)if(r.hasResult()){let e=r.result.getMatch;if(!1===r.result.filter)for(let t of r.result.options)l(new u(t,r.source,e?e(t):[],1e9-n.length));else{let n=t.sliceDoc(r.from,r.to),s,a=o.filterStrict?new x(n):new y(n);for(let t of r.result.options)if(s=a.match(t.label)){let n=t.displayLabel?e?e(t,s.matched):[]:s.matched,o=s.score+(t.boost||0);if(l(new u(t,r.source,n,o)),"object"==typeof t.section&&"dynamic"===t.section.rank){let{name:e}=t.section;i||(i=Object.create(null)),i[e]=Math.max(o,i[e]||-1e9)}}}}if(r){let e=Object.create(null),t=0;for(let n of r.sort((e,t)=>("dynamic"===e.rank&&"dynamic"===t.rank?i[t.name]-i[e.name]:0)||("number"==typeof e.rank?e.rank:1e9)-("number"==typeof t.rank?t.rank:1e9)||(e.name<t.name?-1:1)))t-=1e5,e[n.name]=t;for(let t of n){let{section:n}=t.completion;n&&(t.score+=e["string"==typeof n?n:n.name])}}let s=[],a=null,c=o.compareCompletions;for(let e of n.sort((e,t)=>t.score-e.score||c(e.completion,t.completion))){let t=e.completion;a&&a.label==t.label&&a.detail==t.detail&&(null==a.type||null==t.type||a.type==t.type)&&a.apply==t.apply&&a.boost==t.boost?$(e.completion)>$(a)&&(s[s.length-1]=e):s.push(e),a=e.completion}return s}(e,t);if(!o.length)return r&&e.some(e=>e.isPending)?r.setDisabled():null;let s=t.facet(k).selectOnOpen?0:-1;if(r&&r.selected!=s&&-1!=r.selected){let e=r.options[r.selected].completion;for(let t=0;t<o.length;t++)if(o[t].completion==e){s=t;break}}return new P(o,A(n,s),{pos:e.reduce((e,t)=>t.hasResult()?Math.min(e,t.from):e,1e8),create:Y,above:i.aboveCursor},r?r.timestamp:Date.now(),s,!1)}map(e){return new P(this.options,this.attrs,{...this.tooltip,pos:e.mapPos(this.tooltip.pos)},this.timestamp,this.selected,this.disabled)}setDisabled(){return new P(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class Z{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new Z(C,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(e){let{state:t}=e,n=t.facet(k),r=(n.override||t.languageDataAt("autocomplete",h(t)).map(p)).map(t=>(this.active.find(e=>e.source==t)||new R(t,+!!this.active.some(e=>0!=e.state))).update(e,n));r.length==this.active.length&&r.every((e,t)=>e==this.active[t])&&(r=this.active);let i=this.open,l=e.effects.some(e=>e.is(z));for(let o of(i&&e.docChanged&&(i=i.map(e.changes)),e.selection||r.some(t=>t.hasResult()&&e.changes.touchesRange(t.from,t.to))||!function(e,t){if(e==t)return!0;for(let n=0,r=0;;){for(;n<e.length&&!e[n].hasResult();)n++;for(;r<t.length&&!t[r].hasResult();)r++;let i=n==e.length,l=r==t.length;if(i||l)return i==l;if(e[n++].result!=t[r++].result)return!1}}(r,this.active)||l?i=P.build(r,t,this.id,i,n,l):i&&i.disabled&&!r.some(e=>e.isPending)&&(i=null),!i&&r.every(e=>!e.isPending)&&r.some(e=>e.hasResult())&&(r=r.map(e=>e.hasResult()?new R(e.source,0):e)),e.effects))o.is(Q)&&(i=i&&i.setSelected(o.value,this.id));return r==this.active&&i==this.open?this:new Z(r,this.id,i)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?T:X}}let T={"aria-autocomplete":"list"},X={};function A(e,t){let n={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(n["aria-activedescendant"]=e+"-"+t),n}let C=[];function _(e,t){if(e.isUserEvent("input.complete")){let n=e.annotation(O);if(n&&t.activateOnCompletion(n))return 12}let n=e.isUserEvent("input.type");return n&&t.activateOnTyping?5:n?1:e.isUserEvent("delete.backward")?2:e.selection?8:16*!!e.docChanged}class R{constructor(e,t,n=!1){this.source=e,this.state=t,this.explicit=n}hasResult(){return!1}get isPending(){return 1==this.state}update(e,t){let n=_(e,t),r=this;for(let t of((8&n||16&n&&this.touches(e))&&(r=new R(r.source,0)),4&n&&0==r.state&&(r=new R(this.source,1)),r=r.updateFor(e,n),e.effects))if(t.is(m))r=new R(r.source,1,t.value);else if(t.is(g))r=new R(r.source,0);else if(t.is(z))for(let e of t.value)e.source==r.source&&(r=e);return r}updateFor(e,t){return this.map(e.changes)}map(e){return this}touches(e){return e.changes.touchesRange(h(e.state))}}class j extends R{constructor(e,t,n,r,i,l){super(e,3,t),this.limit=n,this.result=r,this.from=i,this.to=l}hasResult(){return!0}updateFor(e,t){var n;if(!(3&t))return this.map(e.changes);let r=this.result;r.map&&!e.changes.empty&&(r=r.map(r,e.changes));let i=e.changes.mapPos(this.from),l=e.changes.mapPos(this.to,1),s=h(e.state);if(s>l||!r||2&t&&(h(e.startState)==this.from||s<this.limit))return new R(this.source,4&t?1:0);let a=e.changes.mapPos(this.limit);return!function(e,t,n,r){if(!e)return!1;let i=t.sliceDoc(n,r);return"function"==typeof e?e(i,n,r,t):f(e,!0).test(i)}(r.validFor,e.state,i,l)?r.update&&(r=r.update(r,i,l,new o(e.state,s,!1)))?new j(this.source,this.explicit,a,r,r.from,null!=(n=r.to)?n:h(e.state)):new R(this.source,1,this.explicit):new j(this.source,this.explicit,a,r,i,l)}map(e){return e.empty?this:(this.result.map?this.result.map(this.result,e):this.result)?new j(this.source,this.explicit,e.mapPos(this.limit),this.result,e.mapPos(this.from),e.mapPos(this.to,1)):new R(this.source,0)}touches(e){return e.changes.touchesRange(this.from,this.to)}}let z=r.Pe.define({map:(e,t)=>e.map(e=>e.map(t))}),E=r.sU.define({create:()=>Z.start(),update:(e,t)=>e.update(t),provide:e=>[i.DK.from(e,e=>e.tooltip),i.Lz.contentAttributes.from(e,e=>e.attrs)]});function M(e,t){let n=t.completion.apply||t.completion.label,i=e.state.field(E).active.find(e=>e.source==t.source);return i instanceof j&&("string"==typeof n?e.dispatch({...function(e,t,n,i){let{main:l}=e.selection,o=n-l.from,s=i-l.from;return{...e.changeByRange(a=>{if(a!=l&&n!=i&&e.sliceDoc(a.from+o,a.from+s)!=e.sliceDoc(n,i))return{range:a};let c=e.toText(t);return{changes:{from:a.from+o,to:i==l.from?a.to:a.from+s,insert:c},range:r.OF.cursor(a.from+o+c.length)}}),scrollIntoView:!0,userEvent:"input.complete"}}(e.state,n,i.from,i.to),annotations:O.of(t.completion)}):n(e,t.completion,i.from,i.to),!0)}let Y=e=>new w(e,E,M);function L(e,t="option"){return n=>{let r=n.state.field(E,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp<n.state.facet(k).interactionDelay)return!1;let l=1,o;"page"==t&&(o=(0,i.Eg)(n,r.open.tooltip))&&(l=Math.max(2,Math.floor(o.dom.offsetHeight/o.dom.querySelector("li").offsetHeight)-1));let{length:s}=r.open.options,a=r.open.selected>-1?r.open.selected+l*(e?1:-1):e?0:s-1;return a<0?a="page"==t?0:s-1:a>=s&&(a="page"==t?s-1:0),n.dispatch({effects:Q.of(a)}),!0}}let I=e=>!!e.state.field(E,!1)&&(e.dispatch({effects:m.of(!0)}),!0);class q{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}let V=i.Z9.fromClass(class{constructor(e){for(let t of(this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0,e.state.field(E).active))t.isPending&&this.startQuery(t)}update(e){let t=e.state.field(E),n=e.state.facet(k);if(!e.selectionSet&&!e.docChanged&&e.startState.field(E)==t)return;let r=e.transactions.some(e=>{let t=_(e,n);return 8&t||(e.selection||e.docChanged)&&!(3&t)});for(let t=0;t<this.running.length;t++){let n=this.running[t];if(r||n.context.abortOnDocChange&&e.docChanged||n.updates.length+e.transactions.length>50&&Date.now()-n.time>1e3){for(let e of n.context.abortListeners)try{e()}catch(e){(0,i.c_)(this.view.state,e)}n.context.abortListeners=null,this.running.splice(t--,1)}else n.updates.push(...e.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),e.transactions.some(e=>e.effects.some(e=>e.is(m)))&&(this.pendingStart=!0);let l=this.pendingStart?50:n.activateOnTypingDelay;if(this.debounceUpdate=t.active.some(e=>e.isPending&&!this.running.some(t=>t.active.source==e.source))?setTimeout(()=>this.startUpdate(),l):-1,0!=this.composing)for(let t of e.transactions)t.isUserEvent("input.type")?this.composing=2:2==this.composing&&t.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:e}=this.view,t=e.field(E);for(let e of t.active)e.isPending&&!this.running.some(t=>t.active.source==e.source)&&this.startQuery(e);this.running.length&&t.open&&t.open.disabled&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(k).updateSyncTime))}startQuery(e){let{state:t}=this.view,n=h(t),r=new o(t,n,e.explicit,this.view),l=new q(e,r);this.running.push(l),Promise.resolve(e.source(r)).then(e=>{l.context.aborted||(l.done=e||null,this.scheduleAccept())},e=>{this.view.dispatch({effects:g.of(null)}),(0,i.c_)(this.view.state,e)})}scheduleAccept(){this.running.every(e=>void 0!==e.done)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(k).updateSyncTime))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],n=this.view.state.facet(k),r=this.view.state.field(E);for(let i=0;i<this.running.length;i++){let l=this.running[i];if(void 0===l.done)continue;if(this.running.splice(i--,1),l.done){let r=h(l.updates.length?l.updates[0].startState:this.view.state),i=Math.min(r,l.done.from+ +!l.active.explicit),o=new j(l.active.source,l.active.explicit,i,l.done,l.done.from,null!=(e=l.done.to)?e:r);for(let e of l.updates)o=o.update(e,n);if(o.hasResult()){t.push(o);continue}}let o=r.active.find(e=>e.source==l.active.source);if(o&&o.isPending)if(null==l.done){let e=new R(l.active.source,0);for(let t of l.updates)e=e.update(t,n);e.isPending||t.push(e)}else this.startQuery(o)}(t.length||r.open&&r.open.disabled)&&this.view.dispatch({effects:z.of(t)})}},{eventHandlers:{blur(e){let t=this.view.state.field(E,!1);if(t&&t.tooltip&&this.view.state.facet(k).closeOnBlur){let n=t.open&&(0,i.Eg)(this.view,t.open.tooltip);n&&n.dom.contains(e.relatedTarget)||setTimeout(()=>this.view.dispatch({effects:g.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout(()=>this.view.dispatch({effects:m.of(!1)}),20),this.composing=0}}}),D="object"==typeof navigator&&/Win/.test(navigator.platform),W=r.Nb.highest(i.Lz.domEventHandlers({keydown(e,t){let n=t.state.field(E,!1);if(!n||!n.open||n.open.disabled||n.open.selected<0||e.key.length>1||e.ctrlKey&&!(D&&e.altKey)||e.metaKey)return!1;let r=n.open.options[n.open.selected],i=n.active.find(e=>e.source==r.source),l=r.completion.commitCharacters||i.result.commitCharacters;return l&&l.indexOf(e.key)>-1&&M(t,r),!1}})),N=i.Lz.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xb7\xb7\xb7"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'\uD835\uDC65'"}},".cm-completionIcon-constant":{"&:after":{content:"'\uD835\uDC36'"}},".cm-completionIcon-type":{"&:after":{content:"'\uD835\uDC61'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\uD83D\uDD11︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class U{constructor(e,t,n,r){this.field=e,this.line=t,this.from=n,this.to=r}}class B{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(e){let t=e.mapPos(this.from,-1,r.iR.TrackDel),n=e.mapPos(this.to,1,r.iR.TrackDel);return null==t||null==n?null:new B(this.field,t,n)}}class G{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],r=[t],i=e.doc.lineAt(t),o=/^\s*/.exec(i.text)[0];for(let i of this.lines){if(n.length){let n=o,s=/^\t*/.exec(i)[0].length;for(let t=0;t<s;t++)n+=e.facet(l.Xt);r.push(t+n.length-s),i=n+i.slice(s)}n.push(i),t+=i.length+1}return{text:n,ranges:this.fieldPositions.map(e=>new B(e.field,r[e.line]+e.from,r[e.line]+e.to))}}static parse(e){let t=[],n=[],r=[],i;for(let l of e.split(/\r\n?|\n/)){for(;i=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/.exec(l);){let e=i[1]?+i[1]:null,o=i[2]||i[3]||"",s=-1,a=o.replace(/\\[{}]/g,e=>e[1]);for(let n=0;n<t.length;n++)(null!=e?t[n].seq==e:a&&t[n].name==a)&&(s=n);if(s<0){let n=0;for(;n<t.length&&(null==e||null!=t[n].seq&&t[n].seq<e);)n++;for(let i of(t.splice(n,0,{seq:e,name:a}),s=n,r))i.field>=s&&i.field++}for(let e of r)if(e.line==n.length&&e.from>i.index){let t=i[2]?3+(i[1]||"").length:2;e.from-=t,e.to-=t}r.push(new U(s,n.length,i.index,i.index+a.length)),l=l.slice(0,i.index)+o+l.slice(i.index+i[0].length)}l=l.replace(/\\([{}])/g,(e,t,i)=>{for(let e of r)e.line==n.length&&e.from>i&&(e.from--,e.to--);return t}),n.push(l)}return new G(n,r)}}let F=i.NZ.widget({widget:new class extends i.xO{toDOM(){let e=document.createElement("span");return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),H=i.NZ.mark({class:"cm-snippetField"});class J{constructor(e,t){this.ranges=e,this.active=t,this.deco=i.NZ.set(e.map(e=>(e.from==e.to?F:H).range(e.from,e.to)),!0)}map(e){let t=[];for(let n of this.ranges){let r=n.map(e);if(!r)return null;t.push(r)}return new J(t,this.active)}selectionInsideField(e){return e.ranges.every(e=>this.ranges.some(t=>t.field==this.active&&t.from<=e.from&&t.to>=e.to))}}let K=r.Pe.define({map:(e,t)=>e&&e.map(t)}),ee=r.Pe.define(),et=r.sU.define({create:()=>null,update(e,t){for(let n of t.effects){if(n.is(K))return n.value;if(n.is(ee)&&e)return new J(e.ranges,n.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>i.Lz.decorations.from(e,e=>e?e.deco:i.NZ.none)});function en(e,t){return r.OF.create(e.filter(e=>e.field==t).map(e=>r.OF.range(e.from,e.to)))}function er(e){return({state:t,dispatch:n})=>{let r=t.field(et,!1);if(!r||e<0&&0==r.active)return!1;let i=r.active+e,l=e>0&&!r.ranges.some(t=>t.field==i+e);return n(t.update({selection:en(r.ranges,i),effects:K.of(l?null:new J(r.ranges,i)),scrollIntoView:!0})),!0}}let ei=[{key:"Tab",run:er(1),shift:er(-1)},{key:"Escape",run:({state:e,dispatch:t})=>!!e.field(et,!1)&&(t(e.update({effects:K.of(null)})),!0)}],el=r.sj.define({combine:e=>e.length?e[0]:ei}),eo=r.Nb.highest(i.w4.compute([el],e=>e.facet(el)));function es(e,t){let n;return{...t,apply:(n=G.parse(e),(e,t,i,l)=>{let{text:o,ranges:s}=n.instantiate(e.state,i),{main:a}=e.state.selection,c={changes:{from:i,to:l==a.from?a.to:l,insert:r.EY.of(o)},scrollIntoView:!0,annotations:t?[O.of(t),r.ZX.userEvent.of("input.complete")]:void 0};if(s.length&&(c.selection=en(s,0)),s.some(e=>e.field>0)){let t=new J(s,0),n=c.effects=[K.of(t)];void 0===e.state.field(et,!1)&&n.push(r.Pe.appendConfig.of([et,eo,ea,N]))}e.dispatch(e.state.update(c))})}}let ea=i.Lz.domEventHandlers({mousedown(e,t){let n=t.state.field(et,!1),r;if(!n||null==(r=t.posAtCoords({x:e.clientX,y:e.clientY})))return!1;let i=n.ranges.find(e=>e.from<=r&&e.to>=r);return!!i&&i.field!=n.active&&(t.dispatch({selection:en(n.ranges,i.field),effects:K.of(n.ranges.some(e=>e.field>i.field)?new J(n.ranges,i.field):null),scrollIntoView:!0}),!0)}}),ec={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},eu=r.Pe.define({map(e,t){let n=t.mapPos(e,-1,r.iR.TrackAfter);return null==n?void 0:n}}),eh=new class extends r.FB{};eh.startSide=1,eh.endSide=-1;let ef=r.sU.define({create:()=>r.om.empty,update(e,t){if(e=e.map(t.changes),t.selection){let n=t.state.doc.lineAt(t.selection.main.head);e=e.update({filter:e=>e>=n.from&&e<=n.to})}for(let n of t.effects)n.is(eu)&&(e=e.update({add:[eh.range(n.value,n.value+1)]}));return e}});function eO(){return[ey,ef]}let ed="()[]{}<>\xab\xbb\xbb\xab[]{}";function ep(e){for(let t=0;t<ed.length;t+=2)if(ed.charCodeAt(t)==e)return ed.charAt(t+1);return(0,r.MK)(e<128?e:e+1)}function em(e,t){return e.languageDataAt("closeBrackets",t)[0]||ec}let eg="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),ey=i.Lz.inputHandler.of((e,t,n,i)=>{if((eg?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let o=e.state.selection.main;if(i.length>2||2==i.length&&1==(0,r.Fh)((0,r.vS)(i,0))||t!=o.from||n!=o.to)return!1;let s=function(e,t){let n=em(e,e.selection.main.head),i=n.brackets||ec.brackets;for(let o of i){let s=ep((0,r.vS)(o,0));if(t==o)return s==o?function(e,t,n,i){let o=i.stringPrefixes||ec.stringPrefixes,s=null,a=e.changeByRange(i=>{if(!i.empty)return{changes:[{insert:t,from:i.from},{insert:t,from:i.to}],effects:eu.of(i.to+t.length),range:r.OF.range(i.anchor+t.length,i.head+t.length)};let a=i.head,c=eb(e.doc,a),u;if(c==t){if(ev(e,a))return{changes:{insert:t+t,from:a},effects:eu.of(a+t.length),range:r.OF.cursor(a+t.length)};else if(ek(e,a)){let i=n&&e.sliceDoc(a,a+3*t.length)==t+t+t?t+t+t:t;return{changes:{from:a,to:a+i.length,insert:i},range:r.OF.cursor(a+i.length)}}}else if(n&&e.sliceDoc(a-2*t.length,a)==t+t&&(u=eQ(e,a-2*t.length,o))>-1&&ev(e,u))return{changes:{insert:t+t+t+t,from:a},effects:eu.of(a+t.length),range:r.OF.cursor(a+t.length)};else if(e.charCategorizer(a)(c)!=r.Je.Word&&eQ(e,a,o)>-1&&!function(e,t,n,r){let i=(0,l.mv)(e).resolveInner(t,-1),o=r.reduce((e,t)=>Math.max(e,t.length),0);for(let l=0;l<5;l++){let l=e.sliceDoc(i.from,Math.min(i.to,i.from+n.length+o)),s=l.indexOf(n);if(!s||s>-1&&r.indexOf(l.slice(0,s))>-1){let t=i.firstChild;for(;t&&t.from==i.from&&t.to-t.from>n.length+s;){if(e.sliceDoc(t.to-n.length,t.to)==n)return!1;t=t.firstChild}return!0}let a=i.to==t&&i.parent;if(!a)break;i=a}return!1}(e,a,t,o))return{changes:{insert:t+t,from:a},effects:eu.of(a+t.length),range:r.OF.cursor(a+t.length)};return{range:s=i}});return s?null:e.update(a,{scrollIntoView:!0,userEvent:"input.type"})}(e,o,i.indexOf(o+o+o)>-1,n):function(e,t,n,i){let l=null,o=e.changeByRange(o=>{if(!o.empty)return{changes:[{insert:t,from:o.from},{insert:n,from:o.to}],effects:eu.of(o.to+t.length),range:r.OF.range(o.anchor+t.length,o.head+t.length)};let s=eb(e.doc,o.head);return!s||/\s/.test(s)||i.indexOf(s)>-1?{changes:{insert:t+n,from:o.head},effects:eu.of(o.head+t.length),range:r.OF.cursor(o.head+t.length)}:{range:l=o}});return l?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}(e,o,s,n.before||ec.before);if(t==s&&ek(e,e.selection.main.from))return function(e,t,n){let i=null,l=e.changeByRange(t=>t.empty&&eb(e.doc,t.head)==n?{changes:{from:t.head,to:t.head+n.length,insert:n},range:r.OF.cursor(t.head+n.length)}:i={range:t});return i?null:e.update(l,{scrollIntoView:!0,userEvent:"input.type"})}(e,0,s)}return null}(e.state,i);return!!s&&(e.dispatch(s),!0)}),ex=[{key:"Backspace",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=em(e,e.selection.main.head).brackets||ec.brackets,i=null,l=e.changeByRange(t=>{if(t.empty){var l,o;let i,s=(l=e.doc,o=t.head,i=l.sliceString(o-2,o),(0,r.Fh)((0,r.vS)(i,0))==i.length?i:i.slice(1));for(let i of n)if(i==s&&eb(e.doc,t.head)==ep((0,r.vS)(i,0)))return{changes:{from:t.head-i.length,to:t.head+i.length},range:r.OF.cursor(t.head-i.length)}}return{range:i=t}});return i||t(e.update(l,{scrollIntoView:!0,userEvent:"delete.backward"})),!i}}];function ek(e,t){let n=!1;return e.field(ef).between(0,e.doc.length,e=>{e==t&&(n=!0)}),n}function eb(e,t){let n=e.sliceString(t,t+2);return n.slice(0,(0,r.Fh)((0,r.vS)(n,0)))}function ev(e,t){let n=(0,l.mv)(e).resolveInner(t+1);return n.parent&&n.from==t}function eQ(e,t,n){let i=e.charCategorizer(t);if(i(e.sliceDoc(t-1,t))!=r.Je.Word)return t;for(let l of n){let n=t-l.length;if(e.sliceDoc(n,t)==l&&i(e.sliceDoc(n-1,n))!=r.Je.Word)return n}return -1}function eS(e={}){return[W,E,k.of(e),V,e$,N]}let ew=[{key:"Ctrl-Space",run:I},{mac:"Alt-`",run:I},{mac:"Alt-i",run:I},{key:"Escape",run:e=>{let t=e.state.field(E,!1);return!!t&&!!t.active.some(e=>0!=e.state)&&(e.dispatch({effects:g.of(null)}),!0)}},{key:"ArrowDown",run:L(!0)},{key:"ArrowUp",run:L(!1)},{key:"PageDown",run:L(!0,"page")},{key:"PageUp",run:L(!1,"page")},{key:"Enter",run:e=>{let t=e.state.field(E,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestamp<e.state.facet(k).interactionDelay)&&M(e,t.open.options[t.open.selected])}}],e$=r.Nb.highest(i.w4.computeN([k],e=>e.facet(k).defaultKeymap?[ew]:[]))},2388:(e,t,n)=>{n.d(t,{BN:()=>i,E3:()=>r,xT:()=>c});for(var r={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},i={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},l="u">typeof navigator&&/Mac/.test(navigator.platform),o="u">typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),s=0;s<10;s++)r[48+s]=r[96+s]=String(s);for(var s=1;s<=24;s++)r[s+111]="F"+s;for(var s=65;s<=90;s++)r[s]=String.fromCharCode(s+32),i[s]=String.fromCharCode(s);for(var a in r)i.hasOwnProperty(a)||(i[a]=r[a]);function c(e){var t=!(l&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||o&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?i:r)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}},2634:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,i=/^[^-]+$/,l=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},a=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var c;return(void 0===t&&(t={}),!(c=e)||i.test(c)||n.test(c))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(o,a):e.replace(l,a)).replace(r,s))}},2638:(e,t,n)=>{n.d(t,{DM:()=>f,_A:()=>T,az:()=>h,pn:()=>a,vw:()=>l});var r=n(6829);let i=0;class l{constructor(e,t,n,r){this.name=e,this.set=t,this.base=n,this.modified=r,this.id=i++}toString(){let{name:e}=this;for(let t of this.modified)t.name&&(e=`${t.name}(${e})`);return e}static define(e,t){if(e instanceof l&&(t=e),null==t?void 0:t.base)throw Error("Can not derive from a modified tag");let n=new l("string"==typeof e?e:"?",[],null,[]);if(n.set.push(n),t)for(let e of t.set)n.set.push(e);return n}static defineModifier(e){let t=new s(e);return e=>e.modified.indexOf(t)>-1?e:s.get(e.base||e,e.modified.concat(t).sort((e,t)=>e.id-t.id))}}let o=0;class s{constructor(e){this.name=e,this.instances=[],this.id=o++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find(n=>{var r,i;return n.base==e&&(r=t,i=n.modified,r.length==i.length&&r.every((e,t)=>e==i[t]))});if(n)return n;let r=[],i=new l(e.name,r,e,t);for(let e of t)e.instances.push(i);let o=function(e){let t=[[]];for(let n=0;n<e.length;n++)for(let r=0,i=t.length;r<i;r++)t.push(t[r].concat(e[n]));return t.sort((e,t)=>t.length-e.length)}(t);for(let t of e.set)if(!t.modified.length)for(let e of o)r.push(s.get(t,e));return i}}function a(e){let t=Object.create(null);for(let n in e){let r=e[n];for(let e of(Array.isArray(r)||(r=[r]),n.split(" ")))if(e){let n=[],i=2,l=e;for(let t=0;;){if("..."==l&&t>0&&t+3==e.length){i=1;break}let r=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(l);if(!r)throw RangeError("Invalid path: "+e);if(n.push("*"==r[0]?"":'"'==r[0][0]?JSON.parse(r[0]):r[0]),(t+=r[0].length)==e.length)break;let o=e[t++];if(t==e.length&&"!"==o){i=0;break}if("/"!=o)throw RangeError("Invalid path: "+e);l=e.slice(t)}let o=n.length-1,s=n[o];if(!s)throw RangeError("Invalid path: "+e);let a=new u(r,i,o>0?n.slice(0,o):null);t[s]=a.sort(t[s])}}return c.add(t)}let c=new r.uY({combine(e,t){let n,r,i;for(;e||t;){if(!e||t&&e.depth>=t.depth?(i=t,t=t.next):(i=e,e=e.next),n&&n.mode==i.mode&&!i.context&&!n.context)continue;let l=new u(i.tags,i.mode,i.context);n?n.next=l:r=l,n=l}return r}});class u{constructor(e,t,n,r){this.tags=e,this.mode=t,this.context=n,this.next=r}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}sort(e){return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}get depth(){return this.context?this.context.length:0}}function h(e,t){let n=Object.create(null);for(let t of e)if(Array.isArray(t.tag))for(let e of t.tag)n[e.id]=t.class;else n[t.tag.id]=t.class;let{scope:r,all:i=null}=t||{};return{style:e=>{let t=i;for(let r of e)for(let e of r.set){let r=n[e.id];if(r){t=t?t+" "+r:r;break}}return t},scope:r}}function f(e,t,n,r=0,i=e.length){let l=new O(r,Array.isArray(t)?t:[t],n);l.highlightRange(e.cursor(),r,i,"",l.highlighters),l.flush(i)}u.empty=new u([],2,null);class O{constructor(e,t,n){this.at=e,this.highlighters=t,this.span=n,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,i,l){let{type:o,from:s,to:a}=e;if(s>=n||a<=t)return;o.isTop&&(l=this.highlighters.filter(e=>!e.scope||e.scope(o)));let h=i,f=function(e){let t=e.type.prop(c);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}(e)||u.empty,O=function(e,t){let n=null;for(let r of e){let e=r.style(t);e&&(n=n?n+" "+e:e)}return n}(l,f.tags);if(O&&(h&&(h+=" "),h+=O,1==f.mode&&(i+=(i?" ":"")+O)),this.startSpan(Math.max(t,s),h),f.opaque)return;let d=e.tree&&e.tree.prop(r.uY.mounted);if(d&&d.overlay){let r=e.node.enter(d.overlay[0].from+s,1),o=this.highlighters.filter(e=>!e.scope||e.scope(d.tree.type)),c=e.firstChild();for(let u=0,f=s;;u++){let O=u<d.overlay.length?d.overlay[u]:null,p=O?O.from+s:a,m=Math.max(t,f),g=Math.min(n,p);if(m<g&&c)for(;e.from<g&&(this.highlightRange(e,m,g,i,l),this.startSpan(Math.min(g,e.to),h),!(e.to>=p)&&e.nextSibling()););if(!O||p>n)break;(f=O.to+s)>t&&(this.highlightRange(r.cursor(),Math.max(t,O.from+s),Math.min(n,f),"",o),this.startSpan(Math.min(n,f),h))}c&&e.parent()}else if(e.firstChild()){d&&(i="");do{if(e.to<=t)continue;if(e.from>=n)break;this.highlightRange(e,t,n,i,l),this.startSpan(Math.min(n,e.to),h)}while(e.nextSibling());e.parent()}}}let d=l.define,p=d(),m=d(),g=d(m),y=d(m),x=d(),k=d(x),b=d(x),v=d(),Q=d(v),S=d(),w=d(),$=d(),P=d($),Z=d(),T={comment:p,lineComment:d(p),blockComment:d(p),docComment:d(p),name:m,variableName:d(m),typeName:g,tagName:d(g),propertyName:y,attributeName:d(y),className:d(m),labelName:d(m),namespace:d(m),macroName:d(m),literal:x,string:k,docString:d(k),character:d(k),attributeValue:d(k),number:b,integer:d(b),float:d(b),bool:d(x),regexp:d(x),escape:d(x),color:d(x),url:d(x),keyword:S,self:d(S),null:d(S),atom:d(S),unit:d(S),modifier:d(S),operatorKeyword:d(S),controlKeyword:d(S),definitionKeyword:d(S),moduleKeyword:d(S),operator:w,derefOperator:d(w),arithmeticOperator:d(w),logicOperator:d(w),bitwiseOperator:d(w),compareOperator:d(w),updateOperator:d(w),definitionOperator:d(w),typeOperator:d(w),controlOperator:d(w),punctuation:$,separator:d($),bracket:P,angleBracket:d(P),squareBracket:d(P),paren:d(P),brace:d(P),content:v,heading:Q,heading1:d(Q),heading2:d(Q),heading3:d(Q),heading4:d(Q),heading5:d(Q),heading6:d(Q),contentSeparator:d(v),list:d(v),quote:d(v),emphasis:d(v),strong:d(v),link:d(v),monospace:d(v),strikethrough:d(v),inserted:d(),deleted:d(),changed:d(),invalid:d(),meta:Z,documentMeta:d(Z),annotation:d(Z),processingInstruction:d(Z),definition:l.defineModifier("definition"),constant:l.defineModifier("constant"),function:l.defineModifier("function"),standard:l.defineModifier("standard"),local:l.defineModifier("local"),special:l.defineModifier("special")};for(let e in T){let t=T[e];t instanceof l&&(t.name=e)}h([{tag:T.link,class:"tok-link"},{tag:T.heading,class:"tok-heading"},{tag:T.emphasis,class:"tok-emphasis"},{tag:T.strong,class:"tok-strong"},{tag:T.keyword,class:"tok-keyword"},{tag:T.atom,class:"tok-atom"},{tag:T.bool,class:"tok-bool"},{tag:T.url,class:"tok-url"},{tag:T.labelName,class:"tok-labelName"},{tag:T.inserted,class:"tok-inserted"},{tag:T.deleted,class:"tok-deleted"},{tag:T.literal,class:"tok-literal"},{tag:T.string,class:"tok-string"},{tag:T.number,class:"tok-number"},{tag:[T.regexp,T.escape,T.special(T.string)],class:"tok-string2"},{tag:T.variableName,class:"tok-variableName"},{tag:T.local(T.variableName),class:"tok-variableName tok-local"},{tag:T.definition(T.variableName),class:"tok-variableName tok-definition"},{tag:T.special(T.variableName),class:"tok-variableName2"},{tag:T.definition(T.propertyName),class:"tok-propertyName tok-definition"},{tag:T.typeName,class:"tok-typeName"},{tag:T.namespace,class:"tok-namespace"},{tag:T.className,class:"tok-className"},{tag:T.macroName,class:"tok-macroName"},{tag:T.propertyName,class:"tok-propertyName"},{tag:T.operator,class:"tok-operator"},{tag:T.comment,class:"tok-comment"},{tag:T.meta,class:"tok-meta"},{tag:T.invalid,class:"tok-invalid"},{tag:T.punctuation,class:"tok-punctuation"}])},2682:function(e,t,n){var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(9634)),i=n(2634);function l(e,t){var n={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)}),n}l.default=l,e.exports=l},2835:(e,t,n)=>{n.d(t,{N:()=>i});var r=n(4294);function i(e,t,n,i){let l=i?i-1:1/0,o=0;return function(i){return(0,r.On)(i)?(e.enter(n),function i(s){return(0,r.On)(s)&&o++<l?(e.consume(s),i):(e.exit(n),t(s))}(i)):t(i)}}},2957:(e,t,n)=>{function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}n.d(t,{A:()=>e_});var i=n(3091),l=n(4294),o=n(768),s=n(3129);let a="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function h(e){this.config.enter.autolinkProtocol.call(this,e)}function f(e){this.config.exit.autolinkProtocol.call(this,e)}function O(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,i.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function d(e){this.config.exit.autolinkEmail.call(this,e)}function p(e){this.exit(e)}function m(e){!function(e,t,n){let r=(0,s.C)((n||{}).ignore||[]),i=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){var i;let e=n[r];t.push(["string"==typeof(i=e[0])?RegExp(function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(i),"g"):i,function(e){return"function"==typeof e?e:function(){return e}}(e[1])])}return t}(t),l=-1;for(;++l<i.length;)(0,o.VG)(e,"text",a);function a(e,t){let n,o=-1;for(;++o<t.length;){let e=t[o],i=n?n.children:void 0;if(r(e,i?i.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){let n=t[t.length-1],r=i[l][0],o=i[l][1],s=0,a=n.children.indexOf(e),c=!1,u=[];r.lastIndex=0;let h=r.exec(e.value);for(;h;){let n=h.index,i={index:h.index,input:h.input,stack:[...t,e]},l=o(...h,i);if("string"==typeof l&&(l=l.length>0?{type:"text",value:l}:void 0),!1===l?r.lastIndex=n+1:(s!==n&&u.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(l)?u.push(...l):l&&u.push(l),s=n+h[0].length,c=!0),!r.global)break;h=r.exec(e.value)}return c?(s<e.value.length&&u.push({type:"text",value:e.value.slice(s)}),n.children.splice(a,1,...u)):u=[e],a+u.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,g],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,y]],{ignore:["link","linkReference"]})}function g(e,t,n,i,l){let o,s="";if(!x(l))return!1;if(/^w/i.test(t)&&(n=t+n,t="",s="http://"),(o=n.split(".")).length<2||o[o.length-1]&&(/_/.test(o[o.length-1])||!/[a-zA-Z\d]/.test(o[o.length-1]))||o[o.length-2]&&(/_/.test(o[o.length-2])||!/[a-zA-Z\d]/.test(o[o.length-2])))return!1;let a=function(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],i=n.indexOf(")"),l=r(e,"("),o=r(e,")");for(;-1!==i&&l>o;)e+=n.slice(0,i+1),i=(n=n.slice(i+1)).indexOf(")"),o++;return[e,n]}(n+i);if(!a[0])return!1;let c={type:"link",title:null,url:s+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[c,{type:"text",value:a[1]}]:c}function y(e,t,n,r){return!(!x(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function x(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,l.Ny)(n)||(0,l.es)(n))&&(!t||47!==n)}var k=n(6548);function b(){this.buffer()}function v(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Q(){this.buffer()}function S(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function w(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,i.ok)("footnoteReference"===n.type),n.identifier=(0,k.B)(this.sliceSerialize(e)).toLowerCase(),n.label=t}function $(e){this.exit(e)}function P(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,i.ok)("footnoteDefinition"===n.type),n.identifier=(0,k.B)(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Z(e){this.exit(e)}function T(e,t,n,r){let i=n.createTracker(r),l=i.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return l+=i.move(n.safe(n.associationId(e),{after:"]",before:l})),s(),o(),l+=i.move("]")}function X(e,t,n){return 0===t?e:A(e,t,n)}function A(e,t,n){return(n?"":" ")+e}T.peek=function(){return"["};let C=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function _(e){this.enter({type:"delete",children:[]},e)}function R(e){this.exit(e)}function j(e,t,n,r){let i=n.createTracker(r),l=n.enter("strikethrough"),o=i.move("~~");return o+=n.containerPhrasing(e,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),l(),o}function z(e){return e.length}function E(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:114*(82===t||114===t)}j.peek=function(){return"~"};var M=n(4693);n(8250);n(8006);function Y(e,t,n){let r=e.value||"",i="`",l=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++l<n.unsafe.length;){let e,t=n.unsafe[l],i=n.compilePattern(t);if(t.atBreak)for(;e=i.exec(r);){let t=e.index;10===r.charCodeAt(t)&&13===r.charCodeAt(t-1)&&t--,r=r.slice(0,t)+" "+r.slice(e.index+1)}}return i+r+i}Y.peek=function(){return"`"};(0,s.C)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);let L=function(e,t,n,r){let i=function(e){let t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n),l=n.bulletCurrent||function(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(n);t&&"list"===t.type&&t.ordered&&(l=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+l);let o=l.length+1;("tab"===i||"mixed"===i&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(l+" ".repeat(o-l.length)),s.shift(o);let a=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?l:l+" ".repeat(o-l.length))+e});return a(),c};function I(e){let t=e._align;(0,i.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function q(e){this.exit(e),this.data.inTable=void 0}function V(e){this.enter({type:"tableRow",children:[]},e)}function D(e){this.exit(e)}function W(e){this.enter({type:"tableCell",children:[]},e)}function N(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,U));let n=this.stack[this.stack.length-1];(0,i.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function U(e,t){return"|"===t?t:e}function B(e){let t=this.stack[this.stack.length-2];(0,i.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function G(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,i.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r,i=t.children,l=-1;for(;++l<i.length;){let e=i[l];if("paragraph"===e.type){r=e;break}}r===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function F(e,t,n,r){let i=e.children[0],l="boolean"==typeof e.checked&&i&&"paragraph"===i.type,o="["+(e.checked?"x":" ")+"] ",s=n.createTracker(r);l&&s.move(o);let a=L(e,t,n,{...r,...s.current()});return l&&(a=a.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+o})),a}var H=n(783);let J={tokenize:function(e,t,n){let r=0;return function t(l){return(87===l||119===l)&&r<3?(r++,e.consume(l),t):46===l&&3===r?(e.consume(l),i):n(l)};function i(e){return null===e?n(e):t(e)}},partial:!0},K={tokenize:function(e,t,n){let r,i,o;return s;function s(t){return 46===t||95===t?e.check(et,c,a)(t):null===t||(0,l.Ee)(t)||(0,l.Ny)(t)||45!==t&&(0,l.es)(t)?c(t):(o=!0,e.consume(t),s)}function a(t){return 95===t?r=!0:(i=r,r=void 0),e.consume(t),s}function c(e){return i||r||!o?n(e):t(e)}},partial:!0},ee={tokenize:function(e,t){let n=0,r=0;return i;function i(s){return 40===s?(n++,e.consume(s),i):41===s&&r<n?o(s):33===s||34===s||38===s||39===s||41===s||42===s||44===s||46===s||58===s||59===s||60===s||63===s||93===s||95===s||126===s?e.check(et,t,o)(s):null===s||(0,l.Ee)(s)||(0,l.Ny)(s)?t(s):(e.consume(s),i)}function o(t){return 41===t&&r++,e.consume(t),i}},partial:!0},et={tokenize:function(e,t,n){return r;function r(s){return 33===s||34===s||39===s||41===s||42===s||44===s||46===s||58===s||59===s||63===s||95===s||126===s?(e.consume(s),r):38===s?(e.consume(s),o):93===s?(e.consume(s),i):60===s||null===s||(0,l.Ee)(s)||(0,l.Ny)(s)?t(s):n(s)}function i(e){return null===e||40===e||91===e||(0,l.Ee)(e)||(0,l.Ny)(e)?t(e):r(e)}function o(t){return(0,l.CW)(t)?function t(i){return 59===i?(e.consume(i),r):(0,l.CW)(i)?(e.consume(i),t):n(i)}(t):n(t)}},partial:!0},en={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return(0,l.lV)(e)?n(e):t(e)}},partial:!0},er={name:"wwwAutolink",tokenize:function(e,t,n){let r=this;return function(t){return 87!==t&&119!==t||!ea.call(r,r.previous)||ef(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(J,e.attempt(K,e.attempt(ee,i),n),n)(t))};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:ea},ei={name:"protocolAutolink",tokenize:function(e,t,n){let r=this,i="",o=!1;return function(t){return(72===t||104===t)&&ec.call(r,r.previous)&&!ef(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(t),e.consume(t),s):n(t)};function s(t){if((0,l.CW)(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),s;if(58===t){let n=i.toLowerCase();if("http"===n||"https"===n)return e.consume(t),a}return n(t)}function a(t){return 47===t?(e.consume(t),o)?c:(o=!0,a):n(t)}function c(t){return null===t||(0,l.JQ)(t)||(0,l.Ee)(t)||(0,l.Ny)(t)||(0,l.es)(t)?n(t):e.attempt(K,e.attempt(ee,u),n)(t)}function u(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:ec},el={name:"emailAutolink",tokenize:function(e,t,n){let r,i,o=this;return function(t){return!eh(t)||!eu.call(o,o.previous)||ef(o.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),function t(r){return eh(r)?(e.consume(r),t):64===r?(e.consume(r),s):n(r)}(t))};function s(t){return 46===t?e.check(en,c,a)(t):45===t||95===t||(0,l.lV)(t)?(i=!0,e.consume(t),s):c(t)}function a(t){return e.consume(t),r=!0,s}function c(s){return i&&r&&(0,l.CW)(o.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(s)):n(s)}},previous:eu},eo={},es=48;for(;es<123;)eo[es]=el,58==++es?es=65:91===es&&(es=97);function ea(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||(0,l.Ee)(e)}function ec(e){return!(0,l.CW)(e)}function eu(e){return!(47===e||eh(e))}function eh(e){return 43===e||45===e||46===e||95===e||(0,l.lV)(e)}function ef(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eo[43]=el,eo[45]=el,eo[46]=el,eo[95]=el,eo[72]=[el,ei],eo[104]=[el,ei],eo[87]=[el,er],eo[119]=[el,er];var eO=n(55),ed=n(2835);let ep={tokenize:function(e,t,n){let r=this;return(0,ed.N)(e,function(e){let i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function em(e,t,n){let r,i=this,l=i.events.length,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);for(;l--;){let e=i.events[l][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(l){if(!r||!r._balanced)return n(l);let s=(0,k.B)(i.sliceSerialize({start:r.end,end:i.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l)):n(l)}}function eg(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){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 l={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},l.start),end:Object.assign({},l.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",l,t],["enter",o,t],["exit",o,t],["exit",l,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function ey(e,t,n){let r,i=this,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),a};function a(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(a){if(s>999||93===a&&!r||null===a||91===a||(0,l.Ee)(a))return n(a);if(93===a){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,k.B)(i.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(a)}return(0,l.Ee)(a)||(r=!0),s++,e.consume(a),92===a?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function ex(e,t,n){let r,i,o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),a=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(a>999||93===t&&!i||null===t||91===t||(0,l.Ee)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,k.B)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),f}return(0,l.Ee)(t)||(i=!0),a++,e.consume(t),92===t?h:u}function h(t){return 91===t||92===t||93===t?(e.consume(t),a++,u):u(t)}function f(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,ed.N)(e,O,"gfmFootnoteDefinitionWhitespace")):n(t)}function O(e){return t(e)}}function ek(e,t,n){return e.check(eO.B,t,e.attempt(ep,t,n))}function eb(e){e.exit("gfmFootnoteDefinition")}var ev=n(1161),eQ=n(9359);class eS{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let i=0;if(0!==n||0!==r.length){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])}}(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length,n=[];for(;t>0;)t-=1,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 ew(e,t,n){let r,i=this,o=0,s=0;return function(e){let t=i.events.length-1;for(;t>-1;){let e=i.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?i.events[t][1].type:null,l="tableHead"===r||"tableRow"===r?x:a;return l===x&&i.parser.lazy[i.now().line]?n(e):l(e)};function a(t){var n;return e.enter("tableHead"),e.enter("tableRow"),124===(n=t)||(r=!0,s+=1),c(n)}function c(t){return null===t?n(t):(0,l.HP)(t)?s>1?(s=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f):n(t):(0,l.On)(t)?(0,ed.N)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,l.Ee)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?h:u)}function h(t){return 92===t||124===t?(e.consume(t),u):u(t)}function f(t){return(i.interrupt=!1,i.parser.lazy[i.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,l.On)(t))?(0,ed.N)(e,O,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):O(t)}function O(t){return 45===t||58===t?p(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):n(t)}function d(t){return(0,l.On)(t)?(0,ed.N)(e,p,"whitespace")(t):p(t)}function p(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(s+=1,m(t)):null===t||(0,l.HP)(t)?y(t):n(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),g):(e.exit("tableDelimiterFiller"),g(n))}(t)):n(t)}function g(t){return(0,l.On)(t)?(0,ed.N)(e,y,"whitespace")(t):y(t)}function y(i){if(124===i)return O(i);if(null===i||(0,l.HP)(i))return r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(i)):n(i);return n(i)}function x(t){return e.enter("tableRow"),k(t)}function k(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),k):null===n||(0,l.HP)(n)?(e.exit("tableRow"),t(n)):(0,l.On)(n)?(0,ed.N)(e,k,"whitespace")(n):(e.enter("data"),b(n))}function b(t){return null===t||124===t||(0,l.Ee)(t)?(e.exit("data"),k(t)):(e.consume(t),92===t?v:b)}function v(t){return 92===t||124===t?(e.consume(t),b):b(t)}}function e$(e,t){let n,r,i,l=-1,o=!0,s=0,a=[0,0,0,0],c=[0,0,0,0],u=!1,h=0,f=new eS;for(;++l<e.length;){let O=e[l],d=O[1];"enter"===O[0]?"tableHead"===d.type?(u=!1,0!==h&&(eZ(f,t,h,n,r),r=void 0,h=0),n={type:"table",start:Object.assign({},d.start),end:Object.assign({},d.end)},f.add(l,0,[["enter",n,t]])):"tableRow"===d.type||"tableDelimiterRow"===d.type?(o=!0,i=void 0,a=[0,0,0,0],c=[0,l+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},d.start),end:Object.assign({},d.end)},f.add(l,0,[["enter",r,t]])),s="tableDelimiterRow"===d.type?2:r?3:1):s&&("data"===d.type||"tableDelimiterMarker"===d.type||"tableDelimiterFiller"===d.type)?(o=!1,0===c[2]&&(0!==a[1]&&(c[0]=c[1],i=eP(f,t,a,s,void 0,i),a=[0,0,0,0]),c[2]=l)):"tableCellDivider"===d.type&&(o?o=!1:(0!==a[1]&&(c[0]=c[1],i=eP(f,t,a,s,void 0,i)),c=[(a=c)[1],l,0,0])):"tableHead"===d.type?(u=!0,h=l):"tableRow"===d.type||"tableDelimiterRow"===d.type?(h=l,0!==a[1]?(c[0]=c[1],i=eP(f,t,a,s,l,i)):0!==c[1]&&(i=eP(f,t,c,s,l,i)),s=0):s&&("data"===d.type||"tableDelimiterMarker"===d.type||"tableDelimiterFiller"===d.type)&&(c[3]=l)}for(0!==h&&eZ(f,t,h,n,r),f.consume(t.events),l=-1;++l<t.events.length;){let e=t.events[l];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=function(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if("enter"===i[0])"tableContent"===i[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===i[1].type){if("tableDelimiterMarker"===e[t-1][1].type){let e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===i[1].type)break}else"enter"===i[0]&&"tableDelimiterRow"===i[1].type&&(n=!0);t+=1}return r}(t.events,l))}return e}function eP(e,t,n,r,i,l){0!==n[0]&&(l.end=Object.assign({},eT(t.events,n[0])),e.add(n[0],0,[["exit",l,t]]));let o=eT(t.events,n[1]);if(l={type:1===r?"tableHeader":2===r?"tableDelimiter":"tableData",start:Object.assign({},o),end:Object.assign({},o)},e.add(n[1],0,[["enter",l,t]]),0!==n[2]){let i=eT(t.events,n[2]),l=eT(t.events,n[3]),o={type:"tableContent",start:Object.assign({},i),end:Object.assign({},l)};if(e.add(n[2],0,[["enter",o,t]]),2!==r){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 void 0!==i&&(l.end=Object.assign({},eT(t.events,i)),e.add(i,0,[["exit",l,t]]),l=void 0),l}function eZ(e,t,n,r,i){let l=[],o=eT(t.events,n);i&&(i.end=Object.assign({},o),l.push(["exit",i,t])),r.end=Object.assign({},o),l.push(["exit",r,t]),e.add(n+1,0,l)}function eT(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eX={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i):n(t)};function i(t){return(0,l.Ee)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,l.HP)(r)?t(r):(0,l.On)(r)?e.check({tokenize:eA},t,n)(r):n(r)}}};function eA(e,t,n){return(0,ed.N)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eC={};function e_(e){var t;let n,r,i,l=e||eC,o=this.data(),s=o.micromarkExtensions||(o.micromarkExtensions=[]),g=o.fromMarkdownExtensions||(o.fromMarkdownExtensions=[]),y=o.toMarkdownExtensions||(o.toMarkdownExtensions=[]);s.push((t=l,(0,H.y)([{text:eo},{document:{91:{name:"gfmFootnoteDefinition",tokenize:ex,continuation:{tokenize:ek},exit:eb}},text:{91:{name:"gfmFootnoteCall",tokenize:ey},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:em,resolveTo:eg}}},(n=(t||{}).singleTilde,r={name:"strikethrough",tokenize:function(e,t,r){let i=this.previous,l=this.events,o=0;return function(s){return 126===i&&"characterEscape"!==l[l.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function l(s){let a=(0,M.S)(i);if(126===s)return o>1?r(s):(e.consume(s),o++,l);if(o<2&&!n)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,M.S)(s);return c._open=!u||2===u&&!!a,c._close=!a||2===a&&!!u,t(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&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)},l={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",l,t]],s=t.parser.constructs.insideSpan.null;s&&(0,ev.m)(o,o.length,0,(0,eQ.W)(s,e.slice(r+1,n),t)),(0,ev.m)(o,o.length,0,[["exit",l,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),(0,ev.m)(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}},null==n&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}}),{flow:{null:{name:"table",tokenize:ew,resolveAll:e$}}},{text:{91:eX}}]))),g.push([{transforms:[m],enter:{literalAutolink:u,literalAutolinkEmail:h,literalAutolinkHttp:h,literalAutolinkWww:h},exit:{literalAutolink:p,literalAutolinkEmail:d,literalAutolinkHttp:f,literalAutolinkWww:O}},{enter:{gfmFootnoteCallString:b,gfmFootnoteCall:v,gfmFootnoteDefinitionLabelString:Q,gfmFootnoteDefinition:S},exit:{gfmFootnoteCallString:w,gfmFootnoteCall:$,gfmFootnoteDefinitionLabelString:P,gfmFootnoteDefinition:Z}},{canContainEols:["delete"],enter:{strikethrough:_},exit:{strikethrough:R}},{enter:{table:I,tableData:W,tableHeader:W,tableRow:V},exit:{codeText:N,table:q,tableData:D,tableHeader:D,tableRow:D}},{exit:{taskListCheckValueChecked:B,taskListCheckValueUnchecked:B,paragraph:G}}]),y.push({extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:a,notInConstruct:c},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:a,notInConstruct:c},{character:":",before:"[ps]",after:"\\/",inConstruct:a,notInConstruct:c}]},(i=!1,l&&l.firstLineBlank&&(i=!0),{handlers:{footnoteDefinition:function(e,t,n,r){let l=n.createTracker(r),o=l.move("[^"),s=n.enter("footnoteDefinition"),a=n.enter("label");return o+=l.move(n.safe(n.associationId(e),{before:o,after:"]"})),a(),o+=l.move("]:"),e.children&&e.children.length>0&&(l.shift(4),o+=l.move((i?"\n":" ")+n.indentLines(n.containerFlow(e,l.current()),i?A:X))),s(),o},footnoteReference:T},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:C}],handlers:{delete:j}},function(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,l=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=Y(e,t,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r},table:function(e,t,n,r){return s(function(e,t,n){let r=e.children,i=-1,l=[],o=t.enter("table");for(;++i<r.length;)l[i]=a(r[i],t,n);return o(),l}(e,n,r),e.align)},tableCell:o,tableRow:function(e,t,n,r){let i=s([a(e,n,r)]);return i.slice(0,i.indexOf("\n"))}}};function o(e,t,n,r){let i=n.enter("tableCell"),o=n.enter("phrasing"),s=n.containerPhrasing(e,{...r,before:l,after:l});return o(),i(),s}function s(e,t){return function(e,t){let n=t||{},r=(n.align||[]).concat(),i=n.stringLength||z,l=[],o=[],s=[],a=[],c=0,u=-1;for(;++u<e.length;){let t=[],r=[],l=-1;for(e[u].length>c&&(c=e[u].length);++l<e[u].length;){var h;let o=null==(h=e[u][l])?"":String(h);if(!1!==n.alignDelimiters){let e=i(o);r[l]=e,(void 0===a[l]||e>a[l])&&(a[l]=e)}t.push(o)}o[u]=t,s[u]=r}let f=-1;if("object"==typeof r&&"length"in r)for(;++f<c;)l[f]=E(r[f]);else{let e=E(r);for(;++f<c;)l[f]=e}f=-1;let O=[],d=[];for(;++f<c;){let e=l[f],t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let i=!1===n.alignDelimiters?1:Math.max(1,a[f]-t.length-r.length),o=t+"-".repeat(i)+r;!1!==n.alignDelimiters&&((i=t.length+i+r.length)>a[f]&&(a[f]=i),d[f]=i),O[f]=o}o.splice(1,0,O),s.splice(1,0,d),u=-1;let p=[];for(;++u<o.length;){let e=o[u],t=s[u];f=-1;let r=[];for(;++f<c;){let i=e[f]||"",o="",s="";if(!1!==n.alignDelimiters){let e=a[f]-(t[f]||0),n=l[f];114===n?o=" ".repeat(e):99===n?e%2?(o=" ".repeat(e/2+.5),s=" ".repeat(e/2-.5)):s=o=" ".repeat(e/2):s=" ".repeat(e)}!1===n.delimiterStart||f||r.push("|"),!1!==n.padding&&(!1!==n.alignDelimiters||""!==i)&&(!1!==n.delimiterStart||f)&&r.push(" "),!1!==n.alignDelimiters&&r.push(o),r.push(i),!1!==n.alignDelimiters&&r.push(s),!1!==n.padding&&r.push(" "),(!1!==n.delimiterEnd||f!==c-1)&&r.push("|")}p.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return p.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function a(e,t,n){let r=e.children,i=-1,l=[],s=t.enter("tableRow");for(;++i<r.length;)l[i]=o(r[i],e,t,n);return s(),l}}(l),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:F}}]})}},3091:(e,t,n)=>{function r(){}function i(){}n.d(t,{HB:()=>i,ok:()=>r})},3129:(e,t,n)=>{n.d(t,{C:()=>r});let r=function(e){var t,n;if(null==e)return l;if("function"==typeof e)return i(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=r(e[n]);return i(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):(t=e,i(function(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}))}if("string"==typeof e){return n=e,i(function(e){return e&&e.type===n})}throw Error("Expected function, string, or object as test")};function i(e){return function(t,n,r){return!!(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function l(){return!0}},4015:(e,t,n)=>{n.d(t,{G:()=>o});let r="u"<typeof Symbol?"__ͼ":Symbol.for("ͼ"),i="u"<typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),l="u">typeof globalThis?globalThis:"u">typeof window?window:{};class o{constructor(e,t){this.rules=[];let{finish:n}=t||{};function r(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}for(let t in e)!function e(t,i,l,o){let s=[],a=/^@(\w+)\b/.exec(t[0]),c=a&&"keyframes"==a[1];if(a&&null==i)return l.push(t[0]+";");for(let n in i){let o=i[n];if(/&/.test(n))e(n.split(/,\s*/).map(e=>t.map(t=>e.replace(/&/,t))).reduce((e,t)=>e.concat(t)),o,l);else if(o&&"object"==typeof o){if(!a)throw RangeError("The value of a property ("+n+") should be a primitive value.");e(r(n),o,s,c)}else null!=o&&s.push(n.replace(/_.*/,"").replace(/[A-Z]/g,e=>"-"+e.toLowerCase())+": "+o+";")}(s.length||c)&&l.push((n&&!a&&!o?t.map(n):t).join(", ")+" {"+s.join(" ")+"}")}(r(t),e[t],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=l[r]||1;return l[r]=e+1,"ͼ"+e.toString(36)}static mount(e,t,n){let r=e[i],l=n&&n.nonce;r?l&&r.setNonce(l):r=new a(e,l),r.mount(Array.isArray(t)?t:[t],e)}}let s=new Map;class a{constructor(e,t){let n=e.ownerDocument||e,r=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let t=s.get(n);if(t)return e[i]=t;this.sheet=new r.CSSStyleSheet,s.set(n,this)}else this.styleTag=n.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[i]=this}mount(e,t){let n=this.sheet,r=0,i=0;for(let t=0;t<e.length;t++){let l=e[t],o=this.modules.indexOf(l);if(o<i&&o>-1&&(this.modules.splice(o,1),i--,o=-1),-1==o){if(this.modules.splice(i++,0,l),n)for(let e=0;e<l.rules.length;e++)n.insertRule(l.rules[e],r++)}else{for(;i<o;)r+=this.modules[i++].rules.length;r+=l.rules.length,i++}}if(n)0>t.adoptedStyleSheets.indexOf(this.sheet)&&(t.adoptedStyleSheets=[this.sheet,...t.adoptedStyleSheets]);else{let e="";for(let t=0;t<this.modules.length;t++)e+=this.modules[t].getRules()+"\n";this.styleTag.textContent=e;let n=t.head||t;this.styleTag.parentNode!=n&&n.insertBefore(this.styleTag,n.firstChild)}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}}},4294:(e,t,n)=>{n.d(t,{BM:()=>s,CW:()=>r,Ee:()=>h,HP:()=>u,JQ:()=>o,Ny:()=>d,On:()=>f,cx:()=>l,es:()=>O,lV:()=>i,ok:()=>a,ol:()=>c});let r=p(/[A-Za-z]/),i=p(/[\dA-Za-z]/),l=p(/[#-'*+\--9=?A-Z^-~]/);function o(e){return null!==e&&(e<32||127===e)}let s=p(/\d/),a=p(/[\dA-Fa-f]/),c=p(/[!-/:-@[-`{-~]/);function u(e){return null!==e&&e<-2}function h(e){return null!==e&&(e<0||32===e)}function f(e){return -2===e||-1===e||32===e}let O=p(/\p{P}|\p{S}/u),d=p(/\s/);function p(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}},4693:(e,t,n)=>{n.d(t,{S:()=>i});var r=n(4294);function i(e){return null===e||(0,r.Ee)(e)||(0,r.Ny)(e)?1:(0,r.es)(e)?2:void 0}},4923:(e,t,n)=>{n.d(t,{Mp:()=>eN,vL:()=>p,uN:()=>ed,AN:()=>ex,fp:()=>q,y$:()=>V,Sj:()=>B,Vy:()=>L,sl:()=>F,fF:()=>eF,PM:()=>eG,zM:()=>eJ,MS:()=>_,FR:()=>R});var r,i,l,o,s,a,c,u,h,f,O,d,p,m,g,y,x,k,b,v=n(2115),Q=n(7650),S=n(9768);let w={display:"none"};function $(e){let{id:t,value:n}=e;return v.createElement("div",{id:t,style:w},n)}function P(e){let{id:t,announcement:n,ariaLiveType:r="assertive"}=e;return v.createElement("div",{id:t,style:{position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"},role:"status","aria-live":r,"aria-atomic":!0},n)}let Z=(0,v.createContext)(null),T={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},X={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function A(e){var t;let n,{announcements:r=X,container:i,hiddenTextDescribedById:l,screenReaderInstructions:o=T}=e,{announce:s,announcement:a}=function(){let[e,t]=(0,v.useState)("");return{announce:(0,v.useCallback)(e=>{null!=e&&t(e)},[]),announcement:e}}(),c=(0,S.YG)("DndLiveRegion"),[u,h]=(0,v.useState)(!1);if((0,v.useEffect)(()=>{h(!0)},[]),t=(0,v.useMemo)(()=>({onDragStart(e){let{active:t}=e;s(r.onDragStart({active:t}))},onDragMove(e){let{active:t,over:n}=e;r.onDragMove&&s(r.onDragMove({active:t,over:n}))},onDragOver(e){let{active:t,over:n}=e;s(r.onDragOver({active:t,over:n}))},onDragEnd(e){let{active:t,over:n}=e;s(r.onDragEnd({active:t,over:n}))},onDragCancel(e){let{active:t,over:n}=e;s(r.onDragCancel({active:t,over:n}))}}),[s,r]),n=(0,v.useContext)(Z),(0,v.useEffect)(()=>{if(!n)throw Error("useDndMonitor must be used within a children of <DndContext>");return n(t)},[t,n]),!u)return null;let f=v.createElement(v.Fragment,null,v.createElement($,{id:l,value:o.draggable}),v.createElement(P,{id:c,announcement:a}));return i?(0,Q.createPortal)(f,i):f}function C(){}function _(e,t){return(0,v.useMemo)(()=>({sensor:e,options:null!=t?t:{}}),[e,t])}function R(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,v.useMemo)(()=>[...t].filter(e=>null!=e),[...t])}(r=f||(f={})).DragStart="dragStart",r.DragMove="dragMove",r.DragEnd="dragEnd",r.DragCancel="dragCancel",r.DragOver="dragOver",r.RegisterDroppable="registerDroppable",r.SetDroppableDisabled="setDroppableDisabled",r.UnregisterDroppable="unregisterDroppable";let j=Object.freeze({x:0,y:0});function z(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function E(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function M(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function Y(e){let{left:t,top:n,height:r,width:i}=e;return[{x:t,y:n},{x:t+i,y:n},{x:t,y:n+r},{x:t+i,y:n+r}]}function L(e,t){if(!e||0===e.length)return null;let[n]=e;return t?n[t]:n}function I(e,t,n){return void 0===t&&(t=e.left),void 0===n&&(n=e.top),{x:t+.5*e.width,y:n+.5*e.height}}let q=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=I(t,t.left,t.top),l=[];for(let e of r){let{id:t}=e,r=n.get(t);if(r){let n=z(I(r),i);l.push({id:t,data:{droppableContainer:e,value:n}})}}return l.sort(E)},V=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=Y(t),l=[];for(let e of r){let{id:t}=e,r=n.get(t);if(r){let n=Y(r),o=Number((i.reduce((e,t,r)=>e+z(n[r],t),0)/4).toFixed(4));l.push({id:t,data:{droppableContainer:e,value:o}})}}return l.sort(E)},D=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=[];for(let e of r){let{id:r}=e,l=n.get(r);if(l){let n=function(e,t){let n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),l=Math.min(t.top+t.height,e.top+e.height);if(r<i&&n<l){let o=t.width*t.height,s=e.width*e.height,a=(i-r)*(l-n);return Number((a/(o+s-a)).toFixed(4))}return 0}(l,t);n>0&&i.push({id:r,data:{droppableContainer:e,value:n}})}}return i.sort(M)};function W(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:j}let N=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((e,t)=>({...e,top:e.top+ +t.y,bottom:e.bottom+ +t.y,left:e.left+ +t.x,right:e.right+ +t.x}),{...e})},U={ignoreTransform:!1};function B(e,t){void 0===t&&(t=U);let n=e.getBoundingClientRect();if(t.ignoreTransform){let{transform:t,transformOrigin:r}=(0,S.zk)(e).getComputedStyle(e);t&&(n=function(e,t,n){let r=function(e){if(e.startsWith("matrix3d(")){let t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){let t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}(t);if(!r)return e;let{scaleX:i,scaleY:l,x:o,y:s}=r,a=e.left-o-(1-i)*parseFloat(n),c=e.top-s-(1-l)*parseFloat(n.slice(n.indexOf(" ")+1)),u=i?e.width/i:e.width,h=l?e.height/l:e.height;return{width:u,height:h,top:c,right:a+u,bottom:c+h,left:a}}(n,t,r))}let{top:r,left:i,width:l,height:o,bottom:s,right:a}=n;return{top:r,left:i,width:l,height:o,bottom:s,right:a}}function G(e){return B(e,{ignoreTransform:!0})}function F(e,t){let n=[];return e?function r(i){var l,o;let s;if(null!=t&&n.length>=t||!i)return n;if((0,S.wz)(i)&&null!=i.scrollingElement&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!(0,S.sb)(i)||(0,S.xZ)(i)||n.includes(i))return n;let a=(0,S.zk)(e).getComputedStyle(i);return(i!==e&&(void 0===(l=a)&&(l=(0,S.zk)(i).getComputedStyle(i)),s=/(auto|scroll|overlay)/,["overflow","overflowX","overflowY"].some(e=>{let t=l[e];return"string"==typeof t&&s.test(t)}))&&n.push(i),void 0===(o=a)&&(o=(0,S.zk)(i).getComputedStyle(i)),"fixed"===o.position)?n:r(i.parentNode)}(e):n}function H(e){let[t]=F(e,1);return null!=t?t:null}function J(e){return S.Sw&&e?(0,S.l6)(e)?e:(0,S.Ll)(e)?(0,S.wz)(e)||e===(0,S.TW)(e).scrollingElement?window:(0,S.sb)(e)?e:null:null:null}function K(e){return(0,S.l6)(e)?e.scrollX:e.scrollLeft}function ee(e){return(0,S.l6)(e)?e.scrollY:e.scrollTop}function et(e){return{x:K(e),y:ee(e)}}function en(e){return!!S.Sw&&!!e&&e===document.scrollingElement}function er(e){let t={x:0,y:0},n=en(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},i=e.scrollTop<=t.y,l=e.scrollLeft<=t.x;return{isTop:i,isLeft:l,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}(i=O||(O={}))[i.Forward=1]="Forward",i[i.Backward=-1]="Backward";let ei={x:.2,y:.2};function el(e){return e.reduce((e,t)=>(0,S.WQ)(e,et(t)),j)}let eo=[["x",["left","right"],function(e){return e.reduce((e,t)=>e+K(t),0)}],["y",["top","bottom"],function(e){return e.reduce((e,t)=>e+ee(t),0)}]];class es{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const n=F(t),r=el(n);for(const[t,i,l]of(this.rect={...e},this.width=e.width,this.height=e.height,eo))for(const e of i)Object.defineProperty(this,e,{get:()=>{let i=l(n),o=r[t]-i;return this.rect[e]+o},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class ea{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)})},this.target=e}add(e,t,n){var r;null==(r=this.target)||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}}function ec(e,t){let n=Math.abs(e.x),r=Math.abs(e.y);return"number"==typeof t?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t&&r>t.y}function eu(e){e.preventDefault()}function eh(e){e.stopPropagation()}(l=d||(d={})).Click="click",l.DragStart="dragstart",l.Keydown="keydown",l.ContextMenu="contextmenu",l.Resize="resize",l.SelectionChange="selectionchange",l.VisibilityChange="visibilitychange",(o=p||(p={})).Space="Space",o.Down="ArrowDown",o.Right="ArrowRight",o.Left="ArrowLeft",o.Up="ArrowUp",o.Esc="Escape",o.Enter="Enter",o.Tab="Tab";let ef={start:[p.Space,p.Enter],cancel:[p.Esc],end:[p.Space,p.Enter,p.Tab]},eO=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case p.Right:return{...n,x:n.x+25};case p.Left:return{...n,x:n.x-25};case p.Down:return{...n,y:n.y+25};case p.Up:return{...n,y:n.y-25}}};class ed{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new ea((0,S.TW)(t)),this.windowListeners=new ea((0,S.zk)(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(d.Resize,this.handleCancel),this.windowListeners.add(d.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(d.Keydown,this.handleKeyDown))}handleStart(){let{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&function(e,t){if(void 0===t&&(t=B),!e)return;let{top:n,left:r,bottom:i,right:l}=t(e);H(e)&&(i<=0||l<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}(n),t(j)}handleKeyDown(e){if((0,S.kx)(e)){let{active:t,context:n,options:r}=this.props,{keyboardCodes:i=ef,coordinateGetter:l=eO,scrollBehavior:o="smooth"}=r,{code:s}=e;if(i.end.includes(s))return void this.handleEnd(e);if(i.cancel.includes(s))return void this.handleCancel(e);let{collisionRect:a}=n.current,c=a?{x:a.left,y:a.top}:j;this.referenceCoordinates||(this.referenceCoordinates=c);let u=l(e,{active:t,context:n.current,currentCoordinates:c});if(u){let t=(0,S.Re)(u,c),r={x:0,y:0},{scrollableAncestors:i}=n.current;for(let n of i){let i=e.code,{isTop:l,isRight:s,isLeft:a,isBottom:c,maxScroll:h,minScroll:f}=er(n),O=function(e){if(e===document.scrollingElement){let{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}let{top:t,left:n,right:r,bottom:i}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:i,width:e.clientWidth,height:e.clientHeight}}(n),d={x:Math.min(i===p.Right?O.right-O.width/2:O.right,Math.max(i===p.Right?O.left:O.left+O.width/2,u.x)),y:Math.min(i===p.Down?O.bottom-O.height/2:O.bottom,Math.max(i===p.Down?O.top:O.top+O.height/2,u.y))},m=i===p.Right&&!s||i===p.Left&&!a,g=i===p.Down&&!c||i===p.Up&&!l;if(m&&d.x!==u.x){let e=n.scrollLeft+t.x,l=i===p.Right&&e<=h.x||i===p.Left&&e>=f.x;if(l&&!t.y)return void n.scrollTo({left:e,behavior:o});l?r.x=n.scrollLeft-e:r.x=i===p.Right?n.scrollLeft-h.x:n.scrollLeft-f.x,r.x&&n.scrollBy({left:-r.x,behavior:o});break}if(g&&d.y!==u.y){let e=n.scrollTop+t.y,l=i===p.Down&&e<=h.y||i===p.Up&&e>=f.y;if(l&&!t.x)return void n.scrollTo({top:e,behavior:o});l?r.y=n.scrollTop-e:r.y=i===p.Down?n.scrollTop-h.y:n.scrollTop-f.y,r.y&&n.scrollBy({top:-r.y,behavior:o});break}}this.handleMove(e,(0,S.WQ)((0,S.Re)(u,this.referenceCoordinates),r))}}}handleMove(e,t){let{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){let{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){let{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function ep(e){return!!(e&&"distance"in e)}function em(e){return!!(e&&"delay"in e)}ed.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=ef,onActivation:i}=t,{active:l}=n,{code:o}=e.nativeEvent;if(r.start.includes(o)){let t=l.activatorNode.current;return(!t||e.target===t)&&(e.preventDefault(),null==i||i({event:e.nativeEvent}),!0)}return!1}}];class eg{constructor(e,t,n){var r;void 0===n&&(n=function(e){let{EventTarget:t}=(0,S.zk)(e);return e instanceof t?e:(0,S.TW)(e)}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;const{event:i}=e,{target:l}=i;this.props=e,this.events=t,this.document=(0,S.TW)(l),this.documentListeners=new ea(this.document),this.listeners=new ea(n),this.windowListeners=new ea((0,S.zk)(l)),this.initialCoordinates=null!=(r=(0,S.e_)(i))?r:j,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){let{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(d.Resize,this.handleCancel),this.windowListeners.add(d.DragStart,eu),this.windowListeners.add(d.VisibilityChange,this.handleCancel),this.windowListeners.add(d.ContextMenu,eu),this.documentListeners.add(d.Keydown,this.handleKeydown),t){if(null!=n&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(em(t)){this.timeoutId=setTimeout(this.handleStart,t.delay),this.handlePending(t);return}if(ep(t))return void this.handlePending(t)}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,t){let{active:n,onPending:r}=this.props;r(n,e,this.initialCoordinates,t)}handleStart(){let{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(d.Click,eh,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(d.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;let{activated:n,initialCoordinates:r,props:i}=this,{onMove:l,options:{activationConstraint:o}}=i;if(!r)return;let s=null!=(t=(0,S.e_)(e))?t:j,a=(0,S.Re)(r,s);if(!n&&o){if(ep(o)){if(null!=o.tolerance&&ec(a,o.tolerance))return this.handleCancel();if(ec(a,o.distance))return this.handleStart()}return em(o)&&ec(a,o.tolerance)?this.handleCancel():void this.handlePending(o,a)}e.cancelable&&e.preventDefault(),l(s)}handleEnd(){let{onAbort:e,onEnd:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleCancel(){let{onAbort:e,onCancel:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleKeydown(e){e.code===p.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}let ey={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class ex extends eg{constructor(e){const{event:t}=e;super(e,ey,(0,S.TW)(t.target))}}ex.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!!n.isPrimary&&0===n.button&&(null==r||r({event:n}),!0)}}];let ek={move:{name:"mousemove"},end:{name:"mouseup"}};(s=m||(m={}))[s.RightClick=2]="RightClick";class eb extends eg{constructor(e){super(e,ek,(0,S.TW)(e.event.target))}}eb.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==m.RightClick&&(null==r||r({event:n}),!0)}}];let ev={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class eQ extends eg{constructor(e){super(e,ev)}static setup(){return window.addEventListener(ev.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(ev.move.name,e)};function e(){}}}eQ.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t,{touches:i}=n;return!(i.length>1)&&(null==r||r({event:n}),!0)}}],(a=g||(g={}))[a.Pointer=0]="Pointer",a[a.DraggableRect=1]="DraggableRect",(c=y||(y={}))[c.TreeOrder=0]="TreeOrder",c[c.ReversedTreeOrder=1]="ReversedTreeOrder";let eS={x:{[O.Backward]:!1,[O.Forward]:!1},y:{[O.Backward]:!1,[O.Forward]:!1}};(u=x||(x={}))[u.Always=0]="Always",u[u.BeforeDragging=1]="BeforeDragging",u[u.WhileDragging=2]="WhileDragging",(k||(k={})).Optimized="optimized";let ew=new Map;function e$(e,t){return(0,S.KG)(n=>e?n||("function"==typeof t?t(e):e):null,[t,e])}function eP(e){let{callback:t,disabled:n}=e,r=(0,S._q)(t),i=(0,v.useMemo)(()=>{if(n||"u"<typeof window||void 0===window.ResizeObserver)return;let{ResizeObserver:e}=window;return new e(r)},[n]);return(0,v.useEffect)(()=>()=>null==i?void 0:i.disconnect(),[i]),i}function eZ(e){return new es(B(e),e)}function eT(e,t,n){void 0===t&&(t=eZ);let[r,i]=(0,v.useState)(null);function l(){i(r=>{if(!e)return null;if(!1===e.isConnected){var i;return null!=(i=null!=r?r:n)?i:null}let l=t(e);return JSON.stringify(r)===JSON.stringify(l)?r:l})}let o=function(e){let{callback:t,disabled:n}=e,r=(0,S._q)(t),i=(0,v.useMemo)(()=>{if(n||"u"<typeof window||void 0===window.MutationObserver)return;let{MutationObserver:e}=window;return new e(r)},[r,n]);return(0,v.useEffect)(()=>()=>null==i?void 0:i.disconnect(),[i]),i}({callback(t){if(e)for(let n of t){let{type:t,target:r}=n;if("childList"===t&&r instanceof HTMLElement&&r.contains(e)){l();break}}}}),s=eP({callback:l});return(0,S.Es)(()=>{l(),e?(null==s||s.observe(e),null==o||o.observe(document.body,{childList:!0,subtree:!0})):(null==s||s.disconnect(),null==o||o.disconnect())},[e]),r}let eX=[];function eA(e,t){void 0===t&&(t=[]);let n=(0,v.useRef)(null);return(0,v.useEffect)(()=>{n.current=null},t),(0,v.useEffect)(()=>{let t=e!==j;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)},[e]),n.current?(0,S.Re)(e,n.current):j}function eC(e){return(0,v.useMemo)(()=>{let t,n;return e?(t=e.innerWidth,{top:0,left:0,right:t,bottom:n=e.innerHeight,width:t,height:n}):null},[e])}let e_=[],eR=[{sensor:ex,options:{}},{sensor:ed,options:{}}],ej={current:{}},ez={draggable:{measure:G},droppable:{measure:G,strategy:x.WhileDragging,frequency:k.Optimized},dragOverlay:{measure:B}};class eE extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:t}=e;return!t})}getNodeFor(e){var t,n;return null!=(t=null==(n=this.get(e))?void 0:n.node.current)?t:void 0}}let eM={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new eE,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:C},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:ez,measureDroppableContainers:C,windowRect:null,measuringScheduled:!1},eY={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:C,draggableNodes:new Map,over:null,measureDroppableContainers:C},eL=(0,v.createContext)(eY),eI=(0,v.createContext)(eM);function eq(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new eE}}}function eV(e,t){switch(t.type){case f.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case f.DragMove:if(null==e.draggable.active)return e;return{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case f.DragEnd:case f.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case f.RegisterDroppable:{let{element:n}=t,{id:r}=n,i=new eE(e.droppable.containers);return i.set(r,n),{...e,droppable:{...e.droppable,containers:i}}}case f.SetDroppableDisabled:{let{id:n,key:r,disabled:i}=t,l=e.droppable.containers.get(n);if(!l||r!==l.key)return e;let o=new eE(e.droppable.containers);return o.set(n,{...l,disabled:i}),{...e,droppable:{...e.droppable,containers:o}}}case f.UnregisterDroppable:{let{id:n,key:r}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;let l=new eE(e.droppable.containers);return l.delete(n),{...e,droppable:{...e.droppable,containers:l}}}default:return e}}function eD(e){let{disabled:t}=e,{active:n,activatorEvent:r,draggableNodes:i}=(0,v.useContext)(eL),l=(0,S.ZC)(r),o=(0,S.ZC)(null==n?void 0:n.id);return(0,v.useEffect)(()=>{if(!t&&!r&&l&&null!=o){if(!(0,S.kx)(l)||document.activeElement===l.target)return;let e=i.get(o);if(!e)return;let{activatorNode:t,node:n}=e;(t.current||n.current)&&requestAnimationFrame(()=>{for(let e of[t.current,n.current]){if(!e)continue;let t=(0,S.ag)(e);if(t){t.focus();break}}})}},[r,t,i,o,l]),null}let eW=(0,v.createContext)({...j,scaleX:1,scaleY:1});(h=b||(b={}))[h.Uninitialized=0]="Uninitialized",h[h.Initializing=1]="Initializing",h[h.Initialized=2]="Initialized";let eN=(0,v.memo)(function(e){var t,n,r,i,l,o,s,a;let c,u,h,d,p,m,k,w,{id:$,accessibility:P,autoScroll:T=!0,children:X,sensors:C=eR,collisionDetection:_=D,measuring:R,modifiers:z,...E}=e,[M,Y]=(0,v.useReducer)(eV,void 0,eq),[I,q]=function(){let[e]=(0,v.useState)(()=>new Set),t=(0,v.useCallback)(t=>(e.add(t),()=>e.delete(t)),[e]);return[(0,v.useCallback)(t=>{let{type:n,event:r}=t;e.forEach(e=>{var t;return null==(t=e[n])?void 0:t.call(e,r)})},[e]),t]}(),[V,U]=(0,v.useState)(b.Uninitialized),G=V===b.Initialized,{draggable:{active:K,nodes:ee,translate:eo},droppable:{containers:ea}}=M,ec=null!=K?ee.get(K):null,eu=(0,v.useRef)({initial:null,translated:null}),eh=(0,v.useMemo)(()=>{var e;return null!=K?{id:K,data:null!=(e=null==ec?void 0:ec.data)?e:ej,rect:eu}:null},[K,ec]),ef=(0,v.useRef)(null),[eO,ed]=(0,v.useState)(null),[ep,em]=(0,v.useState)(null),eg=(0,S.YN)(E,Object.values(E)),ey=(0,S.YG)("DndDescribedBy",$),ex=(0,v.useMemo)(()=>ea.getEnabled(),[ea]),ek=(0,v.useMemo)(()=>({draggable:{...ez.draggable,...null==R?void 0:R.draggable},droppable:{...ez.droppable,...null==R?void 0:R.droppable},dragOverlay:{...ez.dragOverlay,...null==R?void 0:R.dragOverlay}}),[null==R?void 0:R.draggable,null==R?void 0:R.droppable,null==R?void 0:R.dragOverlay]),{droppableRects:eb,measureDroppableContainers:ev,measuringScheduled:eQ}=function(e,t){let{dragging:n,dependencies:r,config:i}=t,[l,o]=(0,v.useState)(null),{frequency:s,measure:a,strategy:c}=i,u=(0,v.useRef)(e),h=function(){switch(c){case x.Always:return!1;case x.BeforeDragging:return n;default:return!n}}(),f=(0,S.YN)(h),O=(0,v.useCallback)(function(e){void 0===e&&(e=[]),f.current||o(t=>null===t?e:t.concat(e.filter(e=>!t.includes(e))))},[f]),d=(0,v.useRef)(null),p=(0,S.KG)(t=>{if(h&&!n)return ew;if(!t||t===ew||u.current!==e||null!=l){let t=new Map;for(let n of e){if(!n)continue;if(l&&l.length>0&&!l.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}let e=n.node.current,r=e?new es(a(e),e):null;n.rect.current=r,r&&t.set(n.id,r)}return t}return t},[e,l,n,h,a]);return(0,v.useEffect)(()=>{u.current=e},[e]),(0,v.useEffect)(()=>{h||O()},[n,h]),(0,v.useEffect)(()=>{l&&l.length>0&&o(null)},[JSON.stringify(l)]),(0,v.useEffect)(()=>{h||"number"!=typeof s||null!==d.current||(d.current=setTimeout(()=>{O(),d.current=null},s))},[s,h,O,...r]),{droppableRects:p,measureDroppableContainers:O,measuringScheduled:null!=l}}(ex,{dragging:G,dependencies:[eo.x,eo.y],config:ek.droppable}),eZ=(p=(d=null!=K?ee.get(K):void 0)?d.node.current:null,(0,S.KG)(e=>{var t;return null==K?null:null!=(t=null!=p?p:e)?t:null},[p,K])),eE=(0,v.useMemo)(()=>ep?(0,S.e_)(ep):null,[ep]),eM=(c=(null==eO?void 0:eO.autoScrollEnabled)===!1,u="object"==typeof T?!1===T.enabled:!1===T,h=G&&!c&&!u,"object"==typeof T?{...T,enabled:h}:{enabled:h}),eY=e$(eZ,ek.draggable.measure);!function(e){let{activeNode:t,measure:n,initialRect:r,config:i=!0}=e,l=(0,v.useRef)(!1),{x:o,y:s}="boolean"==typeof i?{x:i,y:i}:i;(0,S.Es)(()=>{if(!o&&!s||!t){l.current=!1;return}if(l.current||!r)return;let e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;let i=W(n(e),r);if(o||(i.x=0),s||(i.y=0),l.current=!0,Math.abs(i.x)>0||Math.abs(i.y)>0){let t=H(e);t&&t.scrollBy({top:i.y,left:i.x})}},[t,o,s,r,n])}({activeNode:null!=K?ee.get(K):null,config:eM.layoutShiftCompensation,initialRect:eY,measure:ek.draggable.measure});let eN=eT(eZ,ek.draggable.measure,eY),eU=eT(eZ?eZ.parentElement:null),eB=(0,v.useRef)({activatorEvent:null,active:null,activeNode:eZ,collisionRect:null,collisions:null,droppableRects:eb,draggableNodes:ee,draggingNode:null,draggingNodeRect:null,droppableContainers:ea,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),eG=ea.getNodeFor(null==(t=eB.current.over)?void 0:t.id),eF=function(e){let{measure:t}=e,[n,r]=(0,v.useState)(null),i=eP({callback:(0,v.useCallback)(e=>{for(let{target:n}of e)if((0,S.sb)(n)){r(e=>{let r=t(n);return e?{...e,width:r.width,height:r.height}:r});break}},[t])}),l=(0,v.useCallback)(e=>{let n=function(e){if(!e)return null;if(e.children.length>1)return e;let t=e.children[0];return(0,S.sb)(t)?t:e}(e);null==i||i.disconnect(),n&&(null==i||i.observe(n)),r(n?t(n):null)},[t,i]),[o,s]=(0,S.lk)(l);return(0,v.useMemo)(()=>({nodeRef:o,rect:n,setRef:s}),[n,o,s])}({measure:ek.dragOverlay.measure}),eH=null!=(n=eF.nodeRef.current)?n:eZ,eJ=G?null!=(r=eF.rect)?r:eN:null,eK=!!(eF.nodeRef.current&&eF.rect),e0=(m=e$(l=eK?null:eN),W(l,m)),e1=eC(eH?(0,S.zk)(eH):null),e2=(o=G?null!=eG?eG:eZ:null,k=(0,v.useRef)(o),w=(0,S.KG)(e=>o?e&&e!==eX&&o&&k.current&&o.parentNode===k.current.parentNode?e:F(o):eX,[o]),(0,v.useEffect)(()=>{k.current=o},[o]),w),e5=function(e,t){void 0===t&&(t=B);let[n]=e,r=eC(n?(0,S.zk)(n):null),[i,l]=(0,v.useState)(e_);function o(){l(()=>e.length?e.map(e=>en(e)?r:new es(t(e),e)):e_)}let s=eP({callback:o});return(0,S.Es)(()=>{null==s||s.disconnect(),o(),e.forEach(e=>null==s?void 0:s.observe(e))},[e]),i}(e2),e4=function(e,t){let{transform:n,...r}=t;return null!=e&&e.length?e.reduce((e,t)=>t({transform:e,...r}),n):n}(z,{transform:{x:eo.x-e0.x,y:eo.y-e0.y,scaleX:1,scaleY:1},activatorEvent:ep,active:eh,activeNodeRect:eN,containerNodeRect:eU,draggingNodeRect:eJ,over:eB.current.over,overlayNodeRect:eF.rect,scrollableAncestors:e2,scrollableAncestorRects:e5,windowRect:e1}),e3=eE?(0,S.WQ)(eE,eo):null,e9=function(e){let[t,n]=(0,v.useState)(null),r=(0,v.useRef)(e),i=(0,v.useCallback)(e=>{let t=J(e.target);t&&n(e=>e?(e.set(t,et(t)),new Map(e)):null)},[]);return(0,v.useEffect)(()=>{let t=r.current;if(e!==t){l(t);let o=e.map(e=>{let t=J(e);return t?(t.addEventListener("scroll",i,{passive:!0}),[t,et(t)]):null}).filter(e=>null!=e);n(o.length?new Map(o):null),r.current=e}return()=>{l(e),l(t)};function l(e){e.forEach(e=>{let t=J(e);null==t||t.removeEventListener("scroll",i)})}},[i,e]),(0,v.useMemo)(()=>e.length?t?Array.from(t.values()).reduce((e,t)=>(0,S.WQ)(e,t),j):el(e):j,[e,t])}(e2),e7=eA(e9),e6=eA(e9,[eN]),e8=(0,S.WQ)(e4,e7),te=eJ?N(eJ,e4):null,tt=eh&&te?_({active:eh,collisionRect:te,droppableRects:eb,droppableContainers:ex,pointerCoordinates:e3}):null,tn=L(tt,"id"),[tr,ti]=(0,v.useState)(null),tl=(s=eK?e4:(0,S.WQ)(e4,e6),a=null!=(i=null==tr?void 0:tr.rect)?i:null,{...s,scaleX:a&&eN?a.width/eN.width:1,scaleY:a&&eN?a.height/eN.height:1}),to=(0,v.useRef)(null),ts=(0,v.useCallback)((e,t)=>{let{sensor:n,options:r}=t;if(null==ef.current)return;let i=ee.get(ef.current);if(!i)return;let l=e.nativeEvent,o=new n({active:ef.current,activeNode:i,event:l,options:r,context:eB,onAbort(e){if(!ee.get(e))return;let{onDragAbort:t}=eg.current,n={id:e};null==t||t(n),I({type:"onDragAbort",event:n})},onPending(e,t,n,r){if(!ee.get(e))return;let{onDragPending:i}=eg.current,l={id:e,constraint:t,initialCoordinates:n,offset:r};null==i||i(l),I({type:"onDragPending",event:l})},onStart(e){let t=ef.current;if(null==t)return;let n=ee.get(t);if(!n)return;let{onDragStart:r}=eg.current,i={activatorEvent:l,active:{id:t,data:n.data,rect:eu}};(0,Q.unstable_batchedUpdates)(()=>{null==r||r(i),U(b.Initializing),Y({type:f.DragStart,initialCoordinates:e,active:t}),I({type:"onDragStart",event:i}),ed(to.current),em(l)})},onMove(e){Y({type:f.DragMove,coordinates:e})},onEnd:s(f.DragEnd),onCancel:s(f.DragCancel)});function s(e){return async function(){let{active:t,collisions:n,over:r,scrollAdjustedTranslate:i}=eB.current,o=null;if(t&&i){let{cancelDrop:s}=eg.current;o={activatorEvent:l,active:t,collisions:n,delta:i,over:r},e===f.DragEnd&&"function"==typeof s&&await Promise.resolve(s(o))&&(e=f.DragCancel)}ef.current=null,(0,Q.unstable_batchedUpdates)(()=>{Y({type:e}),U(b.Uninitialized),ti(null),ed(null),em(null),to.current=null;let t=e===f.DragEnd?"onDragEnd":"onDragCancel";if(o){let e=eg.current[t];null==e||e(o),I({type:t,event:o})}})}}to.current=o},[ee]),ta=(0,v.useCallback)((e,t)=>(n,r)=>{let i=n.nativeEvent,l=ee.get(r);null!==ef.current||!l||i.dndKit||i.defaultPrevented||!0===e(n,t.options,{active:l})&&(i.dndKit={capturedBy:t.sensor},ef.current=r,ts(n,t))},[ee,ts]),tc=(0,v.useMemo)(()=>C.reduce((e,t)=>{let{sensor:n}=t;return[...e,...n.activators.map(e=>({eventName:e.eventName,handler:ta(e.handler,t)}))]},[]),[C,ta]);(0,v.useEffect)(()=>{if(!S.Sw)return;let e=C.map(e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()});return()=>{for(let t of e)null==t||t()}},C.map(e=>{let{sensor:t}=e;return t})),(0,S.Es)(()=>{eN&&V===b.Initializing&&U(b.Initialized)},[eN,V]),(0,v.useEffect)(()=>{let{onDragMove:e}=eg.current,{active:t,activatorEvent:n,collisions:r,over:i}=eB.current;if(!t||!n)return;let l={active:t,activatorEvent:n,collisions:r,delta:{x:e8.x,y:e8.y},over:i};(0,Q.unstable_batchedUpdates)(()=>{null==e||e(l),I({type:"onDragMove",event:l})})},[e8.x,e8.y]),(0,v.useEffect)(()=>{let{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:i}=eB.current;if(!e||null==ef.current||!t||!i)return;let{onDragOver:l}=eg.current,o=r.get(tn),s=o&&o.rect.current?{id:o.id,rect:o.rect.current,data:o.data,disabled:o.disabled}:null,a={active:e,activatorEvent:t,collisions:n,delta:{x:i.x,y:i.y},over:s};(0,Q.unstable_batchedUpdates)(()=>{ti(s),null==l||l(a),I({type:"onDragOver",event:a})})},[tn]),(0,S.Es)(()=>{eB.current={activatorEvent:ep,active:eh,activeNode:eZ,collisionRect:te,collisions:tt,droppableRects:eb,draggableNodes:ee,draggingNode:eH,draggingNodeRect:eJ,droppableContainers:ea,over:tr,scrollableAncestors:e2,scrollAdjustedTranslate:e8},eu.current={initial:eJ,translated:te}},[eh,eZ,tt,te,ee,eH,eJ,eb,ea,tr,e2,e8]),function(e){let{acceleration:t,activator:n=g.Pointer,canScroll:r,draggingRect:i,enabled:l,interval:o=5,order:s=y.TreeOrder,pointerCoordinates:a,scrollableAncestors:c,scrollableAncestorRects:u,delta:h,threshold:f}=e,d=function(e){let{delta:t,disabled:n}=e,r=(0,S.ZC)(t);return(0,S.KG)(e=>{if(n||!r||!e)return eS;let i={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[O.Backward]:e.x[O.Backward]||-1===i.x,[O.Forward]:e.x[O.Forward]||1===i.x},y:{[O.Backward]:e.y[O.Backward]||-1===i.y,[O.Forward]:e.y[O.Forward]||1===i.y}}},[n,t,r])}({delta:h,disabled:!l}),[p,m]=(0,S.$$)(),x=(0,v.useRef)({x:0,y:0}),k=(0,v.useRef)({x:0,y:0}),b=(0,v.useMemo)(()=>{switch(n){case g.Pointer:return a?{top:a.y,bottom:a.y,left:a.x,right:a.x}:null;case g.DraggableRect:return i}},[n,i,a]),Q=(0,v.useRef)(null),w=(0,v.useCallback)(()=>{let e=Q.current;if(!e)return;let t=x.current.x*k.current.x,n=x.current.y*k.current.y;e.scrollBy(t,n)},[]),$=(0,v.useMemo)(()=>s===y.TreeOrder?[...c].reverse():c,[s,c]);(0,v.useEffect)(()=>{if(!l||!c.length||!b)return void m();for(let e of $){if((null==r?void 0:r(e))===!1)continue;let n=u[c.indexOf(e)];if(!n)continue;let{direction:i,speed:l}=function(e,t,n,r,i){let{top:l,left:o,right:s,bottom:a}=n;void 0===r&&(r=10),void 0===i&&(i=ei);let{isTop:c,isBottom:u,isLeft:h,isRight:f}=er(e),d={x:0,y:0},p={x:0,y:0},m={height:t.height*i.y,width:t.width*i.x};return!c&&l<=t.top+m.height?(d.y=O.Backward,p.y=r*Math.abs((t.top+m.height-l)/m.height)):!u&&a>=t.bottom-m.height&&(d.y=O.Forward,p.y=r*Math.abs((t.bottom-m.height-a)/m.height)),!f&&s>=t.right-m.width?(d.x=O.Forward,p.x=r*Math.abs((t.right-m.width-s)/m.width)):!h&&o<=t.left+m.width&&(d.x=O.Backward,p.x=r*Math.abs((t.left+m.width-o)/m.width)),{direction:d,speed:p}}(e,n,b,t,f);for(let e of["x","y"])d[e][i[e]]||(l[e]=0,i[e]=0);if(l.x>0||l.y>0){m(),Q.current=e,p(w,o),x.current=l,k.current=i;return}}x.current={x:0,y:0},k.current={x:0,y:0},m()},[t,w,r,m,l,o,JSON.stringify(b),JSON.stringify(d),p,c,$,u,JSON.stringify(f)])}({...eM,delta:eo,draggingRect:te,pointerCoordinates:e3,scrollableAncestors:e2,scrollableAncestorRects:e5});let tu=(0,v.useMemo)(()=>({active:eh,activeNode:eZ,activeNodeRect:eN,activatorEvent:ep,collisions:tt,containerNodeRect:eU,dragOverlay:eF,draggableNodes:ee,droppableContainers:ea,droppableRects:eb,over:tr,measureDroppableContainers:ev,scrollableAncestors:e2,scrollableAncestorRects:e5,measuringConfiguration:ek,measuringScheduled:eQ,windowRect:e1}),[eh,eZ,eN,ep,tt,eU,eF,ee,ea,eb,tr,ev,e2,e5,ek,eQ,e1]),th=(0,v.useMemo)(()=>({activatorEvent:ep,activators:tc,active:eh,activeNodeRect:eN,ariaDescribedById:{draggable:ey},dispatch:Y,draggableNodes:ee,over:tr,measureDroppableContainers:ev}),[ep,tc,eh,eN,Y,ey,ee,tr,ev]);return v.createElement(Z.Provider,{value:q},v.createElement(eL.Provider,{value:th},v.createElement(eI.Provider,{value:tu},v.createElement(eW.Provider,{value:tl},X)),v.createElement(eD,{disabled:(null==P?void 0:P.restoreFocus)===!1})),v.createElement(A,{...P,hiddenTextDescribedById:ey}))}),eU=(0,v.createContext)(null),eB="button";function eG(e){let{id:t,data:n,disabled:r=!1,attributes:i}=e,l=(0,S.YG)("Draggable"),{activators:o,activatorEvent:s,active:a,activeNodeRect:c,ariaDescribedById:u,draggableNodes:h,over:f}=(0,v.useContext)(eL),{role:O=eB,roleDescription:d="draggable",tabIndex:p=0}=null!=i?i:{},m=(null==a?void 0:a.id)===t,g=(0,v.useContext)(m?eW:eU),[y,x]=(0,S.lk)(),[k,b]=(0,S.lk)(),Q=(0,v.useMemo)(()=>o.reduce((e,n)=>{let{eventName:r,handler:i}=n;return e[r]=e=>{i(e,t)},e},{}),[o,t]),w=(0,S.YN)(n);return(0,S.Es)(()=>(h.set(t,{id:t,key:l,node:y,activatorNode:k,data:w}),()=>{let e=h.get(t);e&&e.key===l&&h.delete(t)}),[h,t]),{active:a,activatorEvent:s,activeNodeRect:c,attributes:(0,v.useMemo)(()=>({role:O,tabIndex:p,"aria-disabled":r,"aria-pressed":!!m&&O===eB||void 0,"aria-roledescription":d,"aria-describedby":u.draggable}),[r,O,p,m,d,u.draggable]),isDragging:m,listeners:r?void 0:Q,node:y,over:f,setNodeRef:x,setActivatorNodeRef:b,transform:g}}function eF(){return(0,v.useContext)(eI)}let eH={timeout:25};function eJ(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:i}=e,l=(0,S.YG)("Droppable"),{active:o,dispatch:s,over:a,measureDroppableContainers:c}=(0,v.useContext)(eL),u=(0,v.useRef)({disabled:n}),h=(0,v.useRef)(!1),O=(0,v.useRef)(null),d=(0,v.useRef)(null),{disabled:p,updateMeasurementsFor:m,timeout:g}={...eH,...i},y=(0,S.YN)(null!=m?m:r),x=eP({callback:(0,v.useCallback)(()=>{if(!h.current){h.current=!0;return}null!=d.current&&clearTimeout(d.current),d.current=setTimeout(()=>{c(Array.isArray(y.current)?y.current:[y.current]),d.current=null},g)},[g]),disabled:p||!o}),k=(0,v.useCallback)((e,t)=>{x&&(t&&(x.unobserve(t),h.current=!1),e&&x.observe(e))},[x]),[b,Q]=(0,S.lk)(k),w=(0,S.YN)(t);return(0,v.useEffect)(()=>{x&&b.current&&(x.disconnect(),h.current=!1,x.observe(b.current))},[b,x]),(0,v.useEffect)(()=>(s({type:f.RegisterDroppable,element:{id:r,key:l,disabled:n,node:b,rect:O,data:w}}),()=>s({type:f.UnregisterDroppable,key:l,id:r})),[r]),(0,v.useEffect)(()=>{n!==u.current.disabled&&(s({type:f.SetDroppableDisabled,id:r,key:l,disabled:n}),u.current.disabled=n)},[r,l,n,s]),{active:o,rect:O,isOver:(null==a?void 0:a.id)===r,node:b,over:a,setNodeRef:Q}}},5326:(e,t,n)=>{function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}n.d(t,{Ay:()=>ns});var i=n(2115),l=n(7071),o=n(9561),s=n(6732),a=n(6829);function c(e,t){return({state:n,dispatch:r})=>{if(n.readOnly)return!1;let i=e(t,n);return!!i&&(r(n.update(i)),!0)}}let u=c(function(e,t,n=t.selection.ranges){let r=[],i=-1;e:for(let{from:e,to:l}of n){let n=r.length,o=1e9,s;for(let n=e;n<=l;){let a=t.doc.lineAt(n);if(void 0==s&&!(s=O(t,a.from).line))continue e;if(a.from>i&&(e==l||l>a.from)){i=a.from;let e=/^\s*/.exec(a.text)[0].length,t=e==a.length,n=a.text.slice(e,e+s.length)==s?e:-1;e<a.text.length&&e<o&&(o=e),r.push({line:a,comment:n,token:s,indent:e,empty:t,single:!1})}n=a.to+1}if(o<1e9)for(let e=n;e<r.length;e++)r[e].indent<r[e].line.text.length&&(r[e].indent=o);r.length==n+1&&(r[n].single=!0)}if(2!=e&&r.some(e=>e.comment<0&&(!e.empty||e.single))){let e=[];for(let{line:t,token:n,indent:i,empty:l,single:o}of r)(o||!l)&&e.push({from:t.from+i,insert:n+" "});let n=t.changes(e);return{changes:n,selection:t.selection.map(n,1)}}if(1!=e&&r.some(e=>e.comment>=0)){let e=[];for(let{line:t,comment:n,token:i}of r)if(n>=0){let r=t.from+n,l=r+i.length;" "==t.text[l-t.from]&&l++,e.push({from:r,to:l})}return{changes:e}}return null},0),h=c(d,0),f=c((e,t)=>d(e,t,function(e){let t=[];for(let n of e.selection.ranges){let r=e.doc.lineAt(n.from),i=n.to<=r.to?r:e.doc.lineAt(n.to);i.from>r.from&&i.from==n.to&&(i=n.to==r.to+1?r:e.doc.lineAt(n.to-1));let l=t.length-1;l>=0&&t[l].to>r.from?t[l].to=i.to:t.push({from:r.from+/^\s*/.exec(r.text)[0].length,to:i.to})}return t}(t)),0);function O(e,t){let n=e.languageDataAt("commentTokens",t,1);return n.length?n[0]:{}}function d(e,t,n=t.selection.ranges){let r=n.map(e=>O(t,e.from).block);if(!r.every(e=>e))return null;let i=n.map((e,n)=>(function(e,{open:t,close:n},r,i){let l,o,s=e.sliceDoc(r-50,r),a=e.sliceDoc(i,i+50),c=/\s*$/.exec(s)[0].length,u=/^\s*/.exec(a)[0].length,h=s.length-c;if(s.slice(h-t.length,h)==t&&a.slice(u,u+n.length)==n)return{open:{pos:r-c,margin:c&&1},close:{pos:i+u,margin:u&&1}};i-r<=100?l=o=e.sliceDoc(r,i):(l=e.sliceDoc(r,r+50),o=e.sliceDoc(i-50,i));let f=/^\s*/.exec(l)[0].length,O=/\s*$/.exec(o)[0].length,d=o.length-O-n.length;return l.slice(f,f+t.length)==t&&o.slice(d,d+n.length)==n?{open:{pos:r+f+t.length,margin:+!!/\s/.test(l.charAt(f+t.length))},close:{pos:i-O-n.length,margin:+!!/\s/.test(o.charAt(d-1))}}:null})(t,r[n],e.from,e.to));if(2!=e&&!i.every(e=>e))return{changes:t.changes(n.map((e,t)=>i[t]?[]:[{from:e.from,insert:r[t].open+" "},{from:e.to,insert:" "+r[t].close}]))};if(1!=e&&i.some(e=>e)){let e=[];for(let t=0,n;t<i.length;t++)if(n=i[t]){let i=r[t],{open:l,close:o}=n;e.push({from:l.pos-i.open.length,to:l.pos+l.margin},{from:o.pos-o.margin,to:o.pos+i.close.length})}return{changes:e}}return null}let p=l.YH.define(),m=l.YH.define(),g=l.sj.define(),y=l.sj.define({combine:e=>(0,l.QR)(e,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(n,r)=>e(n,r)||t(n,r)})}),x=l.sU.define({create:()=>C.empty,update(e,t){let n=t.state.facet(y),r=t.annotation(p);if(r){let i=w.fromTransaction(t,r.selection),l=r.side,o=0==l?e.undone:e.done;return o=i?$(o,o.length,n.minDepth,i):T(o,t.startState.selection),new C(0==l?r.rest:o,0==l?o:r.rest)}let i=t.annotation(m);if(("full"==i||"before"==i)&&(e=e.isolate()),!1===t.annotation(l.ZX.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);let o=w.fromTransaction(t),s=t.annotation(l.ZX.time),a=t.annotation(l.ZX.userEvent);return o?e=e.addChanges(o,s,a,n,t):t.selection&&(e=e.addSelection(t.startState.selection,s,a,n.newGroupDelay)),("full"==i||"after"==i)&&(e=e.isolate()),e},toJSON:e=>({done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}),fromJSON:e=>new C(e.done.map(w.fromJSON),e.undone.map(w.fromJSON))});function k(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return!1;let i=n.field(x,!1);if(!i)return!1;let l=i.pop(e,n,t);return!!l&&(r(l),!0)}}let b=k(0,!1),v=k(1,!1),Q=k(0,!0),S=k(1,!0);class w{constructor(e,t,n,r,i){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=r,this.selectionsAfter=i}setSelAfter(e){return new w(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;return{changes:null==(e=this.changes)?void 0:e.toJSON(),mapped:null==(t=this.mapped)?void 0:t.toJSON(),startSelection:null==(n=this.startSelection)?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(e=>e.toJSON())}}static fromJSON(e){return new w(e.changes&&l.VR.fromJSON(e.changes),[],e.mapped&&l.Gu.fromJSON(e.mapped),e.startSelection&&l.OF.fromJSON(e.startSelection),e.selectionsAfter.map(l.OF.fromJSON))}static fromTransaction(e,t){let n=Z;for(let t of e.startState.facet(g)){let r=t(e);r.length&&(n=n.concat(r))}return!n.length&&e.changes.empty?null:new w(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,Z)}static selection(e){return new w(void 0,Z,void 0,void 0,e)}}function $(e,t,n,r){let i=e.slice(t+1>n+20?t-n-1:0,t);return i.push(r),i}function P(e,t){return e.length?t.length?e.concat(t):e:t}let Z=[];function T(e,t){if(!e.length)return[w.selection([t])];{let n=e[e.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-200));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),$(e,e.length-1,1e9,n.setSelAfter(r)))}}function X(e,t){if(!e.length)return e;let n=e.length,r=Z;for(;n;){let i=function(e,t,n){let r=P(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):Z,n);if(!e.changes)return w.selection(r);let i=e.changes.map(t),o=t.mapDesc(e.changes,!0),s=e.mapped?e.mapped.composeDesc(o):o;return new w(i,l.Pe.mapEffects(e.effects,t),s,e.startSelection.map(o),r)}(e[n-1],t,r);if(i.changes&&!i.changes.empty||i.effects.length){let t=e.slice(0,n);return t[n-1]=i,t}t=i.mapped,n--,r=i.selectionsAfter}return r.length?[w.selection(r)]:Z}let A=/^(input\.type|delete)($|\.)/;class C{constructor(e,t,n=0,r){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=r}isolate(){return this.prevTime?new C(this.done,this.undone):this}addChanges(e,t,n,r,i){var o,s;let a,c,u=this.done,h=u[u.length-1];return new C(u=h&&h.changes&&!h.changes.empty&&e.changes&&(!n||A.test(n))&&(!h.selectionsAfter.length&&t-this.prevTime<r.newGroupDelay&&r.joinToEvent(i,(o=h.changes,s=e.changes,a=[],c=!1,o.iterChangedRanges((e,t)=>a.push(e,t)),s.iterChangedRanges((e,t,n,r)=>{for(let e=0;e<a.length;){let t=a[e++],i=a[e++];r>=t&&n<=i&&(c=!0)}}),c))||"input.type.compose"==n)?$(u,u.length-1,r.minDepth,new w(e.changes.compose(h.changes),P(l.Pe.mapEffects(e.effects,h.changes),h.effects),h.mapped,h.startSelection,Z)):$(u,u.length,r.minDepth,e),Z,t,n)}addSelection(e,t,n,r){var i;let l=this.done.length?this.done[this.done.length-1].selectionsAfter:Z;return l.length>0&&t-this.prevTime<r&&n==this.prevUserEvent&&n&&/^select($|\.)/.test(n)&&(i=l[l.length-1],i.ranges.length==e.ranges.length&&0===i.ranges.filter((t,n)=>t.empty!=e.ranges[n].empty).length)?this:new C(T(this.done,e),this.undone,t,n)}addMapping(e){return new C(X(this.done,e),X(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,t,n){let r=0==e?this.done:this.undone;if(0==r.length)return null;let i=r[r.length-1],l=i.selectionsAfter[0]||(i.startSelection?i.startSelection.map(i.changes.invertedDesc,1):t.selection);if(n&&i.selectionsAfter.length){let n,o;return t.update({selection:i.selectionsAfter[i.selectionsAfter.length-1],annotations:p.of({side:e,rest:(n=r[r.length-1],(o=r.slice())[r.length-1]=n.setSelAfter(n.selectionsAfter.slice(0,n.selectionsAfter.length-1)),o),selection:l}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0})}{if(!i.changes)return null;let n=1==r.length?Z:r.slice(0,r.length-1);return i.mapped&&(n=X(n,i.mapped)),t.update({changes:i.changes,selection:i.startSelection,effects:i.effects,annotations:p.of({side:e,rest:n,selection:l}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}}}C.empty=new C(Z,Z);let _=[{key:"Mod-z",run:b,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:v,preventDefault:!0},{linux:"Ctrl-Shift-z",run:v,preventDefault:!0},{key:"Mod-u",run:Q,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:S,preventDefault:!0}];function R(e,t){return l.OF.create(e.ranges.map(t),e.mainIndex)}function j(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function z({state:e,dispatch:t},n){let r=R(e.selection,n);return!r.eq(e.selection,!0)&&(t(j(e,r)),!0)}function E(e,t){return l.OF.cursor(t?e.to:e.from)}function M(e,t){return z(e,n=>n.empty?e.moveByChar(n,t):E(n,t))}function Y(e){return e.textDirectionAt(e.state.selection.main.head)==o.OP.LTR}let L=e=>M(e,!Y(e)),I=e=>M(e,Y(e));function q(e,t){return z(e,n=>n.empty?e.moveByGroup(n,t):E(n,t))}function V(e,t,n){let r,i,o=(0,s.mv)(e).resolveInner(t.head),c=n?a.uY.closedBy:a.uY.openedBy;for(let r=t.head;;){let t=n?o.childAfter(r):o.childBefore(r);if(!t)break;!function(e,t,n){if(t.type.prop(n))return!0;let r=t.to-t.from;return r&&(r>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}(e,t,c)?r=n?t.to:t.from:o=t}return i=o.type.prop(c)&&(r=n?(0,s.jU)(e,o.from,1):(0,s.jU)(e,o.to,-1))&&r.matched?n?r.end.to:r.end.from:n?o.to:o.from,l.OF.cursor(i,n?-1:1)}function D(e,t){return z(e,n=>{if(!n.empty)return E(n,t);let r=e.moveVertically(n,t);return r.head!=n.head?r:e.moveToLineBoundary(n,t)})}"u">typeof Intl&&Intl.Segmenter;let W=e=>D(e,!1),N=e=>D(e,!0);function U(e){let t=e.scrollDOM.clientHeight<e.scrollDOM.scrollHeight-2,n=0,r=0,i;if(t){for(let t of e.state.facet(o.Lz.scrollMargins)){let i=t(e);(null==i?void 0:i.top)&&(n=Math.max(null==i?void 0:i.top,n)),(null==i?void 0:i.bottom)&&(r=Math.max(null==i?void 0:i.bottom,r))}i=e.scrollDOM.clientHeight-n-r}else i=(e.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:n,marginBottom:r,selfScroll:t,height:Math.max(e.defaultLineHeight,i-5)}}function B(e,t){let n,r=U(e),{state:i}=e,l=R(i.selection,n=>n.empty?e.moveVertically(n,t,r.height):E(n,t));if(l.eq(i.selection))return!1;if(r.selfScroll){let t=e.coordsAtPos(i.selection.main.head),s=e.scrollDOM.getBoundingClientRect(),a=s.top+r.marginTop,c=s.bottom-r.marginBottom;t&&t.top>a&&t.bottom<c&&(n=o.Lz.scrollIntoView(l.main.head,{y:"start",yMargin:t.top-a}))}return e.dispatch(j(i,l),{effects:n}),!0}let G=e=>B(e,!1),F=e=>B(e,!0);function H(e,t,n){let r=e.lineBlockAt(t.head),i=e.moveToLineBoundary(t,n);if(i.head==t.head&&i.head!=(n?r.to:r.from)&&(i=e.moveToLineBoundary(t,n,!1)),!n&&i.head==r.from&&r.length){let n=/^\s*/.exec(e.state.sliceDoc(r.from,Math.min(r.from+100,r.to)))[0].length;n&&t.head!=r.from+n&&(i=l.OF.cursor(r.from+n))}return i}function J(e,t){let n=R(e.state.selection,e=>{let n=t(e);return l.OF.range(e.anchor,n.head,n.goalColumn,n.bidiLevel||void 0,n.assoc)});return!n.eq(e.state.selection)&&(e.dispatch(j(e.state,n)),!0)}function K(e,t){return J(e,n=>e.moveByChar(n,t))}let ee=e=>K(e,!Y(e)),et=e=>K(e,Y(e));function en(e,t){return J(e,n=>e.moveByGroup(n,t))}function er(e,t){return J(e,n=>e.moveVertically(n,t))}let ei=e=>er(e,!1),el=e=>er(e,!0);function eo(e,t){return J(e,n=>e.moveVertically(n,t,U(e).height))}let es=e=>eo(e,!1),ea=e=>eo(e,!0),ec=({state:e,dispatch:t})=>(t(j(e,{anchor:0})),!0),eu=({state:e,dispatch:t})=>(t(j(e,{anchor:e.doc.length})),!0),eh=({state:e,dispatch:t})=>(t(j(e,{anchor:e.selection.main.anchor,head:0})),!0),ef=({state:e,dispatch:t})=>(t(j(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0);function eO(e,t){let{state:n}=e,r=n.selection,i=n.selection.ranges.slice();for(let r of n.selection.ranges){let l=n.doc.lineAt(r.head);if(t?l.to<e.state.doc.length:l.from>0)for(let n=r;;){let r=e.moveVertically(n,t);if(r.head<l.from||r.head>l.to){i.some(e=>e.head==r.head)||i.push(r);break}if(r.head==n.head)break;n=r}}return i.length!=r.ranges.length&&(e.dispatch(j(n,l.OF.create(i,i.length-1))),!0)}function ed(e,t){if(e.state.readOnly)return!1;let n="delete.selection",{state:r}=e,i=r.changeByRange(r=>{let{from:i,to:o}=r;if(i==o){let l=t(r);l<i?(n="delete.backward",l=ep(e,l,!1)):l>i&&(n="delete.forward",l=ep(e,l,!0)),i=Math.min(i,l),o=Math.max(o,l)}else i=ep(e,i,!1),o=ep(e,o,!0);return i==o?{range:r}:{changes:{from:i,to:o},range:l.OF.cursor(i,i<r.head?-1:1)}});return!i.changes.empty&&(e.dispatch(r.update(i,{scrollIntoView:!0,userEvent:n,effects:"delete.selection"==n?o.Lz.announce.of(r.phrase("Selection deleted")):void 0})),!0)}function ep(e,t,n){if(e instanceof o.Lz)for(let r of e.state.facet(o.Lz.atomicRanges).map(t=>t(e)))r.between(t,t,(e,r)=>{e<t&&r>t&&(t=n?r:e)});return t}let em=(e,t,n)=>ed(e,r=>{let i=r.from,{state:o}=e,a=o.doc.lineAt(i),c,u;if(n&&!t&&i>a.from&&i<a.from+200&&!/[^ \t]/.test(c=a.text.slice(0,i-a.from))){if(" "==c[c.length-1])return i-1;let e=(0,l.y$)(c,o.tabSize)%(0,s.tp)(o)||(0,s.tp)(o);for(let t=0;t<e&&" "==c[c.length-1-t];t++)i--;u=i}else(u=(0,l.zK)(a.text,i-a.from,t,t)+a.from)==i&&a.number!=(t?o.doc.lines:1)?u+=t?1:-1:!t&&/[\ufe00-\ufe0f]/.test(a.text.slice(u-a.from,i-a.from))&&(u=(0,l.zK)(a.text,u-a.from,!1,!1)+a.from);return u}),eg=e=>em(e,!1,!0),ey=e=>em(e,!0,!1),ex=(e,t)=>ed(e,n=>{let r=n.head,{state:i}=e,o=i.doc.lineAt(r),s=i.charCategorizer(r);for(let e=null;;){if(r==(t?o.to:o.from)){r==n.head&&o.number!=(t?i.doc.lines:1)&&(r+=t?1:-1);break}let a=(0,l.zK)(o.text,r-o.from,t)+o.from,c=o.text.slice(Math.min(r,a)-o.from,Math.max(r,a)-o.from),u=s(c);if(null!=e&&u!=e)break;(" "!=c||r!=n.head)&&(e=u),r=a}return r}),ek=e=>ex(e,!1);function eb(e){let t=[],n=-1;for(let r of e.selection.ranges){let i=e.doc.lineAt(r.from),l=e.doc.lineAt(r.to);if(r.empty||r.to!=l.from||(l=e.doc.lineAt(r.to-1)),n>=i.number){let e=t[t.length-1];e.to=l.to,e.ranges.push(r)}else t.push({from:i.from,to:l.to,ranges:[r]});n=l.number+1}return t}function ev(e,t,n){if(e.readOnly)return!1;let r=[],i=[];for(let t of eb(e)){if(n?t.to==e.doc.length:0==t.from)continue;let o=e.doc.lineAt(n?t.to+1:t.from-1),s=o.length+1;if(n)for(let n of(r.push({from:t.to,to:o.to},{from:t.from,insert:o.text+e.lineBreak}),t.ranges))i.push(l.OF.range(Math.min(e.doc.length,n.anchor+s),Math.min(e.doc.length,n.head+s)));else for(let n of(r.push({from:o.from,to:t.from},{from:t.to,insert:e.lineBreak+o.text}),t.ranges))i.push(l.OF.range(n.anchor-s,n.head-s))}return!!r.length&&(t(e.update({changes:r,scrollIntoView:!0,selection:l.OF.create(i,e.selection.mainIndex),userEvent:"move.line"})),!0)}function eQ(e,t,n){if(e.readOnly)return!1;let r=[];for(let t of eb(e))n?r.push({from:t.from,insert:e.doc.slice(t.from,t.to)+e.lineBreak}):r.push({from:t.to,insert:e.lineBreak+e.doc.slice(t.from,t.to)});let i=e.changes(r);return t(e.update({changes:i,selection:e.selection.map(i,n?1:-1),scrollIntoView:!0,userEvent:"input.copyline"})),!0}let eS=e$(!1),ew=e$(!0);function e$(e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let r=t.changeByRange(n=>{let{from:r,to:i}=n,o=t.doc.lineAt(r),c=!e&&r==i&&function(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n=(0,s.mv)(e).resolveInner(t),r=n.childBefore(t),i=n.childAfter(t),l;return r&&i&&r.to<=t&&i.from>=t&&(l=r.type.prop(a.uY.closedBy))&&l.indexOf(i.name)>-1&&e.doc.lineAt(r.to).from==e.doc.lineAt(i.from).from&&!/\S/.test(e.sliceDoc(r.to,i.from))?{from:r.to,to:i.from}:null}(t,r);e&&(r=i=(i<=o.to?o:t.doc.lineAt(i)).to);let u=new s.KB(t,{simulateBreak:r,simulateDoubleBreak:!!c}),h=(0,s._v)(u,r);for(null==h&&(h=(0,l.y$)(/^\s*/.exec(t.doc.lineAt(r).text)[0],t.tabSize));i<o.to&&/\s/.test(o.text[i-o.from]);)i++;c?{from:r,to:i}=c:r>o.from&&r<o.from+100&&!/\S/.test(o.text.slice(0,r))&&(r=o.from);let f=["",(0,s.EI)(t,h)];return c&&f.push((0,s.EI)(t,u.lineIndent(o.from,-1))),{changes:{from:r,to:i,insert:l.EY.of(f)},range:l.OF.cursor(r+1+f[1].length)}});return n(t.update(r,{scrollIntoView:!0,userEvent:"input"})),!0}}function eP(e,t){let n=-1;return e.changeByRange(r=>{let i=[];for(let l=r.from;l<=r.to;){let o=e.doc.lineAt(l);o.number>n&&(r.empty||r.to>o.from)&&(t(o,i,r),n=o.number),l=o.to+1}let o=e.changes(i);return{changes:i,range:l.OF.range(o.mapPos(r.anchor,1),o.mapPos(r.head,1))}})}let eZ=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(eP(e,(t,n)=>{n.push({from:t.from,insert:e.facet(s.Xt)})}),{userEvent:"input.indent"})),!0),eT=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(eP(e,(t,n)=>{let r=/^\s*/.exec(t.text)[0];if(!r)return;let i=(0,l.y$)(r,e.tabSize),o=0,a=(0,s.EI)(e,Math.max(0,i-(0,s.tp)(e)));for(;o<r.length&&o<a.length&&r.charCodeAt(o)==a.charCodeAt(o);)o++;n.push({from:t.from+o,to:t.from+r.length,insert:a.slice(o)})}),{userEvent:"delete.dedent"})),!0),eX=[{key:"Ctrl-b",run:L,shift:ee,preventDefault:!0},{key:"Ctrl-f",run:I,shift:et},{key:"Ctrl-p",run:W,shift:ei},{key:"Ctrl-n",run:N,shift:el},{key:"Ctrl-a",run:e=>z(e,t=>l.OF.cursor(e.lineBlockAt(t.head).from,1)),shift:e=>J(e,t=>l.OF.cursor(e.lineBlockAt(t.head).from))},{key:"Ctrl-e",run:e=>z(e,t=>l.OF.cursor(e.lineBlockAt(t.head).to,-1)),shift:e=>J(e,t=>l.OF.cursor(e.lineBlockAt(t.head).to))},{key:"Ctrl-d",run:ey},{key:"Ctrl-h",run:eg},{key:"Ctrl-k",run:e=>ed(e,t=>{let n=e.lineBlockAt(t.head).to;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)})},{key:"Ctrl-Alt-h",run:ek},{key:"Ctrl-o",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:l.EY.of(["",""])},range:l.OF.cursor(e.from)}));return t(e.update(n,{scrollIntoView:!0,userEvent:"input"})),!0}},{key:"Ctrl-t",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(t=>{if(!t.empty||0==t.from||t.from==e.doc.length)return{range:t};let n=t.from,r=e.doc.lineAt(n),i=n==r.from?n-1:(0,l.zK)(r.text,n-r.from,!1)+r.from,o=n==r.to?n+1:(0,l.zK)(r.text,n-r.from,!0)+r.from;return{changes:{from:i,to:o,insert:e.doc.slice(n,o).append(e.doc.slice(i,n))},range:l.OF.cursor(o)}});return!n.changes.empty&&(t(e.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)}},{key:"Ctrl-v",run:F}],eA=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:e=>z(e,t=>V(e.state,t,!Y(e))),shift:e=>J(e,t=>V(e.state,t,!Y(e)))},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:e=>z(e,t=>V(e.state,t,Y(e))),shift:e=>J(e,t=>V(e.state,t,Y(e)))},{key:"Alt-ArrowUp",run:({state:e,dispatch:t})=>ev(e,t,!1)},{key:"Shift-Alt-ArrowUp",run:({state:e,dispatch:t})=>eQ(e,t,!1)},{key:"Alt-ArrowDown",run:({state:e,dispatch:t})=>ev(e,t,!0)},{key:"Shift-Alt-ArrowDown",run:({state:e,dispatch:t})=>eQ(e,t,!0)},{key:"Mod-Alt-ArrowUp",run:e=>eO(e,!1)},{key:"Mod-Alt-ArrowDown",run:e=>eO(e,!0)},{key:"Escape",run:({state:e,dispatch:t})=>{let n=e.selection,r=null;return n.ranges.length>1?r=l.OF.create([n.main]):n.main.empty||(r=l.OF.create([l.OF.cursor(n.main.head)])),!!r&&(t(j(e,r)),!0)}},{key:"Mod-Enter",run:ew},{key:"Alt-l",mac:"Ctrl-l",run:({state:e,dispatch:t})=>{let n=eb(e).map(({from:t,to:n})=>l.OF.range(t,Math.min(n+1,e.doc.length)));return t(e.update({selection:l.OF.create(n),userEvent:"select"})),!0}},{key:"Mod-i",run:({state:e,dispatch:t})=>{let n=R(e.selection,t=>{let n=(0,s.mv)(e),r=n.resolveStack(t.from,1);if(t.empty){let e=n.resolveStack(t.from,-1);e.node.from>=r.node.from&&e.node.to<=r.node.to&&(r=e)}for(let e=r;e;e=e.next){let{node:n}=e;if((n.from<t.from&&n.to>=t.to||n.to>t.to&&n.from<=t.from)&&e.next)return l.OF.range(n.to,n.from)}return t});return!n.eq(e.selection)&&(t(j(e,n)),!0)},preventDefault:!0},{key:"Mod-[",run:eT},{key:"Mod-]",run:eZ},{key:"Mod-Alt-\\",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Object.create(null),r=new s.KB(e,{overrideIndentation:e=>{let t=n[e];return null==t?-1:t}}),i=eP(e,(t,i,l)=>{let o=(0,s._v)(r,t.from);if(null==o)return;/\S/.test(t.text)||(o=0);let a=/^\s*/.exec(t.text)[0],c=(0,s.EI)(e,o);(a!=c||l.from<t.from+a.length)&&(n[t.from]=o,i.push({from:t.from,to:t.from+a.length,insert:c}))});return i.changes.empty||t(e.update(i,{userEvent:"indent"})),!0}},{key:"Shift-Mod-k",run:e=>{if(e.state.readOnly)return!1;let{state:t}=e,n=t.changes(eb(t).map(({from:e,to:n})=>(e>0?e--:n<t.doc.length&&n++,{from:e,to:n}))),r=R(t.selection,t=>{let n;if(e.lineWrapping){let r=e.lineBlockAt(t.head),i=e.coordsAtPos(t.head,t.assoc||1);i&&(n=r.bottom+e.documentTop-i.bottom+e.defaultLineHeight/2)}return e.moveVertically(t,!0,n)}).map(n);return e.dispatch({changes:n,selection:r,scrollIntoView:!0,userEvent:"delete.line"}),!0}},{key:"Shift-Mod-\\",run:({state:e,dispatch:t})=>{let n,r;return n=!1,r=R(e.selection,t=>{let r=(0,s.jU)(e,t.head,-1)||(0,s.jU)(e,t.head,1)||t.head>0&&(0,s.jU)(e,t.head-1,1)||t.head<e.doc.length&&(0,s.jU)(e,t.head+1,-1);if(!r||!r.end)return t;n=!0;let i=r.start.from==t.head?r.end.to:r.end.from;return l.OF.cursor(i)}),!!n&&(t(j(e,r)),!0)}},{key:"Mod-/",run:e=>{let{state:t}=e,n=t.doc.lineAt(t.selection.main.from),r=O(e.state,n.from);return r.line?u(e):!!r.block&&f(e)}},{key:"Alt-A",run:h},{key:"Ctrl-m",mac:"Shift-Alt-m",run:e=>(e.setTabFocusMode(),!0)}].concat([{key:"ArrowLeft",run:L,shift:ee,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:e=>q(e,!Y(e)),shift:e=>en(e,!Y(e)),preventDefault:!0},{mac:"Cmd-ArrowLeft",run:e=>z(e,t=>H(e,t,!Y(e))),shift:e=>J(e,t=>H(e,t,!Y(e))),preventDefault:!0},{key:"ArrowRight",run:I,shift:et,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:e=>q(e,Y(e)),shift:e=>en(e,Y(e)),preventDefault:!0},{mac:"Cmd-ArrowRight",run:e=>z(e,t=>H(e,t,Y(e))),shift:e=>J(e,t=>H(e,t,Y(e))),preventDefault:!0},{key:"ArrowUp",run:W,shift:ei,preventDefault:!0},{mac:"Cmd-ArrowUp",run:ec,shift:eh},{mac:"Ctrl-ArrowUp",run:G,shift:es},{key:"ArrowDown",run:N,shift:el,preventDefault:!0},{mac:"Cmd-ArrowDown",run:eu,shift:ef},{mac:"Ctrl-ArrowDown",run:F,shift:ea},{key:"PageUp",run:G,shift:es},{key:"PageDown",run:F,shift:ea},{key:"Home",run:e=>z(e,t=>H(e,t,!1)),shift:e=>J(e,t=>H(e,t,!1)),preventDefault:!0},{key:"Mod-Home",run:ec,shift:eh},{key:"End",run:e=>z(e,t=>H(e,t,!0)),shift:e=>J(e,t=>H(e,t,!0)),preventDefault:!0},{key:"Mod-End",run:eu,shift:ef},{key:"Enter",run:eS,shift:eS},{key:"Mod-a",run:({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"})),!0)},{key:"Backspace",run:eg,shift:eg,preventDefault:!0},{key:"Delete",run:ey,preventDefault:!0},{key:"Mod-Backspace",mac:"Alt-Backspace",run:ek,preventDefault:!0},{key:"Mod-Delete",mac:"Alt-Delete",run:e=>ex(e,!0),preventDefault:!0},{mac:"Mod-Backspace",run:e=>ed(e,t=>{let n=e.moveToLineBoundary(t,!1).head;return t.head>n?n:Math.max(0,t.head-1)}),preventDefault:!0},{mac:"Mod-Delete",run:e=>ed(e,t=>{let n=e.moveToLineBoundary(t,!0).head;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)}),preventDefault:!0}].concat(eX.map(e=>({mac:e.key,run:e.run,shift:e.shift})))),eC={key:"Tab",run:eZ,shift:eT};var e_=n(8169);let eR="function"==typeof String.prototype.normalize?e=>e.normalize("NFKD"):e=>e;class ej{constructor(e,t,n=0,r=e.length,i,l){this.test=l,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,r),this.bufferStart=n,this.normalize=i?e=>i(eR(e)):eR,this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return -1;this.bufferPos=0,this.buffer=this.iter.value}return(0,l.vS)(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let t=(0,l.MK)(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=(0,l.Fh)(e);let r=this.normalize(t);if(r.length)for(let e=0,i=n;;e++){let l=r.charCodeAt(e),o=this.match(l,i,this.bufferPos+this.bufferStart);if(e==r.length-1){if(o)return this.value=o,this;break}i==n&&e<t.length&&t.charCodeAt(e)==l&&i++}}}match(e,t,n){let r=null;for(let t=0;t<this.matches.length;t+=2){let i=this.matches[t],l=!1;this.query.charCodeAt(i)==e&&(i==this.query.length-1?r={from:this.matches[t+1],to:n}:(this.matches[t]++,l=!0)),l||(this.matches.splice(t,2),t-=2)}return this.query.charCodeAt(0)==e&&(1==this.query.length?r={from:t,to:n}:this.matches.push(1,t)),r&&this.test&&!this.test(r.from,r.to,this.buffer,this.bufferStart)&&(r=null),r}}"u">typeof Symbol&&(ej.prototype[Symbol.iterator]=function(){return this});let ez={from:-1,to:-1,match:/.*/.exec("")},eE="gm"+(null==/x/.unicode?"":"u");class eM{constructor(e,t,n,r=0,i=e.length){if(this.text=e,this.to=i,this.curLine="",this.done=!1,this.value=ez,/\\[sWDnr]|\n|\r|\[\^/.test(t))return new eI(e,t,n,r,i);this.re=new RegExp(t,eE+((null==n?void 0:n.ignoreCase)?"i":"")),this.test=null==n?void 0:n.test,this.iter=e.iter();let l=e.lineAt(r);this.curLineStart=l.from,this.matchPos=eq(e,r),this.getLine(this.curLineStart)}getLine(e){this.iter.next(e),this.iter.lineBreak?this.curLine="":(this.curLine=this.iter.value,this.curLineStart+this.curLine.length>this.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let n=this.curLineStart+t.index,r=n+t[0].length;if(this.matchPos=eq(this.text,r+ +(n==r)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(n<r||n>this.value.to)&&(!this.test||this.test(n,r,t)))return this.value={from:n,to:r,match:t},this;e=this.matchPos-this.curLineStart}else{if(!(this.curLineStart+this.curLine.length<this.to))return this.done=!0,this;this.nextLine(),e=0}}}}let eY=new WeakMap;class eL{constructor(e,t){this.from=e,this.text=t}get to(){return this.from+this.text.length}static get(e,t,n){let r=eY.get(e);if(!r||r.from>=n||r.to<=t){let r=new eL(t,e.sliceString(t,n));return eY.set(e,r),r}if(r.from==t&&r.to==n)return r;let{text:i,from:l}=r;return l>t&&(i=e.sliceString(t,l)+i,l=t),r.to<n&&(i+=e.sliceString(r.to,n)),eY.set(e,new eL(l,i)),new eL(t,i.slice(t-l,n-l))}}class eI{constructor(e,t,n,r,i){this.text=e,this.to=i,this.done=!1,this.value=ez,this.matchPos=eq(e,r),this.re=new RegExp(t,eE+((null==n?void 0:n.ignoreCase)?"i":"")),this.test=null==n?void 0:n.test,this.flat=eL.get(e,r,this.chunkEnd(r+5e3))}chunkEnd(e){return e>=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){let e=this.flat.from+t.index,n=e+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(e,n,t)))return this.value={from:e,to:n,match:t},this.matchPos=eq(this.text,n+ +(e==n)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=eL.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}function eq(e,t){if(t>=e.length)return t;let n=e.lineAt(t),r;for(;t<n.to&&(r=n.text.charCodeAt(t-n.from))>=56320&&r<57344;)t++;return t}"u">typeof Symbol&&(eM.prototype[Symbol.iterator]=eI.prototype[Symbol.iterator]=function(){return this});let eV={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},eD=l.sj.define({combine:e=>(0,l.QR)(e,eV,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}),eW=o.NZ.mark({class:"cm-selectionMatch"}),eN=o.NZ.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function eU(e,t,n,r){return(0==n||e(t.sliceDoc(n-1,n))!=l.Je.Word)&&(r==t.doc.length||e(t.sliceDoc(r,r+1))!=l.Je.Word)}let eB=o.Z9.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.selectionSet||e.docChanged||e.viewportChanged)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=e.state.facet(eD),{state:n}=e,r=n.selection;if(r.ranges.length>1)return o.NZ.none;let i=r.main,s,a=null;if(i.empty){if(!t.highlightWordAroundCursor)return o.NZ.none;let e=n.wordAt(i.head);if(!e)return o.NZ.none;a=n.charCategorizer(i.head),s=n.sliceDoc(e.from,e.to)}else{let e=i.to-i.from;if(e<t.minSelectionLength||e>200)return o.NZ.none;if(t.wholeWords){var c,u,h;if(s=n.sliceDoc(i.from,i.to),!(eU(a=n.charCategorizer(i.head),n,i.from,i.to)&&(c=a,u=i.from,h=i.to,c(n.sliceDoc(u,u+1))==l.Je.Word&&c(n.sliceDoc(h-1,h))==l.Je.Word)))return o.NZ.none}else if(!(s=n.sliceDoc(i.from,i.to)))return o.NZ.none}let f=[];for(let r of e.visibleRanges){let e=new ej(n.doc,s,r.from,r.to);for(;!e.next().done;){let{from:r,to:l}=e.value;if((!a||eU(a,n,r,l))&&(i.empty&&r<=i.from&&l>=i.to?f.push(eN.range(r,l)):(r>=i.to||l<=i.from)&&f.push(eW.range(r,l)),f.length>t.maxMatches))return o.NZ.none}}return o.NZ.set(f)}},{decorations:e=>e.decorations}),eG=o.Lz.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),eF=l.sj.define({combine:e=>(0,l.QR)(e,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new tp(e),scrollToMatch:e=>o.Lz.scrollIntoView(e)})});class eH{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||function(e){try{return new RegExp(e,eE),!0}catch(e){return!1}}(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord,this.test=e.test}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(e,t)=>"n"==t?"\n":"r"==t?"\r":"t"==t?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord&&this.test==e.test}create(){return this.regexp?new e4(this):new e0(this)}getCursor(e,t=0,n){let r=e.doc?e:l.$t.create({doc:e});return null==n&&(n=r.doc.length),this.regexp?e1(this,r,t,n):eK(this,r,t,n)}}class eJ{constructor(e){this.spec=e}}function eK(e,t,n,r){var i,o,s,a;let c;return e.wholeWord&&(s=t.doc,a=t.charCategorizer(t.selection.main.head),c=(e,t,n,r)=>((r>e||r+n.length<t)&&(r=Math.max(0,e-2),n=s.sliceString(r,Math.min(s.length,t+2))),(a(e2(n,e-r))!=l.Je.Word||a(e5(n,e-r))!=l.Je.Word)&&(a(e5(n,t-r))!=l.Je.Word||a(e2(n,t-r))!=l.Je.Word))),e.test&&(i=e.test,o=c,c=(e,n,r,l)=>(!o||!!o(e,n,r,l))&&i(e>=l&&n<=l+r.length?r.slice(e-l,n-l):t.doc.sliceString(e,n),t,e,n)),new ej(t.doc,e.unquoted,n,r,e.caseSensitive?void 0:e=>e.toLowerCase(),c)}class e0 extends eJ{constructor(e){super(e)}nextMatch(e,t,n){let r=eK(this.spec,e,n,e.doc.length).nextOverlapping();if(r.done){let n=Math.min(e.doc.length,t+this.spec.unquoted.length);r=eK(this.spec,e,0,n).nextOverlapping()}return r.done||r.value.from==t&&r.value.to==n?null:r.value}prevMatchInRange(e,t,n){for(let r=n;;){let n=Math.max(t,r-1e4-this.spec.unquoted.length),i=eK(this.spec,e,n,r),l=null;for(;!i.nextOverlapping().done;)l=i.value;if(l)return l;if(n==t)return null;r-=1e4}}prevMatch(e,t,n){let r=this.prevMatchInRange(e,0,t);return r||(r=this.prevMatchInRange(e,Math.max(0,n-this.spec.unquoted.length),e.doc.length)),r&&(r.from!=t||r.to!=n)?r:null}getReplacement(e){return this.spec.unquote(this.spec.replace)}matchAll(e,t){let n=eK(this.spec,e,0,e.doc.length),r=[];for(;!n.next().done;){if(r.length>=t)return null;r.push(n.value)}return r}highlight(e,t,n,r){let i=eK(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!i.next().done;)r(i.value.from,i.value.to)}}function e1(e,t,n,r){var i,o,s;let a;return e.wholeWord&&(s=t.charCategorizer(t.selection.main.head),a=(e,t,n)=>!n[0].length||(s(e2(n.input,n.index))!=l.Je.Word||s(e5(n.input,n.index))!=l.Je.Word)&&(s(e5(n.input,n.index+n[0].length))!=l.Je.Word||s(e2(n.input,n.index+n[0].length))!=l.Je.Word)),e.test&&(i=e.test,o=a,a=(e,n,r)=>(!o||o(e,n,r))&&i(r[0],t,e,n)),new eM(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:a},n,r)}function e2(e,t){return e.slice((0,l.zK)(e,t,!1),t)}function e5(e,t){return e.slice(t,(0,l.zK)(e,t))}class e4 extends eJ{nextMatch(e,t,n){let r=e1(this.spec,e,n,e.doc.length).next();return r.done&&(r=e1(this.spec,e,0,t).next()),r.done?null:r.value}prevMatchInRange(e,t,n){for(let r=1;;r++){let i=Math.max(t,n-1e4*r),l=e1(this.spec,e,i,n),o=null;for(;!l.next().done;)o=l.value;if(o&&(i==t||o.from>i+10))return o;if(i==t)return null}}prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&]|\d+)/g,(t,n)=>{if("&"==n)return e.match[0];if("$"==n)return"$";for(let t=n.length;t>0;t--){let r=+n.slice(0,t);if(r>0&&r<e.match.length)return e.match[r]+n.slice(t)}return t})}matchAll(e,t){let n=e1(this.spec,e,0,e.doc.length),r=[];for(;!n.next().done;){if(r.length>=t)return null;r.push(n.value)}return r}highlight(e,t,n,r){let i=e1(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));for(;!i.next().done;)r(i.value.from,i.value.to)}}let e3=l.Pe.define(),e9=l.Pe.define(),e7=l.sU.define({create:e=>new e6(tc(e).create(),null),update(e,t){for(let n of t.effects)n.is(e3)?e=new e6(n.value.create(),e.panel):n.is(e9)&&(e=new e6(e.query,n.value?ta:null));return e},provide:e=>o.S7.from(e,e=>e.panel)});class e6{constructor(e,t){this.query=e,this.panel=t}}let e8=o.NZ.mark({class:"cm-searchMatch"}),te=o.NZ.mark({class:"cm-searchMatch cm-searchMatch-selected"}),tt=o.Z9.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field(e7))}update(e){let t=e.state.field(e7);(t!=e.startState.field(e7)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return o.NZ.none;let{view:n}=this,r=new l.vB;for(let t=0,i=n.visibleRanges,l=i.length;t<l;t++){let{from:o,to:s}=i[t];for(;t<l-1&&s>i[t+1].from-500;)s=i[++t].to;e.highlight(n.state,o,s,(e,t)=>{let i=n.state.selection.ranges.some(n=>n.from==e&&n.to==t);r.add(e,t,i?te:e8)})}return r.finish()}},{decorations:e=>e.decorations});function tn(e){return t=>{let n=t.state.field(e7,!1);return n&&n.query.spec.valid?e(t,n):tf(t)}}let tr=tn((e,{query:t})=>{let{to:n}=e.state.selection.main,r=t.nextMatch(e.state,n,n);if(!r)return!1;let i=l.OF.single(r.from,r.to),o=e.state.facet(eF);return e.dispatch({selection:i,effects:[ty(e,r),o.scrollToMatch(i.main,e)],userEvent:"select.search"}),th(e),!0}),ti=tn((e,{query:t})=>{let{state:n}=e,{from:r}=n.selection.main,i=t.prevMatch(n,r,r);if(!i)return!1;let o=l.OF.single(i.from,i.to),s=e.state.facet(eF);return e.dispatch({selection:o,effects:[ty(e,i),s.scrollToMatch(o.main,e)],userEvent:"select.search"}),th(e),!0}),tl=tn((e,{query:t})=>{let n=t.matchAll(e.state,1e3);return!!n&&!!n.length&&(e.dispatch({selection:l.OF.create(n.map(e=>l.OF.range(e.from,e.to))),userEvent:"select.search.matches"}),!0)}),to=tn((e,{query:t})=>{let{state:n}=e,{from:r,to:i}=n.selection.main;if(n.readOnly)return!1;let s=t.nextMatch(n,r,r);if(!s)return!1;let a=s,c=[],u,h,f=[];a.from==r&&a.to==i&&(h=n.toText(t.getReplacement(a)),c.push({from:a.from,to:a.to,insert:h}),a=t.nextMatch(n,a.from,a.to),f.push(o.Lz.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(r).number)+".")));let O=e.state.changes(c);return a&&(u=l.OF.single(a.from,a.to).map(O),f.push(ty(e,a)),f.push(n.facet(eF).scrollToMatch(u.main,e))),e.dispatch({changes:O,selection:u,effects:f,userEvent:"input.replace"}),!0}),ts=tn((e,{query:t})=>{if(e.state.readOnly)return!1;let n=t.matchAll(e.state,1e9).map(e=>{let{from:n,to:r}=e;return{from:n,to:r,insert:t.getReplacement(e)}});if(!n.length)return!1;let r=e.state.phrase("replaced $ matches",n.length)+".";return e.dispatch({changes:n,effects:o.Lz.announce.of(r),userEvent:"input.replace.all"}),!0});function ta(e){return e.state.facet(eF).createPanel(e)}function tc(e,t){var n,r,i,l,o;let s=e.selection.main,a=s.empty||s.to>s.from+100?"":e.sliceDoc(s.from,s.to);if(t&&!a)return t;let c=e.facet(eF);return new eH({search:(null!=(n=null==t?void 0:t.literal)?n:c.literal)?a:a.replace(/\n/g,"\\n"),caseSensitive:null!=(r=null==t?void 0:t.caseSensitive)?r:c.caseSensitive,literal:null!=(i=null==t?void 0:t.literal)?i:c.literal,regexp:null!=(l=null==t?void 0:t.regexp)?l:c.regexp,wholeWord:null!=(o=null==t?void 0:t.wholeWord)?o:c.wholeWord})}function tu(e){let t=(0,o.ld)(e,ta);return t&&t.dom.querySelector("[main-field]")}function th(e){let t=tu(e);t&&t==e.root.activeElement&&t.select()}let tf=e=>{let t=e.state.field(e7,!1);if(t&&t.panel){let n=tu(e);if(n&&n!=e.root.activeElement){let r=tc(e.state,t.query.spec);r.valid&&e.dispatch({effects:e3.of(r)}),n.focus(),n.select()}}else e.dispatch({effects:[e9.of(!0),t?e3.of(tc(e.state,t.query.spec)):l.Pe.appendConfig.of(tk)]});return!0},tO=e=>{let t=e.state.field(e7,!1);if(!t||!t.panel)return!1;let n=(0,o.ld)(e,ta);return n&&n.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:e9.of(!1)}),!0},td=[{key:"Mod-f",run:tf,scope:"editor search-panel"},{key:"F3",run:tr,shift:ti,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:tr,shift:ti,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:tO,scope:"editor search-panel"},{key:"Mod-Shift-l",run:({state:e,dispatch:t})=>{let n=e.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:r,to:i}=n.main,o=[],s=0;for(let t=new ej(e.doc,e.sliceDoc(r,i));!t.next().done;){if(o.length>1e3)return!1;t.value.from==r&&(s=o.length),o.push(l.OF.range(t.value.from,t.value.to))}return t(e.update({selection:l.OF.create(o,s),userEvent:"select.search.matches"})),!0}},{key:"Mod-Alt-g",run:e=>{let{state:t}=e,n=String(t.doc.lineAt(e.state.selection.main.head).number),{close:r,result:i}=(0,o.ui)(e,{label:t.phrase("Go to line"),input:{type:"text",name:"line",value:n},focus:!0,submitLabel:t.phrase("go")});return i.then(n=>{let i=n&&/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(n.elements.line.value);if(!i)return void e.dispatch({effects:r});let s=t.doc.lineAt(t.selection.main.head),[,a,c,u,h]=i,f=u?+u.slice(1):0,O=c?+c:s.number;if(c&&h){let e=O/100;a&&(e=e*("-"==a?-1:1)+s.number/t.doc.lines),O=Math.round(t.doc.lines*e)}else c&&a&&(O=O*("-"==a?-1:1)+s.number);let d=t.doc.line(Math.max(1,Math.min(t.doc.lines,O))),p=l.OF.cursor(d.from+Math.max(0,Math.min(f,d.length)));e.dispatch({effects:[r,o.Lz.scrollIntoView(p.from,{y:"center"})],selection:p})}),!0}},{key:"Mod-d",run:({state:e,dispatch:t})=>{let{ranges:n}=e.selection;if(n.some(e=>e.from===e.to))return(({state:e,dispatch:t})=>{let{selection:n}=e,r=l.OF.create(n.ranges.map(t=>e.wordAt(t.head)||l.OF.cursor(t.head)),n.mainIndex);return!r.eq(n)&&(t(e.update({selection:r})),!0)})({state:e,dispatch:t});let r=e.sliceDoc(n[0].from,n[0].to);if(e.selection.ranges.some(t=>e.sliceDoc(t.from,t.to)!=r))return!1;let i=function(e,t){let{main:n,ranges:r}=e.selection,i=e.wordAt(n.head),l=i&&i.from==n.from&&i.to==n.to;for(let n=!1,i=new ej(e.doc,t,r[r.length-1].to);;)if(i.next(),i.done){if(n)return null;i=new ej(e.doc,t,0,Math.max(0,r[r.length-1].from-1)),n=!0}else{if(n&&r.some(e=>e.from==i.value.from))continue;if(l){let t=e.wordAt(i.value.from);if(!t||t.from!=i.value.from||t.to!=i.value.to)continue}return i.value}}(e,r);return!!i&&(t(e.update({selection:e.selection.addRange(l.OF.range(i.from,i.to),!1),effects:o.Lz.scrollIntoView(i.to)})),!0)},preventDefault:!0}];class tp{constructor(e){this.view=e;let t=this.query=e.state.field(e7).query.spec;function n(e,t,n){return(0,e_.A)("button",{class:"cm-button",name:e,onclick:t,type:"button"},n)}this.commit=this.commit.bind(this),this.searchField=(0,e_.A)("input",{value:t.search,placeholder:tm(e,"Find"),"aria-label":tm(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=(0,e_.A)("input",{value:t.replace,placeholder:tm(e,"Replace"),"aria-label":tm(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=(0,e_.A)("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit}),this.reField=(0,e_.A)("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit}),this.wordField=(0,e_.A)("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit}),this.dom=(0,e_.A)("div",{onkeydown:e=>this.keydown(e),class:"cm-search"},[this.searchField,n("next",()=>tr(e),[tm(e,"next")]),n("prev",()=>ti(e),[tm(e,"previous")]),n("select",()=>tl(e),[tm(e,"all")]),(0,e_.A)("label",null,[this.caseField,tm(e,"match case")]),(0,e_.A)("label",null,[this.reField,tm(e,"regexp")]),(0,e_.A)("label",null,[this.wordField,tm(e,"by word")]),...e.state.readOnly?[]:[(0,e_.A)("br"),this.replaceField,n("replace",()=>to(e),[tm(e,"replace")]),n("replaceAll",()=>ts(e),[tm(e,"replace all")])],(0,e_.A)("button",{name:"close",onclick:()=>tO(e),"aria-label":tm(e,"close"),type:"button"},["\xd7"])])}commit(){let e=new eH({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:e3.of(e)}))}keydown(e){(0,o.TS)(this.view,e,"search-panel")?e.preventDefault():13==e.keyCode&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?ti:tr)(this.view)):13==e.keyCode&&e.target==this.replaceField&&(e.preventDefault(),to(this.view))}update(e){for(let t of e.transactions)for(let e of t.effects)e.is(e3)&&!e.value.eq(this.query)&&this.setQuery(e.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(eF).top}}function tm(e,t){return e.state.phrase(t)}let tg=/[\s\.,:;?!]/;function ty(e,{from:t,to:n}){let r=e.state.doc.lineAt(t),i=e.state.doc.lineAt(n).to,l=Math.max(r.from,t-30),s=Math.min(i,n+30),a=e.state.sliceDoc(l,s);if(l!=r.from){for(let e=0;e<30;e++)if(!tg.test(a[e+1])&&tg.test(a[e])){a=a.slice(e);break}}if(s!=i){for(let e=a.length-1;e>a.length-30;e--)if(!tg.test(a[e-1])&&tg.test(a[e])){a=a.slice(0,e);break}}return o.Lz.announce.of(`${e.state.phrase("current match")}. ${a} ${e.state.phrase("on line")} ${r.number}.`)}let tx=o.Lz.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),tk=[e7,l.Nb.low(tt),tx];var tb=n(2161);class tv{constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}}class tQ{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){let r=n.facet(tR).markerFilter;r&&(e=r(e,n));let i=e.slice().sort((e,t)=>e.from-t.from||e.to-t.to),s=new l.vB,a=[],c=0,u=n.doc.iter(),h=0,f=n.doc.length;for(let e=0;;){let t,n,r=e==i.length?null:i[e];if(!r&&!a.length)break;if(a.length)t=c,n=a.reduce((e,t)=>Math.min(e,t.to),r&&r.from>t?r.from:1e8);else{if((t=r.from)>f)break;n=r.to,a.push(r),e++}for(;e<i.length;){let r=i[e];if(r.from==t&&(r.to>r.from||r.to==t))a.push(r),e++,n=Math.min(r.to,n);else{n=Math.min(r.from,n);break}}n=Math.min(n,f);let l=!1;if(a.some(e=>e.from==t&&(e.to==n||n==f))&&!(l=t==n)&&n-t<10){let e=t-(h+u.value.length);e>0&&(u.next(e),h=t);for(let e=t;;){if(e>=n){l=!0;break}if(!u.lineBreak&&h+u.value.length>e)break;e=h+u.value.length,h+=u.value.length,u.next()}}let O=tV(a);if(l)s.add(t,t,o.NZ.widget({widget:new tM(O),diagnostics:a.slice()}));else{let e=a.reduce((e,t)=>t.markClass?e+" "+t.markClass:e,"");s.add(t,n,o.NZ.mark({class:"cm-lintRange cm-lintRange-"+O+e,diagnostics:a.slice(),inclusiveEnd:a.some(e=>e.to>n)}))}if((c=n)==f)break;for(let e=0;e<a.length;e++)a[e].to<=c&&a.splice(e--,1)}let O=s.finish();return new tQ(O,t,tS(O))}}function tS(e,t=null,n=0){let r=null;return e.between(n,1e9,(e,n,{spec:i})=>{if(!(t&&0>i.diagnostics.indexOf(t)))if(r){if(0>i.diagnostics.indexOf(r.diagnostic))return!1;r=new tv(r.from,n,r.diagnostic)}else r=new tv(e,n,t||i.diagnostics[0])}),r}function tw(e,t){let n=t.pos,r=t.end||n,i=e.state.facet(tR).hideOn(e,n,r);if(null!=i)return i;let l=e.startState.doc.lineAt(t.pos);return!!(e.effects.some(e=>e.is(t$))||e.changes.touchesRange(l.from,Math.max(l.to,r)))}let t$=l.Pe.define(),tP=l.Pe.define(),tZ=l.Pe.define(),tT=l.sU.define({create:()=>new tQ(o.NZ.none,null,null),update(e,t){if(t.docChanged&&e.diagnostics.size){let n=e.diagnostics.map(t.changes),r=null,i=e.panel;if(e.selected){let i=t.changes.mapPos(e.selected.from,1);r=tS(n,e.selected.diagnostic,i)||tS(n,null,i)}!n.size&&i&&t.state.facet(tR).autoPanel&&(i=null),e=new tQ(n,i,r)}for(let n of t.effects)if(n.is(t$)){let r=t.state.facet(tR).autoPanel?n.value.length?tL.open:null:e.panel;e=tQ.init(n.value,r,t.state)}else n.is(tP)?e=new tQ(e.diagnostics,n.value?tL.open:null,e.selected):n.is(tZ)&&(e=new tQ(e.diagnostics,e.panel,n.value));return e},provide:e=>[o.S7.from(e,e=>e.panel),o.Lz.decorations.from(e,e=>e.diagnostics)]}),tX=o.NZ.mark({class:"cm-lintRange cm-lintRange-active"});function tA(e,t){return(0,e_.A)("ul",{class:"cm-tooltip-lint"},t.map(t=>tE(e,t,!1)))}let tC=e=>{let t=e.state.field(tT,!1);return!!t&&!!t.panel&&(e.dispatch({effects:tP.of(!1)}),!0)},t_=[{key:"Mod-Shift-m",run:e=>{var t,n;let r=e.state.field(tT,!1);r&&r.panel||e.dispatch({effects:(t=e.state,n=[tP.of(!0)],t.field(tT,!1)?n:n.concat(l.Pe.appendConfig.of(tN)))});let i=(0,o.ld)(e,tL.open);return i&&i.dom.querySelector(".cm-panel-lint ul").focus(),!0},preventDefault:!0},{key:"F8",run:e=>{let t=e.state.field(tT,!1);if(!t)return!1;let n=e.state.selection.main,r=tS(t.diagnostics,null,n.to+1);return(!!r||!!(r=tS(t.diagnostics,null,0))&&(r.from!=n.from||r.to!=n.to))&&(e.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0}),!0)}}],tR=l.sj.define({combine:e=>({sources:e.map(e=>e.source).filter(e=>null!=e),...(0,l.QR)(e.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{delay:Math.max,markerFilter:tj,tooltipFilter:tj,needsRefresh:(e,t)=>e?t?n=>e(n)||t(n):e:t,hideOn:(e,t)=>e?t?(n,r,i)=>e(n,r,i)||t(n,r,i):e:t,autoPanel:(e,t)=>e||t})})});function tj(e,t){return e?t?(n,r)=>t(e(n,r),r):e:t}function tz(e){let t=[];if(e)t:for(let{name:n}of e){for(let e=0;e<n.length;e++){let r=n[e];if(/[a-zA-Z]/.test(r)&&!t.some(e=>e.toLowerCase()==r.toLowerCase())){t.push(r);continue t}}t.push("")}return t}function tE(e,t,n){var r;let i=n?tz(t.actions):[];return(0,e_.A)("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},(0,e_.A)("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage(e):t.message),null==(r=t.actions)?void 0:r.map((n,r)=>{let l=!1,o=r=>{if(r.preventDefault(),l)return;l=!0;let i=tS(e.state.field(tT).diagnostics,t);i&&n.apply(e,i.from,i.to)},{name:s}=n,a=i[r]?s.indexOf(i[r]):-1,c=a<0?s:[s.slice(0,a),(0,e_.A)("u",s.slice(a,a+1)),s.slice(a+1)],u=n.markClass?" "+n.markClass:"";return(0,e_.A)("button",{type:"button",class:"cm-diagnosticAction"+u,onclick:o,onmousedown:o,"aria-label":` Action: ${s}${a<0?"":` (access key "${i[r]})"`}.`},c)}),t.source&&(0,e_.A)("div",{class:"cm-diagnosticSource"},t.source))}class tM extends o.xO{constructor(e){super(),this.sev=e}eq(e){return e.sev==this.sev}toDOM(){return(0,e_.A)("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class tY{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(0xffffffff*Math.random()).toString(16),this.dom=tE(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class tL{constructor(e){this.view=e,this.items=[];let t=t=>{if(!t.ctrlKey&&!t.altKey&&!t.metaKey){if(27==t.keyCode)tC(this.view),this.view.focus();else if(38==t.keyCode||33==t.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==t.keyCode||34==t.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==t.keyCode)this.moveSelection(0);else if(35==t.keyCode)this.moveSelection(this.items.length-1);else if(13==t.keyCode)this.view.focus();else{if(!(t.keyCode>=65)||!(t.keyCode<=90)||!(this.selectedIndex>=0))return;let{diagnostic:n}=this.items[this.selectedIndex],r=tz(n.actions);for(let i=0;i<r.length;i++)if(r[i].toUpperCase().charCodeAt(0)==t.keyCode){let t=tS(this.view.state.field(tT).diagnostics,n);t&&n.actions[i].apply(e,t.from,t.to)}}t.preventDefault()}},n=e=>{for(let t=0;t<this.items.length;t++)this.items[t].dom.contains(e.target)&&this.moveSelection(t)};this.list=(0,e_.A)("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:t,onclick:n}),this.dom=(0,e_.A)("div",{class:"cm-panel-lint"},this.list,(0,e_.A)("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>tC(this.view)},"\xd7")),this.update()}get selectedIndex(){let e=this.view.state.field(tT).selected;if(!e)return -1;for(let t=0;t<this.items.length;t++)if(this.items[t].diagnostic==e.diagnostic)return t;return -1}update(){let{diagnostics:e,selected:t}=this.view.state.field(tT),n=0,r=!1,i=null,l=new Set;for(e.between(0,this.view.state.doc.length,(e,o,{spec:s})=>{for(let e of s.diagnostics){if(l.has(e))continue;l.add(e);let o=-1,s;for(let t=n;t<this.items.length;t++)if(this.items[t].diagnostic==e){o=t;break}o<0?(s=new tY(this.view,e),this.items.splice(n,0,s),r=!0):(s=this.items[o],o>n&&(this.items.splice(n,o-n),r=!0)),t&&s.diagnostic==t.diagnostic?s.dom.hasAttribute("aria-selected")||(s.dom.setAttribute("aria-selected","true"),i=s):s.dom.hasAttribute("aria-selected")&&s.dom.removeAttribute("aria-selected"),n++}});n<this.items.length&&!(1==this.items.length&&this.items[0].diagnostic.from<0);)r=!0,this.items.pop();0==this.items.length&&(this.items.push(new tY(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),r=!0),i?(this.list.setAttribute("aria-activedescendant",i.id),this.view.requestMeasure({key:this,read:()=>({sel:i.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{let n=t.height/this.list.offsetHeight;e.top<t.top?this.list.scrollTop-=(t.top-e.top)/n:e.bottom>t.bottom&&(this.list.scrollTop+=(e.bottom-t.bottom)/n)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),r&&this.sync()}sync(){let e=this.list.firstChild;function t(){let t=e;e=t.nextSibling,t.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=tS(this.view.state.field(tT).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:tZ.of(t)})}static open(e){return new tL(e)}}function tI(e){return function(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${t}>${encodeURIComponent(e)}</svg>')`}(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${e}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')}let tq=o.Lz.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:tI("#d11")},".cm-lintRange-warning":{backgroundImage:tI("orange")},".cm-lintRange-info":{backgroundImage:tI("#999")},".cm-lintRange-hint":{backgroundImage:tI("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}},"&dark .cm-lintRange-active":{backgroundColor:"#86714a80"},"&dark .cm-panel.cm-panel-lint ul":{"& [aria-selected]":{backgroundColor:"#2e343e"}}});function tV(e){let t="hint",n=1;for(let i of e){var r;let e="error"==(r=i.severity)?4:"warning"==r?3:"info"==r?2:1;e>n&&(n=e,t=i.severity)}return t}o.wJ;let tD=l.Pe.define(),tW=l.sU.define({create:()=>null,update:(e,t)=>(e&&t.docChanged&&(e=tw(t,e)?null:{...e,pos:t.changes.mapPos(e.pos)}),t.effects.reduce((e,t)=>t.is(tD)?t.value:e,e)),provide:e=>o.DK.from(e)}),tN=[tT,o.Lz.decorations.compute([tT],e=>{let{selected:t,panel:n}=e.field(tT);return t&&n&&t.from!=t.to?o.NZ.set([tX.range(t.from,t.to)]):o.NZ.none}),(0,o.Ux)(function(e,t,n){let{diagnostics:r}=e.state.field(tT),i,l=-1,o=-1;r.between(t-(n<0),t+ +(n>0),(e,r,{spec:s})=>{if(t>=e&&t<=r&&(e==r||(t>e||n>0)&&(t<r||n<0)))return i=s.diagnostics,l=e,o=r,!1});let s=e.state.facet(tR).tooltipFilter;return(i&&s&&(i=s(i,e.state)),i)?{pos:l,end:o,above:e.state.doc.lineAt(l).to<o,create:()=>({dom:tA(e,i)})}:null},{hideOn:tw}),tq],tU=l.sj.define({combine:e=>(0,l.QR)(e,{hoverTime:300,markerFilter:null,tooltipFilter:null})});var tB=function(e){void 0===e&&(e={});var{crosshairCursor:t=!1}=e,n=[];!1!==e.closeBracketsKeymap&&(n=n.concat(tb.Bc)),!1!==e.defaultKeymap&&(n=n.concat(eA)),!1!==e.searchKeymap&&(n=n.concat(td)),!1!==e.historyKeymap&&(n=n.concat(_)),!1!==e.foldKeymap&&(n=n.concat(s.f7)),!1!==e.completionKeymap&&(n=n.concat(tb.OO)),!1!==e.lintKeymap&&(n=n.concat(t_));var r=[];return!1!==e.lineNumbers&&r.push((0,o.$K)()),!1!==e.highlightActiveLineGutter&&r.push((0,o.Wu)()),!1!==e.highlightSpecialChars&&r.push((0,o.N$)()),!1!==e.history&&r.push(function(e={}){return[x,y.of(e),o.Lz.domEventHandlers({beforeinput(e,t){let n="historyUndo"==e.inputType?b:"historyRedo"==e.inputType?v:null;return!!n&&(e.preventDefault(),n(t))}})]}()),!1!==e.foldGutter&&r.push((0,s.Lv)()),!1!==e.drawSelection&&r.push((0,o.VH)()),!1!==e.dropCursor&&r.push((0,o.A)()),!1!==e.allowMultipleSelections&&r.push(l.$t.allowMultipleSelections.of(!0)),!1!==e.indentOnInput&&r.push((0,s.WD)()),!1!==e.syntaxHighlighting&&r.push((0,s.y9)(s.Zt,{fallback:!0})),!1!==e.bracketMatching&&r.push((0,s.SG)()),!1!==e.closeBrackets&&r.push((0,tb.wm)()),!1!==e.autocompletion&&r.push((0,tb.yU)()),!1!==e.rectangularSelection&&r.push((0,o.D4)()),!1!==t&&r.push((0,o.HJ)()),!1!==e.highlightActiveLine&&r.push((0,o.dz)()),!1!==e.highlightSelectionMatches&&r.push([eG,eB]),e.tabSize&&"number"==typeof e.tabSize&&r.push(s.Xt.of(" ".repeat(e.tabSize))),r.concat([o.w4.of(n.flat())]).filter(Boolean)},tG=n(2638);let tF="#e06c75",tH="#abb2bf",tJ="#7d8799",tK="#d19a66",t0="#2c313a",t1="#282c34",t2="#353a42",t5="#528bff",t4=o.Lz.theme({"&":{color:tH,backgroundColor:t1},".cm-content":{caretColor:t5},".cm-cursor, .cm-dropCursor":{borderLeftColor:t5},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:"#3E4451"},".cm-panels":{backgroundColor:"#21252b",color:tH},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:t1,color:tJ,border:"none"},".cm-activeLineGutter":{backgroundColor:t0},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:t2},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:t2,borderBottomColor:t2},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:t0,color:tH}}},{dark:!0}),t3=s.cr.define([{tag:tG._A.keyword,color:"#c678dd"},{tag:[tG._A.name,tG._A.deleted,tG._A.character,tG._A.propertyName,tG._A.macroName],color:tF},{tag:[tG._A.function(tG._A.variableName),tG._A.labelName],color:"#61afef"},{tag:[tG._A.color,tG._A.constant(tG._A.name),tG._A.standard(tG._A.name)],color:tK},{tag:[tG._A.definition(tG._A.name),tG._A.separator],color:tH},{tag:[tG._A.typeName,tG._A.className,tG._A.number,tG._A.changed,tG._A.annotation,tG._A.modifier,tG._A.self,tG._A.namespace],color:"#e5c07b"},{tag:[tG._A.operator,tG._A.operatorKeyword,tG._A.url,tG._A.escape,tG._A.regexp,tG._A.link,tG._A.special(tG._A.string)],color:"#56b6c2"},{tag:[tG._A.meta,tG._A.comment],color:tJ},{tag:tG._A.strong,fontWeight:"bold"},{tag:tG._A.emphasis,fontStyle:"italic"},{tag:tG._A.strikethrough,textDecoration:"line-through"},{tag:tG._A.link,color:tJ,textDecoration:"underline"},{tag:tG._A.heading,fontWeight:"bold",color:tF},{tag:[tG._A.atom,tG._A.bool,tG._A.special(tG._A.variableName)],color:tK},{tag:[tG._A.processingInstruction,tG._A.string,tG._A.inserted],color:"#98c379"},{tag:tG._A.invalid,color:"#ffffff"}]),t9=[t4,(0,s.y9)(t3)];var t7=o.Lz.theme({"&":{backgroundColor:"#fff"}},{dark:!1}),t6=function(e){void 0===e&&(e={});var{indentWithTab:t=!0,editable:n=!0,readOnly:r=!1,theme:i="light",placeholder:s="",basicSetup:a=!0}=e,c=[];switch(t&&c.unshift(o.w4.of([eC])),a&&("boolean"==typeof a?c.unshift(tB()):c.unshift(tB(a))),s&&c.unshift((0,o.qf)(s)),i){case"light":c.push(t7);break;case"dark":c.push(t9);break;case"none":break;default:c.push(i)}return!1===n&&c.push(o.Lz.editable.of(!1)),r&&c.push(l.$t.readOnly.of(!0)),[...c]};class t8{constructor(e,t){this.timeLeftMS=void 0,this.timeoutMS=void 0,this.isCancelled=!1,this.isTimeExhausted=!1,this.callbacks=[],this.timeLeftMS=t,this.timeoutMS=t,this.callbacks.push(e)}tick(){if(!this.isCancelled&&!this.isTimeExhausted&&(this.timeLeftMS--,this.timeLeftMS<=0)){this.isTimeExhausted=!0;var e=this.callbacks.slice();this.callbacks.length=0,e.forEach(e=>{try{e()}catch(e){console.error("TimeoutLatch callback error:",e)}})}}cancel(){this.isCancelled=!0,this.callbacks.length=0}reset(){this.timeLeftMS=this.timeoutMS,this.isCancelled=!1,this.isTimeExhausted=!1}get isDone(){return this.isCancelled||this.isTimeExhausted}}class ne{constructor(){this.interval=null,this.latches=new Set}add(e){this.latches.add(e),this.start()}remove(e){this.latches.delete(e),0===this.latches.size&&this.stop()}start(){null===this.interval&&(this.interval=setInterval(()=>{this.latches.forEach(e=>{e.tick(),e.isDone&&this.remove(e)})},1))}stop(){null!==this.interval&&(clearInterval(this.interval),this.interval=null)}}var nt=null,nn=l.YH.define(),nr=[],ni=n(5155),nl=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],no=(0,i.forwardRef)((e,t)=>{var{className:n,value:s="",selection:a,extensions:c=[],onChange:u,onStatistics:h,onCreateEditor:f,onUpdate:O,autoFocus:d,theme:p="light",height:m,minHeight:g,maxHeight:y,width:x,minWidth:k,maxWidth:b,basicSetup:v,placeholder:Q,indentWithTab:S,editable:w,readOnly:$,root:P,initialState:Z}=e,T=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,nl),X=(0,i.useRef)(null),{state:A,view:C,container:_,setContainer:R}=function(e){var{value:t,selection:n,onChange:r,onStatistics:s,onCreateEditor:a,onUpdate:c,extensions:u=nr,autoFocus:h,theme:f="light",height:O=null,minHeight:d=null,maxHeight:p=null,width:m=null,minWidth:g=null,maxWidth:y=null,placeholder:x="",editable:k=!0,readOnly:b=!1,indentWithTab:v=!0,basicSetup:Q=!0,root:S,initialState:w}=e,[$,P]=(0,i.useState)(),[Z,T]=(0,i.useState)(),[X,A]=(0,i.useState)(),C=(0,i.useState)(()=>({current:null}))[0],_=(0,i.useState)(()=>({current:null}))[0],R=o.Lz.theme({"&":{height:O,minHeight:d,maxHeight:p,width:m,minWidth:g,maxWidth:y},"& .cm-scroller":{height:"100% !important"}}),j=[o.Lz.updateListener.of(e=>{e.docChanged&&"function"==typeof r&&!e.transactions.some(e=>e.annotation(nn))&&(C.current?C.current.reset():(C.current=new t8(()=>{if(_.current){var e=_.current;_.current=null,e()}C.current=null},200),("u"<typeof window?new ne:(!nt&&(nt=new ne),nt)).add(C.current)),r(e.state.doc.toString(),e)),s&&s({line:e.state.doc.lineAt(e.state.selection.main.from),lineCount:e.state.doc.lines,lineBreak:e.state.lineBreak,length:e.state.doc.length,readOnly:e.state.readOnly,tabSize:e.state.tabSize,selection:e.state.selection,selectionAsSingle:e.state.selection.asSingle().main,ranges:e.state.selection.ranges,selectionCode:e.state.sliceDoc(e.state.selection.main.from,e.state.selection.main.to),selections:e.state.selection.ranges.map(t=>e.state.sliceDoc(t.from,t.to)),selectedText:e.state.selection.ranges.some(e=>!e.empty)})}),R,...t6({theme:f,editable:k,readOnly:b,placeholder:x,indentWithTab:v,basicSetup:Q})];return c&&"function"==typeof c&&j.push(o.Lz.updateListener.of(c)),j=j.concat(u),(0,i.useLayoutEffect)(()=>{if($&&!X){var e={doc:t,selection:n,extensions:j},r=w?l.$t.fromJSON(w.json,e,w.fields):l.$t.create(e);if(A(r),!Z){var i=new o.Lz({state:r,parent:$,root:S});T(i),a&&a(i,r)}}return()=>{Z&&(A(void 0),T(void 0))}},[$,X]),(0,i.useEffect)(()=>{e.container&&P(e.container)},[e.container]),(0,i.useEffect)(()=>()=>{Z&&(Z.destroy(),T(void 0)),C.current&&(C.current.cancel(),C.current=null)},[Z]),(0,i.useEffect)(()=>{h&&Z&&Z.focus()},[h,Z]),(0,i.useEffect)(()=>{Z&&Z.dispatch({effects:l.Pe.reconfigure.of(j)})},[f,u,O,d,p,m,g,y,x,k,b,v,Q,r,c]),(0,i.useEffect)(()=>{if(void 0!==t){var e=Z?Z.state.doc.toString():"";if(Z&&t!==e){var n=C.current&&!C.current.isDone,r=()=>{Z&&t!==Z.state.doc.toString()&&Z.dispatch({changes:{from:0,to:Z.state.doc.toString().length,insert:t||""},annotations:[nn.of(!0)]})};n?_.current=r:r()}}},[t,Z]),{state:X,setState:A,view:Z,setView:T,container:$,setContainer:P}}({root:P,value:s,autoFocus:d,theme:p,height:m,minHeight:g,maxHeight:y,width:x,minWidth:k,maxWidth:b,basicSetup:v,placeholder:Q,indentWithTab:S,editable:w,readOnly:$,selection:a,onChange:u,onStatistics:h,onCreateEditor:f,onUpdate:O,extensions:c,initialState:Z});(0,i.useImperativeHandle)(t,()=>({editor:X.current,state:A,view:C}),[X,_,A,C]);var j=(0,i.useCallback)(e=>{X.current=e,R(e)},[R]);if("string"!=typeof s)throw Error("value must be typeof string but got "+typeof s);var z="string"==typeof p?"cm-theme-"+p:"cm-theme";return(0,ni.jsx)("div",r({ref:j,className:""+z+(n?" "+n:"")},T))});no.displayName="CodeMirror";let ns=no},6548:(e,t,n)=>{n.d(t,{B:()=>r});function r(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}},6732:(e,t,n)=>{n.d(t,{Ay:()=>E,EI:()=>X,KB:()=>C,Lv:()=>eu,Oh:()=>_,Q0:()=>h,Q_:()=>eT,SG:()=>eZ,TM:()=>f,WD:()=>I,Xt:()=>Z,Yy:()=>w,Zt:()=>ex,_Y:()=>Y,_v:()=>A,b_:()=>V,bj:()=>d,cr:()=>ef,f7:()=>et,iB:()=>c,jU:()=>eC,mv:()=>p,mz:()=>L,nq:()=>y,p9:()=>u,t:()=>q,t$:()=>$,tp:()=>T,y9:()=>em,yd:()=>D});var r,i=n(6829),l=n(7071),o=n(9561),s=n(2638),a=n(4015);let c=new i.uY;function u(e){return l.sj.define({combine:e?t=>t.concat(e):void 0})}let h=new i.uY;class f{constructor(e,t,n=[],r=""){this.data=e,this.name=r,l.$t.prototype.hasOwnProperty("tree")||Object.defineProperty(l.$t.prototype,"tree",{get(){return p(this)}}),this.parser=t,this.extension=[S.of(this),l.$t.languageData.of((e,t,n)=>{let r=O(e,t,n),i=r.type.prop(c);if(!i)return[];let l=e.facet(i),o=r.type.prop(h);if(o){let i=r.resolve(t-r.from,n);for(let t of o)if(t.test(i,e)){let n=e.facet(t.facet);return"replace"==t.type?n:n.concat(l)}}return l})].concat(n)}isActiveAt(e,t,n=-1){return O(e,t,n).type.prop(c)==this.data}findRegions(e){let t=e.facet(S);if((null==t?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],r=(e,t)=>{if(e.prop(c)==this.data)return void n.push({from:t,to:t+e.length});let l=e.prop(i.uY.mounted);if(l){if(l.tree.prop(c)==this.data){if(l.overlay)for(let e of l.overlay)n.push({from:e.from+t,to:e.to+t});else n.push({from:t,to:t+e.length});return}else if(l.overlay){let e=n.length;if(r(l.tree,l.overlay[0].from+t),n.length>e)return}}for(let n=0;n<e.children.length;n++){let l=e.children[n];l instanceof i.PH&&r(l,e.positions[n]+t)}};return r(p(e),0),n}get allowsNesting(){return!0}}function O(e,t,n){let r=e.facet(S),l=p(e).topNode;if(!r||r.allowsNesting)for(let e=l;e;e=e.enter(t,n,i.Qj.ExcludeBuffers|i.Qj.EnterBracketed))e.type.isTop&&(l=e);return l}f.setState=l.Pe.define();class d extends f{constructor(e,t,n){super(e,t,[],n),this.parser=t}static define(e){let t=u(e.languageData);return new d(t,e.parser.configure({props:[c.add(e=>e.isTop?t:void 0)]}),e.name)}configure(e,t){return new d(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function p(e){let t=e.field(f.state,!1);return t?t.tree:i.PH.empty}class m{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e<n||t>=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let g=null;class y{constructor(e,t,n=[],r,i,l,o,s){this.parser=e,this.state=t,this.fragments=n,this.tree=r,this.treeLen=i,this.viewport=l,this.skipped=o,this.scheduleOn=s,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new y(e,t,[],i.PH.empty,0,n,[],null)}startParse(){return this.parser.startParse(new m(this.state.doc),this.fragments)}work(e,t){return(null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=i.PH.empty&&this.isDone(null!=t?t:this.state.doc.length))?(this.takeTree(),!0):this.withContext(()=>{var n;if("number"==typeof e){let t=Date.now()+e;e=()=>Date.now()>t}for(this.parse||(this.parse=this.startParse()),null!=t&&(null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&t<this.state.doc.length&&this.parse.stopAt(t);;){let r=this.parse.advance();if(r){if(this.fragments=this.withoutTempSkipped(i.rr.addTree(r,this.fragments,null!=this.parse.stoppedAt)),this.treeLen=null!=(n=this.parse.stoppedAt)?n:this.state.doc.length,this.tree=r,this.parse=null,!(this.treeLen<(null!=t?t:this.state.doc.length)))return!0;this.parse=this.startParse()}if(e())return!1}})}takeTree(){let e,t;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(i.rr.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=g;g=this;try{return e()}finally{g=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=x(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:r,treeLen:l,viewport:o,skipped:s}=this;if(this.takeTree(),!e.empty){let t=[];if(e.iterChangedRanges((e,n,r,i)=>t.push({fromA:e,toA:n,fromB:r,toB:i})),n=i.rr.applyChanges(n,t),r=i.PH.empty,l=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length)for(let t of(s=[],this.skipped)){let n=e.mapPos(t.from,1),r=e.mapPos(t.to,-1);n<r&&s.push({from:n,to:r})}}return new y(this.parser,t,n,r,l,o,s,this.scheduleOn)}updateViewport(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;let t=this.skipped.length;for(let t=0;t<this.skipped.length;t++){let{from:n,to:r}=this.skipped[t];n<e.to&&r>e.from&&(this.fragments=x(this.fragments,n,r),this.skipped.splice(t--,1))}return!(this.skipped.length>=t)&&(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends i.iX{createParse(t,n,r){let l=r[0].from,o=r[r.length-1].to;return{parsedPos:l,advance(){let t=g;if(t){for(let e of r)t.tempSkipped.push(e);e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=o,new i.PH(i.Z6.none,[],[],o-l)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&0==t[0].from&&t[0].to>=e}static get(){return g}}function x(e,t,n){return i.rr.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}class k{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new k(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=y.create(e.facet(S).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new k(n)}}f.state=l.sU.define({create:k.init,update(e,t){for(let e of t.effects)if(e.is(f.setState))return e.value;return t.startState.facet(S)!=t.state.facet(S)?k.init(t.state):e.apply(t)}});let b=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};"u">typeof requestIdleCallback&&(b=e=>{let t=-1,n=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)});let v="u">typeof navigator&&(null==(r=navigator.scheduling)?void 0:r.isInputPending)?()=>navigator.scheduling.isInputPending():null,Q=o.Z9.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(f.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(f.state);t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=b(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEnd<t&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=t+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:n,viewport:{to:r}}=this.view,i=n.field(f.state);if(i.tree==i.context.tree&&i.context.isDone(r+1e5))return;let l=Date.now()+Math.min(this.chunkBudget,100,e&&!v?Math.max(25,e.timeRemaining()-5):1e9),o=i.context.treeLen<r&&n.doc.length>r+1e3,s=i.context.work(()=>v&&v()||Date.now()>l,r+1e5*!o);this.chunkBudget-=Date.now()-t,(s||this.chunkBudget<=0)&&(i.context.takeTree(),this.view.dispatch({effects:f.setState.of(new k(i.context))})),this.chunkBudget>0&&!(s&&!o)&&this.scheduleWork(),this.checkAsyncSchedule(i.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(e=>(0,o.c_)(this.view.state,e)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),S=l.sj.define({combine:e=>e.length?e[0]:null,enables:e=>[f.state,Q,o.Lz.contentAttributes.compute([e],t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}})]});class w{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}class ${constructor(e,t,n,r,i,l){this.name=e,this.alias=t,this.extensions=n,this.filename=r,this.loadFunc=i,this.support=l,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:t,support:n}=e;if(!t){if(!n)throw RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");t=()=>Promise.resolve(n)}return new $(e.name,(e.alias||[]).concat(e.name).map(e=>e.toLowerCase()),e.extensions||[],e.filename,t,n)}static matchFilename(e,t){for(let n of e)if(n.filename&&n.filename.test(t))return n;let n=/\.([^.]+)$/.exec(t);if(n){for(let t of e)if(t.extensions.indexOf(n[1])>-1)return t}return null}static matchLanguageName(e,t,n=!0){for(let n of(t=t.toLowerCase(),e))if(n.alias.some(e=>e==t))return n;if(n)for(let n of e)for(let e of n.alias){let r=t.indexOf(e);if(r>-1&&(e.length>2||!/\w/.test(t[r-1])&&!/\w/.test(t[r+e.length])))return n}return null}}let P=l.sj.define(),Z=l.sj.define({combine:e=>{if(!e.length)return" ";let t=e[0];if(!t||/\S/.test(t)||Array.from(t).some(e=>e!=t[0]))throw Error("Invalid indent unit: "+JSON.stringify(e[0]));return t}});function T(e){let t=e.facet(Z);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function X(e,t){let n="",r=e.tabSize,i=e.facet(Z)[0];if(" "==i){for(;t>=r;)n+=" ",t-=r;i=" "}for(let e=0;e<t;e++)n+=i;return n}function A(e,t){for(let n of(e instanceof l.$t&&(e=new C(e)),e.state.facet(P))){let r=n(e,t);if(void 0!==r)return r}let n=p(e.state);return n.length>=t?function(e,t,n){let r=t.resolveStack(n),i=t.resolveInner(n,-1).resolve(n,0).enterUnfinishedNodesBefore(n);if(i!=r.node){let e=[];for(let t=i;t&&!(t.from<r.node.from||t.to>r.node.to||t.from==r.node.from&&t.type==r.node.type);t=t.parent)e.push(t);for(let t=e.length-1;t>=0;t--)r={node:e[t],next:r}}return R(r,e,n)}(e,n,t):null}class C{constructor(e,t={}){this.state=e,this.options=t,this.unit=T(e)}lineAt(e,t=1){let n=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:i}=this.options;if(null!=r&&r>=n.from&&r<=n.to)if(i&&r==e)return{text:"",from:e};else if(t<0?r<e:r<=e)return{text:n.text.slice(r-n.from),from:r};else return{text:n.text.slice(0,r-n.from),from:n.from};return n}textAfterPos(e,t=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";let{text:n,from:r}=this.lineAt(e,t);return n.slice(e-r,Math.min(n.length,e+100-r))}column(e,t=1){let{text:n,from:r}=this.lineAt(e,t),i=this.countColumn(n,e-r),l=this.options.overrideIndentation?this.options.overrideIndentation(r):-1;return l>-1&&(i+=l-this.countColumn(n,n.search(/\S|$/))),i}countColumn(e,t=e.length){return(0,l.y$)(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:r}=this.lineAt(e,t),i=this.options.overrideIndentation;if(i){let e=i(r);if(e>-1)return e}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}let _=new i.uY;function R(e,t,n){for(let r=e;r;r=r.next){let e=function(e){let t=e.type.prop(_);if(t)return t;let n=e.firstChild,r;if(n&&(r=n.type.prop(i.uY.closedBy))){let t=e.lastChild,n=t&&r.indexOf(t.name)>-1;return e=>M(e,!0,1,void 0,n&&!(e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak)?t.from:void 0)}return null==e.parent?j:null}(r.node);if(e)return e(z.create(t,n,r))}return 0}function j(){return 0}class z extends C{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.context=n}get node(){return this.context.node}static create(e,t,n){return new z(e,t,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let t=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(t.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(function(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}(n,e))break;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}continue(){return R(this.context.next,this.base,this.pos)}}function E({closing:e,align:t=!0,units:n=1}){return r=>M(r,t,n,e)}function M(e,t,n,r,i){let l=e.textAfter,o=l.match(/^\s*/)[0].length,s=r&&l.slice(o,o+r.length)==r||i==e.pos+o,a=t?function(e){let t=e.node,n=t.childAfter(t.from),r=t.lastChild;if(!n)return null;let i=e.options.simulateBreak,l=e.state.doc.lineAt(n.from),o=null==i||i<=l.from?l.to:Math.min(l.to,i);for(let e=n.to;;){let i=t.childAfter(e);if(!i||i==r)return null;if(!i.type.isSkipped){if(i.from>=o)return null;let e=/^ */.exec(l.text.slice(n.to-l.from))[0].length;return{from:n.from,to:n.to+e}}e=i.to}}(e):null;return a?s?e.column(a.from):e.column(a.to):e.baseIndent+(s?0:e.unit*n)}let Y=e=>e.baseIndent;function L({except:e,units:t=1}={}){return n=>{let r=e&&e.test(n.textAfter);return n.baseIndent+(r?0:t*n.unit)}}function I(){return l.$t.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let n=e.newDoc,{head:r}=e.newSelection.main,i=n.lineAt(r);if(r>i.from+200)return e;let l=n.sliceString(i.from,r);if(!t.some(e=>e.test(l)))return e;let{state:o}=e,s=-1,a=[];for(let{head:e}of o.selection.ranges){let t=o.doc.lineAt(e);if(t.from==s)continue;s=t.from;let n=A(o,t.from);if(null==n)continue;let r=/^\s*/.exec(t.text)[0],i=X(o,n);r!=i&&a.push({from:t.from,to:t.from+r.length,insert:i})}return a.length?[e,{changes:a,sequential:!0}]:e})}let q=l.sj.define(),V=new i.uY;function D(e){let t=e.firstChild,n=e.lastChild;return t&&t.to<n.from?{from:t.to,to:n.type.isError?e.to:n.from}:null}function W(e,t,n){for(let r of e.facet(q)){let i=r(e,t,n);if(i)return i}return function(e,t,n){let r=p(e);if(r.length<n)return null;let i=r.resolveStack(n,1),l=null;for(let o=i;o;o=o.next){let i=o.node;if(i.to<=n||i.from>n)continue;if(l&&i.from<t)break;let s=i.type.prop(V);if(s&&(i.to<r.length-50||r.length==e.doc.length||!function(e){let t=e.lastChild;return t&&t.to==e.to&&t.type.isError}(i))){let r=s(i,e);r&&r.from<=n&&r.from>=t&&r.to>n&&(l=r)}}return l}(e,t,n)}function N(e,t){let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);return n>=r?void 0:{from:n,to:r}}let U=l.Pe.define({map:N}),B=l.Pe.define({map:N});function G(e){let t=[];for(let{head:n}of e.state.selection.ranges)t.some(e=>e.from<=n&&e.to>=n)||t.push(e.lineBlockAt(n));return t}let F=l.sU.define({create:()=>o.NZ.none,update(e,t){for(let n of(t.isUserEvent("delete")&&t.changes.iterChangedRanges((t,n)=>e=H(e,t,n)),e=e.map(t.changes),t.effects))if(n.is(U)&&!function(e,t,n){let r=!1;return e.between(t,t,(e,i)=>{e==t&&i==n&&(r=!0)}),r}(e,n.value.from,n.value.to)){let{preparePlaceholder:r}=t.state.facet(er),i=r?o.NZ.replace({widget:new es(r(t.state,n.value))}):eo;e=e.update({add:[i.range(n.value.from,n.value.to)]})}else n.is(B)&&(e=e.update({filter:(e,t)=>n.value.from!=e||n.value.to!=t,filterFrom:n.value.from,filterTo:n.value.to}));return t.selection&&(e=H(e,t.selection.main.head)),e},provide:e=>o.Lz.decorations.from(e),toJSON(e,t){let n=[];return e.between(0,t.doc.length,(e,t)=>{n.push(e,t)}),n},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw RangeError("Invalid JSON for fold state");let t=[];for(let n=0;n<e.length;){let r=e[n++],i=e[n++];if("number"!=typeof r||"number"!=typeof i)throw RangeError("Invalid JSON for fold state");t.push(eo.range(r,i))}return o.NZ.set(t,!0)}});function H(e,t,n=t){let r=!1;return e.between(t,n,(e,i)=>{e<n&&i>t&&(r=!0)}),r?e.update({filterFrom:t,filterTo:n,filter:(e,r)=>e>=n||r<=t}):e}function J(e,t,n){var r;let i=null;return null==(r=e.field(F,!1))||r.between(t,n,(e,t)=>{(!i||i.from>e)&&(i={from:e,to:t})}),i}function K(e,t){return e.field(F,!1)?t:t.concat(l.Pe.appendConfig.of(ei()))}function ee(e,t,n=!0){let r=e.state.doc.lineAt(t.from).number,i=e.state.doc.lineAt(t.to).number;return o.Lz.announce.of(`${e.state.phrase(n?"Folded lines":"Unfolded lines")} ${r} ${e.state.phrase("to")} ${i}.`)}let et=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:e=>{for(let t of G(e)){let n=W(e.state,t.from,t.to);if(n)return e.dispatch({effects:K(e.state,[U.of(n),ee(e,n)])}),!0}return!1}},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:e=>{if(!e.state.field(F,!1))return!1;let t=[];for(let n of G(e)){let r=J(e.state,n.from,n.to);r&&t.push(B.of(r),ee(e,r,!1))}return t.length&&e.dispatch({effects:t}),t.length>0}},{key:"Ctrl-Alt-[",run:e=>{let{state:t}=e,n=[];for(let r=0;r<t.doc.length;){let i=e.lineBlockAt(r),l=W(t,i.from,i.to);l&&n.push(U.of(l)),r=(l?e.lineBlockAt(l.to):i).to+1}return n.length&&e.dispatch({effects:K(e.state,n)}),!!n.length}},{key:"Ctrl-Alt-]",run:e=>{let t=e.state.field(F,!1);if(!t||!t.size)return!1;let n=[];return t.between(0,e.state.doc.length,(e,t)=>{n.push(B.of({from:e,to:t}))}),e.dispatch({effects:n}),!0}}],en={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},er=l.sj.define({combine:e=>(0,l.QR)(e,en)});function ei(e){let t=[F,eh];return e&&t.push(er.of(e)),t}function el(e,t){let{state:n}=e,r=n.facet(er),i=t=>{let n=e.lineBlockAt(e.posAtDOM(t.target)),r=J(e.state,n.from,n.to);r&&e.dispatch({effects:B.of(r)}),t.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(e,i,t);let l=document.createElement("span");return l.textContent=r.placeholderText,l.setAttribute("aria-label",n.phrase("folded code")),l.title=n.phrase("unfold"),l.className="cm-foldPlaceholder",l.onclick=i,l}let eo=o.NZ.replace({widget:new class extends o.xO{toDOM(e){return el(e,null)}}});class es extends o.xO{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return el(e,this.value)}}let ea={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class ec extends o.wJ{constructor(e,t){super(),this.config=e,this.open=t}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let t=document.createElement("span");return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}}function eu(e={}){let t={...ea,...e},n=new ec(t,!0),r=new ec(t,!1),i=o.Z9.fromClass(class{constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}update(e){(e.docChanged||e.viewportChanged||e.startState.facet(S)!=e.state.facet(S)||e.startState.field(F,!1)!=e.state.field(F,!1)||p(e.startState)!=p(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new l.vB;for(let i of e.viewportLineBlocks){let l=J(e.state,i.from,i.to)?r:W(e.state,i.from,i.to)?n:null;l&&t.add(i.from,i.from,l)}return t.finish()}}),{domEventHandlers:s}=t;return[i,(0,o.cU)({class:"cm-foldGutter",markers(e){var t;return(null==(t=e.plugin(i))?void 0:t.markers)||l.om.empty},initialSpacer:()=>new ec(t,!1),domEventHandlers:{...s,click:(e,t,n)=>{if(s.click&&s.click(e,t,n))return!0;let r=J(e.state,t.from,t.to);if(r)return e.dispatch({effects:B.of(r)}),!0;let i=W(e.state,t.from,t.to);return!!i&&(e.dispatch({effects:U.of(i)}),!0)}}}),ei()]}let eh=o.Lz.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class ef{constructor(e,t){let n;function r(e){let t=a.G.newName();return(n||(n=Object.create(null)))["."+t]=e,t}this.specs=e;const i="string"==typeof t.all?t.all:t.all?r(t.all):void 0,l=t.scope;this.scope=l instanceof f?e=>e.prop(c)==l.data:l?e=>e==l:void 0,this.style=(0,s.az)(e.map(e=>({tag:e.tag,class:e.class||r(Object.assign({},e,{tag:null}))})),{all:i}).style,this.module=n?new a.G(n):null,this.themeType=t.themeType}static define(e,t){return new ef(e,t||{})}}let eO=l.sj.define(),ed=l.sj.define({combine:e=>e.length?[e[0]]:null});function ep(e){let t=e.facet(eO);return t.length?t:e.facet(ed)}function em(e,t){let n=[ey],r;return e instanceof ef&&(e.module&&n.push(o.Lz.styleModule.of(e.module)),r=e.themeType),(null==t?void 0:t.fallback)?n.push(ed.of(e)):r?n.push(eO.computeN([o.Lz.darkTheme],t=>t.facet(o.Lz.darkTheme)==("dark"==r)?[e]:[])):n.push(eO.of(e)),n}class eg{constructor(e){this.markCache=Object.create(null),this.tree=p(e.state),this.decorations=this.buildDeco(e,ep(e.state)),this.decoratedTo=e.viewport.to}update(e){let t=p(e.state),n=ep(e.state),r=n!=ep(e.startState),{viewport:i}=e.view,l=e.changes.mapPos(this.decoratedTo,1);t.length<i.to&&!r&&t.type==this.tree.type&&l>=i.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=l):(t!=this.tree||e.viewportChanged||r)&&(this.tree=t,this.decorations=this.buildDeco(e.view,n),this.decoratedTo=i.to)}buildDeco(e,t){if(!t||!this.tree.length)return o.NZ.none;let n=new l.vB;for(let{from:r,to:i}of e.visibleRanges)(0,s.DM)(this.tree,t,(e,t,r)=>{n.add(e,t,this.markCache[r]||(this.markCache[r]=o.NZ.mark({class:r})))},r,i);return n.finish()}}let ey=l.Nb.high(o.Z9.fromClass(eg,{decorations:e=>e.decorations})),ex=ef.define([{tag:s._A.meta,color:"#404740"},{tag:s._A.link,textDecoration:"underline"},{tag:s._A.heading,textDecoration:"underline",fontWeight:"bold"},{tag:s._A.emphasis,fontStyle:"italic"},{tag:s._A.strong,fontWeight:"bold"},{tag:s._A.strikethrough,textDecoration:"line-through"},{tag:s._A.keyword,color:"#708"},{tag:[s._A.atom,s._A.bool,s._A.url,s._A.contentSeparator,s._A.labelName],color:"#219"},{tag:[s._A.literal,s._A.inserted],color:"#164"},{tag:[s._A.string,s._A.deleted],color:"#a11"},{tag:[s._A.regexp,s._A.escape,s._A.special(s._A.string)],color:"#e40"},{tag:s._A.definition(s._A.variableName),color:"#00f"},{tag:s._A.local(s._A.variableName),color:"#30a"},{tag:[s._A.typeName,s._A.namespace],color:"#085"},{tag:s._A.className,color:"#167"},{tag:[s._A.special(s._A.variableName),s._A.macroName],color:"#256"},{tag:s._A.definition(s._A.propertyName),color:"#00c"},{tag:s._A.comment,color:"#940"},{tag:s._A.invalid,color:"#f00"}]),ek=o.Lz.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),eb="()[]{}",ev=l.sj.define({combine:e=>(0,l.QR)(e,{afterCursor:!0,brackets:eb,maxScanDistance:1e4,renderMatch:ew})}),eQ=o.NZ.mark({class:"cm-matchingBracket"}),eS=o.NZ.mark({class:"cm-nonmatchingBracket"});function ew(e){let t=[],n=e.matched?eQ:eS;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}function e$(e){let t=[],n=e.facet(ev);for(let r of e.selection.ranges){if(!r.empty)continue;let i=eC(e,r.head,-1,n)||r.head>0&&eC(e,r.head-1,1,n)||n.afterCursor&&(eC(e,r.head,1,n)||r.head<e.doc.length&&eC(e,r.head+1,-1,n));i&&(t=t.concat(n.renderMatch(i,e)))}return o.NZ.set(t,!0)}let eP=[o.Z9.fromClass(class{constructor(e){this.paused=!1,this.decorations=e$(e.state)}update(e){(e.docChanged||e.selectionSet||this.paused)&&(e.view.composing?(this.decorations=this.decorations.map(e.changes),this.paused=!0):(this.decorations=e$(e.state),this.paused=!1))}},{decorations:e=>e.decorations}),ek];function eZ(e={}){return[ev.of(e),eP]}let eT=new i.uY;function eX(e,t,n){let r=e.prop(t<0?i.uY.openedBy:i.uY.closedBy);if(r)return r;if(1==e.name.length){let r=n.indexOf(e.name);if(r>-1&&r%2==+(t<0))return[n[r+t]]}return null}function eA(e){let t=e.type.prop(eT);return t?t(e.node):e}function eC(e,t,n,r={}){let i=r.maxScanDistance||1e4,l=r.brackets||eb,o=p(e),s=o.resolveInner(t,n);for(let e=s;e;e=e.parent){let r=eX(e.type,n,l);if(r&&e.from<e.to){let i=eA(e);if(i&&(n>0?t>=i.from&&t<i.to:t>i.from&&t<=i.to))return function(e,t,n,r,i,l,o){let s=r.parent,a={from:i.from,to:i.to},c=0,u=null==s?void 0:s.cursor();if(u&&(n<0?u.childBefore(r.from):u.childAfter(r.to)))do if(n<0?u.to<=r.from:u.from>=r.to){if(0==c&&l.indexOf(u.type.name)>-1&&u.from<u.to){let e=eA(u);return{start:a,end:e?{from:e.from,to:e.to}:void 0,matched:!0}}else if(eX(u.type,n,o))c++;else if(eX(u.type,-n,o)){if(0==c){let e=eA(u);return{start:a,end:e&&e.from<e.to?{from:e.from,to:e.to}:void 0,matched:!1}}c--}}while(n<0?u.prevSibling():u.nextSibling());return{start:a,matched:!1}}(0,0,n,e,i,r,l)}}return function(e,t,n,r,i,l,o){if(n<0?!t:t==e.doc.length)return null;let s=n<0?e.sliceDoc(t-1,t):e.sliceDoc(t,t+1),a=o.indexOf(s);if(a<0||a%2==0!=n>0)return null;let c={from:n<0?t-1:t,to:n>0?t+1:t},u=e.doc.iterRange(t,n>0?e.doc.length:0),h=0;for(let e=0;!u.next().done&&e<=l;){let l=u.value;n<0&&(e+=l.length);let s=t+e*n;for(let e=n>0?0:l.length-1,t=n>0?l.length:-1;e!=t;e+=n){let t=o.indexOf(l[e]);if(!(t<0)&&r.resolveInner(s+e,1).type==i)if(t%2==0==n>0)h++;else{if(1==h)return{start:c,end:{from:s+e,to:s+e+1},matched:t>>1==a>>1};h--}}n>0&&(e+=l.length)}return u.done?{start:c,matched:!1}:null}(e,t,n,o,s.type,i,l)}let e_=Object.create(null),eR=[i.Z6.none],ej=[],ez=Object.create(null),eE=Object.create(null);for(let[e,t]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])eE[e]=function(e,t){let n=[];for(let r of t.split(" ")){let t=[];for(let n of r.split(".")){let r=e[n]||s._A[n];r?"function"==typeof r?t.length?t=t.map(r):eM(n,`Modifier ${n} used at start of tag`):t.length?eM(n,`Tag ${n} used as modifier`):t=Array.isArray(r)?r:[r]:eM(n,`Unknown highlighting tag ${n}`)}for(let e of t)n.push(e)}if(!n.length)return 0;let r=t.replace(/ /g,"_"),l=r+" "+n.map(e=>e.id),o=ez[l];if(o)return o.id;let a=ez[l]=i.Z6.define({id:eR.length,name:r,props:[(0,s.pn)({[r]:n})]});return eR.push(a),a.id}(e_,t);function eM(e,t){ej.indexOf(e)>-1||(ej.push(e),console.warn(t))}o.OP.RTL,o.OP.LTR},6829:(e,t,n)=>{var r,i;n.d(t,{$g:()=>E,PH:()=>p,Qj:()=>r,RY:()=>_,Z6:()=>h,cF:()=>l,fI:()=>f,iX:()=>j,rr:()=>R,uY:()=>a});let l=1024,o=0;class s{constructor(e,t){this.from=e,this.to=t}}class a{constructor(e={}){this.id=o++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw Error("This node type doesn't define a deserialize function")}),this.combine=e.combine||null}add(e){if(this.perNode)throw RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=h.match(e)),t=>{let n=e(t);return void 0===n?null:[this,n]}}}a.closedBy=new a({deserialize:e=>e.split(" ")}),a.openedBy=new a({deserialize:e=>e.split(" ")}),a.group=new a({deserialize:e=>e.split(" ")}),a.isolate=new a({deserialize:e=>{if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw RangeError("Invalid value for isolate: "+e);return e||"auto"}}),a.contextHash=new a({perNode:!0}),a.lookAhead=new a({perNode:!0}),a.mounted=new a({perNode:!0});class c{constructor(e,t,n,r=!1){this.tree=e,this.overlay=t,this.parser=n,this.bracketed=r}static get(e){return e&&e.props&&e.props[a.mounted.id]}}let u=Object.create(null);class h{constructor(e,t,n,r=0){this.name=e,this.props=t,this.id=n,this.flags=r}static define(e){let t=e.props&&e.props.length?Object.create(null):u,n=!!e.top|2*!!e.skipped|4*!!e.error|8*(null==e.name),r=new h(e.name||"",t,e.id,n);if(e.props){for(let n of e.props)if(Array.isArray(n)||(n=n(r)),n){if(n[0].perNode)throw RangeError("Can't store a per-node prop on a node type");t[n[0].id]=n[1]}}return r}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(a.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let r of n.split(" "))t[r]=e[n];return e=>{for(let n=e.prop(a.group),r=-1;r<(n?n.length:0);r++){let i=t[r<0?e.name:n[r]];if(i)return i}}}}h.none=new h("",Object.create(null),0,8);class f{constructor(e){this.types=e;for(let t=0;t<e.length;t++)if(e[t].id!=t)throw RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let t=[];for(let n of this.types){let r=null;for(let t of e){let e=t(n);if(e){r||(r=Object.assign({},n.props));let t=e[1],i=e[0];i.combine&&i.id in r&&(t=i.combine(r[i.id],t)),r[i.id]=t}}t.push(r?new h(n.name,r,n.id,n.flags):n)}return new f(t)}}let O=new WeakMap,d=new WeakMap;(i=r||(r={}))[i.ExcludeBuffers=1]="ExcludeBuffers",i[i.IncludeAnonymous=2]="IncludeAnonymous",i[i.IgnoreMounts=4]="IgnoreMounts",i[i.IgnoreOverlays=8]="IgnoreOverlays",i[i.EnterBracketed=16]="EnterBracketed";class p{constructor(e,t,n,r,i){if(this.type=e,this.children=t,this.positions=n,this.length=r,this.props=null,i&&i.length)for(let[e,t]of(this.props=Object.create(null),i))this.props["number"==typeof e?e:e.id]=t}toString(){let e=c.get(this);if(e&&!e.overlay)return e.tree.toString();let t="";for(let e of this.children){let n=e.toString();n&&(t&&(t+=","),t+=n)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(t.length?"("+t+")":""):t}cursor(e=0){return new Z(this.topNode,e)}cursorAt(e,t=0,n=0){let r=new Z(O.get(this)||this.topNode);return r.moveTo(e,t),O.set(this,r._tree),r}get topNode(){return new b(this,0,0,null)}resolve(e,t=0){let n=x(O.get(this)||this.topNode,e,t,!1);return O.set(this,n),n}resolveInner(e,t=0){let n=x(d.get(this)||this.topNode,e,t,!0);return d.set(this,n),n}resolveStack(e,t=0){return function(e,t,n){let r=e.resolveInner(t,n),i=null;for(let e=r instanceof b?r:r.context.parent;e;e=e.parent)if(e.index<0){let l=e.parent;(i||(i=[r])).push(l.resolve(t,n)),e=l}else{let l=c.get(e.tree);if(l&&l.overlay&&l.overlay[0].from<=t&&l.overlay[l.overlay.length-1].to>=t){let o=new b(l.tree,l.overlay[0].from+e.from,-1,e);(i||(i=[r])).push(x(o,t,n,!1))}}return i?$(i):r}(this,e,t)}iterate(e){let{enter:t,leave:n,from:i=0,to:l=this.length}=e,o=e.mode||0,s=(o&r.IncludeAnonymous)>0;for(let e=this.cursor(o|r.IncludeAnonymous);;){let r=!1;if(e.from<=l&&e.to>=i&&(!s&&e.type.isAnonymous||!1!==t(e))){if(e.firstChild())continue;r=!0}for(;r&&n&&(s||!e.type.isAnonymous)&&n(e),!e.nextSibling();){if(!e.parent())return;r=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:C(h.none,this.children,this.positions,0,this.children.length,0,this.length,(e,t,n)=>new p(this.type,e,t,n,this.propValues),e.makeTree||((e,t,n)=>new p(h.none,e,t,n)))}static build(e){return function(e){var t;let{buffer:n,nodeSet:r,maxBufferLength:i=l,reused:o=[],minRepeatType:s=r.types.length}=e,c=Array.isArray(n)?new m(n,n.length):n,u=r.types,h=0,f=0;function O(e,t,n,i,l,o,s,a,c){let u=[],h=[];for(;e.length>i;)u.push(e.pop()),h.push(t.pop()+n-l);e.push(d(r.types[s],u,h,o-l,a-o,c)),t.push(l-n)}function d(e,t,n,r,i,l,o){if(l){let e=[a.contextHash,l];o=o?[e].concat(o):[e]}if(i>25){let e=[a.lookAhead,i];o=o?[e].concat(o):[e]}return new p(e,t,n,r,o)}let y=[],x=[];for(;c.pos>0;)!function e(t,n,l,m,y,x){let{id:k,start:b,end:v,size:Q}=c,S=f,w=h;if(Q<0){if(c.next(),-1==Q){let e=o[k];l.push(e),m.push(b-t);return}if(-3==Q){h=k;return}if(-4==Q){f=k;return}else throw RangeError(`Unrecognized record size: ${Q}`)}let $=u[k],P,Z,T=b-t;if(v-b<=i&&(Z=function(e,t){let n=c.fork(),r=0,l=0,o=0,a=n.end-i,u={size:0,start:0,skip:0};n:for(let i=n.pos-e;n.pos>i;){let e=n.size;if(n.id==t&&e>=0){u.size=r,u.start=l,u.skip=o,o+=4,r+=4,n.next();continue}let c=n.pos-e;if(e<0||c<i||n.start<a)break;let h=4*(n.id>=s),f=n.start;for(n.next();n.pos>c;){if(n.size<0)if(-3==n.size||-4==n.size)h+=4;else break n;else n.id>=s&&(h+=4);n.next()}l=f,r+=e,o+=h}return(t<0||r==e)&&(u.size=r,u.start=l,u.skip=o),u.size>4?u:void 0}(c.pos-n,y))){let e=new Uint16Array(Z.size-Z.skip),n=c.pos-Z.size,i=e.length;for(;c.pos>n;)i=function e(t,n,r){let{id:i,start:l,end:o,size:a}=c;if(c.next(),a>=0&&i<s){let s=r;if(a>4){let i=c.pos-(a-4);for(;c.pos>i;)r=e(t,n,r)}n[--r]=s,n[--r]=o-t,n[--r]=l-t,n[--r]=i}else -3==a?h=i:-4==a&&(f=i);return r}(Z.start,e,i);P=new g(e,v-Z.start,r),T=Z.start-t}else{let t=c.pos-Q;c.next();let n=[],l=[],o=k>=s?k:-1,u=0,h=v;for(;c.pos>t;)o>=0&&c.id==o&&c.size>=0?(c.end<=h-i&&(O(n,l,b,u,c.end,h,o,S,w),u=n.length,h=c.end),c.next()):x>2500?function(e,t,n,l){let o=[],s=0,a=-1;for(;c.pos>t;){let{id:e,start:t,end:n,size:r}=c;if(r>4)c.next();else if(a>-1&&t<a)break;else a<0&&(a=n-i),o.push(e,t,n),s++,c.next()}if(s){let t=new Uint16Array(4*s),i=o[o.length-2];for(let e=o.length-3,n=0;e>=0;e-=3)t[n++]=o[e],t[n++]=o[e+1]-i,t[n++]=o[e+2]-i,t[n++]=n;n.push(new g(t,o[2]-i,r)),l.push(i-e)}}(b,t,n,l):e(b,t,n,l,o,x+1);if(o>=0&&u>0&&u<n.length&&O(n,l,b,u,b,h,o,S,w),n.reverse(),l.reverse(),o>-1&&u>0){let e=function(e,t){return(n,r,i)=>{let l=0,o=n.length-1,s,c;if(o>=0&&(s=n[o])instanceof p){if(!o&&s.type==e&&s.length==i)return s;(c=s.prop(a.lookAhead))&&(l=r[o]+s.length+c)}return d(e,n,r,i,l,t)}}($,w);P=C($,n,l,0,n.length,0,v-b,e,e)}else P=d($,n,l,v-b,S-v,w)}l.push(P),m.push(T)}(e.start||0,e.bufferStart||0,y,x,-1,0);let k=null!=(t=e.length)?t:y.length?x[0]+y[0].length:0;return new p(u[e.topID],y.reverse(),x.reverse(),k)}(e)}}p.empty=new p(h.none,[],[],0);class m{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new m(this.buffer,this.index)}}class g{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return h.none}toString(){let e=[];for(let t=0;t<this.buffer.length;)e.push(this.childString(t)),t=this.buffer[t+3];return e.join(",")}childString(e){let t=this.buffer[e],n=this.buffer[e+3],r=this.set.types[t],i=r.name;if(/\W/.test(i)&&!r.isError&&(i=JSON.stringify(i)),n==(e+=4))return i;let l=[];for(;e<n;)l.push(this.childString(e)),e=this.buffer[e+3];return i+"("+l.join(",")+")"}findChild(e,t,n,r,i){let{buffer:l}=this,o=-1;for(let s=e;s!=t&&(!y(i,r,l[s+1],l[s+2])||(o=s,!(n>0)));s=l[s+3]);return o}slice(e,t,n){let r=this.buffer,i=new Uint16Array(t-e),l=0;for(let o=e,s=0;o<t;){i[s++]=r[o++],i[s++]=r[o++]-n;let t=i[s++]=r[o++]-n;i[s++]=r[o++]-e,l=Math.max(l,t)}return new g(i,l,this.set)}}function y(e,t,n,r){switch(e){case -2:return n<t;case -1:return r>=t&&n<t;case 0:return n<t&&r>t;case 1:return n<=t&&r>t;case 2:return r>t;case 4:return!0}}function x(e,t,n,i){for(var l;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to<t);){let t=!i&&e instanceof b&&e.index<0?null:e.parent;if(!t)return e;e=t}let o=i?0:r.IgnoreOverlays;if(i)for(let r=e,i=r.parent;i;i=(r=i).parent)r instanceof b&&r.index<0&&(null==(l=i.enter(t,n,o))?void 0:l.from)!=r.from&&(e=i);for(;;){let r=e.enter(t,n,o);if(!r)return e;e=r}}class k{cursor(e=0){return new Z(this,e)}getChild(e,t=null,n=null){let r=v(this,e,t,n);return r.length?r[0]:null}getChildren(e,t=null,n=null){return v(this,e,t,n)}resolve(e,t=0){return x(this,e,t,!1)}resolveInner(e,t=0){return x(this,e,t,!0)}matchContext(e){return Q(this.parent,e)}enterUnfinishedNodesBefore(e){let t=this.childBefore(e),n=this;for(;t;){let e=t.lastChild;if(!e||e.to!=t.to)break;e.type.isError&&e.from==e.to?(n=t,t=e.prevSibling):t=e}return n}get node(){return this}get next(){return this.parent}}class b extends k{constructor(e,t,n,r){super(),this._tree=e,this.from=t,this.index=n,this._parent=r}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,t,n,i,l=0){for(let o=this;;){for(let{children:s,positions:a}=o._tree,u=t>0?s.length:-1;e!=u;e+=t){let u=s[e],h=a[e]+o.from,f;if(l&r.EnterBracketed&&u instanceof p&&(f=c.get(u))&&!f.overlay&&f.bracketed&&n>=h&&n<=h+u.length||y(i,n,h,h+u.length)){if(u instanceof g){if(l&r.ExcludeBuffers)continue;let s=u.findChild(0,u.buffer.length,t,n-h,i);if(s>-1)return new w(new S(o,u,e,h),null,s)}else if(l&r.IncludeAnonymous||!u.type.isAnonymous||T(u)){let s;if(!(l&r.IgnoreMounts)&&(s=c.get(u))&&!s.overlay)return new b(s.tree,h,e,o);let a=new b(u,h,e,o);return l&r.IncludeAnonymous||!a.type.isAnonymous?a:a.nextChild(t<0?u.children.length-1:0,t,n,i,l)}}}if(l&r.IncludeAnonymous||!o.type.isAnonymous||(e=o.index>=0?o.index+t:t<0?-1:o._parent._tree.children.length,!(o=o._parent)))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}prop(e){return this._tree.prop(e)}enter(e,t,n=0){let i;if(!(n&r.IgnoreOverlays)&&(i=c.get(this._tree))&&i.overlay){let l=e-this.from,o=n&r.EnterBracketed&&i.bracketed;for(let{from:e,to:n}of i.overlay)if((t>0||o?e<=l:e<l)&&(t<0||o?n>=l:n>l))return new b(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function v(e,t,n,r){let i=e.cursor(),l=[];if(!i.firstChild())return l;if(null!=n){for(let e=!1;!e;)if(e=i.type.is(n),!i.nextSibling())return l}for(;;){if(null!=r&&i.type.is(r))return l;if(i.type.is(t)&&l.push(i.node),!i.nextSibling())return null==r?l:[]}}function Q(e,t,n=t.length-1){for(let r=e;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}return!0}class S{constructor(e,t,n,r){this.parent=e,this.buffer=t,this.index=n,this.start=r}}class w extends k{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){super(),this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:r}=this.context,i=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.context.start,n);return i<0?null:new w(this.context,this,i)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}prop(e){return this.type.prop(e)}enter(e,t,n=0){if(n&r.ExcludeBuffers)return null;let{buffer:i}=this.context,l=i.findChild(this.index+4,i.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return l<0?null:new w(this.context,this,l)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new w(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new w(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,r=this.index+4,i=n.buffer[this.index+3];if(i>r){let l=n.buffer[this.index+1];e.push(n.slice(r,i,l)),t.push(0)}return new p(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function $(e){if(!e.length)return null;let t=0,n=e[0];for(let r=1;r<e.length;r++){let i=e[r];(i.from>n.from||i.to<n.to)&&(n=i,t=r)}let r=n instanceof b&&n.index<0?null:n.parent,i=e.slice();return r?i[t]=r:i.splice(t,1),new P(i,n)}class P{constructor(e,t){this.heads=e,this.node=t}get next(){return $(this.heads)}}class Z{get name(){return this.type.name}constructor(e,t=0){if(this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,this.mode=t&~r.EnterBracketed,e instanceof b)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let t=e._parent;t;t=t._parent)this.stack.unshift(t.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}yieldBuf(e,t){this.index=e;let{start:n,buffer:r}=this.buffer;return this.type=t||r.set.types[r.buffer[e]],this.from=n+r.buffer[e+1],this.to=n+r.buffer[e+2],!0}yield(e){return!!e&&(e instanceof b?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:r}=this.buffer,i=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,n);return!(i<0)&&(this.stack.push(this.index),this.yieldBuf(i))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){return this.buffer?!(n&r.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&r.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&r.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let e=n<0?0:this.stack[n]+4;if(this.index!=e)return this.yieldBuf(t.findChild(e,this.index,-1,0,4))}else{let e=t.buffer[this.index+3];if(e<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(e)}return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{buffer:i}=this;if(i){if(e>0){if(this.index<i.buffer.buffer.length)return!1}else for(let e=0;e<this.index;e++)if(i.buffer.buffer[e+3]<this.index)return!1;({index:t,parent:n}=i)}else({index:t,_parent:n}=this._tree);for(;n;{index:t,_parent:n}=n)if(t>-1)for(let i=t+e,l=e<0?-1:n._tree.children.length;i!=l;i+=e){let e=n._tree.children[i];if(this.mode&r.IncludeAnonymous||e instanceof g||!e.type.isAnonymous||T(e))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,t););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,t=null,n=0;if(e&&e.context==this.buffer)n:for(let r=this.index,i=this.stack.length;i>=0;){for(let l=e;l;l=l._parent)if(l.index==r){if(r==this.index)return l;t=l,n=i+1;break n}r=this.stack[--i]}for(let e=n;e<this.stack.length;e++)t=new w(this.buffer,t,this.stack[e]);return this.bufferNode=new w(this.buffer,t,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,t){for(let n=0;;){let r=!1;if(this.type.isAnonymous||!1!==e(this)){if(this.firstChild()){n++;continue}this.type.isAnonymous||(r=!0)}for(;;){if(r&&t&&t(this),r=this.type.isAnonymous,!n)return;if(this.nextSibling())break;this.parent(),n--,r=!0}}}matchContext(e){if(!this.buffer)return Q(this.node.parent,e);let{buffer:t}=this.buffer,{types:n}=t.set;for(let r=e.length-1,i=this.stack.length-1;r>=0;i--){if(i<0)return Q(this._tree,e,r);let l=n[t.buffer[this.stack[i]]];if(!l.isAnonymous){if(e[r]&&e[r]!=l.name)return!1;r--}}return!0}}function T(e){return e.children.some(e=>e instanceof g||!e.type.isAnonymous||T(e))}let X=new WeakMap;function A(e,t){if(!e.isAnonymous||t instanceof g||t.type!=e)return 1;let n=X.get(t);if(null==n){for(let r of(n=1,t.children)){if(r.type!=e||!(r instanceof p)){n=1;break}n+=A(e,r)}X.set(t,n)}return n}function C(e,t,n,r,i,l,o,s,a){let c=0;for(let n=r;n<i;n++)c+=A(e,t[n]);let u=Math.ceil(1.5*c/8),h=[],f=[];return!function t(n,r,i,o,s){for(let c=i;c<o;){let i=c,O=r[c],d=A(e,n[c]);for(c++;c<o;c++){let t=A(e,n[c]);if(d+t>=u)break;d+=t}if(c==i+1){if(d>u){let e=n[i];t(e.children,e.positions,0,e.children.length,r[i]+s);continue}h.push(n[i])}else{let t=r[c-1]+n[c-1].length-O;h.push(C(e,n,r,i,c,O,t,null,a))}f.push(O+s-l)}}(t,n,r,i,0),(s||a)(h,f,o)}class _{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof w?this.setBuffer(e.context.buffer,e.index,t):e instanceof b&&this.map.set(e.tree,t)}get(e){return e instanceof w?this.getBuffer(e.context.buffer,e.index):e instanceof b?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class R{constructor(e,t,n,r,i=!1,l=!1){this.from=e,this.to=t,this.tree=n,this.offset=r,this.open=!!i|2*!!l}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],n=!1){let r=[new R(0,e.length,e,0,!1,n)];for(let n of t)n.to>e.length&&r.push(n);return r}static applyChanges(e,t,n=128){if(!t.length)return e;let r=[],i=1,l=e.length?e[0]:null;for(let o=0,s=0,a=0;;o++){let c=o<t.length?t[o]:null,u=c?c.fromA:1e9;if(u-s>=n)for(;l&&l.from<u;){let t=l;if(s>=t.from||u<=t.to||a){let e=Math.max(t.from,s)-a,n=Math.min(t.to,u)-a;t=e>=n?null:new R(e,n,t.tree,t.offset+a,o>0,!!c)}if(t&&r.push(t),l.to>u)break;l=i<e.length?e[i++]:null}if(!c)break;s=c.toA,a=c.toA-c.toB}return r}}class j{startParse(e,t,n){return"string"==typeof e&&(e=new z(e)),n=n?n.length?n.map(e=>new s(e.from,e.to)):[new s(0,0)]:[new s(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let r=this.startParse(e,t,n);for(;;){let e=r.advance();if(e)return e}}}class z{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}function E(e){return(t,n,r,i)=>new q(t,e,n,r,i)}class M{constructor(e,t,n,r,i,l){this.parser=e,this.parse=t,this.overlay=n,this.bracketed=r,this.target=i,this.from=l}}function Y(e){if(!e.length||e.some(e=>e.from>=e.to))throw RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))}class L{constructor(e,t,n,r,i,l,o,s){this.parser=e,this.predicate=t,this.mounts=n,this.index=r,this.start=i,this.bracketed=l,this.target=o,this.prev=s,this.depth=0,this.ranges=[]}}let I=new a({perNode:!0});class q{constructor(e,t,n,r,i){this.nest=t,this.input=n,this.fragments=r,this.ranges=i,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let e=this.baseParse.advance();if(!e)return null;if(this.baseParse=null,this.baseTree=e,this.startInner(),null!=this.stoppedAt)for(let e of this.inner)e.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let e=this.baseTree;return null!=this.stoppedAt&&(e=new p(e.type,e.children,e.positions,e.length,e.propValues.concat([[I,this.stoppedAt]]))),e}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[a.mounted.id]=new c(t,e.overlay,e.parser,e.bracketed),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].from<e&&(e=Math.min(e,this.inner[t].parse.parsedPos));return e}stopAt(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].parse.stopAt(e)}startInner(){let e=new W(this.fragments),t=null,n=null,i=new Z(new b(this.baseTree,this.ranges[0].from,0,null),r.IncludeAnonymous|r.IgnoreMounts);n:for(let r,l;;){let o=!0,a;if(null!=this.stoppedAt&&i.from>=this.stoppedAt)o=!1;else if(e.hasNode(i)){if(t){let e=t.mounts.find(e=>e.frag.from<=i.from&&e.frag.to>=i.to&&e.mount.overlay);if(e)for(let n of e.mount.overlay){let r=n.from+e.pos,l=n.to+e.pos;r>=i.from&&l<=i.to&&!t.ranges.some(e=>e.from<l&&e.to>r)&&t.ranges.push({from:r,to:l})}}o=!1}else if(n&&(l=function(e,t,n){for(let r of e){if(r.from>=n)break;if(r.to>t)return r.from<=t&&r.to>=n?2:1}return 0}(n.ranges,i.from,i.to)))o=2!=l;else if(!i.type.isAnonymous&&(r=this.nest(i,this.input))&&(i.from<i.to||!r.overlay)){!i.tree&&(function(e){let{node:t}=e,n=[],r=t.context.buffer;do n.push(e.index),e.parent();while(!e.tree);let i=e.tree,l=i.children.indexOf(r),o=i.children[l],s=o.buffer,a=[l];for(let r of(i.children[l]=function e(r,i,l,c,u,h){let f=n[h],O=[],d=[];V(o,r,f,O,d,c);let m=s[f+1],g=s[f+2];a.push(O.length);let y=h?e(f+4,s[f+3],o.set.types[s[f]],m,g-m,h-1):t.toTree();return O.push(y),d.push(m-c),V(o,s[f+3],i,O,d,c),new p(l,O,d,u)}(0,s.length,h.none,0,o.length,n.length-1),a)){let t=e.tree.children[r],n=e.tree.positions[r];e.yield(new b(t,n+e.from,r,e._tree))}}(i),t&&t.depth++,n&&n.depth++);let l=e.findMounts(i.from,r.parser);if("function"==typeof r.overlay)t=new L(r.parser,r.overlay,l,this.inner.length,i.from,!!r.bracketed,i.tree,t);else{let e=N(this.ranges,r.overlay||(i.from<i.to?[new s(i.from,i.to)]:[]));e.length&&Y(e),(e.length||!r.overlay)&&this.inner.push(new M(r.parser,e.length?r.parser.startParse(this.input,U(l,e),e):r.parser.startParse(""),r.overlay?r.overlay.map(e=>new s(e.from-i.from,e.to-i.from)):null,!!r.bracketed,i.tree,e.length?e[0].from:i.from)),r.overlay?e.length&&(n={ranges:e,depth:0,prev:n}):o=!1}}else if(t&&(a=t.predicate(i))&&(!0===a&&(a=new s(i.from,i.to)),a.from<a.to)){let e=t.ranges.length-1;e>=0&&t.ranges[e].to==a.from?t.ranges[e]={from:t.ranges[e].from,to:a.to}:t.ranges.push(a)}if(o&&i.firstChild())t&&t.depth++,n&&n.depth++;else for(;!i.nextSibling();){if(!i.parent())break n;if(t&&!--t.depth){let e=N(this.ranges,t.ranges);e.length&&(Y(e),this.inner.splice(t.index,0,new M(t.parser,t.parser.startParse(this.input,U(t.mounts,e),e),t.ranges.map(e=>new s(e.from-t.start,e.to-t.start)),t.bracketed,t.target,e[0].from))),t=t.prev}!n||--n.depth||(n=n.prev)}}}}function V(e,t,n,r,i,l){if(t<n){let o=e.buffer[t+1];r.push(e.slice(t,n,o)),i.push(o-l)}}class D{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(r.IncludeAnonymous|r.IgnoreMounts)}moveTo(e){let{cursor:t}=this,n=e-this.offset;for(;!this.done&&t.from<n;)if(t.to>=e&&t.enter(n,1,r.IgnoreOverlays|r.ExcludeBuffers));else if(t.to<=e)t.next(!1)||(this.done=!0);else break}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(t.children.length&&0==t.positions[0]&&t.children[0]instanceof p)t=t.children[0];else break}return!1}}class W{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=null!=(t=n.tree.prop(I))?t:n.to,this.inner=new D(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=null!=(e=t.tree.prop(I))?e:t.to,this.inner=new D(t.tree,-t.offset)}}findMounts(e,t){var n;let r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let e=this.inner.cursor.node;e;e=e.parent){let i=null==(n=e.tree)?void 0:n.prop(a.mounted);if(i&&i.parser==t)for(let t=this.fragI;t<this.fragments.length;t++){let n=this.fragments[t];if(n.from>=e.to)break;n.tree==this.curFrag.tree&&r.push({frag:n,pos:e.from-n.offset,mount:i})}}}return r}}function N(e,t){let n=null,r=t;for(let i=1,l=0;i<e.length;i++){let o=e[i-1].to,a=e[i].from;for(;l<r.length;l++){let e=r[l];if(e.from>=a)break;!(e.to<=o)&&(n||(r=n=t.slice()),e.from<o?(n[l]=new s(e.from,o),e.to>a&&n.splice(l+1,0,new s(a,e.to))):e.to>a?n[l--]=new s(a,e.to):n.splice(l--,1))}}return r}function U(e,t){let n=[];for(let{pos:r,mount:i,frag:l}of e){let e=r+(i.overlay?i.overlay[0].from:0),o=e+i.tree.length,a=Math.max(l.from,e),c=Math.min(l.to,o);if(i.overlay){let o=function(e,t,n,r){let i=0,l=0,o=!1,a=!1,c=-1e9,u=[];for(;;){let h=i==e.length?1e9:o?e[i].to:e[i].from,f=l==t.length?1e9:a?t[l].to:t[l].from;if(o!=a){let e=Math.max(c,n),t=Math.min(h,f,r);e<t&&u.push(new s(e,t))}if(1e9==(c=Math.min(h,f)))break;h==c&&(o?(o=!1,i++):o=!0),f==c&&(a?(a=!1,l++):a=!0)}return u}(t,i.overlay.map(e=>new s(e.from+r,e.to+r)),a,c);for(let t=0,r=a;;t++){let s=t==o.length,a=s?c:o[t].from;if(a>r&&n.push(new R(r,a,i.tree,-e,l.from>=r||l.openStart,l.to<=a||l.openEnd)),s)break;r=o[t].to}}else n.push(new R(a,c,i.tree,-e,l.from>=e||l.openStart,l.to<=o||l.openEnd))}return n}},7071:(e,t,n)=>{let r;n.d(t,{YH:()=>eu,Gu:()=>X,VR:()=>A,Je:()=>ex,OF:()=>Y,$t:()=>eb,sj:()=>q,iR:()=>T,Nb:()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8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let e=0,t=0;e<o.length;e++)(e%2?l:i).push(t+=o[e]);function s(e){return e>=127462&&e<=127487}function a(e,t,n){if(t==e.length)return t;t&&u(e.charCodeAt(t))&&h(e.charCodeAt(t-1))&&t--;let r=c(e,t);for(t+=f(r);t<e.length;){let o=c(e,t);if(8205==r||8205==o||n&&function(e){if(e<768)return!1;for(let t=0,n=i.length;;){let r=t+n>>1;if(e<i[r])n=r;else{if(!(e>=l[r]))return!0;t=r+1}if(t==n)return!1}}(o))t+=f(o),r=o;else if(s(o)){let n=0,r=t-2;for(;r>=0&&s(c(e,r));)n++,r-=2;if(n%2==0)break;t+=2}else break}return t}function c(e,t){let n=e.charCodeAt(t);if(!h(n)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return u(r)?(n-55296<<10)+(r-56320)+65536:n}function u(e){return e>=56320&&e<57344}function h(e){return e>=55296&&e<56320}function f(e){return e<65536?1:2}class O{lineAt(e){if(e<0||e>this.length)throw RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){[e,t]=b(this,e,t);let r=[];return this.decompose(0,e,r,2),n.length&&n.decompose(0,n.length,r,3),this.decompose(t,this.length,r,1),p.from(r,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=b(this,e,t);let n=[];return this.decompose(e,t,n,0),p.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),r=new g(this),i=new g(e);for(let e=t,l=t;;){if(r.next(e),i.next(e),e=0,r.lineBreak!=i.lineBreak||r.done!=i.done||r.value!=i.value)return!1;if(l+=r.value.length,r.done||l>=n)return!0}}iter(e=1){return new g(this,e)}iterRange(e,t=this.length){return new y(this,e,t)}iterLines(e,t){let n;if(null==e)n=this.iter();else{null==t&&(t=this.lines+1);let r=this.line(e).from;n=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new x(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}static of(e){if(0==e.length)throw RangeError("A document must have at least one line");return 1!=e.length||e[0]?e.length<=32?new d(e):p.from(d.split(e,[])):O.empty}}class d extends O{constructor(e,t=function(e){let t=-1;for(let n of e)t+=n.length+1;return t}(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,r){for(let i=0;;i++){let l=this.text[i],o=r+l.length;if((t?n:o)>=e)return new k(r,o,n,l);r=o+1,n++}}decompose(e,t,n,r){var i;let l=e<=0&&t>=this.length?this:new d((i=this.text,m(i,[""],e,t)),Math.min(t,this.length)-Math.max(0,e));if(1&r){let e=n.pop(),t=m(l.text,e.text.slice(),0,l.length);if(t.length<=32)n.push(new d(t,e.length+l.length));else{let e=t.length>>1;n.push(new d(t.slice(0,e)),new d(t.slice(e)))}}else n.push(l)}replace(e,t,n){var r;if(!(n instanceof d))return super.replace(e,t,n);[e,t]=b(this,e,t);let i=m(this.text,m(n.text,(r=this.text,m(r,[""],0,e))),t),l=this.length+n.length-(t-e);return i.length<=32?new d(i,l):p.from(d.split(i,[]),l)}sliceString(e,t=this.length,n="\n"){[e,t]=b(this,e,t);let r="";for(let i=0,l=0;i<=t&&l<this.text.length;l++){let o=this.text[l],s=i+o.length;i>e&&l&&(r+=n),e<s&&t>i&&(r+=o.slice(Math.max(0,e-i),t-i)),i=s+1}return r}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],r=-1;for(let i of e)n.push(i),r+=i.length+1,32==n.length&&(t.push(new d(n,r)),n=[],r=-1);return r>-1&&t.push(new d(n,r)),t}}class p extends O{constructor(e,t){for(let n of(super(),this.children=e,this.length=t,this.lines=0,e))this.lines+=n.lines}lineInner(e,t,n,r){for(let i=0;;i++){let l=this.children[i],o=r+l.length,s=n+l.lines-1;if((t?s:o)>=e)return l.lineInner(e,t,n,r);r=o+1,n=s+1}}decompose(e,t,n,r){for(let i=0,l=0;l<=t&&i<this.children.length;i++){let o=this.children[i],s=l+o.length;if(e<=s&&t>=l){let i=r&(l<=e|2*(s>=t));l>=e&&s<=t&&!i?n.push(o):o.decompose(e-l,t-l,n,i)}l=s+1}}replace(e,t,n){if([e,t]=b(this,e,t),n.lines<this.lines)for(let r=0,i=0;r<this.children.length;r++){let l=this.children[r],o=i+l.length;if(e>=i&&t<=o){let s=l.replace(e-i,t-i,n),a=this.lines-l.lines+s.lines;if(s.lines<a>>4&&s.lines>a>>6){let i=this.children.slice();return i[r]=s,new p(i,this.length-(t-e)+n.length)}return super.replace(i,o,s)}i=o+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n="\n"){[e,t]=b(this,e,t);let r="";for(let i=0,l=0;i<this.children.length&&l<=t;i++){let o=this.children[i],s=l+o.length;l>e&&i&&(r+=n),e<s&&t>l&&(r+=o.sliceString(e-l,t-l,n)),l=s+1}return r}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof p))return 0;let n=0,[r,i,l,o]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;r+=t,i+=t){if(r==l||i==o)return n;let s=this.children[r],a=e.children[i];if(s!=a)return n+s.scanIdentical(a,t);n+=s.length+1}}static from(e,t=e.reduce((e,t)=>e+t.length+1,-1)){let n=0;for(let t of e)n+=t.lines;if(n<32){let n=[];for(let t of e)t.flatten(n);return new d(n,t)}let r=Math.max(32,n>>5),i=r<<1,l=r>>1,o=[],s=0,a=-1,c=[];function u(){0!=s&&(o.push(1==c.length?c[0]:p.from(c,a)),a=-1,s=c.length=0)}for(let t of e)!function e(t){let n;if(t.lines>i&&t instanceof p)for(let n of t.children)e(n);else t.lines>l&&(s>l||!s)?(u(),o.push(t)):t instanceof d&&s&&(n=c[c.length-1])instanceof d&&t.lines+n.lines<=32?(s+=t.lines,a+=t.length+1,c[c.length-1]=new d(n.text.concat(t.text),n.length+1+t.length)):(s+t.lines>r&&u(),s+=t.lines,a+=t.length+1,c.push(t))}(t);return u(),1==o.length?o[0]:new p(o,t)}}function m(e,t,n=0,r=1e9){for(let i=0,l=0,o=!0;l<e.length&&i<=r;l++){let s=e[l],a=i+s.length;a>=n&&(a>r&&(s=s.slice(0,r-i)),i<n&&(s=s.slice(n-i)),o?(t[t.length-1]+=s,o=!1):t.push(s)),i=a+1}return t}O.empty=new d([""],0);class g{constructor(e,t=1){this.dir=t,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[e],this.offsets=[t>0?1:(e instanceof d?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,r=this.nodes[n],i=this.offsets[n],l=i>>1,o=r instanceof d?r.text.length:r.children.length;if(l==(t>0?o:0)){if(0==n)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&i)==(t>0?0:1)){if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(r instanceof d){let i=r.text[l+(t<0?-1:0)];if(this.offsets[n]+=t,i.length>Math.max(0,e))return this.value=0==e?i:t>0?i.slice(e):i.slice(0,i.length-e),this;e-=i.length}else{let i=r.children[l+(t<0?-1:0)];e>i.length?(e-=i.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(i),this.offsets.push(t>0?1:(i instanceof d?i.text.length:i.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class y{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new g(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*t,this.value=r.length<=n?r:t<0?r.slice(r.length-n):r.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&""!=this.value}}class x{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:r}=this.inner.next(e);return t&&this.afterBreak?(this.value="",this.afterBreak=!1):t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}"u">typeof Symbol&&(O.prototype[Symbol.iterator]=function(){return this.iter()},g.prototype[Symbol.iterator]=y.prototype[Symbol.iterator]=x.prototype[Symbol.iterator]=function(){return this});class k{constructor(e,t,n,r){this.from=e,this.to=t,this.number=n,this.text=r}get length(){return this.to-this.from}}function b(e,t,n){return[t=Math.max(0,Math.min(e.length,t)),Math.max(t,Math.min(e.length,n))]}function v(e,t,n=!0,r=!0){return function(e,t,n=!0,r=!0){return(n?a:function(e,t,n){for(;t>0;){let r=a(e,t-2,n);if(r<t)return r;t--}return 0})(e,t,r)}(e,t,n,r)}function Q(e,t){let n=e.charCodeAt(t);if(!(n>=55296&&n<56320)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return r>=56320&&r<57344?(n-55296<<10)+(r-56320)+65536:n}function S(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,(1023&e)+56320)}function w(e){return e<65536?1:2}let $=/\r\n?|\n/;var P,Z,T=((P=T||(T={}))[P.Simple=0]="Simple",P[P.TrackDel=1]="TrackDel",P[P.TrackBefore=2]="TrackBefore",P[P.TrackAfter=3]="TrackAfter",P);class X{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;t<this.sections.length;t+=2)e+=this.sections[t];return e}get newLength(){let e=0;for(let t=0;t<this.sections.length;t+=2){let n=this.sections[t+1];e+=n<0?this.sections[t]:n}return e}get empty(){return 0==this.sections.length||2==this.sections.length&&this.sections[1]<0}iterGaps(e){for(let t=0,n=0,r=0;t<this.sections.length;){let i=this.sections[t++],l=this.sections[t++];l<0?(e(n,r,i),r+=i):r+=l,n+=i}}iterChangedRanges(e,t=!1){R(this,e,t)}get invertedDesc(){let e=[];for(let t=0;t<this.sections.length;){let n=this.sections[t++],r=this.sections[t++];r<0?e.push(n,r):e.push(r,n)}return new X(e)}composeDesc(e){return this.empty?e:e.empty?this:z(this,e)}mapDesc(e,t=!1){return e.empty?this:j(this,e,t)}mapPos(e,t=-1,n=T.Simple){let r=0,i=0;for(let l=0;l<this.sections.length;){let o=this.sections[l++],s=this.sections[l++],a=r+o;if(s<0){if(a>e)return i+(e-r);i+=o}else{if(n!=T.Simple&&a>=e&&(n==T.TrackDel&&r<e&&a>e||n==T.TrackBefore&&r<e||n==T.TrackAfter&&a>e))return null;if(a>e||a==e&&t<0&&!o)return e==r||t<0?i:i+s;i+=s}r=a}if(e>r)throw RangeError(`Position ${e} is out of range for changeset of length ${r}`);return i}touchesRange(e,t=e){for(let n=0,r=0;n<this.sections.length&&r<=t;){let i=this.sections[n++],l=this.sections[n++],o=r+i;if(l>=0&&r<=t&&o>=e)return!(r<e)||!(o>t)||"cover";r=o}return!1}toString(){let e="";for(let t=0;t<this.sections.length;){let n=this.sections[t++],r=this.sections[t++];e+=(e?" ":"")+n+(r>=0?":"+r:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(e=>"number"!=typeof e))throw RangeError("Invalid JSON representation of ChangeDesc");return new X(e)}static create(e){return new X(e)}}class A extends X{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw RangeError("Applying change set to a document with the wrong length");return R(this,(t,n,r,i,l)=>e=e.replace(r,r+(n-t),l),!1),e}mapDesc(e,t=!1){return j(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let r=0,i=0;r<t.length;r+=2){let l=t[r],o=t[r+1];if(o>=0){t[r]=o,t[r+1]=l;let s=r>>1;for(;n.length<s;)n.push(O.empty);n.push(l?e.slice(i,i+l):O.empty)}i+=l}return new A(t,n)}compose(e){return this.empty?e:e.empty?this:z(this,e,!0)}map(e,t=!1){return e.empty?this:j(this,e,t,!0)}iterChanges(e,t=!1){R(this,e,t)}get desc(){return X.create(this.sections)}filter(e){let t=[],n=[],r=[],i=new E(this);r:for(let l=0,o=0;;){let s=l==e.length?1e9:e[l++];for(;o<s||o==s&&0==i.len;){if(i.done)break r;let e=Math.min(i.len,s-o);C(r,e,-1);let l=-1==i.ins?-1:0==i.off?i.ins:0;C(t,e,l),l>0&&_(n,t,i.text),i.forward(e),o+=e}let a=e[l++];for(;o<a;){if(i.done)break r;let e=Math.min(i.len,a-o);C(t,e,-1),C(r,e,-1==i.ins?-1:0==i.off?i.ins:0),i.forward(e),o+=e}}return{changes:new A(t,n),filtered:X.create(r)}}toJSON(){let e=[];for(let t=0;t<this.sections.length;t+=2){let n=this.sections[t],r=this.sections[t+1];r<0?e.push(n):0==r?e.push([n]):e.push([n].concat(this.inserted[t>>1].toJSON()))}return e}static of(e,t,n){let r=[],i=[],l=0,o=null;function s(e=!1){if(!e&&!r.length)return;l<t&&C(r,t-l,-1);let n=new A(r,i);o=o?o.compose(n.map(o)):n,r=[],i=[],l=0}return!function e(a){if(Array.isArray(a))for(let t of a)e(t);else if(a instanceof A){if(a.length!=t)throw RangeError(`Mismatched change set length (got ${a.length}, expected ${t})`);s(),o=o?o.compose(a.map(o)):a}else{let{from:e,to:o=e,insert:c}=a;if(e>o||e<0||o>t)throw RangeError(`Invalid change range ${e} to ${o} (in doc of length ${t})`);let u=c?"string"==typeof c?O.of(c.split(n||$)):c:O.empty,h=u.length;if(e==o&&0==h)return;e<l&&s(),e>l&&C(r,e-l,-1),C(r,o-e,h),_(i,r,u),l=o}}(e),s(!o),o}static empty(e){return new A(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let r=0;r<e.length;r++){let i=e[r];if("number"==typeof i)t.push(i,-1);else if(!Array.isArray(i)||"number"!=typeof i[0]||i.some((e,t)=>t&&"string"!=typeof e))throw RangeError("Invalid JSON representation of ChangeSet");else if(1==i.length)t.push(i[0],0);else{for(;n.length<r;)n.push(O.empty);n[r]=O.of(i.slice(1)),t.push(i[0],n[r].length)}}return new A(t,n)}static createSet(e,t){return new A(e,t)}}function C(e,t,n,r=!1){if(0==t&&n<=0)return;let i=e.length-2;i>=0&&n<=0&&n==e[i+1]?e[i]+=t:i>=0&&0==t&&0==e[i]?e[i+1]+=n:r?(e[i]+=t,e[i+1]+=n):e.push(t,n)}function _(e,t,n){if(0==n.length)return;let r=t.length-2>>1;if(r<e.length)e[e.length-1]=e[e.length-1].append(n);else{for(;e.length<r;)e.push(O.empty);e.push(n)}}function R(e,t,n){let r=e.inserted;for(let i=0,l=0,o=0;o<e.sections.length;){let s=e.sections[o++],a=e.sections[o++];if(a<0)i+=s,l+=s;else{let c=i,u=l,h=O.empty;for(;c+=s,u+=a,a&&r&&(h=h.append(r[o-2>>1])),!n&&o!=e.sections.length&&!(e.sections[o+1]<0);)s=e.sections[o++],a=e.sections[o++];t(i,c,l,u,h),i=c,l=u}}}function j(e,t,n,r=!1){let i=[],l=r?[]:null,o=new E(e),s=new E(t);for(let e=-1;;)if(o.done&&s.len||s.done&&o.len)throw Error("Mismatched change set lengths");else if(-1==o.ins&&-1==s.ins){let e=Math.min(o.len,s.len);C(i,e,-1),o.forward(e),s.forward(e)}else if(s.ins>=0&&(o.ins<0||e==o.i||0==o.off&&(s.len<o.len||s.len==o.len&&!n))){let t=s.len;for(C(i,s.ins,-1);t;){let n=Math.min(o.len,t);o.ins>=0&&e<o.i&&o.len<=n&&(C(i,0,o.ins),l&&_(l,i,o.text),e=o.i),o.forward(n),t-=n}s.next()}else if(o.ins>=0){let t=0,n=o.len;for(;n;)if(-1==s.ins){let e=Math.min(n,s.len);t+=e,n-=e,s.forward(e)}else if(0==s.ins&&s.len<n)n-=s.len,s.next();else break;C(i,t,e<o.i?o.ins:0),l&&e<o.i&&_(l,i,o.text),e=o.i,o.forward(o.len-n)}else if(o.done&&s.done)return l?A.createSet(i,l):X.create(i);else throw Error("Mismatched change set lengths")}function z(e,t,n=!1){let r=[],i=n?[]:null,l=new E(e),o=new E(t);for(let e=!1;;)if(l.done&&o.done)return i?A.createSet(r,i):X.create(r);else if(0==l.ins)C(r,l.len,0,e),l.next();else if(0!=o.len||o.done)if(l.done||o.done)throw Error("Mismatched change set lengths");else{let t=Math.min(l.len2,o.len),n=r.length;if(-1==l.ins){let n=-1==o.ins?-1:o.off?0:o.ins;C(r,t,n,e),i&&n&&_(i,r,o.text)}else -1==o.ins?(C(r,l.off?0:l.len,t,e),i&&_(i,r,l.textBit(t))):(C(r,l.off?0:l.len,o.off?0:o.ins,e),i&&!o.off&&_(i,r,o.text));e=(l.ins>t||o.ins>=0&&o.len>t)&&(e||r.length>n),l.forward2(t),o.forward(t)}else C(r,0,o.ins,e),i&&_(i,r,o.text),o.next()}class E{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i<e.length?(this.len=e[this.i++],this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return -2==this.ins}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:e}=this.set,t=this.i-2>>1;return t>=e.length?O.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?O.empty:t[n].slice(this.off,null==e?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class M{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}get anchor(){return 32&this.flags?this.to:this.from}get head(){return 32&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 8&this.flags?-1:16&this.flags?1:0}get bidiLevel(){let e=7&this.flags;return 7==e?null:e}get goalColumn(){let e=this.flags>>6;return 0xffffff==e?void 0:e}map(e,t=-1){let n,r;return this.empty?n=r=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),r=e.mapPos(this.to,-1)),n==this.from&&r==this.to?this:new M(n,r,this.flags)}extend(e,t=e,n=0){if(e<=this.anchor&&t>=this.anchor)return Y.range(e,t,void 0,void 0,n);let r=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return Y.range(this.anchor,r,void 0,void 0,n)}eq(e,t=!1){return this.anchor==e.anchor&&this.head==e.head&&this.goalColumn==e.goalColumn&&(!t||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw RangeError("Invalid JSON representation for SelectionRange");return Y.range(e.anchor,e.head)}static create(e,t,n){return new M(e,t,n)}}class Y{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:Y.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e,t=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;n<this.ranges.length;n++)if(!this.ranges[n].eq(e.ranges[n],t))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return 1==this.ranges.length?this:new Y([this.main],0)}addRange(e,t=!0){return Y.create([e].concat(this.ranges),t?0:this.mainIndex+1)}replaceRange(e,t=this.mainIndex){let n=this.ranges.slice();return n[t]=e,Y.create(n,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(e=>e.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||"number"!=typeof e.main||e.main>=e.ranges.length)throw RangeError("Invalid JSON representation for EditorSelection");return new Y(e.ranges.map(e=>M.fromJSON(e)),e.main)}static single(e,t=e){return new Y([Y.range(e,t)],0)}static create(e,t=0){if(0==e.length)throw RangeError("A selection needs at least one range");for(let n=0,r=0;r<e.length;r++){let i=e[r];if(i.empty?i.from<=n:i.from<n)return Y.normalized(e.slice(),t);n=i.to}return new Y(e,t)}static cursor(e,t=0,n,r){return M.create(e,e,(0==t?0:t<0?8:16)|(null==n?7:Math.min(6,n))|(null!=r?r:0xffffff)<<6)}static range(e,t,n,r,i){let l=(null!=n?n:0xffffff)<<6|(null==r?7:Math.min(6,r));return i||e==t||(i=t<e?1:-1),t<e?M.create(t,e,48|l):M.create(e,t,(i?i<0?8:16:0)|l)}static normalized(e,t=0){let n=e[t];e.sort((e,t)=>e.from-t.from),t=e.indexOf(n);for(let n=1;n<e.length;n++){let r=e[n],i=e[n-1];if(r.empty?r.from<=i.to:r.from<i.to){let l=i.from,o=Math.max(r.to,i.to);n<=t&&t--,e.splice(--n,2,r.anchor>r.head?Y.range(o,l):Y.range(l,o))}}return new Y(e,t)}}function L(e,t){for(let n of e.ranges)if(n.to>t)throw RangeError("Selection points outside of document")}let I=0;class q{constructor(e,t,n,r,i){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=r,this.id=I++,this.default=e([]),this.extensions="function"==typeof i?i(this):i}get reader(){return this}static define(e={}){return new q(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(!e.combine?V:(e,t)=>e===t),!!e.static,e.enables)}of(e){return new D([],this,0,e)}compute(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new D(e,this,1,t)}computeN(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new D(e,this,2,t)}from(e,t){return t||(t=e=>e),this.compute([e],n=>t(n.field(e)))}}function V(e,t){return e==t||e.length==t.length&&e.every((e,n)=>e===t[n])}class D{constructor(e,t,n,r){this.dependencies=e,this.facet=t,this.type=n,this.value=r,this.id=I++}dynamicSlot(e){var t;let n=this.value,r=this.facet.compareInput,i=this.id,l=e[i]>>1,o=2==this.type,s=!1,a=!1,c=[];for(let n of this.dependencies)"doc"==n?s=!0:"selection"==n?a=!0:((null!=(t=e[n.id])?t:1)&1)==0&&c.push(e[n.id]);return{create:e=>(e.values[l]=n(e),1),update(e,t){if(s&&t.docChanged||a&&(t.docChanged||t.selection)||N(e,c)){let t=n(e);if(o?!W(t,e.values[l],r):!r(t,e.values[l]))return e.values[l]=t,1}return 0},reconfigure:(e,t)=>{let s,a=t.config.address[i];if(null!=a){let i=en(t,a);if(this.dependencies.every(n=>n instanceof q?t.facet(n)===e.facet(n):!(n instanceof B)||t.field(n,!1)==e.field(n,!1))||(o?W(s=n(e),i,r):r(s=n(e),i)))return e.values[l]=i,0}else s=n(e);return e.values[l]=s,1}}}}function W(e,t,n){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function N(e,t){let n=!1;for(let r of t)1&et(e,r)&&(n=!0);return n}let U=q.define({static:!0});class B{constructor(e,t,n,r,i){this.id=e,this.createF=t,this.updateF=n,this.compareF=r,this.spec=i,this.provides=void 0}static define(e){let t=new B(I++,e.create,e.update,e.compare||((e,t)=>e===t),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(U).find(e=>e.field==this);return((null==t?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:e=>(e.values[t]=this.create(e),1),update:(e,n)=>{let r=e.values[t],i=this.updateF(r,n);return this.compareF(r,i)?0:(e.values[t]=i,1)},reconfigure:(e,n)=>{let r=e.facet(U),i=n.facet(U),l;return(l=r.find(e=>e.field==this))&&l!=i.find(e=>e.field==this)?(e.values[t]=l.create(e),1):null!=n.config.address[this.id]?(e.values[t]=n.field(this),0):(e.values[t]=this.create(e),1)}}}init(e){return[this,U.of({field:this,create:e})]}get extension(){return this}}function G(e){return t=>new H(t,e)}let F={highest:G(0),high:G(1),default:G(2),low:G(3),lowest:G(4)};class H{constructor(e,t){this.inner=e,this.prec=t}}class J{of(e){return new K(this,e)}reconfigure(e){return J.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class K{constructor(e,t){this.compartment=e,this.inner=t}}class ee{constructor(e,t,n,r,i,l){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=r,this.staticValues=i,this.facets=l,this.statusTemplate=[];this.statusTemplate.length<n.length;)this.statusTemplate.push(0)}staticFacet(e){let t=this.address[e.id];return null==t?e.default:this.staticValues[t>>1]}static resolve(e,t,n){var r,i,l;let o,s,a=[],c=Object.create(null),u=new Map;for(let n of(r=e,i=t,l=u,o=[[],[],[],[],[]],s=new Map,!function e(t,n){let r=s.get(t);if(null!=r){if(r<=n)return;let e=o[r].indexOf(t);e>-1&&o[r].splice(e,1),t instanceof K&&l.delete(t.compartment)}if(s.set(t,n),Array.isArray(t))for(let r of t)e(r,n);else if(t instanceof K){if(l.has(t.compartment))throw RangeError("Duplicate use of compartment in extensions");let r=i.get(t.compartment)||t.inner;l.set(t.compartment,r),e(r,n)}else if(t instanceof H)e(t.inner,t.prec);else if(t instanceof B)o[n].push(t),t.provides&&e(t.provides,n);else if(t instanceof D)o[n].push(t),t.facet.extensions&&e(t.facet.extensions,2);else{let r=t.extension;if(!r)throw Error(`Unrecognized extension value in extension set (${t}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);e(r,n)}}(r,2),o.reduce((e,t)=>e.concat(t))))n instanceof B?a.push(n):(c[n.facet.id]||(c[n.facet.id]=[])).push(n);let h=Object.create(null),f=[],O=[];for(let e of a)h[e.id]=O.length<<1,O.push(t=>e.slot(t));let d=null==n?void 0:n.config.facets;for(let e in c){let t=c[e],r=t[0].facet,i=d&&d[e]||[];if(t.every(e=>0==e.type))if(h[r.id]=f.length<<1|1,V(i,t))f.push(n.facet(r));else{let e=r.combine(t.map(e=>e.value));f.push(n&&r.compare(e,n.facet(r))?n.facet(r):e)}else{for(let e of t)0==e.type?(h[e.id]=f.length<<1|1,f.push(e.value)):(h[e.id]=O.length<<1,O.push(t=>e.dynamicSlot(t)));h[r.id]=O.length<<1,O.push(e=>(function(e,t,n){let r=n.map(t=>e[t.id]),i=n.map(e=>e.type),l=r.filter(e=>!(1&e)),o=e[t.id]>>1;function s(e){let n=[];for(let t=0;t<r.length;t++){let l=en(e,r[t]);if(2==i[t])for(let e of l)n.push(e);else n.push(l)}return t.combine(n)}return{create(e){for(let t of r)et(e,t);return e.values[o]=s(e),1},update(e,n){if(!N(e,l))return 0;let r=s(e);return t.compare(r,e.values[o])?0:(e.values[o]=r,1)},reconfigure(e,i){let l=N(e,r),a=i.config.facets[t.id],c=i.facet(t);if(a&&!l&&V(n,a))return e.values[o]=c,0;let u=s(e);return t.compare(u,c)?(e.values[o]=c,0):(e.values[o]=u,1)}}})(e,r,t))}}return new ee(e,u,O.map(e=>e(h)),h,f,c)}}function et(e,t){if(1&t)return 2;let n=t>>1,r=e.status[n];if(4==r)throw Error("Cyclic dependency between fields and/or facets");if(2&r)return r;e.status[n]=4;let i=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|i}function en(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}let er=q.define(),ei=q.define({combine:e=>e.some(e=>e),static:!0}),el=q.define({combine:e=>e.length?e[0]:void 0,static:!0}),eo=q.define(),es=q.define(),ea=q.define(),ec=q.define({combine:e=>!!e.length&&e[0]});class eu{constructor(e,t){this.type=e,this.value=t}static define(){return new eh}}class eh{of(e){return new eu(this,e)}}class ef{constructor(e){this.map=e}of(e){return new eO(this,e)}}class eO{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return void 0===t?void 0:t==this.value?this:new eO(this.type,t)}is(e){return this.type==e}static define(e={}){return new ef(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let r of e){let e=r.map(t);e&&n.push(e)}return n}}eO.reconfigure=eO.define(),eO.appendConfig=eO.define();class ed{constructor(e,t,n,r,i,l){this.startState=e,this.changes=t,this.selection=n,this.effects=r,this.annotations=i,this.scrollIntoView=l,this._doc=null,this._state=null,n&&L(n,t.newLength),i.some(e=>e.type==ed.time)||(this.annotations=i.concat(ed.time.of(Date.now())))}static create(e,t,n,r,i,l){return new ed(e,t,n,r,i,l)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(ed.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))}}function ep(e,t,n){var r;let i,l,o;return n?(i=t.changes,l=A.empty(t.changes.length),o=e.changes.compose(t.changes)):(i=t.changes.map(e.changes),l=e.changes.mapDesc(t.changes,!0),o=e.changes.compose(i)),{changes:o,selection:t.selection?t.selection.map(l):null==(r=e.selection)?void 0:r.map(i),effects:eO.mapEffects(e.effects,i).concat(eO.mapEffects(t.effects,l)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function em(e,t,n){let r=t.selection,i=ey(t.annotations);return t.userEvent&&(i=i.concat(ed.userEvent.of(t.userEvent))),{changes:t.changes instanceof A?t.changes:A.of(t.changes||[],n,e.facet(el)),selection:r&&(r instanceof Y?r:Y.single(r.anchor,r.head)),effects:ey(t.effects),annotations:i,scrollIntoView:!!t.scrollIntoView}}ed.time=eu.define(),ed.userEvent=eu.define(),ed.addToHistory=eu.define(),ed.remote=eu.define();let eg=[];function ey(e){return null==e?eg:Array.isArray(e)?e:[e]}var ex=((Z=ex||(ex={}))[Z.Word=0]="Word",Z[Z.Space=1]="Space",Z[Z.Other=2]="Other",Z);let ek=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;try{r=RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(e){}class eb{constructor(e,t,n,r,i,l){this.config=e,this.doc=t,this.selection=n,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=i,l&&(l._state=this);for(let e=0;e<this.config.dynamicSlots.length;e++)et(this,e<<1);this.computeSlot=null}field(e,t=!0){let n=this.config.address[e.id];if(null==n){if(t)throw RangeError("Field is not present in this state");return}return et(this,n),en(this,n)}update(...e){return function e(t,n,r){let i=em(t,n.length?n[0]:{},t.doc.length);n.length&&!1===n[0].filter&&(r=!1);for(let e=1;e<n.length;e++){!1===n[e].filter&&(r=!1);let l=!!n[e].sequential;i=ep(i,em(t,n[e],l?i.changes.newLength:t.doc.length),l)}let l=ed.create(t,i.changes,i.selection,i.effects,i.annotations,i.scrollIntoView);return function(e){let t=e.startState,n=t.facet(ea),r=e;for(let i=n.length-1;i>=0;i--){let l=n[i](e);l&&Object.keys(l).length&&(r=ep(r,em(t,l,e.changes.newLength),!0))}return r==e?e:ed.create(t,e.changes,e.selection,r.effects,r.annotations,r.scrollIntoView)}(r?function(t){let n=t.startState,r=!0;for(let e of n.facet(eo)){let n=e(t);if(!1===n){r=!1;break}Array.isArray(n)&&(r=!0===r?n:function(e,t){let n=[];for(let r=0,i=0;;){let l,o;if(r<e.length&&(i==t.length||t[i]>=e[r]))l=e[r++],o=e[r++];else{if(!(i<t.length))return n;l=t[i++],o=t[i++]}!n.length||n[n.length-1]<l?n.push(l,o):n[n.length-1]<o&&(n[n.length-1]=o)}}(r,n))}if(!0!==r){let e,i;if(!1===r)i=t.changes.invertedDesc,e=A.empty(n.doc.length);else{let n=t.changes.filter(r);e=n.changes,i=n.filtered.mapDesc(n.changes).invertedDesc}t=ed.create(n,e,t.selection&&t.selection.map(i),eO.mapEffects(t.effects,i),t.annotations,t.scrollIntoView)}let i=n.facet(es);for(let r=i.length-1;r>=0;r--){let l=i[r](t);t=l instanceof ed?l:Array.isArray(l)&&1==l.length&&l[0]instanceof ed?l[0]:e(n,ey(l),!1)}return t}(l):l)}(this,e,!0)}applyTransaction(e){let t,n=this.config,{base:r,compartments:i}=n;for(let t of e.effects)t.is(J.reconfigure)?(n&&(i=new Map,n.compartments.forEach((e,t)=>i.set(t,e)),n=null),i.set(t.value.compartment,t.value.extension)):t.is(eO.reconfigure)?(n=null,r=t.value):t.is(eO.appendConfig)&&(n=null,r=ey(r).concat(t.value));t=n?e.startState.values.slice():new eb(n=ee.resolve(r,i,this),this.doc,this.selection,n.dynamicSlots.map(()=>null),(e,t)=>t.reconfigure(e,this),null).values;let l=e.startState.facet(ei)?e.newSelection:e.newSelection.asSingle();new eb(n,e.newDoc,l,t,(t,n)=>n.update(t,e),e)}replaceSelection(e){return"string"==typeof e&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:Y.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),r=this.changes(n.changes),i=[n.range],l=ey(n.effects);for(let n=1;n<t.ranges.length;n++){let o=e(t.ranges[n]),s=this.changes(o.changes),a=s.map(r);for(let e=0;e<n;e++)i[e]=i[e].map(a);let c=r.mapDesc(s,!0);i.push(o.range.map(c)),r=r.compose(a),l=eO.mapEffects(l,a).concat(eO.mapEffects(ey(o.effects),c))}return{changes:r,selection:Y.create(i,t.mainIndex),effects:l}}changes(e=[]){return e instanceof A?e:A.of(e,this.doc.length,this.facet(eb.lineSeparator))}toText(e){return O.of(e.split(this.facet(eb.lineSeparator)||$))}sliceDoc(e=0,t=this.doc.length){return this.doc.sliceString(e,t,this.lineBreak)}facet(e){let t=this.config.address[e.id];return null==t?e.default:(et(this,t),en(this,t))}toJSON(e){let t={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let n in e){let r=e[n];r instanceof B&&null!=this.config.address[r.id]&&(t[n]=r.spec.toJSON(this.field(e[n]),this))}return t}static fromJSON(e,t={},n){if(!e||"string"!=typeof e.doc)throw RangeError("Invalid JSON representation for EditorState");let r=[];if(n){for(let t in n)if(Object.prototype.hasOwnProperty.call(e,t)){let i=n[t],l=e[t];r.push(i.init(e=>i.spec.fromJSON(l,e)))}}return eb.create({doc:e.doc,selection:Y.fromJSON(e.selection),extensions:t.extensions?r.concat([t.extensions]):r})}static create(e={}){let t=ee.resolve(e.extensions||[],new Map),n=e.doc instanceof O?e.doc:O.of((e.doc||"").split(t.staticFacet(eb.lineSeparator)||$)),r=e.selection?e.selection instanceof Y?e.selection:Y.single(e.selection.anchor,e.selection.head):Y.single(0);return L(r,n.length),t.staticFacet(ei)||(r=r.asSingle()),new eb(t,n,r,t.dynamicSlots.map(()=>null),(e,t)=>t.create(e),null)}get tabSize(){return this.facet(eb.tabSize)}get lineBreak(){return this.facet(eb.lineSeparator)||"\n"}get readOnly(){return this.facet(ec)}phrase(e,...t){for(let t of this.facet(eb.phrases))if(Object.prototype.hasOwnProperty.call(t,e)){e=t[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(e,n)=>{if("$"==n)return"$";let r=+(n||1);return!r||r>t.length?e:t[r-1]})),e}languageDataAt(e,t,n=-1){let r=[];for(let i of this.facet(er))for(let l of i(this,t,n))Object.prototype.hasOwnProperty.call(l,e)&&r.push(l[e]);return r}charCategorizer(e){var t;let n=this.languageDataAt("wordChars",e);return t=n.length?n[0]:"",e=>{if(!/\S/.test(e))return ex.Space;if(function(e){if(r)return r.test(e);for(let t=0;t<e.length;t++){let n=e[t];if(/\w/.test(n)||n>"\x80"&&(n.toUpperCase()!=n.toLowerCase()||ek.test(n)))return!0}return!1}(e))return ex.Word;for(let n=0;n<t.length;n++)if(e.indexOf(t[n])>-1)return ex.Word;return ex.Other}}wordAt(e){let{text:t,from:n,length:r}=this.doc.lineAt(e),i=this.charCategorizer(e),l=e-n,o=e-n;for(;l>0;){let e=v(t,l,!1);if(i(t.slice(e,l))!=ex.Word)break;l=e}for(;o<r;){let e=v(t,o);if(i(t.slice(o,e))!=ex.Word)break;o=e}return l==o?null:Y.range(l+n,o+n)}}function ev(e,t,n={}){let r={};for(let t of e)for(let e of Object.keys(t)){let i=t[e],l=r[e];if(void 0===l)r[e]=i;else if(l===i||void 0===i);else if(Object.hasOwnProperty.call(n,e))r[e]=n[e](l,i);else throw Error("Config merge conflict for field "+e)}for(let e in t)void 0===r[e]&&(r[e]=t[e]);return r}eb.allowMultipleSelections=ei,eb.tabSize=q.define({combine:e=>e.length?e[0]:4}),eb.lineSeparator=el,eb.readOnly=ec,eb.phrases=q.define({compare(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length==r.length&&n.every(n=>e[n]==t[n])}}),eb.languageData=er,eb.changeFilter=eo,eb.transactionFilter=es,eb.transactionExtender=ea,J.reconfigure=eO.define();class eQ{eq(e){return this==e}range(e,t=e){return ew.create(e,t,this)}}function eS(e,t){return e==t||e.constructor==t.constructor&&e.eq(t)}eQ.prototype.startSide=eQ.prototype.endSide=0,eQ.prototype.point=!1,eQ.prototype.mapMode=T.TrackDel;class ew{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new ew(e,t,n)}}function e$(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class eP{constructor(e,t,n,r){this.from=e,this.to=t,this.value=n,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,r=0){let i=n?this.to:this.from;for(let l=r,o=i.length;;){if(l==o)return l;let r=l+o>>1,s=i[r]-e||(n?this.value[r].endSide:this.value[r].startSide)-t;if(r==l)return s>=0?l:o;s>=0?o=r:l=r+1}}between(e,t,n,r){for(let i=this.findIndex(t,-1e9,!0),l=this.findIndex(n,1e9,!1,i);i<l;i++)if(!1===r(this.from[i]+e,this.to[i]+e,this.value[i]))return!1}map(e,t){let n=[],r=[],i=[],l=-1,o=-1;for(let s=0;s<this.value.length;s++){let a=this.value[s],c=this.from[s]+e,u=this.to[s]+e,h,f;if(c==u){let e=t.mapPos(c,a.startSide,a.mapMode);if(null==e||(h=f=e,a.startSide!=a.endSide&&(f=t.mapPos(c,a.endSide))<h))continue}else if((h=t.mapPos(c,a.startSide))>(f=t.mapPos(u,a.endSide))||h==f&&a.startSide>0&&a.endSide<=0)continue;0>(f-h||a.endSide-a.startSide)||(l<0&&(l=h),a.point&&(o=Math.max(o,f-h)),n.push(a),r.push(h-l),i.push(f-l))}return{mapped:n.length?new eP(r,i,n,o):null,pos:l}}}class eZ{constructor(e,t,n,r){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=r}static create(e,t,n,r){return new eZ(e,t,n,r)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:r=0,filterTo:i=this.length}=e,l=e.filter;if(0==t.length&&!l)return this;if(n&&(t=t.slice().sort(e$)),this.isEmpty)return t.length?eZ.of(t):this;let o=new eA(this,null,-1).goto(0),s=0,a=[],c=new eT;for(;o.value||s<t.length;)if(s<t.length&&(o.from-t[s].from||o.startSide-t[s].value.startSide)>=0){let e=t[s++];c.addInner(e.from,e.to,e.value)||a.push(e)}else 1==o.rangeIndex&&o.chunkIndex<this.chunk.length&&(s==t.length||this.chunkEnd(o.chunkIndex)<t[s].from)&&(!l||r>this.chunkEnd(o.chunkIndex)||i<this.chunkPos[o.chunkIndex])&&c.addChunk(this.chunkPos[o.chunkIndex],this.chunk[o.chunkIndex])?o.nextChunk():((!l||r>o.to||i<o.from||l(o.from,o.to,o.value))&&!c.addInner(o.from,o.to,o.value)&&a.push(ew.create(o.from,o.to,o.value)),o.next());return c.finishInner(this.nextLayer.isEmpty&&!a.length?eZ.empty:this.nextLayer.update({add:a,filter:l,filterFrom:r,filterTo:i}))}map(e){if(e.empty||this.isEmpty)return this;let t=[],n=[],r=-1;for(let i=0;i<this.chunk.length;i++){let l=this.chunkPos[i],o=this.chunk[i],s=e.touchesRange(l,l+o.length);if(!1===s)r=Math.max(r,o.maxPoint),t.push(o),n.push(e.mapPos(l));else if(!0===s){let{mapped:i,pos:s}=o.map(l,e);i&&(r=Math.max(r,i.maxPoint),t.push(i),n.push(s))}}let i=this.nextLayer.map(e);return 0==t.length?i:new eZ(n,t,i||eZ.empty,r)}between(e,t,n){if(!this.isEmpty){for(let r=0;r<this.chunk.length;r++){let i=this.chunkPos[r],l=this.chunk[r];if(t>=i&&e<=i+l.length&&!1===l.between(i,e-i,t-i,n))return}this.nextLayer.between(e,t,n)}}iter(e=0){return eC.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return eC.from(e).goto(t)}static compare(e,t,n,r,i=-1){let l=e.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i),o=t.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i),s=eX(l,o,n),a=new eR(l,s,i),c=new eR(o,s,i);n.iterGaps((e,t,n)=>ej(a,e,c,t,n,r)),n.empty&&0==n.length&&ej(a,0,c,0,0,r)}static eq(e,t,n=0,r){null==r&&(r=0x3b9ac9ff);let i=e.filter(e=>!e.isEmpty&&0>t.indexOf(e)),l=t.filter(t=>!t.isEmpty&&0>e.indexOf(t));if(i.length!=l.length)return!1;if(!i.length)return!0;let o=eX(i,l),s=new eR(i,o,0).goto(n),a=new eR(l,o,0).goto(n);for(;;){if(s.to!=a.to||!ez(s.active,a.active)||s.point&&(!a.point||!eS(s.point,a.point)))return!1;if(s.to>r)return!0;s.next(),a.next()}}static spans(e,t,n,r,i=-1){let l=new eR(e,null,i).goto(t),o=t,s=l.openStart;for(;;){let e=Math.min(l.to,n);if(l.point){let n=l.activeForPoint(l.to),i=l.pointFrom<t?n.length+1:l.point.startSide<0?n.length:Math.min(n.length,s);r.point(o,e,l.point,n,i,l.pointRank),s=Math.min(l.openEnd(e),n.length)}else e>o&&(r.span(o,e,l.active,s),s=l.openEnd(e));if(l.to>n)return s+(l.point&&l.to>n?1:0);o=l.to,l.next()}}static of(e,t=!1){let n=new eT;for(let r of e instanceof ew?[e]:t?function(e){if(e.length>1)for(let t=e[0],n=1;n<e.length;n++){let r=e[n];if(e$(t,r)>0)return e.slice().sort(e$);t=r}return e}(e):e)n.add(r.from,r.to,r.value);return n.finish()}static join(e){if(!e.length)return eZ.empty;let t=e[e.length-1];for(let n=e.length-2;n>=0;n--)for(let r=e[n];r!=eZ.empty;r=r.nextLayer)t=new eZ(r.chunkPos,r.chunk,t,Math.max(r.maxPoint,t.maxPoint));return t}}eZ.empty=new eZ([],[],null,-1),eZ.empty.nextLayer=eZ.empty;class eT{finishChunk(e){this.chunks.push(new eP(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,t,n){this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new eT)).add(e,t,n)}addInner(e,t,n){let r=e-this.lastTo||n.startSide-this.last.endSide;if(r<=0&&0>(e-this.lastFrom||n.startSide-this.last.startSide))throw Error("Ranges must be added sorted by `from` position and `startSide`");return!(r<0)&&(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if(0>(e-this.lastTo||t.value[0].startSide-this.last.endSide))return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(eZ.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=eZ.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function eX(e,t,n){let r=new Map;for(let t of e)for(let e=0;e<t.chunk.length;e++)t.chunk[e].maxPoint<=0&&r.set(t.chunk[e],t.chunkPos[e]);let i=new Set;for(let e of t)for(let t=0;t<e.chunk.length;t++){let l=r.get(e.chunk[t]);null==l||(n?n.mapPos(l):l)!=e.chunkPos[t]||(null==n?void 0:n.touchesRange(l,l+e.chunk[t].length))||i.add(e.chunk[t])}return i}class eA{constructor(e,t,n,r=0){this.layer=e,this.skip=t,this.minPoint=n,this.rank=r}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(e,t=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,t,!1),this}gotoInner(e,t,n){for(;this.chunkIndex<this.layer.chunk.length;){let t=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(t)||this.layer.chunkEnd(this.chunkIndex)<e||t.maxPoint<this.minPoint))break;this.chunkIndex++,n=!1}if(this.chunkIndex<this.layer.chunk.length){let r=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],t,!0);(!n||this.rangeIndex<r)&&this.setRangeIndex(r)}this.next()}forward(e,t){0>(this.to-e||this.endSide-t)&&this.gotoInner(e,t,!0)}next(){for(;;)if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}else{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex];if(this.from=n,this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=e}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide}}class eC{constructor(e){this.heap=e}static from(e,t=null,n=-1){let r=[];for(let i=0;i<e.length;i++)for(let l=e[i];!l.isEmpty;l=l.nextLayer)l.maxPoint>=n&&r.push(new eA(l,t,n,i));return 1==r.length?r[0]:new eC(r)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let e=this.heap.length>>1;e>=0;e--)e_(this.heap,e);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let e=this.heap.length>>1;e>=0;e--)e_(this.heap,e);0>(this.to-e||this.value.endSide-t)&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),e_(this.heap,0)}}}function e_(e,t){for(let n=e[t];;){let r=(t<<1)+1;if(r>=e.length)break;let i=e[r];if(r+1<e.length&&i.compare(e[r+1])>=0&&(i=e[r+1],r++),0>n.compare(i))break;e[r]=n,e[t]=i,t=r}}class eR{constructor(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=eC.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&0>(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t);)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){eE(this.active,e),eE(this.activeTo,e),eE(this.activeRank,e),this.minActive=eY(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:r,rank:i}=this.cursor;for(;t<this.activeRank.length&&(i-this.activeRank[t]||r-this.activeTo[t])>0;)t++;eM(this.active,t,n),eM(this.activeTo,t,r),eM(this.activeRank,t,i),e&&eM(e,t,this.cursor.from),this.minActive=eY(this.active,this.activeTo)}next(){let e=this.to,t=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let r=this.minActive;if(r>-1&&0>(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),n&&eE(n,r)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let e=this.cursor.value;if(e.point)if(t&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)this.cursor.next();else{this.point=e,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=e.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}else this.addActive(n),this.cursor.next()}else{this.to=this.endSide=1e9;break}}if(n){this.openStart=0;for(let t=n.length-1;t>=0&&n[t]<e;t--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let t=[];for(let n=this.active.length-1;n>=0&&!(this.activeRank[n]<this.pointRank);n--)(this.activeTo[n]>e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function ej(e,t,n,r,i,l){e.goto(t),n.goto(r);let o=r+i,s=r,a=r-t,c=!!l.boundChange;for(let t=!1;;){let r=e.to+a-n.to,i=r||e.endSide-n.endSide,u=i<0?e.to+a:n.to,h=Math.min(u,o);if(e.point||n.point?(e.point&&n.point&&eS(e.point,n.point)&&ez(e.activeForPoint(e.to),n.activeForPoint(n.to))||l.comparePoint(s,h,e.point,n.point),t=!1):(t&&l.boundChange(s),h>s&&!ez(e.active,n.active)&&l.compareRange(s,h,e.active,n.active),c&&h<o&&(r||e.openEnd(u)!=n.openEnd(u))&&(t=!0)),u>o)break;s=u,i<=0&&e.next(),i>=0&&n.next()}}function ez(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!=t[n]&&!eS(e[n],t[n]))return!1;return!0}function eE(e,t){for(let n=t,r=e.length-1;n<r;n++)e[n]=e[n+1];e.pop()}function eM(e,t,n){for(let n=e.length-1;n>=t;n--)e[n+1]=e[n];e[t]=n}function eY(e,t){let n=-1,r=1e9;for(let i=0;i<t.length;i++)0>(t[i]-r||e[i].endSide-e[n].endSide)&&(n=i,r=t[i]);return n}function eL(e,t,n=e.length){let r=0;for(let i=0;i<n&&i<e.length;)9==e.charCodeAt(i)?(r+=t-r%t,i++):(r++,i=v(e,i));return r}function eI(e,t,n,r){for(let r=0,i=0;;){if(i>=t)return r;if(r==e.length)break;i+=9==e.charCodeAt(r)?n-i%n:1,r=v(e,r)}return!0===r?-1:e.length}},7256:(e,t,n)=>{n.d(t,{JR:()=>Q,_G:()=>u,gB:()=>O,gl:()=>k});var r=n(2115),i=n(4923),l=n(9768);function o(e,t,n){let r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function s(e){return null!==e&&e>=0}let a=e=>{let{rects:t,activeIndex:n,overIndex:r,index:i}=e,l=o(t,r,n),s=t[i],a=l[i];return a&&s?{x:a.left-s.left,y:a.top-s.top,scaleX:a.width/s.width,scaleY:a.height/s.height}:null},c={scaleX:1,scaleY:1},u=e=>{var t,n,r,i;let l,o,s,{activeIndex:a,activeNodeRect:u,index:h,rects:f,overIndex:O}=e,d=null!=(t=f[a])?t:u;if(!d)return null;if(h===a){let e=f[O];return e?{x:0,y:a<O?e.top+e.height-(d.top+d.height):e.top-d.top,...c}:null}let p=(n=f,r=h,i=a,l=n[r],o=n[r-1],s=n[r+1],l?i<r?o?l.top-(o.top+o.height):s?s.top-(l.top+l.height):0:s?s.top-(l.top+l.height):o?l.top-(o.top+o.height):0:0);return h>a&&h<=O?{x:0,y:-d.height-p,...c}:h<a&&h>=O?{x:0,y:d.height+p,...c}:{x:0,y:0,...c}},h="Sortable",f=r.createContext({activeIndex:-1,containerId:h,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:a,disabled:{draggable:!1,droppable:!1}});function O(e){let{children:t,id:n,items:o,strategy:s=a,disabled:c=!1}=e,{active:u,dragOverlay:O,droppableRects:d,over:p,measureDroppableContainers:m}=(0,i.fF)(),g=(0,l.YG)(h,n),y=null!==O.rect,x=(0,r.useMemo)(()=>o.map(e=>"object"==typeof e&&"id"in e?e.id:e),[o]),k=null!=u,b=u?x.indexOf(u.id):-1,v=p?x.indexOf(p.id):-1,Q=(0,r.useRef)(x),S=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(x,Q.current),w=-1!==v&&-1===b||S,$="boolean"==typeof c?{draggable:c,droppable:c}:c;(0,l.Es)(()=>{S&&k&&m(x)},[S,x,k,m]),(0,r.useEffect)(()=>{Q.current=x},[x]);let P=(0,r.useMemo)(()=>({activeIndex:b,containerId:g,disabled:$,disableTransforms:w,items:x,overIndex:v,useDragOverlay:y,sortedRects:x.reduce((e,t,n)=>{let r=d.get(t);return r&&(e[n]=r),e},Array(x.length)),strategy:s}),[b,g,$.draggable,$.droppable,w,x,v,d,y,s]);return r.createElement(f.Provider,{value:P},t)}let d=e=>{let{id:t,items:n,activeIndex:r,overIndex:i}=e;return o(n,r,i).indexOf(t)},p=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:i,items:l,newIndex:o,previousItems:s,previousContainerId:a,transition:c}=e;return!!c&&!!r&&(s===l||i!==o)&&(!!n||o!==i&&t===a)},m={duration:200,easing:"ease"},g="transform",y=l.Ks.Transition.toString({property:g,duration:0,easing:"linear"}),x={roleDescription:"sortable"};function k(e){var t,n,o,a;let{animateLayoutChanges:c=p,attributes:u,disabled:h,data:O,getNewIndex:k=d,id:b,strategy:v,resizeObserverConfig:Q,transition:S=m}=e,{items:w,containerId:$,activeIndex:P,disabled:Z,disableTransforms:T,sortedRects:X,overIndex:A,useDragOverlay:C,strategy:_}=(0,r.useContext)(f),R=(t=h,n=Z,"boolean"==typeof t?{draggable:t,droppable:!1}:{draggable:null!=(o=null==t?void 0:t.draggable)?o:n.draggable,droppable:null!=(a=null==t?void 0:t.droppable)?a:n.droppable}),j=w.indexOf(b),z=(0,r.useMemo)(()=>({sortable:{containerId:$,index:j,items:w},...O}),[$,O,j,w]),E=(0,r.useMemo)(()=>w.slice(w.indexOf(b)),[w,b]),{rect:M,node:Y,isOver:L,setNodeRef:I}=(0,i.zM)({id:b,data:z,disabled:R.droppable,resizeObserverConfig:{updateMeasurementsFor:E,...Q}}),{active:q,activatorEvent:V,activeNodeRect:D,attributes:W,setNodeRef:N,listeners:U,isDragging:B,over:G,setActivatorNodeRef:F,transform:H}=(0,i.PM)({id:b,data:z,attributes:{...x,...u},disabled:R.draggable}),J=(0,l.jn)(I,N),K=!!q,ee=K&&!T&&s(P)&&s(A),et=!C&&B,en=et&&ee?H:null,er=ee?null!=en?en:(null!=v?v:_)({rects:X,activeNodeRect:D,activeIndex:P,overIndex:A,index:j}):null,ei=s(P)&&s(A)?k({id:b,items:w,activeIndex:P,overIndex:A}):j,el=null==q?void 0:q.id,eo=(0,r.useRef)({activeId:el,items:w,newIndex:ei,containerId:$}),es=w!==eo.current.items,ea=c({active:q,containerId:$,isDragging:B,isSorting:K,id:b,index:j,items:w,newIndex:eo.current.newIndex,previousItems:eo.current.items,previousContainerId:eo.current.containerId,transition:S,wasDragging:null!=eo.current.activeId}),ec=function(e){let{disabled:t,index:n,node:o,rect:s}=e,[a,c]=(0,r.useState)(null),u=(0,r.useRef)(n);return(0,l.Es)(()=>{if(!t&&n!==u.current&&o.current){let e=s.current;if(e){let t=(0,i.Sj)(o.current,{ignoreTransform:!0}),n={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(n.x||n.y)&&c(n)}}n!==u.current&&(u.current=n)},[t,n,o,s]),(0,r.useEffect)(()=>{a&&c(null)},[a]),a}({disabled:!ea,index:j,node:Y,rect:M});return(0,r.useEffect)(()=>{K&&eo.current.newIndex!==ei&&(eo.current.newIndex=ei),$!==eo.current.containerId&&(eo.current.containerId=$),w!==eo.current.items&&(eo.current.items=w)},[K,ei,$,w]),(0,r.useEffect)(()=>{if(el===eo.current.activeId)return;if(null!=el&&null==eo.current.activeId){eo.current.activeId=el;return}let e=setTimeout(()=>{eo.current.activeId=el},50);return()=>clearTimeout(e)},[el]),{active:q,activeIndex:P,attributes:W,data:z,rect:M,index:j,newIndex:ei,items:w,isOver:L,isSorting:K,isDragging:B,listeners:U,node:Y,overIndex:A,over:G,setNodeRef:J,setActivatorNodeRef:F,setDroppableNodeRef:I,setDraggableNodeRef:N,transform:null!=ec?ec:er,transition:ec||es&&eo.current.newIndex===j?y:(!et||(0,l.kx)(V))&&S&&(K||ea)?l.Ks.Transition.toString({...S,property:g}):void 0}}function b(e){if(!e)return!1;let t=e.data.current;return!!t&&"sortable"in t&&"object"==typeof t.sortable&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable}let v=[i.vL.Down,i.vL.Right,i.vL.Up,i.vL.Left],Q=(e,t)=>{let{context:{active:n,collisionRect:r,droppableRects:o,droppableContainers:s,over:a,scrollableAncestors:c}}=t;if(v.includes(e.code)){if(e.preventDefault(),!n||!r)return;let t=[];s.getEnabled().forEach(n=>{if(!n||null!=n&&n.disabled)return;let l=o.get(n.id);if(l)switch(e.code){case i.vL.Down:r.top<l.top&&t.push(n);break;case i.vL.Up:r.top>l.top&&t.push(n);break;case i.vL.Left:r.left>l.left&&t.push(n);break;case i.vL.Right:r.left<l.left&&t.push(n)}});let f=(0,i.y$)({active:n,collisionRect:r,droppableRects:o,droppableContainers:t,pointerCoordinates:null}),O=(0,i.Vy)(f,"id");if(O===(null==a?void 0:a.id)&&f.length>1&&(O=f[1].id),null!=O){let e=s.get(n.id),t=s.get(O),a=t?o.get(t.id):null,f=null==t?void 0:t.node.current;if(f&&a&&e&&t){var u,h;let n=(0,i.sl)(f).some((e,t)=>c[t]!==e),o=S(e,t),s=(u=e,h=t,!!b(u)&&!!b(h)&&!!S(u,h)&&u.data.current.sortable.index<h.data.current.sortable.index),O=n||!o?{x:0,y:0}:{x:s?r.width-a.width:0,y:s?r.height-a.height:0},d={x:a.left,y:a.top};return O.x&&O.y?d:(0,l.Re)(d,O)}}}};function S(e,t){return!!b(e)&&!!b(t)&&e.data.current.sortable.containerId===t.data.current.sortable.containerId}},8006:(e,t,n)=>{n.d(t,{d:()=>i});let r={};function i(e,t){let n=t||r;return l(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function l(e,t,n){var r;if((r=e)&&"object"==typeof r){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return o(e.children,t,n)}return Array.isArray(e)?o(e,t,n):""}function o(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=l(e[i],t,n);return r.join("")}},8169:(e,t,n)=>{function r(){var e=arguments[0];"string"==typeof e&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r];"string"==typeof i?e.setAttribute(r,i):null!=i&&(e[r]=i)}t++}for(;t<arguments.length;t++)!function e(t,n){if("string"==typeof n)t.appendChild(document.createTextNode(n));else if(null==n);else if(null!=n.nodeType)t.appendChild(n);else if(Array.isArray(n))for(var r=0;r<n.length;r++)e(t,n[r]);else throw RangeError("Unsupported child node: "+n)}(e,arguments[t]);return e}n.d(t,{A:()=>r})},8250:(e,t,n)=>{n.d(t,{YR:()=>i});var r=n(768);function i(e,t,n,i){let l,o,s;"function"==typeof t&&"function"!=typeof n?(o=void 0,s=t,l=n):(o=t,s=n,l=i),(0,r.VG)(e,o,function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return s(e,r,n)},l)}},8426:(e,t,n)=>{n.d(t,{oz:()=>nf});var r={};n.r(r),n.d(r,{boolean:()=>g,booleanish:()=>y,commaOrSpaceSeparated:()=>Q,commaSeparated:()=>v,number:()=>k,overloadedBoolean:()=>x,spaceSeparated:()=>b});var i={};n.r(i),n.d(i,{attentionMarkers:()=>tO,contentInitial:()=>ts,disable:()=>td,document:()=>to,flow:()=>tc,flowInitial:()=>ta,insideSpan:()=>tf,string:()=>tu,text:()=>th});var l=n(3091);let o=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,s=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,a={};function c(e,t){return((t||a).jsx?s:o).test(e)}let u=/[ \t\n\f\r]/g;function h(e){return""===e.replace(u,"")}class f{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function O(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new f(n,r,t)}function d(e){return e.toLowerCase()}f.prototype.normal={},f.prototype.property={},f.prototype.space=void 0;class p{constructor(e,t){this.attribute=t,this.property=e}}p.prototype.attribute="",p.prototype.booleanish=!1,p.prototype.boolean=!1,p.prototype.commaOrSpaceSeparated=!1,p.prototype.commaSeparated=!1,p.prototype.defined=!1,p.prototype.mustUseProperty=!1,p.prototype.number=!1,p.prototype.overloadedBoolean=!1,p.prototype.property="",p.prototype.spaceSeparated=!1,p.prototype.space=void 0;let m=0,g=S(),y=S(),x=S(),k=S(),b=S(),v=S(),Q=S();function S(){return 2**++m}let w=Object.keys(r);class $ extends p{constructor(e,t,n,i){let l=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",i),"number"==typeof n)for(;++l<w.length;){const e=w[l];!function(e,t,n){n&&(e[t]=n)}(this,w[l],(n&r[e])===r[e])}}}function P(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let l=new $(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(l.mustUseProperty=!0),t[r]=l,n[d(r)]=r,n[d(l.attribute)]=r}return new f(t,n,e.space)}$.prototype.defined=!0;let Z=P({properties:{ariaActiveDescendant:null,ariaAtomic:y,ariaAutoComplete:null,ariaBusy:y,ariaChecked:y,ariaColCount:k,ariaColIndex:k,ariaColSpan:k,ariaControls:b,ariaCurrent:null,ariaDescribedBy:b,ariaDetails:null,ariaDisabled:y,ariaDropEffect:b,ariaErrorMessage:null,ariaExpanded:y,ariaFlowTo:b,ariaGrabbed:y,ariaHasPopup:null,ariaHidden:y,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:b,ariaLevel:k,ariaLive:null,ariaModal:y,ariaMultiLine:y,ariaMultiSelectable:y,ariaOrientation:null,ariaOwns:b,ariaPlaceholder:null,ariaPosInSet:k,ariaPressed:y,ariaReadOnly:y,ariaRelevant:null,ariaRequired:y,ariaRoleDescription:b,ariaRowCount:k,ariaRowIndex:k,ariaRowSpan:k,ariaSelected:y,ariaSetSize:k,ariaSort:null,ariaValueMax:k,ariaValueMin:k,ariaValueNow:k,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function T(e,t){return t in e?e[t]:t}function X(e,t){return T(e,t.toLowerCase())}let A=P({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:v,acceptCharset:b,accessKey:b,action:null,allow:null,allowFullScreen:g,allowPaymentRequest:g,allowUserMedia:g,alt:null,as:null,async:g,autoCapitalize:null,autoComplete:b,autoFocus:g,autoPlay:g,blocking:b,capture:null,charSet:null,checked:g,cite:null,className:b,cols:k,colSpan:null,content:null,contentEditable:y,controls:g,controlsList:b,coords:k|v,crossOrigin:null,data:null,dateTime:null,decoding:null,default:g,defer:g,dir:null,dirName:null,disabled:g,download:x,draggable:y,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:g,formTarget:null,headers:b,height:k,hidden:x,high:k,href:null,hrefLang:null,htmlFor:b,httpEquiv:b,id:null,imageSizes:null,imageSrcSet:null,inert:g,inputMode:null,integrity:null,is:null,isMap:g,itemId:null,itemProp:b,itemRef:b,itemScope:g,itemType:b,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:g,low:k,manifest:null,max:null,maxLength:k,media:null,method:null,min:null,minLength:k,multiple:g,muted:g,name:null,nonce:null,noModule:g,noValidate:g,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:g,optimum:k,pattern:null,ping:b,placeholder:null,playsInline:g,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:g,referrerPolicy:null,rel:b,required:g,reversed:g,rows:k,rowSpan:k,sandbox:b,scope:null,scoped:g,seamless:g,selected:g,shadowRootClonable:g,shadowRootDelegatesFocus:g,shadowRootMode:null,shape:null,size:k,sizes:null,slot:null,span:k,spellCheck:y,src:null,srcDoc:null,srcLang:null,srcSet:null,start:k,step:null,style:null,tabIndex:k,target:null,title:null,translate:null,type:null,typeMustMatch:g,useMap:null,value:y,width:k,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:b,axis:null,background:null,bgColor:null,border:k,borderColor:null,bottomMargin:k,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:g,declare:g,event:null,face:null,frame:null,frameBorder:null,hSpace:k,leftMargin:k,link:null,longDesc:null,lowSrc:null,marginHeight:k,marginWidth:k,noResize:g,noHref:g,noShade:g,noWrap:g,object:null,profile:null,prompt:null,rev:null,rightMargin:k,rules:null,scheme:null,scrolling:y,standby:null,summary:null,text:null,topMargin:k,valueType:null,version:null,vAlign:null,vLink:null,vSpace:k,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:g,disableRemotePlayback:g,prefix:null,property:null,results:k,security:null,unselectable:null},space:"html",transform:X}),C=P({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:Q,accentHeight:k,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:k,amplitude:k,arabicForm:null,ascent:k,attributeName:null,attributeType:null,azimuth:k,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:k,by:null,calcMode:null,capHeight:k,className:b,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:k,diffuseConstant:k,direction:null,display:null,dur:null,divisor:k,dominantBaseline:null,download:g,dx:null,dy:null,edgeMode:null,editable:null,elevation:k,enableBackground:null,end:null,event:null,exponent:k,externalResourcesRequired:null,fill:null,fillOpacity:k,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:v,g2:v,glyphName:v,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:k,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:k,horizOriginX:k,horizOriginY:k,id:null,ideographic:k,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:k,k:k,k1:k,k2:k,k3:k,k4:k,kernelMatrix:Q,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:k,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:k,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:k,overlineThickness:k,paintOrder:null,panose1:null,path:null,pathLength:k,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:b,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:k,pointsAtY:k,pointsAtZ:k,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Q,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Q,rev:Q,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Q,requiredFeatures:Q,requiredFonts:Q,requiredFormats:Q,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:k,specularExponent:k,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:k,strikethroughThickness:k,string:null,stroke:null,strokeDashArray:Q,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:k,strokeOpacity:k,strokeWidth:null,style:null,surfaceScale:k,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Q,tabIndex:k,tableValues:null,target:null,targetX:k,targetY:k,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Q,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:k,underlineThickness:k,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:k,values:null,vAlphabetic:k,vMathematical:k,vectorEffect:null,vHanging:k,vIdeographic:k,version:null,vertAdvY:k,vertOriginX:k,vertOriginY:k,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:k,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:T}),_=P({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),R=P({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:X}),j=P({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),z=O([Z,A,_,R,j],"html"),E=O([Z,C,_,R,j],"svg"),M=/[A-Z]/g,Y=/-[a-z]/g,L=/^data[-\w.:]+$/i;function I(e){return"-"+e.toLowerCase()}function q(e){return e.charAt(1).toUpperCase()}let V={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"};var D=n(2682);let W=U("end"),N=U("start");function U(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function B(e){return e&&"object"==typeof e?"position"in e||"type"in e?F(e.position):"start"in e||"end"in e?F(e):"line"in e||"column"in e?G(e):"":""}function G(e){return H(e&&e.line)+":"+H(e&&e.column)}function F(e){return G(e&&e.start)+"-"+G(e&&e.end)}function H(e){return e&&"number"==typeof e?e:1}class J extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",i={},l=!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}),"string"==typeof e?r=e:!i.cause&&e&&(l=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){const e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}const 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=B(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=l&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}J.prototype.file="",J.prototype.name="",J.prototype.reason="",J.prototype.message="",J.prototype.stack="",J.prototype.column=void 0,J.prototype.line=void 0,J.prototype.ancestors=void 0,J.prototype.cause=void 0,J.prototype.fatal=void 0,J.prototype.place=void 0,J.prototype.ruleId=void 0,J.prototype.source=void 0;let K={}.hasOwnProperty,ee=new Map,et=/[A-Z]/g,en=new Set(["table","tbody","thead","tfoot","tr"]),er=new Set(["td","th"]),ei="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function el(e,t,n){var r,i,o,s,a,c,u,f,O;let m,g,y,x,k,b,v,Q,S,w,P;return"element"===t.type?(r=e,i=t,o=n,g=m=r.schema,"svg"===i.tagName.toLowerCase()&&"html"===m.space&&(r.schema=E),r.ancestors.push(i),y=ec(r,i.tagName,!1),x=function(e,t){let n,r,i={};for(r in t.properties)if("children"!==r&&K.call(t.properties,r)){let l=function(e,t,n){let r=function(e,t){let n=d(t),r=t,i=p;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&L.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(Y,q);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!Y.test(e)){let n=e.replace(M,I);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=$}return new i(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){var i;let t;if(Array.isArray(n)&&(n=r.commaSeparated?(t={},(""===(i=n)[i.length-1]?[...i,""]:i).join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return D(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let t=new J("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=ei+"#cannot-parse-style-attribute",t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,n={};for(t in e)K.call(e,t)&&(n[function(e){let t=e.replace(et,eh);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?V[r.property]||r.property:r.attribute,n]}}(e,r,t.properties[r]);if(l){let[r,o]=l;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof o&&er.has(t.tagName)?n=o:i[r]=o}}return n&&((i.style||(i.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),i}(r,i),k=ea(r,i),en.has(i.tagName)&&(k=k.filter(function(e){return"string"!=typeof e||!("object"==typeof e?"text"===e.type&&h(e.value):h(e))})),eo(r,x,y,i),es(x,k),r.ancestors.pop(),r.schema=m,r.create(i,y,x,o)):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return(0,l.ok)("ExpressionStatement"===n.type),e.evaluater.evaluateExpression(n.expression)}eu(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?(s=e,a=t,c=n,v=b=s.schema,"svg"===a.name&&"html"===b.space&&(s.schema=E),s.ancestors.push(a),Q=null===a.name?s.Fragment:ec(s,a.name,!0),S=function(e,t){let n={};for(let r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];(0,l.ok)("ExpressionStatement"===t.type);let i=t.expression;(0,l.ok)("ObjectExpression"===i.type);let o=i.properties[0];(0,l.ok)("SpreadElement"===o.type),Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else eu(e,t.position);else{let i,o=r.name;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];(0,l.ok)("ExpressionStatement"===t.type),i=e.evaluater.evaluateExpression(t.expression)}else eu(e,t.position);else i=null===r.value||r.value;n[o]=i}return n}(s,a),w=ea(s,a),eo(s,S,Q,a),es(S,w),s.ancestors.pop(),s.schema=b,s.create(a,Q,S,c)):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);eu(e,t.position)}(e,t):"root"===t.type?(u=e,f=t,O=n,es(P={},ea(u,f)),u.create(f,u.Fragment,P,O)):"text"===t.type?t.value:void 0}function eo(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function es(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function ea(e,t){let n=[],r=-1,i=e.passKeys?new Map:ee;for(;++r<t.children.length;){let l,o=t.children[r];if(e.passKeys){let e="element"===o.type?o.tagName:"mdxJsxFlowElement"===o.type||"mdxJsxTextElement"===o.type?o.name:void 0;if(e){let t=i.get(e)||0;l=e+"-"+t,i.set(e,t+1)}}let s=el(e,o,l);void 0!==s&&n.push(s)}return n}function ec(e,t,n){let r;if(n)if(t.includes(".")){let e,n=t.split("."),i=-1;for(;++i<n.length;){let t=c(n[i])?{type:"Identifier",name:n[i]}:{type:"Literal",value:n[i]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(i&&"Literal"===t.type),optional:!1}:t}(0,l.ok)(e,"always a result"),r=e}else r=c(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){let t=r.value;return K.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);eu(e)}function eu(e,t){let n=new J("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=ei+"#cannot-handle-mdx-estrees-without-createevaluater",n}function eh(e){return"-"+e.toLowerCase()}let ef={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"]};var eO=n(5155);n(2115);var ed=n(8006),ep=n(1161);class em{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=null==t?1/0:t;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){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),1/0);return n&&eg(this.left,n),r.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),eg(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),eg(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e<this.left.length){let t=this.left.splice(e,1/0);eg(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);eg(this.left,t.reverse())}}}function eg(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 ey(e){let t,n,r,i,l,o,s,a={},c=-1,u=new em(e);for(;++c<u.length;){for(;c in a;)c=a[c];if(t=u.get(c),c&&"chunkFlow"===t[1].type&&"listItemPrefix"===u.get(c-1)[1].type&&((r=0)<(o=t[1]._tokenizer.events).length&&"lineEndingBlank"===o[r][1].type&&(r+=2),r<o.length&&"content"===o[r][1].type))for(;++r<o.length&&"content"!==o[r][1].type;)"chunkText"===o[r][1].type&&(o[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(a,function(e,t){let n,r,i=e.get(t)[1],l=e.get(t)[2],o=t-1,s=[],a=i._tokenizer;!a&&(a=l.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));let c=a.events,u=[],h={},f=-1,O=i,d=0,p=0,m=[0];for(;O;){for(;e.get(++o)[1]!==O;);s.push(o),!O._tokenizer&&(n=l.sliceStream(O),O.next||n.push(null),r&&a.defineSkip(O.start),O._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(n),O._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),r=O,O=O.next}for(O=i;++f<c.length;)"exit"===c[f][0]&&"enter"===c[f-1][0]&&c[f][1].type===c[f-1][1].type&&c[f][1].start.line!==c[f][1].end.line&&(p=f+1,m.push(p),O._tokenizer=void 0,O.previous=void 0,O=O.next);for(a.events=[],O?(O._tokenizer=void 0,O.previous=void 0):m.pop(),f=m.length;f--;){let t=c.slice(m[f],m[f+1]),n=s.pop();u.push([n,n+t.length-1]),e.splice(n,2,t)}for(u.reverse(),f=-1;++f<u.length;)h[d+u[f][0]]=d+u[f][1],d+=u[f][1]-u[f][0]-1;return h}(u,c)),c=a[c],s=!0);else if(t[1]._container){for(r=c,n=void 0;r--;)if("lineEnding"===(i=u.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(u.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else if("linePrefix"===i[1].type||"listItemIndent"===i[1].type);else break;n&&(t[1].end={...u.get(n)[1].start},(l=u.slice(n,c)).unshift(t),u.splice(n,c-n+1,l))}}return(0,ep.m)(e,0,1/0,u.slice(0)),!s}var ex=n(783),ek=n(2835),eb=n(4294);let ev={tokenize:function(e){let t,n=e.attempt(this.parser.constructs.contentInitial,function(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,ek.N)(e,n,"linePrefix"))},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return(0,eb.HP)(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},eQ={tokenize:function(e){let t,n,r,i=this,l=[],o=0;return s;function s(t){if(o<l.length){let n=l[o];return i.containerState=n[1],e.attempt(n[0].continuation,a,c)(t)}return c(t)}function a(e){if(o++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&g();let r=i.events.length,l=r;for(;l--;)if("exit"===i.events[l][0]&&"chunkFlow"===i.events[l][1].type){n=i.events[l][1].end;break}m(o);let s=r;for(;s<i.events.length;)i.events[s][1].end={...n},s++;return(0,ep.m)(i.events,l+1,0,i.events.slice(r)),i.events.length=s,c(e)}return s(e)}function c(n){if(o===l.length){if(!t)return f(n);if(t.currentConstruct&&t.currentConstruct.concrete)return d(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(eS,u,h)(n)}function u(e){return t&&g(),m(o),f(e)}function h(e){return i.parser.lazy[i.now().line]=o!==l.length,r=i.now().offset,d(e)}function f(t){return i.containerState={},e.attempt(eS,O,d)(t)}function O(e){return o++,l.push([i.currentConstruct,i.containerState]),f(e)}function d(r){if(null===r){t&&g(),m(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){if(null===n){p(e.exit("chunkFlow"),!0),m(0),e.consume(n);return}return(0,eb.HP)(n)?(e.consume(n),p(e.exit("chunkFlow")),o=0,i.interrupt=void 0,s):(e.consume(n),t)}(r)}function p(e,l){let s=i.sliceStream(e);if(l&&s.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(s),i.parser.lazy[e.start.line]){let e,n,l=t.events.length;for(;l--;)if(t.events[l][1].start.offset<r&&(!t.events[l][1].end||t.events[l][1].end.offset>r))return;let s=i.events.length,a=s;for(;a--;)if("exit"===i.events[a][0]&&"chunkFlow"===i.events[a][1].type){if(e){n=i.events[a][1].end;break}e=!0}for(m(o),l=s;l<i.events.length;)i.events[l][1].end={...n},l++;(0,ep.m)(i.events,a+1,0,i.events.slice(s)),i.events.length=l}}function m(t){let n=l.length;for(;n-- >t;){let t=l[n];i.containerState=t[1],t[0].exit.call(i,e)}l.length=t}function g(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},eS={tokenize:function(e,t,n){return(0,ek.N)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var ew=n(55);let e$={resolve:function(e){return ey(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):(0,eb.HP)(t)?e.check(eP,l,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function l(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},eP={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,ek.N)(e,i,"linePrefix")};function i(i){if(null===i||(0,eb.HP)(i))return n(i);let l=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&l&&"linePrefix"===l[1].type&&l[2].sliceSerialize(l[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}},eZ={tokenize:function(e){let t=this,n=e.attempt(ew.B,function(r){return null===r?void e.consume(r):(e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n)},e.attempt(this.parser.constructs.flowInitial,r,(0,ek.N)(e,e.attempt(this.parser.constructs.flow,r,e.attempt(e$,r)),"linePrefix")));return n;function r(r){return null===r?void e.consume(r):(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n)}}},eT={resolveAll:e_()},eX=eC("string"),eA=eC("text");function eC(e){return{resolveAll:e_("text"===e?eR:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,l,o);return l;function l(e){return a(e)?i(e):o(e)}function o(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),s)}function s(e){return a(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function a(e){if(null===e)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 e_(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function eR(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r,i=e[n-1][1],l=t.sliceStream(i),o=l.length,s=-1,a=0;for(;o--;){let e=l[o];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)a++,s--;if(s)break;s=-1}else if(-2===e)r=!0,a++;else if(-1===e);else{o++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(a=0),a){let l={type:n===e.length||r||a<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?s:i.start._bufferIndex+s,_index:i.start._index+o,line:i.end.line,column:i.end.column-a,offset:i.end.offset-a},end:{...i.end}};i.end={...l.start},i.start.offset===i.end.offset?Object.assign(i,l):(e.splice(n,0,["enter",l,t],["exit",l,t]),n+=2)}n++}return e}let ej={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(l){var o;return e.enter("thematicBreak"),r=o=l,function l(o){return o===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),(0,eb.On)(n)?(0,ek.N)(e,l,"whitespace")(n):l(n))}(o)):i>=3&&(null===o||(0,eb.HP)(o))?(e.exit("thematicBreak"),t(o)):n(o)}(o)}}},ez={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(ew.B,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,(0,ek.N)(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,eb.On)(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(eM,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,(0,ek.N)(e,e.attempt(ez,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],l=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,o=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:(0,eb.BM)(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(ej,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return(0,eb.BM)(i)&&++o<10?(e.consume(i),t):(!r.interrupt||o<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),s(i)):n(i)}(t)}return n(t)};function s(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(ew.B,r.interrupt?n:a,e.attempt(eE,u,c))}function a(e){return r.containerState.initialBlankLine=!0,l++,u(e)}function c(t){return(0,eb.On)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),u):n(t)}function u(n){return r.containerState.size=l+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},eE={partial:!0,tokenize:function(e,t,n){let r=this;return(0,ek.N)(e,function(e){let i=r.events[r.events.length-1];return!(0,eb.On)(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},eM={partial:!0,tokenize:function(e,t,n){let r=this;return(0,ek.N)(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},eY={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return(0,eb.On)(t)?(0,ek.N)(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(eY,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){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"),i}return n(t)};function i(n){return(0,eb.On)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function eL(e,t,n,r,i,l,o,s,a){let c=a||1/0,u=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(l),e.consume(t),e.exit(l),h):null===t||32===t||41===t||(0,eb.JQ)(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),d(t))};function h(n){return 62===n?(e.enter(l),e.consume(n),e.exit(l),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(s),h(t)):null===t||60===t||(0,eb.HP)(t)?n(t):(e.consume(t),92===t?O:f)}function O(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function d(i){return!u&&(null===i||41===i||(0,eb.Ee)(i))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(i)):u<c&&40===i?(e.consume(i),u++,d):41===i?(e.consume(i),u--,d):null===i||32===i||40===i||(0,eb.JQ)(i)?n(i):(e.consume(i),92===i?p:d)}function p(t){return 40===t||41===t||92===t?(e.consume(t),d):d(t)}}function eI(e,t,n,r,i,l){let o,s=this,a=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(l),c};function c(h){return a>999||null===h||91===h||93===h&&!o||94===h&&!a&&"_hiddenFootnoteSupport"in s.parser.constructs?n(h):93===h?(e.exit(l),e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):(0,eb.HP)(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(h))}function u(t){return null===t||91===t||93===t||(0,eb.HP)(t)||a++>999?(e.exit("chunkString"),c(t)):(e.consume(t),o||(o=!(0,eb.On)(t)),92===t?h:u)}function h(t){return 91===t||92===t||93===t?(e.consume(t),a++,u):u(t)}}function eq(e,t,n,r,i,l){let o;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=40===t?41:t,s):n(t)};function s(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(l),a(n))}function a(t){return t===o?(e.exit(l),s(o)):null===t?n(t):(0,eb.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,ek.N)(e,a,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===o||null===t||(0,eb.HP)(t)?(e.exit("chunkString"),a(t)):(e.consume(t),92===t?u:c)}function u(t){return t===o||92===t?(e.consume(t),c):c(t)}}function eV(e,t){let n;return function r(i){return(0,eb.HP)(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):(0,eb.On)(i)?(0,ek.N)(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}var eD=n(6548);let eW={partial:!0,tokenize:function(e,t,n){return function(t){return(0,eb.Ee)(t)?eV(e,r)(t):n(t)};function r(t){return eq(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return(0,eb.On)(t)?(0,ek.N)(e,l,"whitespace")(t):l(t)}function l(e){return null===e||(0,eb.HP)(e)?t(e):n(e)}}},eN={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),(0,ek.N)(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?l(n):(0,eb.HP)(n)?e.attempt(eU,t,l)(n):(e.enter("codeFlowValue"),function n(r){return null===r||(0,eb.HP)(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function l(n){return e.exit("codeIndented"),t(n)}}},eU={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):(0,eb.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):(0,ek.N)(e,l,"linePrefix",5)(t)}function l(e){let l=r.events[r.events.length-1];return l&&"linePrefix"===l[1].type&&l[2].sliceSerialize(l[1],!0).length>=4?t(e):(0,eb.HP)(e)?i(e):n(e)}}},eB={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,l=e.length;for(;l--;)if("enter"===e[l][0]){if("content"===e[l][1].type){n=l;break}"paragraph"===e[l][1].type&&(r=l)}else"content"===e[l][1].type&&e.splice(l,1),i||"definition"!==e[l][1].type||(i=l);let o={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",o,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=o,e.push(["exit",o,t]),e},tokenize:function(e,t,n){let r,i=this;return function(t){var o;let s,a=i.events.length;for(;a--;)if("lineEnding"!==i.events[a][1].type&&"linePrefix"!==i.events[a][1].type&&"content"!==i.events[a][1].type){s="paragraph"===i.events[a][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||s)?(e.enter("setextHeadingLine"),r=t,o=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),(0,eb.On)(n)?(0,ek.N)(e,l,"lineSuffix")(n):l(n))}(o)):n(t)};function l(r){return null===r||(0,eb.HP)(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},eG=["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"],eF=["pre","script","style","textarea"],eH={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(ew.B,t,n)}}},eJ={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return(0,eb.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},eK={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},e0={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r,i=this,l={partial:!0,tokenize:function(e,t,n){let l=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(t){return e.enter("codeFencedFence"),(0,eb.On)(t)?(0,ek.N)(e,a,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):a(t)}function a(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(l++,e.consume(i),t):l>=s?(e.exit("codeFencedFenceSequence"),(0,eb.On)(i)?(0,ek.N)(e,c,"whitespace")(i):c(i)):n(i)}(t)):n(t)}function c(r){return null===r||(0,eb.HP)(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},o=0,s=0;return function(t){var l;let c;return l=t,o=(c=i.events[i.events.length-1])&&"linePrefix"===c[1].type?c[2].sliceSerialize(c[1],!0).length:0,r=l,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(s++,e.consume(i),t):s<3?n(i):(e.exit("codeFencedFenceSequence"),(0,eb.On)(i)?(0,ek.N)(e,a,"whitespace")(i):a(i))}(l)};function a(l){return null===l||(0,eb.HP)(l)?(e.exit("codeFencedFence"),i.interrupt?t(l):e.check(eK,u,d)(l)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,eb.HP)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),a(i)):(0,eb.On)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,ek.N)(e,c,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(l))}function c(t){return null===t||(0,eb.HP)(t)?a(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,eb.HP)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),a(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function u(t){return e.attempt(l,d,h)(t)}function h(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f}function f(t){return o>0&&(0,eb.On)(t)?(0,ek.N)(e,O,"linePrefix",o+1)(t):O(t)}function O(t){return null===t||(0,eb.HP)(t)?e.check(eK,u,d)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,eb.HP)(n)?(e.exit("codeFlowValue"),O(n)):(e.consume(n),t)}(t))}function d(n){return e.exit("codeFenced"),t(n)}}},e1=document.createElement("i");function e2(e){let t="&"+e+";";e1.innerHTML=t;let n=e1.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let e5={name:"characterReference",tokenize:function(e,t,n){let r,i,l=this,o=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),a):(e.enter("characterReferenceValue"),r=31,i=eb.lV,c(t))}function a(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=eb.ok,c):(e.enter("characterReferenceValue"),r=7,i=eb.BM,c(t))}function c(s){if(59===s&&o){let r=e.exit("characterReferenceValue");return i!==eb.lV||e2(l.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return i(s)&&o++<r?(e.consume(s),c):n(s)}}},e4={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return(0,eb.ol)(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},e3={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),(0,ek.N)(e,t,"linePrefix")}}};var e9=n(9359);let e7={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){let e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&(0,ep.m)(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,l,o=e.length,s=0;for(;o--;)if(n=e[o][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[o][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[o][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=o,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(i=o);let a={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},u={type:"labelText",start:{...e[r+s+2][1].end},end:{...e[i-2][1].start}};return l=[["enter",a,t],["enter",c,t]],l=(0,ep.V)(l,e.slice(r+1,r+s+3)),l=(0,ep.V)(l,[["enter",u,t]]),l=(0,ep.V)(l,(0,e9.W)(t.parser.constructs.insideSpan.null,e.slice(r+s+4,i-3),t)),l=(0,ep.V)(l,[["exit",u,t],e[i-2],e[i-1],["exit",c,t]]),l=(0,ep.V)(l,e.slice(i+1)),l=(0,ep.V)(l,[["exit",a,t]]),(0,ep.m)(e,r,e.length,l),e},tokenize:function(e,t,n){let r,i,l=this,o=l.events.length;for(;o--;)if(("labelImage"===l.events[o][1].type||"labelLink"===l.events[o][1].type)&&!l.events[o][1]._balanced){r=l.events[o][1];break}return function(t){return r?r._inactive?u(t):(i=l.parser.defined.includes((0,eD.B)(l.sliceSerialize({start:r.end,end:l.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s):n(t)};function s(t){return 40===t?e.attempt(e6,c,i?c:u)(t):91===t?e.attempt(e8,c,i?a:u)(t):i?c(t):u(t)}function a(t){return e.attempt(te,c,u)(t)}function c(e){return t(e)}function u(e){return r._balanced=!0,n(e)}}},e6={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return(0,eb.Ee)(t)?eV(e,i)(t):i(t)}function i(t){return 41===t?c(t):eL(e,l,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function l(t){return(0,eb.Ee)(t)?eV(e,s)(t):c(t)}function o(e){return n(e)}function s(t){return 34===t||39===t||40===t?eq(e,a,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function a(t){return(0,eb.Ee)(t)?eV(e,c)(t):c(t)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},e8={tokenize:function(e,t,n){let r=this;return function(t){return eI.call(r,e,i,l,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes((0,eD.B)(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function l(e){return n(e)}}},te={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},tt={name:"labelStartImage",resolveAll:e7.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),l):n(t)}function l(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};var tn=n(4693);let tr={name:"attention",resolveAll:function(e,t){let n,r,i,l,o,s,a,c,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close){for(n=u;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[n][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;let h={...e[n][1].end},f={...e[u][1].start};ti(h,-s),ti(f,s),l={type:s>1?"strongSequence":"emphasisSequence",start:h,end:{...e[n][1].end}},o={type:s>1?"strongSequence":"emphasisSequence",start:{...e[u][1].start},end:f},i={type:s>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[u][1].start}},r={type:s>1?"strong":"emphasis",start:{...l.start},end:{...o.end}},e[n][1].end={...l.start},e[u][1].start={...o.end},a=[],e[n][1].end.offset-e[n][1].start.offset&&(a=(0,ep.V)(a,[["enter",e[n][1],t],["exit",e[n][1],t]])),a=(0,ep.V)(a,[["enter",r,t],["enter",l,t],["exit",l,t],["enter",i,t]]),a=(0,ep.V)(a,(0,e9.W)(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),a=(0,ep.V)(a,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,a=(0,ep.V)(a,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,(0,ep.m)(e,n-1,u-n+3,a),u=n+a.length-c-2;break}}for(u=-1;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,l=(0,tn.S)(i);return function(o){return n=o,e.enter("attentionSequence"),function o(s){if(s===n)return e.consume(s),o;let a=e.exit("attentionSequence"),c=(0,tn.S)(s),u=!c||2===c&&l||r.includes(s),h=!l||2===l&&c||r.includes(i);return a._open=!!(42===n?u:u&&(l||!h)),a._close=!!(42===n?h:h&&(c||!u)),t(s)}(o)}}};function ti(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let tl={name:"labelStartLink",resolveAll:e7.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},to={42:ez,43:ez,45:ez,48:ez,49:ez,50:ez,51:ez,52:ez,53:ez,54:ez,55:ez,56:ez,57:ez,62:eY},ts={91:{name:"definition",tokenize:function(e,t,n){let r,i=this;return function(t){var r;return e.enter("definition"),r=t,eI.call(i,e,l,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function l(t){return(r=(0,eD.B)(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o):n(t)}function o(t){return(0,eb.Ee)(t)?eV(e,s)(t):s(t)}function s(t){return eL(e,a,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function a(t){return e.attempt(eW,c,c)(t)}function c(t){return(0,eb.On)(t)?(0,ek.N)(e,u,"whitespace")(t):u(t)}function u(l){return null===l||(0,eb.HP)(l)?(e.exit("definition"),i.parser.defined.push(r),t(l)):n(l)}}}},ta={[-2]:eN,[-1]:eN,32:eN},tc={35:{name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,l=3;return"whitespace"===e[3][1].type&&(l+=2),i-2>l&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(l===i-1||i-4>l&&"whitespace"===e[i-2][1].type)&&(i-=l+1===i?2:4),i>l&&(n={type:"atxHeadingText",start:e[l][1].start,end:e[i][1].end},r={type:"chunkText",start:e[l][1].start,end:e[i][1].end,contentType:"text"},(0,ep.m)(e,l,i-l+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(i){var l;return e.enter("atxHeading"),l=i,e.enter("atxHeadingSequence"),function i(l){return 35===l&&r++<6?(e.consume(l),i):null===l||(0,eb.Ee)(l)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||(0,eb.HP)(r)?(e.exit("atxHeading"),t(r)):(0,eb.On)(r)?(0,ek.N)(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||(0,eb.Ee)(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(l)):n(l)}(l)}}},42:ej,45:[eB,ej],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(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},tokenize:function(e,t,n){let r,i,l,o,s,a=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),c};function c(o){return 33===o?(e.consume(o),u):47===o?(e.consume(o),i=!0,O):63===o?(e.consume(o),r=3,a.interrupt?t:C):(0,eb.CW)(o)?(e.consume(o),l=String.fromCharCode(o),d):n(o)}function u(i){return 45===i?(e.consume(i),r=2,h):91===i?(e.consume(i),r=5,o=0,f):(0,eb.CW)(i)?(e.consume(i),r=4,a.interrupt?t:C):n(i)}function h(r){return 45===r?(e.consume(r),a.interrupt?t:C):n(r)}function f(r){let i="CDATA[";return r===i.charCodeAt(o++)?(e.consume(r),o===i.length)?a.interrupt?t:S:f:n(r)}function O(t){return(0,eb.CW)(t)?(e.consume(t),l=String.fromCharCode(t),d):n(t)}function d(o){if(null===o||47===o||62===o||(0,eb.Ee)(o)){let s=47===o,c=l.toLowerCase();return!s&&!i&&eF.includes(c)?(r=1,a.interrupt?t(o):S(o)):eG.includes(l.toLowerCase())?(r=6,s)?(e.consume(o),p):a.interrupt?t(o):S(o):(r=7,a.interrupt&&!a.parser.lazy[a.now().line]?n(o):i?function t(n){return(0,eb.On)(n)?(e.consume(n),t):v(n)}(o):m(o))}return 45===o||(0,eb.lV)(o)?(e.consume(o),l+=String.fromCharCode(o),d):n(o)}function p(r){return 62===r?(e.consume(r),a.interrupt?t:S):n(r)}function m(t){return 47===t?(e.consume(t),v):58===t||95===t||(0,eb.CW)(t)?(e.consume(t),g):(0,eb.On)(t)?(e.consume(t),m):v(t)}function g(t){return 45===t||46===t||58===t||95===t||(0,eb.lV)(t)?(e.consume(t),g):y(t)}function y(t){return 61===t?(e.consume(t),x):(0,eb.On)(t)?(e.consume(t),y):m(t)}function x(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,k):(0,eb.On)(t)?(e.consume(t),x):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||(0,eb.Ee)(n)?y(n):(e.consume(n),t)}(t)}function k(t){return t===s?(e.consume(t),s=null,b):null===t||(0,eb.HP)(t)?n(t):(e.consume(t),k)}function b(e){return 47===e||62===e||(0,eb.On)(e)?m(e):n(e)}function v(t){return 62===t?(e.consume(t),Q):n(t)}function Q(t){return null===t||(0,eb.HP)(t)?S(t):(0,eb.On)(t)?(e.consume(t),Q):n(t)}function S(t){return 45===t&&2===r?(e.consume(t),Z):60===t&&1===r?(e.consume(t),T):62===t&&4===r?(e.consume(t),_):63===t&&3===r?(e.consume(t),C):93===t&&5===r?(e.consume(t),A):(0,eb.HP)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(eH,R,w)(t)):null===t||(0,eb.HP)(t)?(e.exit("htmlFlowData"),w(t)):(e.consume(t),S)}function w(t){return e.check(eJ,$,R)(t)}function $(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),P}function P(t){return null===t||(0,eb.HP)(t)?w(t):(e.enter("htmlFlowData"),S(t))}function Z(t){return 45===t?(e.consume(t),C):S(t)}function T(t){return 47===t?(e.consume(t),l="",X):S(t)}function X(t){if(62===t){let n=l.toLowerCase();return eF.includes(n)?(e.consume(t),_):S(t)}return(0,eb.CW)(t)&&l.length<8?(e.consume(t),l+=String.fromCharCode(t),X):S(t)}function A(t){return 93===t?(e.consume(t),C):S(t)}function C(t){return 62===t?(e.consume(t),_):45===t&&2===r?(e.consume(t),C):S(t)}function _(t){return null===t||(0,eb.HP)(t)?(e.exit("htmlFlowData"),R(t)):(e.consume(t),_)}function R(n){return e.exit("htmlFlow"),t(n)}}},61:eB,95:ej,96:e0,126:e0},tu={38:e5,92:e4},th={[-5]:e3,[-4]:e3,[-3]:e3,33:tt,38:e5,42:tr,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return(0,eb.CW)(t)?(e.consume(t),l):64===t?n(t):s(t)}function l(t){return 43===t||45===t||46===t||(0,eb.lV)(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,o):(43===n||45===n||46===n||(0,eb.lV)(n))&&r++<32?(e.consume(n),t):(r=0,s(n))}(t)):s(t)}function o(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||(0,eb.JQ)(r)?n(r):(e.consume(r),o)}function s(t){return 64===t?(e.consume(t),a):(0,eb.cx)(t)?(e.consume(t),s):n(t)}function a(i){return(0,eb.lV)(i)?function i(l){return 46===l?(e.consume(l),r=0,a):62===l?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(l),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(l){if((45===l||(0,eb.lV)(l))&&r++<63){let n=45===l?t:i;return e.consume(l),n}return n(l)}(l)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,l,o=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),a):47===t?(e.consume(t),k):63===t?(e.consume(t),y):(0,eb.CW)(t)?(e.consume(t),v):n(t)}function a(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),i=0,O):(0,eb.CW)(t)?(e.consume(t),g):n(t)}function c(t){return 45===t?(e.consume(t),f):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),h):(0,eb.HP)(t)?(l=u,X(t)):(e.consume(t),u)}function h(t){return 45===t?(e.consume(t),f):u(t)}function f(e){return 62===e?T(e):45===e?h(e):u(e)}function O(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?d:O):n(t)}function d(t){return null===t?n(t):93===t?(e.consume(t),p):(0,eb.HP)(t)?(l=d,X(t)):(e.consume(t),d)}function p(t){return 93===t?(e.consume(t),m):d(t)}function m(t){return 62===t?T(t):93===t?(e.consume(t),m):d(t)}function g(t){return null===t||62===t?T(t):(0,eb.HP)(t)?(l=g,X(t)):(e.consume(t),g)}function y(t){return null===t?n(t):63===t?(e.consume(t),x):(0,eb.HP)(t)?(l=y,X(t)):(e.consume(t),y)}function x(e){return 62===e?T(e):y(e)}function k(t){return(0,eb.CW)(t)?(e.consume(t),b):n(t)}function b(t){return 45===t||(0,eb.lV)(t)?(e.consume(t),b):function t(n){return(0,eb.HP)(n)?(l=t,X(n)):(0,eb.On)(n)?(e.consume(n),t):T(n)}(t)}function v(t){return 45===t||(0,eb.lV)(t)?(e.consume(t),v):47===t||62===t||(0,eb.Ee)(t)?Q(t):n(t)}function Q(t){return 47===t?(e.consume(t),T):58===t||95===t||(0,eb.CW)(t)?(e.consume(t),S):(0,eb.HP)(t)?(l=Q,X(t)):(0,eb.On)(t)?(e.consume(t),Q):T(t)}function S(t){return 45===t||46===t||58===t||95===t||(0,eb.lV)(t)?(e.consume(t),S):function t(n){return 61===n?(e.consume(n),w):(0,eb.HP)(n)?(l=t,X(n)):(0,eb.On)(n)?(e.consume(n),t):Q(n)}(t)}function w(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,$):(0,eb.HP)(t)?(l=w,X(t)):(0,eb.On)(t)?(e.consume(t),w):(e.consume(t),P)}function $(t){return t===r?(e.consume(t),r=void 0,Z):null===t?n(t):(0,eb.HP)(t)?(l=$,X(t)):(e.consume(t),$)}function P(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,eb.Ee)(t)?Q(t):(e.consume(t),P)}function Z(e){return 47===e||62===e||(0,eb.Ee)(e)?Q(e):n(e)}function T(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function X(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),A}function A(t){return(0,eb.On)(t)?(0,ek.N)(e,C,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):C(t)}function C(t){return e.enter("htmlTextData"),l(t)}}}],91:tl,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return(0,eb.HP)(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},e4],93:e7,95:tr,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,i,l=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),l++,t):(e.exit("codeTextSequence"),o(n))}(t)};function o(a){return null===a?n(a):32===a?(e.enter("space"),e.consume(a),e.exit("space"),o):96===a?(i=e.enter("codeTextSequence"),r=0,function n(o){return 96===o?(e.consume(o),r++,n):r===l?(e.exit("codeTextSequence"),e.exit("codeText"),t(o)):(i.type="codeTextData",s(o))}(a)):(0,eb.HP)(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o):(e.enter("codeTextData"),s(a))}function s(t){return null===t||32===t||96===t||(0,eb.HP)(t)?(e.exit("codeTextData"),o(t)):(e.consume(t),s)}}}},tf={null:[tr,eT]},tO={null:[42,95]},td={null:[]},tp=/[\0\t\n\r]/g;function tm(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let tg=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function ty(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return tm(n.slice(t?2:1),t?16:10)}return e2(n)||e}let tx={}.hasOwnProperty;function tk(e){return{line:e.line,column:e.column,offset:e.offset}}function tb(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+B({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+B({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+B({start:t.start,end:t.end})+") is still open")}function tv(e){let t=this;t.parser=function(n){var r,l;let o,s,a,c;return"object"==typeof(r={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(l=r,r=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(g),autolinkProtocol:c,autolinkEmail:c,atxHeading:r(d),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:c,characterReference:c,codeFenced:r(O),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(O,i),codeText:r(function(){return{type:"inlineCode",value:""}},i),codeTextData:c,data:c,codeFlowValue:c,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(p),hardBreakTrailing:r(p),htmlFlow:r(m,i),htmlFlowData:c,htmlText:r(m,i),htmlTextData:c,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:i,link:r(g),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(y,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(y),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:r(d),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:o(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:o(),autolinkEmail:function(e){u.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){u.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:o(),characterEscapeValue:u,characterReferenceMarkerHexadecimal:f,characterReferenceMarkerNumeric:f,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=tm(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=e2(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=tk(e.end)},codeFenced:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:u,codeIndented:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:u,data:u,definition:o(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,eD.B)(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:o(),hardBreakEscape:o(h),hardBreakTrailing:o(h),htmlFlow:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:u,htmlText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:u,image:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(tg,ty),n.identifier=(0,eD.B)(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=tk(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(c.call(this,e),u.call(this,e))},link:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,eD.B)(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:o(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:o(),thematicBreak:o()}};!function e(t,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?e(t,i):function(e,t){let n;for(n in t)if(tx.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r)}}}(t,i)}}(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let r={type:"root",children:[]},o={stack:[r],tokenStack:[],config:t,enter:l,exit:s,buffer:i,resume:a,data:n},c=[],u=-1;for(;++u<e.length;)("listOrdered"===e[u][1].type||"listUnordered"===e[u][1].type)&&("enter"===e[u][0]?c.push(u):u=function(e,t,n){let r,i,l,o,s=t-1,a=-1,c=!1;for(;++s<=n;){let t=e[s];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?a++:a--,o=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||o||a||l||(l=s),o=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:o=void 0}if(!a&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===a&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let o=s;for(i=void 0;o--;){let t=e[o];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",i=o}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}l&&(!i||l<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||s,0,["exit",r,t[2]]),s++,n++}if("listItemPrefix"===t[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(s,0,["enter",i,t[2]]),s++,n++,l=void 0,o=!0}}}return e[t][1]._spread=c,n}(e,c.pop(),u));for(u=-1;++u<e.length;){let n=t[e[u][0]];tx.call(n,e[u][1].type)&&n[e[u][1].type].call(Object.assign({sliceSerialize:e[u][2].sliceSerialize},o),e[u][1])}if(o.tokenStack.length>0){let e=o.tokenStack[o.tokenStack.length-1];(e[1]||tb).call(o,void 0,e[0])}for(r.position={start:tk(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:tk(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u<t.transforms.length;)r=t.transforms[u](r)||r;return r};function r(e,t){return function(n){l.call(this,e(n),n),t&&t.call(this,n)}}function i(){this.stack.push({type:"fragment",children:[]})}function l(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:tk(t.start),end:void 0}}function o(e){return function(t){e&&e.call(this,t),s.call(this,t)}}function s(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||tb).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+B({start:e.start,end:e.end})+"): it’s not open");n.position.end=tk(e.end)}function a(){return(0,ed.d)(this.stack.pop())}function c(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:tk(e.start),end:void 0},t.push(n)),this.stack.push(n)}function u(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=tk(e.end)}function h(){this.data.atHardBreak=!0}function f(e){this.data.characterReferenceType=e.type}function O(){return{type:"code",lang:null,meta:null,value:""}}function d(){return{type:"heading",depth:0,children:[]}}function p(){return{type:"break"}}function m(){return{type:"html",value:""}}function g(){return{type:"link",title:null,url:"",children:[]}}function y(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(l)(function(e){for(;!ey(e););return e}((function(e){let t={constructs:(0,ex.y)([i,...(e||{}).extensions||[]]),content:n(ev),defined:[],document:n(eQ),flow:n(eZ),lazy:{},string:n(eX),text:n(eA)};return t;function n(e){return function(n){return function(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={},l=[],o=[],s=[],a={attempt:d(function(e,t){p(e,t.from)}),check:d(O),consume:function(e){(0,eb.HP)(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,m()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=f(),c.events.push(["enter",n,c]),s.push(n),n},exit:function(e){let t=s.pop();return t.end=f(),c.events.push(["exit",t,c]),t},interrupt:d(O,{interrupt:!0})},c={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,m()},events:[],now:f,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let l,o=e[r];if("string"==typeof o)l=o;else switch(o){case -5:l="\r";break;case -4:l="\n";break;case -3:l="\r\n";break;case -2:l=t?" ":" ";break;case -1:if(!t&&n)continue;l=" ";break;default:l=String.fromCharCode(o)}n=-2===o,i.push(l)}return i.join("")}(h(e),t)},sliceStream:h,write:function(e){return(o=(0,ep.V)(o,e),function(){let e;for(;r._index<o.length;){let n=o[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),u=u(t)}else u=u(n)}}(),null!==o[o.length-1])?[]:(p(t,0),c.events=(0,e9.W)(l,c.events,c),c.events)}},u=t.tokenize.call(c,a);return t.resolveAll&&l.push(t),c;function h(e){return function(e,t){let n,r=t.start._index,i=t.start._bufferIndex,l=t.end._index,o=t.end._bufferIndex;if(r===l)n=[e[r].slice(i,o)];else{if(n=e.slice(r,l),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}o>0&&n.push(e[l].slice(0,o))}return n}(o,e)}function f(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:l}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:l}}function O(e,t){t.restore()}function d(e,t){return function(n,i,l){var o;let u,h,O,d;return Array.isArray(n)?p(n):"tokenize"in n?p([n]):(o=n,function(e){let t=null!==e&&o[e],n=null!==e&&o.null;return p([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function p(e){return(u=e,h=0,0===e.length)?l:g(e[h])}function g(e){return function(n){let i,l,o,u,h;return(i=f(),l=c.previous,o=c.currentConstruct,u=c.events.length,h=Array.from(s),d={from:u,restore:function(){r=i,c.previous=l,c.currentConstruct=o,c.events.length=u,s=h,m()}},O=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?x(n):e.tokenize.call(t?Object.assign(Object.create(c),t):c,a,y,x)(n)}}function y(t){return e(O,d),i}function x(e){return(d.restore(),++h<u.length)?g(u[h]):l}}}function p(e,t){e.resolveAll&&!l.includes(e)&&l.push(e),e.resolve&&(0,ep.m)(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function m(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(l).document().write((s=1,a="",c=!0,function(e,t,n){let r,i,l,u,h,f=[];for(e=a+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),l=0,a="",c&&(65279===e.charCodeAt(0)&&l++,c=void 0);l<e.length;){if(tp.lastIndex=l,u=(r=tp.exec(e))&&void 0!==r.index?r.index:e.length,h=e.charCodeAt(u),!r){a=e.slice(l);break}if(10===h&&l===u&&o)f.push(-3),o=void 0;else switch(o&&(f.push(-5),o=void 0),l<u&&(f.push(e.slice(l,u)),s+=u-l),h){case 0:f.push(65533),s++;break;case 9:for(i=4*Math.ceil(s/4),f.push(-2);s++<i;)f.push(-1);break;case 10:f.push(-4),s=1;break;default:o=!0,s=1}l=u+1}return n&&(o&&f.push(-5),a&&f.push(a),f.push(null)),f})(n,r,!0))))}}let tQ="object"==typeof self?self:globalThis,tS=e=>{var t;let n,r;return(t=new Map,n=(e,n)=>(t.set(n,e),e),r=i=>{if(t.has(i))return t.get(i);let[l,o]=e[i];switch(l){case 0:case -1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(new tQ[e](t),i)}case 8:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{let{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}}return n(new tQ[l](o),i)})(0)},{toString:tw}={},{keys:t$}=Object,tP=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=tw.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},tZ=([e,t])=>0===e&&("function"===t||"symbol"===t),tT=(e,{json:t,lossy:n}={})=>{var r,i,l;let o,s,a=[];return(r=!(t||n),i=!!t,l=new Map,o=(e,t)=>{let n=a.push(e)-1;return l.set(t,n),n},s=e=>{if(l.has(e))return l.get(e);let[t,n]=tP(e);switch(t){case 0:{let i=e;switch(n){case"bigint":t=8,i=e.toString();break;case"function":case"symbol":if(r)throw TypeError("unable to serialize "+n);i=null;break;case"undefined":return o([-1],e)}return o([t,i],e)}case 1:{if(n){let t=e;return"DataView"===n?t=new Uint8Array(e.buffer):"ArrayBuffer"===n&&(t=new Uint8Array(e)),o([n,[...t]],e)}let r=[],i=o([t,r],e);for(let t of e)r.push(s(t));return i}case 2:{if(n)switch(n){case"BigInt":return o([n,e.toString()],e);case"Boolean":case"Number":case"String":return o([n,e.valueOf()],e)}if(i&&"toJSON"in e)return s(e.toJSON());let l=[],a=o([t,l],e);for(let t of t$(e))(r||!tZ(tP(e[t])))&&l.push([s(t),s(e[t])]);return a}case 3:return o([t,e.toISOString()],e);case 4:{let{source:n,flags:r}=e;return o([t,{source:n,flags:r}],e)}case 5:{let n=[],i=o([t,n],e);for(let[t,i]of e)(r||!(tZ(tP(t))||tZ(tP(i))))&&n.push([s(t),s(i)]);return i}case 6:{let n=[],i=o([t,n],e);for(let t of e)(r||!tZ(tP(t)))&&n.push(s(t));return i}}let{message:a}=e;return o([t,{name:n,message:a}],e)})(e),a},tX="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?tS(tT(e,t)):structuredClone(e):(e,t)=>tS(tT(e,t));function tA(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let l=e.charCodeAt(n),o="";if(37===l&&(0,eb.lV)(e.charCodeAt(n+1))&&(0,eb.lV)(e.charCodeAt(n+2)))i=2;else if(l<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l))||(o=String.fromCharCode(l));else if(l>55295&&l<57344){let t=e.charCodeAt(n+1);l<56320&&t>56319&&t<57344?(o=String.fromCharCode(l,t),i=1):o="�"}else o=String.fromCharCode(l);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 tC(e,t){let n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function t_(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}var tR=n(8250);function tj(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];let i=e.all(t),l=i[0];l&&"text"===l.type?l.value="["+l.value:i.unshift({type:"text",value:"["});let o=i[i.length-1];return o&&"text"===o.type?o.value+=r:i.push({type:"text",value:r}),i}function tz(e){let t=e.spread;return null==t?e.children.length>1:t}function tE(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}let tM={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let l={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(l.data={meta:t.meta}),e.patch(t,l),l={type:"element",tagName:"pre",properties:{},children:[l=e.applyData(t,l)]},e.patch(t,l),l},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){let n,r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),l=tA(i.toLowerCase()),o=e.footnoteOrder.indexOf(i),s=e.footnoteCounts.get(i);void 0===s?(s=0,e.footnoteOrder.push(i),n=e.footnoteOrder.length):n=o+1,s+=1,e.footnoteCounts.set(i,s);let a={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+l,id:r+"fnref-"+l+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,a);let c={type:"element",tagName:"sup",properties:{},children:[a]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return tj(e,t);let i={src:tA(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);let l={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,l),e.applyData(t,l)},image:function(e,t){let n={src:tA(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return tj(e,t);let i={href:tA(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);let l={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,l),e.applyData(t,l)},link:function(e,t){let n={href:tA(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=tz(n[r])}return t}(n):tz(t),l={},o=[];if("boolean"==typeof t.checked){let e,n=r[0];n&&"element"===n.type&&"p"===n.tagName?e=n:(e={type:"element",tagName:"p",properties:{},children:[]},r.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),l.className=["task-list-item"]}let s=-1;for(;++s<r.length;){let e=r[s];(i||0!==s||"element"!==e.type||"p"!==e.tagName)&&o.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?o.push(e):o.push(...e.children)}let a=r[r.length-1];a&&(i||"element"!==a.type||"p"!==a.tagName)&&o.push({type:"text",value:"\n"});let c={type:"element",tagName:"li",properties:l,children:o};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){let n={},r=e.all(t),i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){let e=r[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let l={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,l),e.applyData(t,l)},paragraph:function(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},l=N(t.children[1]),o=W(t.children[t.children.length-1]);l&&o&&(r.position={start:l,end:o}),i.push(r)}let l={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,l),e.applyData(t,l)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",l=n&&"table"===n.type?n.align:void 0,o=l?l.length:t.children.length,s=-1,a=[];for(;++s<o;){let n=t.children[s],r={},o=l?l[s]:void 0;o&&(r.align=o);let c={type:"element",tagName:i,properties:r,children:[]};n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(n,c)),a.push(c)}let c={type:"element",tagName:"tr",properties:{},children:e.wrap(a,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){let n={type:"text",value:function(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,l=[];for(;r;)l.push(tE(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return l.push(tE(t.slice(i),i>0,!1)),l.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:tY,yaml:tY,definition:tY,footnoteDefinition:tY};function tY(){}let tL={}.hasOwnProperty,tI={};function tq(e,t){e.position&&(t.position=function(e){let t=N(e),n=W(e);if(t&&n)return{start:t,end:n}}(e))}function tV(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&i&&Object.assign(n.properties,tX(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function tD(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function tW(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function tN(e,t){let n,r,i,o,s=(n=t||tI,r=new Map,i=new Map,o={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r<n.length;){let i=o.one(n[r],e);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=tW(i.value)),!Array.isArray(i)&&"element"===i.type)){let e=i.children[0];e&&"text"===e.type&&(e.value=tW(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:tV,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...tM,...n.handlers},one:function(e,t){let n=e.type,r=o.handlers[n];if(tL.call(o.handlers,n)&&r)return r(o,e,t);if(o.options.passThrough&&o.options.passThrough.includes(n)){if("children"in e){let{children:t,...n}=e,r=tX(n);return r.children=o.all(e),r}return tX(e)}return(o.options.unknownHandler||function(e,t){let n=t.data||{},r="value"in t&&!(tL.call(n,"hProperties")||tL.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)})(o,e,t)},options:n,patch:tq,wrap:tD},(0,tR.YR)(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),o),a=s.one(e,void 0),c=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||tC,r=e.options.footnoteBackLabel||t_,i=e.options.footnoteLabel||"Footnotes",l=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[],a=-1;for(;++a<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[a]);if(!i)continue;let l=e.all(i),o=String(i.identifier).toUpperCase(),c=tA(o.toLowerCase()),u=0,h=[],f=e.footnoteCounts.get(o);for(;void 0!==f&&++u<=f;){h.length>0&&h.push({type:"text",value:" "});let e="string"==typeof n?n:n(a,u);"string"==typeof e&&(e={type:"text",value:e}),h.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(a,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let O=l[l.length-1];if(O&&"element"===O.type&&"p"===O.tagName){let e=O.children[O.children.length-1];e&&"text"===e.type?e.value+=" ":O.children.push({type:"text",value:" "}),O.children.push(...h)}else l.push(...h);let d={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(l,!0)};e.patch(i,d),s.push(d)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:l,properties:{...tX(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:"\n"}]}}(s),u=Array.isArray(a)?{type:"root",children:a}:a||{type:"root",children:[]};return c&&((0,l.ok)("children"in u),u.children.push({type:"text",value:"\n"},c)),u}function tU(e,t){return e&&"run"in e?async function(n,r){let i=tN(n,{file:r,...t});await e.run(i,r)}:function(n,r){return tN(n,{file:r,...e||t})}}function tB(e){if(e)throw e}var tG=n(9326);function tF(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let tH=function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');t1(e);let r=0,i=-1,l=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;l--;)if(47===e.codePointAt(l)){if(n){r=l+1;break}}else i<0&&(n=!0,i=l+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let o=-1,s=t.length-1;for(;l--;)if(47===e.codePointAt(l)){if(n){r=l+1;break}}else o<0&&(n=!0,o=l+1),s>-1&&(e.codePointAt(l)===t.codePointAt(s--)?s<0&&(i=l):(s=-1,i=o));return r===i?i=o:i<0&&(i=e.length),e.slice(r,i)},tJ=function(e){let t;if(t1(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},tK=function(e){let t;t1(e);let n=e.length,r=-1,i=0,l=-1,o=0;for(;n--;){let s=e.codePointAt(n);if(47===s){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===s?l<0?l=n:1!==o&&(o=1):l>-1&&(o=-1)}return l<0||r<0||0===o||1===o&&l===r-1&&l===i+1?"":e.slice(l,r)},t0=function(...e){var t;let n,r,i,l=-1;for(;++l<e.length;)t1(e[l]),e[l]&&(i=void 0===i?e[l]:i+"/"+e[l]);return void 0===i?".":(t1(t=i),n=47===t.codePointAt(0),0!==(r=function(e,t){let n,r,i="",l=0,o=-1,s=0,a=-1;for(;++a<=e.length;){if(a<e.length)n=e.codePointAt(a);else if(47===n)break;else n=47;if(47===n){if(o===a-1||1===s);else if(o!==a-1&&2===s){if(i.length<2||2!==l||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2)){if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",l=0):l=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),o=a,s=0;continue}}else if(i.length>0){i="",l=0,o=a,s=0;continue}}t&&(i=i.length>0?i+"/..":"..",l=2)}else i.length>0?i+="/"+e.slice(o+1,a):i=e.slice(o+1,a),l=a-o-1;o=a,s=0}else 46===n&&s>-1?s++:s=-1}return i}(t,!n)).length||n||(r="."),r.length>0&&47===t.codePointAt(t.length-1)&&(r+="/"),n?"/"+r:r)};function t1(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function t2(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let t5=["history","path","basename","stem","extname","dirname"];class t4{constructor(e){let t,n;t=e?t2(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":"/",this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<t5.length;){const e=t5[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)t5.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?tH(this.path):void 0}set basename(e){t9(e,"basename"),t3(e,"basename"),this.path=t0(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?tJ(this.path):void 0}set dirname(e){t7(this.basename,"dirname"),this.path=t0(e||"",this.basename)}get extname(){return"string"==typeof this.path?tK(this.path):void 0}set extname(e){if(t3(e,"extname"),t7(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=t0(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){t2(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!t2(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){let e=t.codePointAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),t9(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?tH(this.path,this.extname):void 0}set stem(e){t9(e,"stem"),t3(e,"stem"),this.path=t0(this.dirname||"",e+(this.extname||""))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new J(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function t3(e,t){if(e&&e.includes("/"))throw Error("`"+t+"` cannot be a path: did not expect `/`")}function t9(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function t7(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let t6=function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},t8={}.hasOwnProperty;class ne extends t6{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);!function i(l,...o){let s=e[++n],a=-1;if(l)return void r(l);for(;++a<t.length;)(null===o[a]||void 0===o[a])&&(o[a]=t[a]);t=o,s?(function(e,t){let n;return function(...t){let l,o=e.length>t.length;o&&t.push(r);try{l=e.apply(this,t)}catch(e){if(o&&n)throw e;return r(e)}o||(l&&l.then&&"function"==typeof l.then?l.then(i,r):l instanceof Error?r(l):i(l))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}})(s,i)(...o):r(null,...o)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new ne,t=-1;for(;++t<this.attachers.length;){let n=this.attachers[t];e.use(...n)}return e.data(tG(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(ni("data",this.frozen),this.namespace[e]=t,this):t8.call(this.namespace,e)&&this.namespace[e]||void 0:e?(ni("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let n=e.call(this,...t);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=ns(e),n=this.parser||this.Parser;return nn("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),nn("process",this.parser||this.Parser),nr("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let o=ns(e),s=n.parse(o);function a(e,n){e||!n?i(e):r?r(n):((0,l.ok)(t,"`done` is defined if `resolve` is not"),t(void 0,n))}n.run(s,o,function(e,t,r){var i,l;if(e||!t||!r)return a(e);let o=n.stringify(t,r);"string"==typeof(i=o)||(l=i)&&"object"==typeof l&&"byteLength"in l&&"byteOffset"in l?r.value=o:r.result=o,a(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),nn("processSync",this.parser||this.Parser),nr("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,tB(e),t=r}),no("processSync","process",n),(0,l.ok)(t,"we either bailed on an error or have a tree"),t}run(e,t,n){nl(e),this.freeze();let r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,o){(0,l.ok)("function"!=typeof t,"`file` can’t be a `done` anymore, we checked");let s=ns(t);r.run(e,s,function(t,r,s){let a=r||e;t?o(t):i?i(a):((0,l.ok)(n,"`done` is defined if `resolve` is not"),n(void 0,a,s))})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){tB(e),n=t,r=!0}),no("runSync","run",r),(0,l.ok)(n,"we either bailed on an error or have a tree"),n}stringify(e,t){this.freeze();let n=ns(t),r=this.compiler||this.Compiler;return nr("stringify",r),nl(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(ni("use",this.frozen),null==e);else if("function"==typeof e)o(e,t);else if("object"==typeof e)Array.isArray(e)?l(e):i(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");l(e.plugins),e.settings&&(r.settings=tG(!0,r.settings,e.settings))}function l(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;)!function(e){if("function"==typeof e)o(e,[]);else if("object"==typeof e)if(Array.isArray(e)){let[t,...n]=e;o(t,n)}else i(e);else throw TypeError("Expected usable value, not `"+e+"`")}(e[t]);else throw TypeError("Expected a list of plugins, not `"+e+"`")}function o(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(-1===i)n.push([e,...t]);else if(t.length>0){let[r,...l]=t,o=n[i][1];tF(o)&&tF(r)&&(r=tG(!0,o,r)),n[i]=[e,r,...l]}}}}let nt=new ne().freeze();function nn(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function nr(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function ni(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function nl(e){if(!tF(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function no(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function ns(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new t4(e)}let na=[],nc={allowDangerousHtml:!0},nu=/^(https?|ircs?|mailto|xmpp)$/i,nh=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function nf(e){var t;let n,r,i,o,s,a=(n=(t=e).rehypePlugins||na,r=t.remarkPlugins||na,i=t.remarkRehypeOptions?{...t.remarkRehypeOptions,...nc}:nc,nt().use(tv).use(r).use(tU,i).use(n)),c=(o=e.children||"",s=new t4,"string"==typeof o?s.value=o:(0,l.HB)("Unexpected value `"+o+"` for `children` prop, expected `string`"),s);return function(e,t){let n=t.allowedElements,r=t.allowElement,i=t.components,o=t.disallowedElements,s=t.skipHtml,a=t.unwrapDisallowed,c=t.urlTransform||nO;for(let e of nh)Object.hasOwn(t,e.from)&&(0,l.HB)("Unexpected `"+e.from+"` prop, "+(e.to?"use `"+e.to+"` instead":"remove it")+" (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#"+e.id+"> for more info)");return n&&o&&(0,l.HB)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),(0,tR.YR)(e,function(e,t,i){if("raw"===e.type&&i&&"number"==typeof t)return s?i.children.splice(t,1):i.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in ef)if(Object.hasOwn(ef,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=ef[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=c(String(n||""),t,e))}}if("element"===e.type){let l=n?!n.includes(e.tagName):!!o&&o.includes(e.tagName);if(!l&&r&&"number"==typeof t&&(l=!r(e,t,i)),l&&i&&"number"==typeof t)return a&&e.children?i.children.splice(t,1,...e.children):i.children.splice(t,1),t}}),function(e,t){var n,r,i,l;let o;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let s=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=s,r=t.jsxDEV,o=function(e,t,i,l){let o=Array.isArray(i.children),s=N(e);return r(t,i,l,o,{columnNumber:s?s.column-1:void 0,fileName:n,lineNumber:s?s.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");i=t.jsx,l=t.jsxs,o=function(e,t,n,r){let o=Array.isArray(n.children)?l:i;return r?o(t,n,r):o(t,n)}}let a={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:o,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:s,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?E:z,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},c=el(a,e,void 0);return c&&"string"!=typeof c?c:a.create(e,a.Fragment,{children:c||void 0},void 0)}(e,{Fragment:eO.Fragment,components:i,ignoreInvalidStyle:!0,jsx:eO.jsx,jsxs:eO.jsxs,passKeys:!0,passNode:!0})}(a.runSync(a.parse(c),c),e)}function nO(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return -1===t||-1!==i&&t>i||-1!==n&&t>n||-1!==r&&t>r||nu.test(e.slice(0,t))?e:""}},9326:e=>{var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,l=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},o=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),l=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!l)return!1;for(r in e);return void 0===r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},a=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;else if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,c,u,h=arguments[0],f=1,O=arguments.length,d=!1;for("boolean"==typeof h&&(d=h,h=arguments[1]||{},f=2),(null==h||"object"!=typeof h&&"function"!=typeof h)&&(h={});f<O;++f)if(t=arguments[f],null!=t)for(n in t)r=a(h,n),h!==(i=a(t,n))&&(d&&i&&(o(i)||(c=l(i)))?(c?(c=!1,u=r&&l(r)?r:[]):u=r&&o(r)?r:{},s(h,{name:n,newValue:e(d,u,i)})):void 0!==i&&s(h,{name:n,newValue:i}));return h}},9359:(e,t,n)=>{n.d(t,{W:()=>r});function r(e,t,n){let r=[],i=-1;for(;++i<e.length;){let l=e[i].resolveAll;l&&!r.includes(l)&&(t=l(t,n),r.push(l))}return t}},9434:(e,t,n)=>{let r;n.d(t,{wD:()=>re,Sz:()=>n0});var i,l,o=n(7071),s=n(9561),a=n(6732),c=n(2161),u=n(6829),h=n(2638);class f{static create(e,t,n,r,i){return new f(e,t,n,r+(r<<8)+e+(t<<4)|0,i,[],[])}constructor(e,t,n,r,i,l,o){this.type=e,this.value=t,this.from=n,this.hash=r,this.end=i,this.children=l,this.positions=o,this.hashProp=[[u.uY.contextHash,r]]}addChild(e,t){e.prop(u.uY.contextHash)!=this.hash&&(e=new u.PH(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(t)}toTree(e,t=this.end){let n=this.children.length-1;return n>=0&&(t=Math.max(t,this.positions[n]+this.children[n].length+this.from)),new u.PH(e.types[this.type],this.children,this.positions,t-this.from).balance({makeTree:(e,t,n)=>new u.PH(u.Z6.none,e,t,n,this.hashProp)})}}(i=l||(l={}))[i.Document=1]="Document",i[i.CodeBlock=2]="CodeBlock",i[i.FencedCode=3]="FencedCode",i[i.Blockquote=4]="Blockquote",i[i.HorizontalRule=5]="HorizontalRule",i[i.BulletList=6]="BulletList",i[i.OrderedList=7]="OrderedList",i[i.ListItem=8]="ListItem",i[i.ATXHeading1=9]="ATXHeading1",i[i.ATXHeading2=10]="ATXHeading2",i[i.ATXHeading3=11]="ATXHeading3",i[i.ATXHeading4=12]="ATXHeading4",i[i.ATXHeading5=13]="ATXHeading5",i[i.ATXHeading6=14]="ATXHeading6",i[i.SetextHeading1=15]="SetextHeading1",i[i.SetextHeading2=16]="SetextHeading2",i[i.HTMLBlock=17]="HTMLBlock",i[i.LinkReference=18]="LinkReference",i[i.Paragraph=19]="Paragraph",i[i.CommentBlock=20]="CommentBlock",i[i.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",i[i.Escape=22]="Escape",i[i.Entity=23]="Entity",i[i.HardBreak=24]="HardBreak",i[i.Emphasis=25]="Emphasis",i[i.StrongEmphasis=26]="StrongEmphasis",i[i.Link=27]="Link",i[i.Image=28]="Image",i[i.InlineCode=29]="InlineCode",i[i.HTMLTag=30]="HTMLTag",i[i.Comment=31]="Comment",i[i.ProcessingInstruction=32]="ProcessingInstruction",i[i.Autolink=33]="Autolink",i[i.HeaderMark=34]="HeaderMark",i[i.QuoteMark=35]="QuoteMark",i[i.ListMark=36]="ListMark",i[i.LinkMark=37]="LinkMark",i[i.EmphasisMark=38]="EmphasisMark",i[i.CodeMark=39]="CodeMark",i[i.CodeText=40]="CodeText",i[i.CodeInfo=41]="CodeInfo",i[i.LinkTitle=42]="LinkTitle",i[i.LinkLabel=43]="LinkLabel",i[i.URL=44]="URL";class O{constructor(e,t){this.start=e,this.content=t,this.marks=[],this.parsers=[]}}class d{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return y(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,t=0,n=0){for(let r=t;r<e;r++)n+=9==this.text.charCodeAt(r)?4-n%4:1;return n}findColumn(e){let t=0;for(let n=0;t<this.text.length&&n<e;t++)n+=9==this.text.charCodeAt(t)?4-n%4:1;return t}scrub(){if(!this.baseIndent)return this.text;let e="";for(let t=0;t<this.basePos;t++)e+=" ";return e+this.text.slice(this.basePos)}}function p(e,t,n){if(n.pos==n.text.length||e!=t.block&&n.indent>=t.stack[n.depth+1].value+n.baseIndent)return!0;if(n.indent>=n.baseIndent+4)return!1;let r=(e.type==l.OrderedList?w:S)(n,t,!1);return r>0&&(e.type!=l.BulletList||0>v(n,t,!1))&&n.text.charCodeAt(n.pos+r-1)==e.value}let m={[l.Blockquote]:(e,t,n)=>62==n.next&&(n.markers.push(F(l.QuoteMark,t.lineStart+n.pos,t.lineStart+n.pos+1)),n.moveBase(n.pos+(g(n.text.charCodeAt(n.pos+1))?2:1)),e.end=t.lineStart+n.text.length,!0),[l.ListItem]:(e,t,n)=>(!(n.indent<n.baseIndent+e.value)||!(n.next>-1))&&(n.moveBaseColumn(n.baseIndent+e.value),!0),[l.OrderedList]:p,[l.BulletList]:p,[l.Document]:()=>!0};function g(e){return 32==e||9==e||10==e||13==e}function y(e,t=0){for(;t<e.length&&g(e.charCodeAt(t));)t++;return t}function x(e,t,n){for(;t>n&&g(e.charCodeAt(t-1));)t--;return t}function k(e){if(96!=e.next&&126!=e.next)return -1;let t=e.pos+1;for(;t<e.text.length&&e.text.charCodeAt(t)==e.next;)t++;if(t<e.pos+3)return -1;if(96==e.next){for(let n=t;n<e.text.length;n++)if(96==e.text.charCodeAt(n))return -1}return t}function b(e){return 62!=e.next?-1:32==e.text.charCodeAt(e.pos+1)?2:1}function v(e,t,n){if(42!=e.next&&45!=e.next&&95!=e.next)return -1;let r=1;for(let t=e.pos+1;t<e.text.length;t++){let n=e.text.charCodeAt(t);if(n==e.next)r++;else if(!g(n))return -1}return n&&45==e.next&&P(e)>-1&&e.depth==t.stack.length&&t.parser.leafBlockParsers.indexOf(Y.SetextHeading)>-1||r<3?-1:1}function Q(e,t){for(let n=e.stack.length-1;n>=0;n--)if(e.stack[n].type==t)return!0;return!1}function S(e,t,n){return(45==e.next||43==e.next||42==e.next)&&(e.pos==e.text.length-1||g(e.text.charCodeAt(e.pos+1)))&&(!n||Q(t,l.BulletList)||e.skipSpace(e.pos+2)<e.text.length)?1:-1}function w(e,t,n){let r=e.pos,i=e.next;for(;i>=48&&i<=57;){if(++r==e.text.length)return -1;i=e.text.charCodeAt(r)}return r==e.pos||r>e.pos+9||46!=i&&41!=i||r<e.text.length-1&&!g(e.text.charCodeAt(r+1))||n&&!Q(t,l.OrderedList)&&(e.skipSpace(r+1)==e.text.length||r>e.pos+1||49!=e.next)?-1:r+1-e.pos}function $(e){if(35!=e.next)return -1;let t=e.pos+1;for(;t<e.text.length&&35==e.text.charCodeAt(t);)t++;if(t<e.text.length&&32!=e.text.charCodeAt(t))return -1;let n=t-e.pos;return n>6?-1:n}function P(e){if(45!=e.next&&61!=e.next||e.indent>=e.baseIndent+4)return -1;let t=e.pos+1;for(;t<e.text.length&&e.text.charCodeAt(t)==e.next;)t++;let n=t;for(;t<e.text.length&&g(e.text.charCodeAt(t));)t++;return t==e.text.length?n:-1}let Z=/^[ \t]*$/,T=/-->/,X=/\?>/,A=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,T],[/^\s*<\?/,X],[/^\s*<![A-Z]/,/>/],[/^\s*<!\[CDATA\[/,/\]\]>/],[/^\s*<\/?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h1|h2|h3|h4|h5|h6|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|\/?>|$)/i,Z],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,Z]];function C(e,t,n){if(60!=e.next)return -1;let r=e.text.slice(e.pos);for(let e=0,t=A.length-!!n;e<t;e++)if(A[e][0].test(r))return e;return -1}function _(e,t){let n=e.countIndent(t,e.pos,e.indent),r=e.countIndent(e.skipSpace(t),t,n);return r>=n+5?n+1:r}function R(e,t,n){let r=e.length-1;r>=0&&e[r].to==t&&e[r].type==l.CodeText?e[r].to=n:e.push(F(l.CodeText,t,n))}let j={LinkReference:void 0,IndentedCode(e,t){let n=t.baseIndent+4;if(t.indent<n)return!1;let r=t.findColumn(n),i=e.lineStart+r,o=e.lineStart+t.text.length,s=[],a=[];for(R(s,i,o);e.nextLine()&&t.depth>=e.stack.length;)if(t.pos==t.text.length)for(let n of(R(a,e.lineStart-1,e.lineStart),t.markers))a.push(n);else if(t.indent<n)break;else{if(a.length){for(let e of a)e.type==l.CodeText?R(s,e.from,e.to):s.push(e);a=[]}for(let n of(R(s,e.lineStart-1,e.lineStart),t.markers))s.push(n);o=e.lineStart+t.text.length;let n=e.lineStart+t.findColumn(t.baseIndent+4);n<o&&R(s,n,o)}return a.length&&(a=a.filter(e=>e.type!=l.CodeText)).length&&(t.markers=a.concat(t.markers)),e.addNode(e.buffer.writeElements(s,-i).finish(l.CodeBlock,o-i),i),!0},FencedCode(e,t){let n=k(t);if(n<0)return!1;let r=e.lineStart+t.pos,i=t.next,o=n-t.pos,s=t.skipSpace(n),a=x(t.text,t.text.length,s),c=[F(l.CodeMark,r,r+o)];s<a&&c.push(F(l.CodeInfo,e.lineStart+s,e.lineStart+a));for(let n=!0,r=!0,s=!1;e.nextLine()&&t.depth>=e.stack.length;n=!1){let a=t.pos;if(t.indent-t.baseIndent<4)for(;a<t.text.length&&t.text.charCodeAt(a)==i;)a++;if(a-t.pos>=o&&t.skipSpace(a)==t.text.length){for(let e of t.markers)c.push(e);r&&s&&R(c,e.lineStart-1,e.lineStart),c.push(F(l.CodeMark,e.lineStart+t.pos,e.lineStart+a)),e.nextLine();break}{for(let i of(s=!0,n||(R(c,e.lineStart-1,e.lineStart),r=!1),t.markers))c.push(i);let i=e.lineStart+t.basePos,l=e.lineStart+t.text.length;i<l&&(R(c,i,l),r=!1)}}return e.addNode(e.buffer.writeElements(c,-r).finish(l.FencedCode,e.prevLineEnd()-r),r),!0},Blockquote(e,t){let n=b(t);return!(n<0)&&(e.startContext(l.Blockquote,t.pos),e.addNode(l.QuoteMark,e.lineStart+t.pos,e.lineStart+t.pos+1),t.moveBase(t.pos+n),null)},HorizontalRule(e,t){if(0>v(t,e,!1))return!1;let n=e.lineStart+t.pos;return e.nextLine(),e.addNode(l.HorizontalRule,n),!0},BulletList(e,t){let n=S(t,e,!1);if(n<0)return!1;e.block.type!=l.BulletList&&e.startContext(l.BulletList,t.basePos,t.next);let r=_(t,t.pos+1);return e.startContext(l.ListItem,t.basePos,r-t.baseIndent),e.addNode(l.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+n),t.moveBaseColumn(r),null},OrderedList(e,t){let n=w(t,e,!1);if(n<0)return!1;e.block.type!=l.OrderedList&&e.startContext(l.OrderedList,t.basePos,t.text.charCodeAt(t.pos+n-1));let r=_(t,t.pos+n);return e.startContext(l.ListItem,t.basePos,r-t.baseIndent),e.addNode(l.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+n),t.moveBaseColumn(r),null},ATXHeading(e,t){let n=$(t);if(n<0)return!1;let r=t.pos,i=e.lineStart+r,o=x(t.text,t.text.length,r),s=o;for(;s>r&&t.text.charCodeAt(s-1)==t.next;)s--;s!=o&&s!=r&&g(t.text.charCodeAt(s-1))||(s=t.text.length);let a=e.buffer.write(l.HeaderMark,0,n).writeElements(e.parser.parseInline(t.text.slice(r+n+1,s),i+n+1),-i);s<t.text.length&&a.write(l.HeaderMark,s-r,o-r);let c=a.finish(l.ATXHeading1-1+n,t.text.length-r);return e.nextLine(),e.addNode(c,i),!0},HTMLBlock(e,t){let n=C(t,e,!1);if(n<0)return!1;let r=e.lineStart+t.pos,i=A[n][1],o=[],s=i!=Z;for(;!i.test(t.text)&&e.nextLine();){if(t.depth<e.stack.length){s=!1;break}for(let e of t.markers)o.push(e)}s&&e.nextLine();let a=i==T?l.CommentBlock:i==X?l.ProcessingInstructionBlock:l.HTMLBlock,c=e.prevLineEnd();return e.addNode(e.buffer.writeElements(o,-r).finish(a,c-r),r),!0},SetextHeading:void 0};class z{constructor(e){this.stage=0,this.elts=[],this.pos=0,this.start=e.start,this.advance(e.content)}nextLine(e,t,n){if(-1==this.stage)return!1;let r=n.content+"\n"+t.scrub(),i=this.advance(r);return i>-1&&i<r.length&&this.complete(e,n,i)}finish(e,t){return(2==this.stage||3==this.stage)&&y(t.content,this.pos)==t.content.length&&this.complete(e,t,t.content.length)}complete(e,t,n){return e.addLeafElement(t,F(l.LinkReference,this.start,this.start+n,this.elts)),!0}nextStage(e){return e?(this.pos=e.to-this.start,this.elts.push(e),this.stage++,!0):(!1===e&&(this.stage=-1),!1)}advance(e){for(;;)if(-1==this.stage)return -1;else if(0==this.stage){if(!this.nextStage(es(e,this.pos,this.start,!0)))return -1;if(58!=e.charCodeAt(this.pos))return this.stage=-1;this.elts.push(F(l.LinkMark,this.pos+this.start,this.pos+this.start+1)),this.pos++}else if(1==this.stage){if(!this.nextStage(el(e,y(e,this.pos),this.start)))return -1}else{if(2!=this.stage)return E(e,this.pos);let t=y(e,this.pos),n=0;if(t>this.pos){let r=eo(e,t,this.start);if(r){let t=E(e,r.to-this.start);t>0&&(this.nextStage(r),n=t)}}return n||(n=E(e,this.pos)),n>0&&n<e.length?n:-1}}}function E(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(10==n)break;if(!g(n))return -1}return t}class M{nextLine(e,t,n){let r=t.depth<e.stack.length?-1:P(t),i=t.next;if(r<0)return!1;let o=F(l.HeaderMark,e.lineStart+t.pos,e.lineStart+r);return e.nextLine(),e.addLeafElement(n,F(61==i?l.SetextHeading1:l.SetextHeading2,n.start,e.prevLineEnd(),[...e.parser.parseInline(n.content,n.start),o])),!0}finish(){return!1}}let Y={LinkReference:(e,t)=>91==t.content.charCodeAt(0)?new z(t):null,SetextHeading:()=>new M},L={text:"",end:0};class I{constructor(e,t,n,r){this.parser=e,this.input=t,this.ranges=r,this.line=new d,this.atEnd=!1,this.reusePlaceholders=new Map,this.stoppedAt=null,this.rangeI=0,this.to=r[r.length-1].to,this.lineStart=this.absoluteLineStart=this.absoluteLineEnd=r[0].from,this.block=f.create(l.Document,0,this.lineStart,0,0),this.stack=[this.block],this.fragments=n.length?new eh(n,t):null,this.readLine()}get parsedPos(){return this.absoluteLineStart}advance(){if(null!=this.stoppedAt&&this.absoluteLineStart>this.stoppedAt)return this.finish();let{line:e}=this;for(;;){for(let t=0;;){let n=e.depth<this.stack.length?this.stack[this.stack.length-1]:null;for(;t<e.markers.length&&(!n||e.markers[t].from<n.end);){let n=e.markers[t++];this.addNode(n.type,n.from,n.to)}if(!n)break;this.finishContext()}if(e.pos<e.text.length)break;if(!this.nextLine())return this.finish()}if(this.fragments&&this.reuseFragment(e.basePos))return null;i:for(;;){for(let t of this.parser.blockParsers)if(t){let n=t(this,e);if(!1!=n){if(!0==n)return null;e.forward();continue i}}break}let t=new O(this.lineStart+e.pos,e.text.slice(e.pos));for(let e of this.parser.leafBlockParsers)if(e){let n=e(this,t);n&&t.parsers.push(n)}l:for(;this.nextLine()&&e.pos!=e.text.length;){if(e.indent<e.baseIndent+4){for(let n of this.parser.endLeafBlock)if(n(this,e,t))break l}for(let n of t.parsers)if(n.nextLine(this,e,t))return null;for(let n of(t.content+="\n"+e.scrub(),e.markers))t.marks.push(n)}return this.finishLeaf(t),null}stopAt(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw RangeError("Can't move stoppedAt forward");this.stoppedAt=e}reuseFragment(e){if(!this.fragments.moveTo(this.absoluteLineStart+e,this.absoluteLineStart)||!this.fragments.matches(this.block.hash))return!1;let t=this.fragments.takeNodes(this);return!!t&&(this.absoluteLineStart+=t,this.lineStart=ef(this.absoluteLineStart,this.ranges),this.moveRangeI(),this.absoluteLineStart<this.to?(this.lineStart++,this.absoluteLineStart++):this.atEnd=!0,this.readLine(),!0)}get depth(){return this.stack.length}parentType(e=this.depth-1){return this.parser.nodeSet.types[this.stack[e].type]}nextLine(){return(this.lineStart+=this.line.text.length,this.absoluteLineEnd>=this.to)?(this.absoluteLineStart=this.absoluteLineEnd,this.atEnd=!0,this.readLine(),!1):(this.lineStart++,this.absoluteLineStart=this.absoluteLineEnd+1,this.moveRangeI(),this.readLine(),!0)}peekLine(){return this.scanLine(this.absoluteLineEnd+1).text}moveRangeI(){for(;this.rangeI<this.ranges.length-1&&this.absoluteLineStart>=this.ranges[this.rangeI].to;)this.rangeI++,this.absoluteLineStart=Math.max(this.absoluteLineStart,this.ranges[this.rangeI].from)}scanLine(e){if(L.end=e,e>=this.to)L.text="";else if(L.text=this.lineChunkAt(e),L.end+=L.text.length,this.ranges.length>1){let e=this.absoluteLineStart,t=this.rangeI;for(;this.ranges[t].to<L.end;){t++;let n=this.ranges[t].from,r=this.lineChunkAt(n);L.end=n+r.length,L.text=L.text.slice(0,this.ranges[t-1].to-e)+r,e=L.end-L.text.length}}return L}readLine(){let{line:e}=this,{text:t,end:n}=this.scanLine(this.absoluteLineStart);for(this.absoluteLineEnd=n,e.reset(t);e.depth<this.stack.length;e.depth++){let t=this.stack[e.depth],n=this.parser.skipContextMarkup[t.type];if(!n)throw Error("Unhandled block context "+l[t.type]);let r=this.line.markers.length;if(!n(t,this,e)){this.line.markers.length>r&&(t.end=this.line.markers[this.line.markers.length-1].to),e.forward();break}e.forward()}}lineChunkAt(e){let t=this.input.chunk(e),n;if(this.input.lineChunks)n="\n"==t?"":t;else{let e=t.indexOf("\n");n=e<0?t:t.slice(0,e)}return e+n.length>this.to?n.slice(0,this.to-e):n}prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1}startContext(e,t,n=0){this.block=f.create(e,n,this.lineStart+t,this.block.hash,this.lineStart+this.line.text.length),this.stack.push(this.block)}startComposite(e,t,n=0){this.startContext(this.parser.getNodeType(e),t,n)}addNode(e,t,n){"number"==typeof e&&(e=new u.PH(this.parser.nodeSet.types[e],N,N,(null!=n?n:this.prevLineEnd())-t)),this.block.addChild(e,t-this.block.from)}addElement(e){this.block.addChild(e.toTree(this.parser.nodeSet),e.from-this.block.from)}addLeafElement(e,t){this.addNode(this.buffer.writeElements(ec(t.children,e.marks),-t.from).finish(t.type,t.to-t.from),t.from)}finishContext(){let e=this.stack.pop(),t=this.stack[this.stack.length-1];t.addChild(e.toTree(this.parser.nodeSet),e.from-t.from),this.block=t}finish(){for(;this.stack.length>1;)this.finishContext();return this.addGaps(this.block.toTree(this.parser.nodeSet,this.lineStart))}addGaps(e){return this.ranges.length>1?function e(t,n,r,i,l){let o=t[n].to,s=[],a=[],c=r.from+i;function h(e,r){for(;r?e>=o:e>o;){let r=t[n+1].from-o;i+=r,e+=r,o=t[++n].to}}for(let u=r.firstChild;u;u=u.nextSibling){h(u.from+i,!0);let r=u.from+i,f,O=l.get(u.tree);O?f=O:u.to+i>o?(f=e(t,n,u,i,l),h(u.to+i,!1)):f=u.toTree(),s.push(f),a.push(r-c)}return h(r.to+i,!1),new u.PH(r.type,s,a,r.to+i-c,r.tree?r.tree.propValues:void 0)}(this.ranges,0,e.topNode,this.ranges[0].from,this.reusePlaceholders):e}finishLeaf(e){for(let t of e.parsers)if(t.finish(this,e))return;let t=ec(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(t,-e.start).finish(l.Paragraph,e.content.length),e.start)}elt(e,t,n,r){return"string"==typeof e?F(this.parser.getNodeType(e),t,n,r):new G(e,t)}get buffer(){return new U(this.parser.nodeSet)}}class q extends u.iX{constructor(e,t,n,r,i,l,o,s,a){for(let c of(super(),this.nodeSet=e,this.blockParsers=t,this.leafBlockParsers=n,this.blockNames=r,this.endLeafBlock=i,this.skipContextMarkup=l,this.inlineParsers=o,this.inlineNames=s,this.wrappers=a,this.nodeTypes=Object.create(null),e.types))this.nodeTypes[c.name]=c.id}createParse(e,t,n){let r=new I(this,e,t,n);for(let i of this.wrappers)r=i(r,e,t,n);return r}configure(e){let t=function e(t){if(!Array.isArray(t))return t;if(0==t.length)return null;let n=e(t[0]);if(1==t.length)return n;let r=e(t.slice(1));if(!r||!n)return n||r;let i=(e,t)=>(e||N).concat(t||N),l=n.wrap,o=r.wrap;return{props:i(n.props,r.props),defineNodes:i(n.defineNodes,r.defineNodes),parseBlock:i(n.parseBlock,r.parseBlock),parseInline:i(n.parseInline,r.parseInline),remove:i(n.remove,r.remove),wrap:l?o?(e,t,n,r)=>l(o(e,t,n,r),t,n,r):l:o}}(e);if(!t)return this;let{nodeSet:n,skipContextMarkup:r}=this,i=this.blockParsers.slice(),o=this.leafBlockParsers.slice(),s=this.blockNames.slice(),a=this.inlineParsers.slice(),c=this.inlineNames.slice(),f=this.endLeafBlock.slice(),O=this.wrappers;if(V(t.defineNodes)){r=Object.assign({},r);let e=n.types.slice(),i;for(let n of t.defineNodes){let{name:t,block:o,composite:s,style:a}="string"==typeof n?{name:n}:n;if(e.some(e=>e.name==t))continue;s&&(r[e.length]=(e,t,n)=>s(t,n,e.value));let c=e.length,f=s?["Block","BlockContext"]:o?c>=l.ATXHeading1&&c<=l.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void 0;e.push(u.Z6.define({id:c,name:t,props:f&&[[u.uY.group,f]]})),a&&(i||(i={}),Array.isArray(a)||a instanceof h.vw?i[t]=a:Object.assign(i,a))}n=new u.fI(e),i&&(n=n.extend((0,h.pn)(i)))}if(V(t.props)&&(n=n.extend(...t.props)),V(t.remove))for(let e of t.remove){let t=this.blockNames.indexOf(e),n=this.inlineNames.indexOf(e);t>-1&&(i[t]=o[t]=void 0),n>-1&&(a[n]=void 0)}if(V(t.parseBlock))for(let e of t.parseBlock){let t=s.indexOf(e.name);if(t>-1)i[t]=e.parse,o[t]=e.leaf;else{let t=e.before?D(s,e.before):e.after?D(s,e.after)+1:s.length-1;i.splice(t,0,e.parse),o.splice(t,0,e.leaf),s.splice(t,0,e.name)}e.endLeaf&&f.push(e.endLeaf)}if(V(t.parseInline))for(let e of t.parseInline){let t=c.indexOf(e.name);if(t>-1)a[t]=e.parse;else{let t=e.before?D(c,e.before):e.after?D(c,e.after)+1:c.length-1;a.splice(t,0,e.parse),c.splice(t,0,e.name)}}return t.wrap&&(O=O.concat(t.wrap)),new q(n,i,o,s,f,r,a,c,O)}getNodeType(e){let t=this.nodeTypes[e];if(null==t)throw RangeError(`Unknown node type '${e}'`);return t}parseInline(e,t){let n=new ea(this,e,t);o:for(let e=t;e<n.end;){let t=n.char(e);for(let r of this.inlineParsers)if(r){let i=r(n,t,e);if(i>=0){e=i;continue o}}e++}return n.resolveMarkers(0)}}function V(e){return null!=e&&e.length>0}function D(e,t){let n=e.indexOf(t);if(n<0)throw RangeError(`Position specified relative to unknown parser ${t}`);return n}let W=[u.Z6.none];for(let e=1,t;t=l[e];e++)W[e]=u.Z6.define({id:e,name:t,props:e>=l.Escape?[]:[[u.uY.group,e in m?["Block","BlockContext"]:["Block","LeafBlock"]]],top:"Document"==t});let N=[];class U{constructor(e){this.nodeSet=e,this.content=[],this.nodes=[]}write(e,t,n,r=0){return this.content.push(e,t,n,4+4*r),this}writeElements(e,t=0){for(let n of e)n.writeTo(this,t);return this}finish(e,t){return u.PH.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:e,length:t})}}class B{constructor(e,t,n,r=N){this.type=e,this.from=t,this.to=n,this.children=r}writeTo(e,t){let n=e.content.length;e.writeElements(this.children,t),e.content.push(this.type,this.from+t,this.to+t,e.content.length+4-n)}toTree(e){return new U(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}}class G{constructor(e,t){this.tree=e,this.from=t}get to(){return this.from+this.tree.length}get type(){return this.tree.type.id}get children(){return N}writeTo(e,t){e.nodes.push(this.tree),e.content.push(e.nodes.length-1,this.from+t,this.to+t,-1)}toTree(){return this.tree}}function F(e,t,n,r){return new B(e,t,n,r)}let H={resolve:"Emphasis",mark:"EmphasisMark"},J={resolve:"Emphasis",mark:"EmphasisMark"},K={},ee={};class et{constructor(e,t,n,r){this.type=e,this.from=t,this.to=n,this.side=r}}let en="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~",er=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{er=RegExp("[\\p{S}|\\p{P}]","u")}catch(e){}let ei={Escape(e,t,n){if(92!=t||n==e.end-1)return -1;let r=e.char(n+1);for(let t=0;t<en.length;t++)if(en.charCodeAt(t)==r)return e.append(F(l.Escape,n,n+2));return -1},Entity(e,t,n){if(38!=t)return -1;let r=/^(?:#\d+|#x[a-f\d]+|\w+);/i.exec(e.slice(n+1,n+31));return r?e.append(F(l.Entity,n,n+1+r[0].length)):-1},InlineCode(e,t,n){if(96!=t||n&&96==e.char(n-1))return -1;let r=n+1;for(;r<e.end&&96==e.char(r);)r++;let i=r-n,o=0;for(;r<e.end;r++)if(96==e.char(r)){if(++o==i&&96!=e.char(r+1))return e.append(F(l.InlineCode,n,r+1,[F(l.CodeMark,n,n+i),F(l.CodeMark,r+1-i,r+1)]))}else o=0;return -1},HTMLTag(e,t,n){if(60!=t||n==e.end-1)return -1;let r=e.slice(n+1,e.end),i=/^(?:[a-z][-\w+.]+:[^\s>]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i.exec(r);if(i)return e.append(F(l.Autolink,n,n+1+i[0].length,[F(l.LinkMark,n,n+1),F(l.URL,n+1,n+i[0].length),F(l.LinkMark,n+i[0].length,n+1+i[0].length)]));let o=/^!--[^>](?:-[^-]|[^-])*?-->/i.exec(r);if(o)return e.append(F(l.Comment,n,n+1+o[0].length));let s=/^\?[^]*?\?>/.exec(r);if(s)return e.append(F(l.ProcessingInstruction,n,n+1+s[0].length));let a=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(r);return a?e.append(F(l.HTMLTag,n,n+1+a[0].length)):-1},Emphasis(e,t,n){if(95!=t&&42!=t)return -1;let r=n+1;for(;e.char(r)==t;)r++;let i=e.slice(n-1,n),l=e.slice(r,r+1),o=er.test(i),s=er.test(l),a=/\s|^$/.test(i),c=/\s|^$/.test(l),u=!c&&(!s||a||o),h=!a&&(!o||c||s);return e.append(new et(95==t?H:J,n,r,!!(u&&(42==t||!h||o))|2*!!(h&&(42==t||!u||s))))},HardBreak(e,t,n){if(92==t&&10==e.char(n+1))return e.append(F(l.HardBreak,n,n+2));if(32==t){let t=n+1;for(;32==e.char(t);)t++;if(10==e.char(t)&&t>=n+2)return e.append(F(l.HardBreak,n,t+1))}return -1},Link:(e,t,n)=>91==t?e.append(new et(K,n,n+1,1)):-1,Image:(e,t,n)=>33==t&&91==e.char(n+1)?e.append(new et(ee,n,n+2,1)):-1,LinkEnd(e,t,n){if(93!=t)return -1;for(let t=e.parts.length-1;t>=0;t--){let r=e.parts[t];if(r instanceof et&&(r.type==K||r.type==ee)){if(!r.side||e.skipSpace(r.to)==n&&!/[(\[]/.test(e.slice(n+1,n+2)))return e.parts[t]=null,-1;let i=e.takeContent(t),o=e.parts[t]=function(e,t,n,r,i){let{text:o}=e,s=e.char(i),a=i;if(t.unshift(F(l.LinkMark,r,r+(n==l.Image?2:1))),t.push(F(l.LinkMark,i-1,i)),40==s){let n=e.skipSpace(i+1),r=el(o,n-e.offset,e.offset),s;r&&(n=e.skipSpace(r.to))!=r.to&&(s=eo(o,n-e.offset,e.offset))&&(n=e.skipSpace(s.to)),41==e.char(n)&&(t.push(F(l.LinkMark,i,i+1)),a=n+1,r&&t.push(r),s&&t.push(s),t.push(F(l.LinkMark,n,a)))}else if(91==s){let n=es(o,i-e.offset,e.offset,!1);n&&(t.push(n),a=n.to)}return F(n,r,a,t)}(e,i,r.type==K?l.Link:l.Image,r.from,n+1);if(r.type==K)for(let n=0;n<t;n++){let t=e.parts[n];t instanceof et&&t.type==K&&(t.side=0)}return o.to}}return -1}};function el(e,t,n){if(60==e.charCodeAt(t)){for(let r=t+1;r<e.length;r++){let i=e.charCodeAt(r);if(62==i)return F(l.URL,t+n,r+1+n);if(60==i||10==i)return!1}return null}{let r=0,i=t;for(let t=!1;i<e.length;i++){let n=e.charCodeAt(i);if(g(n))break;if(t)t=!1;else if(40==n)r++;else if(41==n){if(!r)break;r--}else 92==n&&(t=!0)}return i>t?F(l.URL,t+n,i+n):i==e.length&&null}}function eo(e,t,n){let r=e.charCodeAt(t);if(39!=r&&34!=r&&40!=r)return!1;let i=40==r?41:r;for(let r=t+1,o=!1;r<e.length;r++){let s=e.charCodeAt(r);if(o)o=!1;else{if(s==i)return F(l.LinkTitle,t+n,r+1+n);92==s&&(o=!0)}}return null}function es(e,t,n,r){for(let i=!1,o=t+1,s=Math.min(e.length,o+999);o<s;o++){let s=e.charCodeAt(o);if(i)i=!1;else{if(93==s)return!r&&F(l.LinkLabel,t+n,o+1+n);if(r&&!g(s)&&(r=!1),91==s)return!1;92==s&&(i=!0)}}return null}class ea{constructor(e,t,n){this.parser=e,this.text=t,this.offset=n,this.parts=[]}char(e){return e>=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,t){return this.text.slice(e-this.offset,t-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,t,n,r,i){return this.append(new et(e,t,n,!!r|2*!!i))}get hasOpenLink(){for(let e=this.parts.length-1;e>=0;e--){let t=this.parts[e];if(t instanceof et&&(t.type==K||t.type==ee))return!0}return!1}addElement(e){return this.append(e)}resolveMarkers(e){for(let t=e;t<this.parts.length;t++){let n=this.parts[t];if(!(n instanceof et&&n.type.resolve&&2&n.side))continue;let r=n.type==H||n.type==J,i=n.to-n.from,l,o=t-1;for(;o>=e;o--){let e=this.parts[o];if(e instanceof et&&1&e.side&&e.type==n.type&&!(r&&(1&n.side||2&e.side)&&(e.to-e.from+i)%3==0&&((e.to-e.from)%3||i%3))){l=e;break}}if(!l)continue;let s=n.type.resolve,a=[],c=l.from,u=n.to;if(r){let e=Math.min(2,l.to-l.from,i);c=l.to-e,u=n.from+e,s=1==e?"Emphasis":"StrongEmphasis"}l.type.mark&&a.push(this.elt(l.type.mark,c,l.to));for(let e=o+1;e<t;e++)this.parts[e]instanceof B&&a.push(this.parts[e]),this.parts[e]=null;n.type.mark&&a.push(this.elt(n.type.mark,n.from,u));let h=this.elt(s,c,u,a);this.parts[o]=r&&l.from!=c?new et(l.type,l.from,c,l.side):null,(this.parts[t]=r&&n.to!=u?new et(n.type,u,n.to,n.side):null)?this.parts.splice(t,0,h):this.parts[t]=h}let t=[];for(let n=e;n<this.parts.length;n++){let e=this.parts[n];e instanceof B&&t.push(e)}return t}findOpeningDelimiter(e){for(let t=this.parts.length-1;t>=0;t--){let n=this.parts[t];if(n instanceof et&&n.type==e&&1&n.side)return t}return null}takeContent(e){let t=this.resolveMarkers(e);return this.parts.length=e,t}getDelimiterAt(e){let t=this.parts[e];return t instanceof et?t:null}skipSpace(e){return y(this.text,e-this.offset)+this.offset}elt(e,t,n,r){return"string"==typeof e?F(this.parser.getNodeType(e),t,n,r):new G(e,t)}}function ec(e,t){if(!t.length)return e;if(!e.length)return t;let n=e.slice(),r=0;for(let e of t){for(;r<n.length&&n[r].to<e.to;)r++;if(r<n.length&&n[r].from<e.from){let t=n[r];t instanceof B&&(n[r]=new B(t.type,t.from,t.to,ec(t.children,[e])))}else n.splice(r++,0,e)}return n}ea.linkStart=K,ea.imageStart=ee;let eu=[l.CodeBlock,l.ListItem,l.OrderedList,l.BulletList];class eh{constructor(e,t){this.fragments=e,this.input=t,this.i=0,this.fragment=null,this.fragmentEnd=-1,this.cursor=null,e.length&&(this.fragment=e[this.i++])}nextFragment(){this.fragment=this.i<this.fragments.length?this.fragments[this.i++]:null,this.cursor=null,this.fragmentEnd=-1}moveTo(e,t){for(;this.fragment&&this.fragment.to<=e;)this.nextFragment();if(!this.fragment||this.fragment.from>(e?e-1:0))return!1;if(this.fragmentEnd<0){let e=this.fragment.to;for(;e>0&&"\n"!=this.input.read(e-1,e);)e--;this.fragmentEnd=e?e-1:0}let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor()).firstChild();let r=e+this.fragment.offset;for(;n.to<=r;)if(!n.parent())return!1;for(;;){if(n.from>=r)return this.fragment.from<=t;if(!n.childAfter(r))return!1}}matches(e){let t=this.cursor.tree;return t&&t.prop(u.uY.contextHash)==e}takeNodes(e){let t=this.cursor,n=this.fragment.offset,r=this.fragmentEnd-!!this.fragment.openEnd,i=e.absoluteLineStart,o=i,s=e.block.children.length,a=o,c=s;for(;;){if(t.to-n>r){if(t.type.isAnonymous&&t.firstChild())continue;break}let i=ef(t.from-n,e.ranges);if(t.to-n<=e.ranges[e.rangeI].to)e.addNode(t.tree,i);else{let n=new u.PH(e.parser.nodeSet.types[l.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(n,t.tree),e.addNode(n,i)}if(t.type.is("Block")&&(0>eu.indexOf(t.type.id)?(o=t.to-n,s=e.block.children.length):(o=a,s=c),a=t.to-n,c=e.block.children.length),!t.nextSibling())break}for(;e.block.children.length>s;)e.block.children.pop(),e.block.positions.pop();return o-i}}function ef(e,t){let n=e;for(let r=1;r<t.length;r++){let i=t[r-1].to,l=t[r].from;i<e&&(n-=l-i)}return n}let eO=(0,h.pn)({"Blockquote/...":h._A.quote,HorizontalRule:h._A.contentSeparator,"ATXHeading1/... SetextHeading1/...":h._A.heading1,"ATXHeading2/... SetextHeading2/...":h._A.heading2,"ATXHeading3/...":h._A.heading3,"ATXHeading4/...":h._A.heading4,"ATXHeading5/...":h._A.heading5,"ATXHeading6/...":h._A.heading6,"Comment CommentBlock":h._A.comment,Escape:h._A.escape,Entity:h._A.character,"Emphasis/...":h._A.emphasis,"StrongEmphasis/...":h._A.strong,"Link/... Image/...":h._A.link,"OrderedList/... BulletList/...":h._A.list,"BlockQuote/...":h._A.quote,"InlineCode CodeText":h._A.monospace,"URL Autolink":h._A.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":h._A.processingInstruction,"CodeInfo LinkLabel":h._A.labelName,LinkTitle:h._A.string,Paragraph:h._A.content}),ed=new q(new u.fI(W).extend(eO),Object.keys(j).map(e=>j[e]),Object.keys(j).map(e=>Y[e]),Object.keys(j),[(e,t)=>$(t)>=0,(e,t)=>k(t)>=0,(e,t)=>b(t)>=0,(e,t)=>S(t,e,!0)>=0,(e,t)=>w(t,e,!0)>=0,(e,t)=>v(t,e,!0)>=0,(e,t)=>C(t,e,!0)>=0],m,Object.keys(ei).map(e=>ei[e]),Object.keys(ei),[]),ep={resolve:"Strikethrough",mark:"StrikethroughMark"},em={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":h._A.strikethrough}},{name:"StrikethroughMark",style:h._A.processingInstruction}],parseInline:[{name:"Strikethrough",parse(e,t,n){if(126!=t||126!=e.char(n+1)||126==e.char(n+2))return -1;let r=e.slice(n-1,n),i=e.slice(n+2,n+3),l=/\s|^$/.test(r),o=/\s|^$/.test(i),s=er.test(r),a=er.test(i);return e.addDelimiter(ep,n,n+2,!o&&(!a||l||s),!l&&(!s||o||a))},after:"Emphasis"}]};function eg(e,t,n=0,r,i=0){let l=0,o=!0,s=-1,a=-1,c=!1,u=()=>{r.push(e.elt("TableCell",i+s,i+a,e.parser.parseInline(t.slice(s,a),i+s)))};for(let h=n;h<t.length;h++){let n=t.charCodeAt(h);124!=n||c?(c||32!=n&&9!=n)&&(s<0&&(s=h),a=h+1):((!o||s>-1)&&l++,o=!1,r&&(s>-1&&u(),r.push(e.elt("TableDelimiter",h+i,h+i+1))),s=a=-1),c=!c&&92==n}return s>-1&&(l++,r&&u()),l}function ey(e,t){for(let n=t;n<e.length;n++){let t=e.charCodeAt(n);if(124==t)return!0;92==t&&n++}return!1}let ex=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class ek{constructor(){this.rows=null}nextLine(e,t,n){if(null==this.rows){let r;if(this.rows=!1,(45==t.next||58==t.next||124==t.next)&&ex.test(r=t.text.slice(t.pos))){let i=[];eg(e,n.content,0,i,n.start)==eg(e,r,t.pos)&&(this.rows=[e.elt("TableHeader",n.start,n.start+n.content.length,i),e.elt("TableDelimiter",e.lineStart+t.pos,e.lineStart+t.text.length)])}}else if(this.rows){let n=[];eg(e,t.text,t.pos,n,e.lineStart),this.rows.push(e.elt("TableRow",e.lineStart+t.pos,e.lineStart+t.text.length,n))}return!1}finish(e,t){return!!this.rows&&(e.addLeafElement(t,e.elt("Table",t.start,t.start+t.content.length,this.rows)),!0)}}let eb={defineNodes:[{name:"Table",block:!0},{name:"TableHeader",style:{"TableHeader/...":h._A.heading}},"TableRow",{name:"TableCell",style:h._A.content},{name:"TableDelimiter",style:h._A.processingInstruction}],parseBlock:[{name:"Table",leaf:(e,t)=>ey(t.content,0)?new ek:null,endLeaf(e,t,n){if(n.parsers.some(e=>e instanceof ek)||!ey(t.text,t.basePos))return!1;let r=e.peekLine();return ex.test(r)&&eg(e,t.text,t.basePos)==eg(e,r,t.basePos)},before:"SetextHeading"}]};class ev{nextLine(){return!1}finish(e,t){return e.addLeafElement(t,e.elt("Task",t.start,t.start+t.content.length,[e.elt("TaskMarker",t.start,t.start+3),...e.parser.parseInline(t.content.slice(3),t.start+3)])),!0}}let eQ={defineNodes:[{name:"Task",block:!0,style:h._A.list},{name:"TaskMarker",style:h._A.atom}],parseBlock:[{name:"TaskList",leaf:(e,t)=>/^\[[ xX]\][ \t]/.test(t.content)&&"ListItem"==e.parentType().name?new ev:null,after:"SetextHeading"}]},eS=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,ew=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,e$=/[\w-]+\.[\w-]+($|\/)/,eP=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,eZ=/\/[a-zA-Z\d@.]+/gy;function eT(e,t,n,r){let i=0;for(let l=t;l<n;l++)e[l]==r&&i++;return i}function eX(e,t){eP.lastIndex=t;let n=eP.exec(e);if(!n)return -1;let r=n[0][n[0].length-1];return"_"==r||"-"==r?-1:t+n[0].length-("."==r)}let eA=[eb,eQ,em,{parseInline:[{name:"Autolink",parse(e,t,n){let r=n-e.offset;if(r&&/\w/.test(e.text[r-1]))return -1;eS.lastIndex=r;let i=eS.exec(e.text),l=-1;if(!i)return -1;if(i[1]||i[2]){if((l=function(e,t){ew.lastIndex=t;let n=ew.exec(e);if(!n||e$.exec(n[0])[0].indexOf("_")>-1)return -1;let r=t+n[0].length;for(;;){let n=e[r-1],i;if(/[?!.,:*_~]/.test(n)||")"==n&&eT(e,t,r,")")>eT(e,t,r,"("))r--;else if(";"==n&&(i=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(e.slice(t,r))))r=t+i.index;else break}return r}(e.text,r+i[0].length))>-1&&e.hasOpenLink){let t=/([^\[\]]|\[[^\]]*\])*/.exec(e.text.slice(r,l));l=r+t[0].length}}else i[3]?l=eX(e.text,r):(l=eX(e.text,r+i[0].length))>-1&&"xmpp:"==i[0]&&(eZ.lastIndex=l,(i=eZ.exec(e.text))&&(l=i.index+i[0].length));return l<0?-1:(e.addElement(e.elt("URL",n,l+e.offset)),l+e.offset)}}]}];function eC(e,t,n){return(r,i,l)=>{if(i!=e||r.char(l+1)==e)return -1;let o=[r.elt(n,l,l+1)];for(let i=l+1;i<r.end;i++){let s=r.char(i);if(s==e)return r.addElement(r.elt(t,l,i+1,o.concat(r.elt(n,i,i+1))));if(92==s&&o.push(r.elt("Escape",i,i+++2)),g(s))break}return -1}}let e_={defineNodes:[{name:"Superscript",style:h._A.special(h._A.content)},{name:"SuperscriptMark",style:h._A.processingInstruction}],parseInline:[{name:"Superscript",parse:eC(94,"Superscript","SuperscriptMark")}]},eR={defineNodes:[{name:"Subscript",style:h._A.special(h._A.content)},{name:"SubscriptMark",style:h._A.processingInstruction}],parseInline:[{name:"Subscript",parse:eC(126,"Subscript","SubscriptMark")}]},ej={defineNodes:[{name:"Emoji",style:h._A.character}],parseInline:[{name:"Emoji",parse(e,t,n){let r;return 58==t&&(r=/^[a-zA-Z_0-9]+:/.exec(e.slice(n+1,e.end)))?e.addElement(e.elt("Emoji",n,n+1+r[0].length)):-1}}]};var ez=n(1463);class eE{constructor(e,t,n,r,i,l,o,s,a,c=0,u){this.p=e,this.stack=t,this.state=n,this.reducePos=r,this.pos=i,this.score=l,this.buffer=o,this.bufferBase=s,this.curContext=a,this.lookAhead=c,this.parent=u}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let r=e.parser.context;return new eE(e,[],t,n,n,0,[],0,r?new eM(r,r.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var t;let n=e>>19,r=65535&e,{parser:i}=this.p,l=this.reducePos<this.pos-25&&this.setLookAhead(this.pos),o=i.dynamicPrecedence(r);if(o&&(this.score+=o),0==n){this.pushState(i.getGoto(this.state,r,!0),this.reducePos),r<i.minRepeatTerm&&this.storeNode(r,this.reducePos,this.reducePos,l?8:4,!0),this.reduceContext(r,this.reducePos);return}let s=this.stack.length-(n-1)*3-(262144&e?6:0),a=s?this.stack[s-2]:this.p.ranges[0].from,c=this.reducePos-a;c>=2e3&&!(null==(t=this.p.parser.nodeSet.types[r])?void 0:t.isAnonymous)&&(a==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSize<c&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=a,this.p.lastBigReductionSize=c));let u=s?this.stack[s-1]:0,h=this.bufferBase+this.buffer.length-u;if(r<i.minRepeatTerm||131072&e){let e=i.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(r,a,e,h+4,!0)}if(262144&e)this.state=this.stack[s];else{let e=this.stack[s-3];this.state=i.getGoto(e,r,!0)}for(;this.stack.length>s;)this.stack.pop();this.reduceContext(r,a)}storeNode(e,t,n,r=4,i=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let e=this,r=this.buffer.length;if(0==r&&e.parent&&(r=e.bufferBase-e.parent.bufferBase,e=e.parent),r>0&&0==e.buffer[r-4]&&e.buffer[r-1]>-1){if(t==n)return;if(e.buffer[r-2]>=t){e.buffer[r-2]=n;return}}}if(i&&this.pos!=n){let i=this.buffer.length;if(i>0&&(0!=this.buffer[i-4]||this.buffer[i-1]<0)){let e=!1;for(let t=i;t>0&&this.buffer[t-2]>n;t-=4)if(this.buffer[t-1]>=0){e=!0;break}if(e)for(;i>0&&this.buffer[i-2]>n;)this.buffer[i]=this.buffer[i-4],this.buffer[i+1]=this.buffer[i-3],this.buffer[i+2]=this.buffer[i-2],this.buffer[i+3]=this.buffer[i-1],i-=4,r>4&&(r-=4)}this.buffer[i]=e,this.buffer[i+1]=t,this.buffer[i+2]=n,this.buffer[i+3]=r}else this.buffer.push(e,t,n,r)}shift(e,t,n,r){if(131072&e)this.pushState(65535&e,this.pos);else if((262144&e)==0){let{parser:i}=this.p;this.pos=r;let l=i.stateFlag(e,1);!l&&(r>n||t<=i.maxNode)&&(this.reducePos=r),this.pushState(e,l?n:Math.min(n,this.reducePos)),this.shiftContext(t,n),t<=i.maxNode&&this.buffer.push(t,n,r,4)}else this.pos=r,this.shiftContext(t,n),t<=this.p.parser.maxNode&&this.buffer.push(t,n,r,4)}apply(e,t,n,r){65536&e?this.reduce(e):this.shift(e,t,n,r)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(n,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),r=e.bufferBase+t;for(;e&&r==e.bufferBase;)e=e.parent;return new eE(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new eY(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==n)return!1;if((65536&n)==0)return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let n=[];for(let r=0,i;r<t.length;r+=2)(i=t[r+1])!=this.state&&this.p.parser.hasAction(i,e)&&n.push(t[r],i);if(this.stack.length<120)for(let e=0;n.length<8&&e<t.length;e+=2){let r=t[e+1];n.some((e,t)=>1&t&&e==r)||n.push(t[e],r)}t=n}let n=[];for(let e=0;e<t.length&&n.length<4;e+=2){let r=t[e+1];if(r==this.state)continue;let i=this.split();i.pushState(r,this.pos),i.storeNode(0,i.pos,i.pos,4,!0),i.shiftContext(t[e],this.pos),i.reducePos=this.pos,i.score-=200,n.push(i)}return n}forceReduce(){let{parser:e}=this.p,t=e.stateSlot(this.state,5);if((65536&t)==0)return!1;if(!e.validAction(this.state,t)){let n=t>>19,r=65535&t,i=this.stack.length-3*n;if(i<0||0>e.getGoto(this.stack[i],r,!1)){let e=this.findForcedReduction();if(null==e)return!1;t=e}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],n=(r,i)=>{if(!t.includes(r))return t.push(r),e.allActions(r,t=>{if(393216&t);else if(65536&t){let n=(t>>19)-i;if(n>1){let r=65535&t,i=this.stack.length-3*n;if(i>=0&&e.getGoto(this.stack[i],r,!1)>=0)return n<<19|65536|r}}else{let e=n(t,i+1);if(null!=e)return e}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(3!=this.stack.length)return!1;let{parser:e}=this.p;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}reduceContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}emitContext(){let e=this.buffer.length-1;(e<0||-3!=this.buffer[e])&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||-4!=this.buffer[e])&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new eM(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){return!(e<=this.lookAhead)&&(this.emitLookAhead(),this.lookAhead=e,!0)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class eM{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class eY{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e>>19;0==t?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(t-1)*3;let n=this.start.p.parser.getGoto(this.stack[this.base-3],65535&e,!0);this.state=n}}class eL{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new eL(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new eL(this.stack,this.pos,this.index)}}function eI(e,t=Uint16Array){if("string"!=typeof e)return e;let n=null;for(let r=0,i=0;r<e.length;){let l=0;for(;;){let t=e.charCodeAt(r++),n=!1;if(126==t){l=65535;break}t>=92&&t--,t>=34&&t--;let i=t-32;if(i>=46&&(i-=46,n=!0),l+=i,n)break;l*=46}n?n[i++]=l:n=new t(l)}return n}class eq{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}let eV=new eq;class eD{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=eV,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,r=this.rangeIndex,i=this.pos+e;for(;i<n.from;){if(!r)return null;let e=this.ranges[--r];i-=n.from-e.to,n=e}for(;t<0?i>n.to:i>=n.to;){if(r==this.ranges.length-1)return null;let e=this.ranges[++r];i+=e.from-n.to,n=e}return i}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let t of this.ranges)if(t.to>e)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,n,r;if(t>=0&&t<this.chunk.length)n=this.pos+e,r=this.chunk.charCodeAt(t);else{let t=this.resolveOffset(e,1);if(null==t)return -1;if((n=t)>=this.chunk2Pos&&n<this.chunk2Pos+this.chunk2.length)r=this.chunk2.charCodeAt(n-this.chunk2Pos);else{let e=this.rangeIndex,t=this.range;for(;t.to<=n;)t=this.ranges[++e];this.chunk2=this.input.chunk(this.chunk2Pos=n),n+this.chunk2.length>t.to&&(this.chunk2=this.chunk2.slice(0,t.to-n)),r=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),r}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(null==n||n<this.token.start)throw RangeError("Token end out of bounds");this.token.value=e,this.token.end=n}acceptTokenTo(e,t){this.token.value=e,this.token.end=t}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:t}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),t=this.pos+e.length;this.chunk=t>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=eV,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(e,t){if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let r of this.ranges){if(r.from>=t)break;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return n}}class eW{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;eB(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}eW.prototype.contextual=eW.prototype.fallback=eW.prototype.extend=!1;class eN{constructor(e,t,n){this.precTable=t,this.elseToken=n,this.data="string"==typeof e?eI(e):e}token(e,t){let n=e.pos,r=0;for(;;){let n=e.next<0,i=e.resolveOffset(1,1);if(eB(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(null==this.elseToken)return;if(!n&&r++,null==i)break;e.reset(i,e.token)}r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}}eN.prototype.contextual=eW.prototype.fallback=eW.prototype.extend=!1;class eU{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function eB(e,t,n,r,i,l){let o=0,s=1<<r,{dialect:a}=n.p.parser;n:for(;(s&e[o])!=0;){let n=e[o+1];for(let r=o+3;r<n;r+=2)if((e[r+1]&s)>0){let n=e[r];if(a.allows(n)&&(-1==t.token.value||t.token.value==n||function(e,t,n,r){let i=eG(n,r,t);return i<0||eG(n,r,e)<i}(n,t.token.value,i,l))){t.acceptToken(n);break}}let r=t.next,c=0,u=e[o+2];if(t.next<0&&u>c&&65535==e[n+3*u-3]){o=e[n+3*u-1];continue}for(;c<u;){let i=c+u>>1,l=n+i+(i<<1),s=e[l],a=e[l+1]||65536;if(r<s)u=i;else if(r>=a)c=i+1;else{o=e[l+2],t.advance();continue n}}break}}function eG(e,t,n){for(let r=t,i;65535!=(i=e[r]);r++)if(i==n)return r-t;return -1}let eF=void 0!==ez&&ez.env&&/\bparse\b/.test(ez.env.LOG),eH=null;function eJ(e,t,n){let r=e.cursor(u.Qj.IncludeAnonymous);for(r.moveTo(t);;)if(!(n<0?r.childBefore(t):r.childAfter(t)))for(;;){if((n<0?r.to<t:r.from>t)&&!r.type.isError)return n<0?Math.max(0,Math.min(r.to-1,t-25)):Math.min(e.length,Math.max(r.from+1,t+25));if(n<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return n<0?0:e.length}}class eK{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?eJ(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?eJ(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let t=this.trees.length-1;if(t<0)return this.nextFragment(),null;let n=this.trees[t],r=this.index[t];if(r==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let i=n.children[r],l=this.start[t]+n.positions[r];if(l>e)return this.nextStart=l,null;if(i instanceof u.PH){if(l==e){if(l<this.safeFrom)return null;let e=l+i.length;if(e<=this.safeTo){let t=i.prop(u.uY.lookAhead);if(!t||e+t<this.fragment.to)return i}}this.index[t]++,l+i.length>=Math.max(this.safeFrom,e)&&(this.trees.push(i),this.start.push(l),this.index.push(0))}else this.index[t]++,this.nextStart=l+i.length}}}class e0{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new eq)}getActions(e){let t=0,n=null,{parser:r}=e.p,{tokenizers:i}=r,l=r.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,s=0;for(let r=0;r<i.length;r++){if((1<<r&l)==0)continue;let a=i[r],c=this.tokens[r];if((!n||a.fallback)&&((a.contextual||c.start!=e.pos||c.mask!=l||c.context!=o)&&(this.updateCachedToken(c,a,e),c.mask=l,c.context=o),c.lookAhead>c.end+25&&(s=Math.max(c.lookAhead,s)),0!=c.value)){let r=t;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),!a.extend&&(n=c,t>r))break}}for(;this.actions.length>t;)this.actions.pop();return s&&e.setLookAhead(s),n||e.pos!=this.stream.end||((n=new eq).value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new eq,{pos:n,p:r}=e;return t.start=n,t.end=Math.min(n+1,r.stream.end),t.value=n==r.stream.end?r.parser.eofTerm:0,t}updateCachedToken(e,t,n){let r=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(r,e),n),e.value>-1){let{parser:t}=n.p;for(let r=0;r<t.specialized.length;r++)if(t.specialized[r]==e.value){let i=t.specializers[r](this.stream.read(e.start,e.end),n);if(i>=0&&n.p.parser.dialect.allows(i>>1)){(1&i)==0?e.value=i>>1:e.extended=i>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,n,r){for(let t=0;t<r;t+=3)if(this.actions[t]==e)return r;return this.actions[r++]=e,this.actions[r++]=t,this.actions[r++]=n,r}addActions(e,t,n,r){let{state:i}=e,{parser:l}=e.p,{data:o}=l;for(let e=0;e<2;e++)for(let s=l.stateSlot(i,e?2:1);;s+=3){if(65535==o[s])if(1==o[s+1])s=e7(o,s+2);else{0==r&&2==o[s+1]&&(r=this.putAction(e7(o,s+2),t,n,r));break}o[s]==t&&(r=this.putAction(e7(o,s+1),t,n,r))}return r}}class e1{constructor(e,t,n,r){this.parser=e,this.input=t,this.ranges=r,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new eD(t,r),this.tokens=new e0(e,this.stream),this.topTerm=e.top[1];let{from:i}=r[0];this.stacks=[eE.start(this,e.top[0],i)],this.fragments=n.length&&this.stream.end-i>4*e.bufferLength?new eK(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,n=this.stacks,r=this.minStackPos,i=this.stacks=[];if(this.bigReductionCount>300&&1==n.length){let[e]=n;for(;e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let l=0;l<n.length;l++){let o=n[l];for(;;){if(this.tokens.mainToken=null,o.pos>r)i.push(o);else{if(this.advanceStack(o,i,n))continue;e||(e=[],t=[]),e.push(o);let r=this.tokens.getMainToken(o);t.push(r.value,r.end)}break}}if(!i.length){let t=e&&function(e){let t=null;for(let n of e){let e=n.p.stoppedAt;(n.pos==n.p.stream.end||null!=e&&n.pos>e)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.score<n.score)&&(t=n)}return t}(e);if(t)return eF&&console.log("Finish with "+this.stackID(t)),this.stackToTree(t);if(this.parser.strict)throw eF&&e&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),SyntaxError("No parse at "+r);this.recovering||(this.recovering=5)}if(this.recovering&&e){let n=null!=this.stoppedAt&&e[0].pos>this.stoppedAt?e[0]:this.runRecovery(e,t,i);if(n)return eF&&console.log("Force-finish "+this.stackID(n)),this.stackToTree(n.forceAll())}if(this.recovering){let e=1==this.recovering?1:3*this.recovering;if(i.length>e)for(i.sort((e,t)=>t.score-e.score);i.length>e;)i.pop();i.some(e=>e.reducePos>r)&&this.recovering--}else if(i.length>1){o:for(let e=0;e<i.length-1;e++){let t=i[e];for(let n=e+1;n<i.length;n++){let r=i[n];if(t.sameState(r)||t.buffer.length>500&&r.buffer.length>500)if((t.score-r.score||t.buffer.length-r.buffer.length)>0)i.splice(n--,1);else{i.splice(e--,1);continue o}}}i.length>12&&(i.sort((e,t)=>t.score-e.score),i.splice(12,i.length-12))}this.minStackPos=i[0].pos;for(let e=1;e<i.length;e++)i[e].pos<this.minStackPos&&(this.minStackPos=i[e].pos);return null}stopAt(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,t,n){let r=e.pos,{parser:i}=this,l=eF?this.stackID(e)+" -> ":"";if(null!=this.stoppedAt&&r>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.curContext&&e.curContext.tracker.strict,n=t?e.curContext.hash:0;for(let o=this.fragments.nodeAt(r);o;){let r=this.parser.nodeSet.types[o.type.id]==o.type?i.getGoto(e.state,o.type.id):-1;if(r>-1&&o.length&&(!t||(o.prop(u.uY.contextHash)||0)==n))return e.useNode(o,r),eF&&console.log(l+this.stackID(e)+` (via reuse of ${i.getName(o.type.id)})`),!0;if(!(o instanceof u.PH)||0==o.children.length||o.positions[0]>0)break;let s=o.children[0];if(s instanceof u.PH&&0==o.positions[0])o=s;else break}}let o=i.stateSlot(e.state,4);if(o>0)return e.reduce(o),eF&&console.log(l+this.stackID(e)+` (via always-reduce ${i.getName(65535&o)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let s=this.tokens.getActions(e);for(let o=0;o<s.length;){let a=s[o++],c=s[o++],u=s[o++],h=o==s.length||!n,f=h?e:e.split(),O=this.tokens.mainToken;if(f.apply(a,c,O?O.start:f.pos,u),eF&&console.log(l+this.stackID(f)+` (via ${(65536&a)==0?"shift":`reduce of ${i.getName(65535&a)}`} for ${i.getName(c)} @ ${r}${f==e?"":", split"})`),h)return!0;f.pos>r?t.push(f):n.push(f)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return e2(e,t),!0}}runRecovery(e,t,n){let r=null,i=!1;for(let l=0;l<e.length;l++){let o=e[l],s=t[l<<1],a=t[(l<<1)+1],c=eF?this.stackID(o)+" -> ":"";if(o.deadEnd&&(i||(i=!0,o.restart(),eF&&console.log(c+this.stackID(o)+" (restarted)"),this.advanceFully(o,n))))continue;let u=o.split(),h=c;for(let e=0;e<10&&u.forceReduce()&&(eF&&console.log(h+this.stackID(u)+" (via force-reduce)"),!this.advanceFully(u,n));e++)eF&&(h=this.stackID(u)+" -> ");for(let e of o.recoverByInsert(s))eF&&console.log(c+this.stackID(e)+" (via recover-insert)"),this.advanceFully(e,n);this.stream.end>o.pos?(a==o.pos&&(a++,s=0),o.recoverByDelete(s,a),eF&&console.log(c+this.stackID(o)+` (via recover-delete ${this.parser.getName(s)})`),e2(o,n)):(!r||r.score<u.score)&&(r=u)}return r}stackToTree(e){return e.close(),u.PH.build({buffer:eL.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let t=(eH||(eH=new WeakMap)).get(e);return t||eH.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}function e2(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(r.pos==e.pos&&r.sameState(e)){t[n].score<e.score&&(t[n]=e);return}}t.push(e)}class e5{constructor(e,t,n){this.source=e,this.flags=t,this.disabled=n}allows(e){return!this.disabled||0==this.disabled[e]}}let e4=e=>e;class e3{constructor(e){this.start=e.start,this.shift=e.shift||e4,this.reduce=e.reduce||e4,this.reuse=e.reuse||e4,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}}class e9 extends u.iX{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let n=0;n<e.repeatNodeCount;n++)t.push("");let n=Object.keys(e.topRules).map(t=>e.topRules[t][1]),r=[];for(let e=0;e<t.length;e++)r.push([]);function i(e,t,n){r[e].push([t,t.deserialize(String(n))])}if(e.nodeProps)for(let t of e.nodeProps){let e=t[0];"string"==typeof e&&(e=u.uY[e]);for(let n=1;n<t.length;){let r=t[n++];if(r>=0)i(r,e,t[n++]);else{let l=t[n+-r];for(let o=-r;o>0;o--)i(t[n++],e,l);n++}}}this.nodeSet=new u.fI(t.map((t,i)=>u.Z6.define({name:i>=this.minRepeatTerm?void 0:t,id:i,props:r[i],top:n.indexOf(i)>-1,error:0==i,skipped:e.skippedNodes&&e.skippedNodes.indexOf(i)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=u.cF;let l=eI(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let e=0;e<this.specializerSpecs.length;e++)this.specialized[e]=this.specializerSpecs[e].term;this.specializers=this.specializerSpecs.map(e6),this.states=eI(e.states,Uint32Array),this.data=eI(e.stateData),this.goto=eI(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(e=>"number"==typeof e?new eW(l,e):e),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let r=new e1(this,e,t,n);for(let i of this.wrappers)r=i(r,e,t,n);return r}getGoto(e,t,n=!1){let r=this.goto;if(t>=r[0])return -1;for(let i=r[t+1];;){let t=r[i++],l=1&t,o=r[i++];if(l&&n)return o;for(let n=i+(t>>1);i<n;i++)if(r[i]==e)return o;if(l)return -1}}hasAction(e,t){let n=this.data;for(let r=0;r<2;r++)for(let i=this.stateSlot(e,r?2:1),l;;i+=3){if(65535==(l=n[i]))if(1==n[i+1])l=n[i=e7(n,i+2)];else if(2==n[i+1])return e7(n,i+2);else break;if(l==t||0==l)return e7(n,i+1)}return 0}stateSlot(e,t){return this.states[6*e+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}validAction(e,t){return!!this.allActions(e,e=>e==t||null)}allActions(e,t){let n=this.stateSlot(e,4),r=n?t(n):void 0;for(let n=this.stateSlot(e,1);null==r;n+=3){if(65535==this.data[n])if(1==this.data[n+1])n=e7(this.data,n+2);else break;r=t(e7(this.data,n+1))}return r}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n])if(1==this.data[n+1])n=e7(this.data,n+2);else break;if((1&this.data[n+2])==0){let e=this.data[n+1];t.some((t,n)=>1&n&&t==e)||t.push(this.data[n],e)}}return t}configure(e){let t=Object.assign(Object.create(e9.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw RangeError(`Invalid top rule name ${e.top}`);t.top=n}return e.tokenizers&&(t.tokenizers=this.tokenizers.map(t=>{let n=e.tokenizers.find(e=>e.from==t);return n?n.to:t})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((n,r)=>{let i=e.specializers.find(e=>e.from==n.external);if(!i)return n;let l=Object.assign(Object.assign({},n),{external:i.to});return t.specializers[r]=e6(l),l})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),null!=e.bufferLength&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return null==t?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let r of e.split(" ")){let e=t.indexOf(r);e>=0&&(n[e]=!0)}let r=null;for(let e=0;e<t.length;e++)if(!n[e])for(let n=this.dialects[t[e]],i;65535!=(i=this.data[n++]);)(r||(r=new Uint8Array(this.maxTerm+1)))[i]=1;return new e5(e,n,r)}static deserialize(e){return new e9(e)}}function e7(e,t){return e[t]|e[t+1]<<16}function e6(e){if(e.external){let t=+!!e.extend;return(n,r)=>e.external(n,r)<<1|t}return e.get}let e8={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},te={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},tt={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},tn=null,tr=null,ti=0;function tl(e,t){var n;let r=e.pos+t;if(ti==r&&tr==e)return tn;let i=e.peek(t),l="";for(;45==(n=i)||46==n||58==n||n>=65&&n<=90||95==n||n>=97&&n<=122||n>=161;)l+=String.fromCharCode(i),i=e.peek(++t);return tr=e,ti=r,tn=l?l.toLowerCase():i==to||i==ts?void 0:null}let to=63,ts=33;function ta(e,t){this.name=e,this.parent=t}let tc=[6,10,7,8,9],tu=new e3({start:null,shift:(e,t,n,r)=>tc.indexOf(t)>-1?new ta(tl(r,1)||"",e):e,reduce:(e,t)=>21==t&&e?e.parent:e,reuse(e,t,n,r){let i=t.type.id;return 6==i||37==i?new ta(tl(r,1)||"",e):e},strict:!1}),th=new eU((e,t)=>{if(60!=e.next){e.next<0&&t.context&&e.acceptToken(58);return}e.advance();let n=47==e.next;n&&e.advance();let r=tl(e,0);if(void 0===r)return;if(!r)return e.acceptToken(n?15:14);let i=t.context?t.context.name:null;if(n){if(r==i)return e.acceptToken(11);if(i&&te[i])return e.acceptToken(58,-2);if(t.dialectEnabled(0))return e.acceptToken(12);for(let e=t.context;e;e=e.parent)if(e.name==r)return;e.acceptToken(13)}else{if("script"==r)return e.acceptToken(7);if("style"==r)return e.acceptToken(8);if("textarea"==r)return e.acceptToken(9);if(e8.hasOwnProperty(r))return e.acceptToken(10);i&&tt[i]&&tt[i][r]?e.acceptToken(58,-1):e.acceptToken(6)}},{contextual:!0}),tf=new eU(e=>{for(let t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(59);break}if(45==e.next)t++;else if(62==e.next&&t>=2){n>=3&&e.acceptToken(59,-2);break}else t=0;e.advance()}}),tO=new eU((e,t)=>{if(47==e.next&&62==e.peek(1)){let n=t.dialectEnabled(1)||function(e){for(;e;e=e.parent)if("svg"==e.name||"math"==e.name)return!0;return!1}(t.context);e.acceptToken(n?5:4,2)}else 62==e.next&&e.acceptToken(4,1)});function td(e,t,n){let r=2+e.length;return new eU(i=>{for(let l=0,o=0,s=0;;s++){if(i.next<0){s&&i.acceptToken(t);break}if(0==l&&60==i.next||1==l&&47==i.next||l>=2&&l<r&&i.next==e.charCodeAt(l-2))l++,o++;else if(l==r&&62==i.next){s>o?i.acceptToken(t,-o):i.acceptToken(n,-(o-2));break}else if((10==i.next||13==i.next)&&s){i.acceptToken(t,1);break}else l=o=0;i.advance()}})}let tp=td("script",55,1),tm=td("style",56,2),tg=td("textarea",57,3),ty=(0,h.pn)({"Text RawText IncompleteTag IncompleteCloseTag":h._A.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":h._A.angleBracket,TagName:h._A.tagName,"MismatchedCloseTag/TagName":[h._A.tagName,h._A.invalid],AttributeName:h._A.attributeName,"AttributeValue UnquotedAttributeValue":h._A.attributeValue,Is:h._A.definitionOperator,"EntityReference CharacterReference":h._A.character,Comment:h._A.blockComment,ProcessingInst:h._A.processingInstruction,DoctypeDecl:h._A.documentMeta}),tx=e9.deserialize({version:14,states:",xOVO!rOOO!ZQ#tO'#CrO!`Q#tO'#C{O!eQ#tO'#DOO!jQ#tO'#DRO!oQ#tO'#DTO!tOaO'#CqO#PObO'#CqO#[OdO'#CqO$kO!rO'#CqOOO`'#Cq'#CqO$rO$fO'#DUO$zQ#tO'#DWO%PQ#tO'#DXOOO`'#Dl'#DlOOO`'#DZ'#DZQVO!rOOO%UQ&rO,59^O%aQ&rO,59gO%lQ&rO,59jO%wQ&rO,59mO&SQ&rO,59oOOOa'#D_'#D_O&_OaO'#CyO&jOaO,59]OOOb'#D`'#D`O&rObO'#C|O&}ObO,59]OOOd'#Da'#DaO'VOdO'#DPO'bOdO,59]OOO`'#Db'#DbO'jO!rO,59]O'qQ#tO'#DSOOO`,59],59]OOOp'#Dc'#DcO'vO$fO,59pOOO`,59p,59pO(OQ#|O,59rO(TQ#|O,59sOOO`-E7X-E7XO(YQ&rO'#CtOOQW'#D['#D[O(hQ&rO1G.xOOOa1G.x1G.xOOO`1G/Z1G/ZO(sQ&rO1G/ROOOb1G/R1G/RO)OQ&rO1G/UOOOd1G/U1G/UO)ZQ&rO1G/XOOO`1G/X1G/XO)fQ&rO1G/ZOOOa-E7]-E7]O)qQ#tO'#CzOOO`1G.w1G.wOOOb-E7^-E7^O)vQ#tO'#C}OOOd-E7_-E7_O){Q#tO'#DQOOO`-E7`-E7`O*QQ#|O,59nOOOp-E7a-E7aOOO`1G/[1G/[OOO`1G/^1G/^OOO`1G/_1G/_O*VQ,UO,59`OOQW-E7Y-E7YOOOa7+$d7+$dOOO`7+$u7+$uOOOb7+$m7+$mOOOd7+$p7+$pOOO`7+$s7+$sO*bQ#|O,59fO*gQ#|O,59iO*l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!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:68,context:tu,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,22,31,34,37,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,30,33,36,38,"OpenTag"],["group",-10,14,15,18,19,20,21,40,41,42,43,"Entity",17,"Entity TextContent",-3,29,32,35,"TextContent Entity"],["isolate",-11,22,30,31,33,34,36,37,38,39,42,43,"ltr",-3,27,28,40,""]],propSources:[ty],skippedNodes:[0],repeatNodeCount:9,tokenData:"!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|caPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv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ing:515},tokenPrec:517});function tk(e,t){let n=Object.create(null);for(let r of e.getChildren(24)){let e=r.getChild(25),i=r.getChild(27)||r.getChild(28);e&&(n[t.read(e.from,e.to)]=i?27==i.type.id?t.read(i.from+1,i.to-1):t.read(i.from,i.to):"")}return n}function tb(e,t){let n=e.getChild(23);return n?t.read(n.from,n.to):" "}function tv(e,t,n){let r;for(let i of n)if(!i.attrs||i.attrs(r||(r=tk(e.node.parent.firstChild,t))))return{parser:i.parser,bracketed:!0};return null}function tQ(e=[],t=[]){let n=[],r=[],i=[],l=[];for(let t of e)("script"==t.tag?n:"style"==t.tag?r:"textarea"==t.tag?i:l).push(t);let o=t.length?Object.create(null):null;for(let e of t)(o[e.name]||(o[e.name]=[])).push(e);return(0,u.$g)((e,t)=>{let s=e.type.id;if(29==s)return tv(e,t,n);if(32==s)return tv(e,t,r);if(35==s)return tv(e,t,i);if(21==s&&l.length){let n=e.node,r=n.firstChild,i=r&&tb(r,t),o;if(i){for(let e of l)if(e.tag==i&&(!e.attrs||e.attrs(o||(o=tk(r,t))))){let t=n.lastChild,i=38==t.type.id?t.from:n.to;if(i>r.to)return{parser:e.parser,overlay:[{from:r.to,to:i}]}}}}if(o&&24==s){let n=e.node,r;if(r=n.firstChild){let e=o[t.read(r.from,r.to)];if(e)for(let r of e){if(r.tagName&&r.tagName!=tb(n.parent,t))continue;let e=n.lastChild;if(27==e.type.id){let t=e.from+1,n=e.lastChild,i=e.to-(n&&n.isError?0:1);if(i>t)return{parser:r.parser,overlay:[{from:t,to:i}],bracketed:!0}}else if(28==e.type.id)return{parser:r.parser,overlay:[{from:e.from,to:e.to}]}}}}return null})}let tS=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function tw(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function t$(e){return e>=48&&e<=57}function tP(e){return t$(e)||e>=97&&e<=102||e>=65&&e<=70}let tZ=(e,t,n)=>(r,i)=>{for(let l=!1,o=0,s=0;;s++){let{next:a}=r;if(tw(a)||45==a||95==a||l&&t$(a))!l&&(45!=a||s>0)&&(l=!0),o===s&&45==a&&o++,r.advance();else if(92==a&&10!=r.peek(1)){if(r.advance(),tP(r.next)){do r.advance();while(tP(r.next));32==r.next&&r.advance()}else r.next>-1&&r.advance();l=!0}else{l&&r.acceptToken(2==o&&i.canShift(2)?t:40==a?n:e);break}}},tT=new eU(tZ(136,2,137),{contextual:!0}),tX=new eU(tZ(138,3,4),{contextual:!0}),tA=new eU(e=>{if(tS.includes(e.peek(-1))){let{next:t}=e;(tw(t)||95==t||35==t||46==t||42==t||91==t||58==t&&tw(e.peek(1))||45==t||38==t)&&e.acceptToken(135)}}),tC=new eU(e=>{if(!tS.includes(e.peek(-1))){let{next:t}=e;if(37==t&&(e.advance(),e.acceptToken(1)),tw(t)){do e.advance();while(tw(e.next)||t$(e.next));e.acceptToken(1)}}}),t_=(0,h.pn)({"AtKeyword import charset namespace keyframes media supports font-feature-values":h._A.definitionKeyword,"from to selector scope MatchFlag":h._A.keyword,NamespaceName:h._A.namespace,KeyframeName:h._A.labelName,KeyframeRangeName:h._A.operatorKeyword,TagName:h._A.tagName,ClassName:h._A.className,PseudoClassName:h._A.constant(h._A.className),IdName:h._A.labelName,"FeatureName PropertyName":h._A.propertyName,AttributeName:h._A.attributeName,NumberLiteral:h._A.number,KeywordQuery:h._A.keyword,UnaryQueryOp:h._A.operatorKeyword,"CallTag ValueName FontName":h._A.atom,VariableName:h._A.variableName,Callee:h._A.operatorKeyword,Unit:h._A.unit,"UniversalSelector NestingSelector":h._A.definitionOperator,"MatchOp CompareOp":h._A.compareOperator,"ChildOp SiblingOp, LogicOp":h._A.logicOperator,BinOp:h._A.arithmeticOperator,Important:h._A.modifier,Comment:h._A.blockComment,ColorLiteral:h._A.color,"ParenthesizedContent StringLiteral":h._A.string,":":h._A.punctuation,"PseudoOp #":h._A.derefOperator,"; , |":h._A.separator,"( )":h._A.paren,"[ ]":h._A.squareBracket,"{ }":h._A.brace}),tR={__proto__:null,lang:44,"nth-child":44,"nth-last-child":44,"nth-of-type":44,"nth-last-of-type":44,dir:44,"host-context":44,if:90,url:132,"url-prefix":132,domain:132,regexp:132},tj={__proto__:null,or:104,and:104,not:112,only:112,layer:186},tz={__proto__:null,selector:118,layer:182},tE={__proto__:null,"@import":178,"@media":190,"@charset":194,"@namespace":198,"@keyframes":204,"@supports":216,"@scope":220,"@font-feature-values":226},tM={__proto__:null,to:223},tY=e9.deserialize({version:14,states:"IpQYQdOOO#}QdOOP$UO`OOO%OQaO'#CfOOQP'#Ce'#CeO%VQdO'#CgO%[Q`O'#CgO%aQaO'#FdO&XQdO'#CkO&xQaO'#CcO'SQdO'#CnO'_QdO'#DtO'dQdO'#DvO'oQdO'#D}O'oQdO'#EQOOQP'#Fd'#FdO)OQhO'#EsOOQS'#Fc'#FcOOQS'#Ev'#EvQYQdOOO)VQdO'#EWO*cQhO'#E^O)VQdO'#E`O*jQdO'#EbO*uQdO'#EeO)zQhO'#EkO*}QdO'#EmO+YQdO'#EpO+_QaO'#CfO+fQ`O'#ETO+kQ`O'#FnO+vQdO'#FnQOQ`OOP,QO&jO'#CaPOOO)CAR)CAROOQP'#Ci'#CiOOQP,59R,59RO%VQdO,59ROOQP'#Cm'#CmOOQP,59V,59VO&XQdO,59VO,]QdO,59YO'_QdO,5:`O'dQdO,5:bO'oQdO,5:iO'oQdO,5:kO'oQdO,5:lO'oQdO'#E}O,hQ`O,58}O,pQdO'#ESOOQS,58},58}OOQP'#Cq'#CqOOQO'#Dr'#DrOOQP,59Y,59YO,wQ`O,59YO,|Q`O,59YOOQP'#Du'#DuOOQP,5:`,5:`O-RQpO'#DwO-^QdO'#DxO-cQ`O'#DxO-hQpO,5:bO.RQaO,5:iO.iQaO,5:lOOQW'#D^'#D^O/eQhO'#DgO/xQhO,5;_O)zQhO'#DeO0VQ`O'#DkO0[QhO'#DnOOQW'#Fj'#FjOOQS,5;_,5;_O0aQ`O'#D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%[#pQ!qdQ!zf[$V!m!n!o$Y$[$^Q$y#Yd%Y#p%Z%_&a&f&k'U'^'k'sQ%^#uQ%n$aS&U$y&WQ&[%UQ&}&VR'b&p]$X!m!n!o$Y$[$^Q!d`U!xe!q$eQ#QiQ#x!cS#{!d$OQ$Q!eQ%b#|Q%c#}Q%g$RS%r$g%tQ%w$jR'Z&iQ#z!cQ&h%`R'j'YR%i$RR%X#oQpPR#n!RQ!yeQ$d!qR%q$e",nodeNames:"⚠ Unit VariableName VariableName QueryCallee Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NamespacedTagSelector NamespaceName TagName NestingSelector ClassSelector . ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue AtKeyword # ; ] [ BracketedValue } { BracedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee IfExpression if ArgList IfBranch KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp ComparisonQuery CompareOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector ParenthesizedSelector CallQuery ArgList , PseudoQuery CallLiteral CallTag ParenthesizedContent PseudoClassName ArgList IdSelector IdName AttributeSelector AttributeName NamespacedAttribute NamespaceName AttributeName MatchOp MatchFlag ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp Block Declaration PropertyName Important ImportStatement import Layer layer LayerName layer MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports ScopeStatement scope to FontFeatureStatement font-feature-values FontName AtRule Styles",maxTerm:159,nodeProps:[["isolate",-2,5,39,""],["openedBy",23,"(",31,"[",34,"{"],["closedBy",24,")",32,"]",35,"}"]],propSources:[t_],skippedNodes:[0,5,117],repeatNodeCount:17,tokenData:"K`~R!bOX%ZX^&R^p%Zpq&Rqr)ers)vst+jtu2Xuv%Zvw3Rwx3dxy5Ryz5dz{5i{|6S|}:u}!O;W!O!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Oy%jz;'S%j;'S;=`%{<%lO%jnDuSo^Oy%jz;'S%j;'S;=`%{<%lO%jjEWU!pWOy%jz#a%j#a#bEj#b;'S%j;'S;=`%{<%lO%jbEoU!e`Oy%jz#d%j#d#eFR#e;'S%j;'S;=`%{<%lO%jbFWU!e`Oy%jz#c%j#c#dFj#d;'S%j;'S;=`%{<%lO%jbFoU!e`Oy%jz#f%j#f#gGR#g;'S%j;'S;=`%{<%lO%jbGWU!e`Oy%jz#h%j#h#iGj#i;'S%j;'S;=`%{<%lO%jbGoU!e`Oy%jz#T%j#T#UHR#U;'S%j;'S;=`%{<%lO%jbHWU!e`Oy%jz#b%j#b#cHj#c;'S%j;'S;=`%{<%lO%jbHoU!e`Oy%jz#h%j#h#iIR#i;'S%j;'S;=`%{<%lO%jbIYS$cQ!e`Oy%jz;'S%j;'S;=`%{<%lO%jjIkSsYOy%jz;'S%j;'S;=`%{<%lO%jfI|U$XUOy%jz!_%j!_!`2n!`;'S%j;'S;=`%{<%lO%jjJeSrYOy%jz;'S%j;'S;=`%{<%lO%jfJvU!uQOy%jz!_%j!_!`2n!`;'S%j;'S;=`%{<%lO%j`K]P;=`<%l%Z",tokenizers:[tA,tC,tT,tX,1,2,3,4,new eN("m~RRYZ[z{a~~g~aO$T~~dP!P!Qg~lO$U~~",28,142)],topRules:{StyleSheet:[0,6],Styles:[1,116]},dynamicPrecedences:{84:1},specialized:[{term:137,get:e=>tR[e]||-1},{term:138,get:e=>tj[e]||-1},{term:4,get:e=>tz[e]||-1},{term:28,get:e=>tE[e]||-1},{term:136,get:e=>tM[e]||-1}],tokenPrec:2256}),tL=null;function tI(){if(!tL&&"object"==typeof document&&document.body){let{style:e}=document.body,t=[],n=new Set;for(let r in e)"cssText"!=r&&"cssFloat"!=r&&"string"==typeof e[r]&&(/[A-Z]/.test(r)&&(r=r.replace(/[A-Z]/g,e=>"-"+e.toLowerCase())),n.has(r)||(t.push(r),n.add(r)));tL=t.sort().map(e=>({type:"property",label:e,apply:e+": "}))}return tL||[]}let tq=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(e=>({type:"class",label:e})),tV=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(e=>({type:"keyword",label:e})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(e=>({type:"constant",label:e}))),tD=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(e=>({type:"type",label:e})),tW=["@charset","@color-profile","@container","@counter-style","@font-face","@font-feature-values","@font-palette-values","@import","@keyframes","@layer","@media","@namespace","@page","@position-try","@property","@scope","@starting-style","@supports","@view-transition"].map(e=>({type:"keyword",label:e})),tN=/^(\w[\w-]*|-\w[\w-]*|)$/,tU=/^-(-[\w-]*)?$/,tB=new u.RY,tG=["Declaration"],tF=(r=e=>"VariableName"==e.name,e=>{let{state:t,pos:n}=e,i=(0,a.mv)(t).resolveInner(n,-1),l=i.type.isError&&i.from==i.to-1&&"-"==t.doc.sliceString(i.from,i.to);if("PropertyName"==i.name||(l||"TagName"==i.name)&&/^(Block|Styles)$/.test(i.resolve(i.to).name))return{from:i.from,options:tI(),validFor:tN};if("ValueName"==i.name)return{from:i.from,options:tV,validFor:tN};if("PseudoClassName"==i.name)return{from:i.from,options:tq,validFor:tN};if(r(i)||(e.explicit||l)&&function(e,t){var n;if(("("==e.name||e.type.isError)&&(e=e.parent||e),"ArgList"!=e.name)return!1;let r=null==(n=e.parent)?void 0:n.firstChild;return(null==r?void 0:r.name)=="Callee"&&"var"==t.sliceString(r.from,r.to)}(i,t.doc))return{from:r(i)||l?i.from:n,options:function e(t,n,r){if(n.to-n.from>4096){let i=tB.get(n);if(i)return i;let l=[],o=new Set,s=n.cursor(u.Qj.IncludeAnonymous);if(s.firstChild())do for(let n of e(t,s.node,r))o.has(n.label)||(o.add(n.label),l.push(n));while(s.nextSibling());return tB.set(n,l),l}{let e=[],i=new Set;return n.cursor().iterate(n=>{var l;if(r(n)&&n.matchContext(tG)&&(null==(l=n.node.nextSibling)?void 0:l.name)==":"){let r=t.sliceString(n.from,n.to);i.has(r)||(i.add(r),e.push({label:r,type:"variable"}))}}),e}}(t.doc,function(e){for(let t=e;;){if(t.type.isTop)return t;if(!(t=t.parent))return e}}(i),r),validFor:tU};if("TagName"==i.name){for(let{parent:e}=i;e;e=e.parent)if("Block"==e.name)return{from:i.from,options:tI(),validFor:tN};return{from:i.from,options:tD,validFor:tN}}if("AtKeyword"==i.name)return{from:i.from,options:tW,validFor:tN};if(!e.explicit)return null;let o=i.resolve(n),s=o.childBefore(n);return s&&":"==s.name&&"PseudoClassSelector"==o.name?{from:n,options:tq,validFor:tN}:s&&":"==s.name&&"Declaration"==o.name||"ArgList"==o.name?{from:n,options:tV,validFor:tN}:"Block"==o.name||"Styles"==o.name?{from:n,options:tI(),validFor:tN}:null}),tH=a.bj.define({name:"css",parser:tY.configure({props:[a.Oh.add({Declaration:(0,a.mz)()}),a.b_.add({"Block KeyframeList":a.yd})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}}),tJ=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],tK=new e3({start:!1,shift:(e,t)=>5==t||6==t||320==t?e:321==t,strict:!1}),t0=new eU((e,t)=>{let{next:n}=e;(125==n||-1==n||t.context)&&e.acceptToken(318)},{contextual:!0,fallback:!0}),t1=new eU((e,t)=>{let{next:n}=e,r;tJ.indexOf(n)>-1||(47!=n||47!=(r=e.peek(1))&&42!=r)&&(125==n||59==n||-1==n||t.context||e.acceptToken(316))},{contextual:!0}),t2=new eU((e,t)=>{91!=e.next||t.context||e.acceptToken(317)},{contextual:!0}),t5=new eU((e,t)=>{let{next:n}=e;if(43==n||45==n){if(e.advance(),n==e.next){e.advance();let n=!t.context&&t.canShift(1);e.acceptToken(n?1:2)}}else 63==n&&46==e.peek(1)&&(e.advance(),e.advance(),(e.next<48||e.next>57)&&e.acceptToken(3))},{contextual:!0});function t4(e,t){return e>=65&&e<=90||e>=97&&e<=122||95==e||e>=192||!t&&e>=48&&e<=57}let t3=new eU((e,t)=>{if(60!=e.next||!t.dialectEnabled(0)||(e.advance(),47==e.next))return;let n=0;for(;tJ.indexOf(e.next)>-1;)e.advance(),n++;if(t4(e.next,!0)){for(e.advance(),n++;t4(e.next,!1);)e.advance(),n++;for(;tJ.indexOf(e.next)>-1;)e.advance(),n++;if(44==e.next)return;for(let t=0;;t++){if(7==t){if(!t4(e.next,!0))return;break}if(e.next!="extends".charCodeAt(t))break;e.advance(),n++}}e.acceptToken(4,-n)}),t9=(0,h.pn)({"get set async static":h._A.modifier,"for while do if else switch try catch finally return throw break continue default case defer":h._A.controlKeyword,"in of await yield void typeof delete instanceof as satisfies":h._A.operatorKeyword,"let var const using function class extends":h._A.definitionKeyword,"import export from":h._A.moduleKeyword,"with debugger new":h._A.keyword,TemplateString:h._A.special(h._A.string),super:h._A.atom,BooleanLiteral:h._A.bool,this:h._A.self,null:h._A.null,Star:h._A.modifier,VariableName:h._A.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":h._A.function(h._A.variableName),VariableDefinition:h._A.definition(h._A.variableName),Label:h._A.labelName,PropertyName:h._A.propertyName,PrivatePropertyName:h._A.special(h._A.propertyName),"CallExpression/MemberExpression/PropertyName":h._A.function(h._A.propertyName),"FunctionDeclaration/VariableDefinition":h._A.function(h._A.definition(h._A.variableName)),"ClassDeclaration/VariableDefinition":h._A.definition(h._A.className),"NewExpression/VariableName":h._A.className,PropertyDefinition:h._A.definition(h._A.propertyName),PrivatePropertyDefinition:h._A.definition(h._A.special(h._A.propertyName)),UpdateOp:h._A.updateOperator,"LineComment Hashbang":h._A.lineComment,BlockComment:h._A.blockComment,Number:h._A.number,String:h._A.string,Escape:h._A.escape,ArithOp:h._A.arithmeticOperator,LogicOp:h._A.logicOperator,BitOp:h._A.bitwiseOperator,CompareOp:h._A.compareOperator,RegExp:h._A.regexp,Equals:h._A.definitionOperator,Arrow:h._A.function(h._A.punctuation),": Spread":h._A.punctuation,"( )":h._A.paren,"[ ]":h._A.squareBracket,"{ }":h._A.brace,"InterpolationStart InterpolationEnd":h._A.special(h._A.brace),".":h._A.derefOperator,", ;":h._A.separator,"@":h._A.meta,TypeName:h._A.typeName,TypeDefinition:h._A.definition(h._A.typeName),"type enum interface implements namespace module declare":h._A.definitionKeyword,"abstract global Privacy readonly override":h._A.modifier,"is keyof unique infer asserts":h._A.operatorKeyword,JSXAttributeValue:h._A.attributeValue,JSXText:h._A.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":h._A.angleBracket,"JSXIdentifier JSXNameSpacedName":h._A.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":h._A.attributeName,"JSXBuiltin/JSXIdentifier":h._A.standard(h._A.tagName)}),t7={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,in:52,out:55,const:56,extends:60,this:64,true:72,false:72,null:84,void:88,typeof:92,super:108,new:142,delete:154,yield:163,await:167,class:172,public:235,private:235,protected:235,readonly:237,instanceof:256,satisfies:259,import:292,keyof:349,unique:353,infer:359,asserts:395,is:397,abstract:417,implements:419,type:421,let:424,var:426,using:429,interface:435,enum:439,namespace:445,module:447,declare:451,global:455,defer:471,for:476,of:485,while:488,with:492,do:496,if:500,else:502,switch:506,case:512,try:518,catch:522,finally:526,return:530,throw:534,break:538,continue:542,debugger:546},t6={__proto__:null,async:129,get:131,set:133,declare:195,public:197,private:197,protected:197,static:199,abstract:201,override:203,readonly:209,accessor:211,new:401},t8={__proto__:null,"<":193},ne=e9.deserialize({version:14,states:"$F|Q%TQlOOO%[QlOOO'_QpOOP(lO`OOO*zQ!0MxO'#CiO+RO#tO'#CjO+aO&jO'#CjO+oO#@ItO'#DaO.QQlO'#DgO.bQlO'#DrO%[QlO'#DzO0fQlO'#ESOOQ!0Lf'#E['#E[O1PQ`O'#EXOOQO'#Ep'#EpOOQO'#Il'#IlO1XQ`O'#GsO1dQ`O'#EoO1iQ`O'#EoO3hQ!0MxO'#JrO6[Q!0MxO'#JsO6uQ`O'#F]O6z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SR=v>SR#[WR'Z!el!tQ!r!v!y!z'`'l'm'n-e-u1o5{5}S'V!e-]U*j$|*Z*oS-Y'W'_S0U*k*qQ0^*rQ2u-cQ4v0[R4{0_R({#xQ!fQT-d'`-e]!qQ!r'`-e1o5{Q#p]R'i<VR)f$dY!uQ'`-e1o5{Q'k!rS'u!v!yS'w!z5}S-t'l'mQ-v'nR3T-uT#kZ%eS#jZ%eS%km,oU(g#h#i#lS.Y(h(iQ.^(jQ0t+^Q3Y.ZU3Z.[.]._S7S3[3]R9`7Td#^W#W#Z%h(T(^*Y+Z.T/mr#gZm#h#i#l%e(h(i(j+^.Z.[.]._3[3]7TS*]$x*bQ/t*^Q2U,oQ2l-VQ4`/pQ6q2dQ7s4aQ9W6rT=m'X+[V#aW%h*YU#`W%h*YS(U#W(^U(Z#Z+Z/mS-['X+[T.O(T.TV'^!e%i*ZQ$lfR)x$qT)m$l)nR4V/UT*_$x*bT*h${*YQ0w+fQ1g,VQ3_.fQ5t1iQ6P1qQ7X3cQ8r6SQ9c7WQ:^8qQ:p9bQ;Z:`Q;c:rQ;n;[R;q;dnqOXst!Z#d%m&r&t&u&w,s,x2[2_Q&l!VR,h&itmOXst!U!V!Z#d%m&i&r&t&u&w,s,x2[2_R,o&oT%lm,oR1k,XR,g&gQ&U|S+}&V&WR1^,OR+s&PT&p!W&sT&q!W&sT2^,x2_",nodeNames:"⚠ ArithOp ArithOp ?. JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList in out const TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast < ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate asserts is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration defer ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:380,context:tK,nodeProps:[["isolate",-8,5,6,14,37,39,51,53,55,""],["group",-26,9,17,19,68,207,211,215,216,218,221,224,234,237,243,245,247,249,252,258,264,266,268,270,272,274,275,"Statement",-34,13,14,32,35,36,42,51,54,55,57,62,70,72,76,80,82,84,85,110,111,120,121,136,139,141,142,143,144,145,147,148,167,169,171,"Expression",-23,31,33,37,41,43,45,173,175,177,178,180,181,182,184,185,186,188,189,190,201,203,205,206,"Type",-3,88,103,109,"ClassItem"],["openedBy",23,"<",38,"InterpolationStart",56,"[",60,"{",73,"(",160,"JSXStartCloseTag"],["closedBy",-2,24,168,">",40,"InterpolationEnd",50,"]",61,"}",74,")",165,"JSXEndTag"]],propSources:[t9],skippedNodes:[0,5,6,278],repeatNodeCount:37,tokenData:"$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$<r#p#q$=h#q#r$>x#r#s$@U#s$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$I|Er$I|$I}$Dk$I}$JO$Dk$JO$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr(n%d_$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$i&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$i&j(Z!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#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OEr",tokenizers:[t1,t2,t5,t3,2,3,4,5,6,7,8,9,10,11,12,13,14,t0,new eN("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOx~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!U~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(c~~",141,340),new eN("j~RQYZXz{^~^O(Q~~aP!P!Qd~iO(R~~",25,323)],topRules:{Script:[0,7],SingleExpression:[1,276],SingleClassItem:[2,277]},dialects:{jsx:0,ts:15175},dynamicPrecedences:{80:1,82:1,94:1,169:1,199:1},specialized:[{term:327,get:e=>t7[e]||-1},{term:343,get:e=>t6[e]||-1},{term:95,get:e=>t8[e]||-1}],tokenPrec:15201}),nt=[(0,c.Gw)("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),(0,c.Gw)("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),(0,c.Gw)("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),(0,c.Gw)("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),(0,c.Gw)("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),(0,c.Gw)("try {\n ${}\n} catch (${error}) {\n ${}\n}",{label:"try",detail:"/ catch block",type:"keyword"}),(0,c.Gw)("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),(0,c.Gw)("if (${}) {\n ${}\n} else {\n ${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),(0,c.Gw)("class ${name} {\n constructor(${params}) {\n ${}\n }\n}",{label:"class",detail:"definition",type:"keyword"}),(0,c.Gw)('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),(0,c.Gw)('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],nn=nt.concat([(0,c.Gw)("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),(0,c.Gw)("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),(0,c.Gw)("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),nr=new u.RY,ni=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function nl(e){return(t,n)=>{let r=t.node.getChild("VariableDefinition");return r&&n(r,e),!0}}let no=["FunctionDeclaration"],ns={FunctionDeclaration:nl("function"),ClassDeclaration:nl("class"),ClassExpression:()=>!0,EnumDeclaration:nl("constant"),TypeAliasDeclaration:nl("type"),NamespaceDeclaration:nl("namespace"),VariableDefinition(e,t){e.matchContext(no)||t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null},na=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,nc=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."];function nu(e){let t=(0,a.mv)(e.state).resolveInner(e.pos,-1);if(nc.indexOf(t.name)>-1)return null;let n="VariableName"==t.name||t.to-t.from<20&&na.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;let r=[];for(let n=t;n;n=n.parent)ni.has(n.name)&&(r=r.concat(function e(t,n){let r=nr.get(n);if(r)return r;let i=[],l=!0;function o(e,n){let r=t.sliceString(e.from,e.to);i.push({label:r,type:n})}return n.cursor(u.Qj.IncludeAnonymous).iterate(n=>{if(l)l=!1;else if(n.name){let e=ns[n.name];if(e&&e(n,o)||ni.has(n.name))return!1}else if(n.to-n.from>8192){for(let r of e(t,n.node))i.push(r);return!1}}),nr.set(n,i),i}(e.state.doc,n)));return{options:r,from:n?t.from:e.pos,validFor:na}}let nh=a.bj.define({name:"javascript",parser:ne.configure({props:[a.Oh.add({IfStatement:(0,a.mz)({except:/^\s*({|else\b)/}),TryStatement:(0,a.mz)({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:a._Y,SwitchBody:e=>{let t=e.textAfter,n=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n?0:r?1:2)*e.unit},Block:(0,a.Ay)({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":(0,a.mz)({except:/^\s*{/}),JSXElement(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape(e){let t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag":e=>e.column(e.node.from)+e.unit}),a.b_.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":a.yd,BlockComment:e=>({from:e.from+2,to:e.to-2}),JSXElement(e){let t=e.firstChild;if(!t||"JSXSelfClosingTag"==t.name)return null;let n=e.lastChild;return{from:t.to,to:n.type.isError?e.to:n.from}},"JSXSelfClosingTag JSXOpenTag"(e){var t;let n=null==(t=e.firstChild)?void 0:t.nextSibling,r=e.lastChild;return!n||n.type.isError?null:{from:n.to,to:r.type.isError?e.to:r.from}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),nf={test:e=>/^JSX/.test(e.name),facet:(0,a.p9)({commentTokens:{block:{open:"{/*",close:"*/}"}}})},nO=nh.configure({dialect:"ts"},"typescript"),nd=nh.configure({dialect:"jsx",props:[a.Q0.add(e=>e.isTop?[nf]:void 0)]}),np=nh.configure({dialect:"jsx ts",props:[a.Q0.add(e=>e.isTop?[nf]:void 0)]},"typescript"),nm=e=>({label:e,type:"keyword"}),ng="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(nm),ny=ng.concat(["declare","implements","private","protected","public"].map(nm));function nx(e,t,n=e.length){for(let r=null==t?void 0:t.firstChild;r;r=r.nextSibling)if("JSXIdentifier"==r.name||"JSXBuiltin"==r.name||"JSXNamespacedName"==r.name||"JSXMemberExpression"==r.name)return e.sliceString(r.from,Math.min(r.to,n));return""}let nk="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),nb=s.Lz.inputHandler.of((e,t,n,r,i)=>{if((nk?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!nh.isActiveAt(e.state,t,-1))return!1;let l=i(),{state:s}=l,c=s.changeByRange(e=>{var t;let{head:n}=e,i=(0,a.mv)(s).resolveInner(n-1,-1),l;if("JSXStartTag"==i.name&&(i=i.parent),s.doc.sliceString(n-1,n)!=r||"JSXAttributeValue"==i.name&&i.to>n);else if(">"==r&&"JSXFragmentTag"==i.name)return{range:e,changes:{from:n,insert:"</>"}};else if("/"==r&&"JSXStartCloseTag"==i.name){let e=i.parent,r=e.parent;if(r&&e.from==n-2&&((l=nx(s.doc,r.firstChild,n))||(null==(t=r.firstChild)?void 0:t.name)=="JSXFragmentTag")){let e=`${l}>`;return{range:o.OF.cursor(n+e.length,-1),changes:{from:n,insert:e}}}}else if(">"==r){let t=function(e){for(;;){if("JSXOpenTag"==e.name||"JSXSelfClosingTag"==e.name||"JSXFragmentTag"==e.name)return e;if("JSXEscape"==e.name||!e.parent)return null;e=e.parent}}(i);if(t&&"JSXOpenTag"==t.name&&!/^\/?>|^<\//.test(s.doc.sliceString(n,n+2))&&(l=nx(s.doc,t,n)))return{range:e,changes:{from:n,insert:`</${l}>`}}}return{range:e}});return!c.changes.empty&&(e.dispatch([l,s.update(c,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),nv=["_blank","_self","_top","_parent"],nQ=["ascii","utf-8","utf-16","latin1","latin1"],nS=["get","post","put","delete"],nw=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],n$=["true","false"],nP={},nZ={a:{attrs:{href:null,ping:null,type:null,media:null,target:nv,hreflang:null}},abbr:nP,address:nP,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:nP,aside:nP,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:nP,base:{attrs:{href:null,target:nv}},bdi:nP,bdo:nP,blockquote:{attrs:{cite:null}},body:nP,br:nP,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:nw,formmethod:nS,formnovalidate:["novalidate"],formtarget:nv,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:nP,center:nP,cite:nP,code:nP,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:nP,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:nP,div:nP,dl:nP,dt:nP,em:nP,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:nP,figure:nP,footer:nP,form:{attrs:{action:null,name:null,"accept-charset":nQ,autocomplete:["on","off"],enctype:nw,method:nS,novalidate:["novalidate"],target:nv}},h1:nP,h2:nP,h3:nP,h4:nP,h5:nP,h6:nP,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:nP,hgroup:nP,hr:nP,html:{attrs:{manifest:null}},i:nP,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:nw,formmethod:nS,formnovalidate:["novalidate"],formtarget:nv,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:nP,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:nP,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:nP,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:nQ,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:nP,noscript:nP,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:nP,param:{attrs:{name:null,value:null}},pre:nP,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:nP,rt:nP,ruby:nP,samp:nP,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:nQ}},section:nP,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:nP,source:{attrs:{src:null,type:null,media:null}},span:nP,strong:nP,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:nP,summary:nP,sup:nP,table:nP,tbody:nP,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:nP,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:nP,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:nP,time:{attrs:{datetime:null}},title:nP,tr:nP,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:nP,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:nP},nT={accesskey:null,class:null,contenteditable:n$,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:n$,autocorrect:n$,autocapitalize:n$,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":n$,"aria-autocomplete":["inline","list","both","none"],"aria-busy":n$,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":n$,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":n$,"aria-hidden":n$,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":n$,"aria-multiselectable":n$,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":n$,"aria-relevant":null,"aria-required":n$,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},nX="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(e=>"on"+e);for(let e of nX)nT[e]=null;class nA{constructor(e,t){this.tags={...nZ,...e},this.globalAttrs={...nT,...t},this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}function nC(e,t,n=e.length){if(!t)return"";let r=t.firstChild,i=r&&r.getChild("TagName");return i?e.sliceString(i.from,Math.min(i.to,n)):""}function n_(e,t=!1){for(;e;e=e.parent)if("Element"==e.name)if(!t)return e;else t=!1;return null}function nR(e,t,n){let r=n.tags[nC(e,n_(t))];return(null==r?void 0:r.children)||n.allTags}function nj(e,t){let n=[];for(let r=n_(t);r&&!r.type.isTop;r=n_(r.parent)){let i=nC(e,r);if(i&&"CloseTag"==r.lastChild.name)break;i&&0>n.indexOf(i)&&("EndTag"==t.name||t.from>=r.firstChild.to)&&n.push(i)}return n}nA.default=new nA;let nz=/^[:\-\.\w\u00b7-\uffff]*$/;function nE(e,t,n,r,i){let l=/\s*>/.test(e.sliceDoc(i,i+5))?"":">",o=n_(n,"StartTag"==n.name||"TagName"==n.name);return{from:r,to:i,options:nR(e.doc,o,t).map(e=>({label:e,type:"type"})).concat(nj(e.doc,n).map((e,t)=>({label:"/"+e,apply:"/"+e+l,type:"type",boost:99-t}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function nM(e,t,n,r){let i=/\s*>/.test(e.sliceDoc(r,r+5))?"":">";return{from:n,to:r,options:nj(e.doc,t).map((e,t)=>({label:e,apply:e+i,type:"type",boost:99-t})),validFor:nz}}function nY(e,t){let{state:n,pos:r}=t,i=(0,a.mv)(n).resolveInner(r,-1),l=i.resolve(r);for(let e=r,t;l==i&&(t=i.childBefore(e));){let n=t.lastChild;if(!n||!n.type.isError||n.from<n.to)break;l=i=t,e=n.from}if("TagName"==i.name)return i.parent&&/CloseTag$/.test(i.parent.name)?nM(n,i,i.from,r):nE(n,e,i,i.from,r);if("StartTag"==i.name||"IncompleteTag"==i.name)return nE(n,e,i,r,r);if("StartCloseTag"==i.name||"IncompleteCloseTag"==i.name)return nM(n,i,r,r);if("OpenTag"==i.name||"SelfClosingTag"==i.name||"AttributeName"==i.name){var o,s;let t,l,a;return o=i,s="AttributeName"==i.name?i.from:r,a=(l=(t=n_(o))?e.tags[nC(n.doc,t)]:null)&&l.attrs?Object.keys(l.attrs):[],{from:s,to:r,options:(l&&!1===l.globalAttrs?a:a.length?a.concat(e.globalAttrNames):e.globalAttrNames).map(e=>({label:e,type:"property"})),validFor:nz}}{if("Is"==i.name||"AttributeValue"==i.name||"UnquotedAttributeValue"==i.name)return function(e,t,n,r,i){var l;let o=null==(l=n.parent)?void 0:l.getChild("AttributeName"),s=[],a;if(o){let l=e.sliceDoc(o.from,o.to),c=t.globalAttrs[l];if(!c){let r=n_(n),i=r?t.tags[nC(e.doc,r)]:null;c=(null==i?void 0:i.attrs)&&i.attrs[l]}if(c){let t=e.sliceDoc(r,i).toLowerCase(),n='"',l='"';for(let o of(/^['"]/.test(t)?(a='"'==t[0]?/^[^"]*$/:/^[^']*$/,n="",l=e.sliceDoc(i,i+1)==t[0]?"":t[0],t=t.slice(1),r++):a=/^[^\s<>='"]*$/,c))s.push({label:o,apply:n+o+l,type:"constant"})}}return{from:r,to:i,options:s,validFor:a}}(n,e,i,"Is"==i.name?r:i.from,r);if(!t.explicit||"Element"!=l.name&&"Text"!=l.name&&"Document"!=l.name)return null;var c=i;let o=[],s=0;for(let t of nR(n.doc,c,e))o.push({label:"<"+t,type:"type"});for(let e of nj(n.doc,c))o.push({label:"</"+e+">",type:"type",boost:99-s++});return{from:r,to:r,options:o,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}}let nL=nh.parser.configure({top:"SingleExpression"}),nI=[{tag:"script",attrs:e=>"text/typescript"==e.type||"ts"==e.lang,parser:nO.parser},{tag:"script",attrs:e=>"text/babel"==e.type||"text/jsx"==e.type,parser:nd.parser},{tag:"script",attrs:e=>"text/typescript-jsx"==e.type,parser:np.parser},{tag:"script",attrs:e=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type),parser:nL},{tag:"script",attrs:e=>!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type),parser:nh.parser},{tag:"style",attrs:e=>(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type)),parser:tH.parser}],nq=[{name:"style",parser:tH.parser.configure({top:"Styles"})}].concat(nX.map(e=>({name:e,parser:nh.parser}))),nV=a.bj.define({name:"html",parser:tx.configure({props:[a.Oh.add({Element(e){let t=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit,Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length<e.node.to)return e.continue();let t=null,n;for(let n=e.node;;){let e=n.lastChild;if(!e||"Element"!=e.name||e.to!=n.to)break;t=n=e}return t&&!((n=t.lastChild)&&("CloseTag"==n.name||"SelfClosingTag"==n.name))?e.lineIndent(t.from)+e.unit:null}}),a.b_.add({Element(e){let t=e.firstChild,n=e.lastChild;return t&&"OpenTag"==t.name?{from:t.to,to:"CloseTag"==n.name?n.from:e.to}:null}}),a.Q_.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-_"}}),nD=nV.configure({wrap:tQ(nI,nq)}),nW=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),nN=s.Lz.inputHandler.of((e,t,n,r,i)=>{if(e.composing||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!nD.isActiveAt(e.state,t,-1))return!1;let l=i(),{state:s}=l,c=s.changeByRange(e=>{var t,n,i;let l=s.doc.sliceString(e.from-1,e.to)==r,{head:c}=e,u=(0,a.mv)(s).resolveInner(c,-1),h;if(l&&">"==r&&"EndTag"==u.name){let r=u.parent;if((null==(n=null==(t=r.parent)?void 0:t.lastChild)?void 0:n.name)!="CloseTag"&&(h=nC(s.doc,r.parent,c))&&!nW.has(h)){let t=c+ +(">"===s.doc.sliceString(c,c+1));return{range:e,changes:{from:c,to:t,insert:`</${h}>`}}}}else if(l&&"/"==r&&"IncompleteCloseTag"==u.name){let e=u.parent;if(u.from==c-2&&(null==(i=e.lastChild)?void 0:i.name)!="CloseTag"&&(h=nC(s.doc,e,c))&&!nW.has(h)){let e=c+ +(">"===s.doc.sliceString(c,c+1)),t=`${h}>`;return{range:o.OF.cursor(c+t.length,-1),changes:{from:c,to:e,insert:t}}}}return{range:e}});return!c.changes.empty&&(e.dispatch([l,s.update(c,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),nU=(0,a.p9)({commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}}}),nB=new u.uY,nG=ed.configure({props:[a.b_.add(e=>{var t;return!e.is("Block")||e.is("Document")||null!=nF(e)||"OrderedList"==(t=e).name||"BulletList"==t.name?void 0:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})}),nB.add(nF),a.Oh.add({Document:()=>null}),a.iB.add({Document:nU})]});function nF(e){let t=/^(?:ATX|Setext)Heading(\d)$/.exec(e.name);return t?+t[1]:void 0}let nH=a.t.of((e,t,n)=>{for(let r=(0,a.mv)(e).resolveInner(n,-1);r&&!(r.from<t);r=r.parent){let e=r.type.prop(nB);if(null==e)continue;let t=function(e,t){let n=e;for(;;){let e=n.nextSibling,r;if(!e||null!=(r=nF(e.type))&&r<=t)break;n=e}return n.to}(r,e);if(t>n)return{from:n,to:t}}return null});function nJ(e){return new a.TM(nU,e,[],"markdown")}let nK=nJ(nG),n0=nJ(nG.configure([eA,eR,e_,ej,{props:[a.b_.add({Table:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}]));class n1{constructor(e,t,n,r,i,l,o){this.node=e,this.from=t,this.to=n,this.spaceBefore=r,this.spaceAfter=i,this.type=l,this.item=o}blank(e,t=!0){let n=this.spaceBefore+("Blockquote"==this.node.name?">":"");if(null!=e){for(;n.length<e;)n+=" ";return n}for(let e=this.to-this.from-n.length-this.spaceAfter.length;e>0;e--)n+=" ";return n+(t?this.spaceAfter:"")}marker(e,t){let n="OrderedList"==this.node.name?String(+n5(this.item,e)[2]+t):"";return this.spaceBefore+n+this.type+this.spaceAfter}}function n2(e,t){let n=[],r=[];for(let t=e;t;t=t.parent){if("FencedCode"==t.name)return r;("ListItem"==t.name||"Blockquote"==t.name)&&n.push(t)}for(let e=n.length-1;e>=0;e--){let i=n[e],l,o=t.lineAt(i.from),s=i.from-o.from;if("Blockquote"==i.name&&(l=/^ *>( ?)/.exec(o.text.slice(s))))r.push(new n1(i,s,s+l[0].length,"",l[1],">",null));else if("ListItem"==i.name&&"OrderedList"==i.parent.name&&(l=/^( *)\d+([.)])( *)/.exec(o.text.slice(s)))){let e=l[3],t=l[0].length;e.length>=4&&(e=e.slice(0,e.length-4),t-=4),r.push(new n1(i.parent,s,s+t,l[1],e,l[2],i))}else if("ListItem"==i.name&&"BulletList"==i.parent.name&&(l=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(o.text.slice(s)))){let e=l[4],t=l[0].length;e.length>4&&(e=e.slice(0,e.length-4),t-=4);let n=l[2];l[3]&&(n+=l[3].replace(/[xX]/," ")),r.push(new n1(i.parent,s,s+t,l[1],e,n,i))}}return r}function n5(e,t){return/^(\s*)(\d+)(?=[.)])/.exec(t.sliceString(e.from,e.from+10))}function n4(e,t,n,r=0){for(let i=-1,l=e;;){if("ListItem"==l.name){let e=n5(l,t),o=+e[2];if(i>=0){if(o!=i+1)return;n.push({from:l.from+e[1].length,to:l.from+e[0].length,insert:String(i+2+r)})}i=o}let e=l.nextSibling;if(!e)break;l=e}}function n3(e,t){let n=/^[ \t]*/.exec(e)[0].length;if(!n||" "!=t.facet(a.Xt))return e;let r=(0,o.y$)(e,4,n),i="";for(let e=r;e>0;)e>=4?(i+=" ",e-=4):(i+=" ",e--);return i+e.slice(n)}function n9(e){return"QuoteMark"==e.name||"ListMark"==e.name}function n7(e,t,n){let r="";for(let t=0,i=e.length-2;t<=i;t++)r+=e[t].blank(t<i?(0,o.y$)(n.text,4,e[t+1].from)-r.length:null,t<i);return n3(r,t)}let n6=[{key:"Enter",run:((e={})=>({state:t,dispatch:n})=>{let r=(0,a.mv)(t),{doc:i}=t,l=null,s=t.changeByRange(n=>{if(!n.empty||!n0.isActiveAt(t,n.from,-1)&&!n0.isActiveAt(t,n.from,1))return l={range:n};let s=n.from,a=i.lineAt(s),c=n2(r.resolveInner(s,-1),i);for(;c.length&&c[c.length-1].from>s-a.from;)c.pop();if(!c.length)return l={range:n};let u=c[c.length-1];if(u.to-u.spaceAfter.length>s-a.from)return l={range:n};let h=s>=u.to-u.spaceAfter.length&&!/\S/.test(a.text.slice(u.to));if(u.item&&h){let n=u.node.firstChild,r=u.node.getChild("ListItem","ListItem");if(n.to>=s||r&&r.to<s||a.from>0&&!/[^\s>]/.test(i.lineAt(a.from-1).text)||!1===e.nonTightLists){let e=c.length>1?c[c.length-2]:null,t,n="";e&&e.item?(t=a.from+e.from,n=e.marker(i,1)):t=a.from+(e?e.to:0);let r=[{from:t,to:s,insert:n}];return"OrderedList"==u.node.name&&n4(u.item,i,r,-2),e&&"OrderedList"==e.node.name&&n4(e.item,i,r),{range:o.OF.cursor(t+n.length),changes:r}}{let e=n7(c,t,a);return{range:o.OF.cursor(s+e.length+1),changes:{from:a.from,insert:e+t.lineBreak}}}}if("Blockquote"==u.node.name&&h&&a.from){let e=i.lineAt(a.from-1),r=/>\s*$/.exec(e.text);if(r&&r.index==u.from){let i=t.changes([{from:e.from+r.index,to:e.to},{from:a.from+u.from,to:a.to}]);return{range:n.map(i),changes:i}}}let f=[];"OrderedList"==u.node.name&&n4(u.item,i,f);let O=u.item&&u.item.from<a.from,d="";if(!O||/^[\s\d.)\-+*>]*/.exec(a.text)[0].length>=u.to)for(let e=0,t=c.length-1;e<=t;e++)d+=e!=t||O?c[e].blank(e<t?(0,o.y$)(a.text,4,c[e+1].from)-d.length:null):c[e].marker(i,1);let p=s;for(;p>a.from&&/\s/.test(a.text.charAt(p-a.from-1));)p--;return d=n3(d,t),function(e,t){if("OrderedList"!=e.name&&"BulletList"!=e.name)return!1;let n=e.firstChild,r=e.getChild("ListItem","ListItem");if(!r)return!1;let i=t.lineAt(n.to),l=t.lineAt(r.from),o=/^[\s>]*$/.test(i.text);return i.number+ +!o<l.number}(u.node,t.doc)&&(d=n7(c,t,a)+t.lineBreak+d),f.push({from:p,to:s,insert:t.lineBreak+d}),{range:o.OF.cursor(p+d.length+1),changes:f}});return!l&&(n(t.update(s,{scrollIntoView:!0,userEvent:"input"})),!0)})()},{key:"Backspace",run:({state:e,dispatch:t})=>{let n=(0,a.mv)(e),r=null,i=e.changeByRange(t=>{let i=t.from,{doc:l}=e;if(t.empty&&n0.isActiveAt(e,t.from)){let t=l.lineAt(i),r=n2(function(e,t){let n=e.resolveInner(t,-1),r=t;n9(n)&&(r=n.from,n=n.parent);for(let e;e=n.childBefore(r);)if(n9(e))r=e.from;else if("OrderedList"==e.name||"BulletList"==e.name)r=(n=e.lastChild).to;else break;return n}(n,i),l);if(r.length){let n=r[r.length-1],l=n.to-n.spaceAfter.length+ +!!n.spaceAfter;if(i-t.from>l&&!/\S/.test(t.text.slice(l,i-t.from)))return{range:o.OF.cursor(t.from+l),changes:{from:t.from+l,to:i}};if(i-t.from==l&&(!n.item||t.from<=n.item.from||!/\S/.test(t.text.slice(0,n.to)))){let r=t.from+n.from;if(n.item&&n.node.from<n.item.from&&/\S/.test(t.text.slice(n.from,n.to))){let i=n.blank((0,o.y$)(t.text,4,n.to)-(0,o.y$)(t.text,4,n.from));return r==t.from&&(i=n3(i,e)),{range:o.OF.cursor(r+i.length),changes:{from:r,to:t.from+n.to,insert:i}}}if(r<i)return{range:o.OF.cursor(r),changes:{from:r,to:i}}}}}return r={range:t}});return!r&&(t(e.update(i,{scrollIntoView:!0,userEvent:"delete"})),!0)}}],n8=function(e={}){let t="",n;!1===e.matchClosingTags&&(t="noMatch"),!0===e.selfClosingTags&&(t=(t?t+" ":"")+"selfClosing"),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(n=tQ((e.nestedLanguages||[]).concat(nI),(e.nestedAttributes||[]).concat(nq)));let r=n?nV.configure({wrap:n,dialect:t}):t?nD.configure({dialect:t}):nD;return new a.Yy(r,[nD.data.of({autocomplete:function(e){let{extraTags:t,extraGlobalAttributes:n}=e,r=n||t?new nA(t,n):nA.default;return e=>nY(r,e)}(e)}),!1!==e.autoCloseTags?nN:[],function(e={}){let t=e.jsx?e.typescript?np:nd:e.typescript?nO:nh,n=e.typescript?nn.concat(ny):nt.concat(ng);return new a.Yy(t,[nh.data.of({autocomplete:(0,c.Ar)(nc,(0,c.et)(n))}),nh.data.of({autocomplete:nu}),e.jsx?nb:[]])}().support,new a.Yy(tH,tH.data.of({autocomplete:tF})).support])}({matchClosingTags:!1});function re(e={}){var t;let{codeLanguages:n,defaultCodeLanguage:r,addKeymap:i=!0,base:{parser:c}=nK,completeHTMLTags:h=!0,pasteURLAsLink:f=!0,htmlTagLanguage:O=n8}=e;if(!(c instanceof q))throw RangeError("Base parser provided to `markdown` should be a Markdown parser");let d=e.extensions?[e.extensions]:[],p=[O.support,nH],m;f&&p.push(ri),r instanceof a.Yy?(p.push(r.support),m=r.language):r&&(m=r);let g=n||m?(t=m,e=>{if(e&&n){let t=null;if(e=/\S*/.exec(e)[0],(t="function"==typeof n?n(e):a.t$.matchLanguageName(n,e,!0))instanceof a.t$)return t.support?t.support.language.parser:a.nq.getSkippingParser(t.load());if(t)return t.parser}return t?t.parser:null}):void 0;d.push(function(e){let{codeParser:t,htmlParser:n}=e;return{wrap:(0,u.$g)((e,r)=>{let i=e.type.id;if(t&&(i==l.CodeBlock||i==l.FencedCode)){let n="";if(i==l.FencedCode){let t=e.node.getChild(l.CodeInfo);t&&(n=r.read(t.from,t.to))}let o=t(n);if(o)return{parser:o,overlay:e=>e.type.id==l.CodeText,bracketed:i==l.FencedCode}}else if(n&&(i==l.HTMLBlock||i==l.HTMLTag||i==l.CommentBlock))return{parser:n,overlay:function(e,t,n){let r=[];for(let i=e.firstChild,l=t;;i=i.nextSibling){let e=i?i.from:n;if(e>l&&r.push({from:l,to:e}),!i)break;l=i.to}return r}(e.node,e.from,e.to)};return null})}}({codeParser:g,htmlParser:O.language.parser})),i&&p.push(o.Nb.high(s.w4.of(n6)));let y=nJ(c.configure(d));return h&&p.push(y.data.of({autocomplete:rt})),new a.Yy(y,p)}function rt(e){let{state:t,pos:n}=e,r=/<[:\-\.\w\u00b7-\uffff]*$/.exec(t.sliceDoc(n-25,n));if(!r)return null;let i=(0,a.mv)(t).resolveInner(n,-1);for(;i&&!i.type.isTop;){if("CodeBlock"==i.name||"FencedCode"==i.name||"ProcessingInstructionBlock"==i.name||"CommentBlock"==i.name||"Link"==i.name||"Image"==i.name)return null;i=i.parent}return{from:n-r[0].length,to:n,options:function(){var e;if(rn)return rn;let t=(e=new c._5(o.$t.create({extensions:n8}),0,!0),nY(nA.default,e));return rn=t?t.options:[]}(),validFor:/^<[:\-\.\w\u00b7-\uffff]*$/}}let rn=null,rr=/code|horizontalrule|html|link|comment|processing|escape|entity|image|mark|url/i,ri=s.Lz.domEventHandlers({paste:(e,t)=>{var n;let{main:r}=t.state.selection;if(r.empty)return!1;let i=null==(n=e.clipboardData)?void 0:n.getData("text/plain");if(!i||!/^(https?:\/\/|mailto:|xmpp:|www\.)/.test(i)||(/^www\./.test(i)&&(i="https://"+i),!n0.isActiveAt(t.state,r.from,1)))return!1;let l=(0,a.mv)(t.state),o=!1;return l.iterate({from:r.from,to:r.to,enter:e=>{(e.from>r.from||rr.test(e.name))&&(o=!0)},leave:e=>{e.to<r.to&&(o=!0)}}),!o&&(t.dispatch({changes:[{from:r.from,insert:"["},{from:r.to,insert:`](${i})`}],userEvent:"input.paste",scrollIntoView:!0}),!0)}})},9634:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let n=null;if(!e||"string"!=typeof e)return n;let r=(0,i.default)(e),l="function"==typeof t;return r.forEach(e=>{if("declaration"!==e.type)return;let{property:r,value:i}=e;l?t(r,i,e):i&&((n=n||{})[r]=i)}),n};let i=r(n(1090))},9768:(e,t,n)=>{n.d(t,{$$:()=>p,Es:()=>O,KG:()=>g,Ks:()=>P,Ll:()=>s,Re:()=>S,Sw:()=>l,TW:()=>f,WQ:()=>Q,YG:()=>b,YN:()=>m,ZC:()=>x,_q:()=>d,ag:()=>T,e_:()=>$,jn:()=>i,kx:()=>w,l6:()=>o,lk:()=>y,sb:()=>u,wz:()=>c,xZ:()=>h,zk:()=>a});var r=n(2115);function i(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)(()=>e=>{t.forEach(t=>t(e))},t)}let l="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function o(e){let t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function s(e){return"nodeType"in e}function a(e){var t,n;return e?o(e)?e:s(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window}function c(e){let{Document:t}=a(e);return e instanceof t}function u(e){return!o(e)&&e instanceof a(e).HTMLElement}function h(e){return e instanceof a(e).SVGElement}function f(e){return e?o(e)?e.document:s(e)?c(e)?e:u(e)||h(e)?e.ownerDocument:document:document:document}let O=l?r.useLayoutEffect:r.useEffect;function d(e){let t=(0,r.useRef)(e);return O(()=>{t.current=e}),(0,r.useCallback)(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}function p(){let e=(0,r.useRef)(null);return[(0,r.useCallback)((t,n)=>{e.current=setInterval(t,n)},[]),(0,r.useCallback)(()=>{null!==e.current&&(clearInterval(e.current),e.current=null)},[])]}function m(e,t){void 0===t&&(t=[e]);let n=(0,r.useRef)(e);return O(()=>{n.current!==e&&(n.current=e)},t),n}function g(e,t){let n=(0,r.useRef)();return(0,r.useMemo)(()=>{let t=e(n.current);return n.current=t,t},[...t])}function y(e){let t=d(e),n=(0,r.useRef)(null),i=(0,r.useCallback)(e=>{e!==n.current&&(null==t||t(e,n.current)),n.current=e},[]);return[n,i]}function x(e){let t=(0,r.useRef)();return(0,r.useEffect)(()=>{t.current=e},[e]),t.current}let k={};function b(e,t){return(0,r.useMemo)(()=>{if(t)return t;let n=null==k[e]?0:k[e]+1;return k[e]=n,e+"-"+n},[e,t])}function v(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((t,n)=>{for(let[r,i]of Object.entries(n)){let n=t[r];null!=n&&(t[r]=n+e*i)}return t},{...t})}}let Q=v(1),S=v(-1);function w(e){if(!e)return!1;let{KeyboardEvent:t}=a(e.target);return t&&e instanceof t}function $(e){if(function(e){if(!e)return!1;let{TouchEvent:t}=a(e.target);return t&&e instanceof t}(e)){if(e.touches&&e.touches.length){let{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){let{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return"clientX"in e&&"clientY"in e?{x:e.clientX,y:e.clientY}:null}let P=Object.freeze({Translate:{toString(e){if(!e)return;let{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;let{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[P.Translate.toString(e),P.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),Z="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function T(e){return e.matches(Z)?e:e.querySelector(Z)}}}]);
|