1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[424],{206:(e,t,n)=>{"use strict";n.r(t),n.d(t,{css:()=>L,cssCompletionSource:()=>j,cssLanguage:()=>M,defineCSSCompletionSource:()=>R});var r=n(90135),i=n(13051);let o=[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 l(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function s(e){return e>=48&&e<=57}function a(e){return s(e)||e>=97&&e<=102||e>=65&&e<=70}let u=(e,t,n)=>(r,i)=>{for(let o=!1,u=0,c=0;;c++){let{next:h}=r;if(l(h)||45==h||95==h||o&&s(h))!o&&(45!=h||c>0)&&(o=!0),u===c&&45==h&&u++,r.advance();else if(92==h&&10!=r.peek(1)){if(r.advance(),a(r.next)){do r.advance();while(a(r.next));32==r.next&&r.advance()}else r.next>-1&&r.advance();o=!0}else{o&&r.acceptToken(u>=2&&i.canShift(2)?t:40==h?n:e);break}}},c=new r.Lu(u(149,2,150),{contextual:!0}),h=new r.Lu(u(151,3,4),{contextual:!0}),d=new r.Lu(e=>{if(o.includes(e.peek(-1))){let{next:t}=e;(l(t)||95==t||35==t||46==t||42==t||91==t||58==t&&l(e.peek(1))||45==t||38==t)&&e.acceptToken(148)}}),f=new r.Lu(e=>{if(!o.includes(e.peek(-1))){let{next:t}=e;if(37==t&&(e.advance(),e.acceptToken(1)),l(t)){do e.advance();while(l(e.next)||s(e.next));e.acceptToken(1)}}});function p(e){return/^#[a-f\d]{3}([a-f\d]{3}([a-f\d]{2})?)?$/i.test(e)?152:-1}let g=(0,i.pn)({"AtKeyword import charset namespace keyframes media supports font-feature-values":i._A.definitionKeyword,"from to selector scope MatchFlag":i._A.keyword,NamespaceName:i._A.namespace,KeyframeName:i._A.labelName,KeyframeRangeName:i._A.operatorKeyword,TagName:i._A.tagName,ClassName:i._A.className,PseudoClassName:i._A.constant(i._A.className),IdName:i._A.labelName,"FeatureName PropertyName":i._A.propertyName,AttributeName:i._A.attributeName,NumberLiteral:i._A.number,KeywordQuery:i._A.keyword,UnaryQueryOp:i._A.operatorKeyword,"CallTag ValueName FontName":i._A.atom,VariableName:i._A.variableName,Callee:i._A.operatorKeyword,Unit:i._A.unit,"UniversalSelector NestingSelector":i._A.definitionOperator,"MatchOp CompareOp":i._A.compareOperator,"ChildOp SiblingOp, LogicOp":i._A.logicOperator,BinOp:i._A.arithmeticOperator,Important:i._A.modifier,Comment:i._A.blockComment,ColorLiteral:i._A.color,"ParenthesizedContent StringLiteral":i._A.string,":":i._A.punctuation,PseudoOp:i._A.derefOperator,"; , |":i._A.separator,"( )":i._A.paren,"[ ]":i._A.squareBracket,"{ }":i._A.brace}),m={__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:88,url:158,"url-prefix":158,domain:158,regexp:158},O={__proto__:null,or:102,and:102,not:112,only:112,layer:212},x={__proto__:null,selector:118,style:124,layer:208},b={__proto__:null,"@import":204,"@media":216,"@charset":220,"@namespace":224,"@keyframes":230,"@supports":242,"@scope":246,"@font-feature-values":252},v={__proto__:null,to:249},y=r.U1.deserialize({version:14,states:"MrQYQdOOO$TQdOOP$[O`OOO%XQaO'#CfOOQP'#Ce'#CeO%`QdO'#CgO%eQ`O'#CgO%jQaO'#FrO&eQdO'#CkO'XQaO'#CcO'cQdO'#CnOOQP'#ES'#ESOOQP'#ER'#ERO'nQdO'#ETO'yQdO'#E[O'yQdO'#E_OOQP'#Fr'#FrO)`QhO'#FQOOQS'#Fq'#FqOOQS'#FT'#FTQYQdOOO)gQdO'#EeO*vQhO'#EkO)gQdO'#EmO*}QdO'#EoO+YQdO'#ErO*[QhO'#ExO+bQdO'#EzO+mQdO'#E}O+rQaO'#CfO+yQ`O'#EbO,OQ`O'#GPO,ZQdO'#GPQOQ`OOP,eO&jO'#CaPOOO)CAa)CAaOOQP'#Ci'#CiOOQP,59R,59RO%`QdO,59ROOQ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i&mQ'r&wQ'x'OR(b(VQ$[!mQ$^!nQ$`!oV%v$[$^$`Q&Q$iR'X&QQ&v%iS'q&v(WR(W'rQ&n%]R'j&nQ&j%YR'h&jQ!RXR#l!RQ&d${R'c&dQ#]oS%Q#]%RR%R#^Q'z'RR(]'zQ$m!yR&U$mQ&]$rR'_&]Q']&[R(R']Q#XlR$y#XQ$P!cR%f$P_cOPdp!S#[%P^XOPdp!S#[%PQ!_^Q!`_Q#h}Q#i!OQ#j!PQ#k!QQ$u#SQ%Y#oR'g&iR%^#pQ!reQ!{g[$X!m!n!o$[$^$`Q${#Zh%[#p%]%a&m&r&w'O'i'r'x(V(bQ%`#uQ%z$cS&b${&dQ&h%WQ'b&cR'|'T]$Z!m!n!o$[$^$`Q!caU!yf!r$gQ#RjQ#x!bS#|!c$PQ$R!dQ%d#}Q%e$OQ%i$SS&O$i&QQ&T$lR'o&uQ#{!bW%s$W%m&z'uQ&t%bQ'w&}Q(U'mR(d(ZQ%u$WQ&y%mQ't&zR(Y'uR%k$SR%Z#oQqPR#n!SQ!zfQ$f!rR%}$g",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 ColorLiteral CompareOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector ParenthesizedSelector StyleQuery style ParenthesedQuery CallQuery ArgList PropertyName , PropertyName UnaryQuery ParenthesedQuery BinaryQuery ParenthesedQuery ParenthesedQuery StyleFeature PropertyName StyleRange PseudoQuery CallLiteral CallTag ParenthesizedContent PseudoClassName Arg
1List 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:176,nodeProps:[["isolate",-2,5,38,""],["openedBy",23,"(",30,"[",33,"{"],["closedBy",24,")",31,"]",34,"}"]],propSources:[g],skippedNodes:[0,5,130],repeatNodeCount:17,tokenData:"IO~R!bOX%ZX^&R^p%Zpq&Rqr)ers)vst+jtu/wuv%Zvw0qwx1Sxy2qyz3Sz{3X{|3r|}8e}!O8v!O!P9e!P!Q9|!Q![:u![!];p!]!^<l!^!_<}!_!`=y!`!a>^!a!b%Z!b!c?_!c!k%Z!k!lAl!l!u%Z!u!vAl!v!}%Z!}#OA}#O#P%Z#P#QB`#Q#R/w#R#]%Z#]#^Bq#^#g%Z#g#hAl#h#o%Z#o#pGU#p#qGg#q#rHO#r#sHa#s#y%Z#y#z&R#z$f%Z$f$g&R$g#BY%Z#BY#BZ&R#BZ$IS%Z$IS$I_&R$I_$I|%Z$I|$JO&R$JO$JT%Z$JT$JU&R$JU$KV%Z$KV$KW&R$KW&FU%Z&FU&FV&R&FV;'S%Z;'S;=`Hx<%lO%Z`%^SOy%jz;'S%j;'S;=`%{<%lO%j`%oS!r`Oy%jz;'S%j;'S;=`%{<%lO%j`&OP;=`<%l%j~&Wh$`~OX%jX^'r^p%jpq'rqy%jz#y%j#y#z'r#z$f%j$f$g'r$g#BY%j#BY#BZ'r#BZ$IS%j$IS$I_'r$I_$I|%j$I|$JO'r$JO$JT%j$JT$JU'r$JU$KV%j$KV$KW'r$KW&FU%j&FU&FV'r&FV;'S%j;'S;=`%{<%lO%j~'yh$`~!r`OX%jX^'r^p%jpq'rqy%jz#y%j#y#z'r#z$f%j$f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=n(52923),w=n(44602);let S=null;function C(){if(!S&&"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)));S=t.sort().map(e=>({type:"property",label:e,apply:e+": "}))}return S||[]}let P=["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","invali
1d","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})),$=["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
1-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}))),Q=["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})),_=["@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})),T=/^(\w[\w-]*|-\w[\w-]*|)$/,A=/^-(-[\w-]*)?$/,E=new w.RY,Z=["Declaration"],R=e=>t=>{let{state:n,pos:r}=t,i=(0,k.mv)(n).resolveInner(r,-1),o=i.type.isError&&i.from==i.to-1&&"-"==n.doc.sliceString(i.from,i.to);if("PropertyName"==i.name||(o||"TagName"==i.name)&&/^(Block|Styles)$/.test(i.resolve(i.to).name))return{from:i.from,options:C(),validFor:T};if("ValueName"==i.name)return{from:i.from,options:$,validFor:T};if("PseudoClassName"==i.name)return{from:i.from,options:P,validFor:T};if(e(i)||(t.explicit||o)&&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,n.doc))return{from:e(i)||o?i.from:r,options:function e(t,n,r){if(n.to-n.from>4096){let i=E.get(n);if(i)return i;let o=[],l=new Set,s=n.cursor(w.Qj.IncludeAnonymous);if(s.firstChild())do for(let n of e(t,s.node,r))l.has(n.label)||(l.add(n.label),o.push(n));while(s.nextSibling());return E.set(n,o),o}{let e=[],i=new Set;
1return n.cursor().iterate(n=>{var o;if(r(n)&&n.matchContext(Z)&&(null==(o=n.node.nextSibling)?void 0:o.name)==":"){let r=t.sliceString(n.from,n.to);i.has(r)||(i.add(r),e.push({label:r,type:"variable"}))}}),e}}(n.doc,function(e){for(let t=e;;){if(t.type.isTop)return t;if(!(t=t.parent))return e}}(i),e),validFor:A};if("TagName"==i.name){for(let{parent:e}=i;e;e=e.parent)if("Block"==e.name)return{from:i.from,options:C(),validFor:T};return{from:i.from,options:Q,validFor:T}}if("AtKeyword"==i.name)return{from:i.from,options:_,validFor:T};if(!t.explicit)return null;let l=i.resolve(r),s=l.childBefore(r);return s&&":"==s.name&&"PseudoClassSelector"==l.name?{from:r,options:P,validFor:T}:s&&":"==s.name&&"Declaration"==l.name||"ArgList"==l.name?{from:r,options:$,validFor:T}:"Block"==l.name||"Styles"==l.name?{from:r,options:C(),validFor:T}:null},j=R(e=>"VariableName"==e.name),M=k.bj.define({name:"css",parser:y.configure({props:[k.Oh.add({Declaration:(0,k.mz)()}),k.b_.add({"Block KeyframeList":k.yd})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function L(){return new k.Yy(M,M.data.of({autocomplete:j}))}},593:(e,t,n)=>{"use strict";n.d(t,{Yc:()=>eA,b6:()=>x,cL:()=>E,pw:()=>eT});var r=n(25263),i=n(95980),o=n(52923),l=n(44602);function s(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 a=s(function(e,t,n=t.selection.ranges){let r=[],i=-1;e:for(let{from:e,to:o}of n){let n=r.length,l=1e9,s;for(let n=e;n<=o;){let a=t.doc.lineAt(n);if(void 0==s&&!(s=h(t,a.from).line))continue e;if(a.from>i&&(e==o||o>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<l&&(l=e),r.push({line:a,comment:n,token:s,indent:e,empty:t,single:!1})}n=a.to+1}if(l<1e9)for(let e=n;e<r.length;e++)r[e].indent<r[e].line.text.length&&(r[e].indent=l);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:o,single:l}of r)(l||!o)&&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,o=r+i.length;" "==t.text[o-t.from]&&o++,e.push({from:r,to:o})}return{changes:e}}return null},0),u=s(d,0),c=s((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 o=t.length-1;o>=0&&t[o].to>r.from?t[o].to=i.to:t.push({from:r.from+/^\s*/.exec(r.text)[0].length,to:i.to})}return t}(t)),0);function h(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=>h(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 o,l,s=e.sliceDoc(r-50,r),a=e.sliceDoc(i,i+50),u=/\s*$/.exec(s)[0].length,c=/^\s*/.exec(a)[0].length,h=s.length-u;if(s.slice(h-t.length,h)==t&&a.slice(c,c+n.length)==n)return{open:{pos:r-u,margin:u&&1},close:{pos:i+c,margin:c&&1}};i-r<=100?o=l=e.sliceDoc(r,i):(o=e.sliceDoc(r,r+50),l=e.sliceDoc(i-50,i));let d=/^\s*/.exec(o)[0].length,f=/\s*$/.exec(l)[0].length,p=l.length-f-n.length;return o.slice(d,d+t.length)==t&&l.slice(p,p+n.length)==n?{open:{pos:r+d+t.length,margin:+!!/\s/.test(o.charAt(d+t.length))},close:{pos:i-f-n.length,margin:+!!/\s/.test(l.charAt(p-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:o,close:l}=n;e.push({from:o.pos-i.open.length,to:o.pos+o.margin},{from:l.pos-l.margin,to:l.pos+i.close.length})}return{changes:e}}return null}let f=r.YH.define(),p=r.YH.define(),g=r.sj.define(),m=r.sj.define({combine:e=>(0,r.QR)(e,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>
1(n,r)=>e(n,r)||t(n,r)})}),O=r.sU.define({create:()=>A.empty,update(e,t){let n=t.state.facet(m),i=t.annotation(f);if(i){let r=S.fromTransaction(t,i.selection),o=i.side,l=0==o?e.undone:e.done;return l=r?C(l,l.length,n.minDepth,r):Q(l,t.startState.selection),new A(0==o?i.rest:l,0==o?l:i.rest)}let o=t.annotation(p);if(("full"==o||"before"==o)&&(e=e.isolate()),!1===t.annotation(r.ZX.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);let l=S.fromTransaction(t),s=t.annotation(r.ZX.time),a=t.annotation(r.ZX.userEvent);return l?e=e.addChanges(l,s,a,n,t):t.selection&&(e=e.addSelection(t.startState.selection,s,a,n.newGroupDelay)),("full"==o||"after"==o)&&(e=e.isolate()),e},toJSON:e=>({done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}),fromJSON:e=>new A(e.done.map(S.fromJSON),e.undone.map(S.fromJSON))});function x(e={}){return[O,m.of(e),i.Lz.domEventHandlers({beforeinput(e,t){let n="historyUndo"==e.inputType?v:"historyRedo"==e.inputType?y:null;return!!n&&(e.preventDefault(),n(t))}})]}function b(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return!1;let i=n.field(O,!1);if(!i)return!1;let o=i.pop(e,n,t);return!!o&&(r(o),!0)}}let v=b(0,!1),y=b(1,!1),k=b(0,!0),w=b(1,!0);class S{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 S(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 S(e.changes&&r.VR.fromJSON(e.changes),[],e.mapped&&r.Gu.fromJSON(e.mapped),e.startSelection&&r.OF.fromJSON(e.startSelection),e.selectionsAfter.map(r.OF.fromJSON))}static fromTransaction(e,t){let n=$;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 S(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,$)}static selection(e){return new S(void 0,$,void 0,void 0,e)}}function C(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 $=[];function Q(e,t){if(!e.length)return[S.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),C(e,e.length-1,1e9,n.setSelAfter(r)))}}function _(e,t){if(!e.length)return e;let n=e.length,i=$;for(;n;){let o=function(e,t,n){let i=P(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):$,n);if(!e.changes)return S.selection(i);let o=e.changes.map(t),l=t.mapDesc(e.changes,!0),s=e.mapped?e.mapped.composeDesc(l):l;return new S(o,r.Pe.mapEffects(e.effects,t),s,e.startSelection.map(l),i)}(e[n-1],t,i);if(o.changes&&!o.changes.empty||o.effects.length){let t=e.slice(0,n);return t[n-1]=o,t}t=o.mapped,n--,i=o.selectionsAfter}return i.length?[S.selection(i)]:$}let T=/^(input\.type|delete)($|\.)/;class A{constructor(e,t,n=0,r){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=r}isolate(){return this.prevTime?new A(this.done,this.undone):this}addChanges(e,t,n,i,o){var l,s;let a,u,c=this.done,h=c[c.length-1];return new A(c=h&&h.changes&&!h.changes.empty&&e.changes&&(!n||T.test(n))&&(!h.selectionsAfter.length&&t-this.prevTime<i.newGroupDelay&&i.joinToEvent(o,(l=h.changes,s=e.changes,a=[],u=!1,l.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&&(u=!0)}}),u))||"input.type.compose"==n)?C(c,c.length-1,i.minDepth,new S(e.changes.compose(h.changes),P(r.Pe.mapEffects(e.effects,h.changes),h.effects),h.mapped,h.startSelection,$)):C(c,c.length,i.minDepth,e),$,t,n)}addSelection(e,t,n,r){var i;let o=this.done.length?this.done[this.done.length-1].selectionsAfter:$;return o.length>0&&t-this.prevTime<r&&n==this.prevUserEvent&&n&&/^select($|\.)/.test(n)&&(i=o[o.length-1],i.ranges.length==e.ranges.length&&0===i.ranges.filter((t,
1n)=>t.empty!=e.ranges[n].empty).length)?this:new A(Q(this.done,e),this.undone,t,n)}addMapping(e){return new A(_(this.done,e),_(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],o=i.selectionsAfter[0]||(i.startSelection?i.startSelection.map(i.changes.invertedDesc,1):t.selection);if(n&&i.selectionsAfter.length){let n,l;return t.update({selection:i.selectionsAfter[i.selectionsAfter.length-1],annotations:f.of({side:e,rest:(n=r[r.length-1],(l=r.slice())[r.length-1]=n.setSelAfter(n.selectionsAfter.slice(0,n.selectionsAfter.length-1)),l),selection:o}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0})}{if(!i.changes)return null;let n=1==r.length?$:r.slice(0,r.length-1);return i.mapped&&(n=_(n,i.mapped)),t.update({changes:i.changes,selection:i.startSelection,effects:i.effects,annotations:f.of({side:e,rest:n,selection:o}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}}}A.empty=new A($,$);let E=[{key:"Mod-z",run:v,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:y,preventDefault:!0},{linux:"Ctrl-Shift-z",run:y,preventDefault:!0},{key:"Mod-u",run:k,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:w,preventDefault:!0}];function Z(e,t){return r.OF.create(e.ranges.map(t),e.mainIndex)}function R(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function j({state:e,dispatch:t},n){let r=Z(e.selection,n);return!r.eq(e.selection,!0)&&(t(R(e,r)),!0)}function M(e,t){return r.OF.cursor(t?e.to:e.from)}function L(e,t){return j(e,n=>n.empty?e.moveByChar(n,t):M(n,t))}function I(e){return e.textDirectionAt(e.state.selection.main.head)==i.OP.LTR}let X=e=>L(e,!I(e)),N=e=>L(e,I(e));function V(e,t){return j(e,n=>n.empty?e.moveByGroup(n,t):M(n,t))}function D(e,t,n){let i,s,a=(0,o.mv)(e).resolveInner(t.head),u=n?l.uY.closedBy:l.uY.openedBy;for(let r=t.head;;){let t=n?a.childAfter(r):a.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,u)?r=n?t.to:t.from:a=t}return s=a.type.prop(u)&&(i=n?(0,o.jU)(e,a.from,1):(0,o.jU)(e,a.to,-1))&&i.matched?n?i.end.to:i.end.from:n?a.to:a.from,r.OF.cursor(s,n?-1:1)}function z(e,t){return j(e,n=>{if(!n.empty)return M(n,t);let r=e.moveVertically(n,t);return r.head!=n.head?r:e.moveToLineBoundary(n,t)})}"u">typeof Intl&&Intl.Segmenter;let q=e=>z(e,!1),B=e=>z(e,!0);function F(e){let t=e.scrollDOM.clientHeight<e.scrollDOM.scrollHeight-2,n=0,r=0,o;if(t){for(let t of e.state.facet(i.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))}o=e.scrollDOM.clientHeight-n-r}else o=(e.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:n,marginBottom:r,selfScroll:t,height:Math.max(e.defaultLineHeight,o-5)}}function Y(e,t){let n,r=F(e),{state:o}=e,l=Z(o.selection,n=>n.empty?e.moveVertically(n,t,r.height):M(n,t));if(l.eq(o.selection))return!1;if(r.selfScroll){let t=e.coordsAtPos(o.selection.main.head),s=e.scrollDOM.getBoundingClientRect(),a=s.top+r.marginTop,u=s.bottom-r.marginBottom;t&&t.top>a&&t.bottom<u&&(n=i.Lz.scrollIntoView(l.main.head,{y:"start",yMargin:t.top-a}))}return e.dispatch(R(o,l),{effects:n}),!0}let U=e=>Y(e,!1),W=e=>Y(e,!0);function H(e,t,n){let i=e.lineBlockAt(t.head),o=e.moveToLineBoundary(t,n);if(o.head==t.head&&o.head!=(n?i.to:i.from)&&(o=e.moveToLineBoundary(t,n,!1)),!n&&o.head==i.from&&i.length){let n=/^\s*/.exec(e.state.sliceDoc(i.from,Math.min(i.from+100,i.to)))[0].length;n&&t.head!=i.from+n&&(o=r.OF.cursor(i.from+n))}return o}function G(e,t,n){let i=Z(e.state.selection,e=>{e.undirectional&&e.head>=e.anchor!=t&&(e=r.OF.range(e.head,e.anchor));let i=n(e);return r.OF.range(e.anchor,i.head,i.goalColumn,i.bidiLevel||void 0,i.assoc)});return!i.eq(e.state.selection)&&(e.dispatch(R(e.state,i)),!0)}function J(e,t){return G(e,t,n=>e.moveByChar(n,t))}let K=e=>J(e,!I(e)),ee=e=>J(e,I(e));function et(e,t){return G(e,t,n=>e.moveByGroup(n,t))}function en(e,t){return G(e,t,n=>e.moveVertically(n,t))}let er=e=>en(e,!1),ei=e=>en(e,!0);function eo(e,t){return G(e,t,n=>e.moveVertically(n,t,F(e).height))}let el=e=>eo(e,!1),es=e=>eo(e,!0),ea=({state:e,dispatch:t})=>(t(R(e,{anchor:0})),!0),eu=({state:e,dispatch:t})=>(t(R(e,{anchor:e.doc.length})),!0),ec=({state:e,dispatch:t})=>(t(R(e,{anchor:e.selection.main.anchor,head:0})),!0),eh=({state:e,dispatch:t})=>(t(R(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0);function ed(e,t){let{state:n}=e,i=n.selection,o=n.selection.ranges.slice();for(let r of n.selection.ranges){let i=n.doc.lineAt(r.head);if(t?i.to<e.state.doc.length:i.from>0)for(let n=r;;){let r=e.moveVertically(n,t);if(r.head<i.from||r.head>i.to){o.some(e=>e.head==r.head)||o.push(r);break}if(r.head==n.head)break;n=r}}return o.length!=i.ranges.length&&(e.dispatch(R(n,r.OF.create(o,o.length-1))),!0)}function ef(e,t){if(e.state.readOnly)return!1;let n="delete.selection",{state:o}=e,l=o.changeByRange(i=>{let{from:o,to:l}=i;if(o==l){let r=t(i);r<o?(n="delete.backward",r=ep(e,r,!1)):r>o&&(n="delete.forward",r=ep(e,r,!0)),o=Math.min(o,r),l=Math.max(l,r)}else o=ep(e,o,!1),l=ep(e,l,!0);return o==l?{range:i}:{changes:{from:o,to:l},range:r.OF.cursor(o,o<i.head?-1:1)}});return!l.changes.empty&&(e.dispatch(o.update(l,{scrollIntoView:!0,userEvent:n,effects:"delete.selection"==n?i.Lz.announce.of(o.phrase("Selection deleted")):void 0})),!0)}function ep(e,t,n){if(e instanceof i.Lz)for(let r of e.state.facet(i.Lz.atomicRanges).map(t=>t(e)))r.between(t,t,(e,r)=>{e<t&&r>t&&(t=n?r:e)});return t}let eg=(e,t,n)=>ef(e,i=>{let l=i.from,{state:s}=e,a=s.doc.lineAt(l),u,c;if(n&&!t&&l>a.from&&l<a.from+200&&!/[^ \t]/.test(u=a.text.slice(0,l-a.from))){if(" "==u[u.length-1])return l-1;let e=(0,r.y$)(u,s.tabSize)%(0,o.tp)(s)||(0,o.tp)(s);for(let t=0;t<e&&" "==u[u.length-1-t];t++)l--;c=l}else(c=(0,r.zK)(a.text,l-a.from,t,t)+a.from)==l&&a.number!=(t?s.doc.lines:1)?c+=t?1:-1:!t&&/[\ufe00-\ufe0f]/.test(a.text.slice(c-a.from,l-a.from))&&(c=(0,r.zK)(a.text,c-a.from,!1,!1)+a.from);return c}),em=e=>eg(e,!1,!0),eO=e=>eg(e,!0,!1),ex=(e,t)=>ef(e,n=>{let i=n.head,{state:o}=e,l=o.doc.lineAt(i),s=o.charCategorizer(i);for(let e=null;;){if(i==(t?l.to:l.from)){i==n.head&&l.number!=(t?o.doc.lines:1)&&(i+=t?1:-1);break}let a=(0,r.zK)(l.text,i-l.from,t)+l.from,u=l.text.slice(Math.min(i,a)-l.from,Math.max(i,a)-l.from),c=s(u);if(null!=e&&c!=e)break;(" "!=u||i!=n.head)&&(e=c),i=a}return i}),eb=e=>ex(e,!1);function ev(e){let t=[],n=-1;for(let r of e.selection.ranges){let i=e.doc.lineAt(r.from),o=e.doc.lineAt(r.to);if(r.empty||r.to!=o.from||(o=e.doc.lineAt(r.to-1)),n>=i.number){let e=t[t.length-1];e.to=o.to,e.ranges.push(r)}else t.push({from:i.from,to:o.to,ranges:[r]});n=o.number+1}return t}
1function ey(e,t,n){if(e.readOnly)return!1;let i=[],o=[];for(let t of ev(e)){if(n?t.to==e.doc.length:0==t.from)continue;let l=e.doc.lineAt(n?t.to+1:t.from-1),s=l.length+1;if(n)for(let n of(i.push({from:t.to,to:l.to},{from:t.from,insert:l.text+e.lineBreak}),t.ranges))o.push(r.OF.range(Math.min(e.doc.length,n.anchor+s),Math.min(e.doc.length,n.head+s)));else for(let n of(i.push({from:l.from,to:t.from},{from:t.to,insert:e.lineBreak+l.text}),t.ranges))o.push(r.OF.range(n.anchor-s,n.head-s))}return!!i.length&&(t(e.update({changes:i,scrollIntoView:!0,selection:r.OF.create(o,e.selection.mainIndex),userEvent:"move.line"})),!0)}function ek(e,t,n){if(e.readOnly)return!1;let r=[];for(let t of ev(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 ew=eC(!1),eS=eC(!0);function eC(e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let i=t.changeByRange(n=>{let{from:i,to:s}=n,a=t.doc.lineAt(i),u=!e&&i==s&&function(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n=(0,o.mv)(e).resolveInner(t),r=n.childBefore(t),i=n.childAfter(t),s;return r&&i&&r.to<=t&&i.from>=t&&(s=r.type.prop(l.uY.closedBy))&&s.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,i);e&&(i=s=(s<=a.to?a:t.doc.lineAt(s)).to);let c=new o.KB(t,{simulateBreak:i,simulateDoubleBreak:!!u}),h=(0,o._v)(c,i);for(null==h&&(h=(0,r.y$)(/^\s*/.exec(t.doc.lineAt(i).text)[0],t.tabSize));s<a.to&&/\s/.test(a.text[s-a.from]);)s++;u?{from:i,to:s}=u:i>a.from&&i<a.from+100&&!/\S/.test(a.text.slice(0,i))&&(i=a.from);let d=["",(0,o.EI)(t,h)];return u&&d.push((0,o.EI)(t,c.lineIndent(a.from,-1))),{changes:{from:i,to:s,insert:r.EY.of(d)},range:r.OF.cursor(i+1+d[1].length)}});return n(t.update(i,{scrollIntoView:!0,userEvent:"input"})),!0}}function eP(e,t){let n=-1;return e.changeByRange(i=>{let o=[];for(let r=i.from;r<=i.to;){let l=e.doc.lineAt(r);l.number>n&&(i.empty||i.to>l.from)&&(t(l,o,i),n=l.number),r=l.to+1}let l=e.changes(o);return{changes:o,range:r.OF.range(l.mapPos(i.anchor,1),l.mapPos(i.head,1))}})}let e$=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(eP(e,(t,n)=>{n.push({from:t.from,insert:e.facet(o.Xt)})}),{userEvent:"input.indent"})),!0),eQ=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(eP(e,(t,n)=>{let i=/^\s*/.exec(t.text)[0];if(!i)return;let l=(0,r.y$)(i,e.tabSize),s=0,a=(0,o.EI)(e,Math.max(0,l-(0,o.tp)(e)));for(;s<i.length&&s<a.length&&i.charCodeAt(s)==a.charCodeAt(s);)s++;n.push({from:t.from+s,to:t.from+i.length,insert:a.slice(s)})}),{userEvent:"delete.dedent"})),!0),e_=[{key:"Ctrl-b",run:X,shift:K,preventDefault:!0},{key:"Ctrl-f",run:N,shift:ee},{key:"Ctrl-p",run:q,shift:er},{key:"Ctrl-n",run:B,shift:ei},{key:"Ctrl-a",run:e=>j(e,t=>e.moveToLineBoundary(t,!1,!1)),shift:e=>G(e,!1,t=>r.OF.cursor(e.lineBlockAt(t.head).from))},{key:"Ctrl-e",run:e=>j(e,t=>e.moveToLineBoundary(t,!0,!1)),shift:e=>G(e,!0,t=>r.OF.cursor(e.lineBlockAt(t.head).to))},{key:"Ctrl-d",run:eO},{key:"Ctrl-h",run:em},{key:"Ctrl-k",run:e=>ef(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:eb},{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:r.EY.of(["",""])},range:r.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,i=e.doc.lineAt(n),o=n==i.from?n-1:(0,r.zK)(i.text,n-i.from,!1)+i.from,l=n==i.to?n+1:(0,r.zK)(i.text,n-i.from,!0)+i.from;return{changes:{from:o,to:l,insert:e.doc.slice(n,l).append(e.doc.slice(o,n))},range:r.OF.cursor(l)}});return!n.changes.empty&&(t(e.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)}},{key:"Ctrl-v",run:W}],eT=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:e=>j(e,t=>D(e.state,t,!I(e))),shift:e=>{let t=!I(e);return G(e,t,n=>D(e.state,n,t))}},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:e=>j(e,t=>D(e.state,t,I(e))),shift:e=>{let t=I(e);return G(e,t,n=>D(e.state,n,t))}},{key:"Alt-ArrowUp",run:({state:e,dispatch:t})=>ey(e,t,!1)},{key:"Shift-Alt-ArrowUp",run:({state:e,dispatch:t})=>ek(e,t,!1)},{key:"Alt-ArrowDown",run:({state:e,dispatch:t})=>ey(e,t,!0)},{key:"Shift-Alt-ArrowDown",run:({state:e,dispatch:t})=>ek(e,t,!0)},{key:"Mod-Alt-ArrowUp",run:e=>ed(e,!1)},{key:"Mod-Alt-ArrowDown",run:e=>ed(e,!0)},{key:"Escape",run:({state:e,dispatch:t})=>{let n=e.selection,i=null;return n.ranges.length>1?i=r.OF.create([n.main]):n.main.empty||(i=r.OF.create([r.OF.cursor(n.main.head)])),!!i&&(t(R(e,i)),!0)}},{key:"Mod-Enter",run:eS},{key:"Alt-l",mac:"Ctrl-l",run:({state:e,dispatch:t})=>{let n=ev(e).map(({from:t,to:n})=>r.OF.undirectionalRange(t,Math.min(n+1,e.doc.length)));return t(e.update({selection:r.OF.create(n),userEvent:"select"})),!0}},{key:"Mod-i",run:({state:e,dispatch:t})=>{let n=Z(e.selection,t=>{let n=(0,o.mv)(e),i=n.resolveStack(t.from,1);if(t.empty){let e=n.resolveStack(t.from,-1);e.node.from>=i.node.from&&e.node.to<=i.node.to&&(i=e)}for(let e=i;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 r.OF.undirectionalRange(n.from,n.to)}return t});return!n.eq(e.selection)&&(t(R(e,n)),!0)},preventDefault:!0},{key:"Mod-[",run:eQ},{key:"Mod-]",run:e$},{key:"Mod-Alt-\\",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Object.create(null),r=new o.KB(e,{overrideIndentation:e=>{let t=n[e];return null==t?-1:t}}),i=eP(e,(t,i,l)=>{let s=(0,o._v)(r,t.from);if(null==s)return;/\S/.test(t.text)||(s=0);
1let a=/^\s*/.exec(t.text)[0],u=(0,o.EI)(e,s);(a!=u||l.from<t.from+a.length)&&(n[t.from]=s,i.push({from:t.from,to:t.from+a.length,insert:u}))});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(ev(t).map(({from:e,to:n})=>(e>0?e--:n<t.doc.length&&n++,{from:e,to:n}))),r=Z(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,i;return n=!1,i=Z(e.selection,t=>{let i=(0,o.jU)(e,t.head,-1)||(0,o.jU)(e,t.head,1)||t.head>0&&(0,o.jU)(e,t.head-1,1)||t.head<e.doc.length&&(0,o.jU)(e,t.head+1,-1);if(!i||!i.end)return t;n=!0;let l=i.start.from==t.head?i.end.to:i.end.from;return r.OF.cursor(l)}),!!n&&(t(R(e,i)),!0)}},{key:"Mod-/",run:e=>{let{state:t}=e,n=t.doc.lineAt(t.selection.main.from),r=h(e.state,n.from);return r.line?a(e):!!r.block&&c(e)}},{key:"Alt-A",mac:"Ctrl-A",run:u},{key:"Ctrl-m",mac:"Shift-Alt-m",run:e=>(e.setTabFocusMode(),!0)}].concat([{key:"ArrowLeft",run:X,shift:K,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:e=>V(e,!I(e)),shift:e=>et(e,!I(e)),preventDefault:!0},{mac:"Cmd-ArrowLeft",run:e=>j(e,t=>H(e,t,!I(e))),shift:e=>{let t=!I(e);return G(e,t,n=>H(e,n,t))},preventDefault:!0},{key:"ArrowRight",run:N,shift:ee,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:e=>V(e,I(e)),shift:e=>et(e,I(e)),preventDefault:!0},{mac:"Cmd-ArrowRight",run:e=>j(e,t=>H(e,t,I(e))),shift:e=>{let t=I(e);return G(e,t,n=>H(e,n,t))},preventDefault:!0},{key:"ArrowUp",run:q,shift:er,preventDefault:!0},{mac:"Cmd-ArrowUp",run:ea,shift:ec},{mac:"Ctrl-ArrowUp",run:U,shift:el},{key:"ArrowDown",run:B,shift:ei,preventDefault:!0},{mac:"Cmd-ArrowDown",run:eu,shift:eh},{mac:"Ctrl-ArrowDown",run:W,shift:es},{key:"PageUp",run:U,shift:el},{key:"PageDown",run:W,shift:es},{key:"Home",run:e=>j(e,t=>H(e,t,!1)),shift:e=>G(e,!1,t=>H(e,t,!1)),preventDefault:!0},{key:"Mod-Home",run:ea,shift:ec},{key:"End",run:e=>j(e,t=>H(e,t,!0)),shift:e=>G(e,!0,t=>H(e,t,!0)),preventDefault:!0},{key:"Mod-End",run:eu,shift:eh},{key:"Enter",run:ew,shift:ew},{key:"Mod-a",run:({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"})),!0)},{key:"Backspace",run:em,shift:em,preventDefault:!0},{key:"Delete",run:eO,preventDefault:!0},{key:"Mod-Backspace",mac:"Alt-Backspace",run:eb,preventDefault:!0},{key:"Mod-Delete",mac:"Alt-Delete",run:e=>ex(e,!0),preventDefault:!0},{mac:"Mod-Backspace",run:e=>ef(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=>ef(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(e_.map(e=>({mac:e.key,run:e.run,shift:e.shift})))),eA={key:"Tab",run:e$,shift:eQ}},2130:(e,t,n)=>{"use strict";n.d(t,{PL:()=>d,fS:()=>c});var r=n(16729),i=n(62147),o=n(26874),l=n(7620);function s(e,t){return e.read("latest",()=>{let e=(0,o.nsf)(t);return null!==e&&e.isSelected()})}var a=n(54568);function u({nodeKey:e}){let[t]=(0,i.DF)(),[n,r,a]=function(e){let[t]=(0,i.DF)(),[n,r]=(0,l.useState)(()=>s(t,e));return(0,l.useEffect)(()=>{let n=!0,i=t.registerUpdateListener(()=>{n&&r(s(t,e))});return()=>{n=!1,i()}},[t,e]),[n,(0,l.useCallback)(n=>{t.update(()=>{let t=(0,o.vJq)();(0,o.RTZ)(t)||(t=(0,o.rUs)(),(0,o.n1P)(t)),(0,o.RTZ)(t)&&(n?t.add(e):t.delete(e))})},[t,e]),(0,l.useCallback)(()=>{t.update(()=>{let e=(0,o.vJq)();(0,o.RTZ)(e)&&e.clear()})},[t])]}(e);return(0,l.useEffect)(()=>(0,o.Sdt)(t.registerCommand(o.d8p,i=>{let l=t.getElementByKey(e);return(0,o.WmC)(i)===l&&(i.shiftKey||a(),r(!n),!0)},o.AcJ)),[a,t,n,e,r]),(0,l.useEffect)(()=>{let r=t.getElementByKey(e),i=t._config.theme.hrSelected??"selected";null!==r&&(n?(0,o.ZB7)(r,i):(0,o.HEf)(r,i))},[t,n,e]),null}class c extends r.fS{static getType(){return"horizontalrule"}static clone(e){return new c(e.__key)}static importJSON(e){return d().updateFromJSON(e)}static importDOM(){return{hr:()=>({conversion:h,priority:0})}}decorate(){return(0,a.jsx)(u,{nodeKey:this.__key})}}function h(){return{node:d()}}function d(){return(0,o.pTq)(new c)}},2790:(e,t,n)=>{"use strict";n.d(t,{n:()=>d});var r=n(88951),i=n(38370),o=n(86645),l=n(26874),s=n(62147),a=n(7620),u=n(97509),c=n(54568);let h={EditorChildrenComponent:function({contentEditable:e,children:t}){return(0,c.jsxs)(c.Fragment,{children:[e,t]})},ErrorBoundary:i.R,contentEditable:(0,c.jsx)(r.a,{}),decorators:[]},d=(0,l.vE9)({build(e,t,n){n.getPeer(o.m.name)||function(...e){let t=new URL("https://lexical.dev/docs/error"),n=new URLSearchParams;for(let t of(n.append("code",321),e))n.append("v",t);throw t.search=n.toString(),Error(`Minified Lexical error #321; visit ${t.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}([...n.getDirectDependentNames()].join(" "));let r=[e,{getTheme:()=>e._config.theme}];return{Component:function(e,t){let[n]=t,r=e.decorators.map(e=>"function"==typeof e?(0,c.jsx)(e,{context:t}):e);return function(i){let{EditorChildrenComponent:o=e.EditorChildrenComponent,ErrorBoundary:l=e.ErrorBoundary,contentEditable:h=e.contentEditable,children:d}=i,f=function(e,t){let[n,r]=(0,a.useMemo)(()=>[t=>e.registerDecoratorListener(t),()=>e.getDecorators()],[e]),i=(0,a.useSyncExternalStore)(n,r,r);return(0,a.useMemo)(()=>{let n=[];for(let r in i){let o=e.getElementByKey(r);if(null!==o){let l=(0,c.jsx)(t,{onError:t=>{e._onError(t)},children:(0,c.jsx)(a.Suspense,{fallback:null,children:i[r]})});n.push((0,u.createPortal)(l,o,r))}}return n},[t,i,e])}(n,l),p=(0,a.useMemo)(()=>r.map((e,t)=>(0,c.jsx)(l,{onError:e=>{n._onError(e)},children:(0,c.jsx)(a.Suspense,{fallback:null,children:e})},t)),[l]);return(0,c.jsx)(s.Gu.Provider,{value:t,children:(0,c.jsxs)(o,{context:t,contentEditable:h,children:[d,p,f]})})}}(t,r),context:r}}
1,config:h,mergeConfig(e,t){let n=(0,l.Tc1)(e,t);return t.decorators&&(n.decorators=t.decorators.length>0?[...e.decorators,...t.decorators]:e.decorators),n},name:"@lexical/react/React",peerDependencies:[(0,l.aif)(o.m.name)]})},3793:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=o(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=o(t,n));return t}(n)))}return e}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=(function(){return i}).apply(t,[]))||(e.exports=n)}()},3924:(e,t,n)=>{"use strict";let r;n.d(t,{Mz:()=>eH,i3:()=>eJ,UC:()=>eG,bL:()=>eW,Bk:()=>ej});var i=n(7620);let o=["top","right","bottom","left"],l=Math.min,s=Math.max,a=Math.round,u=Math.floor,c=e=>({x:e,y:e}),h={left:"right",right:"left",bottom:"top",top:"bottom"};function d(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function g(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function O(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function x(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let b=["left","right"],v=["right","left"],y=["top","bottom"],k=["bottom","top"];function w(e){let t=f(e);return h[t]+e.slice(t.length)}function S(e){var t,n,r,i;return"number"!=typeof e?{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(r=e.bottom)?r:0,left:null!=(i=e.left)?i:0}:{top:e,right:e,bottom:e,left:e}}function C(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function P(e,t,n){let r,{reference:i,floating:o}=e,l=O(t),s=g(O(t)),a=m(s),u=f(t),c=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,d=i[a]/2-o[a]/2;switch(u){case"top":r={x:c,y:i.y-o.height};break;case"bottom":r={x:c,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:h};break;case"left":r={x:i.x-o.width,y:h};break;default:r={x:i.x,y:i.y}}let x=p(t);return x&&(r[s]+=d*("end"===x?1:-1)*(n&&"y"===l?-1:1)),r}async function $(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:s,strategy:a}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:h="floating",altBoundary:f=!1,padding:p=0}=d(t,e),g=S(p),m=s[f?"floating"===h?"reference":"floating":h],O=C(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(m)))||n?m:m.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:a})),x="floating"===h?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,b=await (null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),v=await (null==o.isElement?void 0:o.isElement(b))&&await (null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},y=C(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:x,offsetParent:b,strategy:a}):x);return{top:(O.top-y.top+g.top)/v.y,bottom:(y.bottom-O.bottom+g.bottom)/v.y,left:(O.left-y.left+g.left)/v.x,right:(y.right-O.right+g.right)/v.x}}let Q=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,s=l.detectOverflow?l:{...l,detectOverflow:$},a=await (null==l.isRTL?void 0:l.isRTL(t)),u=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:h}=P(u,r,a),d=r,f=0,p={};for(let n=0;n<o.length;n++){let g=o[n];if(!g)continue;let{name:m,fn:O}=g,{x:x,y:b,data:v,reset:y}=await O({x:c,y:h,initialPlacement:r,placement:d,strategy:i,middlewareData:p,rects:u,platform:s,elements:{reference:e,floating:t}});c=null!=x?x:c,h=null!=b?b:h,p[m]={...p[m],...v},y&&f<50&&(f++,"object"==typeof y&&(y.placement&&(d=y.placement),y.rects&&(u=!0===y.rects?await l.getElementRects({reference:e,floating:t,strategy:i}
1):y.rects),{x:c,y:h}=P(u,d,a)),n=-1)}return{x:c,y:h,placement:d,strategy:i,middlewareData:p}};function _(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function T(e){return o.some(t=>e[t]>=0)}let A=new Set(["left","top"]);async function E(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=f(n),s=p(n),a="y"===O(n),u=A.has(l)?-1:1,c=o&&a?-1:1,h=d(t,e),{mainAxis:g,crossAxis:m,alignmentAxis:x}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return s&&"number"==typeof x&&(m="end"===s?-1*x:x),a?{x:m*c,y:g*u}:{x:g*u,y:m*c}}function Z(){return"u">typeof window}function R(e){return L(e)?(e.nodeName||"").toLowerCase():"#document"}function j(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function M(e){var t;return null==(t=(L(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function L(e){return!!Z()&&(e instanceof Node||e instanceof j(e).Node)}function I(e){return!!Z()&&(e instanceof Element||e instanceof j(e).Element)}function X(e){return!!Z()&&(e instanceof HTMLElement||e instanceof j(e).HTMLElement)}function N(e){return!(!Z()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof j(e).ShadowRoot)}function V(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=W(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function D(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let z=/transform|translate|scale|rotate|perspective|filter/,q=/paint|layout|strict|content/,B=e=>!!e&&"none"!==e;function F(e){let t=I(e)?W(e):e;return B(t.transform)||B(t.translate)||B(t.scale)||B(t.rotate)||B(t.perspective)||!Y()&&(B(t.backdropFilter)||B(t.filter))||z.test(t.willChange||"")||q.test(t.contain||"")}function Y(){return null==r&&(r="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function U(e){return/^(html|body|#document)$/.test(R(e))}function W(e){return j(e).getComputedStyle(e)}function H(e){return I(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function G(e){if("html"===R(e))return e;let t=e.assignedSlot||e.parentNode||N(e)&&e.host||M(e);return N(t)?t.host:t}function J(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=G(t);return U(n)?(t.ownerDocument||t).body:X(n)&&V(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=j(i);if(!o)return t.concat(i,J(i,[],n));{let e=K(l);return t.concat(l,l.visualViewport||[],V(i)?i:[],e&&n?J(e):[])}}function K(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ee(e){let t=W(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=X(e),o=i?e.offsetWidth:n,l=i?e.offsetHeight:r,s=a(n)!==o||a(r)!==l;return s&&(n=o,r=l),{width:n,height:r,$:s}}function et(e){return I(e)?e:e.contextElement}function en(e){let t=et(e);if(!X(t))return c(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=ee(t),l=(o?a(n.width):n.width)/r,s=(o?a(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),s&&Number.isFinite(s)||(s=1),{x:l,y:s}}let er=c(0);function ei(e){let t=j(e);return Y()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:er}function eo(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=et(e),s=c(1);t&&(r?I(r)&&(s=en(r)):s=en(e));let a=(void 0===(i=n)&&(i=!1),r&&i&&r===j(l))?ei(l):c(0),u=(o.left+a.x)/s.x,h=(o.top+a.y)/s.y,d=o.width/s.x,f=o.height/s.y;if(l&&r){let e=j(l),t=I(r)?j(r):r,n=e,i=K(n);for(;i&&t!==n;){let e=en(i),t=i.getBoundingClientRect(),r=W(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,h*=e.y,d*=e.x,f*=e.y,u+=o,h+=l,i=K(n=j(i))}}return C({width:d,height:f,x:u,y:h})}function el(e,t){let n=H(e).scrollLeft;return t?t.left+n:eo(M(e)).left+n}function es(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-el(e,n),y:n.top+t.scrollTop}}function ea(e,t,n){var r;let i;if("viewport"===t||"layoutViewport"===t)i=function(e,t,n){void 0===n&&(n="viewport");
1let r="layoutViewport"===n,i=j(e),o=M(e),l=i.visualViewport,s=o.clientWidth,a=o.clientHeight,u=0,c=0;if(l){let e=!Y()||"fixed"===t;r?e||(u=-l.offsetLeft,c=-l.offsetTop):(s=l.width,a=l.height,e&&(u=l.offsetLeft,c=l.offsetTop))}if(0>=el(o)){let e=o.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(o.clientWidth-t.clientWidth-r),l="stable both-edges"===getComputedStyle(o).scrollbarGutter?i/2:i;l<=25&&(s-=l)}return{width:s,height:a,x:u,y:c}}(e,n,t);else if("document"===t){let t,n,o,l,a,u;t=H(r=M(e)),n=r.ownerDocument.body,o=s(r.scrollWidth,r.clientWidth,n.scrollWidth,n.clientWidth),l=s(r.scrollHeight,r.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+el(r),u=-t.scrollTop,"rtl"===W(n).direction&&(a+=s(r.clientWidth,n.clientWidth)-o),i={width:o,height:l,x:a,y:u}}else if(I(t)){let e,r,o,l,s,a;r=(e=eo(t,!0,"fixed"===n)).top+t.clientTop,o=e.left+t.clientLeft,l=en(t),s=t.clientWidth*l.x,a=t.clientHeight*l.y,i={width:s,height:a,x:o*l.x,y:r*l.y}}else{let n=ei(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return C(i)}function eu(e){return"static"===W(e).position}function ec(e,t){if(!X(e)||"fixed"===W(e).position)return null;if(t)return t(e);let n=e.offsetParent;return M(e)===n&&(n=n.ownerDocument.body),n}function eh(e,t){var n;let r=j(e);if(D(e))return r;if(!X(e)){let t=G(e);for(;t&&!U(t);){if(I(t)&&!eu(t))return t;t=G(t)}return r}let i=ec(e,t);for(;i&&(n=i,/^(table|td|th)$/.test(R(n)))&&eu(i);)i=ec(i,t);return i&&U(i)&&eu(i)&&!F(i)?r:i||function(e){let t=G(e);for(;X(t)&&!U(t);){if(F(t))return t;if(D(t))break;t=G(t)}return null}(e)||r}let ed=async function(e){let t=this.getOffsetParent||eh,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=X(t),i=M(t),o="fixed"===n,l=eo(e,!0,o,t),s={scrollLeft:0,scrollTop:0},a=c(0);if((r||!o)&&(("body"!==R(t)||V(i))&&(s=H(t)),r)){let e=eo(t,!0,o,t);a.x=e.x+t.clientLeft,a.y=e.y+t.clientTop}!r&&i&&(a.x=el(i));let u=!i||r||o?c(0):es(i,s);return{x:l.left+s.scrollLeft-a.x-u.x,y:l.top+s.scrollTop-a.y-u.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ef={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=M(r),s=!!t&&D(t.floating);if(r===l||s&&o)return n;let a={scrollLeft:0,scrollTop:0},u=c(1),h=c(0),d=X(r);if((d||!o)&&(("body"!==R(r)||V(l))&&(a=H(r)),d)){let e=eo(r);u=en(r),h.x=e.x+r.clientLeft,h.y=e.y+r.clientTop}let f=!l||d||o?c(0):es(l,a);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-a.scrollLeft*u.x+h.x+f.x,y:n.y*u.y-a.scrollTop*u.y+h.y+f.y}},getDocumentElement:M,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,o=[..."clippingAncestors"===n?D(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=J(e,[],!1).filter(e=>I(e)&&"body"!==R(e)),i=null,o="fixed"===W(e).position,l=o?G(e):e;for(;I(l)&&!U(l);){let e=W(l),t=F(l),n=i?i.position:o?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?i=e:r=r.filter(e=>e!==l),l=G(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=ea(t,o[0],i),u=a.top,c=a.right,h=a.bottom,d=a.left;for(let e=1;e<o.length;e++){let n=ea(t,o[e],i);u=s(n.top,u),c=l(n.right,c),h=l(n.bottom,h),d=s(n.left,d)}return{width:c-d,height:h-u,x:d,y:u}},getOffsetParent:eh,getElementRects:ed,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:n}=ee(e);return{width:t,height:n}},getScale:en,isElement:I,isRTL:function(e){return"rtl"===W(e).direction}};function ep(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eg=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:o,platform:a,elements:u,middlewareData:c}=t,{element:h,padding:f=0}=d(e,t)||{};if(null==h)return{};let x=S(f),b={x:n,y:r},v=g(O(i)),y=m(v),k=await a.getDimensions(h),w="y"===v,C=w?"clientHeight":"clientWidth",P=o.reference[y]+o.reference[v]-b[v]-o.floating[y],$=b[v]-o.reference[v],Q=await (null==a.getOffsetParent?void 0:a.getOffsetParent(h)),_=Q?Q[C]:0;_&&await (null==a.isElement?void 0:a.isElement(Q))||(_=u.floating[C]||o.floating[y]);let T=_/2-k[y]/2-1,A=l(x[w?"top":"left"],T),E=l(x[w?"bottom":"right"],T),Z=_-k[y]-E,R=_/2-k[y]/2+(P/2-$/2),j=s(A,l(R,Z)),M=!c.arrow&&null!=p(i)&&R!==j&&o.reference[y]/2-(R<A?A:E)-k[y]/2<0,L=M?R<A?R-A:R-Z:0;return{[v]:b[v]+L,data:{[v]:j,centerOffset:R-j-L,...M&&{alignmentOffset:L}},reset:M}}});var em=n(97509),eO="u">typeof document?i.useLayoutEffect:function(){};function ex(e,t){let n,r,i;if(e===t)return!0;
1if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!ex(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!ex(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eb(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ev(e,t){let n=eb(e);return Math.round(t*n)/n}function ey(e){let t=i.useRef(e);return eO(()=>{t.current=e}),t}var ek=n(70488),ew=n(54568),eS=Object.defineProperty,eC=i.forwardRef(eS(function(e,t){let{children:n,width:r=10,height:i=5,...o}=e;return(0,ew.jsx)(ek.sG.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,ew.jsx)("polygon",{points:"0,0 30,0 15,10"})})},"name",{value:"Arrow",configurable:!0})),eP=n(89324),e$=n(3678),eQ=n(85484),e_=n(66203);function eT(e){let[t,n]=i.useState(void 0);return(0,e_.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(0,Object.defineProperty)(eT,"name",{value:"useSize",configurable:!0});var eA=Object.defineProperty,eE=(e,t)=>eA(e,"name",{value:t,configurable:!0}),eZ="Popper",[eR,ej]=(0,e$.A)(eZ),[eM,eL]=eR(eZ),eI=eE(e=>{let{__scopePopper:t,children:n}=e,[r,o]=i.useState(null),[l,s]=i.useState(void 0);return(0,ew.jsx)(eM,{scope:t,anchor:r,onAnchorChange:o,placementState:l,setPlacementState:s,children:n})},"Popper"),eX=i.forwardRef(eE(function(e,t){let{__scopePopper:n,virtualRef:r,...o}=e,l=eL("PopperAnchor",n),s=i.useRef(null),a=l.onAnchorChange,u=i.useCallback(e=>{s.current=e,e&&a(e)},[a]),c=(0,eP.s)(t,u),h=i.useRef(null);i.useEffect(()=>{if(!r)return;let e=h.current;h.current=r.current,e!==h.current&&a(h.current)});let d=l.placementState&&eU(l.placementState),f=d?.[0],p=d?.[1];return r?null:(0,ew.jsx)(ek.sG.div,{"data-radix-popper-side":f,"data-radix-popper-align":p,...o,ref:c})},"PopperAnchor")),eN="PopperContent",[eV,eD]=eR(eN),ez=i.forwardRef(eE(function(e,t){var n,r,o,a,c,h,S,C,P,$,Z,R,L;let I,X,N,V,D,z,{__scopePopper:q,side:B="bottom",sideOffset:F=0,align:Y="center",alignOffset:U=0,arrowPadding:W=0,avoidCollisions:H=!0,collisionBoundary:G=[],collisionPadding:K=0,sticky:ee="partial",hideWhenDetached:en=!1,updatePositionStrategy:er="optimized",onPlaced:ei,...el}=e,es=eL(eN,q),[ea,eu]=i.useState(null),ec=(0,eP.s)(t,eu),[eh,ed]=i.useState(null),eS=eT(eh),eC=eS?.width??0,e$=eS?.height??0,eA="number"==typeof K?K:{top:0,right:0,bottom:0,left:0,...K},eZ=Array.isArray(G)?G:[G],eR=eZ.length>0,ej={padding:eA,boundary:eZ.filter(eF),altBoundary:eR},{refs:eM,floatingStyles:eI,placement:eX,isPositioned:eD,middlewareData:ez}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:l,floating:s}={},transform:a=!0,whileElementsMounted:u,open:c}=e,[h,d]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=i.useState(r);ex(f,r)||p(r);let[g,m]=i.useState(null),[O,x]=i.useState(null),b=i.useCallback(e=>{e!==w.current&&(w.current=e,m(e))},[]),v=i.useCallback(e=>{e!==S.current&&(S.current=e,x(e))},[]),y=l||g,k=s||O,w=i.useRef(null),S=i.useRef(null),C=i.useRef(h),P=null!=u,$=ey(u),_=ey(o),T=ey(c),A=i.useCallback(()=>{var e,r;let i,o,l;if(!w.current||!S.current)return;let s={placement:t,strategy:n,middleware:f};_.current&&(s.platform=_.current),(e=w.current,r=S.current,i=new Map,o=null!=s?s:{},l={...ef,...o.platform,_c:i},Q(e,r,{...o,platform:l})).then(e=>{let t={...e,isPositioned:!1!==T.current};E.current&&!ex(C.current,t)&&(C.current=t,em.flushSync(()=>{d(t)}))})},[f,t,n,_,T]);eO(()=>{!1===c&&C.current.isPositioned&&(C.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let E=i.useRef(!1);eO(()=>(E.current=!0,()=>{E.current=!1}),[]),eO(()=>{if(y&&(w.current=y),k&&(S.current=k),y&&k){if($.current)return $.current(y,k,A);A()}},[y,k,A,$,P]);let Z=i.useMemo(()=>({reference:w,floating:S,setReference:b,setFloating:v}),[b,v]),R=i.useMemo(()=>({reference:y,floating:k}),[y,k]),j=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!R.floating)return e;let t=ev(R.floating,h.x),r=ev(R.floating,h.y);return a?{...e,transform:"translate("+t+"px, "+r+"px)",...eb(R.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,a,R.floating,h.x,h.y]);return i.useMemo(()=>({...h,update:A,refs:Z,elements:R,floatingStyles:j}),[h,A,Z,R,j])}({strategy:"fixed",placement:B+("center"!==Y?"-"+Y:""),whileElementsMounted:eE((...e)=>(function(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:h="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,f=et(e),p=o||a?[...f?J(f):[],...t?J(t):[]]:[];
1p.forEach(e=>{o&&e.addEventListener("scroll",n),a&&e.addEventListener("resize",n)});let g=f&&h?function(e,t,n){let r,i=null,o=M(e);function a(){var e;clearTimeout(r),null==(e=i)||e.disconnect(),i=null}function c(n,h){void 0===n&&(n=!1),void 0===h&&(h=1),a();let d=e.getBoundingClientRect(),{left:f,top:p,width:g,height:m}=d;if(n||t(),!g||!m)return;let O={rootMargin:-u(p)+"px "+-u(o.clientWidth-(f+g))+"px "+-u(o.clientHeight-(p+m))+"px "+-u(f)+"px",threshold:s(0,l(1,h))||1},x=!0;function b(t){let n=t[0].intersectionRatio;if(!ep(d,e.getBoundingClientRect()))return c();if(n!==h){if(!x)return c();n?c(!1,n):r=setTimeout(()=>{c(!1,1e-7)},1e3)}x=!1}try{i=new IntersectionObserver(b,{...O,root:o.ownerDocument})}catch(e){i=new IntersectionObserver(b,O)}i.observe(e)}let h=j(e),d=()=>c(n);return h.addEventListener("resize",d),c(!0),()=>{h.removeEventListener("resize",d),a()}}(f,n,a):null,m=-1,O=null;c&&(O=new ResizeObserver(e=>{let[r]=e;r&&r.target===f&&O&&t&&(O.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=O)||e.observe(t)})),n()}),f&&!d&&O.observe(f),t&&O.observe(t));let x=d?eo(e):null;return d&&function t(){let r=eo(e);x&&!ep(x,r)&&n(),x=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;p.forEach(e=>{o&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==g||g(),null==(e=O)||e.disconnect(),O=null,d&&cancelAnimationFrame(i)}})(...e,{animationFrame:"always"===er}),"whileElementsMounted"),elements:{reference:es.anchor},middleware:[{name:(I={name:"offset",options:r=n={mainAxis:F+e$,alignmentAxis:U},async fn(e){var t,n;let{x:i,y:o,placement:l,middlewareData:s}=e,a=await E(e,r);return l===(null==(t=s.offset)?void 0:t.placement)&&null!=(n=s.arrow)&&n.alignmentOffset?{}:{x:i+a.x,y:o+a.y,data:{...a,placement:l}}}}).name,fn:I.fn,options:[n,void 0]},H&&{name:(X={name:"shift",options:c=a={mainAxis:!0,crossAxis:!1,limiter:"partial"===ee?{fn:(o=void 0,{options:o={},fn(e){var t,n,r,i;let{x:l,y:s,placement:a,rects:u,middlewareData:c}=e,{offset:h=0,mainAxis:p=!0,crossAxis:m=!0}=d(o,e),x={x:l,y:s},b=O(a),v=g(b),y=x[v],k=x[b],w=d(h,e),S="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:null!=(t=w.mainAxis)?t:0,crossAxis:null!=(n=w.crossAxis)?n:0};if(p){let e="y"===v?"height":"width",t=u.reference[v]-u.floating[e]+S.mainAxis,n=u.reference[v]+u.reference[e]-S.mainAxis;y<t?y=t:y>n&&(y=n)}if(m){let e="y"===v?"width":"height",t=A.has(f(a)),n=u.reference[b]-u.floating[e]+(t&&(null==(r=c.offset)?void 0:r[b])||0)+(t?0:S.crossAxis),o=u.reference[b]+u.reference[e]+(t?0:(null==(i=c.offset)?void 0:i[b])||0)-(t?S.crossAxis:0);k<n?k=n:k>o&&(k=o)}return{[v]:y,[b]:k}}}).fn,options:[void 0,void 0]}:void 0,...ej},async fn(e){let{x:t,y:n,placement:r,platform:i}=e,{mainAxis:o=!0,crossAxis:a=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...h}=d(c,e),f={x:t,y:n},p=await i.detectOverflow(e,h),m=O(r),x=g(m),b=f[x],v=f[m],y=(e,t)=>s(t+p["y"===e?"top":"left"],l(t,t-p["y"===e?"bottom":"right"]));o&&(b=y(x,b)),a&&(v=y(m,v));let k=u.fn({...e,[x]:b,[m]:v});return{...k,data:{x:k.x-t,y:k.y-n,enabled:{[x]:o,[m]:a}}}}}).name,fn:X.fn,options:[a,void 0]},H&&{name:(N={name:"flip",options:S=h={...ej},async fn(e){var t,n,r,i,o,l,s,a;let u,c,h,{placement:C,middlewareData:P,rects:$,initialPlacement:Q,platform:_,elements:T}=e,{mainAxis:A=!0,crossAxis:E=!0,fallbackPlacements:Z,fallbackStrategy:R="bestFit",fallbackAxisSideDirection:j="none",flipAlignment:M=!0,...L}=d(S,e);if(null!=(t=P.arrow)&&t.alignmentOffset)return{};let I=f(C),X=O(Q),N=f(Q)===Q,V=await (null==_.isRTL?void 0:_.isRTL(T.floating)),D=Z||(N||!M?[w(Q)]:(u=w(Q),[x(Q),u,x(u)])),z="none"!==j;!Z&&z&&D.push(...(c=p(Q),h=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?v:b;return t?b:v;case"left":case"right":return t?y:k;default:return[]}}(f(Q),"start"===j,V),c&&(h=h.map(e=>e+"-"+c),M&&(h=h.concat(h.map(x)))),h));let q=[Q,...D],B=await _.detectOverflow(e,L),F=[],Y=(null==(n=P.flip)?void 0:n.overflows)||[];if(A&&F.push(B[I]),E){let e,t,n,r,i=(l=C,s=$,void 0===(a=V)&&(a=!1),e=p(l),n=m(t=g(O(l))),r="x"===t?e===(a?"end":"start")?"right":"left":"start"===e?"bottom":"top",s.reference[n]>s.floating[n]&&(r=w(r)),[r,w(r)]);F.push(B[i[0]],B[i[1]])}if(Y=[...Y,{placement:C,overflows:F}],!F.every(e=>e<=0)){let e=((null==(r=P.flip)?void 0:r.index)||0)+1,t=q[e];
1if(t&&("alignment"!==E||X===O(t)||Y.every(e=>O(e.placement)!==X||e.overflows[0]>0)))return{data:{index:e,overflows:Y},reset:{placement:t}};let n=null==(i=Y.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(R){case"bestFit":{let e=null==(o=Y.filter(e=>{if(z){let t=O(e.placement);return t===X||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:o[0];e&&(n=e);break}case"initialPlacement":n=Q}if(C!==n)return{reset:{placement:n}}}return{}}}).name,fn:N.fn,options:[h,void 0]},{name:(V={name:"size",options:P=C={...ej,apply:eE(({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:o}=t.reference,l=e.floating.style;l.setProperty("--radix-popper-available-width",`${n}px`),l.setProperty("--radix-popper-available-height",`${r}px`),l.setProperty("--radix-popper-anchor-width",`${i}px`),l.setProperty("--radix-popper-anchor-height",`${o}px`)},"apply")},async fn(e){let t,n,{placement:r,rects:i,platform:o,elements:a}=e,{apply:u=()=>{},...c}=d(P,e),h=await o.detectOverflow(e,c),g=f(r),m=p(r),x="y"===O(r),{width:b,height:v}=i.floating;"top"===g||"bottom"===g?(t=g,n=m===(await (null==o.isRTL?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(n=g,t="end"===m?"top":"bottom");let y=v-h.top-h.bottom,k=b-h.left-h.right,w=l(v-h[t],y),S=l(b-h[n],k),C=e.middlewareData.shift,$=!C,Q=w,_=S;null!=C&&C.enabled.x&&(_=k),null!=C&&C.enabled.y&&(Q=y),$&&!m&&(x?_=b-2*s(h.left,h.right):Q=v-2*s(h.top,h.bottom)),await u({...e,availableWidth:_,availableHeight:Q});let T=await o.getDimensions(a.floating);return b!==T.width||v!==T.height?{reset:{rects:!0}}:{}}}).name,fn:V.fn,options:[C,void 0]},eh&&{name:(D={name:"arrow",options:Z=$={element:eh,padding:W},fn(e){let{element:t,padding:n}="function"==typeof Z?Z(e):Z;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?eg({element:t.current,padding:n}).fn(e):{}:t?eg({element:t,padding:n}).fn(e):{}}}).name,fn:D.fn,options:[$,void 0]},eY({arrowWidth:eC,arrowHeight:e$}),en&&{name:(z={name:"hide",options:L=R={strategy:"referenceHidden",...ej,boundary:eR?ej.boundary:void 0},async fn(e){let{rects:t,platform:n}=e,{strategy:r="referenceHidden",...i}=d(L,e);switch(r){case"referenceHidden":{let r=_(await n.detectOverflow(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:T(r)}}}case"escaped":{let r=_(await n.detectOverflow(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:T(r)}}}default:return{}}}}).name,fn:z.fn,options:[R,void 0]}]}),eq=es.setPlacementState;(0,e_.N)(()=>(eq(eX),()=>{eq(void 0)}),[eX,eq]);let[eB,eW]=eU(eX),eH=(0,eQ.c)(ei);(0,e_.N)(()=>{eD&&eH?.()},[eD,eH]);let eG=ez.arrow?.x,eJ=ez.arrow?.y,eK=ez.arrow?.centerOffset!==0,[e0,e1]=i.useState();return(0,e_.N)(()=>{ea&&e1(window.getComputedStyle(ea).zIndex)},[ea]),(0,ew.jsx)("div",{ref:eM.setFloating,"data-radix-popper-content-wrapper":"",style:{...eI,transform:eD?eI.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:e0,"--radix-popper-transform-origin":[ez.transformOrigin?.x,ez.transformOrigin?.y].join(" "),...ez.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,ew.jsx)(eV,{scope:q,placedSide:eB,placedAlign:eW,onArrowChange:ed,arrowX:eG,arrowY:eJ,shouldHideArrow:eK,children:(0,ew.jsx)(ek.sG.div,{"data-side":eB,"data-align":eW,...el,ref:ec,style:{...el.style,animation:eD?el.style?.animation:"none"}})})})},"PopperContent")),eq={top:"bottom",right:"left",bottom:"top",left:"right"},eB=i.forwardRef(eE(function(e,t){let{__scopePopper:n,...r}=e,i=eD("PopperArrow",n),o=eq[i.placedSide];return(0,ew.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,ew.jsx)(eC,{...r,ref:t,style:{...r.style,display:"block"}})})},"PopperArrow"));function eF(e){return null!==e}eE(eF,"isNotNull");var eY=eE(e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,l=o?0:e.arrowWidth,s=o?0:e.arrowHeight,[a,u]=eU(n),c={start:"0%",center:"50%",end:"100%"}[u],h=(i.arrow?.x??0)+l/2,d=(i.arrow?.y??0)+s/2,f="",p="";return"bottom"===a?(f=o?c:`${h}px`,p=`${-s}px`):"top"===a?(f=o?c:`${h}px`,p=`${r.floating.height+s}px`):"right"===a?(f=`${-s}px`,p=o?c:`${d}px`):"left"===a&&(f=`${r.floating.width+s}px`,p=o?c:`${d}px`),{data:{x:f,y:p}}}}),"transformOrigin");function eU(e){let[t,n="center"]=e.split("-");return[t,n]}eE(eU,"getSideAndAlignFromPlacement");var eW=eI,eH=eX,eG=ez,eJ=eB},4242:(e,t,n)=>{"use strict";n.d(t,{T:()=>r,y:()=>i});let r=["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"],i=["pre","script","style","textarea"]},5531:()=>{},6321:(e,t,n)=>{"use strict";n.d(t,{s:()=>i});let r=document.createElement("i");function i(e){let t="&"+e+";";r.innerHTML=t;let n=r.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}},6353:(e,t,n)=>{"use strict";let r;n.d(t,{EY:()=>w,HN:()=>g,LO:()=>x,Mx:()=>f,SQ:()=>C,Tj:()=>k,X3:()=>b,Zb:()=>O,fh:()=>p,pb:()=>S,qM:()=>y,rc:()=>m,uX:()=>v});var i=n(7620);n(54568);
1var o=Object.defineProperty,l=(e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?o(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n};class s{constructor(e=new Map){this.map=e}clone(){return new s(new Map(this.map))}increment(e){let t=this.map.get(e)??0;this.map.set(e,t+1)}decrement(e,t){let n=this.map.get(e);void 0!==n&&(n-=1,this.map.set(e,n),0===n&&t())}}class a{constructor(){l(this,"map",new Map)}getOrCreate(e){let t=this.map.get(e);return void 0===t&&(t=new Set,this.map.set(e,t)),t}get(e){return this.map.get(e)}use(e,t){let n=this.get(e);void 0!==n&&t(n)}delete(e){return this.map.delete(e)}}function u(){}let c="cell";function h(e,t){return e===t}let d=new Map;class f{constructor(e={}){for(const t of(l(this,"subscriptions",new a),l(this,"singletonSubscriptions",new Map),l(this,"graph",new a),l(this,"state",new Map),l(this,"distinctNodes",new Map),l(this,"executionMaps",new Map),l(this,"definitionRegistry",new Set),l(this,"combinedCells",[]),Object.getOwnPropertySymbols(e)))this.state.set(t,e[t])}cellInstance(e,t=!0,n=Symbol()){return this.state.has(n)||this.state.set(n,e),!1===t||this.distinctNodes.has(n)||this.distinctNodes.set(n,!0===t?h:t),n}signalInstance(e=!0,t=Symbol()){return!1!==e&&this.distinctNodes.set(t,!0===e?h:e),t}sub(e,t){this.register(e);let n=this.subscriptions.getOrCreate(e);return n.add(t),()=>n.delete(t)}singletonSub(e,t){return this.register(e),void 0===t?this.singletonSubscriptions.delete(e):this.singletonSubscriptions.set(e,t),()=>this.singletonSubscriptions.delete(e)}resetSingletonSubs(){this.singletonSubscriptions.clear()}subMultiple(e,t){let n=this.signalInstance();return this.connect({map:e=>(...t)=>{e(t)},sink:n,sources:e}),this.sub(n,t)}pubIn(e){var t;let n=Reflect.ownKeys(e),r=this.getExecutionMap(n),i=r.refCount.clone(),o=r.participatingNodes.slice(),l=new Map(this.state),s=e=>{this.graph.use(e,t=>{for(let{sources:n,sink:r}of t)n.has(e)&&i.decrement(r,()=>{o.splice(o.indexOf(r),1),s(r)})})};for(;;){let n=o.shift();if(void 0===n)break;let i=!1,a=e=>{let t=this.distinctNodes.get(n);if(null!=t&&t(l.get(n),e)){i=!1;return}i=!0,l.set(n,e),this.state.has(n)&&this.state.set(n,e)};if(Object.prototype.hasOwnProperty.call(e,n)?a(e[n]):r.projections.use(n,e=>{for(let t of e){let e=[...Array.from(t.sources),...Array.from(t.pulls)].map(e=>l.get(e));t.map(a)(...e)}}),i){let e=l.get(n);this.inContext(()=>{this.subscriptions.use(n,t=>{for(let n of t)n(e)})}),null==(t=this.singletonSubscriptions.get(n))||t(e)}else s(n)}}connect({sources:e,pulls:t=[],map:n,sink:r}){let i={map:n,pulls:new Set(t),sink:this.register(r),sources:new Set(e)};for(let n of[...e,...t])this.register(n),this.graph.getOrCreate(n).add(i);this.executionMaps.clear()}pub(e,t){this.pubIn({[e]:t})}pipe(e,...t){return this.combineOperators(...t)(e)}transformer(...e){return t=>{var n;let r;return n=this.signalInstance(),r=n,this.link(this.pipe(r,...e),t),n}}link(e,t){this.connect({map:e=>t=>{e(t)},sink:t,sources:[e]})}combine(...e){var t,n;return n=t=this.signalInstance(),this.connect({map:e=>(...t)=>{e(t)},sink:n,sources:e}),t}combineCells(...e){let t=this.combinedCells.find(t=>e.length===t.sources.length&&e.every((e,n)=>e===t.sources[n]));if(t)return t.cell;let n=this.cellInstance(e.map(e=>this.getValue(e)),!0);return this.connect({map:e=>(...t)=>{e(t)},sink:n,sources:e}),this.combinedCells.push({sources:e,cell:n}),n}getValue(e){return this.register(e),this.state.get(e)}getValues(e){return e.map(e=>this.getValue(e))}register(e){var t,n;let r=d.get(e);return void 0===r||this.definitionRegistry.has(e)?e:(this.definitionRegistry.add(e),n=t=r.type===c?this.cellInstance(r.initial,r.distinct,e):this.signalInstance(r.distinct,e),this.inContext(()=>{r.init(this,n)}),t)}inContext(e){let t=r;r=this;let n=e();return r=t,n}changeWith(e,t,n){this.connect({sources:[t],pulls:[e],sink:e,map:e=>(t,r)=>{e(n(r,t))}})}calculateExecutionMap(e){let t=[],n=new Set,r=new a,i=new s,o=new a,l=(e,s=0)=>{i.increment(e),n.has(e)||(this.register(e),r.use(e,e=>{s=Math.max(...Array.from(e).map(e=>t.indexOf(e)))+1}),this.graph.use(e,t=>{for(let n of t)n.sources.has(e)?(o.getOrCreate(n.sink).add(n),l(n.sink,s)):r.getOrCreate(n.sink).add(e)}),n.add(e),t.splice(s,0,e))};
1return e.forEach(l),{participatingNodes:t,pendingPulls:r,projections:o,refCount:i}}getExecutionMap(e){let t=e;if(1===e.length){t=e[0];let n=this.executionMaps.get(t);if(void 0!==n)return n}else for(let[t,n]of this.executionMaps.entries())if(Array.isArray(t)&&t.length===e.length&&t.every(t=>e.includes(t)))return n;let n=this.calculateExecutionMap(e);return this.executionMaps.set(t,n),n}combineOperators(...e){return t=>{for(let n of e)t=n(t,this);return t}}}function p(e,t=u,n=!0){var r,i;return i=r=Symbol(),d.set(i,{type:c,distinct:n,initial:e,init:t}),r}function g(e=u,t=!1){var n,r;return r=n=Symbol(),d.set(r,{type:"signal",distinct:t,init:e}),n}function m(e=u){var t,n;return n=t=Symbol(),d.set(n,{type:"signal",distinct:!1,init:e}),t}let O=i.createContext(null);function x(){let e=i.useContext(O);if(null===e)throw Error("useRealm must be used within a RealmContextProvider");return e}function b(e){let t=x();t.register(e);let n=i.useCallback(n=>t.sub(e,n),[t,e]);return i.useSyncExternalStore(n,()=>t.getValue(e),()=>t.getValue(e))}function v(...e){let t=x();return b(i.useMemo(()=>t.combineCells.apply(t,e),[t,...e]))}function y(e){let t=x();return t.register(e),i.useCallback(n=>{t.pub(e,n)},[t,e])}function k(e){return(t,n)=>{let r=n.signalInstance();return n.connect({map:t=>n=>{t(e(n))},sink:r,sources:[t]}),r}}function w(...e){return(t,n)=>{let r=n.signalInstance();return n.connect({map:e=>(...t)=>{e(t)},pulls:e,sink:r,sources:[t]}),r}}function S(e){return(t,n)=>{let r=n.signalInstance();return n.connect({map:t=>n=>{e(n)&&t(n)},sink:r,sources:[t]}),r}}function C(e,t){return(n,r)=>{let i=r.signalInstance();return r.connect({map:n=>r=>{n(t=e(t,r))},sink:i,sources:[n]}),i}}},7136:(e,t,n)=>{"use strict";n.d(t,{p:()=>l});var r=n(16729),i=n(2790),o=n(54568);function l({initialEditor:e,children:t}){let{Component:n}=(0,r.wD)(e,i.n).output;return(0,o.jsx)(n,{children:t})}},7891:(e,t,n)=>{"use strict";n.d(t,{Ar:()=>u,Bc:()=>eb,Gw:()=>es,OO:()=>eC,_5:()=>l,et:()=>a,wm:()=>ef,yU:()=>eS});var r=n(25263),i=n(95980),o=n(52923);class l{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,o.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(d(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 u(e,t){return n=>{for(let t=(0,o.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 c{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 d(e,t){var n;let{source:r}=e,i=t&&"^"!=r[0],o="$"!=r[r.length-1];return i||o?RegExp(`${i?"^":""}(?:${r})${o?"$":""}`,null!=(n=e.flags)?n:e.ignoreCase?"i":""):e}let f=r.YH.define(),p=new WeakMap;function g(e){if(!Array.isArray(e))return e;let t=p.get(e);return t||p.set(e,t=a(e)),t}let m=r.Pe.define(),O=r.Pe.define();class x{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 o=e.slice(t,t+i),l=o.toUpperCase();this.folded.push((0,r.vS)(l==o?o.toLowerCase():l,0)),t+=i}
1this.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:o,byWord:l}=this;if(1==t.length){let i=(0,r.vS)(e,0),o=(0,r.Fh)(i),l=o==e.length?0:-100;if(i==t[0]);else{if(i!=n[0])return null;l+=-200}return this.ret(l,[0,o])}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,u=0;if(s<0){for(let o=0,l=Math.min(e.length,200);o<l&&u<a;){let l=(0,r.vS)(e,o);(l==t[u]||l==n[u])&&(i[u++]=o),o+=(0,r.Fh)(l)}if(u<a)return null}let c=0,h=0,d=!1,f=0,p=-1,g=-1,m=/[a-z]/.test(e),O=!0;for(let i=0,u=Math.min(e.length,200),x=0;i<u&&h<a;){let u=(0,r.vS)(e,i);s<0&&(c<a&&u==t[c]&&(o[c++]=i),f<a&&(u==t[f]||u==n[f]?(0==f&&(p=i),g=i+1,f++):f=0));let b,v=u<255?u>=48&&u<=57||u>=97&&u<=122?2:+(u>=65&&u<=90):(b=(0,r.MK)(u))!=b.toLowerCase()?1:2*(b!=b.toUpperCase());(!i||1==v&&m||0==x&&0!=v)&&(t[h]==u||n[h]==u&&(d=!0)?l[h++]=i:l.length&&(O=!1)),x=v,i+=(0,r.Fh)(u)}return h==a&&0==l[0]&&O?this.result(-100+(d?-200:0),l,e):f==a&&0==p?this.ret(-200-e.length+(g==e.length?0:-100),[0,g]):s>-1?this.ret(-700-e.length,[s,s+this.pattern.length]):f==a?this.ret(-900-e.length,[p,g]):h==a?this.result(-100+(d?-200:0)+-700+(O?0:-1100),l,e):2==t.length?null:this.result((i[0]?-700:0)+-200+-1100,i,e)}result(e,t,n){let i=[],o=0;for(let e of t){let t=e+(this.astral?(0,r.Fh)((0,r.vS)(n,e)):1);o&&i[o-1]==e?i[o-1]=t:(i[o++]=e,i[o++]=t)}return this.ret(e-n.length,i)}}class b{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 v=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:k,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=>y(e(n),t(n)),optionClass:(e,t)=>n=>y(e(n),t(n)),addToOptions:(e,t)=>e.concat(t),filterStrict:(e,t)=>e||t})});function y(e,t){return e?t?e+" "+t:e:t}function k(e,t,n,r,o,l){let s=e.textDirection==i.OP.RTL,a=s,u=!1,c="top",h,d,f=t.left-o.left,p=o.right-t.right,g=r.right-r.left,m=r.bottom-r.top;if(a&&f<Math.min(g,p)?a=!1:!a&&p<Math.min(g,f)&&(a=!0),g<=(a?f:p))h=Math.max(o.top,Math.min(n.top,o.bottom-m))-t.top,d=Math.min(400,a?f:p);else{u=!0,d=Math.min(400,(s?t.right:o.right-t.left)-30);let e=o.bottom-t.bottom;e>=m||e>t.top?h=n.bottom-t.top:(c="bottom",h=t.bottom-n.top)}let O=(t.bottom-t.top)/l.offsetHeight,x=(t.right-t.left)/l.offsetWidth;return{style:`${c}: ${h/O}px; max-width: ${d/x}px`,class:"cm-completionInfo-"+(u?s?"left-narrow":"right-narrow":a?"left":"right")}}let w=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.ceil((e-t)/n);return{from:e-r*n,to:e-(r-1)*n}}class C{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:o}=r.open,l=e.state.facet(v);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");
vendor: 2,982 bytes, line 1
1i.className="cm-completionLabel";let o=e.displayLabel||e.label,l=0;for(let e=0;e<r.length;){let t=r[e++],n=r[e++];t>l&&i.appendChild(document.createTextNode(o.slice(l,t)));let s=i.appendChild(document.createElement("span"));s.appendChild(document.createTextNode(o.slice(t,n))),s.className="cm-completionMatchedText",l=n}return l<o.length&&i.appendChild(document.createTextNode(o.slice(l))),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)}(l),this.optionClass=l.optionClass,this.tooltipClass=l.tooltipClass,this.range=S(i.length,o,l.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:w.of(t)}),n.preventDefault())}}),this.dom.addEventListener("focusout",t=>{let n=e.state.field(this.stateField,!1);n&&n.tooltip&&e.state.facet(v).closeOnBlur&&t.relatedTarget!=e.contentDOM&&e.dispatch({effects:O.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:o,disabled:l}=n.open;r.open&&r.open.options==i||(this.range=S(i.length,o,e.state.facet(v).maxRenderedOptions),this.showOptions(i,n.id)),this.updateSel(),l!=(null==(t=r.open)?void 0:t.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!l)}}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(v).maxRenderedOptions),this.showOptions(t.options,e.id));let n=this.updateSelectedOption(t.selected);if(n){this.destroyInfo();
1let{completion:r}=t.options[t.selected],{info:o}=r;if(!o)return;let l="string"==typeof o?document.createTextNode(o):o(r);if(!l)return;"then"in l?l.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(l,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,o,l=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"),l=t):t.hasAttribute("aria-selected")&&(t.removeAttribute("aria-selected"),t.removeAttribute("aria-describedby")):n--;return l&&(t=this.list,n=l,r=t.getBoundingClientRect(),i=n.getBoundingClientRect(),o=r.height/t.offsetHeight,i.top<r.top?t.scrollTop-=(r.top-i.top)/o:i.bottom>r.bottom&&(t.scrollTop+=(i.bottom-r.bottom)/o)),l}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(v).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 o=n.from;o<n.to;o++){let{completion:l,match:s}=e[o],{section:a}=l;if(a){let e="string"==typeof a?a:a.name;e!=i&&(o>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 u=r.appendChild(document.createElement("li"));u.id=t+"-"+o,u.setAttribute("role","option");let c=this.optionClass(l);for(let e of(c&&(u.className=c),this.optionContent)){let t=e(l,this.view.state,this.view,s);t&&u.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 P(e){return 100*(e.boost||0)+10*!!e.apply+5*!!e.info+ +!!e.type}class ${constructor(e,t,n,r,i,o){this.options=e,this.attrs=t,this.tooltip=n,this.timestamp=r,this.selected=i,this.disabled=o}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new $(this.options,A(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,n,r,i,o){if(r&&!o&&e.some(e=>e.isPending))return r.setDisabled();let l=function(e,t){let n=[],r=null,i=null,o=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)}},l=t.facet(v);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)o(new c(t,r.source,e?e(t):[],1e9-n.length));else{let n=t.sliceDoc(r.from,r.to),s,a=l.filterStrict?new b(n):new x(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,l=s.score+(t.boost||0);if(o(new c(t,r.source,n,l)),"object"==typeof t.section&&"dynamic"===t.section.rank){let{name:e}=t.section;i||(i=Object.create(null)),i[e]=Math.max(l,i[e]||-1e9)}}}}if(r){let e=Object.create(null),t=0;for(let n of r.sort((e,t)=>
1("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,u=l.compareCompletions;for(let e of n.sort((e,t)=>t.score-e.score||u(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?P(e.completion)>P(a)&&(s[s.length-1]=e):s.push(e),a=e.completion}return s}(e,t);if(!l.length)return r&&e.some(e=>e.isPending)?r.setDisabled():null;let s=t.facet(v).selectOnOpen?0:-1;if(r&&r.selected!=s&&-1!=r.selected){let e=r.options[r.selected].completion;for(let t=0;t<l.length;t++)if(l[t].completion==e){s=t;break}}return new $(l,A(n,s),{pos:e.reduce((e,t)=>t.hasResult()?Math.min(e,t.from):e,1e8),create:X,above:i.aboveCursor},r?r.timestamp:Date.now(),s,!1)}map(e){return new $(this.options,this.attrs,{...this.tooltip,pos:e.mapPos(this.tooltip.pos)},this.timestamp,this.selected,this.disabled)}setDisabled(){return new $(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class Q{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new Q(E,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(e){let{state:t}=e,n=t.facet(v),r=(n.override||t.languageDataAt("autocomplete",h(t)).map(g)).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,o=e.effects.some(e=>e.is(M));for(let l 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,o=r==t.length;if(i||o)return i==o;if(e[n++].result!=t[r++].result)return!1}}(r,this.active)||o?i=$.build(r,t,this.id,i,n,o):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))l.is(w)&&(i=i&&i.setSelected(l.value,this.id));return r==this.active&&i==this.open?this:new Q(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}}let _={"aria-autocomplete":"list"},T={};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 E=[];function Z(e,t){if(e.isUserEvent("input.complete")){let n=e.annotation(f);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=Z(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(O))r=new R(r.source,0);else if(t.is(M))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,o){super(e,3,t),this.limit=n,this.result=r,this.from=i,this.to=o}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),o=e.changes.mapPos(this.to,1),s=h(e.state);if(s>o||!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):d(e,!0).test(i)}(r.validFor,e.state,i,o)?r.update&&(r=r.update(r,i,o,new l(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,o)}map(e){if(e.empty)return this;let t=this.result.map?this.result.map(this.result,e):this.result;return t?new j(this.source,this.explicit,e.mapPos(this.limit),t,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 M=r.Pe.define({map:(e,t)=>e.map(e=>e.map(t))}),L=r.sU.define({create:()=>Q.start(),update:(e,t)=>
1e.update(t),provide:e=>[i.DK.from(e,e=>e.tooltip),i.Lz.contentAttributes.from(e,e=>e.attrs)]});function I(e,t){let n=t.completion.apply||t.completion.label,i=e.state.field(L).active.find(e=>e.source==t.source);return i instanceof j&&("string"==typeof n?e.dispatch({...function(e,t,n,i){let{main:o}=e.selection,l=n-o.from,s=i-o.from;return{...e.changeByRange(a=>{if(a!=o&&n!=i&&e.sliceDoc(a.from+l,a.from+s)!=e.sliceDoc(n,i))return{range:a};let u=e.toText(t);return{changes:{from:a.from+l,to:i==o.from?a.to:a.from+s,insert:u},range:r.OF.cursor(a.from+l+u.length)}}),scrollIntoView:!0,userEvent:"input.complete"}}(e.state,n,i.from,i.to),annotations:f.of(t.completion)}):n(e,t.completion,i.from,i.to),!0)}let X=e=>new C(e,L,I);function N(e,t="option"){return n=>{let r=n.state.field(L,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp<n.state.facet(v).interactionDelay)return!1;let o=1,l;"page"==t&&(l=(0,i.Eg)(n,r.open.tooltip))&&(o=Math.max(2,Math.floor(l.dom.offsetHeight/l.dom.querySelector("li").offsetHeight)-1));let{length:s}=r.open.options,a=r.open.selected>-1?r.open.selected+o*(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:w.of(a)}),!0}}let V=e=>!!e.state.field(L,!1)&&(e.dispatch({effects:m.of(!0)}),!0);class D{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}let z=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(L).active))t.isPending&&this.startQuery(t)}update(e){let t=e.state.field(L),n=e.state.facet(v);if(!e.selectionSet&&!e.docChanged&&e.startState.field(L)==t)return;let r=e.transactions.some(e=>{let t=Z(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 o=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(),o):-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(L);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(v).updateSyncTime))}startQuery(e){let{state:t}=this.view,n=h(t),r=new l(t,n,e.explicit,this.view),o=new D(e,r);this.running.push(o),Promise.resolve(e.source(r)).then(e=>{o.context.aborted||(o.done=e||null,this.scheduleAccept())},e=>{this.view.dispatch({effects:O.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(v).updateSyncTime))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],n=this.view.state.facet(v),r=this.view.state.field(L);for(let i=0;i<this.running.length;i++){let o=this.running[i];if(void 0===o.done)continue;if(this.running.splice(i--,1),o.done){let r=h(o.updates.length?o.updates[0].startState:this.view.state),i=Math.min(r,o.done.from+ +!o.active.explicit),l=new j(o.active.source,o.active.explicit,i,o.done,o.done.from,null!=(e=o.done.to)?e:r);for(let e of o.updates)l=l.update(e,n);if(l.hasResult()){t.push(l);continue}}let l=r.active.find(e=>e.source==o.active.source);if(l&&l.isPending)if(null==o.done){let e=new R(o.active.source,0);for(let t of o.updates)e=e.update(t,n);e.isPending||t.push(e)}else this.startQuery(l)}(t.length||r.open&&r.open.disabled)&&this.view.dispatch({effects:M.of(t)})}},{eventHandlers:{blur(e){let t=this.view.state.field(L,!1);if(t&&t.tooltip&&this.view.state.facet(v).closeOnBlur){let n=t.open&&(0,i.Eg)(this.view,t.open.tooltip);n&&n.dom.contains(e.relatedTarget)||setTimeout(()=>this.view.dispatch({effects:O.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout(()=>this.view.dispatch({effects:m.of(!1)}),20),this.composing=0}}}),q="object"==typeof navigator&&/Win/.test(navigator.platform),B=r.Nb.highest(i.Lz.domEventHandlers({ke
vendor: 4,633 bytes, line 1
1ydown(e,t){let n=t.state.field(L,!1);if(!n||!n.open||n.open.disabled||n.open.selected<0||e.key.length>1||e.ctrlKey&&!(q&&e.altKey)||e.metaKey)return!1;let r=n.open.options[n.open.selected],i=n.active.find(e=>e.source==r.source),o=r.completion.commitCharacters||i.result.commitCharacters;return o&&o.indexOf(e.key)>-1&&I(t,r),!1}})),F=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",cursor:"pointer"},".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 Y{constructor(e,t,n,r){this.field=e,this.line=t,this.from=n,this.to=r}}class U{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 U(this.field,t,n)}}class W{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],r=[t],i=e.doc.lineAt(t),l=/^\s*/.exec(i.text)[0];for(let i of this.lines){if(n.length){let n=l,s=/^\t*/.exec(i)[0].length;for(let t=0;t<s;t++)n+=e.facet(o.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 U(e.field,r[e.line]+e.from,r[e.line]+e.to))}}static parse(e){let t=[],n=[],r=[],i;for(let o of e.split(/\r\n?|\n/)){for(;i=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/.exec(o);){let e=i[1]?+i[1]:null,l=i[2]||i[3]||"",s=-1;0===e&&(e=1e9);let a=l.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 Y(s,n.length,i.index,i.index+a.length)),o=o.slice(0,i.index)+l+o.slice(i.index+i[0].length)}o=o.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(o)}return new W(n,r)}}let H=i.NZ.widget({widget:new class extends i.xO{toDOM(){let e=document.createElement("span");
1return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),G=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?H:G).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,o=e>0&&!r.ranges.some(t=>t.field==i+e);return n(t.update({selection:en(r.ranges,i),effects:K.of(o?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)}],eo=r.sj.define({combine:e=>e.length?e[0]:ei}),el=r.Nb.highest(i.w4.compute([eo],e=>e.facet(eo)));function es(e,t){let n;return{...t,apply:(n=W.parse(e),(e,t,i,o)=>{let{text:l,ranges:s}=n.instantiate(e.state,i),{main:a}=e.state.selection,u={changes:{from:i,to:o==a.from?a.to:o,insert:r.EY.of(l)},scrollIntoView:!0,annotations:t?[f.of(t),r.ZX.userEvent.of("input.complete")]:void 0};if(s.length&&(u.selection=en(s,0)),s.some(e=>e.field>0)){let t=new J(s,0),n=u.effects=[K.of(t)];void 0===e.state.field(et,!1)&&n.push(r.Pe.appendConfig.of([et,el,ea,F]))}e.dispatch(e.state.update(u))})}}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)}}),eu={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},ec=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 ed=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(ec)&&(e=e.update({add:[eh.range(n.value,n.value+1)]}));return e}});function ef(){return[ex,ed]}let ep="()[]{}<>\xab\xbb\xbb\xab[]ï½ï½";function eg(e){for(let t=0;t<ep.length;t+=2)if(ep.charCodeAt(t)==e)return ep.charAt(t+1);return(0,r.MK)(e<128?e:e+1)}function em(e,t){return e.languageDataAt("closeBrackets",t)[0]||eu}let eO="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),ex=i.Lz.inputHandler.of((e,t,n,i)=>{if((eO?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let l=e.state.selection.main;if(i.length>2||2==i.length&&1==(0,r.Fh)((0,r.vS)(i,0))||t!=l.from||n!=l.to)return!1;let s=function(e,t){let n=em(e,e.selection.main.head),i=n.brackets||eu.brackets;for(let l of i){let s=eg((0,r.vS)(l,0));if(t==l)return s==l?function(e,t,n,i){let l=i.stringPrefixes||eu.stringPrefixes,s=null,a=e.changeByRange(i=>{if(!i.empty)return{changes:[{insert:t,from:i.from},{insert:t,from:i.to}],effects:ec.of(i.to+t.length),range:r.OF.range(i.anchor+t.length,i.head+t.length)};let a=i.head,u=ey(e.doc,a),c;if(u==t){if(ek(e,a))return{changes:{insert:t+t,from:a},effects:ec.of(a+t.length),range:r.OF.cursor(a+t.length)};else if(ev(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&&(c=ew(e,a-2*t.length,l))>-1&&ek(e,c))return{changes:{insert:t+t+t+t,from:a}
1,effects:ec.of(a+t.length),range:r.OF.cursor(a+t.length)};else if(e.charCategorizer(a)(u)!=r.Je.Word&&ew(e,a,l)>-1&&!function(e,t,n,r){let i=(0,o.mv)(e).resolveInner(t,-1),l=r.reduce((e,t)=>Math.max(e,t.length),0);for(let o=0;o<5;o++){let o=e.sliceDoc(i.from,Math.min(i.to,i.from+n.length+l)),s=o.indexOf(n);if(!s||s>-1&&r.indexOf(o.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,l))return{changes:{insert:t+t,from:a},effects:ec.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,l,i.indexOf(l+l+l)>-1,n):function(e,t,n,i){let o=null,l=e.changeByRange(l=>{if(!l.empty)return{changes:[{insert:t,from:l.from},{insert:n,from:l.to}],effects:ec.of(l.to+t.length),range:r.OF.range(l.anchor+t.length,l.head+t.length)};let s=ey(e.doc,l.head);return!s||/\s/.test(s)||i.indexOf(s)>-1?{changes:{insert:t+n,from:l.head},effects:ec.of(l.head+t.length),range:r.OF.cursor(l.head+t.length)}:{range:o=l}});return o?null:e.update(l,{scrollIntoView:!0,userEvent:"input.type"})}(e,l,s,n.before||eu.before);if(t==s&&ev(e,e.selection.main.from))return function(e,t){let n=null,i=e.changeByRange(i=>i.empty&&ey(e.doc,i.head)==t?{changes:{from:i.head,to:i.head+t.length,insert:t},range:r.OF.cursor(i.head+t.length)}:n={range:i});return n?null:e.update(i,{scrollIntoView:!0,userEvent:"input.type"})}(e,s)}return null}(e.state,i);return!!s&&(e.dispatch(s),!0)}),eb=[{key:"Backspace",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=em(e,e.selection.main.head).brackets||eu.brackets,i=null,o=e.changeByRange(t=>{if(t.empty){var o,l;let i,s=(o=e.doc,l=t.head,i=o.sliceString(l-2,l),(0,r.Fh)((0,r.vS)(i,0))==i.length?i:i.slice(1));for(let i of n)if(i==s&&ey(e.doc,t.head)==eg((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(o,{scrollIntoView:!0,userEvent:"delete.backward"})),!i}}];function ev(e,t){let n=!1;return e.field(ed).between(0,e.doc.length,e=>{e==t&&(n=!0)}),n}function ey(e,t){let n=e.sliceString(t,t+2);return n.slice(0,(0,r.Fh)((0,r.vS)(n,0)))}function ek(e,t){let n=(0,o.mv)(e).resolveInner(t+1);return n.parent&&n.from==t}function ew(e,t,n){let i=e.charCategorizer(t);if(i(e.sliceDoc(t-1,t))!=r.Je.Word)return t;for(let o of n){let n=t-o.length;if(e.sliceDoc(n,t)==o&&i(e.sliceDoc(n-1,n))!=r.Je.Word)return n}return -1}function eS(e={}){return[B,L,v.of(e),z,eP,F]}let eC=[{key:"Ctrl-Space",run:V},{mac:"Alt-`",run:V},{mac:"Alt-i",run:V},{key:"Escape",run:e=>{let t=e.state.field(L,!1);return!!t&&!!t.active.some(e=>0!=e.state)&&(e.dispatch({effects:O.of(null)}),!0)}},{key:"ArrowDown",run:N(!0)},{key:"ArrowUp",run:N(!1)},{key:"PageDown",run:N(!0,"page")},{key:"PageUp",run:N(!1,"page")},{key:"Enter",run:e=>{let t=e.state.field(L,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestamp<e.state.facet(v).interactionDelay)&&I(e,t.open.options[t.open.selected])}}],eP=r.Nb.highest(i.w4.computeN([v],e=>e.facet(v).defaultKeymap?[eC]:[]))},8302:(e,t,n)=>{"use strict";n.d(t,{G:()=>a});var r=n(73104);let i={testNode:"blockquote",visitNode({actions:e}){e.addAndStepInto((0,r.xi)())}},o={testLexicalNode:r.jd,visitLexicalNode:({actions:e})=>{e.addAndStepInto("blockquote")}};var l=n(17705),s=n(60554);let a=(0,l.Z)({init(e){e.pubIn({[s.$0]:"quote",[s.R1]:i,[s.q]:r.dJ,[
1s.iI]:o})}})},9864:(e,t,n)=>{"use strict";n.r(t),n.d(t,{autoCloseTags:()=>Y,completionPath:()=>R,esLint:()=>U,javascript:()=>q,javascriptLanguage:()=>M,jsxLanguage:()=>X,localCompletionSource:()=>E,scopeCompletionSource:()=>j,snippets:()=>w,tsxLanguage:()=>N,typescriptLanguage:()=>I,typescriptSnippets:()=>S});var r=n(90135),i=n(13051);let o=[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],l=new r.Aj({start:!1,shift:(e,t)=>5==t||6==t||321==t?e:322==t,strict:!1}),s=new r.Lu((e,t)=>{let{next:n}=e;(125==n||-1==n||t.context)&&e.acceptToken(319)},{contextual:!0,fallback:!0}),a=new r.Lu((e,t)=>{let{next:n}=e,r;o.indexOf(n)>-1||(47!=n||47!=(r=e.peek(1))&&42!=r)&&(125==n||59==n||-1==n||t.context||e.acceptToken(317))},{contextual:!0}),u=new r.Lu((e,t)=>{91!=e.next||t.context||e.acceptToken(318)},{contextual:!0}),c=new r.Lu((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 h(e,t){return e>=65&&e<=90||e>=97&&e<=122||95==e||e>=192||!t&&e>=48&&e<=57}let d=new r.Lu((e,t)=>{if(60!=e.next||!t.dialectEnabled(0)||(e.advance(),47==e.next))return;let n=0;for(;o.indexOf(e.next)>-1;)e.advance(),n++;if(h(e.next,!0)){for(e.advance(),n++;h(e.next,!1);)e.advance(),n++;for(;o.indexOf(e.next)>-1;)e.advance(),n++;if(44==e.next)return;for(let t=0;;t++){if(7==t){if(!h(e.next,!0))return;break}if(e.next!="extends".charCodeAt(t))break;e.advance(),n++}}e.acceptToken(4,-n)}),f=(0,i.pn)({"get set async static":i._A.modifier,"for while do if else switch try catch finally return throw break continue default case defer":i._A.controlKeyword,"in of await yield void typeof delete instanceof as satisfies":i._A.operatorKeyword,"let var const using function class extends":i._A.definitionKeyword,"import export from":i._A.moduleKeyword,"with debugger new":i._A.keyword,TemplateString:i._A.special(i._A.string),super:i._A.atom,BooleanLiteral:i._A.bool,this:i._A.self,null:i._A.null,Star:i._A.modifier,VariableName:i._A.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":i._A.function(i._A.variableName),VariableDefinition:i._A.definition(i._A.variableName),Label:i._A.labelName,PropertyName:i._A.propertyName,PrivatePropertyName:i._A.special(i._A.propertyName),"CallExpression/MemberExpression/PropertyName":i._A.function(i._A.propertyName),"FunctionDeclaration/VariableDefinition":i._A.function(i._A.definition(i._A.variableName)),"ClassDeclaration/VariableDefinition":i._A.definition(i._A.className),"NewExpression/VariableName":i._A.className,PropertyDefinition:i._A.definition(i._A.propertyName),PrivatePropertyDefinition:i._A.definition(i._A.special(i._A.propertyName)),UpdateOp:i._A.updateOperator,"LineComment Hashbang":i._A.lineComment,BlockComment:i._A.blockComment,Number:i._A.number,String:i._A.string,Escape:i._A.escape,ArithOp:i._A.arithmeticOperator,LogicOp:i._A.logicOperator,BitOp:i._A.bitwiseOperator,CompareOp:i._A.compareOperator,RegExp:i._A.regexp,Equals:i._A.definitionOperator,Arrow:i._A.function(i._A.punctuation),": Spread":i._A.punctuation,"( )":i._A.paren,"[ ]":i._A.squareBracket,"{ }":i._A.brace,"InterpolationStart InterpolationEnd":i._A.special(i._A.brace),".":i._A.derefOperator,", ;":i._A.separator,"@":i._A.meta,TypeName:i._A.typeName,TypeDefinition:i._A.definition(i._A.typeName),"type enum interface implements namespace module declare":i._A.definitionKeyword,"abstract global Privacy readonly override":i._A.modifier,"is keyof unique infer asserts":i._A.operatorKeyword,JSXAttributeValue:i._A.attributeValue,JSXText:i._A.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":i._A.angleBracket,"JSXIdentifier JSXNameSpacedName":i._A.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":i._A.attributeName,"JSXBuiltin/JSXIdentifier":i._A.standard(i._A.tagName)}),p={__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:237,private:237,protected:237,readonly:239,instanceof:258,satisfies:261,import:294,keyof:351,unique:355,infer:361,asserts:397,is:399,abstract:419,implements:421,type:423,let:426,var:428,using:431,interface:437,enum:441,namespace:447,module:449,declare:453,global:457,defer:473,for:478,of:487,while:490,with:494,do:498,if:502,else:504,switch:508,case:514,try:520,catch:524,finally:528,return:532,throw:536,break:540,continue:544,debugger:548},g={__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:403},m={__proto__:null,"<":193},O=r.U1.deserialize({version:14,states:"$GSQ%TQlOOO%[QlOOO'_QpOOP(lO`OOO*zQ!0MxO'#CiO+RO#tO'#CjO+aO&jO'#CjO+
1oO#@ItO'#DaO.QQlO'#DgO.bQlO'#DrO%[QlO'#DzO0fQlO'#ESOOQ!0Lf'#E['#E[O1PQ`O'#EXOOQO'#Ep'#EpOOQO'#Im'#ImO1XQ`O'#GtO1dQ`O'#EoO1iQ`O'#EoO3hQ!0MxO'#JsO6[Q!0MxO'#JtO6uQ`O'#F^O6zQ,UO'#FuOOQ!0Lf'#Fg'#FgO7VO7dO'#FgO9XQMhO'#F}O9`Q`O'#F|OOQ!0Lf'#Jt'#JtOOQ!0Lb'#Js'#JsO9eQ`O'#GxOOQ['#K`'#K`O9pQ`O'#IZO9uQ!0LrO'#I[OOQ['#Ja'#JaOOQ['#I`'#I`Q`QlOOQ`QlOOO9}Q!L^O'#DvO:UQlO'#EOO:]QlO'#EQO9kQ`O'#GtO:dQMhO'#CoO:rQ`O'#EnO:}Q`O'#EzO;hQMhO'#FfO;xQ`O'#GtOOQO'#Ka'#KaO;}Q`O'#KaO<]Q`O'#G|O<]Q`O'#G}O<]Q`O'#HPO9kQ`O'#HSO=SQ`O'#HVO>kQ`O'#CeO>{Q`O'#HdO?TQ`O'#HjO?TQ`O'#HlO`QlO'#HnO?TQ`O'#HpO?TQ`O'#HsO?YQ`O'#HyO?_Q!0LsO'#IPO%[QlO'#IRO?jQ!0LsO'#ITO?uQ!0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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 VariableDefinition 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:381,context:l,nodeProps:[["isolate",-8,5,6,14,37,39,51,53,55,""],["group",-26,9,17,19,68,208,212,216,217,219,222,225,235,238,244,246,248,250,253,259,265,267,269,271,273,275,276,"Statement",-34,13,14,32,35,36,42,51,54,55,57,62,70,72,76,80,82,84,85,110,111,121,122,137,140,142,143,144,145,146,148,149,168,170,172,"Expression",-23,31,33,37,41,43,45,174,176,178,179,181,182,183,185,186,187,189,190,191,202,204,206,207,"Type",-3,88,103,109,"ClassItem"],["o
1penedBy",23,"<",38,"InterpolationStart",56,"[",60,"{",73,"(",161,"JSXStartCloseTag"],["closedBy",-2,24,169,">",40,"InterpolationEnd",50,"]",61,"}",74,")",166,"JSXEndTag"]],propSources:[f],skippedNodes:[0,5,6,279],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$K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z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr",tokenizers:[a,u,c,d,2,3,4,5,6,7,8,9,10,11,12,13,14,s,new r.uC("$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(d~~",141,341),new r.uC("j~RQYZXz{^~^O(R~~aP!P!Qd~iO(S~~",25,324)],topRules:{Script:[0,7],SingleExpression:[1,277],SingleClassItem:[2,278]},dialects:{jsx:0,ts:15179},dynamicPrecedences:{80:1,82:1,94:1,170:1,200:1},specialized:[{term:328,get:e=>p[e]||-1},{term:344,get:e=>g[e]||-1},{term:95,get:e=>m[e]||-1}],tokenPrec:15205});var x=n(52923),b=n(25263),v=n(95980),y=n(7891),k=n(44602);let w=[(0,y.Gw)("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),(0,y.Gw)("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),(0,y.Gw)("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),(0,y.Gw)("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),(0,y.Gw)("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),(0,y.Gw)("try {\n ${}\n} catch (${error}) {\n ${}\n}",{label:"try",detail:"/ catch block",type:"keyword"}),(0,y.Gw)("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),(0,y.Gw)("if (${}) {\n ${}\n} else {\n ${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),(0,y.Gw)("class ${name} {\n constructor(${params}) {\n ${}\n }\n}",{label:"class",detail:"definition",type:"keyword"}),(0,y.Gw)('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),(0,y.Gw)('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],S=w.concat([(0,y.Gw)("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),(0,y.Gw)("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),(0,y.Gw)("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),C=new k.RY,P=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function $(e){return(t,n)=>{let r=t.node.getChild("VariableDefinition");return r&&n(r,e),!0}}let Q=["FunctionDeclaration"],_={FunctionDeclaration:$("function"),ClassDeclaration:$("class"),ClassExpression:()=>!0,EnumDeclaration:$("constant"),TypeAliasDeclaration:$("type"),NamespaceDeclaration:$("namespace"),VariableDefinition(e,t){e.matchContext(Q)||t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null},T=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,A=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."];function E(e){let t=(0,x.mv)(e.state).resolveInner(e.pos,-1);if(A.indexOf(t.name)>-1)return null;let n="VariableName"==t.name||t.to-t.from<20&&T.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;let r=[];for(let n=t;n;n=n.parent)P.has(n.name)&&(r=r.concat(function e(t,n){let r=C.get(n);if(r)return r;let i=[],o=!0;function l(e,n){let r=t.sliceString(e.from,e.to);i.push({label:r,type:n})}return n.cursor(k.Qj.IncludeAnonymous).iterate(n=>{if(o)o=!1;else if(n.name){let e=_[n.name];if(e&&e(n,l)||P.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}}),C.set(n,i),i}(e.state.doc,n)));return{options:r,from:n?t.from:e.pos,validFor:T}}function Z(e,t,n){var r;let i=[];for(;;){let o=t.firstChild,l;if((null==o?void 0:o.name)=="VariableName")return i.push(e(o)),{path:i.reverse(),name:n};if((null==o?void 0:o.name)!="MemberExpression"||(null==(r=l=o.lastChild)?void 0:r.name)!="PropertyName")return null;i.push(e(l)),t=o}}function R(e){let t=t=>e.state.doc.sliceString(t.from,t.to),n=(0,x.mv)(e.state).resolveInner(e.pos,-1);if("PropertyName"==n.name)return Z(t,n.parent,t(n));
1if(("."==n.name||"?."==n.name)&&"MemberExpression"==n.parent.name)return Z(t,n.parent,"");if(A.indexOf(n.name)>-1)return null;if("VariableName"==n.name||n.to-n.from<20&&T.test(t(n)))return{path:[],name:t(n)};if("MemberExpression"==n.name)return Z(t,n,"");else return e.explicit?{path:[],name:""}:null}function j(e){let t=new Map;return n=>{let r=R(n);if(!r)return null;let i=e;for(let e of r.path)if(!(i=i[e]))return null;let o=t.get(i);return o||t.set(i,o=function(e,t){let n=e,r=[],i=new Set;for(let o=0;;o++){for(let l of(Object.getOwnPropertyNames||Object.keys)(e)){let e;if(!(!/^[a-zA-Z_$\xaa-\uffdc][\w$\xaa-\uffdc]*$/.test(l)||i.has(l))){i.add(l);try{e=n[l]}catch(e){continue}r.push({label:l,type:"function"==typeof e?/^[A-Z]/.test(l)?"class":t?"function":"method":t?"variable":"property",boost:-o})}}let l=Object.getPrototypeOf(e);if(!l)return r;e=l}}(i,!r.path.length)),{from:n.pos-r.name.length,options:o,validFor:T}}}let M=x.bj.define({name:"javascript",parser:O.configure({props:[x.Oh.add({IfStatement:(0,x.mz)({except:/^\s*({|else\b)/}),TryStatement:(0,x.mz)({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:x._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,x.Ay)({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":(0,x.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}),x.b_.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":x.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:"$"}}),L={test:e=>/^JSX/.test(e.name),facet:(0,x.p9)({commentTokens:{block:{open:"{/*",close:"*/}"}}})},I=M.configure({dialect:"ts"},"typescript"),X=M.configure({dialect:"jsx",props:[x.Q0.add(e=>e.isTop?[L]:void 0)]}),N=M.configure({dialect:"jsx ts",props:[x.Q0.add(e=>e.isTop?[L]:void 0)]},"typescript"),V=e=>({label:e,type:"keyword"}),D="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(V),z=D.concat(["declare","implements","private","protected","public"].map(V));function q(e={}){let t=e.jsx?e.typescript?N:X:e.typescript?I:M,n=e.typescript?S.concat(z):w.concat(D);return new x.Yy(t,[M.data.of({autocomplete:(0,y.Ar)(A,(0,y.et)(n))}),M.data.of({autocomplete:E}),e.jsx?Y:[]])}function B(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 F="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),Y=v.Lz.inputHandler.of((e,t,n,r,i)=>{if((F?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!M.isActiveAt(e.state,t,-1))return!1;let o=i(),{state:l}=o,s=l.changeByRange(e=>{var t;let{head:n}=e,i=(0,x.mv)(l).resolveInner(n-1,-1),o;if("JSXStartTag"==i.name&&(i=i.parent),l.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&&((o=B(l.doc,r.firstChild,n))||(null==(t=r.firstChild)?void 0:t.name)=="JSXFragmentTag")){let e=`${o}>`;return{range:b.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(l.doc.sliceString(n,n+2))&&(o=B(l.doc,t,n)))return{range:e,changes:{from:n,insert:`</${o}>`}}}return{range:e}});return!s.changes.empty&&(e.dispatch([o,l.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});function U(e,t){return t||(t={parserOptions:{ecmaVersion:2019,sourceType:"module"},env:{browser:!0,node:!0,es6:!0,es2015:!0,es2017:!0,es2020:!0},rules:{}}
1,e.getRules().forEach((e,n)=>{var r;(null==(r=e.meta.docs)?void 0:r.recommended)&&(t.rules[n]=2)})),n=>{let{state:r}=n,i=[];for(let{from:n,to:o}of M.findRegions(r)){let l=r.doc.lineAt(n),s={line:l.number-1,col:n-l.from,pos:n};for(let l of e.verify(r.sliceDoc(n,o),t))i.push(function(e,t,n){let r=W(e.line,e.column,t,n),i={from:r,to:null!=e.endLine&&1!=e.endColumn?W(e.endLine,e.endColumn,t,n):r,message:e.message,source:e.ruleId?"eslint:"+e.ruleId:"eslint",severity:1==e.severity?"warning":"error"};if(e.fix){let{range:t,text:o}=e.fix,l=t[0]+n.pos-r,s=t[1]+n.pos-r;i.actions=[{name:"fix",apply(e,t){e.dispatch({changes:{from:t+l,to:t+s,insert:o},scrollIntoView:!0})}}]}return i}(l,r.doc,s))}return i}}function W(e,t,n,r){return n.line(e+r.line).from+t+(1==e?r.col-1:-1)}},10391:(e,t,n)=>{"use strict";n.d(t,{F8:()=>g,bL:()=>h,fp:()=>m,gx:()=>d,hf:()=>p,wv:()=>O});var r,i=n(45970),o=n(3793),l=n(7620),s=n(41340),a=n(32975),u=n(60554);function c(e,t){return l.forwardRef((n,r)=>{let i=o(t.className,n.className);return l.createElement(e,{...t,...n,className:i,ref:r})})}let h=({readOnly:e,children:t,className:n})=>l.createElement(i.bL,{className:o("mdxeditor-toolbar",s.Ay.toolbarRoot,{[s.Ay.readOnlyToolbarRoot]:e},n),...e?{tabIndex:-1}:{}},t),d=(r=c(i.$n,{className:s.Ay.toolbarButton,"data-toolbar-item":!0}),({title:e,children:t,...n})=>l.createElement(r,{"aria-label":e,...n},l.createElement(a.I,{title:e},t))),f=c(i.sy,{className:s.Ay.toolbarToggleItem,"data-toolbar-item":!0});c(i.OY,{type:"single",className:s.Ay.toolbarToggleSingleGroup});let p=l.forwardRef(({on:e,title:t,children:n,disabled:r,...o},u)=>l.createElement(i.OY,{type:"single",className:s.Ay.toolbarToggleSingleGroup,...o,value:e?"on":"off",ref:u},l.createElement(f,{"aria-label":t,value:"on",disabled:r},l.createElement(a.I,{title:t},n)))),g=({items:e})=>l.createElement("div",{className:s.Ay.toolbarGroupOfGroups},e.map((e,t)=>l.createElement(p,{key:t,title:e.title,on:e.active,onValueChange:t=>{e.onChange("on"===t)},disabled:e.disabled},e.contents))),m=({value:e,onChange:t,className:n,ggClassName:r,items:c,disabled:h})=>{let d=(0,u.Bd)();return l.createElement("div",{className:o(s.Ay.toolbarGroupOfGroups,r)},l.createElement(i.OY,{"aria-label":d("toolbar.toggleGroup","toggle group"),type:"single",className:o(s.Ay.toolbarToggleSingleGroup,n),onValueChange:t,value:e||"",disabled:h,onFocus:e=>{e.preventDefault()}},c.map((e,t)=>l.createElement(f,{key:t,"aria-label":e.title,value:e.value},l.createElement(a.I,{title:e.title},e.contents)))))},O=i.wv},10999:(e,t)=>{"use strict";var n=60103,r=60106,i=60107,o=60108,l=60114,s=60109,a=60110,u=60112,c=60113,h=60120,d=60115,f=60116;if("function"==typeof Symbol&&Symbol.for){var p=Symbol.for;n=p("react.element"),r=p("react.portal"),i=p("react.fragment"),o=p("react.strict_mode"),l=p("react.profiler"),s=p("react.provider"),a=p("react.context"),u=p("react.forward_ref"),c=p("react.suspense"),h=p("react.suspense_list"),d=p("react.memo"),f=p("react.lazy"),p("react.block"),p("react.server.block"),p("react.fundamental"),p("react.debug_trace_mode"),p("react.legacy_hidden")}},12547:(e,t,n)=>{"use strict";n.d(t,{dj:()=>d});var r=n(16729),i=n(83521),o=n(2790),l=n(86645),s=n(26874);let a=new WeakSet,u=new WeakMap,c=new Set([s.haT,s.Ey8,s.GRK,s.MZu,s.fD3]),h=new WeakMap;function d({name:e,namespace:t,nodes:n,theme:f,editable:p=!0,parentEditor:g,historyMode:m,historyState:O,initialEditorState:x,onError:b=e=>{throw e}}){let v=[l.m,(0,s.O0w)(o.n,{contentEditable:null}),(0,s.O0w)(r.jZ,{setOptions:{tag:s.n0X},updateOptions:{tag:s.n0X}})];if(g&&v.push((0,s.O0w)(r.gn,{$getParentEditor:()=>g,inheritEditableFromParent:!0})),"nested-shared"===m)v.push(i.jd);else if("root-shared"===m||"nested-external"===m){if(!O)throw Error(`${m} requires a historyState`);v.push((0,s.O0w)(i.We,{createInitialHistoryState:()=>O,disabled:!1}))}else"table-local"===m&&v.push((0,s.O0w)(i.We,{disabled:!1}));let y=(0,s.vE9)({name:e,namespace:t,nodes:null==n?void 0:n.filter(e=>!c.has(e)),theme:f,editable:p,$initialEditorState:x,onError:b,dependencies:v}),k=(0,r.C_)(y),w=(0,r.xT)(k,i.We.name),S=null==w?void 0:w.output.historyState.value;S&&u.set(k,S),S&&!h.has(S)&&h.set(S,S.current);let C=S?k.registerUpdateListener(({dirtyElements:e,dirtyLeaves:t,tags:n})=>{let r=S.current;if(n.has(s.n0X)||e.size>0||t.size>0)return void h.set(S,r);let i=h.get(S);(null==r?void 0:r.editor)===k&&i&&i.editor!==k&&(S.undoStack.push({...i}),S.redoStack=[],k.dispatchCommand(s.KfJ,!0),k.dispatchCommand(s.WWb,!1)),h.set(S,r)}):()=>void 0,P=new Set,$=S?k.registerCommand(s.$7r,()=>{let e=setTimeout(()=>{P.delete(e),k.dispatchCommand(s.KfJ,S.undoStack.length>
10),k.dispatchCommand(s.WWb,S.redoStack.length>0)});return P.add(e),!1},s.AcJ):()=>void 0,Q=k.dispose.bind(k),_=!1;return k.dispose=()=>{_||(_=!0,P.forEach(clearTimeout),P.clear(),$(),C(),Q())},"root-shared"===m&&a.add(k),k}},12687:(e,t,n)=>{"use strict";n.d(t,{Qg:()=>s,bL:()=>a});var r=n(7620),i=n(70488),o=n(54568),l=Object.defineProperty,s=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),a=r.forwardRef(l(function(e,t){return(0,o.jsx)(i.sG.span,{...e,ref:t,style:{...s,...e.style}})},"name",{value:"VisuallyHidden",configurable:!0}))},13051:(e,t,n)=>{"use strict";n.d(t,{DM:()=>d,_A:()=>_,az:()=>h,pn:()=>a,vw:()=>o});var r=n(44602);let i=0;class o{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 o&&(t=e),null==t?void 0:t.base)throw Error("Can not derive from a modified tag");let n=new o("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 l=0;class s{constructor(e){this.name=e,this.instances=[],this.id=l++}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 o(e.name,r,e,t);for(let e of t)e.instances.push(i);let l=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 l)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,o=e;for(let t=0;;){if("..."==o&&t>0&&t+3==e.length){i=1;break}let r=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o);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 l=e[t++];if(t==e.length&&"!"==l){i=0;break}if("/"!=l)throw RangeError("Invalid path: "+e);o=e.slice(t)}let l=n.length-1,s=n[l];if(!s)throw RangeError("Invalid path: "+e);let a=new c(r,i,l>0?n.slice(0,l):null);t[s]=a.sort(t[s])}}return u.add(t)}let u=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 o=new c(i.tags,i.mode,i.context);n?n.next=o:r=o,n=o}return r}});class c{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 d(e,t,n,r=0,i=e.length){let o=new f(r,Array.isArray(t)?t:[t],n);o.highlightRange(e.cursor(),r,i,"",o.highlighters),o.flush(i)}c.empty=new c([],2,null);class f{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,o){let{type:l,from:s,to:a}=e;if(s>=n||a<=t)return;l.isTop&&(o=this.highlighters.filter(e=>!e.scope||e.scope(l)));let h=i,d=function(e){let t=e.type.prop(u);for(;t&&t.context&&!e.matchContext(t.context);
1)t=t.next;return t||null}(e)||c.empty,f=function(e,t){let n=null;for(let r of e){let e=r.style(t);e&&(n=n?n+" "+e:e)}return n}(o,d.tags);if(f&&(h&&(h+=" "),h+=f,1==d.mode&&(i+=(i?" ":"")+f)),this.startSpan(Math.max(t,s),h),d.opaque)return;let p=e.tree&&e.tree.prop(r.uY.mounted);if(p&&p.overlay){let r=e.node.enter(p.overlay[0].from+s,1),l=this.highlighters.filter(e=>!e.scope||e.scope(p.tree.type)),u=e.firstChild();for(let c=0,d=s;;c++){let f=c<p.overlay.length?p.overlay[c]:null,g=f?f.from+s:a,m=Math.max(t,d),O=Math.min(n,g);if(m<O&&u)for(;e.from<O&&(this.highlightRange(e,m,O,i,o),this.startSpan(Math.min(O,e.to),h),!(e.to>=g)&&e.nextSibling()););if(!f||g>n)break;(d=f.to+s)>t&&(this.highlightRange(r.cursor(),Math.max(t,f.from+s),Math.min(n,d),"",l),this.startSpan(Math.min(n,d),h))}u&&e.parent()}else if(e.firstChild()){p&&(i="");do{if(e.to<=t)continue;if(e.from>=n)break;this.highlightRange(e,t,n,i,o),this.startSpan(Math.min(n,e.to),h)}while(e.nextSibling());e.parent()}}}let p=o.define,g=p(),m=p(),O=p(m),x=p(m),b=p(),v=p(b),y=p(b),k=p(),w=p(k),S=p(),C=p(),P=p(),$=p(P),Q=p(),_={comment:g,lineComment:p(g),blockComment:p(g),docComment:p(g),name:m,variableName:p(m),typeName:O,tagName:p(O),propertyName:x,attributeName:p(x),className:p(m),labelName:p(m),namespace:p(m),macroName:p(m),literal:b,string:v,docString:p(v),character:p(v),attributeValue:p(v),number:y,integer:p(y),float:p(y),bool:p(b),regexp:p(b),escape:p(b),color:p(b),url:p(b),keyword:S,self:p(S),null:p(S),atom:p(S),unit:p(S),modifier:p(S),operatorKeyword:p(S),controlKeyword:p(S),definitionKeyword:p(S),moduleKeyword:p(S),operator:C,derefOperator:p(C),arithmeticOperator:p(C),logicOperator:p(C),bitwiseOperator:p(C),compareOperator:p(C),updateOperator:p(C),definitionOperator:p(C),typeOperator:p(C),controlOperator:p(C),punctuation:P,separator:p(P),bracket:$,angleBracket:p($),squareBracket:p($),paren:p($),brace:p($),content:k,heading:w,heading1:p(w),heading2:p(w),heading3:p(w),heading4:p(w),heading5:p(w),heading6:p(w),contentSeparator:p(k),list:p(k),quote:p(k),emphasis:p(k),strong:p(k),link:p(k),monospace:p(k),strikethrough:p(k),inserted:p(),deleted:p(),changed:p(),invalid:p(),meta:Q,documentMeta:p(Q),annotation:p(Q),processingInstruction:p(Q),definition:o.defineModifier("definition"),constant:o.defineModifier("constant"),function:o.defineModifier("function"),standard:o.defineModifier("standard"),local:o.defineModifier("local"),special:o.defineModifier("special")};for(let e in _){let t=_[e];t instanceof o&&(t.name=e)}h([{tag:_.link,class:"tok-link"},{tag:_.heading,class:"tok-heading"},{tag:_.emphasis,class:"tok-emphasis"},{tag:_.strong,class:"tok-strong"},{tag:_.keyword,class:"tok-keyword"},{tag:_.atom,class:"tok-atom"},{tag:_.bool,class:"tok-bool"},{tag:_.url,class:"tok-url"},{tag:_.labelName,class:"tok-labelName"},{tag:_.inserted,class:"tok-inserted"},{tag:_.deleted,class:"tok-deleted"},{tag:_.literal,class:"tok-literal"},{tag:_.string,class:"tok-string"},{tag:_.number,class:"tok-number"},{tag:[_.regexp,_.escape,_.special(_.string)],class:"tok-string2"},{tag:_.variableName,class:"tok-variableName"},{tag:_.local(_.variableName),class:"tok-variableName tok-local"},{tag:_.definition(_.variableName),class:"tok-variableName tok-definition"},{tag:_.special(_.variableName),class:"tok-variableName2"},{tag:_.definition(_.propertyName),class:"tok-propertyName tok-definition"},{tag:_.typeName,class:"tok-typeName"},{tag:_.namespace,class:"tok-namespace"},{tag:_.className,class:"tok-className"},{tag:_.macroName,class:"tok-macroName"},{tag:_.propertyName,class:"tok-propertyName"},{tag:_.operator,class:"tok-operator"},{tag:_.comment,class:"tok-comment"},{tag:_.meta,class:"tok-meta"},{tag:_.invalid,class:"tok-invalid"},{tag:_.punctuation,class:"tok-punctuation"}])},13141:(e,t,n)=>{"use strict";n.d(t,{e0:()=>g,qW:()=>p});var r,i=n(7620),o=n(41074),l=n(70488),s=n(89324),a=n(85484),u=n(54568),c=Object.defineProperty,h=(e,t)=>c(e,"name",{value:t,configurable:!0}),d="dismissableLayer.update",f=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),p=i.forwardRef(h(function(e,t){let{disableOutsidePointerEvents:n=!1,deferPointerDownOutside:c=!1,onEscapeKeyDown:p,onPointerDownOutside:g,onFocusOutside:m,onInteractOutside:v,onDismiss:y,...k}=e,w=i.useContext(f),[S,C]=i.useState(null),P=S?.ownerDocument??globalThis?.document,[,$]=i.useState({}),Q=(0,s.s)(t,C),_=Array.from(w.layers),[T]=[...w.layersWithOutsidePointerEventsDisabled].slice(-1),A=T?_.indexOf(T):-1,E=S?_.indexOf(S):-1,Z=w.layersWithOutsidePointerEventsDisabled.size>0,R=E>=A,j=i.useRef(!1),M=O(e=>{g?.(e),v?.(e),e.defaultPrevented||y?.()},{ownerDocument:P,deferPointerDownOutside:c,isDeferredPointerDownOutsideRef:j,dismissableSurfaces:w.dismissableSurfaces,shouldHandlePointerDownOutside:i.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...w.branches].some(t=>t.contains(e));return R&&!t},[w.branches,R])}),L=x(e=>{if(c&&j.current)return;let t=e.target;![...w.branches].some(e=>e.contains(t))&&(m?.(e),v?.(e),e.defaultPrevented||y?.())},P),I=!!S&&E===_.length-1,X=(0,a.c)(e=>{"Escape"===e.key&&(p?.(e),!e.defaultPrevented&&y&&(e.preventDefault(),y()))});return i.useEffect(()=>{if(I)return P.addEventListener("keydown",X,{capture:!0}),()=>P.removeEventListener("keydown",X,{capture:!0})},[P,I,X]),i.useEffect(()=>{if(S)return n&&(0===w.layersWithOutsidePointerEventsDisabled.size&&(r=P.body.style.pointerEvents,P.body.style.pointerEvents="none"),w.layersWithOutsidePointerEventsDisabled.add(S)),w.layers.add(S),b(),()=>{n&&(w.layersWithOutsidePointerEventsDisabled.delete(S),0===w.layersWithOutsidePointerEventsDisabled.size&&(P.body.style.pointerEvents=r))}},[S,P,n,w]),i.useEffect(()=>()=>{S&&(w.layers.delete(S),w.layersWithOutsidePointerEventsDisabled.delete(S),b())},[S,w]),i.useEffect(()=>{let e=h(()=>$({}),"handleUpdate");return document.addEventListener(d,e),()=>document.removeEventListener(d,e)},[]),(0,u.jsx)(l.sG.div,{...k,ref:Q,style:{pointerEvents:Z?R?"auto":"none":void 0,...e.style},onFocusCapture:(0,o.mK)(e.onFocusCapture,L.onFocusCapture),onBlurCapture:(0,o.mK)(e.onBlurCapture,L.onBlurCapture),onPointerDownCapture:(0,o.mK)(e.onPointerDownCapture,M.onPointerDownCapture)})},"DismissableLayer"));function g(){let e=i.useContext(f),[t,n]=i.useState(null);return i.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}h(g,"useDismissableLayerSurface");var m=h(()=>!0,"IS_TRUE");function O(e,t){let{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:o,dismissableSurfaces:l,shouldHandlePointerDownOutside:s=m}=t,u=(0,a.c)(e),c=i.useRef(!1),d=i.useRef(!1),f=i.useRef(new Map),p=i.useRef(()=>{});return i.useEffect(()=>{function e(){d.current=!1,o.current=!1,f.current.clear()}function t(){return Array.from(f.current.values()).some(Boolean)}function i(e){if(!d.current)return;let t=e.target;t instanceof Node&&[...l].some(e=>e.contains(t))||f.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{d.current&&p.current()},0)}function a(e){d.current&&f.current.set(e.type,!1)}h(e,"resetOutsideInteraction"),h(t,"isOutsideInteractionIntercepted"),h(i,"handleInteractionCapture"),h(a,"handleInteractionBubble");let g=h(i=>{if(i.target&&!c.current){let l=function(){n.removeEventListener("click",p.current);let r=t();e(),r||v("dismissableLayer.pointerDownOutside",u,a,{discrete:!0})};if(h(l,"handleAndDispatchPointerDownOutsideEvent"),!s(i.target)){n.removeEventListener("click",p.current),e(
1),c.current=!1;return}let a={originalEvent:i};d.current=!0,o.current=r&&0===i.button,f.current.clear(),r&&0===i.button?(n.removeEventListener("click",p.current),p.current=l,n.addEventListener("click",p.current,{once:!0})):l()}else n.removeEventListener("click",p.current),e();c.current=!1},"handlePointerDown"),m=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let e of m)n.addEventListener(e,i,!0),n.addEventListener(e,a);let O=window.setTimeout(()=>{n.addEventListener("pointerdown",g)},0);return()=>{for(let e of(window.clearTimeout(O),n.removeEventListener("pointerdown",g),n.removeEventListener("click",p.current),m))n.removeEventListener(e,i,!0),n.removeEventListener(e,a)}},[n,u,r,o,l,s]),{onPointerDownCapture:h(()=>c.current=!0,"onPointerDownCapture")}}function x(e,t=globalThis?.document){let n=(0,a.c)(e),r=i.useRef(!1);return i.useEffect(()=>{let e=h(e=>{e.target&&!r.current&&v("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:h(()=>r.current=!0,"onFocusCapture"),onBlurCapture:h(()=>r.current=!1,"onBlurCapture")}}function b(){let e=new CustomEvent(d);document.dispatchEvent(e)}function v(e,t,n,{discrete:r}){let i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?(0,l.hO)(i,o):i.dispatchEvent(o)}h(O,"usePointerDownOutside"),h(x,"useFocusOutside"),h(b,"dispatchUpdate"),h(v,"handleAndDispatchCustomEvent")},15278:(e,t,n)=>{"use strict";function r(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)}n.d(t,{C:()=>r})},16729:(e,t,n)=>{"use strict";let r,i,o;n.d(t,{Bw:()=>eu,C_:()=>q,Hd:()=>eo,MM:()=>ef,PL:()=>ei,QZ:()=>_,SY:()=>el,XT:()=>A,cP:()=>J,fS:()=>en,fU:()=>G,gn:()=>es,iZ:()=>U,jX:()=>Z,jZ:()=>D,s0:()=>et,v:()=>T,vA:()=>c,vP:()=>v,vw:()=>eh,wD:()=>W,xT:()=>H});var l=n(26874),s=n(97029);let a=Symbol.for("preact-signals");function u(){if(f>1)return void f--;let e,t=!1;for(!function(){let e=d;for(d=void 0;void 0!==e;)e.S.v===e.v&&(e.S.i=e.i),e=e.o}();void 0!==i;){let n=i;for(i=void 0,p++;void 0!==n;){let r=n.u;if(n.u=void 0,n.f&=-3,!(8&n.f)&&y(n))try{n.c()}catch(n){t||(e=n,t=!0)}n=r}}if(p=0,f--,t)throw e}function c(e){if(f>0)return e();m=++g,f++;try{return e()}finally{u()}}function h(e){let t=r;r=void 0;try{return e()}finally{r=t}}let d,f=0,p=0,g=0,m=0,O=0;function x(e){if(void 0===r)return;let t=e.n;return void 0===t||t.t!==r?(t={i:0,S:e,p:r.s,n:void 0,t:r,e:void 0,x:void 0,r:t},void 0!==r.s&&(r.s.n=t),r.s=t,e.n=t,32&r.f&&e.S(t),t):-1===t.i?(t.i=0,void 0!==t.n&&(t.n.p=t.p,void 0!==t.p&&(t.p.n=t.n),t.p=r.s,t.n=void 0,r.s.n=t,r.s=t),t):void 0}function b(e,t){this.v=e,this.i=0,this.n=void 0,this.t=void 0,this.l=0,this.W=null==t?void 0:t.watched,this.Z=null==t?void 0:t.unwatched,this.name=null==t?void 0:t.name}function v(e,t){return new b(e,t)}function y(e){for(let t=e.s;void 0!==t;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function k(e){for(let t=e.s;void 0!==t;t=t.n){let n=t.S.n;if(void 0!==n&&(t.r=n),t.S.n=t,t.i=-1,void 0===t.n){e.s=t;break}}}function w(e){let t,n=e.s;for(;void 0!==n;){let e=n.p;-1===n.i?(n.S.U(n),void 0!==e&&(e.n=n.n),void 0!==n.n&&(n.n.p=e)):t=n,n.S.n=n.r,void 0!==n.r&&(n.r=void 0),n=e}e.s=t}function S(e,t){b.call(this,void 0),this.x=e,this.s=void 0,this.g=O-1,this.f=4,this.W=null==t?void 0:t.watched,this.Z=null==t?void 0:t.unwatched,this.name=null==t?void 0:t.name}function C(e){let t=e.m;if(e.m=void 0,"function"==typeof t){f++;let n=r;r=void 0;try{t()}catch(t){throw e.f&=-2,e.f|=8,P(e),t}finally{r=n,u()}}}function P(e){for(let t=e.s;void 0!==t;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,C(e)}function $(e){if(r!==this)throw Error("Out-of-order effect");w(this),r=e,this.f&=-2,8&this.f&&P(this),u()}function Q(e,t){this.x=e,this.m=void 0,this.s=void 0,this.u=void 0,this.f=32,this.name=null==t?void 0:t.name}function _(e,t){let n=new Q(e,t);try{n.c()}catch(e){throw n.d(),e}let r=n.d.bind(n);return r[Symbol.dispose]=r,r}function T(e,t={}){let n={};for(let r in e){let i=t[r],o=v(void 0===i?e[r]:i);n[r]=o}return n}function A(e){let t=new Set,n=new Set;for(let r of E(e)){let e="function"==typeof r?r:r.replace;(0,l.TSH)(e),t.add(e.getType()),n.add(e)}return{nodes:n,types:t}}function E(e){return("function"==typeof e.nodes?e.nodes():e.nodes)||[]}function Z(e,t){let n;return v(e(),{unwatched(){n&&(n(),n=void 0)},watched(){this.value=e(),n=t(this)}})}b.prototype.brand=a,b.prototype.h=function(){return!0},b.prototype.S=function(e){let t=this.t;t!==e&&void 0===e.e&&(e.x=t,this.t=e,void 0!==t?t.e=e:h(()=>{var e;null==(e=this.W)||e.call(this)}))},b.prototype.U=function(e){if(void 0!==this.t){let t=e.e,n=e.x;void 0!==t&&(t.x=n,e.e=void 0),void 0!==n&&(n.e=t,e.x=void 0),e===this.t&&(this.t=n,void 0===n&&h(()=>{var e;null==(e=this.Z)||e.call(this)}))}},b.prototype.subscribe=function(e){return _(()=>
1{let t=this.value,n=r;r=void 0;try{e(t)}finally{r=n}},{name:"sub"})},b.prototype.valueOf=function(){return this.value},b.prototype.toString=function(){return this.value+""},b.prototype.toJSON=function(){return this.value},b.prototype.peek=function(){let e=r;r=void 0;try{return this.value}finally{r=e}},Object.defineProperty(b.prototype,"value",{get(){let e=x(this);return void 0!==e&&(e.i=this.i),this.v},set(e){if(e!==this.v){if(p>100)throw Error("Cycle detected");0!==f&&0===p&&this.l!==m&&(this.l=m,d={S:this,v:this.v,i:this.i,o:d}),this.v=e,this.i++,O++,f++;try{for(let e=this.t;void 0!==e;e=e.x)e.t.N()}finally{u()}}}}),S.prototype=new b,S.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if(32==(36&this.f)||(this.f&=-5,this.g===O))return!0;if(this.g=O,this.f|=1,this.i>0&&!y(this))return this.f&=-2,!0;let e=r;try{k(this),r=this;let e=this.x();(16&this.f||this.v!==e||0===this.i)&&(this.v=e,this.f&=-17,this.i++)}catch(e){this.v=e,this.f|=16,this.i++}return r=e,w(this),this.f&=-2,!0},S.prototype.S=function(e){if(void 0===this.t){this.f|=36;for(let e=this.s;void 0!==e;e=e.n)e.S.S(e)}b.prototype.S.call(this,e)},S.prototype.U=function(e){if(void 0!==this.t&&(b.prototype.U.call(this,e),void 0===this.t)){this.f&=-33;for(let e=this.s;void 0!==e;e=e.n)e.S.U(e)}},S.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(let e=this.t;void 0!==e;e=e.x)e.t.N()}}
1,Object.defineProperty(S.prototype,"value",{get(){if(1&this.f)throw Error("Cycle detected");let e=x(this);if(this.h(),void 0!==e&&(e.i=this.i),16&this.f)throw this.v;return this.v}}),Q.prototype.c=function(){let e=this.S();try{if(8&this.f||void 0===this.x)return;let e=this.x();"function"==typeof e&&(this.m=e)}finally{e()}},Q.prototype.S=function(){if(1&this.f)throw Error("Cycle detected");this.f|=1,this.f&=-9,C(this),k(this),f++;let e=r;return r=this,$.bind(this,e)},Q.prototype.N=function(){2&this.f||(this.f|=2,this.u=i,i=this)},Q.prototype.d=function(){this.f|=8,1&this.f||P(this)},Q.prototype.dispose=function(){this.d()},l.Kp7;let R=(0,l.vE9)({build:e=>Z(()=>e.getEditorState(),t=>e.registerUpdateListener(e=>{t.value=e.editorState})),name:"@lexical/extension/EditorState"});function j(e,...t){let n=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;for(let n of(r.append("code",e),t))r.append("v",n);throw n.search=r.toString(),Error(`Minified Lexical error #${e}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}try{o="0.48.0+prod.esm"}catch(e){}let M=o??'"<unknown>+source"',L=new Set(["__proto__","constructor","prototype"]),I=new Set;class X{builder;configs;_dependency;_peerNameSet;extension;state;_signal;constructor(e,t){this.builder=e,this.extension=t,this.configs=new Set,this.state={id:0}}mergeConfigs(){let e=this.extension.config||{},t=this.extension.mergeConfig?this.extension.mergeConfig.bind(this.extension):l.Tc1;for(let n of this.configs)e=t(e,n);return e}init(e){let t,n=this.state;2===n.id||j(306,String(n.id));let r={getDependency:this.getInitDependency.bind(this),getDirectDependentNames:this.getDirectDependentNames.bind(this),getPeer:this.getInitPeer.bind(this),getPeerNameSet:this.getPeerNameSet.bind(this)},i={...r,getDependency:this.getDependency.bind(this),getInitResult:this.getInitResult.bind(this),getPeer:this.getPeer.bind(this)},o=Object.assign(n,{config:this.mergeConfigs(),id:3,registerState:r});this.state=o,this.extension.init&&(t=this.extension.init(e,o.config,r)),this.state=Object.assign(o,{id:4,initResult:t,registerState:i})}build(e){let t,n=this.state;4!==n.id&&j(307,String(n.id),String(5)),this.extension.build&&(t=this.extension.build(e,n.config,n.registerState));let r={...n.registerState,getOutput:()=>t,getSignal:this.getSignal.bind(this)};this.state=Object.assign(n,{id:5,output:t,registerState:r})}register(e,t){this._signal=t;let n=this.state;5!==n.id&&j(308,String(n.id),String(5));let r=this.extension.register&&this.extension.register(e,n.config,n.registerState);return this.state=Object.assign(n,{id:6}),()=>{let e=this.state;7!==e.id&&j(309,String(n.id),String(7)),this.state=Object.assign(e,{id:5}),r&&r()}}afterRegistration(e){let t,n=this.state;return 6!==n.id&&j(310,String(n.id),String(6)),this.extension.afterRegistration&&(t=this.extension.afterRegistration(e,n.config,n.registerState)),this.state=Object.assign(n,{id:7}),t}getSignal(){return void 0===this._signal&&j(311),this._signal}getInitResult(){void 0===this.extension.init&&j(312,this.extension.name);let e=this.state;return e.id>=4||j(313,String(e.id),String(4)),e.initResult}getInitPeer(e){let t=this.builder.extensionNameMap.get(e);return t?t.getExtensionInitDependency():void 0}getExtensionInitDependency(){let e=this.state;return e.id>=3||j(314,String(e.id),String(3)),{config:e.config}}getPeer(e){let t=this.builder.extensionNameMap.get(e);return t?t.getExtensionDependency():void 0}getInitDependency(e){let t=this.builder.getExtensionRep(e);return void 0===t&&j(315,this.extension.name,e.name),t.getExtensionInitDependency()}getDependency(e){let t=this.builder.getExtensionRep(e);return void 0===t&&j(315,this.extension.name,e.name),t.getExtensionDependency()}getState(){let e=this.state;return e.id>=7||j(316,String(e.id),String(7)),e}getDirectDependentNames(){return this.builder.incomingEdges.get(this.extension.name)||I}getPeerNameSet(){let e=this._peerNameSet;return e||(e=new Set((this.extension.peerDependencies||[]).map(([e])=>e)),this._peerNameSet=e),e}getExtensionDependency(){if(!this._dependency){let e=this.state;e.id>=5||j(317,this.extension.name),this._dependency={config:e.config,init:e.initResult,output:e.output}}return this._dependency}}let N={tag:l.T40};function V(){let e=(0,l.NiT)();e.isEmpty()&&e.append((0,l.lJ7)())}let D=(0,l.vE9)({config:(0,l.lVE)({setOptions:N,updateOptions:N}),init:({$initialEditorState:e=V})=>({$initialEditorState:e,initialized:!1}),afterRegistration(e,{updateOptions:t,setOptions:n},r){let i=r.getInitResult();if(!i.initialized){i.initialized=!0;let{$initialEditorState:r}=i;if((0,l.v0B)(r))e.setEditorState(r,n);else if("function"==typeof r)e.update(()=>{r(e)},t);else if(r&&("string"==typeof r||"object"==typeof r)){let t=e.parseEditorState(r);e.setEditorState(t,n)}}return()=>{}},name:"@lexical/extension/InitialState",nodes:[l.haT,l.Ey8,l.GRK,l.MZu,l.fD3]}),z=Symbol.for("@lexical/extension/LexicalBuilder");function q(...e){return U.fromExtensions(e).buildEditor()}function B(){}function F(e){throw e}function Y(e){return Array.isArray(e)?e:[e]}class U{roots;extensionNameMap;outgoingConfigEdges;incomingEdges;conflicts;_sortedExtensionReps;PACKAGE_VERSION;constructor(e){for(const t of(this.outgoingConfigEdges=new Map,this.incomingEdges=new Map,this.extensionNameMap=new Map,this.conflicts=new Map,this.PACKAGE_VERSION=M,this.roots=e,e))this.addExtension(t)}static fromExtensions(e){let t=[Y(D)];for(let n of e)t.push(Y(n));return new U(t)}static maybeFromEditor(e){let t=e[z];return t&&(t.PACKAGE_VERSION!==M&&j(292,t.PACKAGE_VERSION,M),t instanceof U||j(293)),t}static fromEditor(e){let t=U.maybeFromEditor(e);return void 0===t&&j(294),t}constructEditor(){let{$initialEditorState:e,onError:t,onWarn:n,...r}=this.buildCreateEditorArgs(),i=Object.assign((0,l.ieJ)({...r,...t?{onError:e=>{t(e,i)}}:{},...n?{onWarn:e=>{n(e,i)}}:{}}),{[z]:this});for(let e of this.sortedExtensionReps())e.build(i);return i}buildEditor(){let e=B;function t(){try{e()}finally{e=B}}let n=Object.assign(this.constructEditor(),{dispose:t,[Symbol.dispose]:t});
1return e=(0,l.Sdt)(this.registerEditor(n),()=>n.setRootElement(null)),n}hasExtensionByName(e){return this.extensionNameMap.has(e)}getExtensionRep(e){let t=this.extensionNameMap.get(e.name);if(t)return t.extension!==e&&j(295,e.name),t}addEdge(e,t,n){let r=this.outgoingConfigEdges.get(e);r?r.set(t,n):this.outgoingConfigEdges.set(e,new Map([[t,n]]));let i=this.incomingEdges.get(t);i?i.add(e):this.incomingEdges.set(t,new Set([e]))}addExtension(e){void 0!==this._sortedExtensionReps&&j(296);let[t]=Y(e);"string"!=typeof t.name&&j(297,typeof t.name);let n=this.extensionNameMap.get(t.name);if(void 0!==n&&n.extension!==t&&j(298,t.name),!n){n=new X(this,t),this.extensionNameMap.set(t.name,n);let e=this.conflicts.get(t.name);for(let n of("string"==typeof e&&j(299,t.name,e),t.conflictsWith||[]))this.extensionNameMap.has(n)&&j(299,t.name,n),this.conflicts.set(n,t.name);for(let e of t.dependencies||[]){let n=Y(e);this.addEdge(t.name,n[0].name,n.slice(1)),this.addExtension(n)}for(let[e,n]of t.peerDependencies||[])this.addEdge(t.name,e,n?[n]:[])}}sortedExtensionReps(){if(this._sortedExtensionReps)return this._sortedExtensionReps;let e=[],t=(n,r)=>{var i,o;let l=n.state;if(2===l.id)return;let s=n.extension.name;0===l.id||j(300,s,r||"[unknown]"),0===(i=l).id||j(304,String(i.id),String(0)),n.state=l=Object.assign(i,{id:1});let a=this.outgoingConfigEdges.get(s);if(a)for(let e of a.keys()){let n=this.extensionNameMap.get(e);n&&t(n,s)}1===(o=l).id||j(305,String(o.id),String(1)),n.state=l=Object.assign(o,{id:2}),e.push(n)};for(let e of this.extensionNameMap.values())0===e.state.id&&t(e);for(let t of e)for(let[e,n]of this.outgoingConfigEdges.get(t.extension.name)||[])if(n.length>0){let t=this.extensionNameMap.get(e);if(t)for(let e of n)t.configs.add(e)}for(let[e,...t]of this.roots)if(t.length>0){let n=this.extensionNameMap.get(e.name);for(let r of(void 0===n&&j(301,e.name),t))n.configs.add(r)}return this._sortedExtensionReps=e,this._sortedExtensionReps}registerEditor(e){let t=this.sortedExtensionReps(),n=new AbortController,r=[()=>n.abort()],i=n.signal;for(let n of t){let t=n.register(e,i);t&&r.push(t)}for(let n of t){let t=n.afterRegistration(e);t&&r.push(t)}return(0,l.Sdt)(...r)}buildCreateEditorArgs(){let e={},t=new Set,n=new Map,r=new Map,i={},o={},l=this.sortedExtensionReps();for(let s of l){let{extension:l}=s;if(void 0!==l.onError&&(e.onError=l.onError),void 0!==l.onWarn&&(e.onWarn=l.onWarn),void 0!==l.disableEvents&&(e.disableEvents=l.disableEvents),void 0!==l.parentEditor&&(e.parentEditor=l.parentEditor),void 0!==l.editable&&(e.editable=l.editable),void 0!==l.namespace&&(e.namespace=l.namespace),void 0!==l.$initialEditorState&&(e.$initialEditorState=l.$initialEditorState),l.nodes)for(let e of E(l)){if("function"!=typeof e){let t=n.get(e.replace);t&&j(302,l.name,e.replace.name,t.extension.name),n.set(e.replace,s)}t.add(e)}if(l.html){if(l.html.export)for(let[e,t]of l.html.export.entries())r.set(e,t);l.html.import&&Object.assign(i,l.html.import)}l.theme&&function e(t,n){if(t&&n&&!Array.isArray(n)&&"object"==typeof t&&"object"==typeof n){for(let r in n)!L.has(r)&&Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=e(t[r],n[r]));return t}return n}(o,l.theme)}Object.keys(o).length>0&&(e.theme=o),t.size&&(e.nodes=[...t]);let s=Object.keys(i).length>0,a=r.size>0;for(let t of((s||a)&&(e.html={},s&&(e.html.import=i),a&&(e.html.export=r)),l))t.init(e);return e.onError||(e.onError=F),e}}function W(e,t){let n=U.fromEditor(e).getExtensionRep(t);return void 0===n&&j(303,t.name),n.getExtensionDependency()}function H(e,t){let n=U.maybeFromEditor(e);if(!n)return;let r=n.extensionNameMap.get(t);return r?r.getExtensionDependency():void 0}function G(e){return W((0,l.i0_)(),e).output}function J(e){return H((0,l.i0_)(),e)}let K=new Set,ee=(0,l.vE9)({build(e,t,n){let r=n.getDependency(R).output,i=v({watchedNodeKeys:new Map}),o=Z(()=>{},()=>_(()=>{let e=o.peek(),{watchedNodeKeys:t}=i.value,n,s=!1;r.value.read(()=>{if((0,l.vJq)())for(let[r,i]of t.entries()){if(0===i.size){t.delete(r);continue}let o=(0,l.nsf)(r),a=o&&o.isSelected()||!1;s=s||a!==(!!e&&e.has(r)),a&&(n=n||new Set).add(r)}}),!s&&n&&e&&n.size===e.size||(o.value=n)}));
1return{watchNodeKey:function(e){let t=new S(()=>(o.value||K).has(e),void 0),{watchedNodeKeys:n}=i.peek(),r=n.get(e),l=void 0!==r;return(r=r||new Set).add(t),l||(n.set(e,r),i.value={watchedNodeKeys:n}),t}}},dependencies:[R],name:"@lexical/extension/NodeSelection"}),et=(0,l.guI)("INSERT_HORIZONTAL_RULE_COMMAND");class en extends l.Kp7{static getType(){return"horizontalrule"}static clone(e){return new en(e.__key)}static importJSON(e){return ei().updateFromJSON(e)}static importDOM(){return{hr:()=>({conversion:er,priority:0})}}exportDOM(){return{element:(0,l.A$M)().createElement("hr")}}createDOM(e){let t=(0,l.A$M)().createElement("hr");return(0,l.ZB7)(t,e.theme.hr),t}getTextContent(){return"\n"}isInline(){return!1}updateDOM(){return!1}}function er(){return{node:ei()}}function ei(){return(0,l.phO)(en)}function eo(e){return e instanceof en}let el=(0,l.vE9)({dependencies:[R,ee],name:"@lexical/extension/HorizontalRule",nodes:()=>[en],register(e,t,n){let{watchNodeKey:r}=n.getDependency(ee).output,i=v({nodeSelections:new Map}),o=e._config.theme.hrSelected??"selected";return(0,l.Sdt)(e.registerCommand(et,e=>{let t=(0,l.vJq)();if(!(0,l.I2P)(t))return!1;if(null!==t.focus.getNode()){let e=ei();(0,s.Pe)(e)}return!0},l.jZM),e.registerCommand(l.d8p,e=>{if((0,l.vAA)(e.target)){let t=(0,l.pJU)(e.target);if(eo(t))return function(e,t=!1){let n,r=(0,l.vJq)(),i=e.isSelected(),o=e.getKey();t&&(0,l.RTZ)(r)?n=r:(n=(0,l.rUs)(),(0,l.n1P)(n)),i?n.delete(o):n.add(o)}(t,e.shiftKey),!0}return!1},l.AcJ),e.registerMutationListener(en,(t,n)=>{c(()=>{let n=!1,{nodeSelections:o}=i.peek();for(let[i,l]of t.entries())if("destroyed"===l)o.delete(i),n=!0;else{let t=o.get(i),l=e.getElementByKey(i);t?t.domNode.value=l:(n=!0,o.set(i,{domNode:v(l),selectedSignal:r(i)}))}n&&(i.value={nodeSelections:o})})}),_(()=>{let e=[];for(let{domNode:t,selectedSignal:n}of i.value.nodeSelections.values())e.push(_(()=>{let e=t.value;e&&(n.value?(0,l.ZB7)(e,o):(0,l.HEf)(e,o))}));return(0,l.Sdt)(...e)}))}}),es=(0,l.vE9)({build:(e,t)=>T({inheritEditableFromParent:t.inheritEditableFromParent}),config:(0,l.lVE)({$getParentEditor:function(){let e=(0,l.i0_)();return U.fromEditor(e),e},inheritEditableFromParent:!1}),init:(e,t,n)=>{let r=t.$getParentEditor();e.parentEditor=r,e.theme=e.theme||r._config.theme},name:"@lexical/extension/NestedEditor",register:(e,t,n)=>_(()=>{let t=e._parentEditor;if(t&&n.getOutput().inheritEditableFromParent.value)return e.setEditable(t.isEditable()),t.registerEditableListener(e.setEditable.bind(e))})});function ea(e){(0,l.ff4)(e)&&e.isInline()&&e.isEmpty()&&e.remove()}let eu=(0,l.vE9)({build:(e,t,n)=>T(t),config:(0,l.lVE)({disabled:!1}),name:"@lexical/NormalizeInlineElements",register:(e,t,n)=>{let r=n.getOutput();return _(()=>{if(!r.disabled.value){let t=[];for(let{klass:n,transforms:r}of e._nodes.values())n.prototype instanceof l.fGB&&n.prototype.isInline!==l.fGB.prototype.isInline&&(r.add(ea),t.push(()=>r.delete(ea)));return()=>t.forEach(e=>e())}})}}),ec=new Set([l.XI_,l.OQi]),eh=(0,l.vE9)({build:(e,t,n)=>T(t),config:(0,l.lVE)({$fixFocusOverselection:function(){let e=(0,l.vJq)();if((0,l.I2P)(e)&&!e.isCollapsed()){let t=(0,l.NZv)((0,l.$iu)(e),"next"),n=t.focus;for((0,l.rN)(n)&&t.anchor.origin!==n.origin&&0===n.offset&&(n=(0,l.NG9)(n.getSiblingCaret())),(0,l.OpE)(n)&&t.anchor.origin!==n.origin&&(0,l.wH$)(n.origin)&&(n=(0,l.NG9)(n));(0,l.cmH)(n)&&t.anchor.origin!==n.origin;)n=(0,l.NG9)((0,l.IlV)(n.origin,"next"));if((0,l.OpE)(n)&&(0,l.ff4)(n.origin)&&(n=(0,l.lSZ)((0,l.uwZ)(n.origin,"previous")).getFlipped()),!(n=(0,l.lSZ)(n)).isSamePointCaret(t.focus)){let e=(0,l.xQ8)((0,l.TJt)(t.anchor,n)),r=(0,l.i0_)().getRootElement(),i=r&&(0,l.peL)(r.ownerDocument.defaultView);i&&(0,l.mYE)((0,l.S1w)(),e,(0,l.i0_)(),i,ec,r)}}},dateNow:Date.now,disabled:!1,thresholdMsec:100}),name:"@lexical/NormalizeTripleClickSelection",register:(e,t,n)=>_(()=>{let t=n.getOutput();if(!t.disabled.value)return e.registerRootListener(n=>{if(!n)return;let r=0,i=e=>{if(e?3===e.detail:r>0){let n=t.dateNow.peek()();r=e&&"mousedown"===e.type||n-r<=t.thresholdMsec.peek()?n:0}return r};return(0,l.Sdt)(e.registerCommand(l.MvL,()=>(i(null)&&(r=0,t.$fixFocusOverselection.peek()()),!1),l.xyu),(0,l.Nwr)(n,{mousedown:i,mouseup:i},!0))})})});function ed(e){return e.canIndent()}function ef(e,t,n=ed){return(0,l.Sdt)(e.registerCommand(l.OXk,t=>{let n=(0,l.vJq)();if(!(0,l.I2P)(n))return!1;t.preventDefault();let r=!function(e){if(e.getNodes().filter(e=>(0,l.y68)(e)&&e.canIndent()).length>0)return!0;let t=e.anchor,n=e.focus,r=n.isBefore(t)?n:t,i=r.getNode(),o=(0,s.mB)(i);if(o.canIndent()){let e=o.getKey(),t=(0,l.uTE)();
1if(t.anchor.set(e,0,"element"),t.focus.set(e,0,"element"),(t=(0,l.CaD)(t)).anchor.is(r))return!0}return!1}(n)?l.YW5:t.shiftKey?l.sik:l.PiT;return e.dispatchCommand(r,void 0)},l.jZM),e.registerCommand(l.PiT,()=>{let e="number"==typeof t?t:t?t.peek():null,r=(0,l.vJq)();if(!(0,l.I2P)(r))return!1;let i="function"==typeof n?n:n.peek();return(0,s.Jy)(t=>{if(i(t)){let n=t.getIndent()+1;(!e||n<e)&&t.setIndent(n)}})},l.da8))}},17705:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l,g:()=>s});var r=n(7620),i=n(6353),o=n(55217);function l(e){return function(t){return{init:n=>{var r;return null==(r=e.init)?void 0:r.call(e,n,t)},postInit:n=>{var r;return null==(r=e.postInit)?void 0:r.call(e,n,t)},update:n=>{var r;return null==(r=e.update)?void 0:r.call(e,n,t)}}}}function s({children:e,plugins:t}){let[n,l]=r.useState(null);return(r.useEffect(()=>{var e,n;let r=new i.Mx;try{for(let n of t)null==(e=n.init)||e.call(n,r);for(let e of t)null==(n=e.postInit)||n.call(e,r)}catch(e){try{(0,o.F)(r)}catch(t){throw AggregateError([e,t],"Realm plugin initialization and cleanup both failed")}throw e}return l(r),()=>{(0,o.F)(r)}},[]),r.useEffect(()=>{var e;if(n)for(let r of t)null==(e=r.update)||e.call(r,n)}),n)?r.createElement(i.Zb.Provider,{value:n},e):null}},20714:(e,t,n)=>{"use strict";function r(e,t){return!!(!1===t.options.fences&&e.value&&!e.lang&&/[^\n\r ]/.test(e.value)&&!/^[\t ]*(?:[\n\r]|$)|(?:^|[\n\r])[\t ]*$/.test(e.value))}n.d(t,{m:()=>r})},20720:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});let r=function(e){var t,n;if(null==e)return o;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 o(){return!0}},22594:(e,t,n)=>{"use strict";n.d(t,{B:()=>o,N:()=>i});var r=n(24525);function i(e,t,n,i){let o=i?i-1:1/0,l=0;return function(i){return(0,r.On)(i)?(e.enter(n),function i(s){return(0,r.On)(s)&&l++<o?(e.consume(s),i):(e.exit(n),t(s))}(i)):t(i)}}function o(e,t,n,i,o,l){let s=0;return function(t){return l>0&&(0,r.On)(t)?(e.enter(i),function t(n){return(0,r.On)(n)&&s<l?(e.consume(n),s++,t):(e.exit(i),a(n))}(t)):a(t)};function a(e){return s>=o?t(e):n(e)}}},22969:(e,t,n)=>{"use strict";n.d(t,{d:()=>i});let r={};function i(e,t){let n=t||r;return o(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function o(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 l(e.children,t,n)}return Array.isArray(e)?l(e,t,n):""}function l(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=o(e[i],t,n);return r.join("")}},24415:(e,t,n)=>{"use strict";n.d(t,{F7:()=>h});var r=n(17705),i=n(6353),o=n(7620),l=n(60554),s=n(10391);let a=(0,i.fh)(()=>null),u=(0,i.fh)(""),c=()=>"This is an empty toolbar. Pass `{toolbarContents: () => { return <>toolbar components</> }}` to the toolbarPlugin to customize it.",h=(0,r.Z)({init(e,t){let n=(null==t?void 0:t.toolbarPosition)==="bottom"?l.O2:l.IZ;e.pubIn({[a]:(null==t?void 0:t.toolbarContents)??c,[u]:(null==t?void 0:t.toolbarClassName)??"",[n]:()=>{let[e,t,n]=(0,i.uX)(a,l.pc,u);return o.createElement(s.bL,{className:n,readOnly:t},e())}})},update(e,t){e.pub(a,(null==t?void 0:t.toolbarContents)??c),e.pub(u,(null==t?void 0:t.toolbarClassName)??"")}})},24525:(e,t,n)=>{"use strict";n.d(t,{BM:()=>s,CW:()=>r,Ee:()=>h,HP:()=>c,JQ:()=>l,Ny:()=>p,On:()=>d,cx:()=>o,es:()=>f,lV:()=>i,ok:()=>a,ol:()=>u});let r=g(/[A-Za-z]/),i=g(/[\dA-Za-z]/),o=g(/[#-'*+\--9=?A-Z^-~]/);function l(e){return null!==e&&(e<32||127===e)}let s=g(/\d/),a=g(/[\dA-Fa-f]/),u=g(/[!-/:-@[-`{-~]/);function c(e){return null!==e&&e<-2}function h(e){return null!==e&&(e<0||32===e)}function d(e){return -2===e||-1===e||32===e}let f=g(/\p{P}|\p{S}/u),p=g(/\s/);function g(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}},25263:(e,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5,8t,2,25,6,1y,b,1d,4,3e,3,1h,f,15,,2,2,a,4,19,b,7,,1p,3,10,e,g,2,18,,c,3,1c,e,8,4,,2,2k,c,6,,2,,4d,c,l,4,1j,2,,7,2,2,2,3,9,,a,2,2,7,3,5,1v,9,,,2,,,4,,5,,,e,2,2a,i,n,,29,k,6j,7,2,9,r,2,2a,h,2y,d,2t,3,2,a,74,f,6t,6,,2,2,4,,,,2,3x,7,2,7,3,,s,a,14,7,,4,8,,9,b,1a,g,5i,8,5j,8,,8,2a,m,,e,3e,6,3,,,2,,7,,,1u,5,,2,,5,9n,4,9,2,,,1c,7,3,5,n,,44l,,6,f,8ug,i,1xc,5,1n,7,t4,,,1j,7,4,29,,b,2,f57,2,3mp,1a,2,n,f2,5,3,6,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,2s,,4g,7,af,,1p,4,e4,4,72,2,6r,,2,,7,2,5,,d6,7,31,7,240,5".split(",").map(e=>e?parseInt(e,36):1);for(let e=0,t=0;e<l.length;e++)(e%2?o:i).push(t+=l[e]);function s(e){return e>=127462&&e<=127487}function a(e,t,n){if(t==e.length)return t;t&&c(e.charCodeAt(t))&&h(e.charCodeAt(t-1))&&t--;let r=u(e,t);for(t+=d(r);t<e.length;){let l=u(e,t);if(8205==r||8205==l||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>=o[r]))return!0;t=r+1}if(t==n)return!1}}(l))t+=d(l),r=l;else if(s(l)){let n=0,r=t-2;for(;r>=0&&s(u(e,r));)n++,r-=2;if(n%2==0)break;t+=2}else break}return t}function u(e,t){let n=e.charCodeAt(t);if(!h(n)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return c(r)?(n-55296<<10)+(r-56320)+65536:n}function c(e){return e>=56320&&e<57344}function h(e){return e>=55296&&e<56320}function d(e){return e<65536?1:2}class f{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]=y(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),g.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]=y(this,e,t);let n=[];return this.decompose(e,t,n,0),g.from(n,t-e)}eq(e){if(e==this)return!0;
vendor: 4,925 bytes, line 1
1if(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 O(this),i=new O(e);for(let e=t,o=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(o+=r.value.length,r.done||o>=n)return!0}}iter(e=1){return new O(this,e)}iterRange(e,t=this.length){return new x(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 b(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 p(e):g.from(p.split(e,[])):f.empty}}class p extends f{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 o=this.text[i],l=r+o.length;if((t?n:l)>=e)return new v(r,l,n,o);r=l+1,n++}}decompose(e,t,n,r){var i;let o=e<=0&&t>=this.length?this:new p((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(o.text,e.text.slice(),0,o.length);if(t.length<=32)n.push(new p(t,e.length+o.length));else{let e=t.length>>1;n.push(new p(t.slice(0,e)),new p(t.slice(e)))}}else n.push(o)}replace(e,t,n){var r;if(!(n instanceof p))return super.replace(e,t,n);[e,t]=y(this,e,t);let i=m(this.text,m(n.text,(r=this.text,m(r,[""],0,e))),t),o=this.length+n.length-(t-e);return i.length<=32?new p(i,o):g.from(p.split(i,[]),o)}sliceString(e,t=this.length,n="\n"){[e,t]=y(this,e,t);let r="";for(let i=0,o=0;i<=t&&o<this.text.length;o++){let l=this.text[o],s=i+l.length;i>e&&o&&(r+=n),e<s&&t>i&&(r+=l.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 p(n,r)),n=[],r=-1);return r>-1&&t.push(new p(n,r)),t}}class g extends f{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 o=this.children[i],l=r+o.length,s=n+o.lines-1;if((t?s:l)>=e)return o.lineInner(e,t,n,r);r=l+1,n=s+1}}decompose(e,t,n,r){for(let i=0,o=0;o<=t&&i<this.children.length;i++){let l=this.children[i],s=o+l.length;if(e<=s&&t>=o){let i=r&(o<=e|2*(s>=t));o>=e&&s<=t&&!i?n.push(l):l.decompose(e-o,t-o,n,i)}o=s+1}}replace(e,t,n){if([e,t]=y(this,e,t),n.lines<this.lines)for(let r=0,i=0;r<this.children.length;r++){let o=this.children[r],l=i+o.length;if(e>=i&&t<=l){let s=o.replace(e-i,t-i,n),a=this.lines-o.lines+s.lines;if(s.lines<a>>4&&s.lines>a>>6){let i=this.children.slice();return i[r]=s,new g(i,this.length-(t-e)+n.length)}return super.replace(i,l,s)}i=l+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n="\n"){[e,t]=y(this,e,t);let r="";for(let i=0,o=0;i<this.children.length&&o<=t;i++){let l=this.children[i],s=o+l.length;o>e&&i&&(r+=n),e<s&&t>o&&(r+=l.sliceString(e-o,t-o,n)),o=s+1}return r}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof g))return 0;let n=0,[r,i,o,l]=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==o||i==l)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 p(n,t)}let r=Math.max(32,n>>5),i=r<<1,o=r>>1,l=[],s=0,a=-1,u=[];function c(){0!=s&&(l.push(1==u.length?u[0]:g.from(u,a)),a=-1,s=u.length=0)}for(let t of e)!function e(t){let n;if(t.lines>i&&t instanceof g)for(let n of t.children)e(n);else t.lines>o&&(s>o||!s)?(c(),l.push(t)):t instanceof p&&s&&(n=u[u.length-1])instanceof p&&t.lines+n.lines<=32?(s+=t.lines,a+=t.length+1,u[u.length-1]=new p(n.text.concat(t.text),n.length+1+t.length)):(s+t.lines>r&&c(),s+=t.lines,a+=t.length+1,u.push(t))}(t);return c(),1==l.length?l[0]:new g(l,t)}}function m(e,t,n=0,r=1e9){for(let i=0,o=0,l=!0;o<e.length&&i<=r;o++){let s=e[o],a=i+s.length;a>=n&&(a>r&&(s=s.slice(0,r-i)),i<n&&(s=s.slice(n-i)),l?(t[t.length-1]+=s,l=!1):t.push(s)),i=a+1}return t}f.empty=new p([""],0);class O{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 p?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],o=i>>1,l=r instanceof p?r.text.length:r.children.length;if(o==(t>0?l: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>
10?0:1)){if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(r instanceof p){let i=r.text[o+(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[o+(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 p?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 x{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new O(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 b{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&&(f.prototype[Symbol.iterator]=function(){return this.iter()},O.prototype[Symbol.iterator]=x.prototype[Symbol.iterator]=b.prototype[Symbol.iterator]=function(){return this});class v{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 y(e,t,n){return[t=Math.max(0,Math.min(e.length,t)),Math.max(t,Math.min(e.length,n))]}function k(e,t,n=!0,r=!0){return function(e,t,n=!0,r=!0){return(n?a:function(e,t,n){for(;t>1;){let r=a(e,t-2,n);if(r<t)return r;t--}return 0})(e,t,r)}(e,t,n,r)}function w(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 C(e){return e<65536?1:2}let P=/\r\n?|\n/;var $,Q,_=(($=_||(_={}))[$.Simple=0]="Simple",$[$.TrackDel=1]="TrackDel",$[$.TrackBefore=2]="TrackBefore",$[$.TrackAfter=3]="TrackAfter",$);class T{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++],o=this.sections[t++];o<0?(e(n,r,i),r+=i):r+=o,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 T(e)}composeDesc(e){return this.empty?e:e.empty?this:M(this,e)}mapDesc(e,t=!1){return e.empty?this:j(this,e,t)}mapPos(e,t=-1,n=_.Simple){let r=0,i=0;for(let o=0;o<this.sections.length;){let l=this.sections[o++],s=this.sections[o++],a=r+l;if(s<0){if(a>e)return i+(e-r);i+=l}else{if(n!=_.Simple&&a>=e&&(n==_.TrackDel&&r<e&&a>e||n==_.TrackBefore&&r<e||n==_.TrackAfter&&a>e))return null;if(a>e||a==e&&t<0&&!l)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++],o=this.sections[n++],l=r+i;if(o>=0&&r<=t&&l>=e)return!(r<e)||!(l>t)||"cover";r=l}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 T(e)}static create(e){return new T(e)}}class A extends T{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,o)=>e=e.replace(r,r+(n-t),o),!1),e}
1mapDesc(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 o=t[r],l=t[r+1];if(l>=0){t[r]=l,t[r+1]=o;let s=r>>1;for(;n.length<s;)n.push(f.empty);n.push(o?e.slice(i,i+o):f.empty)}i+=o}return new A(t,n)}compose(e){return this.empty?e:e.empty?this:M(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 T.create(this.sections)}filter(e){let t=[],n=[],r=[],i=new L(this);t:for(let o=0,l=0;;){let s=o==e.length?1e9:e[o++];for(;l<s||l==s&&0==i.len;){if(i.done)break t;let e=Math.min(i.len,s-l);E(r,e,-1);let o=-1==i.ins?-1:0==i.off?i.ins:0;E(t,e,o),o>0&&Z(n,t,i.text),i.forward(e),l+=e}let a=e[o++];for(;l<a;){if(i.done)break t;let e=Math.min(i.len,a-l);E(t,e,-1),E(r,e,-1==i.ins?-1:0==i.off?i.ins:0),i.forward(e),l+=e}}return{changes:new A(t,n),filtered:T.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=[],o=0,l=null;function s(e=!1){if(!e&&!r.length)return;o<t&&E(r,t-o,-1);let n=new A(r,i);l=l?l.compose(n.map(l)):n,r=[],i=[],o=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(),l=l?l.compose(a.map(l)):a}else{let{from:e,to:l=e,insert:u}=a;if(e>l||e<0||l>t)throw RangeError(`Invalid change range ${e} to ${l} (in doc of length ${t})`);let c=u?"string"==typeof u?f.of(u.split(n||P)):u:f.empty,h=c.length;if(e==l&&0==h)return;e<o&&s(),e>o&&E(r,e-o,-1),E(r,l-e,h),Z(i,r,c),o=l}}(e),s(!l),l}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(f.empty);n[r]=f.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 E(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 Z(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(f.empty);e.push(n)}}function R(e,t,n){let r=e.inserted;for(let i=0,o=0,l=0;l<e.sections.length;){let s=e.sections[l++],a=e.sections[l++];if(a<0)i+=s,o+=s;else{let u=i,c=o,h=f.empty;for(;u+=s,c+=a,a&&r&&(h=h.append(r[l-2>>1])),!n&&l!=e.sections.length&&!(e.sections[l+1]<0);)s=e.sections[l++],a=e.sections[l++];t(i,u,o,c,h),i=u,o=c}}}function j(e,t,n,r=!1){let i=[],o=r?[]:null,l=new L(e),s=new L(t);for(let e=-1;;)if(l.done&&s.len||s.done&&l.len)throw Error("Mismatched change set lengths");else if(-1==l.ins&&-1==s.ins){let e=Math.min(l.len,s.len);E(i,e,-1),l.forward(e),s.forward(e)}else if(s.ins>=0&&(l.ins<0||e==l.i||0==l.off&&(s.len<l.len||s.len==l.len&&!n))){let t=s.len;for(E(i,s.ins,-1);t;){let n=Math.min(l.len,t);l.ins>=0&&e<l.i&&l.len<=n&&(E(i,0,l.ins),o&&Z(o,i,l.text),e=l.i),l.forward(n),t-=n}s.next()}else if(l.ins>=0){let t=0,n=l.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;E(i,t,e<l.i?l.ins:0),o&&e<l.i&&Z(o,i,l.text),e=l.i,l.forward(l.len-n)}else if(l.done&&s.done)return o?A.createSet(i,o):T.create(i);else throw Error("Mismatched change set lengths")}function M(e,t,n=!1){let r=[],i=n?[]:null,o=new L(e),l=new L(t);for(let e=!1;;)if(o.done&&l.done)return i?A.createSet(r,i):T.create(r);else if(0==o.ins)E(r,o.len,0,e),o.next();else if(0!=l.len||l.done)if(o.done||l.done)throw Error("Mismatched change set lengths");else{let t=Math.min(o.len2,l.len),n=r.length;if(-1==o.ins){let n=-1==l.ins?-1:l.off?0:l.ins;E(r,t,n,e),i&&n&&Z(i,r,l.text)}else -1==l.ins?(E(r,o.off?0:o.len,t,e),i&&Z(i,r,o.textBit(t))):(E(r,o.off?0:o.len,l.off?0:l.ins,e),i&&!l.off&&Z(i,r,l.text));e=(o.ins>t||l.ins>=0&&l.len>t)&&(e||r.length>n),o.forward2(t),l.forward(t)}else E(r,0,l.ins,e),i&&Z(i,r,l.text),l.next()}class L{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?f.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?f.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)}
1forward2(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class I{constructor(e,t,n,r){this.from=e,this.to=t,this.flags=n,this.goalColumn=r}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 undirectional(){return(64&this.flags)>0}get bidiLevel(){let e=7&this.flags;return 7==e?null: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 I(n,r,this.flags,this.goalColumn)}extend(e,t=e,n=0){if(e<=this.anchor&&t>=this.anchor)return X.range(e,t,void 0,void 0,n);let r=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return X.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 X.range(e.anchor,e.head)}static create(e,t,n,r){return new I(e,t,n,r)}}class X{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:X.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 X([this.main],0)}addRange(e,t=!0){return X.create([e].concat(this.ranges),t?0:this.mainIndex+1)}replaceRange(e,t=this.mainIndex){let n=this.ranges.slice();return n[t]=e,X.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 X(e.ranges.map(e=>I.fromJSON(e)),e.main)}static single(e,t=e){return new X([X.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 X.normalized(e.slice(),t);n=i.to}return new X(e,t)}static cursor(e,t=0,n,r){return I.create(e,e,(0==t?0:t<0?8:16)|(null==n?7:Math.min(6,n)),r)}static range(e,t,n,r,i){let o=null==r?7:Math.min(6,r);return i||e==t||(i=t<e?1:-1),i&&(o|=i<0?8:16),t<e?I.create(t,e,32|o,n):I.create(e,t,o,n)}static undirectionalRange(e,t){return I.create(e,t,64,void 0)}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 o=i.from,l=Math.max(r.to,i.to);n<=t&&t--,e.splice(--n,2,r.anchor>r.head?X.range(l,o):X.range(o,l))}}return new X(e,t)}}function N(e,t){for(let n of e.ranges)if(n.to>t)throw RangeError("Selection points outside of document")}let V=0;class D{constructor(e,t,n,r,i){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=r,this.id=V++,this.default=e([]),this.extensions="function"==typeof i?i(this):i}get reader(){return this}static define(e={}){return new D(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(!e.combine?z:(e,t)=>e===t),!!e.static,e.enables)}of(e){return new q([],this,0,e)}compute(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new q(e,this,1,t)}computeN(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new q(e,this,2,t)}from(e,t){return t||(t=e=>e),this.compute([e],n=>t(n.field(e)))}}function z(e,t){return e==t||e.length==t.length&&e.every((e,n)=>e===t[n])}class q{constructor(e,t,n,r){this.dependencies=e,this.facet=t,this.type=n,this.value=r,this.id=V++}dynamicSlot(e){var t;let n=this.value,r=this.facet.compareInput,i=this.id,o=e[i]>>1,l=2==this.type,s=!1,a=!1,u=[];for(let n of this.dependencies)"doc"==n?s=!0:"selection"==n?a=!0:((null!=(t=e[n.id])?t:1)&1)==0&&u.push(e[n.id]);return{create:e=>(e.values[o]=n(e),1),update(e,t){if(s&&t.docChanged||a&&(t.docChanged||t.selection)||F(e,u)){let t=n(e);if(l?!B(t,e.values[o],r):!r(t,e.values[o]))return e.values[o]=t,1}return 0},reconfigure:(e,t)=>
1{let s,a=t.config.address[i];if(null!=a){let i=en(t,a);if(this.dependencies.every(n=>n instanceof D?t.facet(n)===e.facet(n):!(n instanceof U)||t.field(n,!1)==e.field(n,!1))||(l?B(s=n(e),i,r):r(s=n(e),i)))return e.values[o]=i,0}else s=n(e);return e.values[o]=s,1}}}get extension(){return this}}function B(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 F(e,t){let n=!1;for(let r of t)1&et(e,r)&&(n=!0);return n}let Y=D.define({static:!0});class U{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 U(V++,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(Y).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(Y),i=n.facet(Y),o;return(o=r.find(e=>e.field==this))&&o!=i.find(e=>e.field==this)?(e.values[t]=o.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,Y.of({field:this,create:e})]}get extension(){return this}}function W(e){return t=>new G(t,e)}let H={highest:W(0),high:W(1),default:W(2),low:W(3),lowest:W(4)};class G{constructor(e,t){this.inner=e,this.prec=t}get extension(){return this}}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}get extension(){return this}}class ee{constructor(e,t,n,r,i,o){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=r,this.staticValues=i,this.facets=o,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,o;let l,s,a=[],u=Object.create(null),c=new Map;for(let n of(r=e,i=t,o=c,l=[[],[],[],[],[]],s=new Map,!function e(t,n){let r=s.get(t);if(null!=r){if(r<=n)return;let e=l[r].indexOf(t);e>-1&&l[r].splice(e,1),t instanceof K&&o.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(o.has(t.compartment))throw RangeError("Duplicate use of compartment in extensions");let r=i.get(t.compartment)||t.inner;o.set(t.compartment,r),e(r,n)}else if(t instanceof G)e(t.inner,t.prec);else if(t instanceof U)l[n].push(t),t.provides&&e(t.provides,n);else if(t instanceof q)l[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}).`);if(r==t)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),l.reduce((e,t)=>e.concat(t))))n instanceof U?a.push(n):(u[n.facet.id]||(u[n.facet.id]=[])).push(n);let h=Object.create(null),d=[],f=[];for(let e of a)h[e.id]=f.length<<1,f.push(t=>e.slot(t));let p=null==n?void 0:n.config.facets;for(let e in u){let t=u[e],r=t[0].facet,i=p&&p[e]||[];if(t.every(e=>0==e.type))if(h[r.id]=d.length<<1|1,z(i,t))d.push(n.facet(r));else{let e=r.combine(t.map(e=>e.value));d.push(n&&r.compare(e,n.facet(r))?n.facet(r):e)}else{for(let e of t)0==e.type?(h[e.id]=d.length<<1|1,d.push(e.value)):(h[e.id]=f.length<<1,f.push(t=>e.dynamicSlot(t)));h[r.id]=f.length<<1,f.push(e=>(function(e,t,n){let r=n.map(t=>e[t.id]),i=n.map(e=>e.type),o=r.filter(e=>!(1&e)),l=e[t.id]>>1;function s(e){let n=[];for(let t=0;t<r.length;t++){let o=en(e,r[t]);if(2==i[t])for(let e of o)n.push(e);else n.push(o)}return t.combine(n)}return{create(e){for(let t of r)et(e,t);return e.values[l]=s(e),1},update(e,n){if(!F(e,o))return 0;let r=s(e);return t.compare(r,e.values[l])?0:(e.values[l]=r,1)},reconfigure(e,i){let o=F(e,r),a=i.config.facets[t.id],u=i.facet(t);if(a&&!o&&z(n,a))return e.values[l]=u,0;let c=s(e);return t.compare(c,u)?(e.values[l]=u,0):(e.values[l]=c,1)}}})(e,r,t))}}return new ee(e,c,f.map(e=>e(h)),h,d,u)}}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=D.define(),ei=D.define({combine:e=>e.some(e=>e),static:!0}),eo=D.define({combine:e=>e.length?e[0]:void 0,static:!0}),el=D.define(),es=D.define(),ea=D.define(),eu=D.define({combine:e=>!!e.length&&e[0]});class ec{constructor(e,t){this.type=e,this.value=t}static define(){return new eh}}class eh{of(e){return new ec(this,e)}}class ed{constructor(e){this.map=e}of(e){return new ef(this,e)}}class ef{constructor(e,t){this.type=e,this.value=t}
1map(e){let t=this.type.map(this.value,e);return void 0===t?void 0:t==this.value?this:new ef(this.type,t)}is(e){return this.type==e}static define(e={}){return new ed(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}}ef.reconfigure=ef.define(),ef.appendConfig=ef.define();class ep{constructor(e,t,n,r,i,o){this.startState=e,this.changes=t,this.selection=n,this.effects=r,this.annotations=i,this.scrollIntoView=o,this._doc=null,this._state=null,n&&N(n,t.newLength),i.some(e=>e.type==ep.time)||(this.annotations=i.concat(ep.time.of(Date.now())))}static create(e,t,n,r,i,o){return new ep(e,t,n,r,i,o)}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(ep.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))}}function eg(e,t,n){var r;let i,o,l;return n?(i=t.changes,o=A.empty(t.changes.length),l=e.changes.compose(t.changes)):(i=t.changes.map(e.changes),o=e.changes.mapDesc(t.changes,!0),l=e.changes.compose(i)),{changes:l,selection:t.selection?t.selection.map(o):null==(r=e.selection)?void 0:r.map(i),effects:ef.mapEffects(e.effects,i).concat(ef.mapEffects(t.effects,o)),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=ex(t.annotations);return t.userEvent&&(i=i.concat(ep.userEvent.of(t.userEvent))),{changes:t.changes instanceof A?t.changes:A.of(t.changes||[],n,e.facet(eo)),selection:r&&(r instanceof X?r:X.single(r.anchor,r.head)),effects:ex(t.effects),annotations:i,scrollIntoView:!!t.scrollIntoView}}ep.time=ec.define(),ep.userEvent=ec.define(),ep.addToHistory=ec.define(),ep.remote=ec.define();let eO=[];function ex(e){return null==e?eO:Array.isArray(e)?e:[e]}var eb=((Q=eb||(eb={}))[Q.Word=0]="Word",Q[Q.Space=1]="Space",Q[Q.Other=2]="Other",Q);let ev=/[\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 ey{constructor(e,t,n,r,i,o){this.config=e,this.doc=t,this.selection=n,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=i,o&&(o._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 o=!!n[e].sequential;i=eg(i,em(t,n[e],o?i.changes.newLength:t.doc.length),o)}let o=ep.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 o=n[i](e);o&&Object.keys(o).length&&(r=eg(r,em(t,o,e.changes.newLength),!0))}return r==e?e:ep.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(el)){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 o,l;if(r<e.length&&(i==t.length||t[i]>=e[r]))o=e[r++],l=e[r++];else{if(!(i<t.length))return n;o=t[i++],l=t[i++]}!n.length||n[n.length-1]<o?n.push(o,l):n[n.length-1]<l&&(n[n.length-1]=l)}}(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=ep.create(n,e,t.selection&&t.selection.map(i),ef.mapEffects(t.effects,i),t.annotations,t.scrollIntoView)}let i=n.facet(es);for(let r=i.length-1;r>=0;r--){let o=i[r](t);t=o instanceof ep?o:Array.isArray(o)&&1==o.length&&o[0]instanceof ep?o[0]:e(n,ex(o),!1)}return t}(o):o)}(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.forEac
1h((e,t)=>i.set(t,e)),n=null),i.set(t.value.compartment,t.value.extension)):t.is(ef.reconfigure)?(n=null,r=t.value):t.is(ef.appendConfig)&&(n=null,r=ex(r).concat(t.value));t=n?e.startState.values.slice():new ey(n=ee.resolve(r,i,this),this.doc,this.selection,n.dynamicSlots.map(()=>null),(e,t)=>t.reconfigure(e,this),null).values;let o=e.startState.facet(ei)?e.newSelection:e.newSelection.asSingle();new ey(n,e.newDoc,o,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:X.cursor(t.from+e.length,-1)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),r=this.changes(n.changes),i=[n.range],o=ex(n.effects);for(let n=1;n<t.ranges.length;n++){let l=e(t.ranges[n]),s=this.changes(l.changes),a=s.map(r);for(let e=0;e<n;e++)i[e]=i[e].map(a);let u=r.mapDesc(s,!0);i.push(l.range.map(u)),r=r.compose(a),o=ef.mapEffects(o,a).concat(ef.mapEffects(ex(l.effects),u))}return{changes:r,selection:X.create(i,t.mainIndex),effects:o}}changes(e=[]){return e instanceof A?e:A.of(e,this.doc.length,this.facet(ey.lineSeparator))}toText(e){return f.of(e.split(this.facet(ey.lineSeparator)||P))}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 U&&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],o=e[t];r.push(i.init(e=>i.spec.fromJSON(o,e)))}}return ey.create({doc:e.doc,selection:X.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 f?e.doc:f.of((e.doc||"").split(t.staticFacet(ey.lineSeparator)||P)),r=e.selection?e.selection instanceof X?e.selection:X.single(e.selection.anchor,e.selection.head):X.single(0);return N(r,n.length),t.staticFacet(ei)||(r=r.asSingle()),new ey(t,n,r,t.dynamicSlots.map(()=>null),(e,t)=>t.create(e),null)}get tabSize(){return this.facet(ey.tabSize)}get lineBreak(){return this.facet(ey.lineSeparator)||"\n"}get readOnly(){return this.facet(eu)}phrase(e,...t){for(let t of this.facet(ey.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 o of i(this,t,n))Object.prototype.hasOwnProperty.call(o,e)&&r.push(o[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 eb.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()||ev.test(n)))return!0}return!1}(e))return eb.Word;for(let n=0;n<t.length;n++)if(e.indexOf(t[n])>-1)return eb.Word;return eb.Other}}wordAt(e){let{text:t,from:n,length:r}=this.doc.lineAt(e),i=this.charCategorizer(e),o=e-n,l=e-n;for(;o>0;){let e=k(t,o,!1);if(i(t.slice(e,o))!=eb.Word)break;o=e}for(;l<r;){let e=k(t,l);if(i(t.slice(l,e))!=eb.Word)break;l=e}return o==l?null:X.range(o+n,l+n)}}function ek(e,t,n={}){let r={};for(let t of e)for(let e of Object.keys(t)){let i=t[e],o=r[e];if(void 0===o)r[e]=i;else if(o===i||void 0===i);else if(Object.hasOwnProperty.call(n,e))r[e]=n[e](o,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}ey.allowMultipleSelections=ei,ey.tabSize=D.define({combine:e=>e.length?e[0]:4}),ey.lineSeparator=eo,ey.readOnly=eu,ey.phrases=D.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])}}),ey.languageData=er,ey.changeFilter=el,ey.transactionFilter=es,ey.transactionExtender=ea,J.reconfigure=ef.define();class ew{eq(e){return this==e}range(e,t=e){return eC.create(e,t,this)}}function eS(e,t){return e==t||e.constructor==t.constructor&&e.eq(t)}ew.prototype.startSide=ew.prototype.endSide=0,ew.prototype.point=!1,ew.prototype.mapM
1ode=_.TrackDel;class eC{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new eC(e,t,n)}}function eP(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class e${constructor(e,t,n,r){this.from=e,this.to=t,this.value=n,this.maxPoint=r}get length(){return e_(this.to)}findIndex(e,t,n,r=0){let i=n?this.to:this.from;for(let o=r,l=i.length;;){if(o==l)return o;let r=o+l>>1,s=i[r]-e||(n?this.value[r].endSide:this.value[r].startSide)-t;if(r==o)return s>=0?o:l;s>=0?l=r:o=r+1}}between(e,t,n,r){for(let i=this.findIndex(t,-1e9,!0),o=this.findIndex(n,1e9,!1,i);i<o;i++)if(!1===r(this.from[i]+e,this.to[i]+e,this.value[i]))return!1}map(e,t,n,r,i){let o=[],l=[],s=[],a=-1,u=-1;n:for(let c=0;c<this.value.length;c++){let h=this.value[c],d=this.from[c]+e,f=this.to[c]+e,p,g;if(d==f){let e=t.mapPos(d,h.startSide,h.mapMode);if(null==e||(p=g=e,h.startSide!=h.endSide&&(g=t.mapPos(d,h.endSide))<p))continue}else if((p=t.mapPos(d,h.startSide))>(g=t.mapPos(f,h.endSide))||p==g&&h.startSide>0&&h.endSide<=0)continue;if(!(0>(g-p||h.endSide-h.startSide)))if(a<0&&(a=p),h.point&&(u=Math.max(u,g-p)),(p-n||h.startSide-r)>=0)o.push(h),l.push(p-a),s.push(g-a),n=g,r=h.endSide;else{if(p==g)for(let e=o.length;e>0;e--){if((p-(s[e-1]+a)||h.startSide-o[e-1].endSide)>=0){o.splice(e,0,h),l.splice(e,0,p-a),s.splice(e,0,g-a);continue n}if((p-(l[e-1]+a)||h.endSide-o[e-1].startSide)>0)break}i(p,g,h)}}return{mapped:o.length?new e$(l,s,o,u):null,pos:a}}}class eQ{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 eQ(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,o=e.filter;if(0==t.length&&!o)return this;if(n&&(t=t.slice().sort(eP)),this.isEmpty)return t.length?eQ.of(t):this;let l=new eE(this,null,-1).goto(0),s=0,a=[],u=new eT;for(;l.value||s<t.length;)if(s<t.length&&(l.from-t[s].from||l.startSide-t[s].value.startSide)>=0){let e=t[s++];u.addInner(e.from,e.to,e.value,!1)||a.push(e)}else 1==l.rangeIndex&&l.chunkIndex<this.chunk.length&&(s==t.length||this.chunkEnd(l.chunkIndex)<t[s].from)&&(!o||r>this.chunkEnd(l.chunkIndex)||i<this.chunkPos[l.chunkIndex])&&u.addChunk(this.chunkPos[l.chunkIndex],this.chunk[l.chunkIndex])?l.nextChunk():((!o||r>l.to||i<l.from||o(l.from,l.to,l.value))&&!u.addInner(l.from,l.to,l.value,!1)&&a.push(eC.create(l.from,l.to,l.value)),l.next());return u.finishInner(this.nextLayer.isEmpty&&!a.length?eQ.empty:this.nextLayer.update({add:a,filter:o,filterFrom:r,filterTo:i}))}map(e){let t;if(e.empty||this.isEmpty)return this;let n=[],r=[],i=-1,o=(e,n,r)=>{t||(t=new eT),t.addRange(e,n,r,!1)};for(let t=0;t<this.chunk.length;t++){let l=this.chunkPos[t],s=this.chunk[t],a=e.touchesRange(l,l+s.length);if(!1===a)i=Math.max(i,s.maxPoint),n.push(s),r.push(e.mapPos(l));else if(!0===a){let[t,a]=n.length?[e_(r)+e_(n).length,e_(e_(n).value).endSide]:[-1,-1],{mapped:u,pos:c}=s.map(l,e,t,a,o);u&&(i=Math.max(i,u.maxPoint),n.push(u),r.push(c))}}let l=this.nextLayer.map(e);return t&&(l=t.finishInner(l)),0==n.length?l:new eQ(r,n,l||eQ.empty,i)}between(e,t,n){if(!this.isEmpty){for(let r=0;r<this.chunk.length;r++){let i=this.chunkPos[r],o=this.chunk[r];if(t>=i&&e<=i+o.length&&!1===o.between(i,e-i,t-i,n))return}this.nextLayer.between(e,t,n)}}iter(e=0){return eZ.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return eZ.from(e).goto(t)}static compare(e,t,n,r,i=-1){let o=e.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i),l=t.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i),s=eA(o,l,n),a=new ej(o,s,i),u=new ej(l,s,i);n.iterGaps((e,t,n)=>eM(a,e,u,t,n,r)),n.empty&&0==n.length&&eM(a,0,u,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)),o=t.filter(t=>!t.isEmpty&&0>e.indexOf(t));if(i.length!=o.length)return!1;if(!i.length)return!0;let l=eA(i,o),s=new ej(i,l,0).goto(n),a=new ej(o,l,0).goto(n);for(;;){if(s.to!=a.to||!eL(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 o=new ej(e,null,i).goto(t),l=t,s=o.openStart;for(;;){let e=Math.min(o.to,n);if(o.point){let n=o.activeForPoint(o.to),i=o.pointFrom<t?n.length+1:o.point.startSide<0?n.length:Math.min(n.length,s);
1r.point(l,e,o.point,n,i,o.pointRank),s=Math.min(o.openEnd(e),n.length)}else e>l&&(r.span(l,e,o.active,s),s=o.openEnd(e));if(o.to>n)return s+(o.point&&o.to>n?1:0);l=o.to,o.next()}}static of(e,t=!1){let n=new eT;for(let r of e instanceof eC?[e]:t?function(e){if(e.length>1)for(let t=e[0],n=1;n<e.length;n++){let r=e[n];if(eP(t,r)>0)return e.slice().sort(eP);t=r}return e}(e):e)n.add(r.from,r.to,r.value);return n.finish()}static join(e){if(!e.length)return eQ.empty;let t=e_(e);for(let n=e.length-2;n>=0;n--)for(let r=e[n];r!=eQ.empty;r=r.nextLayer)t=new eQ(r.chunkPos,r.chunk,t,Math.max(r.maxPoint,t.maxPoint));return t}}function e_(e){return e[e.length-1]}eQ.empty=new eQ([],[],null,-1),eQ.empty.nextLayer=eQ.empty;class eT{finishChunk(e){this.chunks.push(new e$(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.addRange(e,t,n,!0)}addRange(e,t,n,r){this.addInner(e,t,n,r)||(this.nextLayer||(this.nextLayer=new eT)).addRange(e,t,n,r)}addInner(e,t,n,r){let i=e-this.lastTo||n.startSide-this.last.endSide;if(r&&i<=0&&0>(e-this.lastFrom||n.startSide-this.last.startSide))throw Error("Ranges must be added sorted by `from` position and `startSide`");return!(i<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(eQ.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=eQ.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function eA(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 o=r.get(e.chunk[t]);null==o||(n?n.mapPos(o):o)!=e.chunkPos[t]||(null==n?void 0:n.touchesRange(o,o+e.chunk[t].length))||i.add(e.chunk[t])}return i}class eE{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 eZ{constructor(e){this.heap=e}static from(e,t=null,n=-1){let r=[];for(let i=0;i<e.length;i++)for(let o=e[i];!o.isEmpty;o=o.nextLayer)o.maxPoint>=n&&r.push(new eE(o,t,n,i));return 1==r.length?r[0]:new eZ(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--)eR(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--)eR(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(),eR(this.heap,0)}}}function eR(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 ej{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=eZ.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){eI(this.active,e),eI(this.activeTo,e),eI(this.activeRank,e),this.minActive=eN(this.active,this.activeTo)}
1addActive(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++;eX(this.active,t,n),eX(this.activeTo,t,r),eX(this.activeRank,t,i),e&&eX(e,t,this.cursor.from),this.minActive=eN(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&&eI(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 eM(e,t,n,r,i,o){e.goto(t),n.goto(r);let l=r+i,s=r,a=r-t,u=!!o.boundChange;for(let t=!1;;){let r=e.to+a-n.to,i=r||e.endSide-n.endSide,c=i<0?e.to+a:n.to,h=Math.min(c,l);if(e.point||n.point?(e.point&&n.point&&eS(e.point,n.point)&&eL(e.activeForPoint(e.to),n.activeForPoint(n.to))||o.comparePoint(s,h,e.point,n.point),t=!1):(t&&(o.boundChange(s),t=!1),h>s&&!eL(e.active,n.active)&&o.compareRange(s,h,e.active,n.active),u&&h<l&&(r||e.openEnd(c)!=n.openEnd(c))&&(t=!0)),c>l)break;s=c,i<=0&&e.next(),i>=0&&n.next()}}function eL(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 eI(e,t){for(let n=t,r=e.length-1;n<r;n++)e[n]=e[n+1];e.pop()}function eX(e,t,n){for(let n=e.length-1;n>=t;n--)e[n+1]=e[n];e[t]=n}function eN(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 eV(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=k(e,i));return r}function eD(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=k(e,r)}return!0===r?-1:e.length}},25950:(e,t,n)=>{"use strict";n.d(t,{R:()=>S});var r=n(6353),i=n(7620),o=n(60554),l=n(17705),s=n(7136),a=n(88951),u=n(38370),c=n(47349),h=n(3793);let d={undo:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M7.202 18.5V17H14.3788C15.4224 17 16.3205 16.6554 17.073 15.9663C17.8257 15.2773 18.202 14.4263 18.202 13.4135C18.202 12.4007 17.8257 11.5512 17.073 10.8652C16.3205 10.1794 15.4224 9.8365 14.3788 9.8365H7.35775L10.1402 12.6193L9.0865 13.673L4.5 9.0865L9.0865 4.5L10.1402 5.55375L7.35775 8.3365H14.3788C15.8416 8.3365 17.0945 8.82467 18.1375 9.801C19.1805 10.7773 19.702 11.9815 19.702 13.4135C19.702 14.8455 19.1805 16.0513 18.1375 17.0308C17.0945 18.0103 15.8416 18.5 14.3788 18.5H7.202Z",fill:"currentColor"})),redo:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M9.6211 18.5C8.15827 18.5 6.90535 18.0103 5.86235 17.0308C4.81935 16.0513 4.29785 14.8455 4.29785 13.4135C4.29785 11.9815 4.81935 10.7773 5.86235 9.801C6.90535 8.82467 8.15827 8.3365 9.6211 8.3365H16.6421L13.8596 5.55375L14.9134 4.5L19.4999 9.0865L14.9134 13.673L13.8596 12.6193L16.6421 9.8365H9.6211C8.57744 9.8365 7.67935 10.1794 6.92685 10.8652C6.17418 11.5512 5.79785 12.4007 5.79785 13.4135C5.79785 14.4263 6.17418 15.2773 6.92685 15.9663C7.67935 16.6554 8.57744 17 9.6211 17H16.7979V18.5H9.6211Z",fill:"currentColor"})),format_bold:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M7.33838 18.625V5.375H12.1999C13.219 5.375 14.1405 5.69233 14.9644 6.327C15.788 6.9615 16.1999 7.816 16.1999 8.8905C16.1999 9.63783 16.0194 10.2471 15.6584 10.7182C15.2975 11.1894 14.9088 11.5314 14.4921 11.7442C15.005 11.9211 15.4947 12.2708 15.9614 12.7933C16.428 13.3
1158 16.6614 14.0193 16.6614 14.9038C16.6614 16.1819 16.1902 17.1217 15.2479 17.723C14.3055 18.3243 13.3562 18.625 12.3999 18.625H7.33838ZM9.48838 16.6328H12.3191C13.1063 16.6328 13.6627 16.4142 13.9884 15.977C14.314 15.5398 14.4769 15.1206 14.4769 14.7192C14.4769 14.3179 14.314 13.8987 13.9884 13.4615C13.6627 13.0243 13.0909 12.8058 12.2729 12.8058H9.48838V16.6328ZM9.48838 10.875H12.0826C12.6903 10.875 13.172 10.7013 13.5279 10.3538C13.8835 10.0064 14.0614 9.59042 14.0614 9.10575C14.0614 8.59042 13.8733 8.16925 13.4971 7.84225C13.1208 7.51542 12.6595 7.352 12.1134 7.352H9.48838V10.875Z",fill:"currentColor"})),format_italic:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M5.39404 18.625V16.8173H9.21129L12.4518 7.18275H8.63454V5.375H17.7883V7.18275H14.2785L11.0383 16.8173H14.5478V18.625H5.39404Z",fill:"currentColor"})),format_underlined:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M5.34619 22.125V20.625H18.6537V22.125H5.34619ZM11.9999 18.5287C10.4448 18.5287 9.23102 18.0566 8.35869 17.1125C7.48619 16.1683 7.04994 14.9032 7.04994 13.3172V5.41345H8.90369V13.4095C8.90369 14.4198 9.17228 15.2295 9.70944 15.8385C10.2466 16.4475 11.0101 16.752 11.9999 16.752C12.9898 16.752 13.7533 16.4475 14.2904 15.8385C14.8276 15.2295 15.0962 14.4198 15.0962 13.4095V5.41345H16.9499V13.3172C16.9499 14.9032 16.5137 16.1683 15.6412 17.1125C14.7689 18.0566 13.5551 18.5287 11.9999 18.5287Z",fill:"currentColor"})),format_highlight:i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"},i.createElement("path",{d:"m9 11-6 6v3h9l3-3"}),i.createElement("path",{d:"m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4"})),code:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M7.99994 17.6537L2.34619 11.9999L7.99994 6.34619L9.06919 7.41544L4.46919 12.0154L9.05369 16.5999L7.99994 17.6537ZM15.9999 17.6537L14.9307 16.5844L19.5307 11.9844L14.9462 7.39994L15.9999 6.34619L21.6537 11.9999L15.9999 17.6537Z",fill:"currentColor"})),strikeThrough:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M12.15 19.6923C10.9732 19.6923 9.9315 19.359 9.025 18.6923C8.11867 18.0256 7.45525 17.1128 7.03475 15.9538L8.6385 15.2635C8.91667 16.0444 9.3545 16.6867 9.952 17.1905C10.5493 17.6944 11.2923 17.9463 12.1808 17.9463C12.9578 17.9463 13.6744 17.7508 14.3307 17.3598C14.9872 16.9686 15.3155 16.3487 15.3155 15.5C15.3155 15.123 15.2555 14.7968 15.1355 14.5213C15.0157 14.2456 14.8462 13.9885 14.627 13.75H16.677C16.7987 13.9705 16.8932 14.2256 16.9605 14.5153C17.0278 14.8051 17.0615 15.1334 17.0615 15.5C17.0615 16.8372 16.5747 17.8702 15.601 18.599C14.6272 19.3279 13.4768 19.6923 12.15 19.6923ZM2.25 11.75V10.25H21.75V11.75H2.25ZM12.05 4.19629C13.0475 4.19629 13.9123 4.42704 14.6443 4.88854C15.3763 5.35004 15.9673 6.05896 16.4173 7.01529L14.823 7.73079C14.6218 7.26029 14.2978 6.84462 13.851 6.48379C13.4042 6.12279 12.8141 5.94229 12.0808 5.94229C11.2244 5.94229 10.5392 6.16221 10.025 6.60204C9.51083 7.04171 9.264 7.59104 9.2845 8.25004H7.5385C7.50133 7.16421 7.89783 6.21712 8.728 5.40879C9.558 4.60046 10.6653 4.19629 12.05 4.19629Z",fill:"currentColor"})),superscript:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M16.6924 8V6.2115C16.6924 5.95383 16.7786 5.73875 16.9511 5.56625C17.1235 5.39392 17.3385 5.30775 17.5961 5.30775H19.5001V4.38475H16.6924V3.5H19.4809C19.7385 3.5 19.9536 3.58625 20.1261 3.75875C20.2985 3.93108 20.3846 4.14617 20.3846 4.404V5.2885C20.3846 5.54617 20.2985 5.76125 20.1261 5.93375C19.9536 6.10608 19.7385 6.19225 19.4809 6.19225H17.5771V7.1155H20.3846V8H16.6924ZM4.44238 18.5L8.84638 11.6287L4.77713 5.30775H6.74438L9.95963 10.404H10.0214L13.2501 5.30775H15.2329L11.1194
111.6287L15.5579 18.5H13.5751L10.0214 12.9308H9.95963L6.42513 18.5H4.44238Z",fill:"currentColor"})),subscript:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M16.6924 20.5V18.7115C16.6924 18.4538 16.7786 18.2387 16.9511 18.0662C17.1235 17.8939 17.3385 17.8077 17.5961 17.8077H19.5001V16.8845H16.6924V16H19.4809C19.7385 16 19.9536 16.0863 20.1261 16.2587C20.2985 16.4311 20.3846 16.6461 20.3846 16.9038V17.7885C20.3846 18.0462 20.2985 18.2612 20.1261 18.4337C19.9536 18.6061 19.7385 18.6923 19.4809 18.6923H17.5771V19.6152H20.3846V20.5H16.6924ZM4.44238 18.6923L8.84638 11.8212L4.77713 5.5H6.74438L9.95963 10.5962H10.0214L13.2501 5.5H15.2329L11.1194 11.8212L15.5579 18.6923H13.5751L10.0214 13.123H9.95963L6.42513 18.6923H4.44238Z",fill:"currentColor"})),format_list_bulleted:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M9.30775 18.75V17.25H20.5V18.75H9.30775ZM9.30775 12.75V11.25H20.5V12.75H9.30775ZM9.30775 6.75005V5.25005H20.5V6.75005H9.30775ZM5.1635 19.6635C4.706 19.6635 4.31442 19.5006 3.98875 19.1748C3.66292 18.8491 3.5 18.4575 3.5 18C3.5 17.5425 3.66292 17.151 3.98875 16.8253C4.31442 16.4995 4.706 16.3365 5.1635 16.3365C5.621 16.3365 6.01258 16.4995 6.33825 16.8253C6.66408 17.151 6.827 17.5425 6.827 18C6.827 18.4575 6.66408 18.8491 6.33825 19.1748C6.
101258 19.5006 5.621 19.6635 5.1635 19.6635ZM5.1635 13.6635C4.706 13.6635 4.31442 13.5006 3.98875 13.1748C3.66292 12.8491 3.5 12.4575 3.5 12C3.5 11.5425 3.66292 11.151 3.98875 10.8253C4.31442 10.4995 4.706 10.3365 5.1635 10.3365C5.621 10.3365 6.01258 10.4995 6.33825 10.8253C6.66408 11.151 6.827 11.5425 6.827 12C6.827 12.4575 6.66408 12.8491 6.33825 13.1748C6.01258 13.5006 5.621 13.6635 5.1635 13.6635ZM5.1635 7.66355C4.706 7.66355 4.31442 7.50063 3.98875 7.1748C3.66292 6.84913 3.5 6.45755 3.5 6.00005C3.5 5.54255 3.66292 5.15096 3.98875 4.8253C4.31442 4.49946 4.706 4.33655 5.1635 4.33655C5.621 4.33655 6.01258 4.49946 6.33825 4.8253C6.66408 5.15096 6.827 5.54255 6.827 6.00005C6.827 6.45755 6.66408 6.84913 6.33825 7.1748C6.01258 7.50063 5.621 7.66355 5.1635 7.66355Z",fill:"currentColor"})),format_list_numbered:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M3.5 21.5V20.3078H6V19.25H4.5V18.0577H6V17H3.5V15.8077H6.34625C6.58592 15.8077 6.78683 15.8888 6.949 16.051C7.11117 16.2132 7.19225 16.4141 7.19225 16.6538V17.8462C7.19225 18.0859 7.11117 18.2868 6.949 18.449C6.78683 18.6112 6.58592 18.6923 6.34625 18.6923C6.58592 18.6923 6.78683 18.7733 6.949 18.9355C7.11117 19.0977 7.19225 19.2987 7.19225 19.5385V20.6538C7.19225 20.8936 7.11117 21.0946 6.949 21.2568C6.78683 21.4189 6.58592 21.5 6.34625 21.5H3.5ZM3.5 14.8463V12.25C3.5 12.0103 3.58108 11.8093 3.74325 11.647C3.90542 11.4848 4.10642 11.4038 4.34625 11.4038H6V10.3462H3.5V9.15375H6.34625C6.58592 9.15375 6.78683 9.23483 6.949 9.397C7.11117 9.55933 7.19225 9.76033 7.19225 10V11.75C7.19225 11.9897 7.11117 12.1907 6.949 12.353C6.78683 12.5152 6.58592 12.5963 6.34625 12.5963H4.69225V13.6538H7.19225V14.8463H3.5ZM5 8.19225V3.69225H3.5V2.5H6.19225V8.19225H5ZM9.30775 18.75V17.25H20.5V18.75H9.30775ZM9.30775 12.75V11.25H20.5V12.75H9.30775ZM9.30775 6.75V5.25H20.5V6.75H9.30775Z",fill:"currentColor"})),format_list_checked:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M5.69425 18.452L2.5 15.2578L3.54425 14.2135L5.66925 16.3385L9.91925 12.0885L10.9635 13.1578L5.69425 18.452ZM5.69425 10.8365L2.5 7.64227L3.54425 6.59802L5.66925 8.72302L9.91925 4.47302L10.9635 5.54227L5.69425 10.8365ZM13.0095 16.5578V15.0578H21.5095V16.5578H13.0095ZM13.0095 8.94227V7.44227H21.5095V8.94227H13.0095Z",fill:"currentColor"})),link:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M10.8077 16.5385H7.0385C5.78283 16.5385 4.7125 16.096 3.8275 15.211C2.9425 14.3262 2.5 13.256 2.5 12.0005C2.5 10.745 2.9425 9.67471 3.8275 8.78955C4.7125 7.90421 5.78283 7.46155 7.0385 7.46155H10.8077V8.96155H7.0385C6.19867 8.96155 5.48233 9.25805 4.8895 9.85105C4.2965 10.444 4 11.1604 4 12C4 12.8397 4.2965 13.556 4.8895 14.149C5.48233 14.742 6.19867 15.0385 7.0385 15.0385H10.8077V16.5385ZM8.25 12.75V11.25H15.75V12.75H8.25ZM13.1923 16.5385V15.0385H16.9615C17.8013 15.0385 18.5177 14.742 19.1105 14.149C19.7035 13.556 20 12.8397 20 12C20 11.1604 19.7035 10.444 19.1105 9.85105C18.5177 9.25805 17.8013 8.96155 16.9615 8.96155H13.1923V7.46155H16.9615C18.2172 7.46155 19.2875 7.90405 20.1725 8.78905C21.0575 9.67388 21.5 10.744 21.5 11.9995C21.5 13.255 21.0575 14.3254 20.1725 15.2105C19.2875 16.0959 18.2172 16.5385 16.9615 16.5385H13.1923Z",fill:"currentColor"})),add_photo:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M5.11537 20.5C4.6182 20.5 4.19262 20.323 3.83862 19.969C3.48462 19.615 3.30762 19.1894 3.30762 18.6922V5.30773C3.30762 4.81056 3.48462 4.38498 3.83862 4.03098C4.19262 3.67698 4.6182 3.49998 5.11537 3.49998H13.8076V4.99998H5.11537C5.02553 4.99998 4.95178 5.02881 4.89412 5.08648C4.83645 5.14415 4.80762 5.2179 4.80762 5.30773V18.6922C4.80762 18.7821 4.83645 18.8558 4.89412 18.9135C4.95178 18.9711 5.02553 19 5.11537 19H18.4999C18.5895 19 18.6633 18.9711 18.7211 18.9135C18.7788 18.8558 18.8076 18.7821 18.8076 18.6922V9.99998H20.3076V18.6922C20.3076 19.1894 20.1306 19.615 19.7766 19.969C19.4226 20.323 18.997 20.5 18.4999 20.5H5.11537ZM17.1921 8.61523V6.61523H15.1921V5.11548H17.1921V3.11548H18.6921V5.11548H20.6921V6.61523H18.6921V8.61523H17.1921ZM6.55762 16.75H17.1344L13.8459 12.3655L11.0384 16.0192L9.03837 13.4615L6.55762 16.75Z",fill:"currentColor"})),table:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M3.5 18.6923V5.30775C3.5 4.81058 3.677 4.385 4.031 4.031C4.385 3.677 4.81058 3.5 5.30775 3.5H18.6923C19.1894 3.5 19.615 3.677 19.969 4.031C20.323 4.385 20.5 4.81058 20.5 5.30775V18.6923C20.5 19.1894 20.323 19.615 19.969 19.969C19.615 20.323 19.1894 20.5 18.6923 20.5H5.30775C4.81058 20.5 4.385 20.323 4.031 19.969C3.677 19.615 3.5 19.1894 3.5 18.6923ZM5 9.077H19V5.30775C19 5.21792 18.9712 5.14417 18.9135 5.0865C18.8558 5.02883 18.7821 5 18.6923 5H5.30775C5.21792 5 5.14417 5.02883 5.0865 5.0865C5.02883 5.14417 5 5.21792 5 5.30775V9.077ZM10.1615 14.0385H13.8385V10.577H10.1615V14.0385ZM10.1615 19H13.8385V15.5385H10.1615V19ZM5 14.0385H8.6615V10.577H5V14.0385ZM15.3385 14.0385H19V10.577H15.3385V14.0385ZM5.30775 19H8.661
15V15.5385H5V18.6923C5 18.7821 5.02883 18.8558 5.0865 18.9135C5.14417 18.9712 5.21792 19 5.30775 19ZM15.3385 19H18.6923C18.7821 19 18.8558 18.9712 18.9135 18.9135C18.9712 18.8558 19 18.7821 19 18.6923V15.5385H15.3385V19Z",fill:"currentColor"})),horizontal_rule:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M4.5 12.75V11.25H19.5V12.75H4.5Z",fill:"currentColor"})),frontmatter:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M4.5 8.75V7.25H8.5V8.75H4.5Z",fill:"currentColor"}),i.createElement("path",{d:"M4.5 14.75V13.25H8.5V14.75H4.5Z",fill:"currentColor"}),i.createElement("path",{d:"M9.5 8.75V7.25H13.5V8.75H9.5Z",fill:"currentColor"}),i.createElement("path",{d:"M9.5 14.75V13.25H13.5V14.75H9.5Z",fill:"currentColor"}),i.createElement("path",{d:"M14.5 8.75V7.25H18.5V8.75H14.5Z",fill:"currentColor"}),i.createElement("path",{d:"M14.5 14.75V13.25H18.5V14.75H14.5Z",fill:"currentColor"})),frame_source:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M8.6 15.2443L5.35575 12L8.6 8.75575L9.64425 9.825L7.46925 12L9.64425 14.175L8.6 15.2443ZM15.4 15.2443L14.3558 14.175L16.5307 12L14.3558 9.825L15.4 8.75575L18.6443 12L15.4 15.2443ZM5.30775 20.5C4.80258 20.5 4.375 20.325 4.025 19.975C3.675 19.625 3.5 19.1974 3.5 18.6923V15H5V18.6923C5 18.7692 5.03208 18.8398 5.09625 18.9038C5.16025 18.9679 5.23075 19 5.30775 19H9V20.5H5.30775ZM15 20.5V19H18.6923C18.7692 19 18.8398 18.9679 18.9038 18.9038C18.9679 18.8398 19 18.7692 19 18.6923V15H20.5V18.6923C20.5 19.1974 20.325 19.625 19.975 19.975C19.625 20.325 19.1974 20.5 18.6923 20.5H15ZM3.5 9V5.30775C3.5 4.80258 3.675 4.375 4.025 4.025C4.375 3.675 4.80258 3.5 5.30775 3.5H9V5H5.30775C5.23075 5 5.16025 5.03208 5.09625 5.09625C5.03208 5.16025 5 5.23075 5 5.30775V9H3.5ZM19 9V5.30775C19 5.23075 18.9679 5.16025 18.9038 5.09625C18.8398 5.03208 18.7692 5 18.6923 5H15V3.5H18.6923C19.1974 3.5 19.625 3.675 19.975 4.025C20.325 4.375 20.5 4.80258 20.5 5.30775V9H19Z",fill:"currentColor"})),arrow_drop_down:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M11.9999 14.6537L7.59619 10.25H16.4037L11.9999 14.6537Z",fill:"currentColor"})),admonition:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M12.0001 21.4C11.7654 21.4 11.5385 21.3548 11.3193 21.2645C11.1002 21.174 10.9002 21.0435 10.7193 20.873L3.1271 13.2807C2.9566 13.0999 2.8261 12.8999 2.7356 12.6807C2.64526 12.4616 2.6001 12.2346 2.6001 12C2.6001 11.7653 2.64526 11.5358 2.7356 11.3115C2.8261 11.0871 2.9566 10.8897 3.1271 10.7192L10.7193 3.12698C10.9002 2.94614 11.1002 2.81314 11.3193 2.72798C11.5385 2.64264 11.7654 2.59998 12.0001 2.59998C12.2348 2.59998 12.4643 2.64264 12.6886 2.72798C12.9129 2.81314 13.1103 2.94614 13.2808 3.12698L20.8731 10.7192C21.0539 10.8897 21.1869 11.0871 21.2721 11.3115C21.3574 11.5358 21.4001 11.7653 21.4001 12C21.4001 12.2346 21.3574 12.4616 21.2721 12.6807C21.1869 12.8999 21.0539 13.0999 20.8731 13.2807L13.2808 20.873C13.1103 21.0435 12.9129 21.174 12.6886 21.2645C12.4643 21.3548 12.2348 21.4 12.0001 21.4ZM12.2213 19.8037L19.8039 12.2212C19.8552 12.1699 19.8808 12.0961 19.8808 12C19.8808 11.9038 19.8552 11.8301 19.8039 11.7787L12.2213 4.19623C12.17 4.14489 12.0963 4.11923 12.0001 4.11923C11.9039 4.11923 11.8302 4.14489 11.7788 4.19623L4.19635 11.7787C4.14501 11.8301 4.11935 11.9038 4.11935 12C4.11935 12.0961 4.14501 12.1699 4.19635 12.2212L11.7788 19.8037C11.8302 19.8551 11.9039 19.8807 12.0001 19.8807C12.0963 19.8807 12.17 19.8551 12.2213 19.8037ZM11.2501 13.0865H12.7501V7.47123H11.2501V13.0865ZM12.0001 15.702C12.2258 15.702 12.4168 15.6237 12.5731 15.4672C12.7296 15.3109 12.8078 15.1199 12.8078 14.8942C12.8078 14.6686 12.7296 14.4776 12.5731 14.3212C12.4168 14.1647 12.2258 14.0865 12.0001 14.0865C11.7744 14.0865 11.5834 14.1647 11.4271 14.3212C11.2706 14.4776 11.1923 14.6686 11.1923 14.8942C11.1923 15.1199 11.2706 15.3109 11.4271 15.4672C11.5834 15.6237 11.7744 15.702 12.0001 15.702Z",fill:"currentColor"})),rich_text:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M5.30775 20.5C4.80258 20.5 4.375 20.325 4.025 19.975C3.675 19.625 3.5 19.1974 3.5 18.6923V5.30775C3.5 4.80258 3.675 4.375 4.025 4.025C4.375 3.675 4.80258 3.5 5.30775 3.5H18.6923C19.1974 3.5 19.625 3.675 19.975 4.025C20.325 4.375 20.5 4.80258 20.5 5.30775V18.6923C20.5 19.1974 20.325 19.625 19.975 19.975C19.625 20.325 19.1974 20.5 18.6923 20.5H5.30775ZM5.30775 19H18.6923C18.7692 19 18.8398 18.9679 18.9038 18.9038C18.9679 18.8398 19 18.7692 19 18.6923V5.30775C19 5.23075 18.9679 5.16025 18.9038 5.09625C18.8398 5.03208 18.7692 5 18.6923 5H5.30775C5.23075 5 5.16025 5.03208 5.09625 5.09625C5.03208 5.16025 5 5.23075 5 5.30775V18.6923C5 18.7692 5.03208 18.8398 5.09625 18.9038C5.16025 18.9679 5.23075 19 5.30775 19ZM6.75 17H17.3268L14 12.3655L11.2308 16.0192L9 13.4615L6.75 17Z",fill:"currentColor"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 12V6.5H9.1925C9.5925 6.5 9.9425 6.65 10.2425 6.95C10.5425 7.25 10.6925 7.6 10.6925 8V8.6925C10.6925 9.03733 10.605 9.32675 10.43 9.56075C10.255 9.79458 10.0168 9.97817 9.7155 10.1115L10.6155 12H9.404L8.504 10.1925H7.1925V12H6ZM9.1925 9H7.1925V7.6925H9.1925C9.26933 7.6925 9.33983 7.7245 9.404 7.7885C9.468 7.85267 9.5 7.92317 9.5 8V8.6925C9.5 8.76933 9.468 8.83983 9.404 8.904C9.33983 8.968 9.26933 9 9.1925 9Z",fill:"currentColor"}),i.createElement("path",{d:"M12.5 7H17.5V8.25H12.5V7Z",fill:"currentColor"}),i.createElement("path",{d:"M12.5 9.25H17.5V10.5H12.5V9.25Z",fill:"currentColor"})),difference:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.30775 20.5C4.80258 20.5 4.375 20.325 4.025 19.975C3.675 19.625 3.5 19.1974 3.5 18.6923V5.30775C3.5 4.80258 3.675 4.375 4.025 4.025C4.375 3.675 4.80258 3.5 5.30775 3.5H18.6923C19.1974 3.5 19.625 3.675 19.975 4.025C20.325 4.375 20.5 4.80258 20.5 5.30775V18.6923C20.5 19.1974 20.325 19.625 19.975 19.975C19.625 20.325 19.1974 20.5 18.6923 20.5H5.30775ZM18.6923 19H5.30775C5.23075 19 5.16025 18.9679 5.09625 18.9038C5.03208 18.8398 5 18.7692 5 18.6923V5.30775C5 5.23075 5.03208 5.16025 5.09625 5.09625C5.16025 5.03208 5.23075 5 5.30775 5H18.6923C18.7692 5 18.8398 5.03208 18.9038 5.09625C18.9679 5.16025 19 5.23075 19 5.30775V18.6923C19 18.7692 18.9679 18.8398 18.9038 18.9038C18.8398 18.9679 18.7692 19 18.6923 19Z",fill:"currentColor"}),i.createElement("rect",{x:"9",y:"10",width:"5.5",height:"1.5",fill:"currentColor"}),i.createElement("rect",{x:"9",y:"15",width:"5.5",height:"1.5",fill:"currentColor"}),i.createElement("rect",{x:"11",y:"8",width:"1.5",height:"5.5",fill:"currentColor"})),markdown:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.30775 20.5C4.80258 20.5 4.375 20.325 4.025 19.975C3.675 19.625 3.5 19.1974 3.5 18.6923V5.30775C3.5 4.80258 3.675 4.375 4.025 4.025C4.375 3.675 4.80258 3.5 5.30775 3.5H18.6923C19.1974 3.5 19.625 3.675 19.975 4.025C20.325 4.375 20.5 4.80258 20.5 5.30775V18.6923C20.5 19.1974 20.325 19.625 19.975 19.975C19.625 20.325 19.1974 20.5 18.6923 20.5H5.30775ZM18.6923 19H5.30775C5.23075 19 5.16025 18.9679 5.09625 18.9038C5.03208 18.8398 5 18.7692 5 18.6923V5.30775C5 5.23075 5.03208 5.16025 5.09625 5.09625C5.16025 5.03208 5.23075 5 5.30775 5H18.6923C18.7692 5 18.8398 5.03208 18.9038 5.09625C18.9679 5.16025 19 5.23075 19 5.30775V18.6923C19 18.7692 18.9679 18.8398 18.9038 18.9038C18.8398 18.9679 18.7692 19 18.6923 19Z",fill:"currentColor"}),i.createElement("path",{d:"M13 15H11.5V11L9.5 14L7.5 11V15H6V8H7.5L9.5 11L11.5 8H13V15Z",fill:"currentColor"}),i.createElement("path",{d:"M15.9921 15.5833L13.2886 12.8797L14.0546 12.1137L15.4504 13.5016V7.99597L16.5336 7.99993V13.5016L17.9296 12.1137L18.6954 12.8797L15.9921 15.5833Z",fill:"currentColor"})),open_in_new:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M5.30775 20.5C4.80258 20.5 4.375 20.325 4.025 19.975C3.675 19.625 3.5 19.1974 3.5 18.6923V5.30775C3.5 4.80258 3.675 4.375 4.025 4.025C4.375 3.675 4.80258 3.5 5.30775 3.5H11.6152V5H5.30775C5.23075 5 5.16025 5.03208 5.09625 5.09625C5.03208 5.16025 5 5.23075 5 5.30775V18.6923C5 18.7692 5.03208 18.8398 5.09625 18.9038C5.16025 18.9679 5.23075 19 5.30775 19H18.6923C18.7692 19 18.8398 18.9679 18.9038 18.9038C18.9679 18.8398 19 18.7692 19 18.6923V12.3848H20.5V18.6923C20.5 19.1974 20.325 19.625 19.975 19.975C19.625 20.325 19.1974 20.5 18.6923 20.5H5.30775ZM9.71925 15.3345L8.6655 14.2808L17.9462 5H14V3.5H20.5V10H19V6.05375L9.71925 15.3345Z",fill:"currentColor"})),link_off:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M18.8843 16.1038L17.7498 14.9385C18.4228 14.7552 18.9661 14.3946 19.3796 13.8568C19.7931 13.319 19.9998 12.7 19.9998 12C19.9998 11.1604 19.705 10.444 19.1153 9.85105C18.5255 9.25805 17.8139 8.96155 16.9806 8.96155H13.1728V7.46155H16.9806C18.2293 7.46155 19.2947 7.90422 20.1768 8.78955C21.0588 9.67472 21.4998 10.7449 21.4998 12C21.4998 12.8859 21.262 13.6951 20.7863 14.4278C20.3107 15.1606 19.6767 15.7193 18.8843 16.1038ZM15.5806 12.75L14.0806 11.25H15.7306V12.75H15.5806ZM20.1461 22.2538L1.74609 3.8538L2.79984 2.80005L21.1998 21.2L20.1461 22.2538ZM10.8268 16.5386H7.03834C5.78318 16.5386 4.71301 16.0959 3.82784 15.2105C2.94251 14.3254 2.49984 13.2552 2.49984 12C2.49984 10.8885 2.85784 9.91322 3.57384 9.07405C4.28984 8.23505 5.18826 7.72838 6.26909 7.55405H6.49984L7.90759 8.96155H7.03834C6.19851 8.96155 5.48218 9.25805 4.88934 9.85105C4.29634 10.444 3.99984 11.1604 3.99984 12C3.99984 12.8397 4.29634 13.556 4.88934 14.149C5.48218 14.742 6.19851 15.0385 7.03834 15.0385H10.8268V16.5386ZM8.26909 12.75V11.25H10.2113L11.6863 12.75H8.26909Z",fill:"currentColor"})),edit:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M5 19H6.2615L16.498 8.7635L15.2365 7.502L5 17.7385V19ZM3.5 20.5V17.1155L16.6905 3.93075C16.8417 3.79342 17.0086 3.68733 17.1913 3.6125C17.3741 3.5375 17.5658 3.5 17.7663 3.5C17.9668 3.5 18.1609 3.53558 18.3488 3.60675C18.5367 3.67792 18.7032 3.79108 18.848 3.94625L20.0693 5.
118275C20.2244 5.32758 20.335 5.49425 20.401 5.68275C20.467 5.87125 20.5 6.05975 20.5 6.24825C20.5 6.44942 20.4657 6.64133 20.397 6.824C20.3283 7.00683 20.2191 7.17383 20.0693 7.325L6.8845 20.5H3.5ZM15.8562 8.14375L15.2365 7.502L16.498 8.7635L15.8562 8.14375Z",fill:"currentColor"})),content_copy:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M9.05775 17.5C8.55258 17.5 8.125 17.325 7.775 16.975C7.425 16.625 7.25 16.1974 7.25 15.6923V4.30775C7.25 3.80258 7.425 3.375 7.775 3.025C8.125 2.675 8.55258 2.5 9.05775 2.5H17.4423C17.9474 2.5 18.375 2.675 18.725 3.025C19.075 3.375 19.25 3.80258 19.25 4.30775V15.6923C19.25 16.1974 19.075 16.625 18.725 16.975C18.375 17.325 17.9474 17.5 17.4423 17.5H9.05775ZM9.05775 16H17.4423C17.5192 16 17.5898 15.9679 17.6538 15.9038C17.7179 15.8398 17.75 15.7692 17.75 15.6923V4.30775C17.75 4.23075 17.7179 4.16025 17.6538 4.09625C17.5898 4.03208 17.5192 4 17.4423 4H9.05775C8.98075 4 8.91025 4.03208 8.84625 4.09625C8.78208 4.16025 8.75 4.23075 8.75 4.30775V15.6923C8.75 15.7692 8.78208 15.8398 8.84625 15.9038C8.91025 15.9679 8.98075 16 9.05775 16ZM5.55775 21C5.05258 21 4.625 20.825 4.275 20.475C3.925 20.125 3.75 19.6974 3.75 19.1923V6.30775H5.25V19.1923C5.25 19.2693 5.28208 19.3398 5.34625 19.4038C5.41025 19.4679 5.48075 19.5 5.55775 19.5H15.4423V21H5.55775Z",fill:"currentColor"})),more_horiz:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M6.23096 13.5C5.81846 13.5 5.46537 13.3531 5.17171 13.0592C4.87787 12.7656 4.73096 12.4125 4.73096 12C4.73096 11.5875 4.87787 11.2344 5.17171 10.9408C5.46537 10.6469 5.81846 10.5 6.23096 10.5C6.64346 10.5 6.99662 10.6469 7.29046 10.9408C7.58412 11.2344 7.73096 11.5875 7.73096 12C7.73096 12.4125 7.58412 12.7656 7.29046 13.0592C6.99662 13.3531 6.64346 13.5 6.23096 13.5ZM12.0002 13.5C11.5877 13.5 11.2346 13.3531 10.941 13.0592C10.6471 12.7656 10.5002 12.4125 10.5002 12C10.5002 11.5875 10.6471 11.2344 10.941 10.9408C11.2346 10.6469 11.5877 10.5 12.0002 10.5C12.4127 10.5 12.7658 10.6469 13.0595 10.9408C13.3533 11.2344 13.5002 11.5875 13.5002 12C13.5002 12.4125 13.3533 12.7656 13.0595 13.0592C12.7658 13.3531 12.4127 13.5 12.0002 13.5ZM17.7695 13.5C17.357 13.5 17.0038 13.3531 16.71 13.0592C16.4163 12.7656 16.2695 12.4125 16.2695 12C16.2695 11.5875 16.4163 11.2344 16.71 10.9408C17.0038 10.6469 17.357 10.5 17.7695 10.5C18.182 10.5 18.535 10.6469 18.8287 10.9408C19.1225 11.2344 19.2695 11.5875 19.2695 12C19.2695 12.4125 19.1225 12.7656 18.8287 13.0592C18.535 13.3531 18.182 13.5 17.7695 13.5Z",fill:"currentColor"})),more_vert:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M12 19.2692C11.5875 19.2692 11.2344 19.1223 10.9408 18.8285C10.6469 18.5348 10.5 18.1817 10.5 17.7692C10.5 17.3567 10.6469 17.0035 10.9408 16.7097C11.2344 16.416 11.5875 16.2692 12 16.2692C12.4125 16.2692 12.7656 16.416 13.0592 16.7097C13.3531 17.0035 13.5 17.3567 13.5 17.7692C13.5 18.1817 13.3531 18.5348 13.0592 18.8285C12.7656 19.1223 12.4125 19.2692 12 19.2692ZM12 13.5C11.5875 13.5 11.2344 13.353 10.9408 13.0592C10.6469 12.7655 10.5 12.4125 10.5 12C10.5 11.5875 10.6469 11.2344 10.9408 10.9407C11.2344 10.6469 11.5875 10.5 12 10.5C12.4125 10.5 12.7656 10.6469 13.0592 10.9407C13.3531 11.2344 13.5 11.5875 13.5 12C13.5 12.4125 13.3531 12.7655 13.0592 13.0592C12.7656 13.353 12.4125 13.5 12 13.5ZM12 7.73071C11.5875 7.73071 11.2344 7.58388 10.9408 7.29021C10.6469 6.99638 10.5 6.64321 10.5 6.23071C10.5 5.81821 10.6469 5.46513 10.9408 5.17146C11.2344 4.87763 11.5875 4.73071 12 4.73071C12.4125 4.73071 12.7656 4.87763 13.0592 5.17146C13.3531 5.46513 13.5 5.81821 13.5 6.23071C13.5 6.64321 13.3531 6.99638 13.0592 7.29021C12.7656 7.58388 12.4125 7.73071 12 7.73071Z",fill:"currentColor"})),close:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M6.39994 18.6538L5.34619 17.6L10.9462 12L5.34619 6.4L6.39994 5.34625L11.9999 10.9463L17.5999 5.34625L18.6537 6.4L13.0537 12L18.6537 17.6L17.5999 18.6538L11.9999 13.0538L6.39994 18.6538Z",fill:"currentColor"})),settings:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M9.69225 21.5L9.3115 18.4538C9.04367 18.3641 8.769 18.2385 8.4875 18.077C8.20617 17.9153 7.95459 17.7422 7.73275 17.5577L4.9115 18.75L2.604 14.75L5.04425 12.9058C5.02125 12.7571 5.00492 12.6077 4.99525 12.4578C4.98559 12.3078 4.98075 12.1583 4.98075 12.0095C4.98075 11.8673 4.98559 11.7228 4.99525 11.576C5.00492 11.4292 5.02125 11.2686 5.04425 11.0943L2.604 9.25L4.9115 5.26925L7.723 6.452C7.96417 6.261 8.22159 6.08633 8.49525 5.928C8.76892 5.76967 9.03784 5.64242 9.302 5.54625L9.69225 2.5H14.3078L14.6885 5.55575C14.9885 5.66475 15.2599 5.792 15.5028 5.9375C15.7458 6.083 15.991 6.2545 16.2385 6.452L19.0885 5.26925L21.396 9.25L18.9173 11.123C18.9531 11.2845 18.9727 11.4355 18.976 11.576C18.9792 11.7163 18.9808 11.8577 18.9808 12C18.9808 12.1358 18.9775 12.274 18.971 12.4145C18.9647 12.5548 18.9417 12.7154 18.902 12.8963L21.3615 14.75L19.0538 18.75L16.2385 17.548C15.99
11 17.7455 15.7384 17.9202 15.4808 18.072C15.2231 18.224 14.959 18.3481 14.6885 18.4443L14.3078 21.5H9.69225ZM11 20H12.9655L13.325 17.3212C13.8353 17.1879 14.3017 16.9985 14.724 16.753C15.1465 16.5073 15.5539 16.1916 15.9463 15.8057L18.4308 16.85L19.4155 15.15L17.2463 13.5155C17.3296 13.2565 17.3863 13.0026 17.4163 12.7537C17.4464 12.5051 17.4615 12.2538 17.4615 12C17.4615 11.7397 17.4464 11.4884 17.4163 11.2463C17.3863 11.0039 17.3296 10.7564 17.2463 10.5038L19.4345 8.85L18.45 7.15L15.9365 8.2095C15.6018 7.85183 15.2009 7.53583 14.7338 7.2615C14.2664 6.98717 13.7937 6.79292 13.3155 6.67875L13 4H11.0155L10.6845 6.66925C10.1743 6.78975 9.70325 6.97433 9.27125 7.223C8.83909 7.47183 8.42684 7.79233 8.0345 8.1845L5.55 7.15L4.5655 8.85L6.725 10.4595C6.64167 10.6968 6.58334 10.9437 6.55 11.2C6.51667 11.4563 6.5 11.7262 6.5 12.0095C6.5 12.2698 6.51667 12.525 6.55 12.775C6.58334 13.025 6.6385 13.2718 6.7155 13.5155L4.5655 15.15L5.55 16.85L8.025 15.8C8.4045 16.1897 8.81025 16.5089 9.24225 16.7578C9.67442 17.0064 10.152 17.1974 10.675 17.3307L11 20ZM12.0115 15C12.8435 15 13.5515 14.708 14.1355 14.124C14.7195 13.54 15.0115 12.832 15.0115 12C15.0115 11.168 14.7195 10.46 14.1355 9.876C13.5515 9.292 12.8435 9 12.0115 9C11.1692 9 10.4586 9.292 9.87975 9.876C9.30092 10.46 9.0115 11.168 9.0115 12C9.0115 12.832 9.30092 13.54 9.87975 14.124C10.4586 14.708 11.1692 15 12.0115 15Z",fill:"currentColor"})),delete_big:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M7.30775 20.5C6.80908 20.5 6.38308 20.3234 6.02975 19.9702C5.67658 19.6169 5.5 19.1909 5.5 18.6922V5.99998H4.5V4.49998H9V3.61548H15V4.49998H19.5V5.99998H18.5V18.6922C18.5 19.1974 18.325 19.625 17.975 19.975C17.625 20.325 17.1974 20.5 16.6923 20.5H7.30775ZM17 5.99998H7V18.6922C7 18.7821 7.02883 18.8558 7.0865 18.9135C7.14417 18.9711 7.21792 19 7.30775 19H16.6923C16.7692 19 16.8398 18.9679 16.9038 18.9037C16.9679 18.8397 17 18.7692 17 18.6922V5.99998ZM9.404 17H10.9037V7.99998H9.404V17ZM13.0962 17H14.596V7.99998H13.0962V17Z",fill:"currentColor"})),delete_small:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M7.30775 20.5C6.80908 20.5 6.38308 20.3234 6.02975 19.9702C5.67658 19.6169 5.5 19.1909 5.5 18.6922V5.99998H4.5V4.49998H9V3.61548H15V4.49998H19.5V5.99998H18.5V18.6922C18.5 19.1974 18.325 19.625 17.975 19.975C17.625 20.325 17.1974 20.5 16.6923 20.5H7.30775ZM17 5.99998H7V18.6922C7 18.7821 7.02883 18.8558 7.0865 18.9135C7.14417 18.9711 7.21792 19 7.30775 19H16.6923C16.7692 19 16.8398 18.9679 16.9038 18.9037C16.9679 18.8397 17 18.7692 17 18.6922V5.99998ZM9.404 17H10.9037V7.99998H9.404V17ZM13.0962 17H14.596V7.99998H13.0962V17Z",fill:"currentColor"})),format_align_center:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M3.5 20.5V19H20.5V20.5H3.5ZM7.5 16.625V15.125H16.5V16.625H7.5ZM3.5 12.75V11.25H20.5V12.75H3.5ZM7.5 8.875V7.375H16.5V8.875H7.5ZM3.5 5V3.5H20.5V5H3.5Z",fill:"currentColor"})),format_align_left:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M3.5 20.5V19H20.5V20.5H3.5ZM3.5 16.625V15.125H14.5V16.625H3.5ZM3.5 12.75V11.25H20.5V12.75H3.5ZM3.5 8.875V7.375H14.5V8.875H3.5ZM3.5 5V3.5H20.5V5H3.5Z",fill:"currentColor"})),format_align_right:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M3.5 5V3.5H20.5V5H3.5ZM9.5 8.875V7.375H20.5V8.875H9.5ZM3.5 12.75V11.25H20.5V12.75H3.5ZM9.5 16.625V15.125H20.5V16.625H9.5ZM3.5 20.5V19H20.5V20.5H3.5Z",fill:"currentColor"})),add_row:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.025 10.2077C4.375 9.85775 4.80258 9.68275 5.30775 9.68275H6.5V11.1827H5.30775C5.21792 11.1827 5.14417 11.2116 5.0865 11.2693C5.02883 11.3269 5 11.4007 5 11.4905V16.1923C5 16.2821 5.02883 16.3558 5.0865 16.4135C5.14417 16.4712 5.21792 16.5 5.30775 16.5H18.6923C18.7821 16.5 18.8558 16.4712 18.9135 16.4135C18.9712 16.3558 19 16.2821 19 16.1923V11.4905C19 11.4007 18.9712 11.3269 18.9135 11.2693C18.8558 11.2116 18.7821 11.1827 18.6923 11.1827H17.6923V9.68275H18.6923C19.1974 9.68275 19.625 9.85775 19.975 10.2077C20.325 10.5577 20.5 10.9853 20.5 11.4905V16.1923C20.5 16.6974 20.325 17.125 19.975 17.475C19.625 17.825 19.1974 18 18.6923 18H5.30775C4.80258 18 4.375 17.825 4.025 17.475C3.675 17.125 3.5 16.6974 3.5 16.1923V11.4905C3.5 10.9853 3.675 10.5577 4.025 10.2077Z",fill:"currentColor"}),i.createElement("path",{d:"M11.3848 9.68275V7.5H12.8848V9.68275H15V11.1827H12.8848V13.2307H11.3848V11.1827H9.26925V9.68275H11.3848Z",fill:"currentColor"})),add_column:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.70775 4.025C9.35775 4.375 9.18275 4.80258 9.18275 5.30775V6.5H10.6827V5.30775C10.6827 5.21792 10.7116 5.14417 10.7693 5.0865C10.8269 5.02883 10.9007 5 10.9905 5H15.6923C15.7821 5 15.8558 5.02883 15.9135 5.0865C15.9712 5.14417 16 5.21792 16 5.30775V18.6923C16 18.7821 15.9712 18.8558 15.9135 18.9135C15.8558 18.9712 15.7821 19 15.6923 19H10.9905C10.9007 19 10.8269 18.9712 10.7693 18.9135C10.7116 18.8558 10.6827 18.7821 10.6827 18.6923V17.6923H9.18275V18.6923C9.18275 19.1974 9.35775 19.625 9.70775 19.975C10.0577 20.325 10.4853 20.5 10.9905 20.5H15.6923C16.1974 20.5 16.625 20.325 16.975 19.975C17.325 19.625 17.5 19.1974 17.5 18.6923V5.30775C17.5 4.80258 17.325 4.375 16.975 4.025C16.625 3.675 16.1974 3.5 15.6923 3.5H10.9905C10.4853 3.5 10.0577 3.675 9.70775 4.025Z",fill:"currentColor"}),i.createElement("path",{d:"M9.18275 11.3848H7V12.8848H9.18275V15H10.6827V12.8848H12.7307V11.3848H10.6827V9.26925H9.18275V11.3848Z",fill:"currentColor"})),insert_col_left:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M13.0001 20.1152H8.67713H8.75388H8.69238H13.0001ZM7.19238 19.8075C7.19238 20.3127 7.36738 20.7402 7.71738 21.0902C8.06738 21.4402 8.49497 21.6152 9.00013 21.6152H12.6924C13.1975 21.6152 13.6251 21.4402 13.9751 21.0902C14.3251 20.7402 14.5001 20.3127 14.5001 19.8075V10.423H13.0001V19.8075C13.0001 19.8973 12.9713 19.9711 12.9136 20.0287C12.856 20.0864 12.7822 20.1152 12.6924 20.1152H9.00013C8.9103 20.1152 8.83655 20.0864 8.77888 20.0287C8.72122 19.9711 8.69238 19.8973 8.69238 19.8075V4.69223C8.26422 4.74357 7.90722 4.93299 7.62138 5.26048C7.33538 5.58798 7.19238 5.97548 7.19238 6.42298V19.8075ZM13.0001 2.49998V4.61523H10.8846V6.11523H13.0001V8.23073H14.5001V6.11523H16.6154V4.61523H14.5001V2.49998H13.0001Z",fill:"currentColor"})),insert_row_above:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M20.1152 9.99987V14.3229V14.2461V14.3076V9.99987ZM19.8075 15.8076C20.3127 15.8076 20.7402 15.6326 21.0902 15.2826C21.4402 14.9326 21.6152 14.505 21.6152 13.9999V10.3076C21.6152 9.80245 21.4402 9.37487 21.0902 9.02487C20.7402 8.67487 20.3127 8.49987 19.8075 8.49987H10.423V9.99987H19.8075C19.8973 9.99987 19.9711 10.0287 20.0287 10.0864C20.0864 10.144 20.1152 10.2178 20.1152 10.3076V13.9999C20.1152 14.0897 20.0864 14.1635 20.0287 14.2211C19.9711 14.2788 19.8973 14.3076 19.8075 14.3076H4.69223C4.74357 14.7358 4.93299 15.0928 5.26048 15.3786C5.58798 15.6646 5.97548 15.8076 6.42298 15.8076H19.8075ZM2.49998 9.99987H4.61523V12.1154H6.11523V9.99987H8.23073V8.49987H6.11523V6.38462H4.61523V8.49987H2.49998V9.99987Z",fill:"currentColor"})),insert_row_below:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M20.1152 14.1924V9.86939V9.94614V9.88464V14.1924ZM19.8075 8.38464C20.3127 8.38464 20.7402 8.55964 21.0902 8.90964C21.4402 9.25964 21.6152 9.68723 21.6152 10.1924V13.8846C21.6152 14.3898 21.4402 14.8174 21.0902 15.1674C20.7402 15.5174 20.3127 15.6924 19.8075 15.6924H10.423V14.1924H19.8075C19.8973 14.1924 19.9711 14.1636 20.0287 14.1059C20.0864 14.0482 20.1152 13.9745 20.1152 13.8846V10.1924C20.1152 10.1026 20.0864 10.0288 20.0287 9.97114C19.9711 9.91348 19.8973 9.88464 19.8075 9.88464H4.69223C4.74357 9.45648 4.93299 9.09948 5.26048 8.81364C5.58798 8.52764 5.97548 8.38464 6.42298 8.38464H19.8075ZM2.49998 14.1924H4.61523V12.0769H6.11523V14.1924H8.23073V15.6924H6.11523V1
17.8076H4.61523V15.6924H2.49998V14.1924Z",fill:"currentColor"})),insert_col_right:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M10.8075 20.1152H15.1305H15.0537H15.1152H10.8075ZM16.6152 19.8075C16.6152 20.3127 16.4402 20.7402 16.0902 21.0902C15.7402 21.4402 15.3127 21.6152 14.8075 21.6152H11.1152C10.6101 21.6152 10.1825 21.4402 9.83248 21.0902C9.48248 20.7402 9.30748 20.3127 9.30748 19.8075V10.423H10.8075V19.8075C10.8075 19.8973 10.8363 19.9711 10.894 20.0287C10.9517 20.0864 11.0254 20.1152 11.1152 20.1152H14.8075C14.8973 20.1152 14.9711 20.0864 15.0287 20.0287C15.0864 19.9711 15.1152 19.8973 15.1152 19.8075V4.69223C15.5434 4.74357 15.9004 4.93299 16.1862 5.26048C16.4722 5.58798 16.6152 5.97548 16.6152 6.42298V19.8075ZM10.8075 2.49998V4.61523H12.923V6.11523H10.8075V8.23073H9.30748V6.11523H7.19223V4.61523H9.30748V2.49998H10.8075Z",fill:"currentColor"})),check:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M9.54983 17.6537L4.21533 12.3192L5.28433 11.25L9.54983 15.5155L18.7153 6.34998L19.7843 7.41923L9.54983 17.6537Z",fill:"currentColor"}))};var f=n(41340),p=n(75676),g=n(58371);let m=({children:e})=>{let t=(0,r.X3)(o.u0);return i.createElement(s.p,{initialEditor:t},e)},O=()=>{let e=(0,o.Bd)(),t=(0,r.qM)(o.Xz),n=(0,r.qM)(o.N2),[l,s,d,p,g,m,O]=(0,r.uX)(o.X2,o.J2,o.GS,o.Me,o.yY,o.M0,o.sF);return i.createElement(i.Fragment,null,p.map((e,t)=>i.createElement(e,{key:t})),i.createElement(y,{wrappers:g},i.createElement("div",{className:h(f.Ay.rootContentEditableWrapper,"mdxeditor-root-contenteditable")},i.createElement(c.$,{contentEditable:i.createElement("div",{ref:e=>{n(e),t(e?{current:e}:null)},className:"mdxeditor-contenteditable-wrapper"},i.createElement(a.a,{className:h(f.Ay.contentEditable,l),ariaLabel:e("contentArea.editableMarkdown","editable markdown"),spellCheck:s})),placeholder:i.createElement("div",{className:h(f.Ay.contentEditable,f.Ay.placeholder,l)},i.createElement("p",null,m)),ErrorBoundary:u.R}))),d.map((e,t)=>i.createElement(e,{key:t})),O.map((e,t)=>i.createElement(e,{key:t})))},x={listItemIndent:"one"},b=e=>d[e];function v(e,t,n={}){let r=t;for(let[e,t]of Object.entries(n))r=r.replaceAll(`{{${e}}}`,String(t));return r}let y=({wrappers:e,children:t})=>{if(0===e.length)return i.createElement(i.Fragment,null,t);let n=e[0];return i.createElement(n,null,i.createElement(y,{wrappers:e.slice(1)},t))},k=({children:e,className:t,overlayContainer:n})=>{let l=i.useRef(null),s=i.useRef(null),a=(0,r.qM)(o.xZ),u=(0,r.qM)(o.mF);return i.useEffect(()=>{let e=document.createElement("div");return e.classList.add("mdxeditor-popup-container",f.Ay.editorRoot,f.Ay.popupContainer,...(t??"").trim().split(" ").filter(Boolean)),(n??document.body).appendChild(e),l.current=e,a(l),u(s),()=>{e.remove()}},[t,l,n,a,u]),i.createElement("div",{className:h("mdxeditor",f.Ay.editorRoot,f.Ay.editorWrapper,t),ref:s},e)},w=({onReady:e,onDispose:t})=>{let n=(0,r.LO)(),l=i.useMemo(()=>({getMarkdown:()=>{let e=n.getValue(o.n$);return"source"===e||"diff"===e?n.getValue(o.Bn):n.getValue(o.oF)},setMarkdown:e=>{n.pub(o.Sv,e)},insertMarkdown:e=>{n.pub(o.HU,e)},focus:(e,t)=>{var r;null==(r=n.getValue(o.u0))||r.focus(e,t)},getContentEditableHTML:()=>{var e;return(null==(e=n.getValue(o.Xz))?void 0:e.current.innerHTML)??""},getSelectionMarkdown:()=>{let e=n.getValue(o.n$);if("source"===e||"diff"===e)return"";let t=n.getValue(o.Cp);if(!t)return"";let r=n.getValue(o.IJ),i=n.getValue(o.dY),l=n.getValue(o.Jf),s=n.getValue(o.X_),a=n.getValue(o.nK);return(0,g.kI)(t,{visitors:r,toMarkdownExtensions:i,toMarkdownOptions:l,jsxComponentDescriptors:s,jsxIsAvailable:a})}}),[n]);return i.useLayoutEffect(()=>(e(l),()=>{t(l)}),[l,t,e]),null},S=i.forwardRef((e,t)=>{let n=i.useRef(null),r=i.useRef(null),s=i.useRef([]),a=i.useRef(!1===e.trim?e.markdown:e.markdown.trim()),u=i.useCallback(e=>{let t=n.current;t&&null===r.current?e(t):s.current.push(e)},[]),c=i.useMemo(()=>({getMarkdown:()=>{var e;return(null==(e=n.current)?void 0:e.getMarkdown())??a.current},setMarkdown:e=>{a.current=e,u(t=>{t.setMarkdown(e)})},insertMarkdown:e=>{u(t=>{t.insertMarkdown(e)})},focus:(e,t)=>{u(n=>{n.focus(e,t)})},getContentEditableHTML:()=>{var e;return(null==(e=n.current)?void 0:e.getContentEditableHTML())??""},getSelectionMarkdown:()=>{var e;return(null==(e=n.current)?void 0:e.getSelectionMarkdown())??""}}),[u]),h=i.useCallback(e=>{if(n.current=e,r.current===e)return;if(0===s.current.length){a.current=e.getMarkdown();return}r.current=e;let t=()=>{if(n.current!==e){r.current===e&&(r.current=null);return}let i=s.current.shift();if(!i){r.current=null,a.current=e.getMarkdown();return}i(e),queueMicrotask(t)};t()},[]),d=i.useCallback(e=>{n.current===e&&(a.current=e.getMarkdown(),n.current=null)},[]);return i.useImperativeHandle(t,()=>c,[c]),i.createElement(l.g,{plugins:[(0,o.LH)({contentEditableClassName:e.contentEditableClassName??"",spellCheck:e.spellCheck??!0,initialMarkdown:e.markdown,onChange:e.onChange??p.lQ,onBlur:e.onBlur??p.lQ,toMarkdownOptions:e.toMarkdownOptions??x,autoFocus:e.autoFocus??!1,placeholder:e.placeholder??"",readOnly:!!e.readOnly,iconComponentFor:e.iconComponentFor??b,suppressHtmlProcessing:e.suppressHtmlProcessing??!1,onError:e.onError??p.lQ,translation:e.translation??v,trim:e.trim??!0,lexicalTheme:e.lexicalTheme,..."editorState"in e?{editorState:e.editorState}:{},suppressSharedHistory:e.suppressSharedHistory??!1,additionalLexicalNodes:e.additionalLexicalNodes??[],lexicalEditorNamespace:e.lexicalEditorNamespace??"MDXEditor"}),...e.plugins??[]]},i.createElement(k,{className:e.className,overlayContainer:e.overlayContainer},i.createElement(m,null,i.createElement(O,null))),i.createElement(w,{onReady:h,onDispose:d}))})},25953:(e,t,n)=>{"use strict";n.d(t,{BN:()=>i,E3:()=>r,xT:()=>u});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:'"'},o="u">typeof navigator&&/Mac/.test(navigator.platform),l="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 u(e){var t=!(o&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||l&&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}},26475:(e,t,n)=>{"use strict";n.d(t,{Eq:()=>u});var r=new WeakMap,i=new WeakMap,o={},l=0,s=function(e){return e&&(e.host||s(e.parentNode))},a=function(e,t,n,a){var u=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=s(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});o[n]||(o[n]=new WeakMap);var c=o[n],h=[],d=new Set,f=new Set(u),p=function(e){!e||d.has(e)||(d.add(e),p(e.parentNode))};u.forEach(p);var g=function(e){!e||f.has(e)||Array.prototype.forEach.call(e.children,function(e){if(d.has(e))g(e);else try{var t=e.getAttribute(a),o=null!==t&&"false"!==t,l=(r.get(e)||0)+1,s=(c.get(e)||0)+1;r.set(e,l),c.set(e,s),h.push(e),1===l&&o&&i.set(e,!0),1===s&&e.setAttribute(n,"true"),o||e.setAttribute(a,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return g(t),d.clear(),l++,function(){h.forEach(function(e){var t=r.get(e)-1,o=c.get(e)-1;r.set(e,t),c.set(e,o),t||(i.has(e)||e.removeAttribute(a),i.delete(e)),o||e.removeAttribute(n)}),--l||(r=new WeakMap,r=new WeakMap,i=new WeakMap,o={})}},u=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),a(r,i,n,"aria-hidden")):function(){return null}}}
1,27514:(e,t,n)=>{"use strict";n.d(t,{l6:()=>eZ});var r=n(7620),i=n(97509);function o(e,[t,n]){return Math.min(n,Math.max(t,e))}(0,Object.defineProperty)(o,"name",{value:"clamp",configurable:!0});var l=n(41074),s=n(97653),a=n(89324),u=n(3678),c=n(80792),h=n(13141),d=n(46748),f=n(90124),p=n(86476),g=n(3924),m=n(72691),O=n(40444),x=n(70488),b=n(81541),v=n(85484),y=n(88932),k=n(66203);function w(e){let t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}(0,Object.defineProperty)(w,"name",{value:"usePrevious",configurable:!0});var S=n(12687),C=n(26475),P=n(19681),$=n(54568),Q=Object.defineProperty,_=(e,t)=>Q(e,"name",{value:t,configurable:!0}),T=[" ","Enter","ArrowUp","ArrowDown"],A=[" ","Enter"],E="Select",[Z,R,j]=(0,s.N)(E),[M,L]=(0,u.A)(E,[j,g.Bk]),I=(0,g.Bk)(),[X,N]=M(E),[V,D]=M(E);function z(e){let{__scopeSelect:t,children:n,open:i,defaultOpen:o,onOpenChange:l,value:s,defaultValue:a,onValueChange:u,dir:h,name:d,autoComplete:f,disabled:m,required:O,form:x,internal_do_not_use_render:b}=e,v=I(t),[k,w]=r.useState(null),[S,C]=r.useState(null),[P,Q]=r.useState(!1),T=(0,c.jH)(h),[A,R]=(0,y.i)({prop:i,defaultProp:o??!1,onChange:l,caller:E}),[j,M]=(0,y.i)({prop:s,defaultProp:a,onChange:u,caller:E}),L=r.useRef(null),N=r.useRef(j);r.useEffect(()=>{let e=x?k?.ownerDocument.getElementById(x):k?.form;if(e instanceof HTMLFormElement){let t=_(()=>M(N.current),"reset");return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[x,k,M]);let D=!k||!!x||!!k.closest("form"),[z,q]=r.useState(new Set),B=(0,p.B)(),F=Array.from(z).map(e=>e.props.value).join(";"),Y=r.useCallback(e=>{q(t=>new Set(t).add(e))},[]),U=r.useCallback(e=>{q(t=>{let n=new Set(t);return n.delete(e),n})},[]),W={required:O,trigger:k,onTriggerChange:w,valueNode:S,onValueNodeChange:C,valueNodeHasChildren:P,onValueNodeHasChildrenChange:Q,contentId:B,value:j,onValueChange:M,open:A,onOpenChange:R,dir:T,triggerPointerDownPosRef:L,disabled:m,name:d,autoComplete:f,form:x,nativeOptions:z,nativeSelectKey:F,isFormControl:D};return(0,$.jsx)(g.bL,{...v,children:(0,$.jsx)(X,{scope:t,...W,children:(0,$.jsx)(Z.Provider,{scope:t,children:(0,$.jsx)(V,{scope:t,onNativeOptionAdd:Y,onNativeOptionRemove:U,children:ev(b)?b(W):n})})})})}_(z,"SelectProvider");var q=_(e=>{let{__scopeSelect:t,children:n,...r}=e;return(0,$.jsx)(z,{__scopeSelect:t,...r,internal_do_not_use_render:({isFormControl:e})=>(0,$.jsxs)($.Fragment,{children:[n,e?(0,$.jsx)(eb,{__scopeSelect:t}):null]})})},"Select"),B=r.forwardRef(_(function(e,t){let{__scopeSelect:n,disabled:i=!1,...o}=e,s=I(n),u=N("SelectTrigger",n),c=u.disabled||i,h=(0,a.s)(t,u.onTriggerChange),d=R(n),f=r.useRef("touch"),[p,m,O]=ek(e=>{let t=d().filter(e=>!e.disabled),n=t.find(e=>e.value===u.value),r=ew(t,e,n);void 0!==r&&u.onValueChange(r.value)}),b=_(e=>{c||(u.onOpenChange(!0),O()),e&&(u.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})},"handleOpen");return(0,$.jsx)(g.Mz,{asChild:!0,...s,children:(0,$.jsx)(x.sG.button,{type:"button",role:"combobox","aria-controls":u.open?u.contentId:void 0,"aria-expanded":u.open,"aria-required":u.required,"aria-autocomplete":"none",dir:u.dir,"data-state":u.open?"open":"closed",disabled:c,"data-disabled":c?"":void 0,"data-placeholder":ey(u.value)?"":void 0,...o,ref:h,onClick:(0,l.mK)(o.onClick,e=>{e.currentTarget.focus(),"mouse"!==f.current&&b(e)}),onPointerDown:(0,l.mK)(o.onPointerDown,e=>{f.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(b(e),e.preventDefault())}),onKeyDown:(0,l.mK)(o.onKeyDown,e=>{let t=""!==p.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||m(e.key),(!t||" "!==e.key)&&T.includes(e.key)&&(b(),e.preventDefault())})})})},"SelectTrigger")),F=r.forwardRef(_(function(e,t){let{__scopeSelect:n,className:i,style:o,children:l,placeholder:s="",...u}=e,c=N("SelectValue",n),{onValueNodeHasChildrenChange:h}=c,d=void 0!==l,f=(0,a.s)(t,c.onValueNodeChange);(0,k.N)(()=>{h(d)},[h,d]);let p=ey(c.value);return(0,$.jsx)(x.sG.span,{...u,asChild:!p&&u.asChild,ref:f,style:{pointerEvents:"none"},children:(0,$.jsx)(r.Fragment,{children:p?s:l},p?"placeholder":"value")})},"SelectValue")),Y=r.forwardRef(_(function(e,t){let{__scopeSelect:n,children:r,...i}=e;return(0,$.jsx)(x.sG.span,{"aria-hidden":!0,...i,ref:t,children:r||"â¼"})},"SelectIcon")),[U,W]=M("SelectPortal",{forceMount:void 0}),H=_(e=>{let{__scopeSelect:t,forceMount:n,...r}=e;return(0,$.jsx)(U,{scope:e.__scopeSelect,forceMount:n,children:(0,$.jsx)(m.Z,{asChild:!0,...r})})},"SelectPortal"),G="SelectContent",J=r.forwardRef(_(function(e,t){let n=W(G,e.__scopeSelect),{forceMount:i=n.forceMount,...o}=e,l=N(G,e.__scopeSelect),[s,a]=r.useState();return(0,k.N)(()=>{a(new DocumentFragment)},[]),(0,$.jsx)(O.C,{present:i||l.open,children:({present:e})=>e?(0,$.jsx)(er,{...o,ref:t}):(0,$.jsx)(K,{...o,fragment:s})})},"SelectContent")),K=r.forwardRef(_(function(e,t){let{__scopeSelect:n,children:r,fragment:o}=e;return o?i.createPortal((0,$.jsx)(ee,{scope:n,children:(0,$.jsx)(Z.Slot,{scope:n,children:(0,$.jsx)("div",{ref:t,children:r})})}),o):null},"SelectContentFragment")),[ee,et]=M(G),en=(0,b.TL)("SelectContent.RemoveScroll"),er=r.forwardRef(_(function(e,t){let{__scopeSelect:n}=e,{position:i="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:s,onPointerDownOutside:u,side:c,sideOffset:p,align:g,alignOffset:m,arrowPadding:O,collisionBoundary:x,collisionPadding:b,sticky:v,hideWhenDetached:y,avoidCollisions:k,...w}=e,S=N(G,n),[Q,T]=r.useState(null),[A,E]=r.useState(null),Z=(0,a.s)(t,T),[j,M]=r.useState(null),[L,I]=r.useState(null),X=R(n),[V,D]=r.useState(!1),z=r.useRef(!1);r.useEffect(()=>{if(Q)return(0,C.Eq)(Q)},[Q]),(0,d.Oh)();let q=r.useCallback(e=>{let[t,...n]=X().map(e=>e.ref.current),[r]=n.slice(-1),i=document.activeElement;for(let n of e)if(n===i||(n?.scrollIntoView({block:"nearest"}),n===t&&A&&(A.scrollTop=0),n===r&&A&&(A.scrollTop=A.scrollHeight),n?.focu
1s(),document.activeElement!==i))return},[X,A]),B=r.useCallback(()=>q([j,Q]),[q,j,Q]);r.useEffect(()=>{V&&B()},[V,B]);let{onOpenChange:F,triggerPointerDownPosRef:Y}=S;r.useEffect(()=>{if(Q){let e={x:0,y:0},t=_(t=>{e={x:Math.abs(Math.round(t.pageX)-(Y.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(Y.current?.y??0))}},"handlePointerMove"),n=_(n=>{e.x<=10&&e.y<=10?n.preventDefault():n.composedPath().includes(Q)||F(!1),document.removeEventListener("pointermove",t),Y.current=null},"handlePointerUp");return null!==Y.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[Q,F,Y]),r.useEffect(()=>{let e=_(()=>F(!1),"close");return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[F]);let[U,W]=ek(e=>{let t=X().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=ew(t,e,n);r&&setTimeout(()=>r.ref.current?.focus())}),H=r.useCallback((e,t,n)=>{let r=!z.current&&!n;(void 0!==S.value&&S.value===t||r)&&(M(e),r&&(z.current=!0))},[S.value]),J=r.useCallback(()=>Q?.focus(),[Q]),K=r.useCallback((e,t,n)=>{let r=!z.current&&!n;(void 0!==S.value&&S.value===t||r)&&I(e)},[S.value]),et="popper"===i?eo:ei;return(0,$.jsx)(ee,{scope:n,content:Q,viewport:A,onViewportChange:E,itemRefCallback:H,selectedItem:j,onItemLeave:J,itemTextRefCallback:K,focusSelectedItem:B,selectedItemText:L,position:i,isPositioned:V,searchRef:U,children:(0,$.jsx)(P.A,{as:en,allowPinchZoom:!0,children:(0,$.jsx)(f.n,{asChild:!0,trapped:S.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,l.mK)(o,e=>{S.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,$.jsx)(h.qW,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>S.onOpenChange(!1),children:(0,$.jsx)(et,{role:"listbox",id:S.contentId,"data-state":S.open?"open":"closed",dir:S.dir,onContextMenu:e=>e.preventDefault(),...w,...et===eo?{side:c,sideOffset:p,align:g,alignOffset:m,arrowPadding:O,collisionBoundary:x,collisionPadding:b,sticky:v,hideWhenDetached:y,avoidCollisions:k}:{},onPlaced:()=>D(!0),ref:Z,style:{display:"flex",flexDirection:"column",outline:"none",...w.style},onKeyDown:(0,l.mK)(w.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||W(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=X().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>q(t)),e.preventDefault()}})})})})})})},"SelectContentImpl")),ei=r.forwardRef(_(function(e,t){let{__scopeSelect:n,onPlaced:i,...l}=e,s=N(G,n),u=et(G,n),[c,h]=r.useState(null),[d,f]=r.useState(null),p=(0,a.s)(t,f),g=R(n),m=r.useRef(!1),O=r.useRef(!0),{viewport:b,selectedItem:v,selectedItemText:y,focusSelectedItem:w}=u,S=r.useCallback(()=>{if(s.trigger&&s.valueNode&&c&&d&&b&&v&&y){let e=s.trigger.getBoundingClientRect(),t=d.getBoundingClientRect(),n=s.valueNode.getBoundingClientRect(),r=y.getBoundingClientRect();if("rtl"!==s.dir){let i=r.left-t.left,l=n.left-i,s=e.left-l,a=e.width+s,u=Math.max(a,t.width),h=o(l,[10,Math.max(10,window.innerWidth-10-u)]);c.style.minWidth=a+"px",c.style.left=h+"px"}else{let i=t.right-r.right,l=window.innerWidth-n.right-i,s=window.innerWidth-e.right-l,a=e.width+s,u=Math.max(a,t.width),h=o(l,[10,Math.max(10,window.innerWidth-10-u)]);c.style.minWidth=a+"px",c.style.right=h+"px"}let l=g(),a=window.innerHeight-20,u=b.scrollHeight,h=window.getComputedStyle(d),f=parseInt(h.borderTopWidth,10),p=parseInt(h.paddingTop,10),O=parseInt(h.borderBottomWidth,10),x=f+p+u+parseInt(h.paddingBottom,10)+O,k=Math.min(5*v.offsetHeight,x),w=window.getComputedStyle(b),S=parseInt(w.paddingTop,10),C=parseInt(w.paddingBottom,10),P=e.top+e.height/2-10,$=v.offsetHeight/2,Q=f+p+(v.offsetTop+$);if(Q<=P){let e=l.length>0&&v===l[l.length-1].ref.current;c.style.bottom="0px";let t=Math.max(a-P,$+(e?C:0)+(d.clientHeight-b.offsetTop-b.offsetHeight)+O);c.style.height=Q+t+"px"}else{let e=l.length>0&&v===l[0].ref.current;c.style.top="0px";let t=Math.max(P,f+b.offsetTop+(e?S:0)+$);c.style.height=t+(x-Q)+"px",b.scrollTop=Q-P+b.offsetTop}c.style.margin="10px 0",c.style.minHeight=k+"px",c.style.maxHeight=a+"px",i?.(),requestAnimationFrame(()=>m.current=!0)}},[g,s.trigger,s.valueNode,c,d,b,v,y,s.dir,i]);(0,k.N)(()=>S(),[S]);let[C,P]=r.useState();(0,k.N)(()=>{d&&P(window.getComputedStyle(d).zIndex)},[d]);let Q=r.useCallback(e=>{e&&!0===O.current&&(S(),w?.(),O.current=!1)},[S,w]);return(0,$.jsx)(el,{scope:n,contentWrapper:c,shouldExpandOnScrollRef:m,onScrollButtonChange:Q,children:(0,$.jsx)("div",{ref:h,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:C},children:(0,$.jsx)(x.sG.div,{...l,ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...l.style}})})})},"SelectItemAlignedPosition")),eo=r.forwardRef(_(function(e,t){let{__scopeSelect:n,align:r="start",collisionPadding:i=10,...o}=e,l=I(n);return(0,$.jsx)(g.UC,{...l,...o,ref:t,align:r,collisionPadding:i,style:{boxSizing:"border-box",...o.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})},"SelectPopperPosition")),[el,es]=M(G,{}),ea="SelectViewport",eu=r.forwardRef(_(function(e,t){let{__scopeSelect:n,nonce:i,...o}=e,s=et(ea,n),u=es(ea,n),c=(0,a.s)(t,s.onViewportChange),h=r.useRef(0);return(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:i}),(0,$.jsx)(Z.Slot,{scope:n,children:(0,$.jsx)(x.sG.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:c,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:(0,l.mK)(o.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=u;if(r?.current&&n){let e=Math.abs(h.current-t.scrollTop);if(e>0){let r=window.innerHeight-20,i=Math.max(parseFloat(n.style.minHeight),parseFloat(n.style.height));if(i<r){let o=i+e,l=Math.min(r,o),s=o-l;n.style.height=l+"px","0px"===n.style.bottom&&(t.scrollTop=s>0?s:0,n.style.justifyContent="flex-end")}}}h.current=t.scrollTop})})})]})}
1,"SelectViewport")),[ec,eh]=M("SelectGroup"),ed="SelectItem",[ef,ep]=M(ed),eg=r.forwardRef(_(function(e,t){let{__scopeSelect:n,value:i,disabled:o=!1,textValue:s,...u}=e,c=N(ed,n),h=et(ed,n),d=c.value===i,[f,g]=r.useState(s??""),[m,O]=r.useState(!1),b=(0,v.c)(e=>h.itemRefCallback?.(e,i,o)),y=(0,a.s)(t,b),k=(0,p.B)(),w=r.useRef("touch"),S=_(()=>{o||(c.onValueChange(i),c.onOpenChange(!1))},"handleSelect");return(0,$.jsx)(ef,{scope:n,value:i,disabled:o,textId:k,isSelected:d,onItemTextChange:r.useCallback(e=>{g(t=>t||(e?.textContent??"").trim())},[]),children:(0,$.jsx)(Z.ItemSlot,{scope:n,value:i,disabled:o,textValue:f,children:(0,$.jsx)(x.sG.div,{role:"option","aria-labelledby":k,"data-highlighted":m?"":void 0,"aria-selected":d&&m,"data-state":d?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...u,ref:y,onFocus:(0,l.mK)(u.onFocus,()=>O(!0)),onBlur:(0,l.mK)(u.onBlur,()=>O(!1)),onClick:(0,l.mK)(u.onClick,()=>{"mouse"!==w.current&&S()}),onPointerUp:(0,l.mK)(u.onPointerUp,()=>{"mouse"===w.current&&S()}),onPointerDown:(0,l.mK)(u.onPointerDown,e=>{w.current=e.pointerType}),onPointerMove:(0,l.mK)(u.onPointerMove,e=>{w.current=e.pointerType,o?h.onItemLeave?.():"mouse"===w.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,l.mK)(u.onPointerLeave,e=>{e.currentTarget===document.activeElement&&h.onItemLeave?.()}),onKeyDown:(0,l.mK)(u.onKeyDown,e=>{o||e.target!==e.currentTarget||(h.searchRef?.current===""||" "!==e.key)&&(A.includes(e.key)&&S()," "===e.key&&e.preventDefault())})})})})},"SelectItem")),em="SelectItemText",eO=r.forwardRef(_(function(e,t){let{__scopeSelect:n,className:o,style:l,...s}=e,u=N(em,n),c=et(em,n),h=ep(em,n),d=D(em,n),[f,p]=r.useState(null),g=(0,v.c)(e=>c.itemTextRefCallback?.(e,h.value,h.disabled)),m=(0,a.s)(t,p,h.onItemTextChange,g),O=f?.textContent,b=r.useMemo(()=>(0,$.jsx)("option",{value:h.value,disabled:h.disabled,children:O},h.value),[h.disabled,h.value,O]),{onNativeOptionAdd:y,onNativeOptionRemove:w}=d;return(0,k.N)(()=>(y(b),()=>w(b)),[y,w,b]),(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(x.sG.span,{id:h.textId,...s,ref:m}),h.isSelected&&u.valueNode&&!u.valueNodeHasChildren&&!ey(u.value)?i.createPortal(s.children,u.valueNode):null]})},"SelectItemText")),ex=r.forwardRef(_(function(e,t){let{__scopeSelect:n,...r}=e;return(0,$.jsx)(x.sG.div,{"aria-hidden":!0,...r,ref:t})},"SelectSeparator")),eb=r.forwardRef(_(function({__scopeSelect:e,...t},n){let i=N("SelectBubbleInput",e),{value:o,onValueChange:l,required:s,disabled:u,name:c,autoComplete:h,form:d}=i,{nativeOptions:f,nativeSelectKey:p}=i,g=r.useRef(null),m=(0,a.s)(n,g),O=o??"",b=w(O),v=Array.from(f).some(e=>(e.props.value??"")==="");return r.useEffect(()=>{let e=g.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(b!==O&&t){let n=new Event("change",{bubbles:!0});t.call(e,O),e.dispatchEvent(n)}},[b,O]),(0,$.jsxs)(x.sG.select,{"aria-hidden":!0,required:s,tabIndex:-1,name:c,autoComplete:h,disabled:u,form:d,onChange:e=>l(e.target.value),...t,style:{...S.Qg,...t.style},ref:m,defaultValue:O,children:[ey(o)&&!v?(0,$.jsx)("option",{value:""}):null,Array.from(f)]},p)},"SelectBubbleInput"));function ev(e){return"function"==typeof e}function ey(e){return""===e||void 0===e}function ek(e){let t=(0,v.c)(e),n=r.useRef(""),i=r.useRef(0),o=r.useCallback(e=>{t(n.current+e)},[t]),l=r.useCallback(()=>{n.current="",window.clearTimeout(i.current)},[]);return r.useEffect(()=>()=>window.clearTimeout(i.current),[]),[n,o,l]}function ew(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,o=eS(e,Math.max(i,0));1===r.length&&(o=o.filter(e=>e!==n));let l=o.find(e=>e.textValue.toLowerCase().startsWith(r.toLowerCase()));return l!==n?l:void 0}function eS(e,t){return e.map((n,r)=>e[(t+r)%e.length])}_(ev,"isFunction"),_(ey,"shouldShowPlaceholder"),_(ek,"useTypeaheadSearch"),_(ew,"findNextItem"),_(eS,"wrapArray");var eC=n(3793),eP=n(41340),e$=n(32975),eQ=n(60554),e_=n(6353);let eT=r.forwardRef(({children:e,className:t,...n},i)=>r.createElement(eg,{...n,ref:i,className:eC(t,eP.Ay.selectItem)},r.createElement(eO,null,e))),eA=({title:e,placeholder:t,className:n})=>
1{let[i,o]=(0,e_.uX)(eQ.pc,eQ.yr);return r.createElement(e$.I,{title:e},r.createElement(B,{"aria-label":t,className:eC(eP.Ay.selectTrigger,n),"data-toolbar-item":!0,disabled:i},r.createElement(F,{placeholder:t}),r.createElement(Y,{className:eP.Ay.selectDropdownArrow},o("arrow_drop_down"))))},eE=({children:e,className:t=eP.Ay.selectContainer})=>{let n=(0,e_.X3)(eQ.xZ);return r.createElement(H,{container:null==n?void 0:n.current},r.createElement(J,{className:eC(t,"mdxeditor-select-content"),onCloseAutoFocus:e=>{e.preventDefault()},position:"popper"},r.createElement(eu,{"data-editor-dropdown":!0,style:{maxHeight:"var(--radix-select-content-available-height)"}},e)))},eZ=e=>r.createElement(q,{value:e.value||"",onValueChange:e.onChange,disabled:e.disabled},r.createElement(eA,{title:e.triggerTitle,placeholder:e.placeholder}),r.createElement(eE,null,e.items.map((e,t)=>"separator"===e?r.createElement(ex,{key:t}):r.createElement(eT,{key:t,value:e.value},e.label))))},28465:(e,t,n)=>{"use strict";n.d(t,{DE:()=>Q,GO:()=>A,HY:()=>_,Js:()=>Y,Mz:()=>w,YW:()=>x,cz:()=>F,g2:()=>a,i:()=>k,mJ:()=>T,q7:()=>z,uS:()=>B,v5:()=>S,x:()=>q});var r=n(97029),i=n(26874),o=n(16729),l=n(82579);function s(e,...t){let n=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;for(let n of(r.append("code",e),t))r.append("v",n);throw n.search=r.toString(),Error(`Minified Lexical error #${e}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}function a(e){let t=1,n=e.getParent();for(;null!=n;){if(w(n)){let e=n.getParent();if(_(e)){t++,n=e.getParent();continue}s(40)}break}return t}function u(e){let t=e.getParent();_(t)||s(40);let n=t,r=t;for(;null!==r;)_(r=r.getParent())&&(n=r);return n}function c(e){return w(e)&&_(e.getFirstChild())}function h(e,t){return w(e)&&(0===t.length||1===t.length&&e.is(t[0])&&0===e.getChildrenSize())}function d(e){let t=(0,i.vJq)();if(null!==t){let n=t.getNodes();if((0,i.I2P)(t)){let[r]=t.getStartEndPoints(),o=r.getNode(),l=o.getParent();if((0,i.IqF)(o)){let e=o.getFirstChild();if(e)n=e.selectStart().getNodes();else{let e=(0,i.lJ7)();o.append(e),n=e.select().getNodes()}}else if(h(o,n)){let t=Q(e);if((0,i.IqF)(l)){o.replace(t);let e=k();(0,i.ff4)(o)&&(e.setFormat(o.getFormatType()),e.setIndent(o.getIndent())),t.append(e)}else if(w(o)){let e=o.getParentOrThrow();f(t,e.getChildren()),e.replace(t)}return}}let r=new Set;for(let t=0;t<n.length;t++){let o=n[t];if((0,i.ff4)(o)&&o.isEmpty()&&!w(o)&&!r.has(o.getKey())){p(o,e);continue}let l=(0,i.jG6)(o)?o.getParent():w(o)&&o.isEmpty()?o:null;for(;null!=l;){let t=l.getKey();if(_(l)){if(!r.has(t)){let n=Q(e);f(n,l.getChildren()),l.replace(n),r.add(t)}break}{let n=l.getParent();if((0,i.IqF)(n)&&!r.has(t)){r.add(t),p(l,e);break}l=n}}}}}function f(e,t){e.splice(e.getChildrenSize(),0,t)}function p(e,t){let n;if(_(e))return e;let r=e.getPreviousSibling(),o=e.getNextSibling(),l=k();
1if(f(l,e.getChildren()),_(r)&&t===r.getListType())r.append(l),_(o)&&t===o.getListType()&&(f(r,o.getChildren()),o.remove()),n=r;else if(_(o)&&t===o.getListType())o.getFirstChildOrThrow().insertBefore(l),n=o;else{let r=Q(t);r.append(l),e.replace(r),n=r}l.setFormat(e.getFormatType()),l.setIndent(e.getIndent());let s=(0,i.vJq)();return(0,i.I2P)(s)&&(n.getKey()===s.anchor.key&&s.anchor.set(l.getKey(),s.anchor.offset,"element"),n.getKey()===s.focus.key&&s.focus.set(l.getKey(),s.focus.offset,"element")),e.remove(),n}function g(e,t){let n=e.getLastChild(),r=t.getFirstChild();n&&r&&c(n)&&c(r)&&(g(n.getFirstChild(),r.getFirstChild()),r.remove());let i=t.getChildren();i.length>0&&e.append(...i),t.remove()}function m(e){let t="check"!==e.getListType(),n=e.getStart();for(let r of e.getChildren())w(r)&&(r.getValue()!==n&&r.setValue(n),t&&null!=r.getLatest().__checked&&r.setChecked(void 0),_(r.getFirstChild())||n++)}function O(e){if(c(e))return;let t=e.getParent(),n=t?t.getParent():void 0;if(_(n?n.getParent():void 0)&&w(n)&&_(t)){let r=t?t.getFirstChild():void 0,o=t?t.getLastChild():void 0;if(e.is(r))n.insertBefore(e),t.isEmpty()&&n.remove();else if(e.is(o))n.insertAfter(e),t.isEmpty()&&n.remove();else{let r=(0,i.CHU)(e),o=(0,i.CHU)(t);
1r.append(o),e.getPreviousSiblings().forEach(e=>o.append(e));let l=(0,i.CHU)(e),s=(0,i.CHU)(t);l.append(s),f(s,e.getNextSiblings()),n.insertBefore(r),n.insertAfter(l),n.replace(e)}}}class x extends i.fGB{__value;__checked;$config(){return this.config("listitem",{$transform:e=>{let t=e.getParent();if(_(t))"check"!==t.getListType()&&null!=e.getChecked()&&e.setChecked(void 0);else if(t){let n=e.createParentElementNode();_(n)||s(340);let r=[e];for(let t of["previous","next"])for(let{origin:n}of(r.reverse(),(0,i.IlV)(e,t))){if(!w(n))break;r.push(n)}e.insertBefore(n),n.splice(0,0,r),(0,i.IqF)(t)||((0,i.rdQ)(n,(0,i.NG9)((0,i.IlV)(n,"next")),{$shouldSplit:()=>!1,removeEmptyDestination:!0}),t.isEmpty()&&t.isAttached()&&t.remove())}},extends:i.fGB,importDOM:(0,i.kBm)({li:()=>({conversion:b,priority:0})})})}constructor(e=1,t,n){super(n),this.__value=void 0===e?1:e,this.__checked=t}afterCloneFrom(e){super.afterCloneFrom(e),this.__value=e.__value,this.__checked=e.__checked}createDOM(e){let t=(0,i.A$M)().createElement("li");return this.updateListItemDOM(null,t,e),t}updateListItemDOM(e,t,n){let r;!_(r=this.getParent())||"check"!==r.getListType()||_(this.getFirstChild())?(t.removeAttribute("role"),t.removeAttribute("tabIndex"),t.removeAttribute("aria-checked")):(t.setAttribute("role","checkbox"),t.setAttribute("tabIndex","-1"),t.setAttribute("aria-checked",this.getChecked()?"true":"false")),t.value=this.__value,function(e,t,n){let r=t.list;if(!r)return;let o=r.listitem,l=r.nested&&r.nested.listitem,s=n.getParent(),a=_(s)&&"check"===s.getListType(),u=n.getChecked(),c=n.getChildren().some(e=>_(e)),h=[];void 0!==r.listitemChecked&&h.push(r.listitemChecked),void 0!==r.listitemUnchecked&&h.push(r.listitemUnchecked),void 0!==l&&h.push(...(0,i.GYG)(l)),h.length>0&&(0,i.HEf)(e,...h);let d=[];if(void 0!==o&&d.push(...(0,i.GYG)(o)),a){let e=u?r.listitemChecked:r.listitemUnchecked;void 0!==e&&d.push(e)}void 0!==l&&c&&d.push(...(0,i.GYG)(l)),d.length>0&&(0,i.ZB7)(e,...d)}(t,n.theme,this);let o=e?e.__style:"",l=this.__style;o!==l&&(0,i.brn)(t.style,l,o),function(e,t,n){let r=t.__textStyle,o=n?n.__textStyle:"";if(null!==n&&o===r)return;let l=(0,i.WhU)(r);for(let t in l)e.style.setProperty(`--listitem-marker-${t}`,l[t]);if(""!==o)for(let t in(0,i.WhU)(o))t in l||e.style.removeProperty(`--listitem-marker-${t}`)}(t,this,e)}updateDOM(e,t,n){return this.updateListItemDOM(e,t,n),!1}updateFromJSON(e){return super.updateFromJSON(e).setValue(e.value).setChecked(e.checked)}exportDOM(e){let t=this.createDOM(e._config),n=this.getFormatType();n&&(t.style.textAlign=n);let r=this.getDirection();return r&&(t.dir=r),c(this)?{after(e){if((0,i.sby)(e)){let t=e.previousElementSibling;if((0,i.sby)(t)&&"LI"===t.nodeName){for(;e.firstChild;)t.append(e.firstChild);e.remove()}}return e},element:t}:{element:t}}exportJSON(){return{...super.exportJSON(),checked:this.getChecked(),value:this.getValue()}}append(...e){for(let t=0;t<e.length;t++){let n=e[t];if((0,i.ff4)(n)&&this.canMergeWith(n)){let e=n.getChildren();this.append(...e),n.remove()}else super.append(n)}return this}replace(e,t){if(w(e))return super.replace(e);this.setIndent(0);let n=this.getParentOrThrow();if(!_(n))return e;if(n.__first===this.getKey())n.insertBefore(e);else if(n.__last===this.getKey())n.insertAfter(e);else{let t=(0,i.CHU)(n),r=this.getNextSibling();for(;r;){let e=r;r=r.getNextSibling(),t.append(e)}n.insertAfter(e),e.insertAfter(t)}let r=this.__key,o=0;if(t&&((0,i.ff4)(e)||s(139),o=e.getChildrenSize(),e.splice(o,0,this.getChildren())),t&&(0,i.ff4)(e)){let t=(0,i.vJq)();if((0,i.I2P)(t))for(let n of t.getStartEndPoints())n.key===r&&"element"===n.type&&n.set(e.getKey(),o+n.offset,"element")}return this.remove(),0===n.getChildrenSize()&&n.remove(),e}insertAfter(e,t=!0){let n=this.getParentOrThrow();if(_(n)||s(39),w(e))return super.insertAfter(e,t);let r=this.getNextSiblings();if(n.insertAfter(e,t),0!==r.length){let o=(0,i.CHU)(n);r.forEach(e=>o.append(e)),e.insertAfter(o,t)}return e}remove(e){let t=this.getPreviousSibling(),n=this.getNextSibling();super.remove(e),t&&n&&c(t)&&c(n)&&(g(t.getFirstChild(),n.getFirstChild()),n.remove())}resetOnCopyNodeFrom(e){super.resetOnCopyNodeFrom(e),e.getChecked()&&this.setChecked(!1)}insertNewAfter(e,t=!0){let n=(0,i.CHU)(this);return this.insertAfter(n,t),n}collapseAtStart(e){if(c(this))return!1;let t=this.getParentOrThrow();if(w(t.getParentOrThrow()))return O(this),!0;let n=(0,i.lJ7)().append(...this.getChildren()),r=this.getNextSiblings();if(r.length>0){let e=(0,i.CHU)(t);e.append(...r),t.insertAfter(e)}return t.insertAfter(n),this.remove(),0===t.getChildrenSize()&&t.remove(),n.selectStart(),!0}getValue(){return this.getLatest().__value}setValue(e){let t=this.getWritable();return t.__value=e,t}getChecked(){let e,t=this.getLatest(),n=this.getParent();return _(n)&&(e=n.getListType()),"check"===e?!!t.__checked:void 0}setChecked(e){let t=this.getWritable();return t.__checked=e,t}toggleChecked(){let e=this.getWritable();return e.setChecked(!e.__checked)}getIndent(){let e=this.getParent();if(null===e||!this.isAttached())return this.getLatest().__indent;let t=e.getParentOrThrow(),n=0;for(;w(t);)t=t.getParentOrThrow().getParentOrThrow(),n++;return n}setIndent(e){"number"!=typeof e&&s(117),(e=Math.floor(e))>=0||s(199);let t=this.getIndent();for(;t!==e;)t<e?(function(e){let t=new Set;if(c(e)||t.has(e.getKey()))return;let n=e.getParent(),r=e.getNextSibling(),o=e.getPreviousSibling();if(c(r)&&c(o)){let n=o.getFirstChild();if(_(n)){n.append(e);let i=r.getFirstChild();_(i)&&(f(n,i.getChildren()),r.remove(),t.add(r.getKey()))}}else if(c(r)){let t=r.getFirstChild();if(_(t)){let n=t.getFirstChild();null!==n&&n.insertBefore(e)}}
1else if(c(o)){let t=o.getFirstChild();_(t)&&t.append(e)}else if(_(n)){let t=(0,i.CHU)(e),l=(0,i.CHU)(n);t.append(l),l.append(e),o?o.insertAfter(t):r?r.insertBefore(t):n.append(t)}}(this),t++):(O(this),t--);return this}canInsertAfter(e){return w(e)}canReplaceWith(e){return w(e)}canMergeWith(e){return w(e)||(0,i.bSg)(e)}extractWithChild(e,t){if(!(0,i.I2P)(t))return!1;let n=t.anchor.getNode(),r=t.focus.getNode();return this.isParentOf(n)&&this.isParentOf(r)&&this.getTextContent().length===t.getTextContent().length}isParentRequired(){return!0}createParentElementNode(){return Q("bullet")}canMergeWhenEmpty(){return!0}}function b(e){if(e.classList.contains("task-list-item")){for(let t of e.children)if("INPUT"===t.tagName)return v(t)}if(e.classList.contains("joplin-checkbox")){for(let t of e.children)if(t.classList.contains("checkbox-wrapper")&&t.children.length>0&&"INPUT"===t.children[0].tagName)return v(t.children[0])}let t=e.getAttribute("aria-checked"),n=k("true"===t||"false"!==t&&void 0);return(0,i.Sz2)(n,e),{after:y.bind(null,n),node:(0,i.q3P)(n,e)}}function v(e){if("checkbox"!==e.getAttribute("type"))return{node:null};let t=k(e.hasAttribute("checked"));return{after:y.bind(null,t),node:t}}function y(e,t){let n=t[0];return 1===t.length&&(0,i.bSg)(n)&&!e.getFormatType()&&n.getFormatType()?(e.setFormat(n.getFormatType()),n.getChildren()):t}function k(e){return(0,i.pTq)(new x(void 0,e))}function w(e){return e instanceof x}class S extends i.fGB{__tag;__start;__listType;$config(){return this.config("list",{$transform:e=>{let t;_(t=e.getNextSibling())&&e.getListType()===t.getListType()&&g(e,t),m(e)},extends:i.fGB,importDOM:(0,i.kBm)({ol:()=>({conversion:P,priority:0}),ul:()=>({conversion:P,priority:0})})})}constructor(e="number",t=1,n){super(n);const r=$[e]||e;this.__listType=r,this.__tag="number"===r?"ol":"ul",this.__start=t}afterCloneFrom(e){super.afterCloneFrom(e),this.__listType=e.__listType,this.__tag=e.__tag,this.__start=e.__start}getTag(){return this.getLatest().__tag}setListType(e){let t=this.getWritable();return t.__listType=e,t.__tag="number"===e?"ol":"ul",t}getListType(){return this.getLatest().__listType}getStart(){return this.getLatest().__start}setStart(e){let t=this.getWritable();return t.__start=e,t}createDOM(e,t){let n=this.__tag,r=(0,i.A$M)().createElement(n);return 1!==this.__start&&r.setAttribute("start",String(this.__start)),r.__lexicalListType=this.__listType,C(r,e.theme,this),r}updateDOM(e,t,n){return e.__tag!==this.__tag||e.__listType!==this.__listType||(C(t,n.theme,this),e.__start!==this.__start&&t.setAttribute("start",String(this.__start)),!1)}updateFromJSON(e){return super.updateFromJSON(e).setListType(e.listType).setStart(e.start)}exportDOM(e){let t=this.createDOM(e._config,e);return(0,i.sby)(t)&&(1!==this.__start&&t.setAttribute("start",String(this.__start)),"check"===this.__listType&&t.setAttribute("__lexicalListType","check")),{element:t}}exportJSON(){return{...super.exportJSON(),listType:this.getListType(),start:this.getStart(),tag:this.getTag()}}canBeEmpty(){return!1}canIndent(){return!1}splice(e,t,n){let r=n;for(let e=0;e<n.length;e++){let t=n[e];w(t)||(r===n&&(r=[...n]),r[e]=this.createListItemNode().append(!(0,i.ff4)(t)||_(t)||t.isInline()?t:(0,i.sTu)(t.getTextContent())))}return super.splice(e,t,r)}extractWithChild(e){return w(e)}createListItemNode(){return k()}}function C(e,t,n){let r=[],o=[],l=t.list;if(void 0!==l){let e,t=l[`${n.__tag}Depth`]||[],s=a(n)-1,u=s%t.length,c=t[u],h=l[n.__tag],d=l.nested,f=l.checklist;if(void 0!==d&&d.list&&(e=d.list),void 0!==h&&r.push(h),void 0!==f&&"check"===n.__listType&&r.push(f),void 0!==c){r.push(...(0,i.GYG)(c));for(let e=0;e<t.length;e++)e!==u&&o.push(n.__tag+e)}if(void 0!==e){let t=(0,i.GYG)(e);s>1?r.push(...t):o.push(...t)}}o.length>0&&(0,i.HEf)(e,...o),r.length>0&&(0,i.ZB7)(e,...r)}function P(e){let t;return t=(0,i.sby)(e)&&"ol"===e.nodeName.toLowerCase()?Q("number",e.start):!function(e){if("check"===e.getAttribute("__lexicallisttype")||e.classList.contains("contains-task-list")||"1"===e.getAttribute("data-is-checklist"))return!0;for(let t of e.childNodes)if((0,i.sby)(t)&&t.hasAttribute("aria-checked"))return!0;return!1}(e)?Q("bullet"):Q("check"),(0,i.q3P)(t,e),{after:e=>(function(e,t){let n=t.createListItemNode.bind(t),r=[];for(let t=0;t<e.length;t++){let i=e[t];if(w(i)){r.push(i);let e=i.getChildren();e.length>
11&&e.forEach(e=>{_(e)&&r.push(n().append(e))})}else r.push(n().append(i))}return r})(e,t),node:t}}let $={ol:"number",ul:"bullet"};function Q(e="number",t=1){return(0,i.pTq)(new S(e,t))}function _(e){return e instanceof S}let T=(0,i.guI)("INSERT_CHECK_LIST_COMMAND");function A(e,t){let n=t&&t.disableTakeFocusOnClick||!1,r="boolean"==typeof n?()=>n:n.peek.bind(n),o=e=>{let t=e.target;if(!(0,i.sby)(t))return!1;let n=t.__lexicalCheckListLastHandled;return void 0!==n&&e.timeStamp-n<500},l=e=>{let t=e.target;(0,i.sby)(t)&&(t.__lexicalCheckListLastHandled=e.timeStamp)},s=e=>{o(e)||(l(e),Z(e,r()))},a=e=>{"touch"===e.pointerType&&(o(e)||(l(e),Z(e,r())))},u=e=>{var t;t=r(),E(e,()=>{e.preventDefault(),t&&e.stopPropagation()})};return(0,i.Sdt)(e.registerCommand(T,()=>(d("check"),!0),i.AcJ),e.registerCommand(i.bbF,t=>j(t,e,!1),i.AcJ),e.registerCommand(i.UDz,t=>j(t,e,!0),i.AcJ),e.registerCommand(i.Q$N,()=>{if(null!=R(e)){let t=e.getRootElement();return null!=t&&t.focus(),!0}return!1},i.AcJ),e.registerCommand(i.Huu,t=>{let n=R(e);return!(null==n||!e.isEditable())&&(e.update(()=>{let e=(0,i.xL4)(n);w(e)&&(t.preventDefault(),e.toggleChecked())}),!0)},i.AcJ),e.registerCommand(i.AX0,t=>e.read("latest",()=>{let n=(0,i.vJq)();if((0,i.I2P)(n)&&n.isCollapsed()){let{anchor:r}=n,o="element"===r.type;if(o||0===r.offset){let n=r.getNode(),l=(0,i.BtT)(n,e=>(0,i.ff4)(e)&&!e.isInline());if(w(l)){let r=l.getParent();if(_(r)&&"check"===r.getListType()&&(o||l.getFirstDescendant()===n)){let n=e.getElementByKey(l.__key);if(null!=n&&(0,i.bqM)(n)!==n)return n.focus(),t.preventDefault(),!0}}}}return!1}),i.AcJ),e.registerRootListener(e=>{if(null!==e)return(0,i.Sdt)((0,i.Nwr)(e,{click:s,pointerup:a}),(0,i.Nwr)(e,{mousedown:u,pointerdown:u},{capture:!0}),(0,i.K6z)(e,"touchstart",u,{capture:!0,passive:!1}))}))}function E(e,t){let n=e.target;if(!(0,i.sby)(n))return;let o=n.firstChild;if((0,i.sby)(o)&&("UL"===o.tagName||"OL"===o.tagName))return;let l=n.parentNode;if(!l||"check"!==l.__lexicalListType)return;let s=null,a=null;if("clientX"in e)s=e.clientX;else if("touches"in e){let t=e.touches;t.length>0&&(s=t[0].clientX,a="touch")}if(null==s)return;let u=n.getBoundingClientRect(),c=s/(0,r.OV)(n),h=n.ownerDocument.defaultView,d=parseFloat((h?h.getComputedStyle(n,"::before"):{width:"0px"}).width),f=32*("touch"===a||"pointerType"in e&&"touch"===e.pointerType);("rtl"===n.dir?c<u.right+f&&c>u.right-d-f:c>u.left-f&&c<u.left+d+f)&&t()}function Z(e,t){E(e,()=>{if((0,i.sby)(e.target)){let n=e.target,r=(0,i.scG)(n);null!=r&&r.isEditable()&&r.update(()=>{let e=(0,i.xL4)(n);w(e)&&(t?((0,i.JAT)(i.XI_),(0,i.JAT)(i.$c$)):n.focus(),e.toggleChecked())})}})}function R(e){let t=e.getRootElement(),n=t?(0,i.bqM)(t):null;return(0,i.sby)(n)&&"LI"===n.tagName&&null!=n.parentNode&&"check"===n.parentNode.__lexicalListType?n:null}function j(e,t,n){let r=R(t);return null!=r&&t.update(()=>{let o=(0,i.xL4)(r);if(!w(o))return;let l=function(e,t){let n=t?e.getPreviousSibling():e.getNextSibling(),r=e;for(;null==n&&w(r);)null!=(r=r.getParentOrThrow().getParent())&&(n=t?r.getPreviousSibling():r.getNextSibling());for(;w(n);){let e=t?n.getLastChild():n.getFirstChild();if(!_(e))return n;n=t?e.getLastChild():e.getFirstChild()}return null}(o,n);if(null!=l){l.selectStart();let n=t.getElementByKey(l.__key);null!=n&&(e.preventDefault(),setTimeout(()=>{n.focus()},0))}}),!1}let M=(0,l.Bu)({$import:(e,t)=>{let n;return n=(0,l.S$)(t,"ol")?Q("number",t.start):t.matches('[__lexicallisttype="check"], .contains-task-list, [data-is-checklist="1"]')||null!==t.querySelector(":scope > [aria-checked]")?Q("check"):Q("bullet"),(0,i.q3P)(n,t),[n.splice(0,0,(0,l.FD)(function(e){let t=[];for(let n of e)if(w(n)){t.push(n);let e=n.getChildren();if(e.length>1)for(let n of e)_(n)&&t.push(k().append(n))}else t.push(k().append(n));return t}(e.$importChildren(t)),t))]},match:l.VR.tag("ol","ul"),name:"@lexical/list/list"});function L(e,t){if(1!==t.length)return t;let n=t[0];return(0,i.bSg)(n)&&!e.getFormatType()&&n.getFormatType()?(e.setFormat(n.getFormatType()),n.getChildren()):t}function I(e){let t=e=>(0,l.k4)(e)&&!_(e);if(!e.some(t))return e;let n=[],r=[],o=()=>{r.length>0&&(n.push(r),r=[])};for(let l of e)t(l)?(o(),n.push((0,i.ff4)(l)?l.getChildren():[l])):r.push(l);o();let s=[];for(let e of n)s.length>0&&s.push((0,i.WKo)()),s.push(...e);return s}let X=(0,l.Bu)({$import:(e,t)=>{let n=t.getAttribute("aria-checked"),r=k("true"===n||"false"!==n&&void 0);return(0,i.Sz2)(r,t),(0,i.q3P)(r,t),[r.splice(0,0,I(L(r,e.$importChildren(t))))]},match:l.VR.tag("li"),name:"@lexical/list/li"});function N(e,t,n){let r=(0,l.S$)(n,"input")?n:n.querySelector('input[type="checkbox"]');if(!r||"checkbox"!==r.getAttribute("type"))return[];let o=k(r.hasAttribute("checked"));
1return(0,i.Sz2)(o,t),(0,i.q3P)(o,t),[o.splice(0,0,I(L(o,e.$importChildren(t))))]}let V=[(0,l.Bu)({$import:(e,t,n)=>{let r=t.querySelector(':scope > input[type="checkbox"]');return r?N(e,t,r):n()},match:l.VR.tag("li").classAll("task-list-item"),name:"@lexical/list/li-task-list-item"}),(0,l.Bu)({$import:(e,t,n)=>{let r=t.querySelector(":scope > .checkbox-wrapper");if(!r)return n();let i=r.querySelector(':scope > input[type="checkbox"]');return i?N(e,t,i):n()},match:l.VR.tag("li").classAll("joplin-checkbox"),name:"@lexical/list/li-joplin-checkbox"}),M,X],D=(0,i.guI)("UPDATE_LIST_START_COMMAND"),z=(0,i.guI)("INSERT_UNORDERED_LIST_COMMAND"),q=(0,i.guI)("INSERT_ORDERED_LIST_COMMAND"),B=(0,i.guI)("REMOVE_LIST_COMMAND");function F(e,t){return(0,i.Sdt)(e.registerCommand(q,()=>(d("number"),!0),i.AcJ),e.registerCommand(D,e=>{let{listNodeKey:t,newStart:n}=e,r=(0,i.nsf)(t);return!!_(r)&&("number"===r.getListType()&&(r.setStart(n),m(r)),!0)},i.AcJ),e.registerCommand(z,()=>(d("bullet"),!0),i.AcJ),e.registerCommand(B,()=>((function(){let e=(0,i.vJq)();if((0,i.I2P)(e)){let t=new Set,n=e.getNodes(),o=e.anchor.getNode();if(h(o,n))t.add(u(o));else for(let e=0;e<n.length;e++){let o=n[e];if((0,i.jG6)(o)){let e=(0,r.eu)(o,x);null!=e&&t.add(u(e))}}for(let n of t){let t=n;for(let r of function e(t){let n=[],r=t.getChildren().filter(w);for(let t=0;t<r.length;t++){let i=r[t],o=i.getFirstChild();_(o)?n=n.concat(e(o)):n.push(i)}return n}(n)){let n=(0,i.lJ7)().setTextStyle(e.style).setTextFormat(e.format);f(n,r.getChildren()),t.insertAfter(n),t=n,r.__key===e.anchor.key&&(0,i.wp6)(e.anchor,(0,i.lSZ)((0,i.uwZ)(n,"next"))),r.__key===e.focus.key&&(0,i.wp6)(e.focus,(0,i.lSZ)((0,i.uwZ)(n,"next"))),r.remove()}n.remove()}}})(),!0),i.AcJ),e.registerCommand(i.XKQ,()=>(function(e=!1){let t,n=(0,i.vJq)();if(!(0,i.I2P)(n)||!n.isCollapsed())return!1;let r=n.anchor.getNode(),o=null;if(w(r)&&0===r.getChildrenSize())o=r;else if((0,i.kFe)(r)){let e=r.getParent();w(e)&&e.getChildren().every(e=>(0,i.kFe)(e)&&""===e.getTextContent().trim())&&(o=e)}if(null===o)return!1;let l=u(o),a=o.getParent();_(a)||s(40);let c=a.getParent();if((0,i.IqF)(c))t=(0,i.lJ7)(),l.insertAfter(t);else{if(!w(c))return!1;t=(0,i.CHU)(c),c.insertAfter(t)}t.setTextStyle(n.style).setTextFormat(n.format).select();let h=o.getNextSiblings();if(h.length>0){var d;let n=e?(d=o,a.getStart()+d.getIndexWithinParent()):1,r=(0,i.CHU)(a).setStart(n);if(w(t)){let e=(0,i.CHU)(t);e.append(r),t.insertAfter(e)}else t.insertAfter(r);r.append(...h)}return function(e){let t=e;for(;null==t.getNextSibling()&&null==t.getPreviousSibling();){let e=t.getParent();if(null==e||!w(e)&&!_(e))break;t=e}t.remove()}(o),!0})(!!(t&&t.restoreNumbering)),i.AcJ),e.registerCommand(i.gCZ,e=>{if(function(){let e=(0,i.vJq)();if(!(0,i.I2P)(e)||!e.isCollapsed()||0!==e.anchor.offset)return!1;let t=e.anchor.getNode(),n=(0,i.BtT)(t,w);if(!w(n))return!1;let r=n.getFirstDescendant();if(null===r||!n.is(t)&&!r.is(t))return!1;let o=n.getParent();if(!_(o)||!n.is(o.getFirstChild()))return!1;let l=o.getPreviousSibling();if(!(0,i.Cyw)(l)||l.isIsolated()||!l.isKeyboardSelectable()&&l.isInline())return!1;let s=(0,i.lJ7)().append(...n.getChildren());return o.insertBefore(s),n.remove(),o.isEmpty()&&o.remove(),s.selectStart(),!0}())return e.preventDefault(),!0;let t=(0,i.vJq)();if(!(0,i.I2P)(t)||!t.isCollapsed())return!1;let{anchor:n}=t;if(0!==n.offset)return!1;let r=n.getNode();for(;!w(r);){if(null!==r.getPreviousSibling())return!1;let e=r.getParent();if(null===e)return!1;r=e}return!(!w(r)||!r.collapseAtStart(t))&&(e.preventDefault(),!0)},i.H1t),e.registerNodeTransform(x,e=>{let t=e.getFirstChild();if(t){if((0,i.kFe)(t)){let n=t.getStyle(),r=t.getFormat();e.getTextStyle()!==n&&e.setTextStyle(n),e.getTextFormat()!==r&&e.setTextFormat(r)}}else{let t=(0,i.vJq)();(0,i.I2P)(t)&&(t.style!==e.getTextStyle()||t.format!==e.getTextFormat())&&t.isCollapsed()&&e.is(t.anchor.getNode())&&e.setTextStyle(t.style).setTextFormat(t.format)}}),e.registerNodeTransform(i.Ey8,e=>{let t=e.getParent();if(w(t)&&e.is(t.getFirstChild())){let n=e.getStyle(),r=e.getFormat();n===t.getTextStyle()&&r===t.getTextFormat()||t.setTextStyle(n).setTextFormat(r)}}))}function Y(e){let t=e=>{let t=e.getParent();if(_(e.getFirstChild())||!_(t))return;let n=(0,i.BtT)(e,e=>w(e)&&_(e.getParent())&&w(e.getPreviousSibling()));if(null===n&&e.getIndent()>0)e.setIndent(0);else if(w(n)){let r=n.getPreviousSibling();if(w(r)){let n=(function(e){let t=e,n=t.getFirstChild();for(;_(n);){let e=n.getLastChild();if(!w(e))break;n=(t=e).getFirstChild()}return t})(r).getParent();if(_(n)){let r=a(n);r+1<a(t)&&e.setIndent(r)}}}};return e.registerNodeTransform(S,e=>{let n=[e];for(;n.length>0;){let e=n.shift();if(_(e)){for(let r of e.getChildren())if(w(r)){t(r);let e=r.getFirstChild();_(e)&&n.push(e)}}}})}l._e,l.Zj}
1,29548:(e,t,n)=>{"use strict";n.d(t,{Gg:()=>c,HU:()=>d,_6:()=>s,hj:()=>f,p0:()=>u,sl:()=>p});var r=n(17705),i=n(6353),o=n(46612),l=n(32936);let s="__EMPTY_VALUE__";function a(e){var t;let n=[],r={},i={};if(Array.isArray(e))for(let o of e){let e=(null==(t=o.alias)?void 0:t[0])??o.name.toLowerCase(),l=e||s;if(n.push({value:l,label:o.name}),r[e]=l,o.alias)for(let e of o.alias)r[e]=l;if(o.extensions)for(let e of o.extensions)r[e]=l;r[o.name.toLowerCase()]=l,o.support&&(i[l]=o.support)}else{let t={};for(let[i,o]of Object.entries(e))o in t||(t[o]=i,n.push({value:i||s,label:o})),r[i]=t[o]||s}return{items:n,keyMap:r,supportMap:i}}function u(e,t){let n=e.keyMap[t]??t;return!n||e.items.some(e=>e.value===n)?{value:n,items:e.items}:{value:n,items:[...e.items,{value:n,label:t}]}}let c=(0,i.fh)(a({js:"JavaScript",ts:"TypeScript",tsx:"TypeScript (React)",jsx:"JavaScript (React)",css:"CSS"})),h=(0,i.HN)(e=>{e.link(e.pipe(h,(0,i.Tj)(({language:e,code:t})=>({code:t,language:e,meta:""}))),o.Sd)}),d=(0,i.fh)([]),f=(0,i.fh)(!0),p=(0,r.Z)({update(e,t){e.pubIn({[c]:a((null==t?void 0:t.codeBlockLanguages)??{}),[d]:(null==t?void 0:t.codeMirrorExtensions)??[],[f]:(null==t?void 0:t.autoLoadLanguageSupport)??!0})},init(e,t){var n;let r=a((null==t?void 0:t.codeBlockLanguages)??{});e.pubIn({[c]:r,[d]:(null==t?void 0:t.codeMirrorExtensions)??[],[o.vk]:(n=r,{match:(e,t)=>!t||Object.hasOwn(n.keyMap,e??""),priority:1,Editor:l.g}),[f]:(null==t?void 0:t.autoLoadLanguageSupport)??!0})}})},29912:(e,t,n)=>{"use strict";n.d(t,{f:()=>l});var r=n(20720);let i=[];var o=n(22969);function l(e,t){var n,l,s,a;let u,c,h,d,f,p,g=!1;return"function"==typeof(n=function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return g=!0,!1})?(c=void 0,h=n):(c=n,h=void 0),u=void 0,l=c,s=function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return h(e,r,n)},a=u,"function"==typeof l&&"function"!=typeof s?(a=s,s=l):d=l,f=(0,r.C)(d),p=a?-1:1,(function e(t,n,r){let o=t&&"object"==typeof t?t:{};if("string"==typeof o.type){let e="string"==typeof o.tagName?o.tagName:"string"==typeof o.name?o.name:void 0;Object.defineProperty(u,"name",{value:"node ("+t.type+(e?"<"+e+">":"")+")"})}return u;function u(){var o;let u,c,h,d=i;if((!l||f(t,n,r[r.length-1]||void 0))&&!1===(d=Array.isArray(o=s(t,r))?o:"number"==typeof o?[!0,o]:null==o?i:[o])[0])return d;if("children"in t&&t.children&&t.children&&"skip"!==d[0])for(c=(a?t.children.length:-1)+p,h=r.concat(t);c>-1&&c<t.children.length;){if(!1===(u=e(t.children[c],c,h)())[0])return u;c="number"==typeof u[1]?u[1]:c+p}return d}})(e,void 0,[])(),!!((!e.depth||e.depth<3)&&(0,o.d)(e)&&(t.options.setext||g))}},30060:(e,t,n)=>{"use strict";n.d(t,{J:()=>s,i:()=>h});var r=n(26874),i=n(67448),o=n(64191);function l(e){let t={};return e.split(";").filter(e=>""!==e.trim()).forEach(e=>{let[n,r]=e.split(":").map(e=>e.trim());t[n]=r}),t}function s({root:e,visitors:t,jsxComponentDescriptors:n,jsxIsAvailable:i,addImportStatements:h=!0}){let d=null,f=new Set,p=new Map;function g(e,t){f.add(e),t&&p.set(e,{...t})}function m(e,n){if(null===d)return d=n;if(!(e.children instanceof Array))throw Error("Attempting to append children to a non-parent");let r=e.children,i=r.at(-1);if(i){let e=t.find(e=>{var t;return null==(t=e.shouldJoin)?void 0:t.call(e,i,n)});if(e){let t=e.join(i,n);return r.splice(r.length-1,1,t),t}}return r.push(n),n}
1function O(e,t){e.getChildren().forEach(e=>{x(e,t)})}function x(e,n,i=null){var o;let l=t.find((t,n)=>{var r;return(null==i||!i.has(n))&&(null==(r=t.testLexicalNode)?void 0:r.call(t,e))});if(!l)throw Error(`no lexical visitor found for ${e.getType()}`,{cause:e});null==(o=l.visitLexicalNode)||o.call(l,{lexicalNode:e,mdastParent:n,actions:{addAndStepInto(t,i={},o=!0){let l={type:t,...i,...o?{children:[]}:{}};m(n,l),(0,r.ff4)(e)&&o&&O(e,l)},appendToParent:m,visitChildren:O,visit:x,registerReferredComponent:g,nextVisitor(){x(e,n,(i??new Set).add(t.indexOf(l)))}}})}if(t=[...t].sort((e,t)=>(t.priority??0)-(e.priority??0)),x(e,null),null===d)throw Error("traversal ended with no root element");let b=new Map,v=new Map;for(let e of f){let t=n.find(t=>t.name===e)??p.get(e)??n.find(e=>"*"===e.name);if(!t)throw Error(`Component ${e} is used but not imported`);if(t.source)if(t.defaultExport)v.set(e,t.source);else{let{source:n}=t,r=b.get(n);r?r.push(e):b.set(n,[e])}}if(!h){for(let[e,t]of b.entries()){let n=t.filter(e=>p.has(e));n.length>0?b.set(e,n):b.delete(e)}for(let e of v.keys())p.has(e)||v.delete(e)}let y=Array.from(b).map(([e,t])=>({type:"mdxjsEsm",value:`import { ${t.join(", ")} } from '${e}'`}));y.push(...Array.from(v).map(([e,t])=>({type:"mdxjsEsm",value:`import ${e} from '${t}'`})));let k=d,w=k.children.find(e=>"yaml"===e.type);return w?k.children.splice(k.children.indexOf(w)+1,0,...y):k.children.unshift(...y),function e(t){if(!("children"in t))return;let n=[];for(let r of t.children)"paragraph"===r.type&&r.children.some(e=>"text"===e.type&&a.test(e.value))?n.push(...function(e){let t=[{type:"paragraph",children:[]}];for(let n of e.children){if("text"!==n.type){t.at(-1).children.push(n);continue}n.value.split(a).forEach((e,n)=>{n>0&&t.push({type:"paragraph",children:[]}),e&&t.at(-1).children.push({type:"text",value:e})})}let n=t.filter(e=>e.children.length>0);return n.length>0?n:[{type:"paragraph",children:[]}]}(r)):(e(r),n.push(r));t.children=n}(k),function e(t,n){if("strong"===t.type||"emphasis"===t.type){let r=t.children.at(-1);if((null==r?void 0:r.type)==="text"){let i=u.exec(r.value);if(i){r.value=r.value.replace(u,"");let o=n.at(-1);o&&(o.children.splice(o.children.indexOf(t)+1,0,{type:"text",value:i[0]}),e(o,n.slice(0,-1)))}}let i=t.children.at(0);if((null==i?void 0:i.type)==="text"){let r=c.exec(i.value);if(r){i.value=i.value.replace(c,"");let o=n.at(-1);o&&(o.children.splice(o.children.indexOf(t),0,{type:"text",value:r[0]}),e(o,n.slice(0,-1)))}}}"children"in t&&t.children.length>0&&t.children.forEach(r=>{e(r,[...n,t])})}(k,[]),function e(t){if("children"in t&&t.children.length>0){if((0,o.X)(t)&&1===t.children.length){let e=t.children[0];"mdxJsxTextElement"===e.type&&"span"===e.name&&(e.attributes.forEach(e=>{if("mdxJsxAttribute"===e.type){let i=t.attributes.find(t=>"mdxJsxAttribute"===t.type&&t.name===e.name);if(i)if("className"===e.name){let t=new Set([...i.value.split(" "),...e.value.split(" ")]);i.value=Array.from(t).join(" ")}else{var n,r;let t,o;"style"===e.name&&(n=i.value,r=e.value,t=l(n),o=l(r),i.value=Object.entries({...t,...o}).map(([e,t])=>`${e}: ${t}`).join("; "))}else t.attributes.push(e)}}),t.children=e.children)}t.children.forEach(t=>{e(t)})}}(k),i||function e(t){if(Object.hasOwn(t,"children")){let n=[];t.children.forEach(t=>{"mdxJsxTextElement"===t.type&&"u"===t.name?n.push({type:"html",value:"<u>"},...t.children,{type:"html",value:"</u>"}):(n.push(t),e(t))}),t.children=n}}(k),k}let a=/\n(?:[^\S\n]*\n)+/,u=/\s+$/,c=/^\s+/;function h({root:e,toMarkdownOptions:t,toMarkdownExtensions:n,visitors:r,jsxComponentDescriptors:o,jsxIsAvailable:l}){return(0,i.l)(s({root:e,visitors:r,jsxComponentDescriptors:o,jsxIsAvailable:l}),{extensions:n,...t})+"\n"}},31250:(e,t,n)=>{"use strict";n.d(t,{ni:()=>O,zW:()=>x,Vy:()=>d,qh:()=>g});var r=n(6353),i=n(26874),o=n(7620),l=n(75676);function s(){let e=l.lQ;return{publish:()=>{e()},subscribe:t=>{e=t}}}var a=n(60554),u=n(87539),c=Object.defineProperty,h=(e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?c(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n};class d extends i.Kp7{constructor(e,t,n,r){super(r),h(this,"__code"),h(this,"__meta"),h(this,"__language"),h(this,"__focusEmitter",s()),h(this,"setCode",e=>{e!==this.__code&&(this.getWritable().__code=e)}),h(this,"setMeta",e=>{e!==this.__meta&&(this.getWritable().__meta=e)}),h(this,"setLanguage",e=>{e!==this.__language&&(this.getWritable().__language=e)}),h(this,"select",()=>{this.__focusEmitter.publish()}),this.__code=e,this.__meta=n,this.__language=t}static getType(){return"codeblock"}static clone(e){return new d(e.__code,e.__language,e.__meta,e.__key)}afterCloneFrom(e){super.afterCloneFrom(e),this.__code=e.__code,this.__meta=e.__meta,this.__language=e.__language,this.__focusEmitter=s()}static importJSON(e){let t="string"==typeof e.code?e.code:"";return O({code:t,language:"string"==typeof e.language?e.language:"",meta:"str
1ing"==typeof e.meta?e.meta:""})}static importDOM(){return{pre:()=>({conversion:b,priority:3})}}exportJSON(){return{code:this.getCode(),language:this.getLanguage(),meta:this.getMeta(),type:"codeblock",version:1}}createDOM(e,t){return document.createElement("div")}updateDOM(){return!1}getCode(){return this.__code}getMeta(){return this.__meta}getLanguage(){return this.__language}decorate(e){return o.createElement(m,{parentEditor:e,code:this.getCode(),meta:this.getMeta(),language:this.getLanguage(),codeBlockNode:this,nodeKey:this.getKey(),focusEmitter:this.__focusEmitter})}isInline(){return!1}}let f=o.createContext(null),p=({parentEditor:e,lexicalNode:t,children:n})=>{let r=o.useMemo(()=>({lexicalNode:t,parentEditor:e,setCode:n=>{e.update(()=>{t.setCode(n),setTimeout(()=>{e.dispatchCommand(a.Cc,void 0)},0)})},setLanguage:n=>{e.update(()=>{t.setLanguage(n)})},setMeta:n=>{e.update(()=>{t.setMeta(n)})}}),[t,e]);return o.createElement(f.Provider,{value:r},n)};function g(){let e=o.useContext(f);if(!e)throw Error("useCodeBlockEditor must be used within a CodeBlockEditor");return e}let m=e=>{let t=(0,r.X3)(a.Wd),n=(0,r.X3)(a.uf),i=(0,u.H)(t,e.language,e.meta,n);if(!i)throw Error(`No CodeBlockEditor registered for language=${e.language} meta=${e.meta}`);let l=i.Editor,{codeBlockNode:s,parentEditor:c,...h}=e;return o.createElement(p,{parentEditor:e.parentEditor,lexicalNode:e.codeBlockNode},o.createElement(l,{...h}))};function O(e){let{code:t="",language:n="",meta:r=""}=e;return new d(t,n,r)}function x(e){return e instanceof d}function b(e){let t=e.textContent,n=e.getAttribute("class")??"",r=e.getAttribute("data-language")??"",i=/language-(\w+)/.exec(n);return{node:O({code:t,language:i?i[1]:r,meta:e.getAttribute("data-meta")??""})}}},32136:(e,t,n)=>{"use strict";n.d(t,{r:()=>ew});var r=n(7620),i=n(26874),o=n(82579),l=n(16729);function s(e,t){let n=e;for(let r=(0,i.IlV)(e,t);r&&(C(r.origin)||(0,i.MK6)(r.origin));r=r.getAdjacentCaret())n=r.origin;return n}function a(e){return s(e,"previous")}n(97029);let u="data-language",c="data-highlight-language",h="data-theme";class d extends i.fGB{__language;__theme;__isSyntaxHighlightSupported;static getType(){return"code"}static clone(e){return new d(e.__language,e.__key)}constructor(e,t){super(t),this.__language=e||void 0,this.__isSyntaxHighlightSupported=!1,this.__theme=void 0}afterCloneFrom(e){super.afterCloneFrom(e),this.__language=e.__language,this.__theme=e.__theme,this.__isSyntaxHighlightSupported=e.__isSyntaxHighlightSupported}createDOM(e){let t=(0,i.A$M)().createElement("code");(0,i.ZB7)(t,e.theme.code),t.setAttribute("spellcheck","false");let n=this.getLanguage();n&&(t.setAttribute(u,n),this.getIsSyntaxHighlightSupported()&&t.setAttribute(c,n));let r=this.getTheme();r&&t.setAttribute(h,r);let o=this.getStyle();return o&&(0,i.brn)(t.style,o),t}updateDOM(e,t,n){let r=this.__language,o=e.__language;r?r!==o&&t.setAttribute(u,r):o&&t.removeAttribute(u);let l=this.__isSyntaxHighlightSupported;e.__isSyntaxHighlightSupported&&o?l&&r?r!==o&&t.setAttribute(c,r):t.removeAttribute(c):l&&r&&t.setAttribute(c,r);let s=this.__theme,a=e.__theme;s?s!==a&&t.setAttribute(h,s):a&&t.removeAttribute(h);let d=this.__style,f=e.__style;return d!==f&&(0,i.brn)(t.style,d,f),!1}exportDOM(e){let t=(0,i.A$M)().createElement("pre");(0,i.ZB7)(t,e._config.theme.code),t.setAttribute("spellcheck","false");let n=this.getLanguage();n&&(t.setAttribute(u,n),this.getIsSyntaxHighlightSupported()&&t.setAttribute(c,n));let r=this.getTheme();r&&t.setAttribute(h,r);let o=this.getStyle();return o&&(0,i.brn)(t.style,o),{element:t}}static importDOM(){return{code:e=>null!=e.textContent&&(/\r?\n/.test(e.textContent)||function e(t,n){for(let r of t.childNodes)if((0,i.sby)(r)&&r.tagName===n||e(r,n))return!0;return!1}(e,"BR"))?{conversion:g,priority:1}:null,div:()=>({conversion:m,priority:1}),pre:()=>({conversion:g,priority:0}),table:e=>v(e)?{conversion:O,priority:3}:null,td:e=>{let t=e.closest("table");return e.classList.contains("js-file-line")||t&&v(t)?{conversion:x,priority:3}:null},tr:e=>{let t=e.closest("table");return t&&v(t)?{conversion:x,priority:3}:null}}}static importJSON(e){return f().updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setLanguage(e.language).setTheme(e.theme)}exportJSON(){return{...super.exportJSON(),language:this.getLanguage(),theme:this.getTheme()}}insertNewAfter(e,t=!0){if(!(0,l.xT)((0,i.i0_)(),"@lexical/code")){let t=y(e);if(t)return t}let{anchor:n,focus:r}=e,o=(n.isBefore(r)?n:r).getNode();if((0,i.kFe)(o)){let e=a(o),t=[];for(;;)if((0,i.MK6)(e))t.push((0,i.ev7)()),e=e.getNextSibling();else{if(!C(e))break;{let n=0,r=e.getTextContent(),i=e.getTextContentSize();for(;n<i&&" "===r[n];)n++;if(0!==n&&t.push(S(" ".repeat(n))),n!==i)break;e=e.getNextSibling()}}let r=o.splitText(n.offset)[0],l=+(0!==n.offset),s=r.getIndexWithinParent()+l,u=o.getParentOrThrow(),c=[(0,i.WKo)(),...t];u.splice(s,0,c);let h=t[t.length-1];h?h.select():0===n.offset?r.selectPrevious():r.getNextSibling().selectNext(0,0)}
1if(p(o)){let{offset:t}=e.anchor;o.splice(t,0,[(0,i.WKo)()]),o.select(t+1,t+1)}return null}canIndent(){return!1}collapseAtStart(){let e=(0,i.lJ7)();return this.getChildren().forEach(t=>e.append(t)),this.replace(e),!0}setLanguage(e){let t=this.getWritable();return t.__language=e||void 0,t}getLanguage(){return this.getLatest().__language}setIsSyntaxHighlightSupported(e){let t=this.getWritable();return t.__isSyntaxHighlightSupported=e,t}getIsSyntaxHighlightSupported(){return this.getLatest().__isSyntaxHighlightSupported}setTheme(e){let t=this.getWritable();return t.__theme=e||void 0,t}getTheme(){return this.getLatest().__theme}}function f(e,t){return(0,i.phO)(d).setLanguage(e).setTheme(t)}function p(e){return e instanceof d}function g(e){return{node:f(e.getAttribute(u))}}function m(e){let t=b(e);return t||function(e){let t=e.parentElement;for(;null!==t;){if(b(t))return!0;t=t.parentElement}return!1}(e)?{node:t?f():null}:{node:null}}function O(){return{node:f()}}function x(){return{node:null}}function b(e){return null!==e.style.fontFamily.match("monospace")}function v(e){return e.classList.contains("js-file-line-container")}function y(e){let{anchor:t}=e;if(e.isCollapsed()&&"element"===t.type){let e=t.getNode();if(p(e)){let n=e.getChildrenSize();if(n>=2&&t.offset===n){let t=e.getLastChild();if((0,i.wH$)(t)&&(0,i.wH$)(t.getPreviousSibling())){let t=(0,i.lJ7)();return e.splice(n-2,2,[]).insertAfter(t,!1),t.select(),t}}}}return null}class k extends i.Ey8{__highlightType;constructor(e="",t,n){super(e,n),this.__highlightType=t}static getType(){return"code-highlight"}static clone(e){return new k(e.__text,e.__highlightType||void 0,e.__key)}afterCloneFrom(e){super.afterCloneFrom(e),this.__highlightType=e.__highlightType}getHighlightType(){return this.getLatest().__highlightType}setHighlightType(e){let t=this.getWritable();return t.__highlightType=e||void 0,t}canHaveFormat(){return!1}createDOM(e){let t=super.createDOM(e),n=w(e.theme,this.__highlightType);return(0,i.ZB7)(t,n),t}updateDOM(e,t,n){let r=super.updateDOM(e,t,n),o=w(n.theme,e.__highlightType),l=w(n.theme,this.__highlightType);return o!==l&&(o&&(0,i.HEf)(t,o),l&&(0,i.ZB7)(t,l)),r}static importJSON(e){return S().updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setHighlightType(e.highlightType)}exportJSON(){return{...super.exportJSON(),highlightType:this.getHighlightType()}}setFormat(e){return this}isParentRequired(){return!0}createParentElementNode(){return f()}}function w(e,t){return t&&e&&e.codeHighlight&&e.codeHighlight[t]}function S(e="",t){return(0,i.pTq)(new k(e,t))}function C(e){return e instanceof k}let P="data-language";function $(e){return null!==e.style.fontFamily.match("monospace")}function Q(e){let t=e.parentElement;for(;null!==t;){if($(t))return!0;t=t.parentElement}return!1}let _=(0,o.BU)([(0,o.Bu)({$import:(e,t)=>e.$importChildren(t),match:o.VR.tag("tr","td"),name:"@lexical/code/github-code-table/unwrap"})]),T=(0,o.Bu)({$import:(e,t)=>[f(t.getAttribute(P)).splice(0,0,e.$importChildren(t))],match:o.VR.tag("pre"),name:"@lexical/code/pre"}),A=(0,o.Bu)({$import:(e,t,n)=>{let r=t.textContent||"";return/\r?\n/.test(r)||null!==t.querySelector("br")?[f(t.getAttribute(P)).splice(0,0,e.$importChildren(t))]:n()},match:o.VR.tag("code"),name:"@lexical/code/code-multiline"});function E(e){if(!(0,i.sby)(e))return!1;let t=e.style.fontFamily,n=e.style.whiteSpace;return"string"==typeof t&&/monospace/i.test(t)&&"string"==typeof n&&n.startsWith("pre")}function Z(e){let t=!1,n=[],r="",o=!1,l=()=>{o&&(n.push(r),r="",o=!1)};for(let s of Array.from(e.childNodes))if((0,i.sby)(s))"DIV"===s.tagName?(l(),n.push(s.textContent||""),t=!0):"BR"===s.tagName?(l(),n.push(""),t=!0):(r+=s.textContent||"",o=!0);else if((0,i.YPs)(s)){let e=s.textContent||"";e.length>0&&(r+=e,o=!0)}return l(),t?n:null}let R=(0,o.BU)([(0,o.Bu)({$import:(e,t,n)=>{if(!E(t)||Q(t))return n();let r=Z(t);return null===r||0===r.length?n():[f().splice(0,0,(0,i._jw)(r.join("\n")))]},match:o.VR.tag("div"),name:"@lexical/code/vscode-wrapper"}),(0,o.Bu)({$import:(e,t,n)=>{if(!E(t)||Q(t))return n();let r=t.previousElementSibling;if(r&&E(r))return[];let o=[],l=t;for(;l&&E(l);)o.push("BR"===l.tagName?"":l.textContent||""),l=l.nextElementSibling;return o.length<2?n():[f().splice(0,0,(0,i._jw)(o.join("\n")))]},match:o.VR.tag("div","br"),name:"@lexical/code/vscode-line-run"})]),j=(0,o.Bu)({$import:(e,t,n)=>$(t)?[f().splice(0,0,e.$importChildren(t))]:Q(t)?e.$importChildren(t):n(),match:o.VR.tag("div"),name:"@lexical/code/div"}),M=[(0,o.Bu)({$import:(e,t)=>[f().splice(0,0,e.$importChildren(t,{rules:_}))],match:o.VR.tag("table").classAll("js-file-line-container"),name:"@lexical/code/github-code-table"}),(0,o.Bu)({$import:(e,t)=>e.$importChildren(t),match:o.VR.tag("td").classAll("js-file-line"),name:"@lexical/code/github-code-cell-by-class"}),A,T,j];o._e,o.Zj;
1var L=n(69977),I=n(28465),X=n(73104);function N(e,t){let n={};for(let r of e){let e=t(r);e&&(n[e]?n[e].push(r):n[e]=[r])}return n}let V=/[!-/:-@[-`{-~\s]/;function D(e){return e.replace(/\\([!-/:-@[-`{-~])/g,"$1").replace(/&#(\d+);/g,(e,t)=>String.fromCodePoint(Number(t)))}let z=(0,i.urt)("mdListMarker",{parse:e=>"string"==typeof e&&/^[-*+]$/.test(e)?e:"-",resetOnCopyNode:!0}),q=(0,i.urt)("mdCodeFence",{parse:e=>"string"==typeof e&&/^`{3,}$/.test(e)?e:"```",resetOnCopyNode:!0}),B=(0,i.urt)("mdHardLineBreak",{parse:e=>"string"==typeof e&&/^(\\| {2,})$/.test(e)?e:"",resetOnCopyNode:!0}),F=e=>(t,n,r,i)=>{let o=e(r);o.append(...n),t.replace(o),i||o.select(0,0)},Y=e=>(t,n,r,o)=>{var l;let s,a,u,c=t.getPreviousSibling(),h=t.getNextSibling(),d=(0,I.i)("check"===e?"x"===r[3]:void 0),f=r[0].trim()[0],p="bullet"!==e&&"check"!==e||f!==z.parse(f)?void 0:f;if((0,I.HY)(h)&&h.getListType()===e){p&&(0,i.Chh)(h,z,p);let n=h.getFirstChild();null!==n?n.insertBefore(d):h.append(d),"number"===e&&h.setStart(Number(r[2])),t.remove()}else if((0,I.HY)(c)&&c.getListType()===e)p&&(0,i.Chh)(c,z,p),c.append(d),t.remove();else{let n=(0,I.DE)(e,"number"===e?Number(r[2]):void 0);p&&(0,i.Chh)(n,z,p),n.append(d),t.replace(n)}d.append(...n),o||d.select(0,0);let g=(s=(l=r[1]).match(/\t/g),a=l.match(/ /g),u=0,s&&(u+=s.length),a&&(u+=Math.floor(a.length/4)),u);g&&d.setIndent(g)},U=(e,t,n,r)=>{let o=[],l=e.getChildren(),s=0;for(let a of l)if((0,I.Mz)(a)){if(1===a.getChildrenSize()){let e=a.getFirstChild();if((0,I.HY)(e)){let i=U(e,t,n+1,r);i&&o.push(i);continue}}if(r&&!a.getChildren().some(e=>e.isSelected(r)))continue;let l=" ".repeat(4*n),u=e.getListType(),c=(0,i.I8X)(e,z),h="number"===u?`${e.getStart()+s}. `:"check"===u?`${c} [${a.getChecked()?"x":" "}] `:c+" ",d=t(a);"number"!==u&&(d=d.replace(/^(\s{0,3}\d+)(\.\s)/,"$1\\$2")),o.push(l+h+d),s++}return o.join("\n")},W={dependencies:[X.jL],export:(e,t)=>{if(!(0,X.Pi)(e))return null;let n=Number(e.getTag().slice(1));return"#".repeat(n)+" "+t(e)},regExp:/^(#{1,6})\s/,replace:F(e=>{let t="h"+e[1].length;return(0,X.fi)(t)}),triggerOnEnter:!0,type:"element"},H={dependencies:[X.dJ],export:(e,t)=>{if(!(0,X.jd)(e))return null;let n=t(e).split("\n"),r=[];for(let e of n)r.push("> "+e);return r.join("\n")},regExp:/^>\s/,replace:(e,t,n,r)=>{if(r){let n=e.getPreviousSibling();if((0,X.jd)(n)){let r,o;return n.splice(n.getChildrenSize(),0,[(r=(0,i.WKo)(),null!==(o=function(e){let t=e.getChildren(),n=t.length-1,r=t[n];if(!(0,i.kFe)(r))return null;let o=r.getTextContent(),l=function(e){if(e.endsWith("\\"))return[e.slice(0,-1),"\\"];let t=e.match(/^(.*?\S)( {2,})$/);return t?[t[1],t[2]]:null}(o);if(null!==l){let[e,t]=l;return r.setTextContent(e),t}return/^ {2,}$/.test(o)&&function(e,t){for(let n=t-1;n>=0&&!(0,i.wH$)(e[n]);n--)if(/\S/.test(e[n].getTextContent()))return!0;return!1}(t,n)?(r.setTextContent(""),o):null}(n))&&(0,i.Chh)(r,B,o),r),...t]),void e.remove()}}let o=(0,X.xi)();o.append(...t),e.replace(o),r||o.select(0,0)},triggerOnEnter:!0,type:"element"},G={dependencies:[d],export:e=>{if(!p(e))return null;let t=e.getTextContent(),n=(0,i.I8X)(e,q);if(t.indexOf(n)>-1){let e=t.match(/`{3,}/g);if(e){let t=Math.max(...e.map(e=>e.length));n="`".repeat(t+1)}}return n+(e.getLanguage()||"")+(t?"\n"+t:"")+"\n"+n},handleImportAfterStartMatch:({lines:e,rootNode:t,startLineIndex:n,startMatch:r})=>{let i=r[1],o=i.trim().length,l=e[n],s=r.index+i.length,a=l.slice(s),u=RegExp(`\`{${o},}$`);if(u.test(a)){let e=a.match(u),i=a.slice(0,a.lastIndexOf(e[0])),o=[...r];return o[2]="",G.replace(t,null,o,e,[i],!0),[!0,n]}let c=RegExp(`^[ \\t]*\`{${o},}$`);for(let i=n+1;i<e.length;i++){let o=e[i];if(c.test(o)){let s=o.match(c),a=e.slice(n+1,i),u=l.slice(r[0].length);return u.length>0&&a.unshift(u),G.replace(t,null,r,s,a,!0),[!0,i]}}let h=e.slice(n+1),d=l.slice(r[0].length);return d.length>0&&h.unshift(d),G.replace(t,null,r,null,h,!0),[!0,e.length-1]},regExpEnd:{optional:!0,regExp:/^[ \t]*`{3,}$/},regExpStart:/^([ \t]*`{3,})([\w-]+)?[ \t]?/,replace:(e,t,n,r,o,l)=>{let s,a,u=n[1]?n[1].trim():"```",c=n[2]||void 0;if(!t&&o){if(1===o.length)r?(s=f(c),a=o[0]):(s=f(c),a=o[0].startsWith(" ")?o[0].slice(1):o[0]);else{for(s=f(c),o.length>0&&(0===o[0].trim().length?o.shift():o[0].startsWith(" ")&&(o[0]=o[0].slice(1)));o.length>0&&!o[o.length-1].length;)o.pop();a=o.join("\n")}(0,i.Chh)(s,q,u);let t=(0,i.sTu)(a);s.append(t),e.append(s)}else t&&F(e=>f(e?e[2]:void 0))(e,t,n,l)},type:"multiline-element"},J={dependencies:[I.v5,I.YW],export:(e,t,n)=>(0,I.HY)(e)?U(e,t,0,n):null,regExp:/^(\s*)[-*+]\s/,replace:Y("bullet"),triggerOnEnter:!0,type:"element"}
1,K={dependencies:[I.v5,I.YW],export:(e,t,n)=>(0,I.HY)(e)?U(e,t,0,n):null,regExp:/^(\s*)(?:[-*+]\s)?\s?(\[(\s|x)?\])\s/i,replace:Y("check"),triggerOnEnter:!0,type:"element"},ee={dependencies:[I.v5,I.YW],export:(e,t,n)=>(0,I.HY)(e)?U(e,t,0,n):null,regExp:/^(\s*)(\d{1,})\.\s/,replace:Y("number"),triggerOnEnter:!0,type:"element"},et={format:["code"],tag:"`",type:"text-format"},en={format:["bold","italic"],tag:"***",type:"text-format"},er={format:["bold","italic"],intraword:!1,tag:"___",type:"text-format"},ei={format:["bold"],tag:"**",type:"text-format"},eo={format:["bold"],intraword:!1,tag:"__",type:"text-format"},el={format:["italic"],tag:"*",type:"text-format"},es={format:["italic"],intraword:!1,tag:"_",type:"text-format"},ea={dependencies:[L.Db],export:(e,t,n)=>{if(!(0,L.FJ)(e)||(0,L.iK)(e))return null;let r=t(e),i=e.getTitle();return null!=i&&(i=i.replace(/([\\"])/g,"\\$1")),i?`[${r}](${e.getURL()} "${i}")`:`[${r}](${e.getURL()})`},importRegExp:/(?:\[(.+?)\])(?:\((?:([^()\s]+)(?:\s"((?:[^"]*\\")*[^"]*)"\s*)?)\))/,regExp:/(?:\[([^[\]]*(?:\[[^[\]]*\][^[\]]*)*)\])(?:\((?:([^()\s]+)(?:\s"((?:[^"]*\\")*[^"]*)"\s*)?)\))$/,replace:(e,t)=>{if((0,i.BtT)(e,L.FJ))return;let[,n,r,o]=t,l=null!=r?D(r):void 0,s=null!=o?D(o):void 0,a=(0,L.zA)(l,{title:s}),u=n.split("[").length-1,c=n.split("]").length-1,h=n,d="";if(u<c)return;if(u>c){let e=n.split("[");d="["+e[0],h=e.slice(1).join("[")}let f=(0,i.sTu)(h);return f.setFormat(e.getFormat()),a.append(f),e.replace(a),d&&a.insertBefore((0,i.sTu)(d)),f},trigger:")",type:"text-match"},eu=[W,H,J,ee,G,et,en,er,ei,eo,{format:["highlight"],tag:"==",type:"text-format"},el,es,{format:["strikethrough"],tag:"~~",type:"text-format"},ea];function ec(e){return(0,i.kFe)(e)&&!e.hasFormat("code")}function eh(e,t,n,r,o){let l=e.getParent();if(!(0,i.IqF)(l)||e.getFirstChild()!==t)return!1;let s=t.getTextContent();if(!o&&" "!==s[n-1])return!1;for(let{regExp:i,replace:l}of r){let r=s.match(i),a=o||r&&r[0].endsWith(" ")?n:n-1;if(r&&r[0].length===a){let i=t.getNextSiblings(),[o,s]=t.splitText(n);if(!1!==l(e,s?[s,...i]:i,r,!1))return o.remove(),!0}}return!1}function ed(e,t,n,r,o){let l=e.getParent();if(!(0,i.IqF)(l)||e.getFirstChild()!==t)return!1;let s=t.getTextContent();if(!o&&" "!==s[n-1])return!1;for(let{regExpStart:i,replace:l,regExpEnd:a}of r){if(a&&!("optional"in a)||a&&"optional"in a&&!a.optional)continue;let r=s.match(i);if(r){let i=o||r[0].endsWith(" ")?n:n-1;if(r[0].length!==i)continue;let s=t.getNextSiblings(),[a,u]=t.splitText(n);if(!1!==l(e,u?[u,...s]:s,r,null,null,!1))return a.remove(),!0}}return!1}function ef(e,t,n){let r=n.length;for(let i=t;i>=r;i--){let t=i-r;if(ep(e,t,n,0,r)&&" "!==e[t+r])return t}return -1}function ep(e,t,n,r,i){for(let o=0;o<i;o++)if(e[t+o]!==n[r+o])return!1;return!0}var eg=n(62147);let em=[{dependencies:[l.fS],export:e=>(0,l.Hd)(e)?"***":null,regExp:/^(---|\*\*\*|___)\s?$/,replace:(e,t,n,r)=>{let i=(0,l.PL)();r||null!=e.getNextSibling()?e.replace(i):e.insertBefore(i),i.selectNext()},triggerOnEnter:!0,type:"element"},...eu];function eO({transformers:e=em}){let[t]=(0,eg.DF)();return(0,r.useEffect)(()=>(function(e,t=eu){let n,r={element:(n=N(t,e=>e.type)).element||[],multilineElement:n["multiline-element"]||[],textFormat:n["text-format"]||[],textMatch:n["text-match"]||[]},o=r.element.filter(e=>e.triggerOnEnter),l=N(r.textFormat,({tag:e})=>e[e.length-1]),s=N(r.textMatch,({trigger:e})=>e),a=new Set([" "]);for(let e of r.textFormat)a.add(e.tag.slice(-1));for(let e of r.textMatch)void 0!==e.trigger&&a.add(e.trigger);for(let n of t){let t=n.type;if("element"===t||"text-match"===t||"multiline-element"===t)for(let t of n.dependencies)e.hasNode(t)||function(...e){let t=new URL("https://lexical.dev/docs/error"),n=new URLSearchParams;for(let t of(n.append("code",173),e))n.append("v",t);throw t.search=n.toString(),Error(`Minified Lexical error #173; visit ${t.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(t.getType())}return(0,i.Sdt)(e.registerUpdateListener(({tags:t,dirtyLeaves:n,editorState:o,prevEditorState:u})=>
1{if(t.has(i.Ng_)||t.has(i.n0X)||e.isComposing())return;let c=t.has(i.sne),h=o.read(i.vJq),d=u.read(i.vJq);if(!(0,i.I2P)(d)||!(0,i.I2P)(h)||!h.isCollapsed()||h.is(d)&&!c)return;let f=h.anchor.key,g=h.anchor.offset,m=o._nodeMap.get(f);if((0,i.kFe)(m)&&n.has(f)&&(c||1===g||!(g>d.anchor.offset+1))){if(c){let e=o.read(()=>m.getTextContent())[g-1];if(!a.has(e))return}e.update(()=>{let e;if(!ec(m))return;let t=m.getParent();null===t||p(t)||(eh(t,m,e=h.anchor.offset,r.element)||ed(t,m,e,r.multilineElement)||function(e,t,n){let r=e.getTextContent(),i=n[r[t-1]];if(null==i)return!1;for(let n of(t<r.length&&(r=r.slice(0,t)),i)){let t;if(!n.replace||!n.regExp)continue;let i=r.match(n.regExp);if(null===i)continue;let o=i.index||0,l=o+i[0].length;return 0===o?[t]=e.splitText(l):[,t]=e.splitText(o,l),t.selectNext(0,0),n.replace(t,i),!0}return!1}(m,e,s)||function(e,t,n){let r=e.getTextContent(),o=t-1,l=r[o],s=n[l];if(!s)return!1;for(let t of s){let{tag:n}=t,s=n.length,a=o-s+1;if(s>1&&!ep(r,a,n,0,s)||" "===r[a-1])continue;let u=r[o+1];if(!1===t.intraword&&u&&!V.test(u))continue;let c=e,h=ef(r,a,n),d=c;for(;h<0&&(d=d.getPreviousSibling())&&!(0,i.wH$)(d);)if((0,i.kFe)(d)){if(d.hasFormat("code"))continue;let e=d.getTextContent();c=d,h=ef(e,e.length,n)}if(h<0||c===e&&h+s===a)continue;let f=c.getTextContent();if(h>0&&f[h-1]===l)continue;let p=f[h-1];if(!1===t.intraword&&p&&!V.test(p)||!t.format.includes("code")&&function(e,t){let n=0,r=e.getTextContent();for(let e=0;e<t;e++)"`"===r[e]&&n++;return n%2!=0}(c,h))continue;let g=e.getTextContent(),m=g.slice(0,a)+g.slice(o+1);e.setTextContent(m);let O=c===e?m:f;c.setTextContent(O.slice(0,h)+O.slice(h+s));let x=(0,i.vJq)(),b=(0,i.uTE)();(0,i.n1P)(b);let v=o-s*(c===e?2:1)+1;for(let n of(b.anchor.set(c.__key,h,"text"),b.focus.set(e.__key,v,"text"),t.format))b.formatText(n,i.LZn[n]);for(let e of(b.anchor.set(b.focus.key,b.focus.offset,b.focus.type),t.format))b.hasFormat(e)&&b.toggleFormat(e);return(0,i.I2P)(x)&&(b.format=x.format),!0}return!1}(m,e,l))&&(0,i.JAT)(i.bMH)})}}),e.registerCommand(i.RTo,e=>{if(null!==e&&e.shiftKey)return!1;let t=(0,i.vJq)();if(!(0,i.I2P)(t)||!t.isCollapsed())return!1;let n=t.anchor.offset,l=t.anchor.getNode();if(!(0,i.kFe)(l)||!ec(l))return!1;let s=l.getParent();return!(null===s||p(s))&&n===l.getTextContent().length&&!(!ed(s,l,n,r.multilineElement,!0)&&!eh(s,l,n,o,!0))&&(null!==e&&e.preventDefault(),!0)},i.AcJ))})(t,e),[t,e]),null}var ex=n(17705),eb=n(31250),ev=n(60554),ey=n(36388),ek=n(2130);let ew=(0,ex.Z)({init(e){let t=e.getValue(ev.TI),n=t.includes("headings")?e.getValue(ey.OO):[],i=function(e,t){let n=[en,er,ei,eo,et,el,es];if(e.includes("headings")){let e,r=Math.min(...t),i=Math.max(...t),o=RegExp(`^(#{${r},${i}})\\s`),l={dependencies:[X.jL],export:(e,t)=>{if(!(0,X.Pi)(e))return null;let n=Number(e.getTag().slice(1));return"#".repeat(n)+" "+t(e)},regExp:o,replace:(e=e=>{let t=`h${e[1].length}`;return(0,X.fi)(t)},(t,n,r)=>{let i=e(r);i.append(...n),t.replace(i),i.select(0,0)}),type:"element"};n.push(l)}if(e.includes("thematicBreak")&&n.push(eS),e.includes("quote")&&n.push(H),e.includes("link")&&n.push(ea),e.includes("lists")&&n.push(ee,J,K),e.includes("codeblock")){let e={...G,dependencies:[eb.Vy],replace:(e,t,n)=>{let r=(0,eb.ni)({code:"",language:n[1]??"",meta:""});e.selectPrevious(),e.replace(r),setTimeout(()=>{r.select()},80)}};n.push(e)}return n}(t,n),o=i.filter(e=>!eC.has(e));e.pubIn({[ev.aC]:()=>r.createElement(eO,{transformers:i}),[ev.Id]:()=>r.createElement(eO,{transformers:i}),[ev.dH]:()=>r.createElement(eO,{transformers:o})})}}),eS={dependencies:[ek.fS],export:e=>(0,l.Hd)(e)?"***":null,regExp:/^(---|\*\*\*|___)\s?$/,replace:(e,t,n,r)=>{let i=(0,ek.PL)();r||null!=e.getNextSibling()?e.replace(i):e.insertBefore(i),i.selectNext()},type:"element"},eC=new Set([ee,J,K])},32936:(e,t,n)=>{"use strict";n.d(t,{g:()=>v});var r=n(6353),i=n(7620),o=n(41340),l=n(31250),s=n(60554),a=n(52923);function u(e){return new a.Yy(a.Tg.define(e))}function c(e){return n.e(7840).then(n.bind(n,47840)).then(t=>t.sql({dialect:t[e]}))}let h=[a.t$.of({name:"C",extensions:["c","h","ino"],load:()=>n.e(4085).then(n.bind(n,34085)).then(e=>e.cpp())}),a.t$.of({name:"C++",alias:["cpp"],extensions:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],load:()=>n.e(4085).then(n.bind(n,34085)).then(e=>e.cpp())}),a.t$.of({name:"CQL",alias:["cassandra"],extensions:["cql"],load:()=>c("Cassandra")}),a.t$.of({name:"CSS",extensions:["css"],load:()=>Promise.resolve().then(n.bind(n,206)).then(e=>e.css())}),a.t$.of({name:"Go",extensions:["go"],load:()=>n.e(1280).then(n.bind(n,41280)).then(e=>e.go())}),a.t$.of({name:"HTML",alias:["xhtml"],extensions:["html","htm","handlebars","hbs"],load:()=>Promise.resolve().then(n.bind(n,50345)).then(e=>e.html())}),a.t$.of({name:"Java",extensions:["java"],load:()=>n.e(8548).then(n.bind(n,88548)).then(e=>e.java())}),a.t$.of({name:"JavaScript",alias:["ecmascript","js","node"],extensions:["js","mjs","cjs"],load:()=>Promise.resolve().then(n.bind(n,9864)).then(e=>e.javascript())}),a.t$.of({name:"Jinja",extensions:["j2","jinja","jinja2"],load:()=>n.e(7564).then(n.bind(n,37564)).then(e=>e.jinja())}),a.t$.of({name:"JSON",alias:["json5"],extensions:["json","map"],load:()=>n.e(6656).then(n.bind(n,6656)).then(e=>e.json())}),a.t$.of({name:"JSX",extensions:["jsx"],load:()=>Promise.resolve().then(n.bind(n,9864)).then(e=>
vendor: 10,629 bytes, line 1
1e.javascript({jsx:!0}))}),a.t$.of({name:"LESS",extensions:["less"],load:()=>n.e(6047).then(n.bind(n,68428)).then(e=>e.less())}),a.t$.of({name:"Liquid",extensions:["liquid"],load:()=>n.e(3172).then(n.bind(n,83172)).then(e=>e.liquid())}),a.t$.of({name:"MariaDB SQL",load:()=>c("MariaSQL")}),a.t$.of({name:"Markdown",extensions:["md","markdown","mkd"],load:()=>Promise.resolve().then(n.bind(n,39675)).then(e=>e.markdown())}),a.t$.of({name:"MS SQL",load:()=>c("MSSQL")}),a.t$.of({name:"MySQL",load:()=>c("MySQL")}),a.t$.of({name:"PHP",extensions:["php","php3","php4","php5","php7","phtml"],load:()=>n.e(3725).then(n.bind(n,43725)).then(e=>e.php())}),a.t$.of({name:"PLSQL",extensions:["pls"],load:()=>c("PLSQL")}),a.t$.of({name:"PostgreSQL",load:()=>c("PostgreSQL")}),a.t$.of({name:"Python",extensions:["BUILD","bzl","py","pyw"],filename:/^(BUCK|BUILD)$/,load:()=>n.e(8889).then(n.bind(n,38889)).then(e=>e.python())}),a.t$.of({name:"Rust",extensions:["rs"],load:()=>n.e(4764).then(n.bind(n,24764)).then(e=>e.rust())}),a.t$.of({name:"Sass",extensions:["sass"],load:()=>n.e(2133).then(n.bind(n,92133)).then(e=>e.sass({indented:!0}))}),a.t$.of({name:"SCSS",extensions:["scss"],load:()=>n.e(2133).then(n.bind(n,92133)).then(e=>e.sass())}),a.t$.of({name:"SQL",extensions:["sql"],load:()=>c("StandardSQL")}),a.t$.of({name:"SQLite",load:()=>c("SQLite")}),a.t$.of({name:"TSX",extensions:["tsx"],load:()=>Promise.resolve().then(n.bind(n,9864)).then(e=>e.javascript({jsx:!0,typescript:!0}))}),a.t$.of({name:"TypeScript",alias:["ts"],extensions:["ts","mts","cts"],load:()=>Promise.resolve().then(n.bind(n,9864)).then(e=>e.javascript({typescript:!0}))}),a.t$.of({name:"WebAssembly",extensions:["wat","wast"],load:()=>n.e(7057).then(n.bind(n,37057)).then(e=>e.wast())}),a.t$.of({name:"XML",alias:["rss","wsdl","xsd"],extensions:["xml","xsl","xsd","svg"],load:()=>n.e(252).then(n.bind(n,90252)).then(e=>e.xml())}),a.t$.of({name:"YAML",alias:["yml"],extensions:["yaml","yml"],load:()=>n.e(8957).then(n.bind(n,68957)).then(e=>e.yaml())}),a.t$.of({name:"APL",extensions:["dyalog","apl"],load:()=>n.e(8621).then(n.bind(n,48621)).then(e=>u(e.apl))}),a.t$.of({name:"PGP",alias:["asciiarmor"],extensions:["asc","pgp","sig"],load:()=>n.e(8268).then(n.bind(n,28268)).then(e=>u(e.asciiArmor))}),a.t$.of({name:"ASN.1",extensions:["asn","asn1"],load:()=>n.e(4523).then(n.bind(n,94523)).then(e=>u(e.asn1({})))}),a.t$.of({name:"Asterisk",filename:/^extensions\.conf$/i,load:()=>n.e(194).then(n.bind(n,80194)).then(e=>u(e.asterisk))}),a.t$.of({name:"Brainfuck",extensions:["b","bf"],load:()=>n.e(1061).then(n.bind(n,81061)).then(e=>u(e.brainfuck))}),a.t$.of({name:"Cobol",extensions:["cob","cpy"],load:()=>n.e(9318).then(n.bind(n,66937)).then(e=>u(e.cobol))}),a.t$.of({name:"C#",alias:["csharp","cs"],extensions:["cs"],load:()=>n.e(2876).then(n.bind(n,62876)).then(e=>u(e.csharp))}),a.t$.of({name:"Clojure",extensions:["clj","cljc","cljx"],load:()=>n.e(6522).then(n.bind(n,96522)).then(e=>u(e.clojure))}),a.t$.of({name:"ClojureScript",extensions:["cljs"],load:()=>n.e(6522).then(n.bind(n,96522)).then(e=>u(e.clojure))}),a.t$.of({name:"Closure Stylesheets (GSS)",extensions:["gss"],load:()=>n.e(9397).then(n.bind(n,29397)).then(e=>u(e.gss))}),a.t$.of({name:"CMake",extensions:["cmake","cmake.in"],filename:/^CMakeLists\.txt$/,load:()=>n.e(6921).then(n.bind(n,26921)).then(e=>u(e.cmake))}),a.t$.of({name:"CoffeeScript",alias:["coffee","coffee-script"],extensions:["coffee"],load:()=>n.e(4597).then(n.bind(n,4597)).then(e=>u(e.coffeeScript))}),a.t$.of({name:"Common Lisp",alias:["lisp"],extensions:["cl","lisp","el"],load:()=>n.e(1555).then(n.bind(n,61555)).then(e=>u(e.commonLisp))}),a.t$.of({name:"Cypher",extensions:["cyp","cypher"],load:()=>n.e(3965).then(n.bind(n,83965)).then(e=>u(e.cypher))}),a.t$.of({name:"Cython",extensions:["pyx","pxd","pxi"],load:()=>n.e(9708).then(n.bind(n,59708)).then(e=>u(e.cython))}),a.t$.of({name:"Crystal",extensions:["cr"],load:()=>n.e(6244).then(n.bind(n,86244)).then(e=>u(e.crystal))}),a.t$.of({name:"D",extensions:["d"],load:()=>n.e(386).then(n.bind(n,40386)).then(e=>u(e.d))}),a.t$.of({name:"Dart",extensions:["dart"],load:()=>n.e(2876).then(n.bind(n,62876)).then(e=>u(e.dart))}),a.t$.of({name:"diff",extensions:["diff","patch"],load:()=>n.e(9381).then(n.bind(n,89381)).then(e=>u(e.diff))}),a.t$.of({name:"Dockerfile",filename:/^Dockerfile$/,load:()=>n.e(7332).then(n.bind(n,7332)).then(e=>u(e.dockerFile))}),a.t$.of({name:"DTD",extensions:["dtd"],load:()=>n.e(5930).then(n.bind(n,95930)).then(e=>u(e.dtd))}),a.t$.of({name:"Dylan",extensions:["dylan","dyl","intr"],load:()=>n.e(8116).then(n.bind(n,8116)).then(e=>u(e.dylan))}),a.t$.of({name:"EBNF",load:()=>n.e(9013).then(n.bind(n,9013)).then(e=>u(e.ebnf))}),a.t$.of({name:"ECL",extensions:["ecl"],load:()=>n.e(6198).then(n.bind(n,66198)).then(e=>u(e.ecl))}),a.t$.of({name:"edn",extensions:["edn"],load:()=>n.e(6522).then(n.bind(n,96522)).then(e=>u(e.clojure))}),a.t$.of({name:"Eiffel",extensions:["e"],load:()=>n.e(1893).then(n.bind(n,91893)).then(e=>u(e.eiffel))}),a.t$.of({name:"Elm",extensions:["elm"],load:()=>n.e(2274).then(n.bind(n,82274)).then(e=>u(e.elm))}),a.t$.of({name:"Erlang",extensions:["erl"],load:()=>n.e(5589).then(n.bind(n,85589)).then(e=>u(e.erlang))}),a.t$.of({name:"Esper",load:()=>n.e(7394).then(n.bind(n,27394)).then(e=>u(e.esper))}),a.t$.of({name:"Factor",extensions:["factor"],load:()=>n.e(7529).then(n.bind(n,57529)).then(e=>u(e.factor))}),a.t$.of({name:"FCL",load:()=>n.e(5487).then(n.bind(n,55487)).then(e=>u(e.fcl))}),a.t$.of({name:"Forth",extensions:["forth","fth","4th"],load:()=>n.e(3985).then(n.bind(n,53985)).then(e=>u(e.forth))}),a.t$.of({name:"Fortran",extensions:["f","for","f77","f90","f95"],load:()=>n.e(9604).then(n.bind(n,29604)).then(e=>u(e.fortran))}),a.t$.of({name:"F#",alias:["fsharp"],extensions:["fs"],load:()=>n.e(5412).then(n.bind(n,35412)).then(e=>u(e.fSharp))}),a.t$.of({name:"Gas",extensions:["s"],load:()=>n.e(7919).then(n.bind(n,87919)).then(e=>u(e.gas))}),a.t$.of({name:"Gherkin",extensions:["feature"],load:()=>n.e(8808).then(n.bind(n,88808)).then(e=>u(e.gherkin))}),a.t$.of({name:"Groovy",extensions:["groovy","gradle"],filename:/^Jenkinsfile$/,load:()=>n.e(1524).then(n.bind(n,81524)).then(e=>u(e.groovy))}),a.t$.of({name:"Haskell",extensions:["hs"],load:()=>n.e(3074).then(n.bind(n,73074)).then(e=>u(e.haskell))}),a.t$.of({name:"Haxe",extensions:["hx"],load:()=>n.e(6282).then(n.bind(n,46282)).then(e=>u(e.haxe))}),a.t$.of({name:"HXML",extensions:["hxml"],load:()=>n.e(6282).then(n.bind(n,46282)).then(e=>u(e.hxml))}),a.t$.of({name:"HTTP",load:()=>n.e(318).then(n.bind(n,50318)).then(e=>u(e.http))}),a.t$.of({name:"IDL",extensions:["pro"],load:()=>n.e(1833).then(n.bind(n,11833)).then(e=>u(e.idl))}),a.t$.of({name:"JSON-LD",alias:["jsonld"],extensions:["jsonld"],load:()=>n.e(6857).then(n.bind(n,96857)).then(e=>u(e.jsonld))}),a.t$.of({name:"Julia",extensions:["jl"],load:()=>n.e(731).then(n.bind(n,30731)).then(e=>u(e.julia))}),a.t$.of({name:"Kotlin",extensions:["kt","kts"],load:()=>n.e(2876).then(n.bind(n,62876)).then(e=>u(e.kotlin))}),a.t$.of({name:"LiveScript",alias:["ls"],extensions:["ls"],load:()=>n.e(1251).then(n.bind(n,1251)).then(e=>u(e.liveScript))}),a.t$.of({name:"Lua",extensions:["lua"],load:()=>n.e(3744).then(n.bind(n,13744)).then(e=>u(e.lua))}),a.t$.of({name:"mIRC",extensions:["mrc"],load:()=>n.e(1771).then(n.bind(n,71771)).then(e=>u(e.mirc))}),a.t$.of({name:"Mathematica",extensions:["m","nb","wl","wls"],load:()=>n.e(6654).then(n.bind(n,26654)).then(e=>u(e.mathematica))}),a.t$.of({name:"Modelica",extensions:["mo"],load:()=>n.e(746).then(n.bind(n,40746)).then(e=>u(e.modelica))}),a.t$.of({name:"MUMPS",extensions:["mps"],load:()=>n.e(3214).then(n.bind(n,83214)).then(e=>u(e.mumps))}),a.t$.of({name:"Mbox",extensions:["mbox"],load:()=>n.e(3686).then(n.bind(n,13686)).then(e=>u(e.mbox))}),a.t$.of({name:"Nginx",filename:/nginx.*\.conf$/i,load:()=>n.e(4546).then(n.bind(n,64546)).then(e=>u(e.nginx))}),a.t$.of({name:"NSIS",extensions:["nsh","nsi"],load:()=>n.e(1261).then(n.bind(n,11261)).then(e=>u(e.nsis))}),a.t$.of({name:"NTriples",extensions:["nt","nq"],load:()=>n.e(3381).then(n.bind(n,13381)).then(e=>u(e.ntriples))}),a.t$.of({name:"Objective-C",alias:["objective-c","objc"],extensions:["m"],load:()=>n.e(2876).then(n.bind(n,62876)).then(e=>u(e.objectiveC))}),a.t$.of({name:"Objective-C++",alias:["objective-c++","objc++"],extensions:["mm"],load:()=>n.e(2876).then(n.bind(n,62876)).then(e=>u(e.objectiveCpp))}),a.t$.of({name:"OCaml",extensions:["ml","mli","mll","mly"],load:()=>n.e(5412).then(n.bind(n,35412)).then(e=>u(e.oCaml))}),a.t$.of({name:"Octave",extensions:["m"],load:()=>n.e(2430).then(n.bind(n,92430)).then(e=>u(e.octave))}),a.t$.of({name:"Oz",extensions:["oz"],load:()=>n.e(1591).then(n.bind(n,51591)).then(e=>u(e.oz))}),a.t$.of({name:"Pascal",extensions:["p","pas"],load:()=>n.e(9346).then(n.bind(n,99346)).then(e=>u(e.pascal))}),a.t$.of({name:"Perl",extensions:["pl","pm"],load:()=>n.e(7547).then(n.bind(n,97547)).then(e=>u(e.perl))}),a.t$.of({name:"Pig",extensions:["pig"],load:()=>n.e(9290).then(n.bind(n,49290)).then(e=>u(e.pig))}),a.t$.of({name:"PowerShell",extensions:["ps1","psd1","psm1"],load:()=>n.e(8791).then(n.bind(n,38791)).then(e=>u(e.powerShell))}),a.t$.of({name:"Properties files",alias:["ini","properties"],extensions:["properties","ini","in"],load:()=>n.e(5383).then(n.bind(n,85383)).then(e=>u(e.properties))}),a.t$.of({name:"ProtoBuf",extensions:["proto"],load:()=>n.e(1349).then(n.bind(n,81349)).then(e=>u(e.protobuf))}),a.t$.of({name:"Pug",alias:["jade"],extensions:["pug","jade"],load:()=>n.e(1286).then(n.bind(n,31286)).then(e=>u(e.pug))}),a.t$.of({name:"Puppet",extensions:["pp"],load:()=>n.e(6688).then(n.bind(n,16688)).then(e=>u(e.puppet))}),a.t$.of({name:"Q",extensions:["q"],load:()=>n.e(4937).then(n.bind(n,74937)).then(e=>u(e.q))}),a.t$.of({name:"R",alias:["rscript"],extensions:["r","R"],load:()=>n.e(1600).then(n.bind(n,41600)).then(e=>u(e.r))}),a.t$.of({name:"RPM Changes",load:()=>n.e(271).then(n.bind(n,80271)).then(e=>u(e.rpmChanges))}),a.t$.of({name:"RPM Spec",extensions:["spec"],load:()=>n.e(271).then(n.bind(n,80271)).then(e=>u(e.rpmSpec))}),a.t$.of({name:"Ruby",alias:["jruby","macruby","rake","rb","rbx"],extensions:["rb"],filename:/^(Gemfile|Rakefile)$/,load:()=>n.e(8054).then(n.bind(n,28054)).then(e=>u(e.ruby))}),a.t$.of({name:"SAS",extensions:["sas"],load:()=>n.e(2443).then(n.bind(n,62443)).then(e=>u(e.sas))}),a.t$.of({name:"Scala",extensions:["scala"],load:()=>n.e(2876).then(n.bind(n,62876)).then(e=>u(e.scala))}),a.t$.of({name:"Scheme",extensions:["scm","ss"],load:()=>n.e(5125).then(n.bind(n,25125)).then(e=>u(e.scheme))}
1),a.t$.of({name:"Shell",alias:["bash","sh","zsh"],extensions:["sh","ksh","bash"],filename:/^PKGBUILD$/,load:()=>n.e(6084).then(n.bind(n,16084)).then(e=>u(e.shell))}),a.t$.of({name:"Sieve",extensions:["siv","sieve"],load:()=>n.e(3676).then(n.bind(n,33676)).then(e=>u(e.sieve))}),a.t$.of({name:"Smalltalk",extensions:["st"],load:()=>n.e(8855).then(n.bind(n,98855)).then(e=>u(e.smalltalk))}),a.t$.of({name:"Solr",load:()=>n.e(438).then(n.bind(n,10438)).then(e=>u(e.solr))}),a.t$.of({name:"SML",extensions:["sml","sig","fun","smackspec"],load:()=>n.e(5412).then(n.bind(n,35412)).then(e=>u(e.sml))}),a.t$.of({name:"SPARQL",alias:["sparul"],extensions:["rq","sparql"],load:()=>n.e(2195).then(n.bind(n,12195)).then(e=>u(e.sparql))}),a.t$.of({name:"Spreadsheet",alias:["excel","formula"],load:()=>n.e(5300).then(n.bind(n,25300)).then(e=>u(e.spreadsheet))}),a.t$.of({name:"Squirrel",extensions:["nut"],load:()=>n.e(2876).then(n.bind(n,62876)).then(e=>u(e.squirrel))}),a.t$.of({name:"Stylus",extensions:["styl"],load:()=>n.e(9444).then(n.bind(n,19444)).then(e=>u(e.stylus))}),a.t$.of({name:"Swift",extensions:["swift"],load:()=>n.e(2145).then(n.bind(n,42145)).then(e=>u(e.swift))}),a.t$.of({name:"sTeX",load:()=>n.e(2284).then(n.bind(n,92284)).then(e=>u(e.stex))}),a.t$.of({name:"LaTeX",alias:["tex"],extensions:["text","ltx","tex"],load:()=>n.e(2284).then(n.bind(n,92284)).then(e=>u(e.stex))}),a.t$.of({name:"SystemVerilog",extensions:["v","sv","svh"],load:()=>n.e(8896).then(n.bind(n,38896)).then(e=>u(e.verilog))}),a.t$.of({name:"Tcl",extensions:["tcl"],load:()=>n.e(1945).then(n.bind(n,31945)).then(e=>u(e.tcl))}),a.t$.of({name:"Textile",extensions:["textile"],load:()=>n.e(855).then(n.bind(n,10855)).then(e=>u(e.textile))}),a.t$.of({name:"TiddlyWiki",load:()=>n.e(3922).then(n.bind(n,73922)).then(e=>u(e.tiddlyWiki))}),a.t$.of({name:"Tiki wiki",load:()=>n.e(9581).then(n.bind(n,39581)).then(e=>u(e.tiki))}),a.t$.of({name:"TOML",extensions:["toml"],load:()=>n.e(9886).then(n.bind(n,99886)).then(e=>u(e.toml))}),a.t$.of({name:"Troff",extensions:["1","2","3","4","5","6","7","8","9"],load:()=>n.e(2549).then(n.bind(n,32549)).then(e=>u(e.troff))}),a.t$.of({name:"TTCN",extensions:["ttcn","ttcn3","ttcnpp"],load:()=>n.e(4495).then(n.bind(n,54495)).then(e=>u(e.ttcn))}),a.t$.of({name:"TTCN_CFG",extensions:["cfg"],load:()=>n.e(8184).then(n.bind(n,5803)).then(e=>u(e.ttcnCfg))}),a.t$.of({name:"Turtle",extensions:["ttl"],load:()=>n.e(2900).then(n.bind(n,82900)).then(e=>u(e.turtle))}),a.t$.of({name:"Web IDL",extensions:["webidl"],load:()=>n.e(9623).then(n.bind(n,19623)).then(e=>u(e.webIDL))}),a.t$.of({name:"VB.NET",extensions:["vb"],load:()=>n.e(2878).then(n.bind(n,72878)).then(e=>u(e.vb))}),a.t$.of({name:"VBScript",extensions:["vbs"],load:()=>n.e(9302).then(n.bind(n,76921)).then(e=>u(e.vbScript))}),a.t$.of({name:"Velocity",extensions:["vtl"],load:()=>n.e(5721).then(n.bind(n,15721)).then(e=>u(e.velocity))}),a.t$.of({name:"Verilog",extensions:["v"],load:()=>n.e(8896).then(n.bind(n,38896)).then(e=>u(e.verilog))}),a.t$.of({name:"VHDL",extensions:["vhd","vhdl"],load:()=>n.e(3760).then(n.bind(n,43760)).then(e=>u(e.vhdl))}),a.t$.of({name:"XQuery",extensions:["xy","xquery","xq","xqm","xqy"],load:()=>n.e(7762).then(n.bind(n,17762)).then(e=>u(e.xQuery))}),a.t$.of({name:"Yacas",extensions:["ys"],load:()=>n.e(5753).then(n.bind(n,45753)).then(e=>u(e.yacas))}),a.t$.of({name:"Z80",extensions:["z80"],load:()=>n.e(6128).then(n.bind(n,93747)).then(e=>u(e.z80))}),a.t$.of({name:"MscGen",extensions:["mscgen","mscin","msc"],load:()=>n.e(8991).then(n.bind(n,58991)).then(e=>u(e.mscgen))}),a.t$.of({name:"X\xf9",extensions:["xu"],load:()=>n.e(8991).then(n.bind(n,58991)).then(e=>u(e.xu))}),a.t$.of({name:"MsGenny",extensions:["msgenny"],load:()=>n.e(8991).then(n.bind(n,58991)).then(e=>u(e.msgenny))}),a.t$.of({name:"Vue",extensions:["vue"],load:()=>n.e(7228).then(n.bind(n,57228)).then(e=>e.vue())}),a.t$.of({name:"Angular Template",load:()=>n.e(3738).then(n.bind(n,3738)).then(e=>e.angular())})];var d=n(25263),f=n(95980),p=n(593),g=n(34418),m=n(62972),O=n(26874),x=n(29548),b=n(27514);let v=({language:e,nodeKey:t,code:n,focusEmitter:a})=>{let u=(0,s.Bd)(),{parentEditor:c,lexicalNode:v}=(0,l.qh)(),[k,w,S,C,P]=(0,r.uX)(s.pc,x.HU,x.hj,s.yr,x.Gg),$=function(e,t,n){let o=(0,r.X3)(s.Cp),a=(0,r.qM)(s.p5),u=i.useRef(null),{lexicalNode:c}=(0,l.qh)(),h=i.useRef(!1),d=i.useRef(!1),f=i.useCallback(()=>{a({editorType:"codeblock",rootNode:c,editorRef:u.current})},[c,a]),p=i.useCallback(t=>{var n,r,i,l,s,a;if("ArrowDown"===t.key){let t=null==(r=null==(n=u.current)?void 0:n.getCodemirror())?void 0:r.state;t&&t.doc.length===t.selection.ranges[0].to&&(h.current?(null==o||o.update(()=>{var t,n;let r=(0,O.nsf)(e);r.getNextSibling()?(null==(n=null==(t=u.current)?void 0:t.getCodemirror())||n.contentDOM.blur(),r.selectNext()):r.insertAfter((0,O.lJ7)())}),h.current=!1):h.current=!0)}else if("ArrowUp"===t.key){let t=null==(l=null==(i=u.current)?void 0:i.getCodemirror())?void 0:l.state;t&&0===t.selection.ranges[0].from&&(d.current?(null==o||o.update(()=>{var t,n;let r=(0,O.nsf)(e);r.getPreviousSibling()&&(null==(n=null==(t=u.current)?void 0:t.getCodemirror())||n.contentDOM.blur(),r.selectPrevious())}),d.current=!1):d.current=!0)}else if("Enter"===t.key)t.stopPropagation();else if("Backspace"===t.key||"Delete"===t.key){let t=null==(a=null==(s=u.current)?void 0:s.getCodemirror())?void 0:a.state;0===(null==t?void 0:t.doc.length)&&(null==o||o.update(()=>{(0,O.nsf)(e).remove()}))}},[o,e]);return i.useEffect(()=>{let e=u.current;return setTimeout(()=>{var t,n;null==(t=null==e?void 0:e.getCodemirror())||t.contentDOM.addEventListener("focus",f),null==(n=null==e?void 0:e.getCodemirror())||n.contentDOM.addEventListener("keydown",p)},300),()=>{var t,n;null==(t=null==e?void 0:e.getCodemirror())||t.contentDOM.removeEventListener("focus",f),null==(n=null==e?void 0:e.getCodemirror())||n.contentDOM.removeEventListener("keydown",p)}},[u,f,p,t]),i.useEffect(()=>{n.subscribe(()=>{var e,t;
1null==(t=null==(e=u.current)?void 0:e.getCodemirror())||t.focus(),f()})},[n,u,e,f]),u}(t,e,a),{setCode:Q}=(0,l.qh)(),_=i.useRef(null),T=i.useRef(null),{value:A,items:E}=i.useMemo(()=>(0,x.p0)(P,e),[P,e]),Z=i.useRef(Q);return Z.current=Q,$.current={getCodemirror:()=>_.current},i.useEffect(()=>{let t=T.current;return(async()=>{let r=[...w,m.oQ,g.tZ,(0,f.$K)(),f.w4.of([p.Yc]),f.Lz.lineWrapping,f.Lz.updateListener.of(({state:e})=>{Z.current(e.doc.toString())}),f.Lz.domEventHandlers({focus:()=>{c.update(()=>{(0,O.n1P)(null)})}})];if(k&&r.push(d.$t.readOnly.of(!0)),""!==e){let t=P.keyMap[e]??e,n=P.supportMap[t];if(n)r.push(n.extension);else if(S){let t=h.find(t=>t.name===e||t.alias.includes(e)||t.extensions.includes(e));if(t)try{let e=await t.load();r.push(e.extension)}catch(t){console.warn("failed to load language support for",e)}}}t.innerHTML="",_.current=new f.Lz({parent:t,state:d.$t.create({doc:n,extensions:r})}),t.addEventListener("keydown",y)})(),()=>{var e;null==(e=_.current)||e.destroy(),_.current=null,t.removeEventListener("keydown",y)}},[k,e,...w]),i.createElement("div",{className:o.Ay.codeMirrorWrapper},i.createElement("div",{className:o.Ay.codeMirrorToolbar},i.createElement(b.l6,{disabled:k,value:A,onChange:e=>{c.update(()=>{v.setLanguage(e===x._6?"":e),setTimeout(()=>{c.update(()=>{v.getLatest().select()})})})},triggerTitle:u("codeBlock.selectLanguage","Select code block language"),placeholder:u("codeBlock.inlineLanguage","Language"),items:E}),i.createElement("button",{className:o.Ay.iconButton,type:"button",disabled:k,title:u("codeblock.delete","Delete code block"),onClick:e=>{e.preventDefault(),c.update(()=>{v.remove()})}},C("delete_small"))),i.createElement("div",{ref:T}))};function y(e){e.stopPropagation()}},32975:(e,t,n)=>{"use strict";n.d(t,{I:()=>u});var r=n(73878),i=n(3793),o=n(7620),l=n(41340),s=n(6353),a=n(60554);let u=o.forwardRef(({title:e,children:t},n)=>{let u=(0,s.X3)(a.xZ);return o.createElement(r.Kq,{delayDuration:100},o.createElement(r.bL,null,o.createElement(r.l9,{ref:n,asChild:!0},o.createElement("span",{className:l.Ay.tooltipTrigger},t)),o.createElement(r.ZL,{container:null==u?void 0:u.current},o.createElement(r.UC,{className:i(l.Ay.tooltipContent),sideOffset:10},e))))})},34418:(e,t,n)=>{"use strict";n.d(t,{tZ:()=>y});var r=n(95980),i=n(52923),o=n(13051);let l="#2e3440",s="#3b4252",a="#434c5e",u="#4c566a",c="#e5e9f0",h="#eceff4",d="#8fbcbb",f="#88c0d0",p="#5e81ac",g="#d08770",m="#ebcb8b",O="#a3be8c",x="#d30102",b=r.Lz.theme({"&":{color:l,backgroundColor:"#ffffff"},".cm-content":{caretColor:s},".cm-cursor, .cm-dropCursor":{borderLeftColor:s},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:h},".cm-panels":{backgroundColor:h,color:u},".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 ${u}`},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:c},".cm-activeLine":{backgroundColor:h},".cm-selectionMatch":{backgroundColor:c},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{outline:`1px solid ${u}`},"&.cm-focused .cm-matchingBracket":{backgroundColor:h},".cm-gutters":{backgroundColor:h,color:l,border:"none"},".cm-activeLineGutter":{backgroundColor:h},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:s},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:s,borderBottomColor:s},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:h,color:u}}},{dark:!1}),v=i.cr.define([{tag:o._A.keyword,color:p},{tag:[o._A.name,o._A.deleted,o._A.character,o._A.propertyName,o._A.macroName],color:g},{tag:[o._A.variableName],color:g},{tag:[o._A.function(o._A.variableName)],color:p},{tag:[o._A.labelName],color:"#81a1c1"},{tag:[o._A.color,o._A.constant(o._A.name),o._A.standard(o._A.name)],color:p},{tag:[o._A.definition(o._A.name),o._A.separator],color:O},{tag:[o._A.brace],color:d},{tag:[o._A.annotation],color:x},{tag:[o._A.number,o._A.changed,o._A.annotation,o._A.modifier,o._A.self,o._A.namespace],color:f},{tag:[o._A.typeName,o._A.className],color:m},{tag:[o._A.operator,o._A.operatorKeyword],color:O},{tag:[o._A.tagName],color:"#b48ead"},{tag:[o._A.squareBracket],color:"#bf616a"},{tag:[o._A.angleBracket],color:g},{tag:[o._A.attributeName],color:m},{tag:[o._A.regexp],color:p},{tag:[o._A.quote],color:s},{tag:[o._A.string],color:g},{tag:o._A.link,color:d,textDecoration:"underline",textUnderlinePosition:"under"},{tag:[o._A.url,o._A.escape,o._A.special(o._A.string)],color:g},{tag:[o._A.meta],color:f},{tag:[o._A.comment],color:a,fontStyle:"italic"},{tag:o._A.strong,fontWeight:"bold",color:p},{tag:o._A.emphasis,fontStyle:"italic",color:p},{tag:o._A.strikethrough,textDecoration:"line-through"},{tag:o._A.heading,fontWeight:"bold",color:p},{tag:o._A.special(o._A.heading1),fontWeight:"bold",color:p},{tag:o._A.heading1,fontWeight:"bold",color:p},{tag:[o._A.heading2,o._A.heading3,o._A.heading4],fontWeight:"bold",color:p},{tag:[o._A.heading5,o._A.heading6],color:p},{tag:[o._A.atom,o._A.bool,o._A.special(o._A.variableName)],color:g},{tag:[o._A.processingInstruction,o._A.inserted],color:d},{tag:[o._A.contentSeparator],color:m}
1,{tag:o._A.invalid,color:a,borderBottom:`1px dotted ${x}`}]),y=[b,(0,i.y9)(v)]},35800:(e,t,n)=>{"use strict";function r(){}n.d(t,{ok:()=>r})},36388:(e,t,n)=>{"use strict";n.d(t,{OO:()=>p,xO:()=>g});var r=n(73104),i=n(6353),o=n(26874),l=n(17705),s=n(87088),a=n(60554);let u={testLexicalNode:r.Pi,visitLexicalNode:({lexicalNode:e,actions:t})=>{let n=parseInt(e.getTag()[1],10);t.addAndStepInto("heading",{depth:n})}},c={testNode:"heading",visitNode:function({mdastNode:e,actions:t}){t.addAndStepInto((0,r.fi)(`h${e.depth}`))}},h=["Digit0","Digit1","Digit2","Digit3","Digit4","Digit5","Digit6"],d=[1,2,3,4,5,6],f={Digit1:1,Digit2:2,Digit3:3,Digit4:4,Digit5:5,Digit6:6},p=(0,i.fh)(d,e=>{e.pub(a.Jl,t=>t.registerCommand(o.R18,n=>{let{code:i,ctrlKey:l,metaKey:u,altKey:c}=n;return!!(h.includes(i)&&(0,s.oQ)(u,l))&&!!c&&(n.preventDefault(),t.update(()=>{if("Digit0"===i)e.pub(a.vR,()=>(0,o.lJ7)());else{let t=e.getValue(p),n=f[i];t.includes(n)&&e.pub(a.vR,()=>(0,r.fi)(`h${n}`))}}),!0)},o.AcJ))}),g=(0,l.Z)({init(e,t){e.pubIn({[a.$0]:"headings",[a.R1]:c,[a.q]:r.jL,[a.iI]:u}),e.pub(p,(null==t?void 0:t.allowedHeadingLevels)??d)},update(e,t){e.pub(p,(null==t?void 0:t.allowedHeadingLevels)??d)}})},36433:(e,t,n)=>{"use strict";let r;n.d(t,{dI:()=>e$,tW:()=>eP,a2:()=>e_,MJ:()=>eQ});var i=n(60554),o=n(7620),l=n(95980),s=n(25263),a=n(43746);n(52923),n(13051);class u{constructor(e,t,n,r){this.fromA=e,this.toA=t,this.fromB=n,this.toB=r}offset(e,t=e){return new u(this.fromA+e,this.toA+e,this.fromB+t,this.toB+t)}}function c(e,t,n,r,i,o){if(e==r)return[];let l=x(e,t,n,r,i,o),s=b(e,t+l,n,r,i+l,o);t+=l,n-=s,i+=l;let a=n-t,f=(o-=s)-i;if(!a||!f)return[new u(t,n,i,o)];if(a>f){let l=e.slice(t,n).indexOf(r.slice(i,o));if(l>-1)return[new u(t,t+l,i,i),new u(t+l+f,n,o,o)]}else if(f>a){let l=r.slice(i,o).indexOf(e.slice(t,n));if(l>-1)return[new u(t,t,i,i+l),new u(n,n,i+l+a,o)]}if(1==a||1==f)return[new u(t,n,i,o)];let p=function e(t,n,r,i,o,l){let s=r-n,a=l-o;if(s<a){let s=e(i,o,l,t,n,r);return s&&[s[1],s[0],s[2]]}return s<4||2*a<s?null:v(t,n,r,i,o,l,Math.floor(s/4),-1)}(e,t,n,r,i,o);if(p){let[l,s,a]=p;return c(e,t,l,r,i,s).concat(c(e,l+a,n,r,s+a,o))}return function(e,t,n,r,i,o){let l=n-t,s=o-i;if(h<1e9&&Math.min(l,s)>16*h||d>0&&Date.now()>d)return Math.min(l,s)>64*h?[new u(t,n,i,o)]:y(e,t,n,r,i,o);let a=Math.ceil((l+s)/2);g.reset(a),m.reset(a);let f=(n,o)=>e.charCodeAt(t+n)==r.charCodeAt(i+o),p=(t,i)=>e.charCodeAt(n-t-1)==r.charCodeAt(o-i-1),O=(l-s)%2!=0?m:null,x=O?null:g;for(let b=0;b<a;b++){if(b>h||d>0&&!(63&b)&&Date.now()>d)return y(e,t,n,r,i,o);let v=g.advance(b,l,s,a,O,!1,f)||m.advance(b,l,s,a,x,!0,p);if(v)return function(e,t,n,r,i,o,l,s){let a=!1;return(E(e,r)||++r!=n||(a=!0),E(i,s)||++s!=l||(a=!0),a)?[new u(t,n,o,l)]:c(e,t,r,i,o,s).concat(c(e,r,n,i,s,l))}(e,t,n,t+v[0],r,i,o,i+v[1])}return[new u(t,n,i,o)]}(e,t,n,r,i,o)}let h=1e9,d=0,f=!1;class p{constructor(){this.vec=[]}reset(e){this.len=e<<1;for(let e=0;e<this.len;e++)this.vec[e]=-1;this.vec[e+1]=0,this.start=this.end=0}advance(e,t,n,r,i,o,l){for(let s=-e+this.start;s<=e-this.end;s+=2){let a=r+s,u=s==-e||s!=e&&this.vec[a-1]<this.vec[a+1]?this.vec[a+1]:this.vec[a-1]+1,c=u-s;for(;u<t&&c<n&&l(u,c);)u++,c++;if(this.vec[a]=u,u>t)this.end+=2;else if(c>n)this.start+=2;else if(i){let e=r+(t-n)-s;if(e>=0&&e<this.len&&-1!=i.vec[e]){if(o){let n=i.vec[e];if(n>=t-u)return[n,r+n-e]}else if(u>=t-i.vec[e])return[u,c]}}}return null}}let g=new p,m=new p;function O(e,t){let n=1,r=Math.min(e,t);for(;n<r;)n<<=1;return n}function x(e,t,n,r,i,o){if(t==n||t==o||e.charCodeAt(t)!=r.charCodeAt(i))return 0;let l=O(n-t,o-i);for(let s=t,a=i;;){let i=s+l,u=a+l;if(i>n||u>o||e.slice(s,i)!=r.slice(a,u)){if(1==l)return s-t-!E(e,s);l>>=1}else{if(i==n||u==o)return i-t;s=i,a=u}}}function b(e,t,n,r,i,o){if(t==n||i==o||e.charCodeAt(n-1)!=r.charCodeAt(o-1))return 0;let l=O(n-t,o-i);for(let s=n,a=o;;){let o=s-l,u=a-l;if(o<t||u<i||e.slice(o,s)!=r.slice(u,a)){if(1==l)return n-s-!E(e,s);l>>=1}else{if(o==t||u==i)return n-o;s=o,a=u}}}function v(e,t,n,r,i,o,l,s){let a=r.slice(i,o),u=null;for(;;){if(u||l<s)return u;for(let s=t+l;;){!E(e,s)&&s++;let c=s+l;
1if(E(e,c)||(c+=c==s+1?1:-1),c>=n)break;let h=e.slice(s,c),d=-1;for(;-1!=(d=a.indexOf(h,d+1));){let l=x(e,c,n,r,i+d+h.length,o),a=b(e,t,s,r,i,i+d),f=h.length+l+a;(!u||u[2]<f)&&(u=[s-a,i+d-a,f])}s=c}if(s<0)return u;l>>=1}}function y(e,t,n,r,i,o){let l;f=!0;let s=n-t,a=o-i;if(s<a){let a=v(r,i,o,e,t,n,Math.floor(s/6),50);l=a&&[a[1],a[0],a[2]]}else l=v(e,t,n,r,i,o,Math.floor(a/6),50);if(!l)return[new u(t,n,i,o)];let[h,d,p]=l;return c(e,t,h,r,i,d).concat(c(e,h+p,n,r,d+p,o))}function k(e,t){for(let n=1;n<e.length;n++){let r=e[n-1],i=e[n];r.toA>i.fromA-t&&r.toB>i.fromB-t&&(e[n-1]=new u(r.fromA,i.toA,r.fromB,i.toB),e.splice(n--,1))}}try{r=RegExp("[\\p{Alphabetic}\\p{Number}]","u")}catch(e){}function w(e){return e>48&&e<58||e>64&&e<91||e>96&&e<123}function S(e,t){if(t==e.length)return 0;let n=e.charCodeAt(t);return n<192?+!!w(n):r?T(n)&&t!=e.length-1?2*!!r.test(e.slice(t,t+2)):+!!r.test(String.fromCharCode(n)):0}function C(e,t){if(!t)return 0;let n=e.charCodeAt(t-1);return n<192?+!!w(n):r?A(n)&&1!=t?2*!!r.test(e.slice(t-2,t)):+!!r.test(String.fromCharCode(n)):0}function P(e,t,n){if(t==e.length||!C(e,t))return t;for(let r=t,i=t+n,o=0;o<8;o++){let t=S(e,r);if(!t||r+t>i)return r;r+=t}return t}function $(e,t,n){if(!t||!S(e,t))return t;for(let r=t,i=t-n,o=0;o<8;o++){let t=C(e,r);if(!t||r-t<i)return r;r-=t}return t}function Q(e,t,n){for(;t!=n;t--)if(10==e.charCodeAt(t-1))return t;return -1}function _(e,t,n){for(;t!=n;t++)if(10==e.charCodeAt(t))return t;return -1}let T=e=>e>=55296&&e<=56319,A=e=>e>=56320&&e<=57343;function E(e,t){return!t||t==e.length||!T(e.charCodeAt(t-1))||!A(e.charCodeAt(t))}function Z(e,t,n){var r;let i;return function(e,t,n){for(let r=0,i=0;i<e.length;i++){let o=e[i],l=o.toA-o.fromA,s=o.toB-o.fromB;if(l&&s||l>3||s>3){let a=i==e.length-1?t.length:e[i+1].fromA,c=o.fromA-r,h=a-o.toA,d=$(t,o.fromA,c),f=P(t,o.toA,h),p=o.fromA-d,g=f-o.toA;if((!l||!s)&&p&&g){let c=Math.max(l,s),[h,m,O]=l?[t,o.fromA,o.toA]:[n,o.fromB,o.toB];c>p&&t.slice(d,o.fromA)==h.slice(O-p,O)?(d=(o=e[i]=new u(d,d+l,o.fromB-p,o.toB-p)).fromA,f=P(t,o.toA,a-o.toA)):c>g&&t.slice(o.toA,f)==h.slice(m,m+g)&&(f=(o=e[i]=new u(f-l,f,o.fromB+g,o.toB+g)).toA,d=$(t,o.fromA,o.fromA-r)),p=o.fromA-d,g=f-o.toA}if(p||g)o=e[i]=new u(o.fromA-p,o.toA+g,o.fromB-p,o.toB+g);else if(l){if(!s){let n=_(t,o.fromA,o.toA),r,l=n<0?-1:Q(t,o.toA,o.fromA);n>-1&&(r=n-o.fromA)<=h&&t.slice(o.fromA,n)==t.slice(o.toA,o.toA+r)?o=e[i]=o.offset(r):l>-1&&(r=o.toA-l)<=c&&t.slice(o.fromA-r,o.fromA)==t.slice(l,o.toA)&&(o=e[i]=o.offset(-r))}}else{let t=_(n,o.fromB,o.toB),r,l=t<0?-1:Q(n,o.toB,o.fromB);t>-1&&(r=t-o.fromB)<=h&&n.slice(o.fromB,t)==n.slice(o.toB,o.toB+r)?o=e[i]=o.offset(r):l>-1&&(r=o.toB-l)<=c&&n.slice(o.fromB-r,o.fromB)==n.slice(l,o.toB)&&(o=e[i]=o.offset(-r))}}r=o.toA}return k(e,3),e}((i=null==n?void 0:n.override)?i(e,t):(h=(null!=(r=null==n?void 0:n.scanLimit)?r:1e9)>>1,d=(null==n?void 0:n.timeout)?Date.now()+n.timeout:0,f=!1,function(e,t,n){for(;;){k(n,1);let r=!1;for(let i=0;i<n.length;i++){let o=n[i],l,s;(l=x(e,o.fromA,o.toA,t,o.fromB,o.toB))&&(o=n[i]=new u(o.fromA+l,o.toA,o.fromB+l,o.toB)),(s=b(e,o.fromA,o.toA,t,o.fromB,o.toB))&&(o=n[i]=new u(o.fromA,o.toA-s,o.fromB,o.toB-s));let a=o.toA-o.fromA,c=o.toB-o.fromB;if(a&&c)continue;let h=o.fromA-(i?n[i-1].toA:0),d=(i<n.length-1?n[i+1].fromA:e.length)-o.toA;if(!h||!d)continue;let f=a?e.slice(o.fromA,o.toA):t.slice(o.fromB,o.toB);h<=f.length&&e.slice(o.fromA-h,o.fromA)==f.slice(f.length-h)?(n[i]=new u(o.fromA-h,o.toA-h,o.fromB-h,o.toB-h),r=!0):d<=f.length&&e.slice(o.toA,o.toA+d)==f.slice(0,d)&&(n[i]=new u(o.fromA+d,o.toA+d,o.fromB+d,o.toB+d),r=!0)}if(!r)break}return n}(e,t,c(e,0,e.length,t,0,t.length))),e,t)}let R=s.sj.define({combine:e=>e[0]}),j=s.Pe.define(),M=s.sj.define(),L=s.sU.define({create:e=>null,update(e,t){for(let n of t.effects)n.is(j)&&(e=n.value);for(let n of t.state.facet(M))e=n(e,t);return e}});class I{constructor(e,t,n,r,i,o=!0){this.changes=e,this.fromA=t,this.toA=n,this.fromB=r,this.toB=i,this.precise=o}offset(e,t){return e||t?new I(this.changes,this.fromA+e,this.toA+e,this.fromB+t,this.toB+t,this.precise):this}get endA(){return Math.max(this.fromA,this.toA-1)}get endB(){return Math.max(this.fromB,this.toB-1)}static build(e,t,n){return V(Z(e.toString(),t.toString(),n),e,t,0,0,!f)}static updateA(e,t,n,r,i){return q(z(e,r,!0,n.length),e,t,n,i)}static updateB(e,t,n,r,i){return q(z(e,r,!1,t.length),e,t,n,i)}}function X(e,t,n,r){let i=n.lineAt(e),o=r.lineAt(t);return i.to==e&&o.to==t&&e<n.length&&t<r.length?[e+1,t+1]:[i.from,o.from]}function N(e,t,n,r){let i=n.lineAt(e),o=r.lineAt(t);return i.from==e&&o.from==t?[e,t]:[i.to+1,o.to+1]}function V(e,t,n,r,i,o){let l=[];for(let s=0;s<e.length;s++){let a=e[s],[u,c]=X(a.fromA+r,a.fromB+i,t,n),[h,d]=N(a.toA+r,a.toB+i,t,n),f=[a.offset(-u+r,-c+i)];for(;s<e.length-1;){let o=e[s+1],[l,a]=X(o.fromA+r,o.fromB+i,t,n);if(l>h+1&&a>d+1)break;f.push(o.offset(-u+r,-c+i)),[h,d]=N(o.toA+r,o.toB+i,t,n),s++}l.push(new I(f,u,Math.max(u,h),c,Math.max(c,d),o))}return l}function D(e,t,n,r){let i=0,o=e.length;for(;;){if(i==o){let r=0,o=0;i&&({toA:r,toB:o}=e[i-1]);let l=t-(n?r:o);return[r+l,o+l]}let l=i+o>>1,s=e[l],[a,u]=n?[s.fromA,s.toA]:[s.fromB,s.toB];if(a>t)o=l;else{if(!(u<=t))return r?[s.fromA,s.fromB]:[s.toA,s.toB];i=l+1}}}function z(e,t,n,r){let i=[];return t.iterChangedRanges((o,l,s,a)=>{let u=0,c=n?t.length:r,h=0,d=n?r:t.length;o>1e3&&([u,h]=D(e,o-1e3,n,!0)),l<t.length-1e3&&([c,d]=D(e,l+1e3,n,!1));let f=a-s-(l-o),p,[g,m]=n?[f,0]:[0,f];i.length&&(p=i[i.length-1]).toA>=u?i[i.length-1]={fromA:p.fromA,fromB:p.fromB,toA:c,toB:d,diffA:p.diffA+g,diffB:p.diffB+m}:i.push({fromA:u,toA:c,fromB:h,toB:d,diffA:g,diffB:m})}),i}function q(e,t,n,r,i){if(!e.length)return t;let o=[];for(let l=0,s=0,a=0,u=0;;l++){let c=l==e.length?null:e[l],h=c?c.fromA+s:n.length,d=c?c.fromB+a:r.length;for(;u<t.length;){let e=t[u];if(c&&(e.toA+s>h||e.toB+a>d))break;o.push(e.offset(s,a)),u++}if(!c)break;let p=c.toA+s+c.diffA,g=c.toB+a+c.diffB;for(let e of V(Z(n.sliceString(h,p),r.sliceString(d,g),i),n,r,h,d,!f))o.push(e);for(s+=c.diffA,a+=c.diffB;u<t.length;){let e=t[u];if(e.fromA+s>p&&e.fromB+a>g)break;u++}}return o}let B={scanLimit:500},F=l.Z9.fromClass(class{constructor(e){({deco:this.deco,gutter:this.gutter}=K(e))}update(e){var t,n,r,i;(e.docChanged||e.viewportChanged||(t=e.startState,n=e.state,t.field(L,!1)!=n.field(L,!1))||(r=e.startState,i=e.state,r.facet(R)!=i.facet(R)))&&({deco:this.deco,gutter:this.gutter}
1=K(e.view))}},{decorations:e=>e.deco}),Y=s.Nb.low((0,l.cU)({class:"cm-changeGutter",markers:e=>{var t;return(null==(t=e.plugin(F))?void 0:t.gutter)||s.om.empty}})),U=l.NZ.line({class:"cm-changedLine"}),W=l.NZ.mark({class:"cm-changedText"}),H=l.NZ.mark({tagName:"ins",class:"cm-insertedLine"}),G=l.NZ.mark({tagName:"del",class:"cm-deletedLine"}),J=new class extends l.wJ{constructor(){super(...arguments),this.elementClass="cm-changedLineGutter"}};function K(e){let t=e.state.field(L),{side:n,highlightChanges:r,markGutter:i,overrideChunk:o}=e.state.facet(R),l="a"==n,a=new s.vB,u=i?new s.vB:null,{from:c,to:h}=e.viewport;for(let n of t){if((l?n.fromA:n.fromB)>=h)break;!((l?n.toA:n.toB)>c)||o&&o(e.state,n,a,u)||function(e,t,n,r,i,o){let l=n?e.fromA:e.fromB,s=n?e.toA:e.toB,a=0;if(l!=s){i.add(l,l,U),i.add(l,s,n?G:H),o&&o.add(l,l,J);for(let u=t.iterRange(l,s-1),c=l;!u.next().done;){if(u.lineBreak){c++,i.add(c,c,U),o&&o.add(c,c,J);continue}let t=c+u.value.length;if(r)for(;a<e.changes.length;){let r=e.changes[a],o=l+(n?r.fromA:r.fromB),s=l+(n?r.toA:r.toB),u=Math.max(c,o),h=Math.min(t,s);if(u<h&&i.add(u,h,W),s<t)a++;else break}c=t}}}(n,e.state.doc,l,r,a,u)}return{deco:a.finish(),gutter:u&&u.finish()}}class ee extends l.xO{constructor(e){super(),this.height=e}eq(e){return this.height==e.height}toDOM(){let e=document.createElement("div");return e.className="cm-mergeSpacer",e.style.height=this.height+"px",e}updateDOM(e){return e.style.height=this.height+"px",!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}}let et=s.Pe.define({map:(e,t)=>e.map(t)}),en=s.sU.define({create:()=>l.NZ.none,update:(e,t)=>{for(let e of t.effects)if(e.is(et))return e.value;return e.map(t.changes)},provide:e=>l.Lz.decorations.from(e)});function er(e,t){if(e.size!=t.size)return!1;let n=e.iter(),r=t.iter();for(;n.value;){if(n.from!=r.from||Math.abs(n.value.spec.widget.height-r.value.spec.widget.height)>1)return!1;n.next(),r.next()}return!0}let ei=s.Pe.define({map:(e,t)=>t.mapPos(e)});class eo extends l.xO{constructor(e){super(),this.lines=e}eq(e){return this.lines==e.lines}toDOM(e){let t=document.createElement("div");return t.className="cm-collapsedLines",t.textContent=e.state.phrase("$ unchanged lines",this.lines),t.addEventListener("click",t=>{let n=e.posAtDOM(t.target);e.dispatch({effects:ei.of(n)});let{side:r,sibling:i}=e.state.facet(R);i&&i().dispatch({effects:ei.of(function(e,t,n){let r=0,i=0;for(let o=0;;o++){let l=o<t.length?t[o]:null;if(!l||(n?l.fromA:l.fromB)>=e)return i+(e-r);[r,i]=n?[l.toA,l.toB]:[l.toB,l.toA]}}(n,e.state.field(L),"a"==r))})}),t}ignoreEvent(e){return e instanceof MouseEvent}get estimatedHeight(){return 27}get type(){return"collapsed-unchanged-code"}}let el=s.sU.define({create:e=>l.NZ.none,update(e,t){for(let n of(e=e.map(t.changes),t.effects))n.is(ei)&&(e=e.update({filter:e=>e!=n.value}));if(e.size&&t.state.field(L)!=t.startState.field(L,!1)){let n="a"==t.state.facet(R).side,r=[];for(let i of t.state.field(L))e.between(n?i.fromA:i.fromB,n?i.toA:i.toB,e=>{r.push(e)});r.length&&(e=e.update({filter:e=>0>r.indexOf(e)}))}return e},provide:e=>l.Lz.decorations.from(e)});function es({margin:e=3,minSize:t=4}){return el.init(n=>(function(e,t,n){let r=new s.vB,i="a"==e.facet(R).side,o=e.field(L),a=1;for(let s=0;;s++){let u=s<o.length?o[s]:null,c=s?a+t:1,h=u?e.doc.lineAt(i?u.fromA:u.fromB).number-1-t:e.doc.lines,d=h-c+1;if(d>=n&&r.add(e.doc.line(c).from,e.doc.line(h).to,l.NZ.replace({widget:new eo(d),block:!0})),!u)break;a=e.doc.lineAt(Math.min(e.doc.length,i?u.toA:u.toB)).number}return r.finish()})(n,e,t))}let ea=l.Lz.styleModule.of(new a.G({".cm-mergeView":{overflowY:"auto"},".cm-mergeViewEditors":{display:"flex",alignItems:"stretch"},".cm-mergeViewEditor":{flexGrow:1,flexBasis:0,overflow:"hidden"},".cm-merge-revert":{width:"1.6em",flexGrow:0,flexShrink:0,position:"relative"},".cm-merge-revert button":{position:"absolute",display:"block",width:"100%",boxSizing:"border-box",textAlign:"center",background:"none",border:"none",font:"inherit",cursor:"pointer"}})),eu=l.Lz.baseTheme({".cm-mergeView & .cm-scroller, .cm-mergeView &":{height:"auto !important",overflowY:"visible !important"},"&.cm-merge-a .cm-changedLine, .cm-deletedChunk":{backgroundColor:"rgba(160, 128, 100, .08)"},"&.cm-merge-b .cm-changedLine, .cm-inlineChangedLine":{backgroundColor:"rgba(100, 160, 128, .08)"}
1,"&light.cm-merge-a .cm-changedText, &light .cm-deletedChunk .cm-deletedText":{background:"linear-gradient(#ee443366, #ee443366) bottom/100% 2px no-repeat"},"&dark.cm-merge-a .cm-changedText, &dark .cm-deletedChunk .cm-deletedText":{background:"linear-gradient(#ffaa9966, #ffaa9966) bottom/100% 2px no-repeat"},"&light.cm-merge-b .cm-changedText":{background:"linear-gradient(#22bb22aa, #22bb22aa) bottom/100% 2px no-repeat"},"&dark.cm-merge-b .cm-changedText":{background:"linear-gradient(#88ff88aa, #88ff88aa) bottom/100% 2px no-repeat"},"&.cm-merge-b .cm-deletedText":{background:"#ff000033"},".cm-insertedLine, .cm-deletedLine, .cm-deletedLine del":{textDecoration:"none"},".cm-deletedChunk":{paddingLeft:"6px","& .cm-chunkButtons":{position:"absolute",insetInlineEnd:"5px"},"& button":{border:"none",cursor:"pointer",color:"white",margin:"0 2px",borderRadius:"3px","&[name=accept]":{background:"#2a2"},"&[name=reject]":{background:"#d43"}}},".cm-collapsedLines":{padding:"5px 5px 5px 10px",cursor:"pointer","&:before":{content:'"â¦"',marginInlineEnd:"7px"},"&:after":{content:'"â¦"',marginInlineStart:"7px"}},"&light .cm-collapsedLines":{color:"#444",background:"linear-gradient(to bottom, transparent 0, #f3f3f3 30%, #f3f3f3 70%, transparent 100%)"},"&dark .cm-collapsedLines":{color:"#ddd",background:"linear-gradient(to bottom, transparent 0, #222 30%, #222 70%, transparent 100%)"},".cm-changeGutter":{width:"3px",paddingLeft:"1px"},"&light.cm-merge-a .cm-changedLineGutter, &light .cm-deletedLineGutter":{background:"#e43"},"&dark.cm-merge-a .cm-changedLineGutter, &dark .cm-deletedLineGutter":{background:"#fa9"},"&light.cm-merge-b .cm-changedLineGutter":{background:"#2b2"},"&dark.cm-merge-b .cm-changedLineGutter":{background:"#8f8"},".cm-inlineChangedLineGutter":{background:"#75d"}}),ec=new s.xx,eh=new s.xx;class ed{constructor(e){this.revertDOM=null,this.revertToA=!1,this.revertToLeft=!1,this.measuring=-1,this.diffConf=e.diffConfig||B;let t=[s.Nb.low(F),eu,ea,en,l.Lz.updateListener.of(e=>{this.measuring<0&&(e.heightChanged||e.viewportChanged)&&!e.transactions.some(e=>e.effects.some(e=>e.is(et)))&&this.measure()})],n=[R.of({side:"a",sibling:()=>this.b,highlightChanges:!1!==e.highlightChanges,markGutter:!1!==e.gutter})];!1!==e.gutter&&n.push(Y);let r=s.$t.create({doc:e.a.doc,selection:e.a.selection,extensions:[e.a.extensions||[],l.Lz.editorAttributes.of({class:"cm-merge-a"}),eh.of(n),t]}),i=[R.of({side:"b",sibling:()=>this.a,highlightChanges:!1!==e.highlightChanges,markGutter:!1!==e.gutter})];!1!==e.gutter&&i.push(Y);let o=s.$t.create({doc:e.b.doc,selection:e.b.selection,extensions:[e.b.extensions||[],l.Lz.editorAttributes.of({class:"cm-merge-b"}),eh.of(i),t]});this.chunks=I.build(r.doc,o.doc,this.diffConf);let a=[L.init(()=>this.chunks),ec.of(e.collapseUnchanged?es(e.collapseUnchanged):[])];r=r.update({effects:s.Pe.appendConfig.of(a)}).state,o=o.update({effects:s.Pe.appendConfig.of(a)}).state,this.dom=document.createElement("div"),this.dom.className="cm-mergeView",this.editorDOM=this.dom.appendChild(document.createElement("div")),this.editorDOM.className="cm-mergeViewEditors";let u=e.orientation||"a-b",c=document.createElement("div");c.className="cm-mergeViewEditor";let h=document.createElement("div");h.className="cm-mergeViewEditor",this.editorDOM.appendChild("a-b"==u?c:h),this.editorDOM.appendChild("a-b"==u?h:c),this.a=new l.Lz({state:r,parent:c,root:e.root,dispatchTransactions:e=>this.dispatch(e,this.a)}),this.b=new l.Lz({state:o,parent:h,root:e.root,dispatchTransactions:e=>this.dispatch(e,this.b)}),this.setupRevertControls(!!e.revertControls,"b-to-a"==e.revertControls,e.renderRevertControl),e.parent&&e.parent.appendChild(this.dom),this.scheduleMeasure()}dispatch(e,t){if(e.some(e=>e.docChanged)){let n=e[e.length-1],r=e.reduce((e,t)=>e.compose(t.changes),s.VR.empty(e[0].startState.doc.length));this.chunks=t==this.a?I.updateA(this.chunks,n.newDoc,this.b.state.doc,r,this.diffConf):I.updateB(this.chunks,this.a.state.doc,n.newDoc,r,this.diffConf),t.update([...e,n.state.update({effects:j.of(this.chunks)})]);let i=t==this.a?this.b:this.a;i.update([i.state.update({effects:j.of(this.chunks)})]),this.scheduleMeasure()}else t.update(e)}reconfigure(e){if("diffConfig"in e&&(this.diffConf=e.diffConfig),"orientation"in e){let t="b-a"!=e.orientation;if(t!=(this.editorDOM.firstChild==this.a.dom.parentNode)){let e=this.a.dom.parentNode,n=this.b.dom.parentNode;e.remove(),n.remove(),this.editorDOM.insertBefore(t?e:n,this.editorDOM.firstChild),this.editorDOM.appendChild(t?n:e),this.revertToLeft=!this.revertToLeft,this.revertDOM&&(this.revertDOM.textContent="")}}if("revertControls"in e||"renderRevertControl"in e){let t=!!this.revertDOM,n=this.revertToA,r=this.renderRevert;"revertControls"in e&&(t=!!e.revertControls,n="b-to-a"==e.revertControls),"renderRevertControl"in e&&(r=e.renderRevertControl),this.setupRevertControls(t,n,r)}let t="highlightChanges"in e,n="gutter"in e,r="collapseUnchanged"in e;if(t||n||r){let i=[],o=[];if(t||n){let r=this.a.state.facet(R),l=n?!1!==e.gutter:r.markGutter,s=t?!1!==e.highlightChanges:r.highlightChanges;i.push(eh.reconfigure([R.of({side:"a",sibling:()=>this.b,highlightChanges:s,markGutter:l}),l?Y:[]])),o.push(eh.reconfigure([R.of({side:"b",sibling:()=>this.a,highlightChanges:s,markGutter:l}),l?Y:[]]))}if(r){let t=ec.reconfigure(e.collapseUnchanged?es(e.collapseUnchanged):[]);i.push(t),o.push(t)}this.a.dispatch({effects:i}
1),this.b.dispatch({effects:o})}this.scheduleMeasure()}setupRevertControls(e,t,n){this.revertToA=t,this.revertToLeft=this.revertToA==(this.editorDOM.firstChild==this.a.dom.parentNode),this.renderRevert=n,!e&&this.revertDOM?(this.revertDOM.remove(),this.revertDOM=null):e&&!this.revertDOM?(this.revertDOM=this.editorDOM.insertBefore(document.createElement("div"),this.editorDOM.firstChild.nextSibling),this.revertDOM.addEventListener("mousedown",e=>this.revertClicked(e)),this.revertDOM.className="cm-merge-revert"):this.revertDOM&&(this.revertDOM.textContent="")}scheduleMeasure(){if(this.measuring<0){let e=this.dom.ownerDocument.defaultView||window;this.measuring=e.requestAnimationFrame(()=>{this.measuring=-1,this.measure()})}}measure(){!function(e,t,n){let r=new s.vB,i=new s.vB,o=e.state.field(en).iter(),a=t.state.field(en).iter(),u=0,c=0,h=0,d=0,f=e.viewport,p=t.viewport;for(let s=0;;s++){let g=s<n.length?n[s]:null,m=g?g.fromA:e.state.doc.length,O=g?g.fromB:t.state.doc.length;if(u<m){let n=e.lineBlockAt(u).top+h-(t.lineBlockAt(c).top+d);n<-.01?(h-=n,r.add(u,u,l.NZ.widget({widget:new ee(-n),block:!0,side:-1}))):n>.01&&(d+=n,i.add(c,c,l.NZ.widget({widget:new ee(n),block:!0,side:-1})))}if(m>u+1e3&&u<f.from&&m>f.from&&c<p.from&&O>p.from){let e=Math.min(f.from-u,p.from-c);u+=e,c+=e,s--}else if(g)u=g.toA,c=g.toB;else break;for(;o.value&&o.from<u;)h-=o.value.spec.widget.height,o.next();for(;a.value&&a.from<c;)d-=a.value.spec.widget.height,a.next()}for(;o.value;)h-=o.value.spec.widget.height,o.next();for(;a.value;)d-=a.value.spec.widget.height,a.next();let g=e.contentHeight+h-(t.contentHeight+d);g<.01?r.add(e.state.doc.length,e.state.doc.length,l.NZ.widget({widget:new ee(-g),block:!0,side:1})):g>.01&&i.add(t.state.doc.length,t.state.doc.length,l.NZ.widget({widget:new ee(g),block:!0,side:1}));let m=r.finish(),O=i.finish();er(m,e.state.field(en))||e.dispatch({effects:et.of(m)}),er(O,t.state.field(en))||t.dispatch({effects:et.of(O)})}(this.a,this.b,this.chunks),this.revertDOM&&this.updateRevertButtons()}updateRevertButtons(){let e=this.revertDOM,t=e.firstChild,n=this.a.viewport,r=this.b.viewport;for(let i=0;i<this.chunks.length;i++){let o=this.chunks[i];if(o.fromA>n.to||o.fromB>r.to)break;if(o.fromA<n.from||o.fromB<r.from)continue;let l=this.a.lineBlockAt(o.fromA).top+"px";for(;t&&+t.dataset.chunk<i;)t=ef(t);t&&t.dataset.chunk==String(i)?(t.style.top!=l&&(t.style.top=l),t=t.nextSibling):e.insertBefore(this.renderRevertButton(l,i),t)}for(;t;)t=ef(t)}renderRevertButton(e,t){let n;if(this.renderRevert)n=this.renderRevert();else{n=document.createElement("button");let e=this.a.state.phrase("Revert this chunk");n.setAttribute("aria-label",e),n.setAttribute("title",e),n.textContent=this.revertToLeft?"â":"â"}return n.style.top=e,n.setAttribute("data-chunk",String(t)),n}revertClicked(e){let t=e.target,n;for(;t&&t.parentNode!=this.revertDOM;)t=t.parentNode;if(t&&(n=this.chunks[t.dataset.chunk])){let[t,r,i,o,l,s]=this.revertToA?[this.b,this.a,n.fromB,n.toB,n.fromA,n.toA]:[this.a,this.b,n.fromA,n.toA,n.fromB,n.toB],a=t.state.sliceDoc(i,Math.max(i,o-1));i!=o&&s<=r.state.doc.length&&(a+=t.state.lineBreak),r.dispatch({changes:{from:l,to:Math.min(r.state.doc.length,s),insert:a},userEvent:"revert"}),e.preventDefault()}}destroy(){this.a.destroy(),this.b.destroy(),this.measuring>-1&&(this.dom.ownerDocument.defaultView||window).cancelAnimationFrame(this.measuring),this.dom.remove()}}function ef(e){let t=e.nextSibling;return e.remove(),t}let ep=s.Pe.define();l.xO,l.xO;var eg=n(39675),em=n(34418),eO=n(62972),ex=n(6353);let eb=[eO.oQ,em.tZ,(0,eg.markdown)(),(0,l.$K)(),l.Lz.lineWrapping],ev=()=>{let[e,t,n]=(0,ex.uX)(i.oF,i.pc,e$),r=(0,ex.qM)(i.Bn),a=(0,ex.qM)(i.Lq),u=o.useRef(null),c=o.useCallback(i=>{var o;if(null!==i){let o=[...n,...eb,l.Lz.updateListener.of(({state:e})=>{r(e.doc.toString())}),l.Lz.focusChangeEffect.of((e,t)=>(t||a(new FocusEvent("blur")),null))];t&&o.push(s.$t.readOnly.of(!0)),i.innerHTML="",u.current=new l.Lz({parent:i,state:s.$t.create({doc:e,extensions:o})})}else null==(o=u.current)||o.destroy(),u.current=null},[e,t,r,n,a]);return o.createElement("div",{ref:c,className:"cm-sourceView mdxeditor-source-editor"})};function ey(e,t){void 0!==e&&e.dispatch({changes:{from:0,to:e.state.doc.length,insert:t}})}let ek=()=>{let e=(0,ex.LO)(),[t,n,r,a]=(0,ex.uX)(i.oF,eP,i.pc,eQ),u=(0,ex.qM)(i.Bn),c=o.useRef(null),h=o.useRef(null),d=(0,ex.X3)(e$),f=(0,ex.qM)(i.Lq);return o.useEffect(()=>e.sub(eP,e=>{var t;ey(null==(t=h.current)?void 0:t.a,e)}),[e]),o.useEffect(()=>e.sub(i.oF,e=>{var t;ey(null==(t=h.current)?void 0:t.b,e)}),[e]),o.useEffect(()=>{let e=r||a;
1return h.current=new ed({...e?{renderRevertControl:void 0,revertControls:void 0}:{renderRevertControl:()=>{let e=document.createElement("button");return e.classList.add("cm-merge-revert"),e.appendChild(document.createTextNode("â®")),e},revertControls:"a-to-b"},parent:c.current,orientation:"a-b",gutter:!0,a:{doc:n,extensions:[...d,...eb,s.$t.readOnly.of(!0)]},b:{doc:t,extensions:[...d,...eb,s.$t.readOnly.of(e),l.Lz.updateListener.of(({state:e})=>{u(e.doc.toString())}),l.Lz.focusChangeEffect.of((e,t)=>(t||f(new FocusEvent("blur")),null))]}}),()=>{var e;null==(e=h.current)||e.destroy(),h.current=null}},[u,d]),o.createElement("div",{ref:c,className:"mdxeditor-diff-editor"})};var ew=n(41340);let eS=({children:e})=>{let[t,n]=(0,ex.uX)(i.hY,i.n$);return o.createElement("div",{className:"mdxeditor-diff-source-wrapper"},t?o.createElement("div",{className:ew.Ay.markdownParseError},o.createElement("p",null,t.error,"."),o.createElement("p",null,"You can fix the errors in source mode and switch to rich text mode when you are ready.")):null,o.createElement("div",{className:"mdxeditor-rich-text-editor",style:{display:"rich-text"===n&&null==t?"block":"none"}},e),"diff"===n?o.createElement(ek,null):null,"source"===n?o.createElement(ev,null):null)};var eC=n(17705);let eP=(0,ex.fh)(""),e$=(0,ex.fh)([]),eQ=(0,ex.fh)(!1),e_=(0,eC.Z)({update:(e,t)=>{e.pub(eP,(null==t?void 0:t.diffMarkdown)??"")},init(e,t){e.pubIn({[eP]:(null==t?void 0:t.diffMarkdown)??"",[e$]:(null==t?void 0:t.codeMirrorExtensions)??[],[i.CI]:eS,[eQ]:(null==t?void 0:t.readOnlyDiff)??!1,[i.n$]:(null==t?void 0:t.viewMode)??"rich-text"})}})},37412:(e,t,n)=>{"use strict";n.d(t,{j:()=>h,p:()=>c});var r=n(60554),i=n(6353),o=n(7620),l=n(65484),s=n(10391),a=n(41340);let u=({format:e,addTitle:t,removeTitle:n,icon:l,formatName:a})=>{let[u,c]=(0,i.uX)(r.PI,r.yr),h=(0,i.qM)(r.C_),d=(u&e)!=0;return o.createElement(s.hf,{title:d?n:t,on:d,onValueChange:()=>{h(a)}},c(l))},c=({options:e})=>{let t=(0,r.Bd)(),n=void 0===e;return o.createElement("div",{className:a.Ay.toolbarGroupOfGroups},n||e.includes("Bold")?o.createElement(u,{format:l.FA,addTitle:t("toolbar.bold","Bold"),removeTitle:t("toolbar.removeBold","Remove bold"),icon:"format_bold",formatName:"bold"}):null,n||e.includes("Italic")?o.createElement(u,{format:l.S3,addTitle:t("toolbar.italic","Italic"),removeTitle:t("toolbar.removeItalic","Remove italic"),icon:"format_italic",formatName:"italic"}):null,n||e.includes("Underline")?o.createElement(u,{format:l.Ig,addTitle:t("toolbar.underline","Underline"),removeTitle:t("toolbar.removeUnderline","Remove underline"),icon:"format_underlined",formatName:"underline"}):null)},h=({options:e})=>{let t=(0,r.Bd)(),n=void 0===e;return o.createElement("div",{className:a.Ay.toolbarGroupOfGroups},n||e.includes("Strikethrough")?o.createElement(u,{format:l.J6,addTitle:t("toolbar.strikethrough","Strikethrough"),removeTitle:t("toolbar.removeStrikethrough","Remove strikethrough"),icon:"strikeThrough",formatName:"strikethrough"}):null,n||e.includes("Sup")?o.createElement(u,{format:l.o4,addTitle:t("toolbar.superscript","Superscript"),removeTitle:t("toolbar.removeSuperscript","Remove superscript"),icon:"superscript",formatName:"superscript"}):null,n||e.includes("Sub")?o.createElement(u,{format:l.Te,addTitle:t("toolbar.subscript","Subscript"),removeTitle:t("toolbar.removeSubscript","Remove subscript"),icon:"subscript",formatName:"subscript"}):null)}},38370:(e,t,n)=>{"use strict";n.d(t,{R:()=>l});var r=n(7620),i=n(54568);class o extends r.Component{state={hasError:!1};static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){this.props.onError(e instanceof Error?e:Error(String(e),{cause:e}),t)}render(){return this.state.hasError?this.props.fallback:this.props.children}}function l({children:e,fallback:t,onError:n}){return(0,i.jsx)(o,{fallback:void 0===t?(0,i.jsx)("div",{style:{border:"1px solid #f00",color:"#f00",padding:"8px"},children:"An error was thrown."}):t,onError:n,children:e})}},39610:(e,t,n)=>{"use strict";n.d(t,{O:()=>O});var r=n(7620),i=n(69977);let o={testNode:"link",visitNode({mdastNode:e,actions:t}){t.addAndStepInto((0,i.zA)(e.url,{title:e.title}))}},l={testLexicalNode:i.FJ,visitLexicalNode:({lexicalNode:e,actions:t})=>{t.addAndStepInto("link",{url:e.getURL(),title:e.getTitle()})}};var s=n(16729),a=n(62147);function u({validateUrl:e,attributes:t}){let[n]=(0,a.DF)();return(0,r.useEffect)(()=>
1{if(!n.hasNodes([i.Db]))throw Error("LinkPlugin: LinkNode not registered on editor")}),(0,r.useEffect)(()=>(0,i.Ou)(n,(0,s.v)({attributes:t,validateUrl:e})),[n,e,t]),null}function c({matchers:e,onChange:t,excludeParents:n}){let[o]=(0,a.DF)();return(0,r.useEffect)(()=>{o.hasNodes([i.k_])||function(...e){let t=new URL("https://lexical.dev/docs/error"),n=new URLSearchParams;for(let t of(n.append("code",77),e))n.append("v",t);throw t.search=n.toString(),Error(`Minified Lexical error #77; visit ${t.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}()}),(0,r.useEffect)(()=>(0,i.Pm)(o,{changeHandlers:t?[t]:[],excludeParents:n??[],matchers:e}),[o,e,t,n]),null}let h=[(0,i.oP)(/((https?:\/\/(www\.)?)|(www\.))[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/,e=>e.startsWith("http")?e:`https://${e}`),(0,i.oP)(/(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))/,e=>`mailto:${e}`)],d=()=>r.createElement(c,{matchers:h});var f=n(6353),p=n(17705),g=n(60554);let m=(0,f.fh)(!1),O=(0,p.Z)({init(e,t){let n=!!(null==t?void 0:t.disableAutoLink),s=(null==t?void 0:t.validateUrl)?{validateUrl:t.validateUrl}:{},a=()=>r.createElement(r.Fragment,null,r.createElement(u,{...s}),n?null:r.createElement(d,null));e.pubIn({[g.$0]:"link",[g.R1]:o,[g.q]:[i.Db,i.k_],[g.iI]:l,[m]:n,[g.Id]:a,[g.dH]:a,[g.aC]:a})}})},39675:(e,t,n)=>{"use strict";n.r(t),n.d(t,{commonmarkLanguage:()=>eD,deleteMarkupBackward:()=>eK,insertNewlineContinueMarkup:()=>eH,insertNewlineContinueMarkupCommand:()=>eW,markdown:()=>e5,markdownKeymap:()=>e0,markdownLanguage:()=>ez,pasteURLAsLink:()=>e4});var r,i,o=n(25263),l=n(95980),s=n(52923),a=n(7891),u=n(44602),c=n(13051);class h{static create(e,t,n,r,i){return new h(e,t,n,r+(r<<8)+e+(t<<4)|0,i,[],[])}constructor(e,t,n,r,i,o,l){this.type=e,this.value=t,this.from=n,this.hash=r,this.end=i,this.children=o,this.positions=l,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)})}}(r=i||(i={}))[r.Document=1]="Document",r[r.CodeBlock=2]="CodeBlock",r[r.FencedCode=3]="FencedCode",r[r.Blockquote=4]="Blockquote",r[r.HorizontalRule=5]="HorizontalRule",r[r.BulletList=6]="BulletList",r[r.OrderedList=7]="OrderedList",r[r.ListItem=8]="ListItem",r[r.ATXHeading1=9]="ATXHeading1",r[r.ATXHeading2=10]="ATXHeading2",r[r.ATXHeading3=11]="ATXHeading3",r[r.ATXHeading4=12]="ATXHeading4",r[r.ATXHeading5=13]="ATXHeading5",r[r.ATXHeading6=14]="ATXHeading6",r[r.SetextHeading1=15]="SetextHeading1",r[r.SetextHeading2=16]="SetextHeading2",r[r.HTMLBlock=17]="HTMLBlock",r[r.LinkReference=18]="LinkReference",r[r.Paragraph=19]="Paragraph",r[r.CommentBlock=20]="CommentBlock",r[r.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",r[r.Escape=22]="Escape",r[r.Entity=23]="Entity",r[r.HardBreak=24]="HardBreak",r[r.Emphasis=25]="Emphasis",r[r.StrongEmphasis=26]="StrongEmphasis",r[r.Link=27]="Link",r[r.Image=28]="Image",r[r.InlineCode=29]="InlineCode",r[r.HTMLTag=30]="HTMLTag",r[r.Comment=31]="Comment",r[r.ProcessingInstruction=32]="ProcessingInstruction",r[r.Autolink=33]="Autolink",r[r.HeaderMark=34]="HeaderMark",r[r.QuoteMark=35]="QuoteMark",r[r.ListMark=36]="ListMark",r[r.LinkMark=37]="LinkMark",r[r.EmphasisMark=38]="EmphasisMark",r[r.CodeMark=39]="CodeMark",r[r.CodeText=40]="CodeText",r[r.CodeInfo=41]="CodeInfo",r[r.LinkTitle=42]="LinkTitle",r[r.LinkLabel=43]="LinkLabel",r[r.URL=44]="URL";class d{constructor(e,t){this.start=e,this.content=t,this.marks=[],this.parsers=[]}}class f{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 O(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)}
1moveBaseColumn(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==i.OrderedList?S:w)(n,t,!1);return r>0&&(e.type!=i.BulletList||0>y(n,t,!1))&&n.text.charCodeAt(n.pos+r-1)==e.value}let g={[i.Blockquote]:(e,t,n)=>62==n.next&&(n.markers.push(W(i.QuoteMark,t.lineStart+n.pos,t.lineStart+n.pos+1)),n.moveBase(n.pos+(m(n.text.charCodeAt(n.pos+1))?2:1)),e.end=t.lineStart+n.text.length,!0),[i.ListItem]:(e,t,n)=>(!(n.indent<n.baseIndent+e.value)||!(n.next>-1))&&(n.moveBaseColumn(n.baseIndent+e.value),!0),[i.OrderedList]:
1p,[i.BulletList]:p,[i.Document]:()=>!0};function m(e){return 32==e||9==e||10==e||13==e}function O(e,t=0){for(;t<e.length&&m(e.charCodeAt(t));)t++;return t}function x(e,t,n){for(;t>n&&m(e.charCodeAt(t-1));)t--;return t}function b(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 v(e){return 62!=e.next?-1:32==e.text.charCodeAt(e.pos+1)?2:1}function y(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(!m(n))return -1}return n&&45==e.next&&P(e)>-1&&e.depth==t.stack.length&&t.parser.leafBlockParsers.indexOf(I.SetextHeading)>-1||r<3?-1:1}function k(e,t){for(let n=e.stack.length-1;n>=0;n--)if(e.stack[n].type==t)return!0;return!1}function w(e,t,n){return(45==e.next||43==e.next||42==e.next)&&(e.pos==e.text.length-1||m(e.text.charCodeAt(e.pos+1)))&&(!n||k(t,i.BulletList)||e.skipSpace(e.pos+2)<e.text.length)?1:-1}function S(e,t,n){let r=e.pos,o=e.next;for(;o>=48&&o<=57;){if(++r==e.text.length)return -1;o=e.text.charCodeAt(r)}return r==e.pos||r>e.pos+9||46!=o&&41!=o||r<e.text.length-1&&!m(e.text.charCodeAt(r+1))||n&&!k(t,i.OrderedList)&&(e.skipSpace(r+1)==e.text.length||r>e.pos+1||49!=e.next)?-1:r+1-e.pos}function C(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&&m(e.text.charCodeAt(t));)t++;return t==e.text.length?n:-1}let $=/^[ \t]*$/,Q=/-->/,_=/\?>/,T=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,Q],[/^\s*<\?/,_],[/^\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,$],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,$]];function A(e,t,n){if(60!=e.next)return -1;let r=e.text.slice(e.pos);for(let e=0,t=T.length-!!n;e<t;e++)if(T[e][0].test(r))return e;return -1}function E(e,t){let n=e.countIndent(t,e.pos,e.indent),r=e.skipSpace(t),i=e.countIndent(r,t,n);return i>=n+5||r==e.text.length?n+1:i}function Z(e,t,n){let r=e.length-1;r>=0&&e[r].to==t&&e[r].type==i.CodeText?e[r].to=n:e.push(W(i.CodeText,t,n))}let R={LinkReference:void 0,IndentedCode(e,t){let n=t.baseIndent+4;if(t.indent<n)return!1;let r=t.findColumn(n),o=e.lineStart+r,l=e.lineStart+t.text.length,s=[],a=[];for(Z(s,o,l);e.nextLine()&&t.depth>=e.stack.length;)if(t.pos==t.text.length)for(let n of(Z(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==i.CodeText?Z(s,e.from,e.to):s.push(e);a=[]}for(let n of(Z(s,e.lineStart-1,e.lineStart),t.markers))s.push(n);l=e.lineStart+t.text.length;let n=e.lineStart+t.findColumn(t.baseIndent+4);n<l&&Z(s,n,l)}return a.length&&(a=a.filter(e=>e.type!=i.CodeText)).length&&(t.markers=a.concat(t.markers)),e.addNode(e.buffer.writeElements(s,-o).finish(i.CodeBlock,l-o),o),!0},FencedCode(e,t){let n=b(t);if(n<0)return!1;let r=e.lineStart+t.pos,o=t.next,l=n-t.pos,s=t.skipSpace(n),a=x(t.text,t.text.length,s),u=[W(i.CodeMark,r,r+l)];s<a&&u.push(W(i.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)==o;)a++;if(a-t.pos>=l&&t.skipSpace(a)==t.text.length){for(let e of t.markers)u.push(e);r&&s&&Z(u,e.lineStart-1,e.lineStart),u.push(W(i.CodeMark,e.lineStart+t.pos,e.lineStart+a)),e.nextLine();break}{for(let i of(s=!0,n||(Z(u,e.lineStart-1,e.lineStart),r=!1),t.markers))u.pu
vendor: 4,397 bytes, line 1
1sh(i);let i=e.lineStart+t.basePos,o=e.lineStart+t.text.length;i<o&&(Z(u,i,o),r=!1)}}return e.addNode(e.buffer.writeElements(u,-r).finish(i.FencedCode,e.prevLineEnd()-r),r),!0},Blockquote(e,t){let n=v(t);return!(n<0)&&(e.startContext(i.Blockquote,t.pos),e.addNode(i.QuoteMark,e.lineStart+t.pos,e.lineStart+t.pos+1),t.moveBase(t.pos+n),null)},HorizontalRule(e,t){if(0>y(t,e,!1))return!1;let n=e.lineStart+t.pos;return e.nextLine(),e.addNode(i.HorizontalRule,n),!0},BulletList(e,t){let n=w(t,e,!1);if(n<0)return!1;e.block.type!=i.BulletList&&e.startContext(i.BulletList,t.basePos,t.next);let r=E(t,t.pos+1);return e.startContext(i.ListItem,t.basePos,r-t.baseIndent),e.addNode(i.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+n),t.moveBaseColumn(r),null},OrderedList(e,t){let n=S(t,e,!1);if(n<0)return!1;e.block.type!=i.OrderedList&&e.startContext(i.OrderedList,t.basePos,t.text.charCodeAt(t.pos+n-1));let r=E(t,t.pos+n);return e.startContext(i.ListItem,t.basePos,r-t.baseIndent),e.addNode(i.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+n),t.moveBaseColumn(r),null},ATXHeading(e,t){let n=C(t);if(n<0)return!1;let r=t.pos,o=e.lineStart+r,l=x(t.text,t.text.length,r),s=l;for(;s>r&&t.text.charCodeAt(s-1)==t.next;)s--;s!=l&&s!=r&&m(t.text.charCodeAt(s-1))||(s=t.text.length);let a=e.buffer.write(i.HeaderMark,0,n).writeElements(e.parser.parseInline(t.text.slice(r+n+1,s),o+n+1),-o);s<t.text.length&&a.write(i.HeaderMark,s-r,l-r);let u=a.finish(i.ATXHeading1-1+n,t.text.length-r);return e.nextLine(),e.addNode(u,o),!0},HTMLBlock(e,t){let n=A(t,e,!1);if(n<0)return!1;let r=e.lineStart+t.pos,o=T[n][1],l=[],s=o!=$;for(;!o.test(t.text)&&e.nextLine();){if(t.depth<e.stack.length){s=!1;break}for(let e of t.markers)l.push(e)}s&&e.nextLine();let a=o==Q?i.CommentBlock:o==_?i.ProcessingInstructionBlock:i.HTMLBlock,u=e.prevLineEnd();return e.addNode(e.buffer.writeElements(l,-r).finish(a,u-r),r),!0},SetextHeading:void 0};class j{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)&&O(t.content,this.pos)==t.content.length&&this.complete(e,t,t.content.length)}complete(e,t,n){return e.addLeafElement(t,W(i.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(el(e,this.pos,this.start,!0)))return -1;if(58!=e.charCodeAt(this.pos))return this.stage=-1;this.elts.push(W(i.LinkMark,this.pos+this.start,this.pos+this.start+1)),this.pos++}else if(1==this.stage){if(!this.nextStage(ei(e,O(e,this.pos),this.start)))return -1}else{if(2!=this.stage)return M(e,this.pos);let t=O(e,this.pos),n=0;if(t>this.pos){let r=eo(e,t,this.start);if(r){let t=M(e,r.to-this.start);t>0&&(this.nextStage(r),n=t)}}return n||(n=M(e,this.pos)),n>0&&n<e.length?n:-1}}}function M(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(10==n)break;if(!m(n))return -1}return t}class L{nextLine(e,t,n){let r=t.depth<e.stack.length?-1:P(t),o=t.next;if(r<0)return!1;let l=W(i.HeaderMark,e.lineStart+t.pos,e.lineStart+r);return e.nextLine(),e.addLeafElement(n,W(61==o?i.SetextHeading1:i.SetextHeading2,n.start,e.prevLineEnd(),[...e.parser.parseInline(n.content,n.start),l])),!0}finish(){return!1}}let I={LinkReference:(e,t)=>91==t.content.charCodeAt(0)?new j(t):null,SetextHeading:()=>new L},X={text:"",end:0};class N{constructor(e,t,n,r){this.parser=e,this.input=t,this.ranges=r,this.line=new f,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=h.create(i.Document,0,this.lineStart,0,0),this.stack=[this.block],this.fragments=n.length?new ec(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;
1if(!this.nextLine())return this.finish()}if(this.fragments&&this.reuseFragment(e.basePos))return null;r: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 r}}break}if(e.pos==e.text.length)return this.nextLine()?null:this.finish();let t=new d(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)}i: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 i}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=eh(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(X.end=e,e>=this.to)X.text="";else if(X.text=this.lineChunkAt(e),X.end+=X.text.length,this.ranges.length>1){let e=this.absoluteLineStart,t=this.rangeI;for(;this.ranges[t].to<X.end;){t++;let n=this.ranges[t].from,r=this.lineChunkAt(n);X.end=n+r.length,X.text=X.text.slice(0,this.ranges[t-1].to-e)+r,e=X.end-X.text.length}}return X}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 "+i[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=h.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],B,B,(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(ea(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,o){let l=t[n].to,s=[],a=[],c=r.from+i;function h(e,r){for(;r?e>=l:e>l;){let r=t[n+1].from-l;i+=r,e+=r,l=t[++n].to}}for(let u=r.firstChild;u;u=u.nextSibling){h(u.from+i,!0);let r=u.from+i,d,f=o.get(u.tree);f?d=f:u.to+i>l?(d=e(t,n,u,i,o),h(u.to+i,!1)):d=u.toTree(),s.push(d),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=ea(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(t,-e.start).finish(i.Paragraph,e.content.length),e.start)}elt(e,t,n,r){return"string"==typeof e?W(this.parser.getNodeType(e),t,n,r):new U(e,t)}get buffer(){return new F(this.parser.nodeSet)}}class V extends u.iX{constructor(e,t,n,r,i,o,l,s,a){for(let u of(super(),this.nodeSet=e,this.blockParsers=t,this.leafBlockParsers=n,this.blockNames=r,this.endLeafBlock=i,this.skipContextMarkup=o,this.inlineParsers=l,this.inlineNames=s,this.wrappers=a,this.nodeTypes=Object.create(null),e.types))this.nodeTypes[u.name]=u.id}createParse(e,t,n){let r=new N(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||B).concat(t||B),o=n.wrap,l=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:o?l?(e,t,n,r)=>o(l(e,t,n,r),t,n,r):o:l}}(e);if(!t)return this;let{nodeSet:n,skipContextMarkup:r}=this,o=this.blockParsers.slice(),l=this.leafBlockParsers.slice(),s=this.blockNames.slice(),a=this.inl
1ineParsers.slice(),h=this.inlineNames.slice(),d=this.endLeafBlock.slice(),f=this.wrappers;if(D(t.defineNodes)){r=Object.assign({},r);let e=n.types.slice(),o;for(let n of t.defineNodes){let{name:t,block:l,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 h=e.length,d=s?["Block","BlockContext"]:l?h>=i.ATXHeading1&&h<=i.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void 0;e.push(u.Z6.define({id:h,name:t,props:d&&[[u.uY.group,d]]})),a&&(o||(o={}),Array.isArray(a)||a instanceof c.vw?o[t]=a:Object.assign(o,a))}n=new u.fI(e),o&&(n=n.extend((0,c.pn)(o)))}if(D(t.props)&&(n=n.extend(...t.props)),D(t.remove))for(let e of t.remove){let t=this.blockNames.indexOf(e),n=this.inlineNames.indexOf(e);t>-1&&(o[t]=l[t]=void 0),n>-1&&(a[n]=void 0)}if(D(t.parseBlock))for(let e of t.parseBlock){let t=s.indexOf(e.name);if(t>-1)o[t]=e.parse,l[t]=e.leaf;else{let t=e.before?z(s,e.before):e.after?z(s,e.after)+1:s.length-1;o.splice(t,0,e.parse),l.splice(t,0,e.leaf),s.splice(t,0,e.name)}e.endLeaf&&d.push(e.endLeaf)}if(D(t.parseInline))for(let e of t.parseInline){let t=h.indexOf(e.name);if(t>-1)a[t]=e.parse;else{let t=e.before?z(h,e.before):e.after?z(h,e.after)+1:h.length-1;a.splice(t,0,e.parse),h.splice(t,0,e.name)}}return t.wrap&&(f=f.concat(t.wrap)),new V(n,o,l,s,d,r,a,h,f)}getNodeType(e){let t=this.nodeTypes[e];if(null==t)throw RangeError(`Unknown node type '${e}'`);return t}parseInline(e,t){let n=new es(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 D(e){return null!=e&&e.length>0}function z(e,t){let n=e.indexOf(t);if(n<0)throw RangeError(`Position specified relative to unknown parser ${t}`);return n}let q=[u.Z6.none];for(let e=1,t;t=i[e];e++)q[e]=u.Z6.define({id:e,name:t,props:e>=i.Escape?[]:[[u.uY.group,e in g?["Block","BlockContext"]:["Block","LeafBlock"]]],top:"Document"==t});let B=[];class F{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 Y{constructor(e,t,n,r=B){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 F(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}}class U{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 B}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 W(e,t,n,r){return new Y(e,t,n,r)}let H={resolve:"Emphasis",mark:"EmphasisMark"},G={resolve:"Emphasis",mark:"EmphasisMark"},J={},K={};class ee{constructor(e,t,n,r){this.type=e,this.from=t,this.to=n,this.side=r}}let et="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~",en=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{en=RegExp("[\\p{S}|\\p{P}]","u")}catch(e){}let er={Escape(e,t,n){if(92!=t||n==e.end-1)return -1;let r=e.char(n+1);for(let t=0;t<et.length;t++)if(et.charCodeAt(t)==r)return e.append(W(i.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(W(i.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 o=r-n,l=0;for(;r<e.end;r++)if(96==e.char(r)){if(++l==o&&96!=e.char(r+1))return e.append(W(i.InlineCode,n,r+1,[W(i.CodeMark,n,n+o),W(i.CodeMark,r+1-o,r+1)]))}else l=0;return -1},HTMLTag(e,t,n){if(60!=t||n==e.end-1)return -1;let r=e.slice(n+1,e.end),o=/^(?:[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(o)return e.append(W(i.Autolink,n,n+1+o[0].length,[W(i.LinkMark,n,n+1),W(i.URL,n+1,n+o[0].length),W(i.LinkMark,n+o[0].length,n+1+o[0].length)])
vendor: 4,344 bytes, line 1
1);let l=/^!--[^>](?:-[^-]|[^-])*?-->/i.exec(r);if(l)return e.append(W(i.Comment,n,n+1+l[0].length));let s=/^\?[^]*?\?>/.exec(r);if(s)return e.append(W(i.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(W(i.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),o=e.slice(r,r+1),l=en.test(i),s=en.test(o),a=/\s|^$/.test(i),u=/\s|^$/.test(o),c=!u&&(!s||a||l),h=!a&&(!l||u||s);return e.append(new ee(95==t?H:G,n,r,!!(c&&(42==t||!h||l))|2*!!(h&&(42==t||!c||s))))},HardBreak(e,t,n){if(92==t&&10==e.char(n+1))return e.append(W(i.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(W(i.HardBreak,n,t+1))}return -1},Link:(e,t,n)=>91==t?e.append(new ee(J,n,n+1,1)):-1,Image:(e,t,n)=>33==t&&91==e.char(n+1)?e.append(new ee(K,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 ee&&(r.type==J||r.type==K)){if(!r.side||e.skipSpace(r.to)==n&&!/[(\[]/.test(e.slice(n+1,n+2)))return e.parts[t]=null,-1;let o=e.takeContent(t),l=e.parts[t]=function(e,t,n,r,o){let{text:l}=e,s=e.char(o),a=o;if(t.unshift(W(i.LinkMark,r,r+(n==i.Image?2:1))),t.push(W(i.LinkMark,o-1,o)),40==s){let n=e.skipSpace(o+1),r=ei(l,n-e.offset,e.offset),s;r&&(n=e.skipSpace(r.to))!=r.to&&(s=eo(l,n-e.offset,e.offset))&&(n=e.skipSpace(s.to)),41==e.char(n)&&(t.push(W(i.LinkMark,o,o+1)),a=n+1,r&&t.push(r),s&&t.push(s),t.push(W(i.LinkMark,n,a)))}else if(91==s){let n=el(l,o-e.offset,e.offset,!1);n&&(t.push(n),a=n.to)}return W(n,r,a,t)}(e,o,r.type==J?i.Link:i.Image,r.from,n+1);if(r.type==J)for(let n=0;n<t;n++){let t=e.parts[n];t instanceof ee&&t.type==J&&(t.side=0)}return l.to}}return -1}};function ei(e,t,n){if(60==e.charCodeAt(t)){for(let r=t+1;r<e.length;r++){let o=e.charCodeAt(r);if(62==o)return W(i.URL,t+n,r+1+n);if(60==o||10==o)return!1}return null}{let r=0,o=t;for(let t=!1;o<e.length;o++){let n=e.charCodeAt(o);if(m(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 o>t?W(i.URL,t+n,o+n):o==e.length&&null}}function eo(e,t,n){let r=e.charCodeAt(t);if(39!=r&&34!=r&&40!=r)return!1;let o=40==r?41:r;for(let r=t+1,l=!1;r<e.length;r++){let s=e.charCodeAt(r);if(l)l=!1;else{if(s==o)return W(i.LinkTitle,t+n,r+1+n);92==s&&(l=!0)}}return null}function el(e,t,n,r){for(let o=!1,l=t+1,s=Math.min(e.length,l+999);l<s;l++){let s=e.charCodeAt(l);if(o)o=!1;else{if(93==s)return!r&&W(i.LinkLabel,t+n,l+1+n);if(r&&!m(s)&&(r=!1),91==s)return!1;92==s&&(o=!0)}}return null}class es{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 ee(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 ee&&(t.type==J||t.type==K))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 ee&&n.type.resolve&&2&n.side))continue;let r=n.type==H||n.type==G,i=n.to-n.from,o,l=t-1;for(;l>=e;l--){let e=this.parts[l];if(e instanceof ee&&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))){o=e;break}}if(!o)continue;let s=n.type.resolve,a=[],u=o.from,c=n.to;if(r){let e=Math.min(2,o.to-o.from,i);u=o.to-e,c=n.from+e,s=1==e?"Emphasis":"StrongEmphasis"}o.type.mark&&a.push(this.elt(o.type.mark,u,o.to));for(let e=l+1;e<t;e++)this.parts[e]instanceof Y&&a.push(this.parts[e]),this.parts[e]=null;n.type.mark&&a.push(this.elt(n.type.mark,n.from,c));let h=this.elt(s,u,c,a);this.parts[l]=r&&o.from!=u?new ee(o.type,o.from,u,o.side):null,(this.parts[t]=r&&n.to!=c?new ee(n.type,c,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 Y&&t.push(e)}return t}findOpeningDelimiter(e){for(let t=this.parts.length-1;t>=0;t--){let n=this.parts[t];
vendor: 5,291 bytes, line 1
1if(n instanceof ee&&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 ee?t:null}skipSpace(e){return O(this.text,e-this.offset)+this.offset}elt(e,t,n,r){return"string"==typeof e?W(this.parser.getNodeType(e),t,n,r):new U(e,t)}}function ea(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 Y&&(n[r]=new Y(t.type,t.from,t.to,ea(t.children,[e])))}else n.splice(r++,0,e)}return n}es.linkStart=J,es.imageStart=K;let eu=[i.CodeBlock,i.ListItem,i.OrderedList,i.BulletList];class ec{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,o=e.absoluteLineStart,l=o,s=e.block.children.length,a=l,c=s;for(;;){if(t.to-n>r){if(t.type.isAnonymous&&t.firstChild())continue;break}let o=eh(t.from-n,e.ranges);if(t.to-n<=e.ranges[e.rangeI].to)e.addNode(t.tree,o);else{let n=new u.PH(e.parser.nodeSet.types[i.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(n,t.tree),e.addNode(n,o)}if(t.type.is("Block")&&(0>eu.indexOf(t.type.id)?(l=t.to-n,s=e.block.children.length):(l=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 l-o}}function eh(e,t){let n=e;for(let r=1;r<t.length;r++){let i=t[r-1].to,o=t[r].from;i<e&&(n-=o-i)}return n}let ed=(0,c.pn)({"Blockquote/...":c._A.quote,HorizontalRule:c._A.contentSeparator,"ATXHeading1/... SetextHeading1/...":c._A.heading1,"ATXHeading2/... SetextHeading2/...":c._A.heading2,"ATXHeading3/...":c._A.heading3,"ATXHeading4/...":c._A.heading4,"ATXHeading5/...":c._A.heading5,"ATXHeading6/...":c._A.heading6,"Comment CommentBlock":c._A.comment,Escape:c._A.escape,Entity:c._A.character,"Emphasis/...":c._A.emphasis,"StrongEmphasis/...":c._A.strong,"Link/... Image/...":c._A.link,"OrderedList/... BulletList/...":c._A.list,"BlockQuote/...":c._A.quote,"InlineCode CodeText":c._A.monospace,"URL Autolink":c._A.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":c._A.processingInstruction,"CodeInfo LinkLabel":c._A.labelName,LinkTitle:c._A.string,Paragraph:c._A.content}),ef=new V(new u.fI(q).extend(ed),Object.keys(R).map(e=>R[e]),Object.keys(R).map(e=>I[e]),Object.keys(R),[(e,t)=>C(t)>=0,(e,t)=>b(t)>=0,(e,t)=>v(t)>=0,(e,t)=>w(t,e,!0)>=0,(e,t)=>S(t,e,!0)>=0,(e,t)=>y(t,e,!0)>=0,(e,t)=>A(t,e,!0)>=0],g,Object.keys(er).map(e=>er[e]),Object.keys(er),[]),ep={resolve:"Strikethrough",mark:"StrikethroughMark"},eg={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":c._A.strikethrough}},{name:"StrikethroughMark",style:c._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),o=/\s|^$/.test(r),l=/\s|^$/.test(i),s=en.test(r),a=en.test(i);return e.addDelimiter(ep,n,n+2,!l&&(!a||o||s),!o&&(!s||l||a))},after:"Emphasis"}]};function em(e,t,n=0,r,i=0){let o=0,l=!0,s=-1,a=-1,u=!1,c=()=>{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||u?(u||32!=n&&9!=n)&&(s<0&&(s=h),a=h+1):((!l||s>-1)&&o++,l=!1,r&&(s>-1&&c(),r.push(e.elt("TableDelimiter",h+i,h+i+1))),s=a=-1),u=!u&&92==n}return s>-1&&(o++,r&&c()),o}function eO(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*:?-+:?\s*)?$/;class eb{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=[];em(e,n.content,0,i,n.start)==em(e,r,0)&&(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=[];em(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 ev={defineNodes:[{name:"Table",block:!0},{name:"TableHeader",style:{"TableHeader/...":c._A.heading}},"TableRow",{name:"TableCell",style:c._A.content},{name:"TableDelimiter",style:c._A.processingInstruction}],parseBlock:[{name:"Table",leaf:(e,t)=>
1eO(t.content,0)?new eb:null,endLeaf(e,t,n){if(n.parsers.some(e=>e instanceof eb)||!eO(t.text,t.basePos))return!1;let r=e.peekLine();return ex.test(r)&&em(e,t.text,t.basePos)==em(e,r,t.basePos)},before:"SetextHeading"}]};class ey{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 ek={defineNodes:[{name:"Task",block:!0,style:c._A.list},{name:"TaskMarker",style:c._A.atom}],parseBlock:[{name:"TaskList",leaf:(e,t)=>/^\[[ xX]\][ \t]/.test(t.content)&&"ListItem"==e.parentType().name?new ey:null,after:"SetextHeading"}]},ew=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,eS=/[\w-]+(\.[\w-]+)+(:\d+)?(\/[^\s<]*)?/gy,eC=/[\w-]+\.[\w-]+($|[/:])/,eP=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,e$=/\/[a-zA-Z\d@.]+/gy;function eQ(e,t,n,r){let i=0;for(let o=t;o<n;o++)e[o]==r&&i++;return i}function e_(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 eT=[ev,ek,eg,{parseInline:[{name:"Autolink",parse(e,t,n){let r=n-e.offset;if(r&&/\w/.test(e.text[r-1]))return -1;ew.lastIndex=r;let i=ew.exec(e.text),o=-1;if(!i)return -1;if(i[1]||i[2]){if((o=function(e,t){eS.lastIndex=t;let n=eS.exec(e);if(!n||eC.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&&eQ(e,t,r,")")>eQ(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,o));o=r+t[0].length}}else i[3]?o=e_(e.text,r):(o=e_(e.text,r+i[0].length))>-1&&"xmpp:"==i[0]&&(e$.lastIndex=o,(i=e$.exec(e.text))&&(o=i.index+i[0].length));return o<0?-1:(e.addElement(e.elt("URL",n,o+e.offset)),o+e.offset)}}]}];function eA(e,t,n){return(r,i,o)=>{if(i!=e||r.char(o+1)==e)return -1;let l=[r.elt(n,o,o+1)];for(let i=o+1;i<r.end;i++){let s=r.char(i);if(s==e)return r.addElement(r.elt(t,o,i+1,l.concat(r.elt(n,i,i+1))));if(92==s&&l.push(r.elt("Escape",i,i+++2)),m(s))break}return -1}}let eE={defineNodes:[{name:"Superscript",style:c._A.special(c._A.content)},{name:"SuperscriptMark",style:c._A.processingInstruction}],parseInline:[{name:"Superscript",parse:eA(94,"Superscript","SuperscriptMark")}]},eZ={defineNodes:[{name:"Subscript",style:c._A.special(c._A.content)},{name:"SubscriptMark",style:c._A.processingInstruction}],parseInline:[{name:"Subscript",parse:eA(126,"Subscript","SubscriptMark")}]},eR={defineNodes:[{name:"Emoji",style:c._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 ej=n(50345);let eM=(0,s.p9)({commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}}}),eL=new u.uY,eI=ef.configure({props:[s.b_.add(e=>{var t;return!e.is("Block")||e.is("Document")||null!=eX(e)||"OrderedList"==(t=e).name||"BulletList"==t.name?void 0:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})}),eL.add(eX),s.Oh.add({Document:()=>null}),s.iB.add({Document:eM})]});function eX(e){let t=/^(?:ATX|Setext)Heading(\d)$/.exec(e.name);return t?+t[1]:void 0}let eN=s.t.of((e,t,n)=>{for(let r=(0,s.mv)(e).resolveInner(n,-1);r&&!(r.from<t);r=r.parent){let e=r.type.prop(eL);if(null==e)continue;let t=function(e,t){let n=e;for(;;){let e=n.nextSibling,r;if(!e||null!=(r=eX(e.type))&&r<=t)break;n=e}return n.to}(r,e);if(t>n)return{from:n,to:t}}return null});function eV(e){return new s.TM(eM,e,[],"markdown")}let eD=eV(eI),ez=eV(eI.configure([eT,eZ,eE,eR,{props:[s.b_.add({Table:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}]));class eq{constructor(e,t,n,r,i,o,l){this.node=e,this.from=t,this.to=n,this.spaceBefore=r,this.spaceAfter=i,this.type=o,this.item=l}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(+eF(this.item,e)[2]+t):"";return this.spaceBefore+n+this.type+this.spaceAfter}}function eB(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],o,l=t.lineAt(i.from),s=i.from-l.from;if("Blockquote"==i.name&&(o=/^ *>( ?)/.exec(l.text.slice(s))))r.push(new eq(i,s,s+o[0].length,"",o[1],">",null));else if("ListItem"==i.name&&"OrderedList"==i.parent.name&&(o=/^( *)\d+([.)])( *)/.exec(l.text.slice(s)))){let e=o[3],t=o[0].length;e.length>=4&&(e=e.slice(0,e.length-4),t-=4),r.push(new eq(i.parent,s,s+t,o[1],e,o[2],i))}else if("ListItem"==i.name&&"BulletList"==i.parent.name&&(o=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(l.text.slice(s)))){let e=o[4],t=o[0].length;e.length>4&&(e=e.slice(0,e.length-4),t-=4);let n=o[2];o[3]&&(n+=o[3].replace(/[xX]/," ")),r.push(new eq(i.parent,s,s+t,o[1],e,n,i))}}return r}function eF(e,t){return/^(\s*)(\d+)(?=[.)])/.exec(t.sliceString(e.from,e.from+10))}function eY(e,t,n,r=0){for(let i=-1,o=e;;){if("ListItem"==o.name){let e=eF(o,t),l=+e[2];if(i>=0){if(l!=i+1)return;n.push({from:o.from+e[1].length,to:o.from+e[0].length,insert:String(i+2+r)})}i=l}let e=o.nextSibling;if(!e)break;o=e}}function eU(e,t){let n=/^[ \t]*/.exec(e)[0].length;if(!n||" "!=t.facet(s.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)}let eW=(e={})=>({state:t,dispatch:n})=>{let r=(0,s.mv)(t),{doc:i}=t,l=null,a=t.changeByRange(n=>{if(!n.empty||!ez.isActiveAt(t,n.from,-1)&&!ez.isActiveAt(t,n.from,1))return l={range:n};let s=n.from,a=i.lineAt(s),u=eB(r.resolveInner(s,-1),i);for(;u.length&&u[u.length-1].from>s-a.from;)u.pop();if(!u.length)return l={range:n};let c=u[u.length-1];if(c.to-c.spaceAfter.length>s-a.from)return l={range:n};let h=s>=c.to-c.spaceAfter.length&&!/\S/.test(a.text.slice(c.to));if(c.item&&h){if(c.item.from<a.from&&!/^[\s>]*$/.test(a.text.slice(0,c.to)))return l={range:n};let r=c.node.firstChild,h=c.node.getChild("ListItem","ListItem");if(r.to>=s||h&&h.to<s||a.from>0&&!/[^\s>]/.test(i.lineAt(a.from-1).text)||!1===e.nonTightLists){let e=u.length>1?u[u.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"==c.node.name&&eY(c.item,i,r,-2),e&&"OrderedList"==e.node.name&&eY(e.item,i,r),{range:o.OF.cursor(t+n.length),changes:r}}{let e=eJ(u,t,a);return{range:o.OF.cursor(s+e.length+1),changes:{from:a.from,insert:e+t.lineBreak}}}}if("Blockquote"==c.node.name&&h&&a.from){let e=i.lineAt(a.from-1),r=/>\s*$/.exec(e.text);if(r&&r.index==c.from){let i=t.changes([{from:e.from+r.index,to:e.to},{from:a.from+c.from,to:a.to}]);return{range:n.map(i),changes:i}}}let d=[];"OrderedList"==c.node.name&&eY(c.item,i,d);let f=c.item&&c.item.from<a.from,p="";if(!f||/^[\s\d.)\-+*>]*/.exec(a.text)[0].length>=c.to)for(let e=0,t=u.length-1;e<=t;e++)p+=e!=t||f?u[e].blank(e<t?(0,o.y$)(a.text,4,u[e+1].from)-p.length:null):u[e].marker(i,1);let g=s;for(;g>a.from&&/\s/.test(a.text.charAt(g-a.from-1));)g--;return p=eU(p,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),o=t.lineAt(r.from),l=/^[\s>]*$/.test(i.text);return i.number+ +!l<o.number}(c.node,t.doc)&&(p=eJ(u,t,a)+t.lineBreak+p),d.push({from:g,to:s,insert:t.lineBreak+p}),{range:o.OF.cursor(g+p.length+1),changes:d}});return!l&&(n(t.update(a,{scrollIntoView:!0,userEvent:"input"})),!0)},eH=eW();function eG(e){return"QuoteMark"==e.name||"ListMark"==e.name}function eJ(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 eU(r,t)}let eK=({state:e,dispatch:t})=>{let n=(0,s.mv)(e),r=null,i=e.changeByRange(t=>{let i=t.from,{doc:l}=e;if(t.empty&&ez.isActiveAt(e,t.from)){let t=l.lineAt(i),r=eB(function(e,t){let n=e.resolveInner(t,-1),r=t;eG(n)&&(r=n.from,n=n.parent);for(let e;e=n.childBefore(r);)if(eG(e))r=e.from;
1else 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=eU(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)},e0=[{key:"Enter",run:eH},{key:"Backspace",run:eK}],e1=(0,ej.html)({matchClosingTags:!1});function e5(e={}){var t;let{codeLanguages:n,defaultCodeLanguage:r,addKeymap:a=!0,base:{parser:c}=eD,completeHTMLTags:h=!0,pasteURLAsLink:d=!0,htmlTagLanguage:f=e1}=e;if(!(c instanceof V))throw RangeError("Base parser provided to `markdown` should be a Markdown parser");let p=e.extensions?[e.extensions]:[],g=[f.support,eN],m;d&&g.push(e4),r instanceof s.Yy?(g.push(r.support),m=r.language):r&&(m=r);let O=n||m?(t=m,e=>{if(e&&n){let t=null;if(e=/\S*/.exec(e)[0],(t="function"==typeof n?n(e):s.t$.matchLanguageName(n,e,!0))instanceof s.t$)return t.support?t.support.language.parser:s.nq.getSkippingParser(t.load());if(t)return t.parser}return t?t.parser:null}):void 0;p.push(function(e){let{codeParser:t,htmlParser:n}=e;return{wrap:(0,u.$g)((e,r)=>{let o=e.type.id;if(t&&(o==i.CodeBlock||o==i.FencedCode)){let n="";if(o==i.FencedCode){let t=e.node.getChild(i.CodeInfo);t&&(n=r.read(t.from,t.to))}let l=t(n);if(l)return{parser:l,overlay:e=>e.type.id==i.CodeText,bracketed:o==i.FencedCode}}else if(n&&(o==i.HTMLBlock||o==i.HTMLTag||o==i.CommentBlock))return{parser:n,overlay:function(e,t,n){let r=[];for(let i=e.firstChild,o=t;;i=i.nextSibling){let e=i?i.from:n;if(e>o&&r.push({from:o,to:e}),!i)break;o=i.to}return r}(e.node,e.from,e.to)};return null})}}({codeParser:O,htmlParser:f.language.parser})),a&&g.push(o.Nb.high(l.w4.of(e0)));let x=eV(c.configure(p));return h&&g.push(x.data.of({autocomplete:e2})),new s.Yy(x,g)}function e2(e){let{state:t,pos:n}=e,r=/<[:\-\.\w\u00b7-\uffff]*$/.exec(t.sliceDoc(n-25,n));if(!r)return null;let i=(0,s.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(){if(e3)return e3;let e=(0,ej.htmlCompletionSource)(new a._5(o.$t.create({extensions:e1}),0,!0));return e3=e?e.options:[]}(),validFor:/^<[:\-\.\w\u00b7-\uffff]*$/}}let e3=null,e9=/code|horizontalrule|html|link|comment|processing|escape|entity|image|mark|url/i,e4=l.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),!ez.isActiveAt(t.state,r.from,1)))return!1;let o=(0,s.mv)(t.state),l=!1;return o.iterate({from:r.from,to:r.to,enter:e=>{(e.from>r.from||e9.test(e.name))&&(l=!0)},leave:e=>{e.to<r.to&&(l=!0)}}),!l&&(t.dispatch({changes:[{from:r.from,insert:"["},{from:r.to,insert:`](${i})`}],userEvent:"input.paste",scrollIntoView:!0}),!0)}})},40960:(e,t,n)=>{"use strict";n.d(t,{O:()=>r,U:()=>u});class r extends Error{constructor(e,t,n,r){const i=e.name??"Fragment",o="mdxJsxFlowElement"===e.type?"flow":"text",l=r?` ${r}`:"";super(`JSX component "${i}" was parsed as ${o} but is declared as ${t.kind} (kindMismatchPolicy: "${n}").${l}`),this.name="JsxKindMismatchError"}}let i=new Set(["paragraph","heading","emphasis","strong","delete","link","linkReference","tableCell","footnote","mdxJsxTextElement","textDirective","leafDirective"]),o=new Set(["root","blockquote","listItem","footnoteDefinition","mdxJsxFlowElement","containerDirective"]);function l(e){return"mdxJsxFlowElement"===e.type||"mdxJsxTextElement"===e.type}function s(e,t){return t.find(t=>t.name===e.name)??t.find(e=>"*"===e.name)}function a(e,t){return("mdxJsxFlowElement"===e.type?"flow":"text")!==t.kind}function u(e,t,n,c=()=>!0){return"source"===n?e:"error"===n?(!function e(t,n,i){if(l(t)){let e=s(t,n);if(e&&i(t)&&a(t,e))throw new r(t,e,"error")}
1"children"in t&&t.children.forEach(t=>{e(t,n,i)})}(e,t,c),e):function(e,t,n){let u=e=>n(e)?s(e,t):void 0;function c(e){let t=i.has(e.type)?"phrasing":o.has(e.type)?"flow":"structural";return"phrasing"===t?e.children=e.children.flatMap(t=>(function(e,t){if(!l(e))return[h(e)];let n=u(e);if(!n||!a(e,n))return[h(e)];if("mdxJsxTextElement"===e.type)throw new r(e,n,"normalize",`It cannot be lifted from ${t} without changing surrounding phrasing content.`);return[h(d(e,n))]})(t,e.type)):"flow"===t?e.children=e.children.flatMap(e=>(function(e){if("paragraph"===e.type){let t=e.children.find(e=>{if("mdxJsxTextElement"!==e.type)return!1;let t=u(e);return(null==t?void 0:t.kind)==="flow"});if(!t)return[c(e)];let n=u(t);if(1!==e.children.length)throw new r(t,n,"normalize","It has surrounding phrasing content, and normalization would need to split the paragraph.");return[h({...t,type:"mdxJsxFlowElement",children:0===t.children.length?[]:[{type:"paragraph",children:t.children}]})]}if(!l(e))return[h(e)];let t=u(e);if(!t||!a(e,t))return[h(e)];if("mdxJsxTextElement"===e.type)throw new r(e,t,"normalize","A text JSX node can be normalized to flow only when it is the sole child of a paragraph.");return[{type:"paragraph",children:[h(d(e,t))]}]})(e)):e.children=e.children.map(t=>(function(e,t){if(l(e)){let n=u(e);if(n&&a(e,n))throw new r(e,n,"normalize",`The ${t} parent does not declare whether its children are flow or phrasing content.`)}return h(e)})(t,e.type)),e}function h(e){return"children"in e&&c(e),e}function d(e,t){if(0===e.children.length)return{...e,type:"mdxJsxTextElement",children:[]};if(1!==e.children.length||"paragraph"!==e.children[0].type)throw new r(e,t,"normalize","Its block children cannot be represented as one phrasing-content sequence without data loss.");return{...e,type:"mdxJsxTextElement",children:e.children[0].children}}return c(e)}(structuredClone(e),t,c)}},41324:(e,t,n)=>{"use strict";n.d(t,{py:()=>e_,A:()=>eZ,Mi:()=>eI,_5:()=>e$,zr:()=>eR,WK:()=>eP,NN:()=>eE,XI:()=>eA,sm:()=>eL,_F:()=>eT,uQ:()=>eQ});var r=n(69977),i=n(6353),o=n(26874),l=n(17705),s=n(87088),a=n(58371),u=n(60554),c=n(99308),h=n(73878),d=n(7620),f=n(58104),p=n(35207),g=n(51124),m=n.n(g);n(64755);let O=e=>"object"==typeof e&&null!=e&&1===e.nodeType,x=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,b=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n,r=getComputedStyle(e,null);return x(r.overflowY,t)||x(r.overflowX,t)||!!(n=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e))&&(n.clientHeight<e.scrollHeight||n.clientWidth<e.scrollWidth)}return!1},v=(e,t,n,r,i,o,l,s)=>o<e&&l>t||o>e&&l<t?0:o<=e&&s<=n||l>=t&&s>=n?o-e-r:l>t&&s<n||o<e&&s>n?l-t+i:0,y=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t};var k=n(72660),w=0;function S(){}function C(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function P(e,t){var n;function r(){n&&clearTimeout(n)}function i(){for(var i=arguments.length,o=Array(i),l=0;l<i;l++)o[l]=arguments[l];r(),n=setTimeout(function(){n=null,e.apply(void 0,o)},t)}return i.cancel=r,i}function $(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.some(function(t){return t&&t.apply(void 0,[e].concat(r)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault})}}function Q(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach(function(t){"function"==typeof t?t(e):t&&(t.current=e)})}}function _(e,t){return Object.keys(e).reduce(function(n,r){return n[r]=void 0!==t[r]?t[r]:e[r],n},{})}function T(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function A(e,t,n,r,i){if(void 0===i&&(i=!0),0===n)return -1;var o=n-1;("number"!=typeof t||t<0||t>=n)&&(t=e>0?-1:o+1);var l=t+e;l<0?l=i?o:0:l>o&&(l=i?0:o);var s=E(e,l,n,r,i);return -1===s?t>=n?-1:t:s}function E(e,t,n,r,i){var o=r(t);if(!o||!o.hasAttribute("disabled"))return t;if(e>0){for(var l=t+1;l<n;l++)if(!r(l).hasAttribute("disabled"))return l}else for(var s=t-1;s>=0;s--)if(!r(s).hasAttribute("disabled"))return s;return i?e>0?E(1,0,n,r,!1):E(-1,n-1,n,r,!1):-1}function Z(e,t,n,r){return void 0===r&&(r=!0),t.some(function(t){return t&&(C(t,e,n)||r&&C(t,n.document.activeElement,n))})}var R=P(function(e){M(e).textContent=""},500);function j(e,t){var n=M(t);e&&(n.textContent=e,R(t))}function M(e){void 0===e&&(e=document);var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t)),t}var L=["isInitialMount","highlightedIndex","items","environment"],I={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""},X=P(function(e,t){j(e(),t)},200),N="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement?d.useLayoutEffect:d.useEffect;function V(e){var t=e.id,n=void 0===t?"downshift-"+String(w++):t,r=e.labelId,i=e.menuId,o=e.getItemId,l=e.toggleButtonId,s=e.inputId;return(0,d.useRef)({labelId:r||n+"-label",menuId:i||n+"-menu",getItemId:o||function(e){return n+"-item-"+e},toggleButtonId:l||n+"-toggle-button",inputId:s||n+"-input"}).current}function D(e,t,n,r){var i,o;if(void 0===e){if(void 0===t)throw Error(r);i=n[t],o=t}else o=void 0===t?n.indexOf(e):t,i=e;return[i,o]}function z(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function q(e){var t=(0,d.useRef)(e);return t.current=e,t}function B(e,t,n){var r=(0,d.useRef)(),i=(0,d.useRef)(),o=(0,d.useCallback)(function(t,n){i.current=n;var r=e(t=_(t,n.props),n);return n.props.stateReducer(t,(0,p.A)({},n,{changes:r}))},[e]),l=(0,d.useReducer)(o,t),s=l[0],a=l[1],u=q(n),c=(0,d.useCallback)(function(e){return a((0,p.A)({props:u.current},e))},[u]),h=i.current;return(0,d.useEffect)(function(){var e,t,n,i;h&&r.current&&r.current!==s&&(e=_(r.current,h.props),t=h.props,n=h.type,i={},Object.keys(e).forEach(function(t){var n,r,o,l,a,u,c;n=t,r=h,o=e,l=s,a=r.props,u=r.type,a[c="on"+z(n)+"Change"]&&void 0!==l[n]&&l[n]!==o[n]&&a[c]((0,p.A)({type:u},l)),s[t]!==e[t]&&(i[t]=s[t])}),t.onStateChange&&Object.keys(i).length&&t.onStateChange((0,p.A)({type:n},i))),r.current=s},[s,n,h]),[s,c]}var F={itemToString:function(e){return e?String(e):""},stateReducer:function(e,t){return t.changes},getA11ySelectionMessage:function(e){var t=e.selectedItem,n=e.itemToString;return t?n(t)+" has been selected.":""},scrollIntoView:function(e,t){e&&((e,t)=>{var n,r,i,o,l,s;if("u"<typeof document)return[];
1let{scrollMode:a,block:u,inline:c,boundary:h,skipOverflowHiddenElements:d}=t,f="function"==typeof h?h:e=>e!==h;if(!O(e))throw TypeError("Invalid target");let p=document.scrollingElement||document.documentElement,g=[],m=e;for(;O(m)&&f(m);){if((m=y(m))===p){g.push(m);break}null!=m&&m===document.body&&b(m)&&!b(document.documentElement)||null!=m&&b(m,d)&&g.push(m)}let x=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,k=null!=(o=null==(i=window.visualViewport)?void 0:i.height)?o:innerHeight,w=null!=(l=window.scrollX)?l:pageXOffset,S=null!=(s=window.scrollY)?s:pageYOffset,{height:C,width:P,top:$,right:Q,bottom:_,left:T}=e.getBoundingClientRect(),A="start"===u||"nearest"===u?$:"end"===u?_:$+C/2,E="center"===c?T+P/2:"end"===c?Q:T,Z=[];for(let e=0;e<g.length;e++){let t=g[e],{height:n,width:r,top:i,right:o,bottom:l,left:s}=t.getBoundingClientRect();if("if-needed"===a&&$>=0&&T>=0&&_<=k&&Q<=x&&$>=i&&_<=l&&T>=s&&Q<=o)break;let h=getComputedStyle(t),d=parseInt(h.borderLeftWidth,10),f=parseInt(h.borderTopWidth,10),m=parseInt(h.borderRightWidth,10),O=parseInt(h.borderBottomWidth,10),b=0,y=0,R="offsetWidth"in t?t.offsetWidth-t.clientWidth-d-m:0,j="offsetHeight"in t?t.offsetHeight-t.clientHeight-f-O:0,M="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,L="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(p===t)b="start"===u?A:"end"===u?A-k:"nearest"===u?v(S,S+k,k,f,O,S+A,S+A+C,C):A-k/2,y="start"===c?E:"center"===c?E-x/2:"end"===c?E-x:v(w,w+x,x,d,m,w+E,w+E+P,P),b=Math.max(0,b+S),y=Math.max(0,y+w);else{b="start"===u?A-i-f:"end"===u?A-l+O+j:"nearest"===u?v(i,l,n,f,O+j,A,A+C,C):A-(i+n/2)+j/2,y="start"===c?E-s-d:"center"===c?E-(s+r/2)+R/2:"end"===c?E-o+m+R:v(s,o,r,d,m+R,E,E+P,P);let{scrollLeft:e,scrollTop:a}=t;b=Math.max(0,Math.min(a+b/L,t.scrollHeight-n/L+j)),y=Math.max(0,Math.min(e+y/M,t.scrollWidth-r/M+R)),A+=a-b,E+=e-y}Z.push({el:t,top:b,left:y})}return Z})(e,{boundary:t,block:"nearest",scrollMode:"if-needed"}
1).forEach(function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r})},environment:"u"<typeof window?{}:window};function Y(e,t,n){void 0===n&&(n=I);var r=e["default"+z(t)];return void 0!==r?r:n[t]}function U(e,t,n){void 0===n&&(n=I);var r=e[t];if(void 0!==r)return r;var i=e["initial"+z(t)];return void 0!==i?i:Y(e,t,n)}function W(e){var t=U(e,"selectedItem"),n=U(e,"isOpen"),r=U(e,"highlightedIndex"),i=U(e,"inputValue");return{highlightedIndex:r<0&&t&&n?e.items.indexOf(t):r,isOpen:n,selectedItem:t,inputValue:i}}function H(e,t,n){var r=e.items,i=e.initialHighlightedIndex,o=e.defaultHighlightedIndex,l=t.selectedItem,s=t.highlightedIndex;return 0===r.length?-1:void 0!==i&&s===i?i:void 0!==o?o:l?r.indexOf(l):0===n?-1:n<0?r.length-1:0}function G(e,t,n,r){var i=(0,d.useRef)({isMouseDown:!1,isTouchMove:!1});return(0,d.useEffect)(function(){if((null==n?void 0:n.addEventListener)!=null){var o=function(){i.current.isMouseDown=!0},l=function(o){i.current.isMouseDown=!1,e&&!Z(o.target,t.map(function(e){return e.current}),n)&&r()},s=function(){i.current.isTouchMove=!1},a=function(){i.current.isTouchMove=!0},u=function(o){!e||i.current.isTouchMove||Z(o.target,t.map(function(e){return e.current}),n,!1)||r()};return n.addEventListener("mousedown",o),n.addEventListener("mouseup",l),n.addEventListener("touchstart",s),n.addEventListener("touchmove",a),n.addEventListener("touchend",u),function(){n.removeEventListener("mousedown",o),n.removeEventListener("mouseup",l),n.removeEventListener("touchstart",s),n.removeEventListener("touchmove",a),n.removeEventListener("touchend",u)}}},[e,n]),i}var J=function(){return S};function K(e,t,n){var r=n.isInitialMount,i=n.highlightedIndex,o=n.items,l=n.environment,s=(0,f.A)(n,L);(0,d.useEffect)(function(){r||X(function(){return e((0,p.A)({highlightedIndex:i,highlightedItem:o[i],resultCount:o.length},s))},l.document)},t)}function ee(e){var t=e.highlightedIndex,n=e.isOpen,r=e.itemRefs,i=e.getItemNodeFromIndex,o=e.menuElement,l=e.scrollIntoView,s=(0,d.useRef)(!0);return N(function(){!(t<0)&&n&&Object.keys(r.current).length&&(!1===s.current?s.current=!0:l(i(t),o))},[t]),s}function et(e,t,n){void 0===n&&(n=!0);var r,i=(null==(r=e.items)?void 0:r.length)&&t>=0;return(0,p.A)({isOpen:!1,highlightedIndex:-1},i&&(0,p.A)({selectedItem:e.items[t],isOpen:Y(e,"isOpen"),highlightedIndex:Y(e,"highlightedIndex")},n&&{inputValue:e.itemToString(e.items[t])}))}function en(e,t,n){var r,i=t.type,o=t.props;switch(i){case n.ItemMouseMove:r={highlightedIndex:t.disabled?-1:t.index};break;case n.MenuMouseLeave:r={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:H(o,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:H(o,e,0)};break;case n.FunctionCloseMenu:r={isOpen:!1};break;case n.FunctionSetHighlightedIndex:r={highlightedIndex:t.highlightedIndex};break;case n.FunctionSetInputValue:r={inputValue:t.inputValue};break;case n.FunctionReset:r={highlightedIndex:Y(o,"highlightedIndex"),isOpen:Y(o,"isOpen"),selectedItem:Y(o,"selectedItem"),inputValue:Y(o,"inputValue")};break;default:throw Error("Reducer called without proper action type.")}return(0,p.A)({},e,r)}m().array.isRequired,m().func,m().func,m().func,m().number,m().number,m().number,m().bool,m().bool,m().bool,m().any,m().any,m().any,m().string,m().string,m().string,m().func,m().string,m().func,m().func,m().func,m().func,m().func,m().shape({addEventListener:m().func,removeEventListener:m().func,document:m().shape({getElementById:m().func,activeElement:m().any,body:m().any})});var er=(0,k.Cl)((0,k.Cl)({},F),{getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?"".concat(n," result").concat(1===n?" is":"s are"," available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select."):"":"No results are available.":""}}),ei=Object.freeze({__proto__:null,ToggleButtonClick:0,ToggleButtonKeyDownArrowDown:1,ToggleButtonKeyDownArrowUp:2,ToggleButtonKeyDownCharacter:3,ToggleButtonKeyDownEscape:4,ToggleButtonKeyDownHome:5,ToggleButtonKeyDownEnd:6,ToggleButtonKeyDownEnter:7,ToggleButtonKeyDownSpaceButton:8,ToggleButtonKeyDownPageUp:9,ToggleButtonKeyDownPageDown:10,ToggleButtonBlur:11,MenuMouseLeave:12,ItemMouseMove:13,ItemClick:14,FunctionToggleMenu:15,FunctionOpenMenu:16,FunctionCloseMenu:17,FunctionSetHighlightedIndex:18,FunctionSelectItem:19,FunctionSetInputValue:20,FunctionReset:21});var eo=Object.freeze({__proto__:null,InputKeyDownArrowDown:0,InputKeyDownArrowUp:1,InputKeyDownEscape:2,InputKeyDownHome:3,InputKeyDownEnd:4,InputKeyDownPageUp:5,InputKeyDownPageDown:6,InputKeyDownEnter:7,InputChange:8,InputBlur:9,InputFocus:10,MenuMouseLeave:11,ItemMouseMove:12,ItemClick:13,ToggleButtonClick:14,FunctionToggleMenu:15,FunctionOpenMenu:16,FunctionCloseMenu:17,FunctionSetHighlightedIndex:18,FunctionSelectItem:19,FunctionSetInputValue:20,FunctionReset:21,ControlledPropUpdatedSelectedItem:22});m().array.isRequired,m().func,m().func,m().func,m().func,m().number,m().number,m().number,m().bool,m().bool,m().bool,m().any,m().any,m().any,m().str
1ing,m().string,m().string,m().string,m().string,m().string,m().func,m().string,m().string,m().func,m().func,m().func,m().func,m().func,m().func,m().shape({addEventListener:m().func,removeEventListener:m().func,document:m().shape({getElementById:m().func,activeElement:m().any,body:m().any})});var el=(0,p.A)({},F,{selectedItemChanged:function(e,t){return e!==t},getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?n+" result"+(1===n?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":""}});function es(e,t){var n,r,i=t.type,o=t.props,l=t.altKey;switch(i){case 13:r={isOpen:Y(o,"isOpen"),highlightedIndex:Y(o,"highlightedIndex"),selectedItem:o.items[t.index],inputValue:o.itemToString(o.items[t.index])};break;case 0:r=e.isOpen?{highlightedIndex:A(1,e.highlightedIndex,o.items.length,t.getItemNodeFromIndex,!0)}:{highlightedIndex:l&&null==e.selectedItem?-1:H(o,e,1,t.getItemNodeFromIndex),isOpen:o.items.length>=0};break;case 1:r=e.isOpen?l?et(o,e.highlightedIndex):{highlightedIndex:A(-1,e.highlightedIndex,o.items.length,t.getItemNodeFromIndex,!0)}:{highlightedIndex:H(o,e,-1,t.getItemNodeFromIndex),isOpen:o.items.length>=0};break;case 7:r=et(o,e.highlightedIndex);break;case 2:r=(0,p.A)({isOpen:!1,highlightedIndex:-1},!e.isOpen&&{selectedItem:null,inputValue:""});break;case 5:r={highlightedIndex:A(-10,e.highlightedIndex,o.items.length,t.getItemNodeFromIndex,!1)};break;case 6:r={highlightedIndex:A(10,e.highlightedIndex,o.items.length,t.getItemNodeFromIndex,!1)};break;case 3:r={highlightedIndex:E(1,0,o.items.length,t.getItemNodeFromIndex,!1)};break;case 4:r={highlightedIndex:E(-1,o.items.length-1,o.items.length,t.getItemNodeFromIndex,!1)};break;case 9:r=(0,p.A)({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&(null==(n=o.items)?void 0:n.length)&&t.selectItem&&{selectedItem:o.items[e.highlightedIndex],inputValue:o.itemToString(o.items[e.highlightedIndex])});break;case 8:r={isOpen:!0,highlightedIndex:Y(o,"highlightedIndex"),inputValue:t.inputValue};break;case 10:r={isOpen:!0,highlightedIndex:H(o,e,0)};break;case 19:r={selectedItem:t.selectedItem,inputValue:o.itemToString(t.selectedItem)};break;case 22:r={inputValue:t.inputValue};break;default:return en(e,t,eo)}return(0,p.A)({},e,r)}var ea=["onMouseLeave","refKey","ref"],eu=["item","index","refKey","ref","onMouseMove","onMouseDown","onClick","onPress","disabled"],ec=["onClick","onPress","refKey","ref"],eh=["onKeyDown","onChange","onInput","onFocus","onBlur","onChangeText","refKey","ref"];function ed(e){void 0===e&&(e={});var t,n,r,i,o,l,s,a=(0,p.A)({},el,e),u=a.initialIsOpen,c=a.defaultIsOpen,h=a.items,g=a.scrollIntoView,m=a.environment,O=a.getA11yStatusMessage,x=a.getA11ySelectionMessage,b=a.itemToString,v=(n=(t=W(a)).selectedItem,""===(r=t.inputValue)&&n&&void 0===a.defaultInputValue&&void 0===a.initialInputValue&&void 0===a.inputValue&&(r=a.itemToString(n)),(0,p.A)({},t,{inputValue:r})),y=(i=(0,d.useRef)(),l=(o=B(es,v,a))[0],s=o[1],(0,d.useEffect)(function(){void 0!==a.selectedItem&&(a.selectedItemChanged(i.current,a.selectedItem)&&s({type:22,inputValue:a.itemToString(a.selectedItem)}),i.current=l.selectedItem===i.current?a.selectedItem:l.selectedItem)},[l.selectedItem,a.selectedItem]),[_(l,a),s]),k=y[0],w=y[1],S=k.isOpen,C=k.highlightedIndex,P=k.selectedItem,A=k.inputValue,E=(0,d.useRef)(null),Z=(0,d.useRef)({}),R=(0,d.useRef)(null),j=(0,d.useRef)(null),M=(0,d.useRef)(!0),L=V(a),I=(0,d.useRef)(),X=q({state:k,props:a}),N=(0,d.useCallback)(function(e){return Z.current[L.getItemId(e)]},[L]);K(O,[S,C,A,h],(0,p.A)({isInitialMount:M.current,previousResultCount:I.current,items:h,environment:m,itemToString:b},k)),K(x,[P],(0,p.A)({isInitialMount:M.current,previousResultCount:I.current,items:h,environment:m,itemToString:b},k));var z=ee({menuElement:E.current,highlightedIndex:C,isOpen:S,itemRefs:Z,scrollIntoView:g,getItemNodeFromIndex:N});M.current,(0,d.useEffect)(function(){(u||c||S)&&R.current&&R.current.focus()},[]),(0,d.useEffect)(function(){M.current||(I.current=h.length)});var F=G(S,[R,E,j],m,function(){w({type:9,selectItem:!1})}),Y=J();(0,d.useEffect)(function(){return M.current=!1,function(){M.current=!0}},[]),(0,d.useEffect)(function(){var e,t;S?(null==(e=m.document)?void 0:e.activeElement)!==R.current&&(null==R||null==(t=R.current)||t.focu
1s()):Z.current={}},[S,m]);var U=(0,d.useMemo)(function(){return{ArrowDown:function(e){e.preventDefault(),w({type:0,altKey:e.altKey,getItemNodeFromIndex:N})},ArrowUp:function(e){e.preventDefault(),w({type:1,altKey:e.altKey,getItemNodeFromIndex:N})},Home:function(e){X.current.state.isOpen&&(e.preventDefault(),w({type:3,getItemNodeFromIndex:N}))},End:function(e){X.current.state.isOpen&&(e.preventDefault(),w({type:4,getItemNodeFromIndex:N}))},Escape:function(e){var t=X.current.state;(t.isOpen||t.inputValue||t.selectedItem||t.highlightedIndex>-1)&&(e.preventDefault(),w({type:2}))},Enter:function(e){X.current.state.isOpen&&229!==e.which&&(e.preventDefault(),w({type:7,getItemNodeFromIndex:N}))},PageUp:function(e){X.current.state.isOpen&&(e.preventDefault(),w({type:5,getItemNodeFromIndex:N}))},PageDown:function(e){X.current.state.isOpen&&(e.preventDefault(),w({type:6,getItemNodeFromIndex:N}))}}},[w,X,N]),H=(0,d.useCallback)(function(e){return(0,p.A)({id:L.labelId,htmlFor:L.inputId},e)},[L]),et=(0,d.useCallback)(function(e,t){var n,r=void 0===e?{}:e,i=r.onMouseLeave,o=r.refKey,l=void 0===o?"ref":o,s=r.ref,a=(0,f.A)(r,ea),u=(void 0===t?{}:t).suppressRefError;return Y("getMenuProps",void 0!==u&&u,l,E),(0,p.A)(((n={})[l]=Q(s,function(e){E.current=e}),n.id=L.menuId,n.role="listbox",n["aria-labelledby"]=a&&a["aria-label"]?void 0:""+L.labelId,n.onMouseLeave=$(i,function(){w({type:11})}),n),a)},[w,Y,L]),en=(0,d.useCallback)(function(e){var t,n,r=void 0===e?{}:e,i=r.item,o=r.index,l=r.refKey,s=r.ref,a=r.onMouseMove,u=r.onMouseDown,c=r.onClick;r.onPress;var h=r.disabled,d=(0,f.A)(r,eu),g=X.current,m=g.props,O=g.state,x=D(i,o,m.items,"Pass either item or index to getItemProps!")[1];return(0,p.A)(((t={})[void 0===l?"ref":l]=Q(s,function(e){e&&(Z.current[L.getItemId(x)]=e)}),t.disabled=h,t.role="option",t["aria-selected"]=""+(x===O.highlightedIndex),t.id=L.getItemId(x),t),!h&&((n={}).onClick=$(c,function(){w({type:13,index:x})}),n),{onMouseMove:$(a,function(){x!==O.highlightedIndex&&(z.current=!1,w({type:12,index:x,disabled:h}))}),onMouseDown:$(u,function(e){return e.preventDefault()})},d)},[w,X,z,L]),er=(0,d.useCallback)(function(e){var t,n=void 0===e?{}:e,r=n.onClick;n.onPress;var i=n.refKey,o=n.ref,l=(0,f.A)(n,ec),s=X.current.state;return(0,p.A)(((t={})[void 0===i?"ref":i]=Q(o,function(e){j.current=e}),t["aria-controls"]=L.menuId,t["aria-expanded"]=s.isOpen,t.id=L.toggleButtonId,t.tabIndex=-1,t),!l.disabled&&(0,p.A)({},{onClick:$(r,function(){w({type:14})})}),l)},[w,X,L]),ei=(0,d.useCallback)(function(e,t){var n,r,i=void 0===e?{}:e,o=i.onKeyDown,l=i.onChange,s=i.onInput,a=i.onFocus,u=i.onBlur;i.onChangeText;var c=i.refKey,h=void 0===c?"ref":c,d=i.ref,g=(0,f.A)(i,eh),O=(void 0===t?{}:t).suppressRefError;Y("getInputProps",void 0!==O&&O,h,R);var x=X.current.state,b={};return g.disabled||((r={}).onChange=$(l,s,function(e){w({type:8,inputValue:e.target.value})}),r.onKeyDown=$(o,function(e){var t=T(e);t&&U[t]&&U[t](e)}),r.onBlur=$(u,function(e){x.isOpen&&!F.current.isMouseDown&&w({type:9,selectItem:null!==e.relatedTarget||m.document.activeElement===m.document.body})}),r.onFocus=$(a,function(){x.isOpen||w({type:10})}),b=r),(0,p.A)(((n={})[h]=Q(d,function(e){R.current=e}),n["aria-activedescendant"]=x.isOpen&&x.highlightedIndex>-1?L.getItemId(x.highlightedIndex):"",n["aria-autocomplete"]="list",n["aria-controls"]=L.menuId,n["aria-expanded"]=x.isOpen,n["aria-labelledby"]=g&&g["aria-label"]?void 0:""+L.labelId,n.autoComplete="off",n.id=L.inputId,n.role="combobox",n.value=x.inputValue,n),b,g)},[Y,X,L,U,w,F,m]),eo=(0,d.useCallback)(function(){w({type:15})},[w]),ed=(0,d.useCallback)(function(){w({type:17})},[w]),ef=(0,d.useCallback)(function(){w({type:16})},[w]),ep=(0,d.useCallback)(function(e){w({type:18,highlightedIndex:e})},[w]),eg=(0,d.useCallback)(function(e){w({type:19,selectedItem:e})},[w]);return{getItemProps:en,getLabelProps:H,getMenuProps:et,getInputProps:ei,getToggleButtonProps:er,toggleMenu:eo,openMenu:ef,closeMenu:ed,setHighlightedIndex:ep,setInputValue:(0,d.useCallback)(function(e){w({type:20,inputValue:e})},[w]),selectItem:eg,reset:(0,d.useCallback)(function(){w({type:21})},[w]),highlightedIndex:C,isOpen:S,selectedItem:P,inputValue:A}}ed.stateChangeTypes=eo;m().array,m().array,m().array,m().func,m().func,m().func,m().number,m().number,m().number,m().func,m().func,m().str
1ing,m().string,m().shape({addEventListener:m().func,removeEventListener:m().func,document:m().shape({getElementById:m().func,activeElement:m().any,body:m().any})});var ef={itemToString:F.itemToString,stateReducer:F.stateReducer,environment:F.environment,getA11yRemovalMessage:function(e){var t=e.removedSelectedItem;return(0,e.itemToString)(t)+" has been removed."},keyNavigationNext:"ArrowRight",keyNavigationPrevious:"ArrowLeft"},ep=Object.freeze({__proto__:null,SelectedItemClick:0,SelectedItemKeyDownDelete:1,SelectedItemKeyDownBackspace:2,SelectedItemKeyDownNavigationNext:3,SelectedItemKeyDownNavigationPrevious:4,DropdownKeyDownNavigationPrevious:5,DropdownKeyDownBackspace:6,DropdownClick:7,FunctionAddSelectedItem:8,FunctionRemoveSelectedItem:9,FunctionSetSelectedItems:10,FunctionSetActiveIndex:11,FunctionReset:12});var eg=n(19838),em=n(41340);let eO=e=>e.suggestions.length>0?d.createElement(ex,{...e}):d.createElement("input",{className:em.Ay.textInput,size:40,autoFocus:!0,...e.register(e.inputName)}),ex=({autofocus:e,suggestions:t,control:n,inputName:r,placeholder:o,initialInputValue:l,setValue:s})=>{let[a,c]=d.useState(t.slice(0,20)),h=(0,i.X3)(u.yr),f=t.length>0,{isOpen:p,getToggleButtonProps:g,getMenuProps:m,getInputProps:O,highlightedIndex:x,getItemProps:b,selectedItem:v}=ed({initialInputValue:l,onInputValueChange({inputValue:e=""}){s(r,e),e=e.toLowerCase()||"";let n=[];for(let r of t)if(r.toLowerCase().includes(e)&&(n.push(r),n.length>=20))break;c(n)},items:a,itemToString:e=>e??""}),y=p&&a.length>0;return d.createElement("div",{className:em.Ay.downshiftAutocompleteContainer},d.createElement("div",{"data-visible-dropdown":y,className:em.Ay.downshiftInputWrapper},d.createElement(eg.xI,{name:r,control:n,render:({field:t})=>{let n=O();return d.createElement("input",{...n,name:t.name,placeholder:o,className:em.Ay.downshiftInput,size:30,"data-editor-dialog":!0,autoFocus:e})}}),f&&d.createElement("button",{"aria-label":"toggle menu",type:"button",...g()},h("arrow_drop_down"))),d.createElement("div",{className:em.Ay.downshiftAutocompleteContainer},d.createElement("ul",{...m(),"data-visible":y},a.map((e,t)=>d.createElement("li",{"data-selected":v===e,"data-highlighted":x===t,key:`${e}${t}`,...b({item:e,index:t})},e)))))};var eb=n(3793);function ev({url:e,title:t,text:n,onSubmit:r,onCancel:i,linkAutocompleteSuggestions:o,showLinkTitleField:l,showAnchorTextField:s}){let{register:a,handleSubmit:c,control:h,setValue:f,reset:p}=(0,eg.mN)({values:{url:e,title:t,text:n}}),g=(0,u.Bd)();return d.createElement("form",{onSubmit:e=>{c(r)(e),e.stopPropagation(),e.preventDefault()},onReset:e=>{e.stopPropagation(),i()},onKeyDown:e=>{"Escape"===e.key&&(e.stopPropagation(),i())},className:eb(em.Ay.multiFieldForm,em.Ay.linkDialogEditForm)},d.createElement("div",{className:em.Ay.formField}
1,d.createElement("label",{htmlFor:"link-url"},g("createLink.url","URL")),d.createElement(eO,{register:a,initialInputValue:e,inputName:"url",suggestions:o,setValue:f,control:h,placeholder:g("createLink.urlPlaceholder","Select or paste an URL"),autofocus:!0})),s?d.createElement("div",{className:em.Ay.formField},d.createElement("label",{htmlFor:"link-text",title:g("createLink.textTooltip","The text to be displayed for the link")},g("createLink.text","Anchor text")),d.createElement("input",{id:"link-text",className:em.Ay.textInput,size:40,...a("text")})):null,l?d.createElement("div",{className:em.Ay.formField},d.createElement("label",{htmlFor:"link-title",title:g("createLink.titleTooltip","The link's title attribute, shown on hover")},g("createLink.title","Link title")),d.createElement("input",{id:"link-title",className:em.Ay.textInput,size:40,...a("title")})):null,d.createElement("div",{style:{display:"flex",justifyContent:"flex-end",gap:"var(--spacing-2)"}},d.createElement("button",{type:"submit",title:g("createLink.saveTooltip","Set URL"),"aria-label":g("createLink.saveTooltip","Set URL"),className:eb(em.Ay.primaryButton)},g("dialogControls.save","Save")),d.createElement("button",{type:"reset",title:g("createLink.cancelTooltip","Cancel change"),"aria-label":g("createLink.cancelTooltip","Cancel change"),className:eb(em.Ay.secondaryButton)},g("dialogControls.cancel","Cancel"))))}(0,o.guI)();let ey=()=>{let[e,t,n,r,o,l,s,a]=(0,i.uX)(u.xZ,u.N2,u.Cp,u.yr,e$,eZ,eR,eL),f=(0,i.qM)(eP),p=(0,i.qM)(eQ),g=(0,i.qM)(e_),m=(0,i.qM)(eT),O=(0,i.qM)(eA);d.useEffect(()=>{let e=null==t?void 0:t.closest(".mdxeditor-root-contenteditable"),r=()=>{null==n||n.getEditorState().read(()=>{f(!0)})};return window.addEventListener("resize",r),window.addEventListener("scroll",r),null==e||e.addEventListener("scroll",r),()=>{window.removeEventListener("resize",r),window.removeEventListener("scroll",r),null==e||e.removeEventListener("scroll",r)}},[n,t,f]);let[x,b]=d.useState(!1),v=(0,u.Bd)();if("inactive"===o.type)return null;let y=o.rectangle,k="preview"===o.type&&o.url.startsWith("http");return d.createElement(c.bL,{open:!0},d.createElement(c.Mz,{"data-visible":"edit"===o.type,className:em.Ay.linkDialogAnchor,style:{to
1p:`${y.top}px`,left:`${y.left}px`,width:`${y.width}px`,height:`${y.height}px`}}),d.createElement(c.ZL,{container:null==e?void 0:e.current},d.createElement(c.UC,{className:eb(em.Ay.linkDialogPopoverContent),sideOffset:5,updatePositionStrategy:"always",onOpenAutoFocus:e=>{e.preventDefault()},key:o.linkNodeKey},"edit"===o.type&&d.createElement(ev,{url:o.url,title:o.title,text:o.text,onSubmit:p,onCancel:g.bind(null),linkAutocompleteSuggestions:l,showLinkTitleField:a,showAnchorTextField:o.withAnchorText}),"preview"===o.type&&d.createElement(d.Fragment,null,d.createElement("a",{className:em.Ay.linkDialogPreviewAnchor,"data-testid":"link-dialog-preview",href:o.href??"about:blank",...k?{target:"_blank",rel:"noreferrer"}:{},onClick:e=>{null!==s&&(e.preventDefault(),s(o.url))},title:k?v("linkPreview.open","Open {{url}} in new window",{url:o.url}):o.url},d.createElement("span",null,o.url),k&&r("open_in_new")),d.createElement(ek,{onClick:()=>{m()},title:v("linkPreview.edit","Edit link URL"),"aria-label":v("linkPreview.edit","Edit link URL")},r("edit")),d.createElement(h.Kq,null,d.createElement(h.bL,{open:x},d.createElement(h.l9,{asChild:!0},d.createElement(ek,{title:v("linkPreview.copyToClipboard","Copy to clipboard"),"aria-label":v("linkPreview.copyToClipboard","Copy to clipboard"),onClick:()=>{window.navigator.clipboard.writeText(o.url).then(()=>{b(!0),setTimeout(()=>{b(!1)},1e3)})}},r(x?"check":"content_copy"))),d.createElement(h.ZL,{container:null==e?void 0:e.current},d.createElement(h.UC,{className:eb(em.Ay.tooltipContent),sideOffset:5},v("linkPreview.copied","Copied!"),d.createElement(h.i3,null))))),d.createElement(ek,{title:v("linkPreview.remove","Remove link"),"aria-label":v("linkPreview.remove","Remove link"),onClick:()=>{O()}},r("link_off"))),d.createElement(c.i3,{className:em.Ay.popoverArrow}))))},ek=d.forwardRef(({className:e,...t},n)=>d.createElement("button",{className:eb(em.Ay.actionButton,e),ref:n,...t}));function ew(e){if(!e)return null;let t=(0,a.OL)(e);if(null===t)return null;let n=t.getParent();return(0,r.FJ)(n)?n:(0,r.FJ)(t)?t:null}function eS(e=(0,o.vJq)()){if(!(0,o.RTZ)(e))return null;let t=e.getNodes(),n=1===t.length?t[0]:null;return(0,o.Cyw)(n)&&n.isInline()?n:null}function eC(e,t,n){return e?e.getEditorState().read(()=>{let e=""===t?null:(0,o.nsf)(t),i=(0,o.vJq)(),l=(0,o.I2P)(i)?ew(i):null,s=(0,r.FJ)(e)?e:l;return(null==s?void 0:s.sanitizeUrl(n))??"about:blank"}):"about:blank"}let eP=(0,i.HN)(),e$=(0,i.fh)({type:"inactive"},e=>{e.pub(u.Z4,t=>t.registerCommand(o.Q$N,()=>"preview"===e.getValue(e$).type&&(e.pub(e$,{type:"inactive"}),!0),o.AcJ)),e.sub(e.pipe(u.n$),t=>{"rich-text"!==t&&e.pub(e$,{type:"inactive"})}),e.pub(u.Z4,t=>t.registerCommand(o.R18,t=>{if("k"===t.key&&(s.sY?t.metaKey:t.ctrlKey)&&!e.getValue(u.pc)){let n=(0,o.vJq)();if((0,o.I2P)(n)||null!==eS(n))return e.pub(eE),t.stopPropagation(),t.preventDefault(),!0}return!1},o.WgU)),e.sub(e.pipe(eT,(0,i.EY)(e$,u.Cp)),([,t,n])=>{if("preview"===t.type)setTimeout(()=>{null==n||n.getEditorState().read(()=>{let n=(0,o.nsf)(t.linkNodeKey),i=!!(0,r.FJ)(n)&&n.getTextContent().length>0&&1>=n.getChildrenSize(),l=i&&n?n.getTextContent():"";e.pub(e$,{type:"edit",initialUrl:t.url,url:t.url,title:t.title,text:l,withAnchorText:i,linkNodeKey:t.linkNodeKey,decoratorNodeKey:t.decoratorNodeKey,rectangle:t.rectangle})})});else throw Error("Cannot switch to edit mode when not in preview mode")}),e.sub(e.pipe(eQ,(0,i.EY)(u.Cp,e$,u.cj)),([t,n,i,l])=>{var s,a,u;let c=(null==(s=t.text)?void 0:s.trim())??"",h=(null==(a=t.url)?void 0:a.trim())??"",d=(null==(u=t.title)?void 0:u.trim())??"";if(""!==h){if(void 0!==i.decoratorNodeKey){let t="";if(null==n||n.update(()=>{let e=(0,o.nsf)(i.decoratorNodeKey);if(null===e)return;let l=(0,o.rUs)();if(l.add(e.getKey()),(0,o.n1P)(l),!n.dispatchCommand(r.yW,h))return;let s=e.getParent();(0,r.FJ)(s)&&(s.setTitle(d),t=s.getKey())},{discrete:!0}),""===t)return;e.pub(e$,{type:"preview",linkNodeKey:t,decoratorNodeKey:i.decoratorNodeKey,rectangle:i.rectangle,title:d,url:h,href:eC(n,t,h)});return}if(null==l?void 0:l.isCollapsed()){let e=c||d||h;null==n||n.update(()=>{let t=ew(l);if(t)if((0,r.iK)(t)){let e=(0,r.zA)(h,{title:d});e.append((0,o.sTu)(c)),t.replace(e),e.select()}else t.setURL(h),t.setTitle(d),eM(t.getFirstChild(),c);else{let t=(0,r.zA)(h,{title:d});t.append((0,o.sTu)(e)),(0,o.H2A)([t]),t.select()}},{discrete:!0})}else null==n||n.update(()=>{eM(null==l?void 0:l.anchor.getNode(),c)}),null==n||n.dispatchCommand(r.yW,{url:h,title:d});e.pub(e$,{type:"preview",linkNodeKey:i.linkNodeKey,rectangle:i.rectangle,title:d,url:h,href:eC(n,i.linkNodeKey??"",h)})}else"edit"===i.type&&""!==i.initialUrl&&(void 0!==i.decoratorNodeKey?null==n||n.update(()=>{let e=(0,o.nsf)(i.decoratorNodeKey);if(null===e)return;let t=(0,o.rUs)();t.add(e.getKey()),(0,o.n1P)(t),n.dispatchCommand(r.yW,null)}):null==n||n.dispatchCommand(r.yW,null)),e.pub(e$,{type:"inactive"})}),e.link(e.pipe(e_,(0,i.EY)(e$,u.Cp),(0,i.Tj)(([,e,t])=>
1{if("edit"===e.type)return(null==t||t.focus(),""===e.initialUrl)?{type:"inactive"}:{type:"preview",url:e.initialUrl,href:eC(t,e.linkNodeKey,e.initialUrl),linkNodeKey:e.linkNodeKey,decoratorNodeKey:e.decoratorNodeKey,rectangle:e.rectangle};throw Error("Cannot cancel edit when not in edit mode")})),e$),e.link(e.pipe(e.combine(u.cj,eP),(0,i.EY)(u.Cp,e$,u.pc),(0,i.Tj)(([[e],t,n,r])=>{if(void 0!==n.decoratorNodeKey&&t&&!r){if(t.getEditorState().read(()=>{let e=(0,o.vJq)();if(!(0,o.RTZ)(e))return null;let t=e.getNodes();return 1===t.length?t[0].getKey():null})!==n.decoratorNodeKey)return{type:"inactive"};let e=(0,a.UT)(t,n.decoratorNodeKey);return null===e?{type:"inactive"}:{...n,rectangle:e}}if(!(0,o.I2P)(e)||!t||r)return{type:"inactive"};{let n=ew(e);if(!e.isCollapsed()||!n)return{type:"inactive"};{let e=(0,a.eo)(t);return e?{type:"preview",url:n.getURL(),href:n.sanitizeUrl(n.getURL()),linkNodeKey:n.getKey(),title:n.getTitle(),rectangle:e}:{type:"inactive"}}}})),e$)}),eQ=(0,i.HN)(),e_=(0,i.rc)();(0,i.rc)();let eT=(0,i.rc)(),eA=(0,i.rc)(e=>{e.sub(e.pipe(eA,(0,i.EY)(u.Cp)),([,e])=>{null==e||e.dispatchCommand(r.yW,null)})}),eE=(0,i.rc)(e=>{e.sub(e.pipe(eE,(0,i.EY)(u.cj,u.Cp)),([,t,n])=>{if(!n)return;let i=n.getEditorState().read(()=>{let e=eS();if(null===e)return null;let t=e.getParent(),n=(0,r.FJ)(t)?t:null;return{nodeKey:e.getKey(),url:(null==n?void 0:n.getURL())??"",title:(null==n?void 0:n.getTitle())??"",linkNodeKey:(null==n?void 0:n.getKey())??""}});if(null!==i){let t=(0,a.UT)(n,i.nodeKey);if(null===t)return;e.pub(e$,{type:"edit",initialUrl:i.url,url:i.url,title:i.title,text:"",withAnchorText:!1,linkNodeKey:i.linkNodeKey,decoratorNodeKey:i.nodeKey,rectangle:t});return}(0,o.I2P)(t)&&n.focus(()=>{setTimeout(()=>{n.getEditorState().read(()=>{let r=ew(t),i=(0,a.eo)(n);if(null===i)return;let o=(null==r?void 0:r.getURL())??"",l=(null==r?void 0:r.getURL())??"",s=(null==r?void 0:r.getTitle())??"",u=(null==r?void 0:r.getKey())??"",c=r?r.getTextContent().length>0&&1>
1=r.getChildrenSize():t.isCollapsed(),h=c&&r?r.getTextContent():"";e.pub(e$,{type:"edit",initialUrl:o,url:l,title:s,text:h,withAnchorText:c,linkNodeKey:u,rectangle:i})})})})})}),eZ=(0,i.fh)([]),eR=(0,i.fh)(null),ej=(0,i.fh)(null,e=>{e.pub(u.Z4,t=>{function n(n){let[i,l]=e.getValues([u.pc,ej]);i&&null!==l&&t.update(()=>{let e=(0,o.xL4)(n.target);if(null!==e){let t=(0,o.BtT)(e,e=>e instanceof r.Db);null!==t&&l(n,t,t.getURL())}})}return t.registerRootListener((e,t)=>{e&&e.addEventListener("click",n),t&&t.removeEventListener("click",n)})})});function eM(e,t){(0,o.kFe)(e)&&t&&(e.setTextContent(t),e.selectStart())}let eL=(0,i.fh)(!0),eI=(0,l.Z)({init(e,t){e.pub(u.aC,(null==t?void 0:t.LinkDialog)??ey),e.pub(eR,(null==t?void 0:t.onClickLinkCallback)??null),e.pub(ej,(null==t?void 0:t.onReadOnlyClickLinkCallback)??null),e.pub(eL,(null==t?void 0:t.showLinkTitleField)??!0)},update(e,t={}){e.pub(eZ,t.linkAutocompleteSuggestions??[])}})},41340:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>r});let r={editorRoot:"_editorRoot_eoiyl_53",editorWrapper:"_editorWrapper_eoiyl_155",toolbarRoot:"_toolbarRoot_eoiyl_162",readOnlyToolbarRoot:"_readOnlyToolbarRoot_eoiyl_189",toolbarToggleItem:"_toolbarToggleItem_eoiyl_208",toolbarGroupOfGroups:"_toolbarGroupOfGroups_eoiyl_219",toolbarToggleSingleGroup:"_toolbarToggleSingleGroup_eoiyl_224",toolbarButton:"_toolbarButton_eoiyl_239",activeToolbarButton:"_activeToolbarButton_eoiyl_275",toolbarButtonDropdownContainer:"_toolbarButtonDropdownContainer_eoiyl_286",selectContainer:"_selectContainer_eoiyl_288",selectItem:"_selectItem_eoiyl_301",toolbarButtonSelectTrigger:"_toolbarButtonSelectTrigger_eoiyl_307",selectTrigger:"_selectTrigger_eoiyl_308",selectDropdownArrow:"_selectDropdownArrow_eoiyl_373",contentEditable:"_contentEditable_eoiyl_379",codeMirrorWrapper:"_codeMirrorWrapper_eoiyl_391",codeMirrorToolbar:"_codeMirrorToolbar_eoiyl_408",propertyPanelTitle:"_propertyPanelTitle_eoiyl_430",propertyEditorTable:"_propertyEditorTable_eoiyl_438",iconButton:"_iconButton_eoiyl_456",readOnlyColumnCell:"_readOnlyColumnCell_eoiyl_461",buttonsFooter:"_buttonsFooter_eoiyl_474",propertyEditorInput:"_propertyEditorInput_eoiyl_480",primaryButton:"_primaryButton_eoiyl_506",secondaryButton:"_secondaryButton_eoiyl_507",smallButton:"_smallButton_eoiyl_522",dialogForm:"_dialogForm_eoiyl_534",linkDialogEditForm:"_linkDialogEditForm_eoiyl_540",linkDialogInputContainer:"_linkDialogInputContainer_eoiyl_548",linkDialogInputWrapper:"_linkDialogInputWrapper_eoiyl_554",linkDialogInput:"_linkDialogInput_eoiyl_548",linkDialogAnchor:"_linkDialogAnchor_eoiyl_586",linkDialogPopoverContent:"_linkDialogPopoverContent_eoiyl_600",tableColumnEditorPopoverContent:"_tableColumnEditorPopoverContent_eoiyl_601",dialogContent:"_dialogContent_eoiyl_602",largeDialogContent:"_largeDialogContent_eoiyl_614",dialogTitle:"_dialogTitle_eoiyl_624",visuallyHidden:"_visuallyHidden_eoiyl_631",dialogCloseButton:"_dialogCloseButton_eoiyl_644",popoverContent:"_popoverContent_eoiyl_651",popoverArrow:"_popoverArrow_eoiyl_663",linkDialogPreviewAnchor:"_linkDialogPreviewAnchor_eoiyl_667",tooltipTrigger:"_tooltipTrigger_eoiyl_690",tooltipContent:"_tooltipContent_eoiyl_694",actionButton:"_actionButton_eoiyl_708",primaryActionButton:"_primaryActionButton_eoiyl_715",tableEditor:"_tableEditor_eoiyl_727",toolCell:"_toolCell_eoiyl_738",tableColumnEditorTrigger:"_tableColumnEditorTrigger_eoiyl_757",addRowButton:"_addRowButton_eoiyl_759",addColumnButton:"_addColumnButton_eoiyl_760",tableColumnEditorToolbar:"_tableColumnEditorToolbar_eoiyl_802",toggleGroupRoot:"_toggleGroupRoot_eoiyl_815",tableToolsColumn:"_tableToolsColumn_eoiyl_833",leftAlignedCell:"_leftAlignedCell_eoiyl_842",rightAlignedCell:"_rightAlignedCell_eoiyl_846",centeredCell:"_centeredCell_eoiyl_850",dialogOverlay:"_dialogOverlay_eoiyl_883",focusedImage:"_focusedImage_eoiyl_929",imageWrapper:"_imageWrapper_eoiyl_933",editImageToolbar:"_editImageToolbar_eoiyl_946",editImageButton:"_editImageButton_eoiyl_950",inlineEditor:"_inlineEditor_eoiyl_956",blockEditor:"_blockEditor_eoiyl_965",nestedEditor:"_nestedEditor_eoiyl_974",genericComponentName:"_genericComponentName_eoiyl_993",diffSourceToggleWrapper:"_diffSourceToggleWrapper_eoiyl_999",ggDiffSourceToggle:"_ggDiffSourceToggle_eoiyl_1007",diffSourceToggle:"_diffSourceToggle_eoiyl_999",selectWithLabel:"_selectWithLabel_eoiyl_1025",toolbarTitleMode:"_toolbarTitleMode_eoiyl_1040",imageControlWrapperResizing:"_imageControlWrapperResizing_eoiyl_1045",imageResizer:"_imageResizer_eoiyl_1049",imageResizerN:"_imageResizerN_eoiyl_1058",imageResizerNe:"_imageResizerNe_eoiyl_1064",imageResizerE:"_imageResizerE_eoiyl_1070",imageResizerSe:"_imageResizerSe_eoiyl_1076",imageResizerS:"_imageResizerS_eoiyl_1076",imageResizerSw:"_imageResizerSw_eoiyl_1088",imageResizerW
1:"_imageResizerW_eoiyl_1094",imageResizerNw:"_imageResizerNw_eoiyl_1100",imagePlaceholder:"_imagePlaceholder_eoiyl_1106",imageDimensionsContainer:"_imageDimensionsContainer_eoiyl_1114",placeholder:"_placeholder_eoiyl_1119",rootContentEditableWrapper:"_rootContentEditableWrapper_eoiyl_1132",downshiftInputWrapper:"_downshiftInputWrapper_eoiyl_1142",downshiftInput:"_downshiftInput_eoiyl_1142",downshiftAutocompleteContainer:"_downshiftAutocompleteContainer_eoiyl_1173",textInput:"_textInput_eoiyl_1219",multiFieldForm:"_multiFieldForm_eoiyl_1227",formField:"_formField_eoiyl_1233",markdownParseError:"_markdownParseError_eoiyl_1244",popupContainer:"_popupContainer_eoiyl_1253",inputSizer:"_inputSizer_eoiyl_1258"}},43599:(e,t,n)=>{"use strict";function r(e,t){return i(e,t.inConstruct,!0)&&!i(e,t.notInConstruct,!1)}function i(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}n.d(t,{q:()=>r})},43746:(e,t,n)=>{"use strict";n.d(t,{G:()=>l});let r="u"<typeof Symbol?"__ͼ":Symbol.for("ͼ"),i="u"<typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),o="u">typeof globalThis?globalThis:"u">typeof window?window:{};class l{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,o,l){let s=[],a=/^@(\w+)\b/.exec(t[0]),u=a&&"keyframes"==a[1];if(a&&null==i)return o.push(t[0]+";");for(let n in i){let l=i[n];if(/&/.test(n))e(n.split(/,\s*/).map(e=>t.map(t=>e.replace(/&/,t))).reduce((e,t)=>e.concat(t)),l,o);else if(l&&"object"==typeof l){if(!a)throw RangeError("The value of a property ("+n+") should be a primitive value.");e(r(n),l,s,u)}else null!=l&&s.push(n.replace(/_.*/,"").replace(/[A-Z]/g,e=>"-"+e.toLowerCase())+": "+l+";")}(s.length||u)&&o.push((n&&!a&&!l?t.map(n):t).join(", ")+" {"+s.join(" ")+"}")}(r(t),e[t],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=o[r]||1;return o[r]=e+1,"ͼ"+e.toString(36)}static mount(e,t,n){let r=e[i],o=n&&n.nonce;r?o&&r.setNonce(o):r=new a(e,o),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,o=!1;for(let t=0;t<e.length;t++){let l=e[t],s=this.modules.indexOf(l);if(s<i&&s>-1&&(this.modules.splice(s,1),o=!0,i--,s=-1),-1==s){if(this.modules.splice(i++,0,l),o=!0,n)for(let e=0;e<l.rules.length;e++)n.insertRule(l.rules[e],r++)}else{for(;i<s;)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{if(o){let e="";for(let t=0;t<this.modules.length;t++)e+=this.modules[t].getRules()+"\n";this.styleTag.textContent=e}let e=t.head||t;this.styleTag.parentNode!=e&&e.insertBefore(this.styleTag,e.firstChild)}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}}},44602:(e,t,n)=>{"use strict";var r,i;n.d(t,{$g:()=>L,PH:()=>g,Qj:()=>r,RY:()=>Z,Z6:()=>h,cF:()=>o,fI:()=>d,iX:()=>j,rr:()=>R,uY:()=>a});let o=1024,l=0;class s{constructor(e,t){this.from=e,this.to=t}}class a{constructor(e={}){this.id=l++,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"}}
1),a.contextHash=new a({perNode:!0}),a.lookAhead=new a({perNode:!0}),a.mounted=new a({perNode:!0});class u{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 c=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):c,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 d{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 d(t)}}let f=new WeakMap,p=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 g{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=u.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 Q(this.topNode,e)}cursorAt(e,t=0,n=0){let r=new Q(f.get(this)||this.topNode);return r.moveTo(e,t),f.set(this,r._tree),r}get topNode(){return new y(this,0,0,null)}resolve(e,t=0){let n=b(f.get(this)||this.topNode,e,t,!1);return f.set(this,n),n}resolveInner(e,t=0){let n=b(p.get(this)||this.topNode,e,t,!0);return p.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 y?r:r.context.parent;e;e=e.parent)if(e.index<0){let o=e.parent;(i||(i=[r])).push(o.resolve(t,n)),e=o}else{let o=u.get(e.tree);if(o&&o.overlay&&o.overlay[0].from<=t&&o.overlay[o.overlay.length-1].to>=t){let l=new y(o.tree,o.overlay[0].from+e.from,-1,e);(i||(i=[r])).push(b(l,t,n,!1))}}return i?P(i):r}(this,e,t)}iterate(e){let{enter:t,leave:n,from:i=0,to:o=this.length}=e,l=e.mode||0,s=(l&r.IncludeAnonymous)>0;for(let e=this.cursor(l|r.IncludeAnonymous);;){let r=!1;if(e.from<=o&&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=[];
1if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:E(h.none,this.children,this.positions,0,this.children.length,0,this.length,(e,t,n)=>new g(this.type,e,t,n,this.propValues),e.makeTree||((e,t,n)=>new g(h.none,e,t,n)))}static build(e){return function(e){var t;let{buffer:n,nodeSet:r,maxBufferLength:i=o,reused:l=[],minRepeatType:s=r.types.length}=e,u=Array.isArray(n)?new m(n,n.length):n,c=r.types,h=0,d=0;function f(e,t,n,i,o,l,s,a,u){let c=[],h=[];for(;e.length>i;)c.push(e.pop()),h.push(t.pop()+n-o);e.push(p(r.types[s],c,h,l-o,a-l,u)),t.push(o-n)}function p(e,t,n,r,i,o,l){if(o){let e=[a.contextHash,o];l=l?[e].concat(l):[e]}if(i>25){let e=[a.lookAhead,i];l=l?[e].concat(l):[e]}return new g(e,t,n,r,l)}let x=[],b=[];for(;u.pos>0;)!function e(t,n,o,m,x,b){let{id:v,start:y,end:k,size:w}=u,S=d,C=h;if(w<0){if(u.next(),-1==w){let e=l[v];o.push(e),m.push(y-t);return}if(-3==w){h=v;return}if(-4==w){d=v;return}else throw RangeError(`Unrecognized record size: ${w}`)}let P=c[v],$,Q,_=y-t;if(k-y<=i&&(Q=function(e,t){let n=u.fork(),r=0,o=0,l=0,a=n.end-i,c={size:0,start:0,skip:0};l:for(let i=n.pos-e;n.pos>i;){let e=n.size;if(n.id==t&&e>=0){c.size=r,c.start=o,c.skip=l,l+=4,r+=4,n.next();continue}let u=n.pos-e;if(e<0||u<i||n.start<a)break;let h=4*(n.id>=s),d=n.start;for(n.next();n.pos>u;){if(n.size<0)if(-3==n.size||-4==n.size)h+=4;else break l;else n.id>=s&&(h+=4);n.next()}o=d,r+=e,l+=h}return(t<0||r==e)&&(c.size=r,c.start=o,c.skip=l),c.size>4?c:void 0}(u.pos-n,x))){let e=new Uint16Array(Q.size-Q.skip),n=u.pos-Q.size,i=e.length;for(;u.pos>n;)i=function e(t,n,r){let{id:i,start:o,end:l,size:a}=u;if(u.next(),a>=0&&i<s){let s=r;if(a>4){let i=u.pos-(a-4);for(;u.pos>i;)r=e(t,n,r)}n[--r]=s,n[--r]=l-t,n[--r]=o-t,n[--r]=i}else -3==a?h=i:-4==a&&(d=i);return r}(Q.start,e,i);$=new O(e,k-Q.start,r),_=Q.start-t}else{let t=u.pos-w;u.next();let n=[],o=[],l=v>=s?v:-1,c=0,h=k;for(;u.pos>t;)l>=0&&u.id==l&&u.size>=0?(u.end<=h-i&&(f(n,o,y,c,u.end,h,l,S,C),c=n.length,h=u.end),u.next()):b>2500?function(e,t,n,o){let l=[],s=0,a=-1;for(;u.pos>t;){let{id:e,start:t,end:n,size:r}=u;if(r>4)u.next();else if(a>-1&&t<a)break;else a<0&&(a=n-i),l.push(e,t,n),s++,u.next()}if(s){let t=new Uint16Array(4*s),i=l[l.length-2];for(let e=l.length-3,n=0;e>=0;e-=3)t[n++]=l[e],t[n++]=l[e+1]-i,t[n++]=l[e+2]-i,t[n++]=n;n.push(new O(t,l[2]-i,r)),o.push(i-e)}}(y,t,n,o):e(y,t,n,o,l,b+1);if(l>=0&&c>0&&c<n.length&&f(n,o,y,c,y,h,l,S,C),n.reverse(),o.reverse(),l>-1&&c>0){let e=function(e,t){return(n,r,i)=>{let o=0,l=n.length-1,s,u;if(l>=0&&(s=n[l])instanceof g){if(!l&&s.type==e&&s.length==i)return s;(u=s.prop(a.lookAhead))&&(o=r[l]+s.length+u)}return p(e,n,r,i,o,t)}}(P,C);$=E(P,n,o,0,n.length,0,k-y,e,e)}else $=p(P,n,o,k-y,S-k,C)}o.push($),m.push(_)}(e.start||0,e.bufferStart||0,x,b,-1,0);let v=null!=(t=e.length)?t:x.length?b[0]+x[0].length:0;return new g(c[e.topID],x.reverse(),b.reverse(),v)}(e)}}g.empty=new g(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 O{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 o=[];for(;e<n;)o.push(this.childString(e)),e=this.buffer[e+3];return i+"("+o.join(",")+")"}findChild(e,t,n,r,i){let{buffer:o}=this,l=-1;for(let s=e;s!=t&&(!x(i,r,o[s+1],o[s+2])||(l=s,!(n>0)));s=o[s+3]);return l}slice(e,t,n){let r=this.buffer,i=new Uint16Array(t-e),o=0;for(let l=e,s=0;l<t;){i[s++]=r[l++],i[s++]=r[l++]-n;let t=i[s++]=r[l++]-n;i[s++]=r[l++]-e,o=Math.max(o,t)}return new O(i,o,this.set)}}function x(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 b(e,t,n,i){for(var o;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 y&&e.index<0?null:e.parent;if(!t)return e;e=t}let l=i?0:r.IgnoreOverlays;if(i)for(let r=e,i=r.parent;i;i=(r=i).parent)r instanceof y&&r.index<0&&(null==(o=i.enter(t,n,l))?void 0:o.from)!=r.from&&(e=i);for(;;){let r=e.enter(t,n,l);
vendor: 4,114 bytes, line 1
1if(!r)return e;e=r}}class v{cursor(e=0){return new Q(this,e)}getChild(e,t=null,n=null){let r=k(this,e,t,n);return r.length?r[0]:null}getChildren(e,t=null,n=null){return k(this,e,t,n)}resolve(e,t=0){return b(this,e,t,!1)}resolveInner(e,t=0){return b(this,e,t,!0)}matchContext(e){return w(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 y extends v{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,o=0){for(let l=this;;){for(let{children:s,positions:a}=l._tree,c=t>0?s.length:-1;e!=c;e+=t){let c=s[e],h=a[e]+l.from,d;if(o&r.EnterBracketed&&c instanceof g&&(d=u.get(c))&&!d.overlay&&d.bracketed&&n>=h&&n<=h+c.length||x(i,n,h,h+c.length)){if(c instanceof O){if(o&r.ExcludeBuffers)continue;let s=c.findChild(0,c.buffer.length,t,n-h,i);if(s>-1)return new C(new S(l,c,e,h),null,s)}else if(o&r.IncludeAnonymous||!c.type.isAnonymous||_(c)){let s;if(!(o&r.IgnoreMounts)&&(s=u.get(c))&&!s.overlay)return new y(s.tree,h,e,l);let a=new y(c,h,e,l);return o&r.IncludeAnonymous||!a.type.isAnonymous?a:a.nextChild(t<0?c.children.length-1:0,t,n,i,o)}}}if(o&r.IncludeAnonymous||!l.type.isAnonymous||(e=l.index>=0?l.index+t:t<0?-1:l._parent._tree.children.length,!(l=l._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=u.get(this._tree))&&i.overlay){let o=e-this.from,l=n&r.EnterBracketed&&i.bracketed;for(let{from:e,to:n}of i.overlay)if((t>0||l?e<=o:e<o)&&(t<0||l?n>=o:n>o))return new y(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 k(e,t,n,r){let i=e.cursor(),o=[];if(!i.firstChild())return o;if(null!=n){for(let e=!1;!e;)if(e=i.type.is(n),!i.nextSibling())return o}for(;;){if(null!=r&&i.type.is(r))return o;if(i.type.is(t)&&o.push(i.node),!i.nextSibling())return null==r?o:[]}}function w(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 C extends v{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 C(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,o=i.findChild(this.index+4,i.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return o<0?null:new C(this.context,this,o)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.
vendor: 1,258 bytes, line 1
1index+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 C(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 C(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 o=n.buffer[this.index+1];e.push(n.slice(r,i,o)),t.push(0)}return new g(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function P(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 y&&n.index<0?null:n.parent,i=e.slice();return r?i[t]=r:i.splice(t,1),new $(i,n)}class ${constructor(e,t){this.heads=e,this.node=t}get next(){return P(this.heads)}}class Q{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 y)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;
vendor: 8,557 bytes, line 1
1for(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 y?(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,o=e<0?-1:n._tree.children.length;i!=o;i+=e){let e=n._tree.children[i];if(this.mode&r.IncludeAnonymous||e instanceof O||!e.type.isAnonymous||_(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)l:for(let r=this.index,i=this.stack.length;i>=0;){for(let o=e;o;o=o._parent)if(o.index==r){if(r==this.index)return o;t=o,n=i+1;break l}r=this.stack[--i]}for(let e=n;e<this.stack.length;e++)t=new C(this.buffer,t,this.stack[e]);return this.bufferNode=new C(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 w(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 w(this._tree,e,r);let o=n[t.buffer[this.stack[i]]];if(!o.isAnonymous){if(e[r]&&e[r]!=o.name)return!1;r--}}return!0}}function _(e){return e.children.some(e=>e instanceof O||!e.type.isAnonymous||_(e))}let T=new WeakMap;function A(e,t){if(!e.isAnonymous||t instanceof O||t.type!=e)return 1;let n=T.get(t);if(null==n){for(let r of(n=1,t.children)){if(r.type!=e||!(r instanceof g)){n=1;break}n+=A(e,r)}T.set(t,n)}return n}function E(e,t,n,r,i,o,l,s,a){let u=0;for(let n=r;n<i;n++)u+=A(e,t[n]);let c=Math.ceil(1.5*u/8),h=[],d=[];return!function t(n,r,i,l,s){for(let u=i;u<l;){let i=u,f=r[u],p=A(e,n[u]);for(u++;u<l;u++){let t=A(e,n[u]);if(p+t>=c)break;p+=t}if(u==i+1){if(p>c){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[u-1]+n[u-1].length-f;h.push(E(e,n,r,i,u,f,t,null,a))}d.push(f+s-o)}}(t,n,r,i,0),(s||a)(h,d,l)}class Z{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 C?this.setBuffer(e.context.buffer,e.index,t):e instanceof y&&this.map.set(e.tree,t)}get(e){return e instanceof C?this.getBuffer(e.context.buffer,e.index):e instanceof y?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,o=!1){this.from=e,this.to=t,this.tree=n,this.offset=r,this.open=!!i|2*!!o}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,o=e.length?e[0]:null;for(let l=0,s=0,a=0;;l++){let u=l<t.length?t[l]:null,c=u?u.fromA:1e9;if(c-s>=n)for(;o&&o.from<c;){let t=o;if(s>=t.from||c<=t.to||a){let e=Math.max(t.from,s)-a,n=Math.min(t.to,c)-a;t=e>=n?null:new R(e,n,t.tree,t.offset+a,l>0,!!u)}if(t&&r.push(t),o.to>c)break;o=i<e.length?e[i++]:null}if(!u)break;s=u.toA,a=u.toA-u.toB}return r}}class j{startParse(e,t,n){return"string"==typeof e&&(e=new M(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 M{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 L(e){return(t,n,r,i)=>new D(t,e,n,r,i)}class I{constructor(e,t,n,r,i,o){this.parser=e,this.parse=t,this.overlay=n,this.bracketed=r,this.target=i,this.from=o}}function X(e){if(!e.length||e.some(e=>e.from>=e.to))throw RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))}class N{constructor(e,t,n,r,i,o,l,s){this.parser=e,this.predicate=t,this.mounts=n,this.index=r,this.start=i,this.bracketed=o,this.target=l,this.prev=s,this.depth=0,this.ranges=[]}}let V=new a({perNode:!0});class D{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 g(e.type,e.children,e.positions,e.length,e.propValues.concat([[V,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 u(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 B(this.fragments),t=null,n=null,i=new Q(new y(this.baseTree,this.ranges[0].from,0,null),r.IncludeAnonymous|r.IgnoreMounts);l:for(let r,o;;){let l=!0,a;if(null!=this.stoppedAt&&i.from>=this.stoppedAt)l=!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,o=n.to+e.pos;r>=i.from&&o<=i.to&&!t.ranges.some(e=>e.from<o&&e.to>r)&&t.ranges.push({from:r,to:o})}}l=!1}else if(n&&(o=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}
1(n.ranges,i.from,i.to)))l=2!=o;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,o=i.children.indexOf(r),l=i.children[o],s=l.buffer,a=[o];for(let r of(i.children[o]=function e(r,i,o,u,c,h){let d=n[h],f=[],p=[];z(l,r,d,f,p,u);let m=s[d+1],O=s[d+2];a.push(f.length);let x=h?e(d+4,s[d+3],l.set.types[s[d]],m,O-m,h-1):t.toTree();return f.push(x),p.push(m-u),z(l,s[d+3],i,f,p,u),new g(o,f,p,c)}(0,s.length,h.none,0,l.length,n.length-1),a)){let t=e.tree.children[r],n=e.tree.positions[r];e.yield(new y(t,n+e.from,r,e._tree))}}(i),t&&t.depth++,n&&n.depth++);let o=e.findMounts(i.from,r.parser);if("function"==typeof r.overlay)t=new N(r.parser,r.overlay,o,this.inner.length,i.from,!!r.bracketed,i.tree,t);else{let e=F(this.ranges,r.overlay||(i.from<i.to?[new s(i.from,i.to)]:[]));e.length&&X(e),(e.length||!r.overlay)&&this.inner.push(new I(r.parser,e.length?r.parser.startParse(this.input,Y(o,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}):l=!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(l&&i.firstChild())t&&t.depth++,n&&n.depth++;else for(;!i.nextSibling();){if(!i.parent())break l;if(t&&!--t.depth){let e=F(this.ranges,t.ranges);e.length&&(X(e),this.inner.splice(t.index,0,new I(t.parser,t.parser.startParse(this.input,Y(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 z(e,t,n,r,i,o){if(t<n){let l=e.buffer[t+1];r.push(e.slice(t,n,l)),i.push(l-o)}}class q{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(r.IncludeAnonymous|r.IgnoreMounts|r.ExcludeBuffers)}moveTo(e){let{cursor:t}=this,n=e-this.offset;for(;!this.done&&t.from<n;)if(t.to>=n&&t.enter(n,1,r.IncludeAnonymous|r.IgnoreOverlays|r.ExcludeBuffers));else if(t.to<=n)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 g)t=t.children[0];else break}return!1}}class B{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(V))?t:n.to,this.inner=new q(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(V))?e:t.to,this.inner=new q(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 F(e,t){let n=null,r=t;for(let i=1,o=0;i<e.length;i++){let l=e[i-1].to,a=e[i].from;for(;o<r.length;o++){let e=r[o];if(e.from>=a)break;!(e.to<=l)&&(n||(r=n=t.slice()),e.from<l?(n[o]=new s(e.from,l),e.to>a&&n.splice(o+1,0,new s(a,e.to))):e.to>a?n[o--]=new s(a,e.to):n.splice(o--,1))}}return r}function Y(e,t){let n=[];for(let{pos:r,mount:i,frag:o}of e){let e=r+(i.overlay?i.overlay[0].from:0),l=e+i.tree.length,a=Math.max(o.from,e),u=Math.min(o.to,l);if(i.overlay){let l=function(e,t,n,r){let i=0,o=0,l=!1,a=!1,u=-1e9,c=[];for(;;){let h=i==e.length?1e9:l?e[i].to:e[i].from,d=o==t.length?1e9:a?t[o].to:t[o].from;if(l!=a){let e=Math.max(u,n),t=Math.min(h,d,r);e<t&&c.push(new s(e,t))}if(1e9==(u=Math.min(h,d)))break;h==u&&(l?(l=!1,i++):l=!0),d==u&&(a?(a=!1,o++):a=!0)}return c}(t,i.overlay.map(e=>new s(e.from+r,e.to+r)),a,u);for(let t=0,r=a;;t++){let s=t==l.length,a=s?u:l[t].from;if(a>r&&n.push(new R(r,a,i.tree,-e,o.from>=r||o.openStart,o.to<=a||o.openEnd)),s)break;r=l[t].to}}else n.push(new R(a,u,i.tree,-e,o.from>=e||o.openStart,o.to<=l||o.openEnd))}return n}},45970:(e,t,n)=>{"use strict";n.d(t,{$n:()=>J,bL:()=>H,wv:()=>G,OY:()=>K,sy:()=>ee});var r=n(7620),i=n(3678),o=n(45184),l=n(70488),s=n(54568),a=Object.defineProperty,u=(e,t)=>
1a(e,"name",{value:t,configurable:!0}),c="horizontal",h=["horizontal","vertical"],d=r.forwardRef(u(function(e,t){let{decorative:n,orientation:r=c,...i}=e,o=f(r)?r:c;return(0,s.jsx)(l.sG.div,{"data-orientation":o,...n?{role:"none"}:{"aria-orientation":"vertical"===o?o:void 0,role:"separator"},...i,ref:t})},"Separator"));function f(e){return h.includes(e)}u(f,"isValidOrientation");var p=n(41074),g=n(88932),m=Object.defineProperty,O=r.forwardRef(m(function(e,t){let{pressed:n,defaultPressed:r,onPressedChange:i,...o}=e,[a,u]=(0,g.i)({prop:n,onChange:i,defaultProp:r??!1,caller:"Toggle"});return(0,s.jsx)(l.sG.button,{type:"button","aria-pressed":a,"data-state":a?"on":"off","data-disabled":e.disabled?"":void 0,...o,ref:t,onClick:(0,p.mK)(e.onClick,()=>{e.disabled||u(!a)})})},"name",{value:"Toggle",configurable:!0})),x=n(80792),b=Object.defineProperty,v=(e,t)=>b(e,"name",{value:t,configurable:!0}),y="ToggleGroup",[k,w]=(0,i.A)(y,[o.RG]),S=(0,o.RG)(),C=r.forwardRef(v(function(e,t){let{type:n,...r}=e;if("single"===n)return(0,s.jsx)(Q,{role:"radiogroup",...r,ref:t});if("multiple"===n)return(0,s.jsx)(_,{role:"toolbar",...r,ref:t});throw Error(`Missing prop \`type\` expected on \`${y}\``)},"ToggleGroup")),[P,$]=k(y),Q=r.forwardRef(v(function(e,t){let{value:n,defaultValue:i,onValueChange:o=v(()=>{},"onValueChange"),...l}=e,[a,u]=(0,g.i)({prop:n,defaultProp:i??"",onChange:o,caller:y});return(0,s.jsx)(P,{scope:e.__scopeToggleGroup,type:"single",value:r.useMemo(()=>a?[a]:[],[a]),onItemActivate:u,onItemDeactivate:r.useCallback(()=>u(""),[u]),children:(0,s.jsx)(E,{...l,ref:t})})},"ToggleGroupImplSingle")),_=r.forwardRef(v(function(e,t){let{value:n,defaultValue:i,onValueChange:o=v(()=>{},"onValueChange"),...l}=e,[a,u]=(0,g.i)({prop:n,defaultProp:i??[],onChange:o,caller:y}),c=r.useCallback(e=>u((t=[])=>[...t,e]),[u]),h=r.useCallback(e=>u((t=[])=>t.filter(t=>t!==e)),[u]);return(0,s.jsx)(P,{scope:e.__scopeToggleGroup,type:"multiple",value:a,onItemActivate:c,onItemDeactivate:h,children:(0,s.jsx)(E,{...l,ref:t})})},"ToggleGroupImplMultiple")),[T,A]=k(y),E=r.forwardRef(v(function(e,t){let{__scopeToggleGroup:n,disabled:r=!1,rovingFocus:i=!0,orientation:a,dir:u,loop:c=!0,...h}=e,d=S(n),f=(0,x.jH)(u),p={dir:f,...h};return(0,s.jsx)(T,{scope:n,rovingFocus:i,disabled:r,children:i?(0,s.jsx)(o.bL,{asChild:!0,...d,orientation:a,dir:f,loop:c,children:(0,s.jsx)(l.sG.div,{...p,ref:t})}):(0,s.jsx)(l.sG.div,{...p,ref:t})})},"ToggleGroupImpl")),Z="ToggleGroupItem",R=r.forwardRef(v(function(e,t){let n=$(Z,e.__scopeToggleGroup),i=A(Z,e.__scopeToggleGroup),l=S(e.__scopeToggleGroup),a=n.value.includes(e.value),u=i.disabled||e.disabled,c={...e,pressed:a,disabled:u},h=r.useRef(null);return i.rovingFocus?(0,s.jsx)(o.q7,{asChild:!0,...l,focusable:!u,active:a,ref:h,children:(0,s.jsx)(j,{...c,ref:t})}):(0,s.jsx)(j,{...c,ref:t})},"ToggleGroupItem")),j=r.forwardRef(v(function(e,t){let{__scopeToggleGroup:n,value:r,...i}=e,o=$(Z,n),l={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},a="single"===o.type?l:void 0;return(0,s.jsx)(O,{...a,...i,ref:t,onPressedChange:e=>{e?o.onItemActivate(r):o.onItemDeactivate(r)}})},"ToggleGroupItemImpl")),M=Object.defineProperty,L=(e,t)=>M(e,"name",{value:t,configurable:!0}),I="Toolbar",[X,N]=(0,i.A)(I,[o.RG,w]),V=(0,o.RG)(),D=w(),[z,q]=X(I),B=r.forwardRef(L(function(e,t){let{__scopeToolbar:n,orientation:r="horizontal",dir:i,loop:a=!0,...u}=e,c=V(n),h=(0,x.jH)(i);return(0,s.jsx)(z,{scope:n,orientation:r,dir:h,children:(0,s.jsx)(o.bL,{asChild:!0,...c,orientation:r,dir:h,loop:a,children:(0,s.jsx)(l.sG.div,{role:"toolbar","aria-orientation":r,dir:h,...u,ref:t})})})},"Toolbar")),F=r.forwardRef(L(function(e,t){let{__scopeToolbar:n,...r}=e,i=q("ToolbarSeparator",n);return(0,s.jsx)(d,{orientation:"horizontal"===i.orientation?"vertical":"horizontal",...r,ref:t})},"ToolbarSeparator")),Y=r.forwardRef(L(function(e,t){let{__scopeToolbar:n,...r}=e,i=V(n);return(0,s.jsx)(o.q7,{asChild:!0,...i,focusable:!e.disabled,children:(0,s.jsx)(l.sG.button,{type:"button",...r,ref:t})})},"ToolbarButton")),U=r.forwardRef(L(function(e,t){let{__scopeToolbar:n,...r}=e,i=q("ToolbarToggleGroup",n),o=D(n);return(0,s.jsx)(C,{"data-orientation":i.orientation,dir:i.dir,...o,...r,ref:t,rovingFocus:!1})},"ToolbarToggleGroup")),W=r.forwardRef(L(function(e,t){let{__scopeToolbar:n,...r}=e,i=D(n),o={__scopeToolbar:e.__scopeToolbar};return(0,s.jsx)(Y,{asChild:!0,...o,children:(0,s.jsx)(R,{...i,...r,ref:t})})},"ToolbarToggleItem")),H=B,G=F,J=Y,K=U,ee=W}
1,46612:(e,t,n)=>{"use strict";n.d(t,{vk:()=>h,oe:()=>d,Sd:()=>c});var r=n(31250);let i={testLexicalNode:r.zW,visitLexicalNode:({lexicalNode:e,actions:t})=>{t.addAndStepInto("code",{value:e.getCode(),lang:e.getLanguage(),meta:e.getMeta()})}};var o=n(87539);let l={testNode:(e,{codeBlockEditorDescriptors:t,defaultCodeBlockLanguage:n})=>"code"===e.type&&void 0!==(0,o.H)(t,e.lang,e.meta,n),visitNode({mdastNode:e,actions:t}){t.addAndStepInto((0,r.ni)({code:e.value,language:e.lang??"",meta:e.meta??""}))}};var s=n(60554),a=n(6353),u=n(17705);let c=(0,a.HN)(e=>{e.link(e.pipe(c,(0,a.EY)(s.uf),(0,a.Tj)(([e,t])=>()=>(0,r.ni)({language:t,...e}))),s.p3)}),h=(0,s.w8)(s.Wd),d=(0,u.Z)({update(e,t){e.pub(s.uf,(null==t?void 0:t.defaultCodeBlockLanguage)??"")},init(e,t){e.pubIn({[s.$0]:"codeblock",[s.uf]:(null==t?void 0:t.defaultCodeBlockLanguage)??"",[s.Wd]:(null==t?void 0:t.codeBlockEditorDescriptors)??[],[s.R1]:l,[s.q]:r.Vy,[s.iI]:i})}})},46748:(e,t,n)=>{"use strict";n.d(t,{Oh:()=>a});var r=n(7620),i=Object.defineProperty,o=(e,t)=>i(e,"name",{value:t,configurable:!0}),l=0,s=null;function a(){r.useEffect(()=>{s||(s={start:u(),end:u()});let{start:e,end:t}=s;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),l++,()=>{1===l&&(s?.start.remove(),s?.end.remove(),s=null),l=Math.max(0,l-1)}},[])}function u(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}o(function(e){return a(),e.children},"FocusGuards"),o(a,"useFocusGuards"),o(u,"createFocusGuard")},47349:(e,t,n)=>{"use strict";n.d(t,{$:()=>b});var r=n(62147),i=n(7620),o=n(26874);let l=o.qxK?i.useLayoutEffect:i.useEffect;function s(e){return{initialValueFn:()=>e.isEditable(),subscribe:t=>e.registerEditableListener(t)}}var a=n(16729),u=n(86645),c=n(97509),h=n(54568),d=n(56639),f=n(62123),p=n(73104);let g=o.qxK?i.useLayoutEffect:i.useEffect;function m({editor:e,ErrorBoundary:t}){return function(e,t){let[n,r]=(0,i.useState)(()=>e.getDecorators());return g(()=>e.registerDecoratorListener(e=>{(0,c.flushSync)(()=>{r(e)})}),[e]),(0,i.useEffect)(()=>{r(e.getDecorators())},[e]),(0,i.useMemo)(()=>{let r=[],o=Object.keys(n);for(let l=0;l<o.length;l++){let s=o[l],a=(0,h.jsx)(t,{onError:t=>e._onError(t),children:(0,h.jsx)(i.Suspense,{fallback:null,children:n[s]})}),u=e.getElementByKey(s);null!==u&&r.push((0,c.createPortal)(a,u,s))}return r},[t,n,e])}(e,t)}function O({editor:e,ErrorBoundary:t}){return!function(e){let t=a.iZ.maybeFromEditor(e);if(t&&t.hasExtensionByName(u.m.name)){for(let e of["@lexical/plain-text","@lexical/rich-text"])t.hasExtensionByName(e)&&function(...e){let t=new URL("https://lexical.dev/docs/error"),n=new URLSearchParams;for(let t of(n.append("code",320),e))n.append("v",t);throw t.search=n.toString(),Error(`Minified Lexical error #320; visit ${t.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(e);return!0}return!1}(e)?(0,h.jsx)(m,{editor:e,ErrorBoundary:t}):null}function x(e){return e.read("latest",(0,d.yl)(e.isComposing()))}function b({contentEditable:e,placeholder:t=null,ErrorBoundary:n}){var i;let[l]=(0,r.DF)();return g(()=>(0,o.Sdt)((0,p.ZI)(i),(0,f.Ug)(i)),[i=l]),(0,h.jsxs)(h.Fragment,{children:[e,(0,h.jsx)(v,{content:t}),(0,h.jsx)(O,{editor:l,ErrorBoundary:n})]})}function v({content:e}){let[t]=(0,r.DF)(),n=function(e){let[t,n]=(0,i.useState)(()=>x(e));return g(()=>{function t(){n(x(e))}return t(),(0,o.Sdt)(e.registerUpdateListener(()=>{t()}),e.registerEditableListener(()=>{t()}))},[e]),t}(t),a=function(e){let[t]=(0,r.DF)(),n=(0,i.useMemo)(()=>e(t),[t,e]),[o,s]=(0,i.useState)(()=>n.initialValueFn()),a=(0,i.useRef)(o);return l(()=>{let{initialValueFn:e,subscribe:t}=n,r=e();return a.current!==r&&(a.current=r,s(r)),t(e=>{a.current=e,s(e)})},[n,e]),o}(s);return n?"function"==typeof e?e(a):e:null}},48493:e=>{var t;function n(e){for(var t,n,r,i,o=1,l=[].slice.call(arguments),s=0,a=e.length,u="",c=!1,h=!1,d=function(){return l[o++]};s<a;++s)if(t=e[s],c)switch(c=!1,"."==t?(h=!1,t=e[++s]):"0"==t&&"."==e[s+1]?(h=!0,s+=2,t=e[
1s]):h=!0,i=function(){for(var n="";/\d/.test(e[s]);)n+=e[s++],t=e[s];return n.length>0?parseInt(n):null}(),t){case"b":u+=parseInt(d(),10).toString(2);break;case"c":"string"==typeof(n=d())||n instanceof String?u+=n:u+=String.fromCharCode(parseInt(n,10));break;case"d":u+=parseInt(d(),10);break;case"f":r=String(parseFloat(d()).toFixed(i||6)),u+=h?r:r.replace(/^0/,"");break;case"j":u+=JSON.stringify(d());break;case"o":u+="0"+parseInt(d(),10).toString(8);break;case"s":u+=d();break;case"x":u+="0x"+parseInt(d(),10).toString(16);break;case"X":u+="0x"+parseInt(d(),10).toString(16).toUpperCase();break;default:u+=t}else"%"===t?c=!0:u+=t;return u}(t=e.exports=n).format=n,t.vsprintf=function(e,t){return n.apply(null,[e].concat(t))},"u">typeof console&&"function"==typeof console.log&&(t.printf=function(){console.log(n.apply(null,arguments))})},48923:(e,t,n)=>{"use strict";let r;n.d(t,{l:()=>v,Z:()=>y});let i=/["&'<>`]/g,o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,s=/[|\\{}()[\]^$+*?.]/g,a=new WeakMap;function u(e,t){var n;let r;if(e=e.replace(t.subset?(n=t.subset,(r=a.get(n))||(r=function(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(s,"\\$&"));return RegExp("(?:"+t.join("|")+")","g")}(n),a.set(n,r)),r):i,u),t.subset||t.escapeOnly)return e;return e.replace(o,function(e,n,r){return t.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)}).replace(l,u);function u(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}let c=/[\dA-Fa-f]/,h=/\d/;var d=n(96020);let f={nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",fnof:"Æ",Alpha:"Î",Beta:"Î",Gamma:"Î",Delta:"Î",Epsilon:"Î",Zeta:"Î",Eta:"Î",Theta:"Î",Iota:"Î",Kappa:"Î",Lambda:"Î",Mu:"Î",Nu:"Î",Xi:"Î",Omicron:"Î",Pi:"Î ",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Î¥",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"Ï",rho:"Ï",sigmaf:"Ï",sigma:"Ï",tau:"Ï",upsilon:"Ï
",phi:"Ï",chi:"Ï",psi:"Ï",omega:"Ï",thetasym:"Ï",upsih:"Ï",piv:"Ï",bull:"â¢",hellip:"â¦",prime:"â²",Prime:"â³",oline:"â¾",frasl:"â",weierp:"â",image:"â",real:"â",trade:"â¢",alefsym:"âµ",larr:"â",uarr:"â",rarr:"â",darr:"â",harr:"â",crarr:"âµ",lArr:"â",uArr:"â",rArr:"â",dArr:"â",hArr:"â",forall:"â",part:"â",exist:"â",empty:"â
",nabla:"â",isin:"â",notin:"â",ni:"â",prod:"â",sum:"â",minus:"â",lowast:"â",radic:"â",prop:"â",infin:"â",ang:"â ",and:"â§",or:"â¨",cap:"â©",cup:"âª",int:"â«",there4:"â´",sim:"â¼",cong:"â
",asymp:"â",ne:"â ",equiv:"â¡",le:"â¤",ge:"â¥",sub:"â",sup:"â",nsub
1:"â",sube:"â",supe:"â",oplus:"â",otimes:"â",perp:"â¥",sdot:"â
",lceil:"â",rceil:"â",lfloor:"â",rfloor:"â",lang:"â©",rang:"âª",loz:"â",spades:"â ",clubs:"â£",hearts:"â¥",diams:"â¦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Å",oelig:"Å",Scaron:"Å ",scaron:"Å¡",Yuml:"Ÿ",circ:"Ë",tilde:"Ë",ensp:"â",emsp:"â",thinsp:"â",zwnj:"â",zwj:"â",lrm:"â",rlm:"â",ndash:"â",mdash:"â",lsquo:"â",rsquo:"â",sbquo:"â",ldquo:"â",rdquo:"â",bdquo:"â",dagger:"â ",Dagger:"â¡",permil:"â°",lsaquo:"â¹",rsaquo:"âº",euro:"â¬"},p=["cent","copy","divide","gt","lt","not","para","times"],g={}.hasOwnProperty,m={};for(r in f)g.call(f,r)&&(m[f[r]]=r);let O=/[^\dA-Za-z]/;function x(e,t,n){var r,i;let o,l,s=(r=n.omitOptionalSemicolons,o="&#x"+e.toString(16).toUpperCase(),r&&t&&!c.test(String.fromCharCode(t))?o:o+";");if((n.useNamedReferences||n.useShortestReferences)&&(l=function(e,t,n,r){let i=String.fromCharCode(e);if(g.call(m,i)){let e=m[i],o="&"+e;return n&&d.K.includes(e)&&!p.includes(e)&&(!r||t&&61!==t&&O.test(String.fromCharCode(t)))?o:o+";"}return""}(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!l)&&n.useShortestReferences){let r,o=(i=n.omitOptionalSemicolons,r="&#"+String(e),i&&t&&!h.test(String.fromCharCode(t))?r:r+";");o.length<s.length&&(s=o)}return l&&(!n.useShortestReferences||l.length<s.length)?l:s}function b(e){return"&#x"+e.toString(16).toUpperCase()+";"}function v(e,t){return u(e,Object.assign({format:x},t))}function y(e,t){return u(e,Object.assign({format:b},t))}},50345:(e,t,n)=>{"use strict";n.r(t),n.d(t,{autoCloseTags:()=>eu,html:()=>es,htmlCompletionSource:()=>ee,htmlCompletionSourceWith:()=>et,htmlLanguage:()=>el});var r=n(90135),i=n(13051),o=n(44602);let l={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},s={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},a={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}},u=null,c=null,h=0;function d(e,t){var n;let r=e.pos+t;if(h==r&&c==e)return u;let i=e.peek(t),o="";for(;45==(n=i)||46==n||58==n||n>=65&&n<=90||95==n||n>=97&&n<=122||n>=161;)o+=String.fromCharCode(i),i=e.peek(++t);return c=e,h=r,u=o?o.toLowerCase():i==f||i==p?void 0:null}let f=63,p=33;function g(e,t){this.name=e,this.parent=t}let m=[6,10,7,8,9],O=new r.Aj({start:null,shift:(e,t,n,r)=>m.indexOf(t)>-1?new g(d(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 g(d(r,1)||"",e):e},strict:!1}),x=new r.Lu((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=d(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&&s[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(l.hasOwnProperty(r))return e.acceptToken(10);i&&a[i]&&a[i][r]?e.acceptToken(58,-1):e.acceptToken(6)}},{contextual:!0}),b=new r.Lu(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()}}),v=new r.Lu((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 y(e,t,n){let i=2+e.length;return new r.Lu(r=>{for(let o=0,l=0,s=0;;s++){if(r.next<0){s&&r.acceptToken(t);break}if(0==o&&60==r.next||1==o&&47==r.next||o>=2&&o<i&&r.next==e.charCodeAt(o-2))o++,l++;else if(o==i&&62==r.next){s>l?r.acceptToken(t,-l):r.acceptToken(n,-(l-2));break}else if((10==r.next||13==r.next)&&s){r.acceptToken(t,1);break}else o=l=0;r.advance()}})}let k=y("script",55,1),w=y("style",56,2),S=y("textarea",57,3),C=(0,i.pn)({"Text RawText IncompleteTag IncompleteCloseTag":i._A.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":i._A.angleBracket,TagName:i._A.tagName,"MismatchedCloseTag/TagName":[i._A.tagName,i._A.invali
1d],AttributeName:i._A.attributeName,"AttributeValue UnquotedAttributeValue":i._A.attributeValue,Is:i._A.definitionOperator,"EntityReference CharacterReference":i._A.character,Comment:i._A.blockComment,ProcessingInst:i._A.processingInstruction,DoctypeDecl:i._A.documentMeta}),P=r.U1.deserialize({version:14,states:",xOVO!rOOO!ZQ#tO'#CrO!`Q#tO'#C{O!eQ#tO'#DOO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[]O][O^^O_^Oa^Ob^Oc^Od^Oy^O|_O!eZO~OgaO~OgbO~OgcO~OgdO~OgeO~O!XfOPmP![mP~O!YiOQpP![pP~O!ZlORsP![sP~OUSOVPOWQOXROYTOZqO[]O][O^^O_^Oa^Ob^Oc^Od^Oy^O!eZO~O![rO~P#gO!]sO!fuO~OgvO~OgwO~OS|OT}OiyO~OS!POT}OiyO~OS!ROT}OiyO~OS!TOT}OiyO~OS}OT}OiyO~O!XfOPmX![mX~OP!WO![!XO~O!YiOQpX![pX~OQ!ZO![!XO~O!ZlORsX![sX~OR!]O![!XO~O![!XO~P#gOg!_O~O!]sO!f!aO~OS!bO~OS!cO~Oj!dOShXThXihX~OS!fOT!gOiyO~OS!hOT!gOiyO~OS!iOT!gOiyO~OS!jOT!gOiyO~OS!gOT!gOiyO~Og!kO~Og!lO~Og!mO~OS!nO~Ol!qO!a!oO!c!pO~OS!rO~OS!sO~OS!tO~Ob!uOc!uOd!uO!a!wO!b!uO~Ob!xOc!xOd!xO!c!wO!d!xO~Ob!uOc!uOd!uO!a!{O!b!uO~Ob!xOc!xOd!xO!c!{O!d!xO~OT~cbd!ey|!e~",goto:"%q!aPPPPPPPPPPPPPPPPPPPPP!b!hP!nPP!zP!}#Q#T#Z#^#a#g#j#m#s#y!bP!b!bP$P$V$m$s$y%P%V%]%cPPPPPPPP%iX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!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:O,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,22,31,34,37,"CloseTag"],["o
1penedBy",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:[C],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$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!R&bXaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UVaP!dpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}P'pTaPOv'kw!^'k!_;'S'k;'S;=`(P<%lO'kP(SP;=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*s<%lO*V!R!4{Y!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!dpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOyPP!7TP;=`<%l!6Vq!7]V!dpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!dpyPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!b`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!b`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!b`yPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!b`!dpyPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXjSaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[k,w,S,v,x,b,0,1,2,3,4,5],topRules:{Document:[0,16]},dialects:{noMatch:0,selfClosing:515},tokenPrec:517});function $(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 Q(e,t){let n=e.getChild(23);return n?t.read(n.from,n.to):" "}function _(e,t,n){let r;for(let i of n)if(!i.attrs||i.attrs(r||(r=$(e.node.parent.firstChild,t))))return{parser:i.parser,bracketed:!0};return null}function T(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 s=t.length?Object.create(null):null;for(let e of t)(s[e.name]||(s[e.name]=[])).push(e);return(0,o.$g)((e,t)=>{let o=e.type.id;if(29==o)return _(e,t,n);if(32==o)return _(e,t,r);if(35==o)return _(e,t,i);if(21==o&&l.length){let n=e.node,r=n.firstChild,i=r&&Q(r,t),o;if(i){for(let e of l)if(e.tag==i&&(!e.attrs||e.attrs(o||(o=$(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(s&&24==o){let n=e.node,r;if(r=n.firstChild){let e=s[t.read(r.from,r.to)];if(e)for(let r of e){if(r.tagName&&r.tagName!=Q(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})}var A=n(206),E=n(9864),Z=n(95980),R=n(25263),j=n(52923);let M=["_blank","_self","_top","_parent"],L=["ascii","utf-8","utf-16","latin1","latin1"],I=["get","post","put","delete"],X=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],N=["true","false"],V={},D={a:{attrs:{href:null,ping:null,type:null,media:null,target:M,hreflang:null}},abbr:V,address:V,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:V,aside:V,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:V,base:{attrs:{href:null,target:M}},bdi:V,bdo:V,blockquote:{attrs:{cite:null}},body:V,br:V,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:X,formmethod:I,formnovalidate:["novalidate"],formtarget:M,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:V,center:V,cite:V,code:V,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:V,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:V,div:V,dl:V,dt:V,em:V,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:V,figure:V,footer:V,form:{attrs:{action:null,name:null,"accept-charset":L,autocomplete:["on","off"],enctype:X,method:I,novalidate:["novalidate"],target:M}},h1:V,h2:V,h3:V,h4:V,h5:V,h6:V,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:V,hgroup:V,hr:V,html:{attrs:{manifest:null}}
vendor: 5,521 bytes, line 1
1,i:V,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:X,formmethod:I,formnovalidate:["novalidate"],formtarget:M,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:V,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:V,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:V,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:L,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:V,noscript:V,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:V,param:{attrs:{name:null,value:null}},pre:V,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:V,rt:V,ruby:V,samp:V,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:L}},section:V,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:V,source:{attrs:{src:null,type:null,media:null}},span:V,strong:V,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:V,summary:V,sup:V,table:V,tbody:V,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:V,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:V,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:V,time:{attrs:{datetime:null}},title:V,tr:V,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:V,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:V},z={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},q="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".
1split(" ").map(e=>"on"+e);for(let e of q)z[e]=null;class B{constructor(e,t){this.tags={...D,...e},this.globalAttrs={...z,...t},this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}function F(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 Y(e,t=!1){for(;e;e=e.parent)if("Element"==e.name)if(!t)return e;else t=!1;return null}function U(e,t,n){let r=n.tags[F(e,Y(t))];return(null==r?void 0:r.children)||n.allTags}function W(e,t){let n=[];for(let r=Y(t);r&&!r.type.isTop;r=Y(r.parent)){let i=F(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}B.default=new B;let H=/^[:\-\.\w\u00b7-\uffff]*$/;function G(e,t,n,r,i){let o=/\s*>/.test(e.sliceDoc(i,i+5))?"":">",l=Y(n,"StartTag"==n.name||"TagName"==n.name);return{from:r,to:i,options:U(e.doc,l,t).map(e=>({label:e,type:"type"})).concat(W(e.doc,n).map((e,t)=>({label:"/"+e,apply:"/"+e+o,type:"type",boost:99-t}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function J(e,t,n,r){let i=/\s*>/.test(e.sliceDoc(r,r+5))?"":">";return{from:n,to:r,options:W(e.doc,t).map((e,t)=>({label:e,apply:e+i,type:"type",boost:99-t})),validFor:H}}function K(e,t){let{state:n,pos:r}=t,i=(0,j.mv)(n).resolveInner(r,-1),o=i.resolve(r);for(let e=r,t;o==i&&(t=i.childBefore(e));){let n=t.lastChild;if(!n||!n.type.isError||n.from<n.to)break;o=i=t,e=n.from}if("TagName"==i.name)return i.parent&&/CloseTag$/.test(i.parent.name)?J(n,i,i.from,r):G(n,e,i,i.from,r);if("StartTag"==i.name||"IncompleteTag"==i.name)return G(n,e,i,r,r);if("StartCloseTag"==i.name||"IncompleteCloseTag"==i.name)return J(n,i,r,r);if("OpenTag"==i.name||"SelfClosingTag"==i.name||"AttributeName"==i.name){var l,s;let t,o,a;return l=i,s="AttributeName"==i.name?i.from:r,a=(o=(t=Y(l))?e.tags[F(n.doc,t)]:null)&&o.attrs?Object.keys(o.attrs):[],{from:s,to:r,options:(o&&!1===o.globalAttrs?a:a.length?a.concat(e.globalAttrNames):e.globalAttrNames).map(e=>({label:e,type:"property"})),validFor:H}}{if("Is"==i.name||"AttributeValue"==i.name||"UnquotedAttributeValue"==i.name)return function(e,t,n,r,i){var o;let l=null==(o=n.parent)?void 0:o.getChild("AttributeName"),s=[],a;if(l){let o=e.sliceDoc(l.from,l.to),u=t.globalAttrs[o];if(!u){let r=Y(n),i=r?t.tags[F(e.doc,r)]:null;u=(null==i?void 0:i.attrs)&&i.attrs[o]}if(u){let t=e.sliceDoc(r,i).toLowerCase(),n='"',o='"';for(let l of(/^['"]/.test(t)?(a='"'==t[0]?/^[^"]*$/:/^[^']*$/,n="",o=e.sliceDoc(i,i+1)==t[0]?"":t[0],t=t.slice(1),r++):a=/^[^\s<>='"]*$/,u))s.push({label:l,apply:n+l+o,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"!=o.name&&"Text"!=o.name&&"Document"!=o.name)return null;var a=i;let l=[],s=0;for(let t of U(n.doc,a,e))l.push({label:"<"+t,type:"type"});for(let e of W(n.doc,a))l.push({label:"</"+e+">",type:"type",boost:99-s++});return{from:r,to:r,options:l,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}}function ee(e){return K(B.default,e)}function et(e){let{extraTags:t,extraGlobalAttributes:n}=e,r=n||t?new B(t,n):B.default;return e=>K(r,e)}let en=E.javascriptLanguage.parser.configure({top:"SingleExpression"}),er=[{tag:"script",attrs:e=>"text/typescript"==e.type||"ts"==e.lang,parser:E.typescriptLanguage.parser},{tag:"script",attrs:e=>"text/babel"==e.type||"text/jsx"==e.type,parser:E.jsxLanguage.parser},{tag:"script",attrs:e=>"text/typescript-jsx"==e.type,parser:E.tsxLanguage.parser},{tag:"script",attrs:e=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type),parser:en},{tag:"script",attrs:e=>!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type),parser:E.javascriptLanguage.parser},{tag:"style",attrs:e=>(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type)),parser:A.cssLanguage.parser}],ei=[{name:"style",parser:A.cssLanguage.parser.configure({top:"Styles"})}].concat(q.map(e=>({name:e,parser:E.javascriptLanguage.parser}))),eo=j.bj.define({name:"html",parser:P.configure({props:[j.Oh.add({Element(e){let t=/^(\s*)(<\/)?/.exec(e.textAfter);
1return 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}}),j.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}}),j.Q_.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-_"}}),el=eo.configure({wrap:T(er,ei)});function es(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=T((e.nestedLanguages||[]).concat(er),(e.nestedAttributes||[]).concat(ei)));let r=n?eo.configure({wrap:n,dialect:t}):t?el.configure({dialect:t}):el;return new j.Yy(r,[el.data.of({autocomplete:et(e)}),!1!==e.autoCloseTags?eu:[],(0,E.javascript)().support,(0,A.css)().support])}let ea=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),eu=Z.Lz.inputHandler.of((e,t,n,r,i)=>{if(e.composing||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!el.isActiveAt(e.state,t,-1))return!1;let o=i(),{state:l}=o,s=l.changeByRange(e=>{var t;let n=l.doc.sliceString(e.from-1,e.to)==r,{head:i}=e,o=(0,j.mv)(l).resolveInner(i,-1),s;if(n&&">"==r&&"EndTag"==o.name){let t=o.parent;if((s=F(l.doc,t.parent,i))&&!ea.has(s)&&!function(e,t,n){for(var r;;){if((null==(r=t.lastChild)?void 0:r.name)!="CloseTag")return!1;let i=t.parent;if(!i||F(e,i)!=n)return!0;t=i}}(l.doc,t.parent,s)){let t=i+ +(">"===l.doc.sliceString(i,i+1));return{range:e,changes:{from:i,to:t,insert:`</${s}>`}}}}else if(n&&"/"==r&&"IncompleteCloseTag"==o.name){let e=o.parent;if(o.from==i-2&&(null==(t=e.lastChild)?void 0:t.name)!="CloseTag"&&(s=F(l.doc,e,i))&&!ea.has(s)){let e=i+ +(">"===l.doc.sliceString(i,i+1)),t=`${s}>`;return{range:R.OF.cursor(i+t.length,-1),changes:{from:i,to:e,insert:t}}}}return{range:e}});return!s.changes.empty&&(e.dispatch([o,l.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)})},51124:(e,t,n)=>{e.exports=n(78368)()},51795:(e,t,n)=>{"use strict";n.d(t,{K:()=>a});var r=n(60554),i=n(6353),o=n(7620),l=n(41340),s=n(10391);let a=({children:e,SourceToolbar:t,options:n=["rich-text","diff","source"]})=>{let[a,u]=(0,i.uX)(r.n$,r.yr),c=(0,i.qM)(r.n$),h=(0,r.Bd)(),d=[];return n.includes("rich-text")&&d.push({title:h("toolbar.richText","Rich text"),contents:u("rich_text"),value:"rich-text"}),n.includes("diff")&&d.push({title:h("toolbar.diffMode","Diff mode"),contents:u("difference"),value:"diff"}),n.includes("source")&&d.push({title:h("toolbar.source","Source mode"),contents:u("markdown"),value:"source"}),o.createElement(o.Fragment,null,"rich-text"===a?e:"diff"===a?o.createElement("span",{className:l.Ay.toolbarTitleMode},h("toolbar.diffMode","Diff mode")):t??o.createElement("span",{className:l.Ay.toolbarTitleMode},h("toolbar.source","Source mode")),o.createElement("div",{className:l.Ay.diffSourceToggleWrapper},o.createElement(s.fp,{className:l.Ay.diffSourceToggle,ggClassName:l.Ay.ggDiffSourceToggle,value:a,items:d,onChange:e=>{c(""===e?"rich-text":e)}})))}},52923:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>L,BH:()=>S,EI:()=>T,GY:()=>eO,KB:()=>E,Lv:()=>ec,Oh:()=>Z,Q0:()=>h,Q_:()=>eT,SG:()=>e_,TM:()=>d,Tg:()=>eI,WD:()=>V,Xt:()=>Q,Yy:()=>C,Zt:()=>ev,_Y:()=>X,_v:()=>A,b_:()=>z,bj:()=>p,cr:()=>ed,f7:()=>et,iB:()=>u,jU:()=>eZ,mv:()=>g,mz:()=>N,nq:()=>x,p9:()=>c,t:()=>D,t$:()=>P,tp:()=>_,y9:()=>em,yd:()=>q});var r,i=n(44602),o=n(25263),l=n(95980),s=n(13051),a=n(43746);let u=new i.uY;function c(e){return o.sj.define({combine:e?t=>t.concat(e):void 0})}let h=new i.uY;class d{constructor(e,t,n=[],r=""){this.data=e,this.name=r,o.$t.prototype.hasOwnProperty("tree")||Object.defineProperty(o.$t.prototype,"tree",{get(){return g(this)}}),this.parser=t,this.extension=[S.of(this),o.$t.languageData.of((e,t,n)=>{let r=f(e,t,n),i=r.type.prop(u);if(!i)return[];let o=e.facet(i),l=r.type.prop(h);if(l){let i=r.resolve(t-r.from,n);for(let t of l)if(t.test(i,e)){let n=e.facet(t.facet);return"replace"==t.type?n:n.concat(o)}}return o}
vendor: 6,320 bytes, line 1
1)].concat(n)}isActiveAt(e,t,n=-1){return f(e,t,n).type.prop(u)==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(u)==this.data)return void n.push({from:t,to:t+e.length});let o=e.prop(i.uY.mounted);if(o){if(o.tree.prop(u)==this.data){if(o.overlay)for(let e of o.overlay)n.push({from:e.from+t,to:e.to+t});else n.push({from:t,to:t+e.length});return}else if(o.overlay){let e=n.length;if(r(o.tree,o.overlay[0].from+t),n.length>e)return}}for(let n=0;n<e.children.length;n++){let o=e.children[n];o instanceof i.PH&&r(o,e.positions[n]+t)}};return r(g(e),0),n}get allowsNesting(){return!0}}function f(e,t,n){let r=e.facet(S),o=g(e).topNode;if(!r||r.allowsNesting)for(let e=o;e;e=e.enter(t,n,i.Qj.ExcludeBuffers|i.Qj.EnterBracketed))e.type.isTop&&(o=e);return o}d.setState=o.Pe.define();class p extends d{constructor(e,t,n){super(e,t,[],n),this.parser=t}static define(e){let t=c(e.languageData);return new p(t,e.parser.configure({props:[u.add(e=>e.isTop?t:void 0)]}),e.name)}configure(e,t){return new p(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function g(e){let t=e.field(d.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 O=null;class x{constructor(e,t,n=[],r,i,o,l,s){this.parser=e,this.state=t,this.fragments=n,this.tree=r,this.treeLen=i,this.viewport=o,this.skipped=l,this.scheduleOn=s,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new x(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=O;O=this;try{return e()}finally{O=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=b(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:r,treeLen:o,viewport:l,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,o=0,l={from:e.mapPos(l.from,-1),to:e.mapPos(l.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 x(this.parser,t,n,r,o,l,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=b(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 o=r[0].from,l=r[r.length-1].to;return{parsedPos:o,advance(){let t=O;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=l,new i.PH(i.Z6.none,[],[],l-o)},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 O}}function b(e,t,n){return i.rr.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}class v{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 v(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=x.create(e.facet(S).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new v(n)}}d.state=o.sU.define({create:v.init,update(e,t){for(let e of t.effects)if(e.is(d.setState))return e.value;return t.startState.facet(S)!=t.state.facet(S)?v.init(t.state):e.apply(t)}});let y=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};"u">typeof requestIdleCallback&&(y=e=>{let t=-1,n=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)});let k="u">typeof navigator&&(null==(r=navigator.scheduling)?void 0:r.isInputPending)?()=>navigator.scheduling.isInputPending():null,w=l.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(d.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(d.state);
1t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=y(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(d.state);if(i.tree==i.context.tree&&i.context.isDone(r+1e5))return;let o=Date.now()+Math.min(this.chunkBudget,100,e&&!k?Math.max(25,e.timeRemaining()-5):1e9),l=i.context.treeLen<r&&n.doc.length>r+1e3,s=i.context.work(()=>k&&k()||Date.now()>o,r+1e5*!l);this.chunkBudget-=Date.now()-t,(s||this.chunkBudget<=0)&&(i.context.takeTree(),this.view.dispatch({effects:d.setState.of(new v(i.context))})),this.chunkBudget>0&&!(s&&!l)&&this.scheduleWork(),this.checkAsyncSchedule(i.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(e=>(0,l.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=o.sj.define({combine:e=>e.length?e[0]:null,enables:e=>[d.state,w,l.Lz.contentAttributes.compute([e],t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}})]});class C{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}class P{constructor(e,t,n,r,i,o){this.name=e,this.alias=t,this.extensions=n,this.filename=r,this.loadFunc=i,this.support=o,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 P(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 $=o.sj.define(),Q=o.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 _(e){let t=e.facet(Q);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function T(e,t){let n="",r=e.tabSize,i=e.facet(Q)[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 o.$t&&(e=new E(e)),e.state.facet($))){let r=n(e,t);if(void 0!==r)return r}let n=g(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 E{constructor(e,t={}){this.state=e,this.options=t,this.unit=_(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),o=this.options.overrideIndentation?this.options.overrideIndentation(r):-1;return o>-1&&(i+=o-this.countColumn(n,n.search(/\S|$/))),i}countColumn(e,t=e.length){return(0,o.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 Z=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(Z);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=>I(e,!0,1,void 0,n&&!(e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak)?t.from:void 0)}return null==e.parent?j:null}
1(r.node);if(e)return e(M.create(t,n,r))}return 0}function j(){return 0}class M extends E{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 M(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 L({closing:e,align:t=!0,units:n=1}){return r=>I(r,t,n,e)}function I(e,t,n,r,i){let o=e.textAfter,l=o.match(/^\s*/)[0].length,s=r&&o.slice(l,l+r.length)==r||i==e.pos+l,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,o=e.state.doc.lineAt(n.from),l=null==i||i<=o.from?o.to:Math.min(o.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>=l)return null;let e=/^ */.exec(o.text.slice(n.to-o.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 X=e=>e.baseIndent;function N({except:e,units:t=1}={}){return n=>{let r=e&&e.test(n.textAfter);return n.baseIndent+(r?0:t*n.unit)}}function V(){return o.$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 o=n.sliceString(i.from,r);if(!t.some(e=>e.test(o)))return e;let{state:l}=e,s=-1,a=[];for(let{head:e}of l.selection.ranges){let t=l.doc.lineAt(e);if(t.from==s)continue;s=t.from;let n=A(l,t.from);if(null==n)continue;let r=/^\s*/.exec(t.text)[0],i=T(l,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 D=o.sj.define(),z=new i.uY;function q(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 B(e,t,n){for(let r of e.facet(D)){let i=r(e,t,n);if(i)return i}return function(e,t,n){let r=g(e);if(r.length<n)return null;let i=r.resolveStack(n,1),o=null;for(let l=i;l;l=l.next){let i=l.node;if(i.to<=n||i.from>n)continue;if(o&&i.from<t)break;let s=i.type.prop(z);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&&(o=r)}}return o}(e,t,n)}function F(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 Y=o.Pe.define({map:F}),U=o.Pe.define({map:F});function W(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 H=o.sU.define({create:()=>l.NZ.none,update(e,t){t.isUserEvent("delete")&&t.changes.iterChangedRanges((t,n)=>e=G(e,t,n)),e=e.map(t.changes);let n=[];for(let r of t.effects)r.is(Y)&&!function(e,t,n){let r=!1;return e.between(t,t,(e,i)=>{e==t&&i==n&&(r=!0)}),r}(e,r.value.from,r.value.to)?n.push(r.value):r.is(U)&&(e=e.update({filter:(e,t)=>r.value.from!=e||r.value.to!=t,filterFrom:r.value.from,filterTo:r.value.to}));if(n.length){let{preparePlaceholder:r}=t.state.facet(er),i=n.map(e=>(r?l.NZ.replace({widget:new es(r(t.state,e))}):el).range(e.from,e.to));e=e.update({add:i})}return t.selection&&(e=G(e,t.selection.main.head)),e},provide:e=>l.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(el.range(r,i))}return l.NZ.set(t,!0)}});function G(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(H,!1))||r.between(t,n,(e,t)=>{(!i||i.from>e)&&(i={from:e,to:t})}),i}function K(e,t){return e.field(H,!1)?t:t.concat(o.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 l.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 W(e)){let n=B(e.state,t.from,t.to);if(n)return e.dispatch({effects:K(e.state,[Y.of(n),ee(e,n)])}),!0}return!1}},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:e=>{if(!e.state.field(H,!1))return!1;let t=[];for(let n of W(e)){let r=J(e.state,n.from,n.to);r&&t.push(U.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),o=B(t,i.from,i.to);o&&n.push(Y.of(o)),r=(o?e.lineBlockAt(o.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(H,!1);if(!t||!t.size)return!1;let n=[];return t.between(0,e.state.doc.length,(e,t)=>{n.push(U.of({from:e,to:t}))}),e.dispatch({effects:n}
1),!0}}],en={placeholderDOM:null,preparePlaceholder:null,placeholderText:"â¦"},er=o.sj.define({combine:e=>(0,o.QR)(e,en)});function ei(e){let t=[H,eh];return e&&t.push(er.of(e)),t}function eo(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:U.of(r)}),t.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(e,i,t);let o=document.createElement("span");return o.textContent=r.placeholderText,o.setAttribute("aria-label",n.phrase("folded code")),o.title=n.phrase("unfold"),o.className="cm-foldPlaceholder",o.onclick=i,o}let el=l.NZ.replace({widget:new class extends l.xO{toDOM(e){return eo(e,null)}}});class es extends l.xO{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return eo(e,this.value)}}let ea={openText:"â",closedText:"âº",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class eu extends l.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 ec(e={}){let t={...ea,...e},n=new eu(t,!0),r=new eu(t,!1),i=l.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(H,!1)!=e.state.field(H,!1)||g(e.startState)!=g(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new o.vB;for(let i of e.viewportLineBlocks){let o=J(e.state,i.from,i.to)?r:B(e.state,i.from,i.to)?n:null;o&&t.add(i.from,i.from,o)}return t.finish()}}),{domEventHandlers:s}=t;return[i,(0,l.cU)({class:"cm-foldGutter",markers(e){var t;return(null==(t=e.plugin(i))?void 0:t.markers)||o.om.empty},initialSpacer:()=>new eu(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:U.of(r)}),!0;let i=B(e.state,t.from,t.to);return!!i&&(e.dispatch({effects:Y.of(i)}),!0)}}}),ei()]}let eh=l.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 ed{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,o=t.scope;this.scope=o instanceof d?e=>e.prop(u)==o.data:o?e=>e==o: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 ed(e,t||{})}}let ef=o.sj.define(),ep=o.sj.define({combine:e=>e.length?[e[0]]:null});function eg(e){let t=e.facet(ef);return t.length?t:e.facet(ep)}function em(e,t){let n=[eb],r;return e instanceof ed&&(e.module&&n.push(l.Lz.styleModule.of(e.module)),r=e.themeType),(null==t?void 0:t.fallback)?n.push(ep.of(e)):r?n.push(ef.computeN([l.Lz.darkTheme],t=>t.facet(l.Lz.darkTheme)==("dark"==r)?[e]:[])):n.push(ef.of(e)),n}function eO(e,t,n){let r=eg(e),i=null;if(r){for(let e of r)if(!e.scope||n&&e.scope(n)){let n=e.style(t);n&&(i=i?i+" "+n:n)}}return i}class ex{constructor(e){this.markCache=Object.create(null),this.tree=g(e.state),this.decorations=this.buildDeco(e,eg(e.state)),this.decoratedTo=e.viewport.to}update(e){let t=g(e.state),n=eg(e.state),r=n!=eg(e.startState),{viewport:i}=e.view,o=e.changes.mapPos(this.decoratedTo,1);t.length<i.to&&!r&&t.type==this.tree.type&&o>=i.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=o):(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 l.NZ.none;let n=new o.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]=l.NZ.mark({class:r})))},r,i);return n.finish()}}let eb=o.Nb.high(l.Z9.fromClass(ex,{decorations:e=>e.decorations})),ev=ed.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"}
1,{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"}]),ey=l.Lz.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),ek="()[]{}",ew=o.sj.define({combine:e=>(0,o.QR)(e,{afterCursor:!0,brackets:ek,maxScanDistance:1e4,renderMatch:eP})}),eS=l.NZ.mark({class:"cm-matchingBracket"}),eC=l.NZ.mark({class:"cm-nonmatchingBracket"});function eP(e){let t=[],n=e.matched?eS:eC;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(ew);for(let r of e.selection.ranges){if(!r.empty)continue;let i=eZ(e,r.head,-1,n)||r.head>0&&eZ(e,r.head-1,1,n)||n.afterCursor&&(eZ(e,r.head,1,n)||r.head<e.doc.length&&eZ(e,r.head+1,-1,n));i&&(t=t.concat(n.renderMatch(i,e)))}return l.NZ.set(t,!0)}let eQ=[l.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}),ey];function e_(e={}){return[ew.of(e),eQ]}let eT=new i.uY;function eA(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 eE(e){let t=e.type.prop(eT);return t?t(e.node):e}function eZ(e,t,n,r={}){let i=r.maxScanDistance||1e4,o=r.brackets||ek,l=g(e),s=l.resolveInner(t,n);for(let e=s;e;e=e.parent){let r=eA(e.type,n,o);if(r&&e.from<e.to){let i=eE(e);if(i&&(n>0?t>=i.from&&t<i.to:t>i.from&&t<=i.to))return function(e,t,n,r,i){let o=t.parent,l={from:n.from,to:n.to},s=0,a=null==o?void 0:o.cursor();if(a&&(e<0?a.childBefore(t.from):a.childAfter(t.to)))do if(e<0?a.to<=t.from:a.from>=t.to){if(0==s&&r.indexOf(a.type.name)>-1&&a.from<a.to){let e=eE(a);return{start:l,end:e?{from:e.from,to:e.to}:void 0,matched:!0}}else if(eA(a.type,e,i))s++;else if(eA(a.type,-e,i)){if(0==s){let e=eE(a);return{start:l,end:e&&e.from<e.to?{from:e.from,to:e.to}:void 0,matched:!1}}s--}}while(e<0?a.prevSibling():a.nextSibling());return{start:l,matched:!1}}(n,e,i,r,o)}}return function(e,t,n,r,i,o,l){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=l.indexOf(s);if(a<0||a%2==0!=n>0)return null;let u={from:n<0?t-1:t,to:n>0?t+1:t},c=e.doc.iterRange(t,n>0?e.doc.length:0),h=0;for(let e=0;!c.next().done&&e<=o;){let o=c.value;n<0&&(e+=o.length);let s=t+e*n;for(let e=n>0?0:o.length-1,t=n>0?o.length:-1;e!=t;e+=n){let t=l.indexOf(o[e]);if(!(t<0)&&r.resolveInner(s+e,1).type==i)if(t%2==0==n>0)h++;else{if(1==h)return{start:u,end:{from:s+e,to:s+e+1},matched:t>>1==a>>1};h--}}n>0&&(e+=o.length)}return c.done?{start:u,matched:!1}:null}(e,t,n,l,s.type,i,o)}function eR(e,t,n,r=0,i=0){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);let o=i;for(let i=r;i<t;i++)9==e.charCodeAt(i)?o+=n-o%n:o++;return o}class ej{constructor(e,t,n,r){this.string=e,this.tabSize=t,this.indentUnit=n,this.overrideIndent=r,this.pos=0,this.start=0,this.lastColumnPos=0,this.lastColumnValue=0}eol(){return this.pos>=this.string.length}sol(){return 0==this.pos}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)}eat(e){let t=this.string.charAt(this.pos);if("string"==typeof e?t==e:t&&(e instanceof RegExp?e.test(t):e(t)))return++this.pos,t}eatWhile(e){let t=this.pos;for(;this.eat(e););return this.pos>t}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPos<this.start&&(this.lastColumnValue=eR(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue}indentation(){var e;return null!=(e=this.overrideIndent)?e:eR(this.string,null,this.tabSize)}
1match(e,t,n){if("string"==typeof e){let r=e=>n?e.toLowerCase():e;return r(this.string.substr(this.pos,e.length))==r(e)?(!1!==t&&(this.pos+=e.length),!0):null}{let n=this.string.slice(this.pos).match(e);return n&&n.index>0?null:(n&&!1!==t&&(this.pos+=n[0].length),n)}}current(){return this.string.slice(this.start,this.pos)}}function eM(e){if("object"!=typeof e)return e;let t={};for(let n in e){let r=e[n];t[n]=r instanceof Array?r.slice():r}return t}let eL=new WeakMap;class eI extends d{constructor(e){let t=c(e.languageData),n=function(e){return{name:e.name||"",token:e.token,blankLine:e.blankLine||(()=>{}),startState:e.startState||(()=>!0),copyState:e.copyState||eM,indent:e.indent||(()=>null),languageData:e.languageData||{},tokenTable:e.tokenTable||eD,mergeTokens:!1!==e.mergeTokens}}(e),r;super(t,new class extends i.iX{createParse(e,t,n){return new eN(r,e,t,n)}},[],e.name),this.topNode=function(e,t){let n=i.Z6.define({id:ez.length,name:"Document",props:[u.add(()=>e),Z.add(()=>e=>t.getIndent(e))],top:!0});return ez.push(n),n}(t,this),r=this,this.streamParser=n,this.stateAfter=new i.uY({perNode:!0}),this.tokenTable=e.tokenTable?new eU(n.tokenTable):eW}static define(e){return new eI(e)}getIndent(e){let t,{overrideIndentation:n}=e.options;n&&null!=(t=eL.get(e.state))&&t<e.pos-1e4&&(t=void 0);let r=eX(this,e.node.tree,e.node.from,e.node.from,null!=t?t:e.pos),i,o;if(r?(o=r.state,i=r.pos+1):(o=this.streamParser.startState(e.unit),i=e.node.from),e.pos-i>1e4)return null;for(;i<e.pos;){let t=e.state.doc.lineAt(i),r=Math.min(e.pos,t.to);if(t.length){let i=n?n(t.from):-1,l=new ej(t.text,e.state.tabSize,e.unit,i<0?void 0:i);for(;l.pos<r-t.from;)eV(this.streamParser.token,l,o)}else this.streamParser.blankLine(o,e.unit);if(r==e.pos)break;i=t.to+1}let l=e.lineAt(e.pos);return n&&null==t&&eL.set(e.state,l.from),this.streamParser.indent(o,/^\s*(.*)/.exec(l.text)[1],e)}get allowsNesting(){return!1}}function eX(e,t,n,r,o){let l=n>=r&&n+t.length<=o&&t.prop(e.stateAfter);if(l)return{state:e.streamParser.copyState(l),pos:n+t.length};for(let l=t.children.length-1;l>=0;l--){let s=t.children[l],a=n+t.positions[l],u=s instanceof i.PH&&a<o&&eX(e,s,a,r,o);if(u)return u}return null}class eN{constructor(e,t,n,r){this.lang=e,this.input=t,this.fragments=n,this.ranges=r,this.stoppedAt=null,this.chunks=[],this.chunkPos=[],this.chunk=[],this.chunkReused=void 0,this.rangeIndex=0,this.to=r[r.length-1].to;let o=x.get(),l=r[0].from,{state:s,tree:a}=function(e,t,n,r,o){for(let o of t){let t=o.from+25*!!o.openStart,l=o.to-25*!!o.openEnd,s=t<=n&&l>n&&eX(e,o.tree,0-o.offset,n,l),a;if(s&&s.pos<=r&&(a=function e(t,n,r,o,l){if(l&&r<=0&&o>=n.length)return n;l||0!=r||n.type!=t.topNode||(l=!0);for(let s=n.children.length-1;s>=0;s--){let a=n.positions[s],u=n.children[s],c;if(a<o&&u instanceof i.PH){if(!(c=e(t,u,r-a,o-a,l)))break;return l?new i.PH(n.type,n.children.slice(0,s).concat(c),n.positions.slice(0,s+1),a+c.length):c}}return null}(e,o.tree,n+o.offset,s.pos+o.offset,!1)))return{state:s.state,tree:a}}return{state:e.streamParser.startState(o?_(o):4),tree:i.PH.empty}}(e,n,l,this.to,null==o?void 0:o.state);this.state=s,this.parsedPos=this.chunkStart=l+a.length;for(let e=0;e<a.children.length;e++)this.chunks.push(a.children[e]),this.chunkPos.push(a.positions[e]);o&&this.parsedPos<o.viewport.from-1e5&&r.some(e=>e.from<=o.viewport.from&&e.to>=o.viewport.from)&&(this.state=this.lang.streamParser.startState(_(o.state)),o.skipUntilInView(this.parsedPos,o.viewport.from),this.parsedPos=o.viewport.from),this.moveRangeIndex()}advance(){let e=x.get(),t=null==this.stoppedAt?this.to:Math.min(this.to,this.stoppedAt),n=Math.min(t,this.chunkStart+512);for(e&&(n=Math.min(n,e.viewport.to));this.parsedPos<n;)this.parseLine(e);return(this.chunkStart<this.parsedPos&&this.finishChunk(),this.parsedPos>=t)?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,t),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let t=this.input.chunk(e);if(this.input.lineChunks)"\n"==t&&(t="");else{let e=t.indexOf("\n");e>
1-1&&(t=t.slice(0,e))}return e+t.length<=this.to?t:t.slice(0,this.to-e)}nextLine(){let e=this.parsedPos,t=this.lineAfter(e),n=e+t.length;for(let e=this.rangeIndex;;){let r=this.ranges[e].to;if(r>=n||(t=t.slice(0,r-(n-t.length)),++e==this.ranges.length))break;let i=this.ranges[e].from,o=this.lineAfter(i);t+=o,n=i+o.length}return{line:t,end:n}}skipGapsTo(e,t,n){for(;;){let r=this.ranges[this.rangeIndex].to,i=e+t;if(n>0?r>i:r>=i)break;let o=this.ranges[++this.rangeIndex].from;t+=o-r}return t}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to<this.parsedPos;)this.rangeIndex++}emitToken(e,t,n,r){let i=4;if(this.ranges.length>1){r=this.skipGapsTo(t,r,1),t+=r;let e=this.chunk.length;r=this.skipGapsTo(n,r,-1),n+=r,i+=this.chunk.length-e}let o=this.chunk.length-4;return this.lang.streamParser.mergeTokens&&4==i&&o>=0&&this.chunk[o]==e&&this.chunk[o+2]==t?this.chunk[o+2]=n:this.chunk.push(e,t,n,i),r}parseLine(e){let{line:t,end:n}=this.nextLine(),r=0,{streamParser:i}=this.lang,o=new ej(t,e?e.state.tabSize:4,e?_(e.state):2);if(o.eol())i.blankLine(this.state,o.indentUnit);else for(;!o.eol();){let e=eV(i.token,o,this.state);if(e&&(r=this.emitToken(this.lang.tokenTable.resolve(e),this.parsedPos+o.start,this.parsedPos+o.pos,r)),o.start>1e4)break}this.parsedPos=n,this.moveRangeIndex(),this.parsedPos<this.to&&this.parsedPos++}finishChunk(){let e=i.PH.build({buffer:this.chunk,start:this.chunkStart,length:this.parsedPos-this.chunkStart,nodeSet:eq,topID:0,maxBufferLength:512,reused:this.chunkReused});e=new i.PH(e.type,e.children,e.positions,e.length,[[this.lang.stateAfter,this.lang.streamParser.copyState(this.state)]]),this.chunks.push(e),this.chunkPos.push(this.chunkStart-this.ranges[0].from),this.chunk=[],this.chunkReused=void 0,this.chunkStart=this.parsedPos}finish(){return new i.PH(this.lang.topNode,this.chunks,this.chunkPos,this.parsedPos-this.ranges[0].from).balance()}}function eV(e,t,n){t.start=t.pos;for(let r=0;r<10;r++){let r=e(t,n);if(t.pos>t.start)return r}throw Error("Stream parser failed to advance stream.")}let eD=Object.create(null),ez=[i.Z6.none],eq=new i.fI(ez),eB=[],eF=Object.create(null),eY=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"]])eY[e]=eG(eD,t);class eU{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),eY)}resolve(e){return e?this.table[e]||(this.table[e]=eG(this.extra,e)):0}}let eW=new eU(eD);function eH(e,t){eB.indexOf(e)>-1||(eB.push(e),console.warn(t))}function eG(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):eH(n,`Modifier ${n} used at start of tag`):t.length?eH(n,`Tag ${n} used as modifier`):t=Array.isArray(r)?r:[r]:eH(n,`Unknown highlighting tag ${n}`)}for(let e of t)n.push(e)}if(!n.length)return 0;let r=t.replace(/ /g,"_"),o=r+" "+n.map(e=>e.id),l=eF[o];if(l)return l.id;let a=eF[o]=i.Z6.define({id:ez.length,name:r,props:[(0,s.pn)({[r]:n})]});return ez.push(a),a.id}l.OP.RTL,l.OP.LTR},53792:(e,t,n)=>{"use strict";n.d(t,{f:()=>r});let r=(0,n(20720).C)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"])},53851:(e,t,n)=>{"use strict";n.d(t,{S:()=>a});var r=n(7620),i=n(65484),o=n(60554),l=n(10391),s=n(6353);let a=()=>{let[e,t]=(0,s.uX)(o.PI,o.yr),n=(0,s.qM)(o.C_),a=(0,o.Bd)(),u=(e&i.jG)!=0,c=u?a("toolbar.removeInlineCode","Remove code format"):a("toolbar.inlineCode","Inline code format");return r.createElement(l.F8,{items:[{title:c,contents:t("code"),active:u,onChange:n.bind(null,"code")}]})}},53903:(e,t,n)=>{"use strict";n.d(t,{c3:()=>en});var r=n(17705),i=n(6353),o=n(35800);function l(e){return e.length}function s(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)}var a=n(56748);function u(e){let t=e._align;(0,o.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 c(e){this.exit(e),this.data.inTable=void 0}function h(e){this.enter({type:"tableRow",children:[]},e)}function d(e){this.exit(e)}function f(e){this.enter({type:"tableCell",children:[]},e)}function p(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,g));let n=this.stack[this.stack.length-1];(0,o.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function g(e,t){return"|"===t?t:e}var m=n(22594),O=n(24525);class x{constructor(){this.map=[],this.index=new Map}add(e,t,n){!function(e,t,n,r){if(0===n&&0===r.length)return;let i=e.index.get(t);if(i){i[1]+=n,i[2].push(...r);return}let o=[t,n,r];
1e.map.push(o),e.index.set(t,o)}(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,this.index.clear()}}function b(e,t,n){let r,i=this,o=0,l=0;return function(e){let t=i.events.length-1;for(;t>-1;){let{type:e}=i.events[t][1];if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?i.events[t][1].type:null,o="tableHead"===r||"tableRow"===r?v:s;return o===v&&i.parser.lazy[i.now().line]?n(e):o(e)};function s(t){var n;return e.enter("tableHead"),e.enter("tableRow"),124===(n=t)||(r=!0,l+=1),a(n)}function a(t){return null===t?n(t):(0,O.HP)(t)?l>1?(l=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),h):n(t):(0,O.On)(t)?(0,m.N)(e,a,"whitespace")(t):(l+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,a):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,O.Ee)(t)?(e.exit("data"),a(t)):(e.consume(t),92===t?c:u)}function c(t){return 92===t||124===t?(e.consume(t),u):u(t)}function h(t){return(i.interrupt=!1,i.parser.lazy[i.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,O.On)(t))?(0,m.N)(e,d,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):d(t)}function d(t){return 45===t||58===t?p(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):n(t)}function f(t){return(0,O.On)(t)?(0,m.N)(e,p,"whitespace")(t):p(t)}function p(t){return 58===t?(l+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(l+=1,g(t)):null===t||(0,O.HP)(t)?b(t):n(t)}function g(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"),x):(e.exit("tableDelimiterFiller"),x(n))}(t)):n(t)}function x(t){return(0,O.On)(t)?(0,m.N)(e,b,"whitespace")(t):b(t)}function b(i){if(124===i)return d(i);if(null===i||(0,O.HP)(i))return r&&o===l?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(i)):n(i);return n(i)}function v(t){return e.enter("tableRow"),y(t)}function y(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),y):null===n||(0,O.HP)(n)?(e.exit("tableRow"),t(n)):(0,O.On)(n)?(0,m.N)(e,y,"whitespace")(n):(e.enter("data"),k(n))}function k(t){return null===t||124===t||(0,O.Ee)(t)?(e.exit("data"),y(t)):(e.consume(t),92===t?w:k)}function w(t){return 92===t||124===t?(e.consume(t),k):k(t)}}function v(e,t){let n,r,i,o=-1,l=!0,s=0,a=[0,0,0,0],u=[0,0,0,0],c=!1,h=0,d=new x;for(;++o<e.length;){let f=e[o],p=f[1];"enter"===f[0]?"tableHead"===p.type?(c=!1,0!==h&&(k(d,t,h,n,r),r=void 0,h=0),n={type:"table",start:Object.assign({},p.start),end:Object.assign({},p.end)},d.add(o,0,[["enter",n,t]])):"tableRow"===p.type||"tableDelimiterRow"===p.type?(l=!0,i=void 0,a=[0,0,0,0],u=[0,o+1,0,0],c&&(c=!1,r={type:"tableBody",start:Object.assign({},p.start),end:Object.assign({},p.end)},d.add(o,0,[["enter",r,t]])),s="tableDelimiterRow"===p.type?2:r?3:1):s&&("data"===p.type||"tableDelimiterMarker"===p.type||"tableDelimiterFiller"===p.type)?(l=!1,0===u[2]&&(0!==a[1]&&(u[0]=u[1],i=y(d,t,a,s,void 0,i),a=[0,0,0,0]),u[2]=o)):"tableCellDivider"===p.type&&(l?l=!1:(0!==a[1]&&(u[0]=u[1],i=y(d,t,a,s,void 0,i)),u=[(a=u)[1],o,0,0])):"tableHead"===p.type?(c=!0,h=o):"tableRow"===p.type||"tableDelimiterRow"===p.type?(h=o,0!==a[1]?(u[0]=u[1],i=y(d,t,a,s,o,i)):0!==u[1]&&(i=y(d,t,u,s,o,i)),s=0):s&&("data"===p.type||"tableDelimiterMarker"===p.type||"tableDelimiterFiller"===p.type)&&(u[3]=o)}for(0!==h&&k(d,t,h,n,r),d.consume(t.events),o=-1;++o<t.events.length;){let e=t.events[o];"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"
1:"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,o))}return e}function y(e,t,n,r,i,o){0!==n[0]&&(o.end=Object.assign({},w(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));let l=w(t.events,n[1]);if(o={type:1===r?"tableHeader":2===r?"tableDelimiter":"tableData",start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",o,t]]),0!==n[2]){let i=w(t.events,n[2]),o=w(t.events,n[3]),l={type:"tableContent",start:Object.assign({},i),end:Object.assign({},o)};if(e.add(n[2],0,[["enter",l,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",l,t]])}return void 0!==i&&(o.end=Object.assign({},w(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function k(e,t,n,r,i){let o=[],l=w(t.events,n);i&&(i.end=Object.assign({},l),o.push(["exit",i,t])),r.end=Object.assign({},l),o.push(["exit",r,t]),e.add(n+1,0,o)}function w(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}var S=n(60554),C=n(26874),P=n(7620),$=n(75676),Q=n(88951),_=n(38370),T=n(7136),A=n(47349),E=n(99308),Z=n(30060),R=n(98575),j=n(45970),M=n(3793),L=n(41340),I=n(12547);let X=e=>0===e?"th":"td",N={center:L.Ay.centeredCell,left:L.Ay.leftAlignedCell,right:L.Ay.rightAlignedCell};function V(e){let t=(0,C.nsf)(e);return G(t)?t:null}let D=({mdastNode:e,parentEditor:t,lexicalTable:n})=>{let r=n.getKey(),[o,l]=P.useState(null),[s,a]=(0,i.uX)(S.yr,S.pc),u=P.useMemo(()=>e=>{let t,n;return e.__cacheKey??(t=[...Array(256).keys()].map(e=>e.toString(16).padStart(2,"0")),(n=crypto.getRandomValues(new Uint8Array(16)))[6]=15&n[6]|64,n[8]=63&n[8]|128,e.__cacheKey=[...n.entries()].map(([e,n])=>[4,6,8,10].includes(e)?`-${t[n]}`:t[n]).join("")),e.__cacheKey},[]),c=P.useCallback(e=>{let[n,i]=t.getEditorState().read(()=>{let e=V(r);return e?[e.getColCount(),e.getRowCount()]:[0,0]});if(null===e)return void l(null);let[o,s]=e;if(o>n-1&&(o=0,s++),o<0&&(o=n-1,s-=1),s>i-1){l(null),t.update(()=>{let e=V(r);if(e)if(e.getNextSibling())e.selectNext();else{let t=(0,C.lJ7)();e.insertAfter(t),t.select()}});return}if(s<0){l(null),t.update(()=>{var e;null==(e=V(r))||e.selectPrevious()});return}l([o,s])},[t,r]);P.useEffect(()=>{n.focusEmitter.subscribe(c)},[n,c]);let h=P.useCallback(e=>{e.preventDefault();let n=null;t.update(()=>{let e=V(r);e&&(n=[0,e.getRowCount()],e.addRowToBottom())},{onUpdate:()=>{n&&l(n)}})},[t,r]),d=P.useCallback(e=>{e.preventDefault();let n=null;t.update(()=>{let e=V(r);e&&(n=[e.getColCount(),0],e.addColumnToRight())},{onUpdate:()=>{n&&l(n)}})},[t,r]),[f,p]=P.useState([-1,-1]),g=P.useCallback(e=>{let t=e.target;for(;t&&!["TH","TD"].includes(t.tagName);){if(t===e.currentTarget)return;t=t.parentElement}if(null===t)return;let n=t.parentElement;p(["TFOOT"===n.parentElement.tagName?-1:Array.from(n.children).indexOf(t),"TH"===t.tagName?-1:Array.from(n.parentElement.children).indexOf(n)])},[]),m=(0,S.Bd)();return P.createElement("table",{className:L.Ay.tableEditor,onMouseOver:g,onMouseLeave:()=>{p([-1,-1])}},P.createElement("colgroup",null,a?null:P.createElement("col",null),Array.from({length:e.children[0].children.length},(t,n)=>{let r=N[(e.align??[])[n]??"left"];return P.createElement("col",{key:n,className:r})}),a?null:P.createElement("col",null)),a||P.createElement("thead",null,P.createElement("tr",null,P.createElement("th",{className:L.Ay.tableToolsColumn}),Array.from({length:e.children[0].children.length},(r,i)=>P.createElement("th",{key:i,"data-tool-cell":!0},P.createElement(B,{...{setActiveCellWithBoundaries:c,parentEditor:t,colIndex:i,highlightedCoordinates:f,lexicalTable:n,align:(e.align??[])[i]}}))),P.createElement("th",{className:L.Ay.tableToolsColumn,"data-tool-cell":!0},P.createElement("button",{className:L.Ay.iconButton,type:"button",title:m("table.deleteTable","Delete table"),onClick:e=>{e.preventDefault(),t.update(()=>{let e=V(r);e&&(e.selectNext(),e.remove())})}},s("delete_small"))))),P.createElement("tbody",null,e.children.map((r,i)=>{let l=X(i);return P.createElement("tr",{key:i},a||P.createElement(l,{className:L.Ay.toolCell,"data-tool-cell":!0},P.createElement(F,{setActiveCellWithBoundaries:c,parentEditor:t,rowIndex:i,highlightedCoordinates:f,lexicalTable:n})),r.children.map((r,l)=>{var s;return P.createElement(z,{align:null==(s=e.align)?void 0:s[l],key:u(r),contents:r.children,setActiveCell:c,...{rowIndex:i,colIndex:l,lexicalTable:n,parentEditor:t,activeCell:a?[-1,-1]:o}})}),a||0===i&&P.createElement("th",{rowSpan:n.getRowCount(),"data-tool-cell":!0},P.createElement("button",{type:"button",className:L.Ay.addColumnButton,onClick:d},s("add_column"))))})),a||P.createElement("tfoot",null,P.createElement("tr",null,P.createElement("th",
1null),P.createElement("th",{colSpan:n.getColCount(),"data-tool-cell":!0},P.createElement("button",{type:"button",className:L.Ay.addRowButton,onClick:h},s("add_row"))),P.createElement("th",null))))},z=({align:e,...t})=>{let{activeCell:n,setActiveCell:r}=t,i=(null==n?void 0:n[0])===t.colIndex&&n[1]===t.rowIndex,o=N[e??"left"],l=X(t.rowIndex);return P.createElement(l,{className:o,"data-active":i,onClick:()=>{r([t.colIndex,t.rowIndex])}},P.createElement(q,{...t,focus:i}))},q=({focus:e,setActiveCell:t,parentEditor:n,lexicalTable:r,contents:o,colIndex:l,rowIndex:s})=>{let a=r.getKey(),[u,c,h,d,f,p,g,m,O,x]=(0,i.uX)(S.b$,S.IJ,S.G7,S.X_,S.uQ,S.Wd,S.uf,S.nK,S.u0,S.Di),[b,v]=P.useState(null);P.useEffect(()=>{let e=(0,I.dj)({name:"@mdxeditor/table-cell",nodes:h,namespace:"TableCellEditor",parentEditor:n,historyMode:"table-local",initialEditorState:()=>{(0,R.CP)({root:(0,C.NiT)(),mdastRoot:{type:"root",children:[{type:"paragraph",children:o}]},visitors:u,jsxComponentDescriptors:d,directiveDescriptors:f,codeBlockEditorDescriptors:p,defaultCodeBlockLanguage:g})}});return v(e),()=>{e.dispose()}},[]);let y=P.useCallback(e=>{b&&(b.getEditorState().read(()=>{let e=(0,Z.J)({root:(0,C.NiT)(),jsxComponentDescriptors:d,visitors:c,jsxIsAvailable:m});n.update(()=>{let t=V(a);t&&t.updateCellContents(l,s,e.children[0].children)},{discrete:!0}),n.dispatchCommand(S.Cc,void 0)}),t(e))},[l,b,c,d,m,n,s,t,a]);return(P.useEffect(()=>{if(b)return(0,C.Sdt)(b.registerCommand(C.OXk,e=>(e.preventDefault(),y(e.shiftKey?[l-1,s]:[l+1,s]),!0),C.da8),b.registerCommand(C.$7r,()=>(t([l,s]),!1),C.AcJ),b.registerCommand(C.RTo,e=>(null==e||e.preventDefault(),y((null==e?void 0:e.shiftKey)?[l,s-1]:[l,s+1]),!0),C.da8),b.registerCommand(C.I2H,e=>!function e(t,n){return null!==t&&t!==n&&(void 0!==t.dataset.editorDialog||void 0!==t.dataset.toolbarItem||!!t.dataset.editorDropdown||e(t.parentElement,n))}(e.relatedTarget,O.getRootElement())&&(y(null),!0),C.jZM),b.registerCommand(S.Cc,()=>(y(null),!0),C.jZM))},[l,b,O,s,y,t]),P.useEffect(()=>{e&&b&&b.focus()},[e,b]),b)?P.createElement(T.p,{initialEditor:b},P.createElement(A.$,{contentEditable:P.createElement(Q.a,null),placeholder:P.createElement("div",null),ErrorBoundary:_.R}),x.map((e,t)=>P.createElement(e,{key:t}))):null},B=({parentEditor:e,highlightedCoordinates:t,align:n,lexicalTable:r,colIndex:o,setActiveCellWithBoundaries:l})=>{let s=r.getKey(),[a,u]=(0,i.uX)(S.xZ,S.yr),c=P.useCallback(t=>{let n=!1;e.update(()=>{let e=V(s);e&&(e.insertColumnAt(t),n=!0)},{onUpdate:()=>{n&&l([t,0])}})},[e,l,s]),h=P.useCallback(t=>{e.update(()=>{var e;null==(e=V(s))||e.deleteColumnAt(t)})},[e,s]),d=P.useCallback((t,n)=>{e.update(()=>{var e;null==(e=V(s))||e.setColumnAlign(t,n)})},[e,s]),f=(0,S.Bd)();return P.createElement(E.bL,null,P.createElement(E.Wv,{className:L.Ay.tableColumnEditorTrigger,"data-active":t[0]===o+1,title:f("table.columnMenu","Column menu")},u("more_horiz")),P.createElement(E.ZL,{container:null==a?void 0:a.current},P.createElement(E.hl,{className:M(L.Ay.tableColumnEditorPopoverContent),onOpenAutoFocus:e=>{e.preventDefault()},sideOffset:5,side:"top"},P.createElement(j.bL,{className:L.Ay.tableColumnEditorToolbar},P.createElement(j.OY,{className:L.Ay.toggleGroupRoot,onValueChange:e=>{d(o,e)},value:n??"left",type:"single","aria-label":f("table.textAlignment","Text alignment")},P.createElement(j.sy,{value:"left",title:f("table.alignLeft","Align left")},u("format_align_left")),P.createElement(j.sy,{value:"center",title:f("table.alignCenter","Align center")},u("format_align_center")),P.createElement(j.sy,{value:"right",title:f("table.alignRight","Align right")},u("format_align_right"))),P.createElement(j.wv,null),P.createElement(j.$n,{onClick:c.bind(null,o),title:f("table.insertColumnLeft","Insert a column to the left of this one")},u("insert_col_left")),P.createElement(j.$n,{onClick:c.bind(null,o+1),title:f("table.insertColumnRight","Insert a column to the right of this one")},u("insert_col_right")),P.createElement(j.$n,{onClick:h.bind(null,o),title:f("table.deleteColumn","Delete this column")},u("delete_small"))),P.createElement(E.i3,{className:L.Ay.popoverArrow}))))},F=({parentEditor:e,highlightedCoordinates:t,lexicalTable:n,rowIndex:r,setActiveCellWithBoundaries:o})=>{let l=n.getKey(),[s,a]=(0,i.uX)(S.xZ,S.yr),u=P.useCallback(t=>{let n=!1;e.update(()=>{let e=V(l);e&&(e.insertRowAt(t),n=!0)},{onUpdate:()=>{n&&o([0,t])}})},[e,o,l]),c=P.useCallback(t=>{e.update(()=>{var e;null==(e=V(l))||e.deleteRowAt(t)})},[e,l]),h=(0,S.Bd)();return P.createElement(E.bL,null,P.createElement(E.Wv,{className:L.Ay.tableColumnEditorTrigger,"data-active":t[1]===r,title:h("table.rowMenu","Row menu")},a("more_horiz")),P.createElement(E.ZL,{container:null==s?void 0:s.current},P.createElement(E.hl,{className:M(L.Ay.tableColumnEditorPopoverContent),onOpenAutoFocus:e=>{e.preventDefault()},sideOffset:5,side:"bottom"},P.createElement(j.bL,{className:L.Ay.tableColumnEditorToolbar},P.createElement(j.$n,{onClick:u.bind(null,r),title:h("table.insertRowAbove","Insert a row above this one")},a("insert_row_above")),P.createElement(j.$n,{onClick:u.bind(null,r+1),title:h("table.insertRowBelow","Insert a row below this one")},a("insert_row_below")),P.createElement(j.$n,{onClick:c.bind(null,r),title:h("table.deleteRow","Delete this row")},a("delete_small"))),P.createElement(E.i3,{className:L.Ay.popoverArrow}))))};var Y=Object.defineProperty,U=(e,t,n)=>{let r;
1return(r="symbol"!=typeof t?t+"":t)in e?Y(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n};let W={type:"tableCell",children:[]};class H extends C.Kp7{constructor(e,t){super(t),U(this,"__mdastNode"),U(this,"focusEmitter",function(){let e=$.lQ;return{publish:t=>{e(t)},subscribe:t=>{e=t}}}()),this.__mdastNode=e??{type:"table",children:[]}}static getType(){return"table"}static clone(e){return new H(structuredClone(e.__mdastNode),e.__key)}static importJSON(e){return new H(e.mdastNode)}static importDOM(){return{table:()=>({conversion:J,priority:3})}}exportJSON(){return{mdastNode:structuredClone(this.__mdastNode),type:"table",version:1}}getMdastNode(){return this.__mdastNode}getRowCount(){return this.__mdastNode.children.length}getColCount(){var e;return(null==(e=this.__mdastNode.children[0])?void 0:e.children.length)||0}createDOM(){return document.createElement("div")}updateDOM(){return!1}updateCellContents(e,t,n){let r=this.getWritable().__mdastNode,i=r.children[t],o=i.children,l=o[e],s=Array.from(o),a={...l,children:n},u={...i,children:s};s[e]=a,r.children[t]=u}insertColumnAt(e){let t=this.getWritable().__mdastNode;for(let n=0;n<t.children.length;n++){let r=t.children[n],i=Array.from(r.children),o={...r,children:i};i.splice(e,0,structuredClone(W)),t.children[n]=o}t.align&&t.align.length>0&&t.align.splice(e,0,"left")}deleteColumnAt(e){let t=this.getWritable().__mdastNode;for(let n=0;n<t.children.length;n++){let r=t.children[n],i=Array.from(r.children),o={...r,children:i};i.splice(e,1),t.children[n]=o}}insertRowAt(e){let t=this.getWritable().__mdastNode,n={type:"tableRow",children:Array.from({length:this.getColCount()},()=>structuredClone(W))};t.children.splice(e,0,n)}deleteRowAt(e){1===this.getRowCount()?(this.selectNext(),this.remove()):this.getWritable().__mdastNode.children.splice(e,1)}addRowToBottom(){this.insertRowAt(this.getRowCount())}addColumnToRight(){this.insertColumnAt(this.getColCount())}setColumnAlign(e,t){let n=this.getWritable().__mdastNode;n.align??(n.align=[]),n.align[e]=t}decorate(e){return P.createElement(D,{lexicalTable:this,mdastNode:this.__mdastNode,parentEditor:e})}select(e){this.focusEmitter.publish(e??[0,0])}isInline(){return!1}}function G(e){return e instanceof H}function J(e){return{node:new H({type:"table",children:Array.from(e.querySelectorAll("tr")).map(e=>({type:"tableRow",children:Array.from(e.querySelectorAll("td, th")).map(e=>({type:"tableCell",children:[{type:"text",value:e.textContent}]}))}))})}}let K={testLexicalNode:G,visitLexicalNode({actions:e,mdastParent:t,lexicalNode:n}){e.appendToParent(t,n.getMdastNode())}},ee={testNode:"table",visitNode({mdastNode:e,lexicalParent:t}){t.append(new H(e))}},et=(0,i.HN)(e=>{e.link(e.pipe(et,(0,i.Tj)(({rows:e,columns:t})=>()=>new H(function(e=1,t=1){let n={type:"table",children:[]};for(let r=0;r<e;r++){let e={type:"tableRow",children:[]};for(let n=0;n<t;n++){let t={type:"tableCell",children:[]};e.children.push(t)}n.children.push(e)}return n}(e,t)))),S.p3)}),en=(0,r.Z)({init(e,t){e.pubIn({[S.C2]:{enter:{table:u,tableData:f,tableHeader:f,tableRow:h},exit:{codeText:p,table:c,tableData:d,tableHeader:d,tableRow:d}},[S.cx]:{flow:{null:{name:"table",tokenize:b,resolveAll:v}}},[S.R1]:ee,[S.q]:H,[S.iI]:K,[S.lN]:function(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,o=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=a.p.inlineCode(e,t,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r},table:function(e,t,n,r){return c(function(e,t,n){let r=e.children,i=-1,o=[],l=t.enter("table");for(;++i<r.length;)o[i]=h(r[i],t,n);return l(),o}(e,n,r),e.align)},tableCell:u,tableRow:function(e,t,n,r){let i=c([h(e,n,r)]);return i.slice(0,i.indexOf("\n"))}}};function u(e,t,n,r){let i=n.enter("tableCell"),l=n.enter("phrasing"),s=n.containerPhrasing(e,{...r,before:o,after:o});return l(),i(),s}function c(e,t){return function(e,t){let n=t||{},r=(n.align||[]).concat(),i=n.stringLength||l,o=[],a=[],u=[],c=[],h=0,d=-1;for(;++d<e.length;){let t=[],r=[],o=-1;for(e[d].length>h&&(h=e[d].length);++o<e[d].length;){var f;let l=null==(f=e[d][o])?"":String(f);if(!1!==n.alignDelimiters){let e=i(l);r[o]=e,(void 0===c[o]||e>c[o])&&(c[o]=e)}t.push(l)}a[d]=t,u[d]=r}let p=-1;if("object"==typeof r&&"length"in r)for(;++p<h;)o[p]=s(r[p]);else{let e=s(r);for(;++p<h;)o[p]=e}p=-1;let g=[],m=[];for(;++p<h;){let e=o[p],t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let i=!1===n.alignDelimiters?1:Math.max(1,c[p]-t.length-r.length),l=t+"-".repeat(i)+r;!1!==n.alignDelimiters&&((i=t.length+i+r.length)>
1c[p]&&(c[p]=i),m[p]=i),g[p]=l}a.splice(1,0,g),u.splice(1,0,m),d=-1;let O=[];for(;++d<a.length;){let e=a[d],t=u[d];p=-1;let r=[];for(;++p<h;){let i=e[p]||"",l="",s="";if(!1!==n.alignDelimiters){let e=c[p]-(t[p]||0),n=o[p];114===n?l=" ".repeat(e):99===n?e%2?(l=" ".repeat(e/2+.5),s=" ".repeat(e/2-.5)):s=l=" ".repeat(e/2):s=" ".repeat(e)}!1===n.delimiterStart||p||r.push("|"),!1!==n.padding&&(!1!==n.alignDelimiters||""!==i)&&(!1!==n.delimiterStart||p)&&r.push(" "),!1!==n.alignDelimiters&&r.push(l),r.push(i),!1!==n.alignDelimiters&&r.push(s),!1!==n.padding&&r.push(" "),(!1!==n.delimiterEnd||p!==h-1)&&r.push("|")}O.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return O.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function h(e,t,n){let r=e.children,i=-1,o=[],l=t.enter("tableRow");for(;++i<r.length;)o[i]=u(r[i],e,t,n);return l(),o}}({tableCellPadding:(null==t?void 0:t.tableCellPadding)??!0,tablePipeAlign:(null==t?void 0:t.tablePipeAlign)??!0})})}})},55217:(e,t,n)=>{"use strict";n.d(t,{F:()=>o,R:()=>i});let r=new WeakMap;function i(e,t){let n=r.get(e);return n||(n=new Set,r.set(e,n)),n.add(t),()=>{n.delete(t)}}function o(e){let t,n=r.get(e);if(r.delete(e),!n)return;let i=!1;for(let e of[...n].reverse())try{e()}catch(e){i||(i=!0,t=e)}if(i)throw t instanceof Error?t:Error("Realm cleanup failed with a non-Error value")}},56639:(e,t,n)=>{"use strict";n.d(t,{yl:()=>i});var r=n(26874);function i(e){return()=>(function(e){if(!function(e,t=!0){if(e)return!1;let n=(0,r.NiT)().getTextContent();return t&&(n=n.trim()),""===n}(e,!1))return!1;let t=(0,r.NiT)().getChildren(),n=t.length;if(n>1)return!1;for(let e=0;e<n;e++){let n=t[e];if((0,r.Cyw)(n))return!1;if((0,r.ff4)(n)){if(!(0,r.bSg)(n)||0!==n.__indent)return!1;let t=n.getChildren(),i=t.length;for(let n=0;n<i;n++){let n=t[e];if(!(0,r.kFe)(n))return!1}}}return!0})(e)}},56748:(e,t,n)=>{"use strict";function r(e,t,n){return">"+(n?"":" ")+e}n.d(t,{p:()=>S});var i=n(43599);function o(e,t,n,r){let o=-1;for(;++o<n.unsafe.length;){let e=n.unsafe[o];if("\n"===e.character&&!e.before&&!e.after&&(0,i.q)(n.stack,e))return/[\t ]/.test(r.before)?"":" "}return"\\\n"}var l=n(20714);function s(e,t,n){return(n?"":" ")+e}function a(e){let t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function u(e,t,n,r){let i=n.enter("phrasing"),o=n.containerPhrasing({type:"root",children:[e]},r);return i(),o}u.attention=function(e,t){return{construct:"emphasis",markers:"*"===function(e){let t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}(t)?["*","_"]:["_","*"],sizes:[1]}},u.peek=function(e,t,n){return n.options.emphasis||"*"};var c=n(63692),h=n(29912);function d(e){return e.value||""}function f(e,t,n,r){let i=a(n),o='"'===i?"Quote":"Apostrophe",l=n.enter("image"),s=n.enter("label"),u=n.createTracker(r),c=u.move("![");return c+=u.move(n.safe(e.alt,{before:c,after:"]",...u.current()})),c+=u.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=u.move("<"),c+=u.move(n.safe(e.url,{before:c,after:">",...u.current()})),c+=u.move(">")):(s=n.enter("destinationRaw"),c+=u.move(n.safe(e.url,{before:c,after:e.title?" ":")",...u.current()}))),s(),e.title&&(s=n.enter(`title${o}`),c+=u.move(" "+i),c+=u.move(n.safe(e.title,{before:c,after:i,...u.current()})),c+=u.move(i),s()),c+=u.move(")"),l(),c}function p(e,t,n,r){let i=e.referenceType,o=n.enter("imageReference"),l=n.enter("label"),s=n.createTracker(r),a=s.move("!["),u=n.safe(e.alt,{before:a,after:"]",...s.current()});a+=s.move(u+"]["),l();let c=n.stack;n.stack=c.filter(function(e){return"phrasing"!==e}),l=n.enter("reference");let h=n.safe(n.associationId(e),{before:a,after:"]",...s.current()});return l(),n.stack=c,o(),"full"!==i&&u&&u===h?"shortcut"===i?a=a.slice(0,-1):a+=s.move("]"):a+=s.move(h+"]"),a}function g(e,t,n){let r=e.value||"",i="`",o=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^\n\r ]/.test(r)&&(/^[\n\r ]/.test(r)&&/[\n\r ]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){let e,t=n.unsafe[o],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}d.peek=function(){return"<"},f.peek=function(){return"!"},p.peek=function(){return"!"},g.peek=function(){return"`"};var m=n(22969);function O(e,t){let n=(0,m.d)(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][+\-.a-z]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}function x(e,t,n,r){let i=a(n),o='"'===i?"Quote":"Apostrophe",l=n.createTracker(r);if(O(e,n)){let t=n.stack;n.stack=t.filter(function(e){return"phrasing"!==e});let r=n.enter("autolink"),i=l.move("<");return i+=l.move(n.containerPhrasing(e,{before:i,after:">",...l.current()})),i+=l.move(">"),r(),n.stack=t,i}let s=n.enter("link"),u=n.enter("label"),c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()})),c+=l.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(u=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),u(),e.title&&(u=n.enter(`title${o}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),u()),c+=l.move(")"),s(),c}function b(e,t,n,r){let i=e.referenceType,o=n.enter("linkReference"),l=n.enter("label"),s=n.createTracker(r),a=s.move("["),u=n.containerPhrasing(e,{before:a,after:"]",...s.current()});a+=s.move(u+"]["),l();let c=n.stack;n.stack=c.filter(function(e){return"phrasing"!==e}),l=n.enter("reference");let h=n.safe(n.associationId(e),{before:a,after:"]",...s.current()});return l(),n.stack=c,o(),"full"!==i&&u&&u===h?"shortcut"===i?a=a.slice(0,-1):a+=s.move("]"):a+=s.move(h+"]"),a}function v(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function y(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}x.peek=function(e,t,n){return O(e,n)?"<":"["},b.peek=function(){return"["};var k=n(53792);function w(e,t,n,r){let i=n.enter("phrasing"),o=n.containerPhrasing({type:"root",children:[e]},r);return i(),o}w.attention=function(e,t){return{construct:"strong",markers:"*"===function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(t)?["*","_"]:["_","*"],sizes:[2]}},w.peek=function(e,t,n){return n.options.strong||"*"};let S={blockquote:function(e,t,n,i){let o=n.enter("blockquote"),l=n.createTracker(i);l.move("> "),l.shift(2);let s=n.indentLines(n.containerFlow(e,l.current()),r);return o(),s},break:o,code:function(e,t,n,r){let i=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),o=e.value||"";
1if((0,l.m)(e,n)){let e=n.enter("codeIndented"),t=n.indentLines(o,s);return e(),t}let a=n.createTracker(r),u=i.repeat(Math.max(function(e,t){let n=String(e),r=n.indexOf(t),i=r,o=0,l=0;if("string"!=typeof t)throw TypeError("Expected substring");for(;-1!==r;)r===i?++o>l&&(l=o):o=1,i=r+t.length,r=n.indexOf(t,i);return l}(o,i)+1,3)),c=n.enter("codeFenced"),h="`"===i?"GraveAccent":"Tilde",d=a.move(u);if(e.lang){let t=n.enter(`codeFencedLang${h}`);d+=a.move(n.safe(e.lang,{before:d,after:" ",encode:["`"],...a.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${h}`);d+=a.move(" "),d+=a.move(n.safe(e.meta,{before:d,after:"\n",encode:["`"],...a.current()})),t()}return d+=a.move("\n"),o&&(d+=a.move(o+"\n")),d+=a.move(u),c(),d},definition:function(e,t,n,r){let i=a(n),o='"'===i?"Quote":"Apostrophe",l=n.enter("definition"),s=n.enter("label"),u=n.createTracker(r),c=u.move("[");return c+=u.move(n.safe(n.associationId(e),{before:c,after:"]",...u.current()})),c+=u.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=u.move("<"),c+=u.move(n.safe(e.url,{before:c,after:">",...u.current()})),c+=u.move(">")):(s=n.enter("destinationRaw"),c+=u.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...u.current()}))),s(),e.title&&(s=n.enter(`title${o}`),c+=u.move(" "+i),c+=u.move(n.safe(e.title,{before:c,after:i,...u.current()})),c+=u.move(i),s()),l(),c},emphasis:u,hardBreak:o,heading:function(e,t,n,r){let i=Math.max(Math.min(6,e.depth||1),1),o=n.createTracker(r);if((0,h.f)(e,n)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),l=n.containerPhrasing(e,{...o.current(),before:"\n",after:"\n"});return r(),t(),l+"\n"+(1===i?"=":"-").repeat(l.length-(Math.max(l.lastIndexOf("\r"),l.lastIndexOf("\n"))+1))}let l="#".repeat(i),s=n.enter("headingAtx"),a=n.enter("phrasing");o.move(l+" ");let u=n.containerPhrasing(e,{before:"# ",after:"\n",...o.current()}),d=u.charCodeAt(0);return(9===d||32===d)&&(u=(0,c.T)(d)+u.slice(1)),u=u?l+" "+u:l,n.options.closeAtx&&(u+=" "+l),a(),s(),u},html:d,image:f,imageReference:p,inlineCode:g,link:x,linkReference:b,list:function(e,t,n,r){let i=n.enter("list"),o=n.bulletCurrent,l=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):v(n),s=e.ordered?"."===l?")":".":function(e){let t=v(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),a=!!t&&!!n.bulletLastUsed&&l===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==l&&"-"!==l||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(a=!0),y(n)===l&&t){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if(n&&"listItem"===n.type&&n.children&&n.children[0]&&"thematicBreak"===n.children[0].type){a=!0;break}}}}a&&(l=s),n.bulletCurrent=l;let u=n.containerFlow(e,r);return n.bulletLastUsed=l,n.bulletCurrent=o,i(),u},listItem: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),o=n.bulletCurrent||v(n);t&&"list"===t.type&&t.ordered&&(o=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+o);let l=o.length+1;("tab"===i||"mixed"===i&&(t&&"list"===t.type&&t.spread||e.spread))&&(l=4*Math.ceil(l/4));let s=n.createTracker(r);s.move(o+" ".repeat(l-o.length)),s.shift(l);let a=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(l))+e:(n?o:o+" ".repeat(l-o.length))+e});return a(),u},paragraph:function(e,t,n,r){let i=n.enter("paragraph"),o=n.enter("phrasing"),l=n.containerPhrasing(e,r);return o(),i(),l},root:function(e,t,n,r){if(!e.children.some(function(e){return(0,k.f)(e)}))return n.containerFlow(e,r);let i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),o},strong:w,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(y(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}}}
1,57404:(e,t,n)=>{"use strict";n.d(t,{_:()=>c});var r=n(73104),i=n(6353),o=n(26874),l=n(7620),s=n(60554),a=n(36388),u=n(27514);let c=()=>{let e=(0,i.qM)(s.vR),t=(0,i.X3)(s.X3),n=(0,i.X3)(s.TI),c=n.includes("quote"),h=n.includes("headings"),d=(0,s.Bd)();if(!c&&!h)return null;let f=[{label:d("toolbar.blockTypes.paragraph","Paragraph"),value:"paragraph"}];if(c&&f.push({label:d("toolbar.blockTypes.quote","Quote"),value:"quote"}),h){let e=(0,i.X3)(a.OO);f.push(...e.map(e=>({label:d("toolbar.blockTypes.heading","Heading {{level}}",{level:e}),value:`h${e}`})))}return l.createElement(u.l6,{value:t,onChange:t=>{switch(t){case"quote":e(()=>(0,r.xi)());break;case"paragraph":e(()=>(0,o.lJ7)());break;case"":break;default:if(t.startsWith("h"))e(()=>(0,r.fi)(t));else throw Error(`Unknown block type: ${t}`)}},triggerTitle:d("toolbar.blockTypeSelect.selectBlockTypeTooltip","Select block type"),placeholder:d("toolbar.blockTypeSelect.placeholder","Block type"),items:f})}},58371:(e,t,n)=>{"use strict";n.d(t,{OL:()=>s,UT:()=>h,eo:()=>d,kI:()=>f});var r=n(26874),i=n(74897),o=n(59121),l=n(30060);function s(e){try{let t=e.anchor,n=e.focus,r=e.anchor.getNode(),i=e.focus.getNode();if(r===i)return r;if(e.isBackward())return(0,o.Nx)(n)?r:i;return(0,o.Nx)(t)?r:i}catch{return null}}let a=["transform","perspective","filter","backdrop-filter","contain","container-type"],u=["layout","paint","strict","content"];function c(e,t){let n=function(e){let t=null==e?void 0:e.parentElement;for(;t;){let e=window.getComputedStyle(t),n=e.willChange.split(",").map(e=>e.trim()).some(e=>a.includes(e));if("none"!==e.transform||"none"!==e.perspective||"none"!==e.filter||"none"!==e.backdropFilter||u.includes(e.contain)||"normal"!==e.containerType||"auto"===e.contentVisibility||n)return t;t=t.parentElement}return null}(t);if(n){let t=n.getBoundingClientRect();return{top:Math.round(e.top-t.top),left:Math.round(e.left-t.left),width:Math.round(e.width),height:Math.round(e.height)}}return{top:Math.round(e.top),left:Math.round(e.left),width:Math.round(e.width),height:Math.round(e.height)}}function h(e,t){let n=e.getRootElement(),r=e.getElementByKey(t);return null===n||null===r?null:c(r.getBoundingClientRect(),n)}function d(e){let t=(0,r.vJq)(),n=window.getSelection(),i=document.activeElement,o=e.getRootElement();if(null!==t&&null!==n&&null!==o&&o.contains(n.anchorNode)&&e.isEditable()){let e,t=n.getRangeAt(0);if(n.isCollapsed){let t=n.anchorNode;(null==t?void 0:t.nodeType)==3&&(t=t.parentNode),(e=t.getBoundingClientRect()).width=0}else if(n.anchorNode===o){let t=o;for(;null!=t.firstElementChild;)t=t.firstElementChild;e=t.getBoundingClientRect()}else e=t.getBoundingClientRect();return c(e,o)}return null==i||i.className,null}function f(e,t){let n=null,o=[],s="";e.getEditorState().read(()=>{let t=(0,r.vJq)();!(!t||(0,r.I2P)(t)&&t.isCollapsed())&&0!==t.getNodes().length&&(o=(0,i.gh)(e,t).nodes).length>0&&(n=(0,r.ieJ)())},{editor:e});let a=n;if(!a||0===o.length)return"";let u={error:void 0,failed:!1};if(a.update(()=>{try{let e=(0,r.NiT)(),n=(0,i.g$)(o),a=(0,r.lJ7)(),u=()=>{a.isEmpty()||(e.append(a),a=(0,r.lJ7)())};for(let t of n)t.isInline()?a.append(t):(u(),e.append(t));u(),s=(0,l.i)({root:e,...t})}catch(e){u.failed=!0,u.error=e}},{discrete:!0,skipTransforms:!0}),u.failed)throw u.error;return s.replace(/\n+$/u,"")}},59121:(e,t,n)=>{"use strict";n.d(t,{Cb:()=>g,Nx:()=>u,Rk:()=>O,SD:()=>a,_n:()=>h,dt:()=>s,zI:()=>d,zT:()=>i});var r=n(26874);function i(e,t){let n=e.getRootElement();if(null===n)return[];let r=n.getBoundingClientRect(),i=getComputedStyle(n),o=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight),l=Array.from(t.getClientRects()),s,a=l.length;l.sort((e,t)=>{let n=e.top-t.top;return 3>=Math.abs(n)?e.left-t.left:n});for(let e=0;e<a;e++){let t=l[e],n=s&&s.top<=t.top&&s.top+s.height>t.top&&s.left+s.width>t.left,i=t.width+o===r.width;n||i?(l.splice(e--,1),a--):s=t}return l}function o(e){let t=(0,r.i0_)().getElementByKey(e.getKey());if(null===t)return null;let n=t.ownerDocument.defaultView;return null===n?null:n.getComputedStyle(t)}function l(e){return o((0,r.hVZ)(e)?e:e.getParentOrThrow())}function s(e){let t=l(e);return null!==t&&"rtl"===t.direction}function a(e,t,n="self"){let i=e.getStartEndPoints();if(t.isSelected(e)&&!(0,r.Rb_)(t)&&null!==i){let[o,l]=i,s=e.isBackward(),a=o.getNode(),u=l.getNode(),c=t.is(a),h=t.is(u);if(c||h){let[i,o]=(0,r.Cku)(e),l=a.is(u),c=t.is(s?u:a),h=t.is(s?a:u),d,f=0;l?(f=i>o?o:i,d=i>o?i:o):c?(f=s?o:i,d=void 0):h&&(f=0,d=s?i:o);let p=t.__text.slice(f,d);p!==t.__text&&("clone"===n&&(t=(0,r.U5P)(t)),t.__text=p)}}return t}function u(e){if("text"===e.type)return e.offset===e.getNode().getTextContentSize();let t=e.getNode();return(0,r.ff4)(t)||function(...e){let t=new URL("https://lexical.dev/docs/error"),n=new URLSearchParams;for(let t of(n.append("code",177),e))n.append("v",t);throw t.search=n.toString(),Error(`Minified Lexical error #177; visit ${t.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(),e.offset===t.getChildrenSize()}function c(e,t){let n=e.getFormatType(),r=e.getIndent();n!==t.getFormatType()&&t.setFormat(n),r!==t.getIndent()&&t.setIndent(r)}function h(e,t,n){let i=(0,r.Ave)(e,n);if((0,r.pGK)(i))return!1;for(;i;i=i.getParentCaret()){let e=i.getParentAtCaret();if(!e||i.getNodeAtCaret())break;if(t.is(e))return!0}return!1}function d(e,t,n=c){if(!e)return;let i=e.getStartEndPoints(),o=!1,l=null,s=new Map;if(i){var a,u;let t,[n,c]=i,d=(0,r.BtT)(n.getNode(),r.w3H);l=(0,r.BtT)(c.getNode(),r.w3H);let f=e.isBackward()?"previous":"next";o=(0,r.ff4)(l)&&!l.is(d)&&(a=l,u=(0,r.hpJ)(f),t=c.getNode(),(!(0,r.ff4)(t)||!t.isEmpty())&&h(c,a,u)),(0,r.ff4)(d)&&s.set(d.getKey(),d),(0,r.ff4)(l)&&!o&&s.set(l.getKey(),l)}for(let t of e.getNodes())if((0,r.ff4)(t)&&(0,r.w3H)(t)){if(o&&t.is(l))continue;s.set(t.getKey(),t)}else if(!i){let e=(0,r.BtT)(t,r.w3H);(0,r.ff4)(e)&&s.set(e.getKey(),e)}for(let e of s.values()){let r=t();n(e,r),e.replace(r,!0)}}function f(e){let t=p(e);return null!==t&&"vertical-rl"===t.writingMode}function p(e){let t=e.anchor.getNode();return(0,r.ff4)(t)?o(t):l(t)}function g(e,t){let n=f(e)?!t:t;m(e)&&(n=!n);let i=(0,r.Ave)(e.focus,n?"previous":"next");if((0,r.pGK)(i))return!1;if((0,r.rN)(i)&&!(0,r.MK6)(i.origin)&&i.origin.isUnmergeable()){let e=i.getNodeAtCaret();if((0,r.kFe)(e)&&!(0,r.MK6)(e))return!0}for(let e of(0,r.mWO)(i)){if((0,r.cmH)(e))return!e.origin.isInline();if(!(0,r.ff4)(e.origin)){if((0,r.Cyw)(e.origin))return!0;break}}return!1}function m(e){let t=p(e);return null!==t&&"rtl"===t.direction}function O(e,t,n){let r,i=m(e);r=f(e)||i?!n:n,e.modify(t?"extend":"move",r,"character")}}
1,60554:(e,t,n)=>{"use strict";n.d(t,{w8:()=>t5,Cc:()=>to,Cp:()=>ts,TI:()=>ng,$0:()=>nm,O2:()=>nn,aC:()=>t6,CI:()=>ni,iI:()=>tq,R1:()=>tV,q:()=>tN,C2:()=>tz,Id:()=>no,cx:()=>tD,dH:()=>ns,lN:()=>tB,IZ:()=>ne,C_:()=>tO,sF:()=>nt,Wd:()=>tj,GS:()=>t7,X2:()=>ta,Xz:()=>tX,N2:()=>tH,vR:()=>nh,LH:()=>nb,Z4:()=>t9,Jl:()=>t3,X3:()=>nc,PI:()=>tp,cj:()=>tx,uf:()=>tM,uQ:()=>tR,p5:()=>tK,Nn:()=>na,xZ:()=>tL,mF:()=>tI,yY:()=>nr,IJ:()=>tQ,yr:()=>t1,b$:()=>tS,p3:()=>nd,HU:()=>tU,X_:()=>tE,nK:()=>tA,oF:()=>tv,hY:()=>tg,Bn:()=>np,Lq:()=>t0,M0:()=>th,pc:()=>tc,u0:()=>tl,Sv:()=>tY,J2:()=>tu,Di:()=>nl,dY:()=>t_,Jf:()=>tT,Me:()=>t8,Bd:()=>nv,G7:()=>tC,n$:()=>nf});var r=n(17705),i=n(83521),o=n(73104),l=n(28465),s=n(59121),a=n(26874),u=n(97029),c=n(6353),h=n(93010),d=n(65948),f=n(97436);let p=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function g(e){this.enter({type:"delete",children:[],position:void 0},e)}function m(e){this.exit(e)}function O(e,t,n,r){let i=n.createTracker(r),o=n.stack.includes("strikethrough")?"~":"~~",l=n.enter("strikethrough"),s=i.move(o);return s+=n.containerPhrasing(e,{...i.current(),before:s,after:"~"}),s+=i.move(o),l(),s}O.attention=function(){return{construct:"strikethrough",markers:["~"],sizes:[2,1]}},O.peek=function(){return"~"},v.peek=function(){return"="};var x={canContainEols:["highlight"],enter:{highlight:function(e){this.enter({type:"highlight",children:[]},e)}},exit:{highlight:function(e){this.exit(e)}}},b={unsafe:[{character:"=",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{highlight:v}};function v(e,t,n,r){let i=n.createTracker(r),o=n.enter("highlight"),l=i.move("==");return l+=i.move(n.containerPhrasing(e,{before:l,after:"=",...i.current()})),l+=i.move("=="),o(),l}var y=n(85539),k=n(35800),w=n(96020);let S={0:"�",128:"â¬",130:"â",131:"Æ",132:"â",133:"â¦",134:"â ",135:"â¡",136:"Ë",137:"â°",138:"Å ",139:"â¹",140:"Å",142:"Ž",145:"â",146:"â",147:"â",148:"â",149:"â¢",150:"â",151:"â",152:"Ë",153:"â¢",154:"Å¡",155:"âº",156:"Å",158:"ž",159:"Ÿ"};function C(e){let t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}function P(e){let t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function $(e){let t;return(t="string"==typeof e?e.charCodeAt(0):e)>=97&&t<=122||t>=65&&t<=90||C(e)}var Q=n(6321);let _=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];var T=n(48923),A=n(78063);class E extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",i={},o=!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&&(o=!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 l=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=l?l.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=l?l.line:void 0,this.name=(0,A.L)(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=o&&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}}function Z(e){let t=0,n=e.stack.length;for(;--n>-1;){let r=e.stack[n];if("blockquote"===r||"listItem"===r)break;"mdxJsxFlowElement"===r&&t++}return t}function R(e){return" ".repeat(e)}function j(){return"<"}E.prototype.file="",E.prototype.name="",E.prototype.reason="",E.prototype.message="",E.prototype.stack="",E.prototype.column=void 0,E.prototype.line=void 0,E.prototype.ancestors=void 0,E.prototype.cause=void 0,E.prototype.fatal=void 0,E.prototype.place=void 0,E.prototype.ruleId=void 0,E.prototype.source=void 0;var M=Object.prototype.hasOwnProperty;function L(e,t,n){for(n of e.keys())if(I(n,t))return n}function I(e,t){var n,r,i;if(e===t)return!0;
1if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&I(e[r],t[r]););return -1===r}if(n===Set){if(e.size!==t.size)return!1;for(r of e)if((i=r)&&"object"==typeof i&&!(i=L(t,i))||!t.has(i))return!1;return!0}if(n===Map){if(e.size!==t.size)return!1;for(r of e)if((i=r[0])&&"object"==typeof i&&!(i=L(t,i))||!I(r[1],t.get(i)))return!1;return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return -1===r}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return -1===r}if(!n||"object"==typeof e){for(n in r=0,e)if(M.call(e,n)&&++r&&!M.call(t,n)||!(n in t)||!I(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!=e&&t!=t}var X=n(69194);let N,V,D,z,q=!0;void 0!==X&&({FORCE_COLOR:N,NODE_DISABLE_COLORS:V,NO_COLOR:D,TERM:z}=X.env||{},q=X.stdout&&X.stdout.isTTY);let B={enabled:!V&&null==D&&"dumb"!==z&&(null!=N&&"0"!==N||q),reset:Y(0,0),bold:Y(1,22),dim:Y(2,22),italic:Y(3,23),underline:Y(4,24),inverse:Y(7,27),hidden:Y(8,28),strikethrough:Y(9,29),black:Y(30,39),red:Y(31,39),green:Y(32,39),yellow:Y(33,39),blue:Y(34,39),magenta:Y(35,39),cyan:Y(36,39),white:Y(37,39),gray:Y(90,39),grey:Y(90,39),bgBlack:Y(40,49),bgRed:Y(41,49),bgGreen:Y(42,49),bgYellow:Y(43,49),bgBlue:Y(44,49),bgMagenta:Y(45,49),bgCyan:Y(46,49),bgWhite:Y(47,49)};function F(e,t){let n=0,r,i="",o="";for(;n<e.length;n++)i+=(r=e[n]).open,o+=r.close,~t.indexOf(r.close)&&(t=t.replace(r.rgx,r.close+r.open));return i+t+o}function Y(e,t){let n={open:`\x1b[${e}m`,close:`\x1b[${t}m`,rgx:RegExp(`\\x1b\\[${t}m`,"g")};return function(t){let r;return void 0!==this&&void 0!==this.has?(~this.has.indexOf(e)||(this.has.push(e),this.keys.push(n)),void 0===t?this:B.enabled?F(this.keys,t+""):t+""):void 0===t?((r={has:[e],keys:[n]}).reset=B.reset.bind(r),r.bold=B.bold.bind(r),r.dim=B.dim.bind(r),r.italic=B.italic.bind(r),r.underline=B.underline.bind(r),r.inverse=B.inverse.bind(r),r.hidden=B.hidden.bind(r),r.strikethrough=B.strikethrough.bind(r),r.black=B.black.bind(r),r.red=B.red.bind(r),r.green=B.green.bind(r),r.yellow=B.yellow.bind(r),r.blue=B.blue.bind(r),r.magenta=B.magenta.bind(r),r.cyan=B.cyan.bind(r),r.white=B.white.bind(r),r.gray=B.gray.bind(r),r.grey=B.grey.bind(r),r.bgBlack=B.bgBlack.bind(r),r.bgRed=B.bgRed.bind(r),r.bgGreen=B.bgGreen.bind(r),r.bgYellow=B.bgYellow.bind(r),r.bgBlue=B.bgBlue.bind(r),r.bgMagenta=B.bgMagenta.bind(r),r.bgCyan=B.bgCyan.bind(r),r.bgWhite=B.bgWhite.bind(r),r):B.enabled?F([n],t+""):t+""}}function U(){}U.prototype={diff:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.callback;"function"==typeof r&&(i=r,r={}),this.options=r;var o=this;function l(e){return i?(setTimeout(function(){i(void 0,e)},0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var s=(t=this.removeEmpty(this.tokenize(t))).length,a=e.length,u=1,c=s+a;r.maxEditLength&&(c=Math.min(c,r.maxEditLength));var h=null!=(n=r.timeout)?n:1/0,d=Date.now()+h,f=[{oldPos:-1,lastComponent:void 0}],p=this.extractCommon(f[0],t,e,0);if(f[0].oldPos+1>=a&&p+1>=s)return l([{value:this.join(t),count:t.length}]);var g=-1/0,m=1/0;function O(){for(var n=Math.max(g,-u);n<=Math.min(m,u);n+=2){var r=void 0,i=f[n-1],c=f[n+1];i&&(f[n-1]=void 0);var h=!1;if(c){var d=c.oldPos-n;h=c&&0<=d&&d<s}var O=i&&i.oldPos+1<a;if(!h&&!O){f[n]=void 0;continue}if(r=!O||h&&i.oldPos+1<c.oldPos?o.addToPath(c,!0,void 0,0):o.addToPath(i,void 0,!0,1),p=o.extractCommon(r,t,e,n),r.oldPos+1>=a&&p+1>=s)return l(function(e,t,n,r,i){for(var o,l=[];t;)l.push(t),o=t.previousComponent,delete t.previousComponent,t=o;l.reverse();for(var s=0,a=l.length,u=0,c=0;s<a;s++){var h=l[s];if(h.removed){if(h.value=e.join(r.slice(c,c+h.count)),c+=h.count,s&&l[s-1].added){var d=l[s-1];l[s-1]=l[s],l[s]=d}}
1else{if(!h.added&&i){var f=n.slice(u,u+h.count);f=f.map(function(e,t){var n=r[c+t];return n.length>e.length?n:e}),h.value=e.join(f)}else h.value=e.join(n.slice(u,u+h.count));u+=h.count,h.added||(c+=h.count)}}var p=l[a-1];return a>1&&"string"==typeof p.value&&(p.added||p.removed)&&e.equals("",p.value)&&(l[a-2].value+=p.value,l.pop()),l}(o,r.lastComponent,t,e,o.useLongestToken));f[n]=r,r.oldPos+1>=a&&(m=Math.min(m,n-1)),p+1>=s&&(g=Math.max(g,n+1))}u++}if(i)!function e(){setTimeout(function(){if(u>c||Date.now()>d)return i();O()||e()},0)}();else for(;u<=c&&Date.now()<=d;){var x=O();if(x)return x}},addToPath:function(e,t,n,r){var i=e.lastComponent;return i&&i.added===t&&i.removed===n?{oldPos:e.oldPos+r,lastComponent:{count:i.count+1,added:t,removed:n,previousComponent:i.previousComponent}}:{oldPos:e.oldPos+r,lastComponent:{count:1,added:t,removed:n,previousComponent:i}}},extractCommon:function(e,t,n,r){for(var i=t.length,o=n.length,l=e.oldPos,s=l-r,a=0;s+1<i&&l+1<o&&this.equals(t[s+1],n[l+1]);)s++,l++,a++;return a&&(e.lastComponent={count:a,previousComponent:e.lastComponent}),e.oldPos=l,s},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}};var W=new U,H=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,G=/\S/,J=new U;J.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!G.test(e)&&!G.test(t)},J.tokenize=function(e){for(var t=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),n=0;n<t.length-1;n++)!t[n+1]&&t[n+2]&&H.test(t[n])&&H.test(t[n+2])&&(t[n]+=t[n+2],t.splice(n+1,2),n--);return t};var K=new U;function ee(e){return(ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}K.tokenize=function(e){this.options.stripTrailingCr&&(e=e.replace(/\r\n/g,"\n"));var t=[],n=e.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(var r=0;r<n.length;r++){var i=n[r];r%2&&!this.options.newlineIsToken?t[t.length-1]+=i:(this.options.ignoreWhitespace&&(i=i.trim()),t.push(i))}return t},new U().tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)},new U().tokenize=function(e){return e.split(/([{}:;,]|\s+)/)};var et=Object.prototype.toString,en=new U;en.useLongestToken=!0,en.tokenize=K.tokenize,en.castInput=function(e){var t=this.options,n=t.undefinedReplacement,r=t.stringifyReplacer,i=void 0===r?function(e,t){return void 0===t?n:t}:r;return"string"==typeof e?e:JSON.stringify(function e(t,n,r,i,o){for(n=n||[],r=r||[],i&&(t=i(o,t)),l=0;l<n.length;l+=1)if(n[l]===t)return r[l];if("[object Array]"===et.call(t)){for(n.push(t),s=Array(t.length),r.push(s),l=0;l<t.length;l+=1)s[l]=e(t[l],n,r,i,o);return n.pop(),r.pop(),s}if(t&&t.toJSON&&(t=t.toJSON()),"object"===ee(t)&&null!==t){n.push(t),s={},r.push(s);var l,s,a,u=[];for(a in t)t.hasOwnProperty(a)&&u.push(a);for(u.sort(),l=0;l<u.length;l+=1)s[a=u[l]]=e(t[a],n,r,i,a);n.pop(),r.pop()}else s=t;return s}(e,null,null,i),i," ")},en.equals=function(e,t){return U.prototype.equals.call(en,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))};var er=new U;er.tokenize=function(e){return e.slice()},er.join=er.removeEmpty=function(e){return e};B.red,B.grey,B.green,B.dim().italic,B.dim("â"),B.dim("\xb7"),B.dim("âµ");function ei(e){let t=(e=e.replace(/\r?\n/g,"\n")).match(/^[ \t]*(?=\S)/gm),n=0,r=1/0,i=(t||[]).length;for(;n<i;n++)r=Math.min(r,t[n].length);return i&&r?e.replace(RegExp(`^[ \\t]{${r}}`,"gm"),""):e}
1class eo extends Error{constructor(e={}){super(e.message),this.name="Assertion",this.code="ERR_ASSERTION",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.details=e.details||!1,this.generated=!!e.generated,this.operator=e.operator,this.expects=e.expects,this.actual=e.actual}}function el(e,t,n,r,i,o,l){if(e)return;if(l instanceof Error)throw l;let s=i&&i(t,n);throw new eo({actual:t,expects:n,operator:r,message:l||o,details:s,generated:!l})}function es(e,t){el(!e,!0,!1,"not",!1,"Expected value to be falsey",t)}es.ok=es,es.equal=function(e,t,n){el(!I(e,t),e,t,"not.equal",!1,"Expected values not to be deeply equal",n)},es.type=function(e,t,n){let r=typeof e;el(r!==t,r,t,"not.type",!1,`Expected "${r}" not to be "${t}"`,n)},es.instance=function(e,t,n){let r="`"+(t.name||t.constructor.name)+"`";el(!(e instanceof t),e,t,"not.instance",!1,`Expected value not to be an instance of ${r}`,n)},es.snapshot=function(e,t,n){el((e=ei(e))!==(t=ei(t)),e,t,"not.snapshot",!1,"Expected value not to match snapshot",n)},es.fixture=function(e,t,n){el((e=ei(e))!==(t=ei(t)),e,t,"not.fixture",!1,"Expected value not to match fixture",n)},es.match=function(e,t,n){"string"==typeof t?el(!e.includes(t),e,t,"not.match",!1,`Expected value not to include "${t}" substring`,n):el(!t.test(e),e,t,"not.match",!1,`Expected value not to match \`${String(t)}\` pattern`,n)},es.throws=function(e,t,n){n||"string"!=typeof t||(n=t,t=null);try{e()}catch(e){"function"==typeof t?el(!t(e),!0,!1,"not.throws",!1,"Expected function not to throw matching exception",n):t instanceof RegExp?el(!t.test(e.message),!0,!1,"not.throws",!1,`Expected function not to throw exception matching \`${String(t)}\` pattern`,n):t||el(!1,!0,!1,"not.throws",!1,"Expected function not to throw",n)}};var ea="highlightSequenceTemporary",eu="highlightSequence";let ec=/[$_\p{ID_Start}]/u,eh=/[$_\u{200C}\u{200D}\p{ID_Continue}]/u,ed=/[-$_\u{200C}\u{200D}\p{ID_Continue}]/u,ef={};function ep(e){return!!e&&ec.test(String.fromCodePoint(e))}function eg(e,t){let n=(t||ef).jsx?ed:eh;return!!e&&n.test(String.fromCodePoint(e))}var em=n(22594),eO=n(24525);let ex={}.hasOwnProperty,eb=Symbol("continue"),ev=Symbol("exit"),ey=Symbol("skip");function ek(e){return Array.isArray(e)?e:"number"==typeof e?[eb,e]:[e]}function ew(e){return!!(e&&"object"==typeof e&&"type"in e&&"string"==typeof e.type&&e.type.length>0)}function eS(e){return/^\s*$/.test(e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\/\/[^\r\n]*(\r\n|\n|\r)/g,""))}function eC(e){let t=e||{},n=t.loc||{},r=t.range||[void 0,void 0],i=eP(n.start,r[0]||t.start),o=eP(n.end,r[1]||t.end);if(i&&o)return{start:i,end:o}}function eP(e,t){if(e&&"object"==typeof e){let n="line"in e?e$(e.line):void 0,r="column"in e?e$(e.column):void 0;if(n&&void 0!==r)return{line:n,column:r+1,offset:e$(t)}}}function e$(e){return"number"==typeof e&&e>-1?e:void 0}let eQ="https://github.com/micromark/micromark-extension-mdx-expression/tree/main/packages/micromark-extension-mdx-expression",e_="#unexpected-type-in-code-expected-an-object-spread-spread";function eT(e,t,n,r,i,o,l,s,a,u,c){let h,d,f=this,p=this.events.length+3,g=0;return function(t){return e.enter(n),e.enter(r),e.consume(t),e.exit(r),h=f.now(),m};function m(c){if(null===c){if(d)throw d;let e=new E("Unexpected end of file in expression, expected a corresponding closing brace for `{`",{place:f.now(),ruleId:"unexpected-eof",source:"micromark-extension-mdx-expression"});throw e.url=eQ+"#unexpected-end-of-file-in-expression-expected-a-corresponding-closing-brace-for-",e}if((0,eO.HP)(c))return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),x;if(125===c&&0===g){let g=o?eA.call(f,o,l,i,p,h,u||!1,a||!1):{type:"ok",estree:void 0};if("ok"===g.type){e.enter(r),e.consume(c),e.exit(r);let i=e.exit(n);return s&&g.estree&&Object.assign(i,{estree:g.estree}),t}return d=g.message,e.enter(i),e.consume(c),O}return e.enter(i),O(c)}function O(t){return 125===t&&0===g||null===t||(0,eO.HP)(t)?(e.exit(i),m(t)):(123!==t||o?125===t&&(g-=1):g+=1,e.consume(t),O)}function x(t){let n=f.now();if(n.line!==h.line&&!c&&f.parser.lazy[n.line]){let e=new E("Unexpected lazy line in expression in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",{place:f.now(),ruleId:"unex
1pected-lazy",source:"micromark-extension-mdx-expression"});throw e.url=eQ+"#unexpected-lazy-line-in-expression-in-container-expected-line-to-be-prefixed",e}return(0,eO.On)(t)?(0,em.N)(e,m,"linePrefix",3)(t):m(t)}}function eA(e,t,n,r,i,o,l){let s=function(e,t){let n,r,i=t.prefix||"",o=t.suffix||"",l=Object.assign({},t.acornOptions),s=[],a=[],u=l.onComment,c=l.onToken,h=!1,d=Object.assign({},l,{onComment:s,preserveParens:!0});c&&(d.onToken=a);let f=function(e,t){let n={value:"",stops:[]},r=-1;for(;++r<e.length;){let i=e[r];if("enter"===i[0]){let e=i[1].type;if("lineEnding"===e||t.includes(e)){let e=i[2].sliceStream(i[1]);for(;e.length>0&&-1===e[0];)e.shift();let t=function(e){let t,n=-1,r=[];for(;++n<e.length;){let i,o=e[n];if("string"==typeof o)i=o;else switch(o){case -5:i="\r";break;case -4:i="\n";break;case -3:i="\r\n";break;case -2:i=" ";break;case -1:if(t)continue;i=" ";break;default:i=String.fromCharCode(o)}t=-2===o,r.push(i)}return r.join("")}(e);n.stops.push([n.value.length,i[1].start]),n.value+=t,n.stops.push([n.value.length,i[1].end])}}}return n}(e,t.tokenTypes),p=f.value,g=i+p+o,m=t.expression&&eS(p);if(m&&!t.allowEmpty)throw new E("Unexpected empty expression",{place:v(0),ruleId:"unexpected-empty-expression",source:"micromark-extension-mdx-expression"});try{n=t.expression&&!m?t.acorn.parseExpressionAt(g,0,d):t.acorn.parse(g,d)}catch(t){let e=v(t.pos);t.message=String(t.message).replace(/ \(\d+:\d+\)$/,""),t.pos=e.offset,t.loc={line:e.line,column:e.column-1},r=t,h=t.raisedAt>=i.length+p.length||"Unterminated comment"===t.message}if(n&&t.expression&&!m)if(eS(g.slice(n.end,g.length-o.length)))n={type:"Program",start:0,end:i.length+p.length,body:[{type:"ExpressionStatement",expression:n,start:0,end:i.length+p.length}],sourceType:"module",comments:[]};else{let e=v(n.end),t=Error("Unexpected content after expression");t.pos=e.offset,t.loc={line:e.line,column:e.column-1},r=t,n=void 0}if(n){var O,x;let e,t;if(n.comments=s,O=n,"function"==typeof(x=function(e,t,n,r){let i=r[r.length-1],o=t;"ParenthesizedExpression"===e.type&&i&&o&&("number"==typeof n&&(i=i[o],o=n),i[o]=e.expression),b(e)})?e=x:x,(function n(r,i,o,l){return ew(r)&&(s.displayName="node ("+r.type+")"),s;function s(){let s=e?ek(e(r,i,o,l)):[];if(s[0]===ev)return s;if(s[0]!==ey){let e;for(e in r)if(ex.call(r,e)&&r[e]&&"object"==typeof r[e]&&"data"!==e&&"position"!==e){let t=l.concat(r),i=r[e];if(Array.isArray(i)){let r=0;for(;r>-1&&r<i.length;){let o=i[r];if(ew(o)){let i=n(o,e,r,t)();if(i[0]===ev)return i;r="number"==typeof i[1]?i[1]:r+1}else r++}}else if(ew(i)){let r=n(i,e,void 0,t)();if(r[0]===ev)return r}}}return t?ek(t(r,i,o,l)):s}})(O,void 0,void 0,[])(),Array.isArray(u))u.push(...s);else if("function"==typeof u)for(let e of s)u("Block"===e.type,e.value,e.start,e.end,e.loc.start,e.loc.end);for(let e of a)e.end<=i.length||e.start-i.length>=p.length||(b(e),Array.isArray(c)?c.push(e):c(e))}return{estree:n,error:r,swallow:h};function b(e){let t=v(e.start),n=v(e.end);e.start=t.offset,e.end=n.offset,e.loc={start:{line:t.line,column:t.column-1,offset:t.offset},end:{line:n.line,column:n.column-1,offset:n.offset}},e.range=[e.start,e.end]}function v(e){let n=e-i.length;n<0?n=0:n>p.length&&(n=p.length);let r=function(e,t){let n=0;for(;n<e.length&&e[n][0]<=t;)n+=1;if(0===n)return;let[r,i]=e[n-1],o=t-r;return{line:i.line,column:i.column+o,offset:i.offset+o}}(f.stops,n);return r||(r={line:t.start.line,column:t.start.column,offset:t.start.offset}),r}}(this.events.slice(r),{acorn:e,tokenTypes:[n],acornOptions:t,start:i,expression:!0,allowEmpty:o,prefix:l?"({":"",suffix:l?"})":""}),a=s.estree;if(l&&a){let e=a.body[0];if("ExpressionStatement"!==e.type||"ObjectExpression"!==e.expression.type){let t=eC(e),n=new E("Unexpected `"+e.type+"` in code: expected an object spread (`{...spread}`)",{place:t.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw n.url=eQ+e_,n}if(e.expression.properties[1]){let t=new E("Unexpected extra content in spread: only a single spread is supported",{place:eC(e.expression.properties[1]).start,ruleId:"spread-extra",source:"micromark-extension-mdx-expression"});throw t.url=eQ+"#unexpected-extra-content-in-spread-only-a-single-spread-is-supported",t}if(e.expression.properties[0]&&"SpreadElement"!==e.expression.properties[0].type){let t=eC(e.expression.properties[0]),n=new E("Unexpected `"+e.expression.properties[0].type+"` in code: only spread elements are supported",{place:t.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw n.url=eQ+e_,n}}if(s.error){let e=new E("Could not parse expression with acorn",{cause:s.error,place:{line:s.error.loc.line,column:s.error.loc.column+1,offset:s.error.pos},ruleId:"acorn",source:"micromark-extension-mdx-expression"});return e.url=eQ+"#could-not-parse-expression-with-acorn",{type:"nok",message:e}}return{type:"ok",estree:a}}let eE="https://github.com/micromark/micromark-extension-mdx-jsx";function eZ(e,t,n,r,i,o,l,s,a,u,c,h,d,f,p,g,m,O,x,b,v,y,k,w,S,C,P,$,Q,_,T,A){let Z,R,j=this;return function(t){return e.enter(s),e.enter(a),e.consume(t),e.exit(a),M};function M(e){return(0,eO.Ee)(e)?n(e):(Z=L,ei(e))}function L(t){return 47===t?(e.enter(u),e.consume(t),e.exit(u),Z=I,ei):62===t?er(t):null!==t&&t>=0&&ep(t)?(e.enter(h),e.enter(d),e.consume(t),X):void el(t,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(33===t?" (note: to create a comment in MDX, use `{/* text */}`)":""))}function I(t){return 62===t?er(t):null!==t&&t>=0&&ep(t)?(e.enter(h),e.enter(d),e.consume(t),X):void el(t,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(42===t||47===t?" (note: JS comments in JSX tags are not supported in MDX)":""))}function X(t){return null!==t&&t>=0&&eg(t,{jsx:!0})?(e.consume(t),X):46===t||47===t||58===t||62===t||123===t||(0,eO.Ee)(t)||(0,eO.Ny)(t)?(e.exit(d),Z=N,ei(t)):void el(t,"in name","a
1name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(64===t?" (note: to create a link in MDX, use `[text](url)`)":""))}function N(t){return 46===t?(e.enter(f),e.consume(t),e.exit(f),Z=V,ei):58===t?(e.enter(g),e.consume(t),e.exit(g),Z=q,ei):47===t||62===t||123===t||null!==t&&t>=0&&ep(t)?(e.exit(h),Y(t)):void el(t,"after name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function V(t){if(null!==t&&t>=0&&ep(t))return e.enter(p),e.consume(t),D;el(t,"before member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function D(t){return null!==t&&t>=0&&eg(t,{jsx:!0})?(e.consume(t),D):46===t||47===t||62===t||123===t||(0,eO.Ee)(t)||(0,eO.Ny)(t)?(e.exit(p),Z=z,ei(t)):void el(t,"in member name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(64===t?" (note: to create a link in MDX, use `[text](url)`)":""))}function z(t){return 46===t?(e.enter(f),e.consume(t),e.exit(f),Z=V,ei):47===t||62===t||123===t||null!==t&&t>=0&&ep(t)?(e.exit(h),Y(t)):void el(t,"after member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function q(t){if(null!==t&&t>=0&&ep(t))return e.enter(m),e.consume(t),B;el(t,"before local name","a character that can start a name, such as a letter, `$`, or `_`"+(43===t||null!==t&&t>46&&t<58?" (note: to create a link in MDX, use `[text](url)`)":""))}function B(t){return null!==t&&t>=0&&eg(t,{jsx:!0})?(e.consume(t),B):47===t||62===t||123===t||(0,eO.Ee)(t)||(0,eO.Ny)(t)?(e.exit(m),Z=F,ei(t)):void el(t,"in local name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag")}function F(t){if(47===t||62===t||123===t||null!==t&&t>=0&&ep(t))return e.exit(h),Y(t);el(t,"after local name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function Y(t){return 47===t?(e.enter(c),e.consume(t),e.exit(c),Z=en,ei):62===t?er(t):123===t?eT.call(j,e,U,O,x,b,r,i,o,!0,!1,l)(t):null!==t&&t>=0&&ep(t)?(e.enter(v),e.enter(y),e.enter(k),e.consume(t),W):void el(t,"before attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function U(e){return Z=Y,ei(e)}function W(t){return null!==t&&t>=0&&eg(t,{jsx:!0})?(e.consume(t),W):47===t||58===t||61===t||62===t||123===t||(0,eO.Ee)(t)||(0,eO.Ny)(t)?(e.exit(k),Z=H,ei(t)):void el(t,"in attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function H(t){return 58===t?(e.enter(w),e.consume(t),e.exit(w),Z=G,ei):61===t?(e.exit(y),e.enter(C),e.consume(t),e.exit(C),Z=ee,ei):47===t||62===t||123===t||(0,eO.Ee)(t)||(0,eO.Ny)(t)||null!==t&&t>=0&&ep(t)?(e.exit(y),e.exit(v),Z=Y,ei(t)):void el(t,"after attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function G(t){if(null!==t&&t>=0&&ep(t))return e.enter(S),e.consume(t),J;el(t,"before local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function J(t){return null!==t&&t>=0&&eg(t,{jsx:!0})?(e.consume(t),J):47===t||61===t||62===t||123===t||(0,eO.Ee)(t)||(0,eO.Ny)(t)?(e.exit(S),e.exit(y),Z=K,ei(t)):void el(t,"in local attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function K(t){return 61===t?(e.enter(C),e.consume(t),e.exit(C),Z=ee,ei):47===t||62===t||123===t||null!==t&&t>=0&&ep(t)?(e.exit(v),Y(t)):void el(t,"after local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function ee(t){return 34===t||39===t?(e.enter(P),e.enter($),e.consume(t),e.exit($),R=t,function t(n){return(null===n&&el(n,"in attribute value","a corresponding closing quote `"+String.fromCodePoint(R)+"`"),n===R)?(e.enter($),e.consume(n),e.exit($),e.exit(P),e.exit(v),R=void 0,Z=Y,ei):(0,eO.HP)(n)?(Z=t,ei(n)):(e.enter(Q),function n(r){return null===r||r===R||(0,eO.HP)(r)?(e.exit(Q),t(r)):(e.consume(r),n)}(n))}):123===t?eT.call(j,e,et,_,T,A,r,i,o,!1,!1,l)(t):void el(t,"before attribute value","a character that can start an attribute value, such as `\"`, `'`, or `{`"+(60===t?" (note: to use an element or fragment as a prop value in MDX, use `{<element />}`)":""))}function et(t){return e.exit(v),Z=Y,ei(t)}function en(e){if(62===e)return er(e);el(e,"after self-closing slash","`>` to end the tag"+(42===e||47===e?" (note: JS comments in JSX tags are not supported in MDX)":""))}function er(n){return e.enter(a),e.consume(n),e.exit(a),e.exit(s),t}function ei(t){return(0,eO.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),eo):(0,eO.On)(t)||(0,eO.Ny)(t)?(e.enter("esWhitespace"),function t(n){return(0,eO.HP)(n)?(e.exit("esWhitespace"),ei(n)):(0,eO.On)(n)||(0,eO.Ny)(n)?(e.consume(n),t):(e.exit("esWhitespace"),Z(n))}(t)):Z(t)}function eo(e){if(!l&&j.parser.lazy[j.now().line]){let e=new E("Unexpected lazy line in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",j.now(),"micromark-extension-mdx-jsx:unexpected-lazy");throw e.url=eE+"#unexpected-lazy-line-in-container-expected-line-to-be",e}return ei(e)}function el(e,t,n){let r=new E("Unexpected "+(null===e?"end of file":"character `"+(96===e?"` ` `":String.fromCodePoint(e))+"` (U+"+e.toString(16).toUpperCase().padStart(4,"0")+")")+" "+t+", expected "+n,j.now(),"micromark-extension-mdx-jsx:unexpected-"+(null===e?"eof":"character"));throw r.url=eE+(null===e?"#unexpected-end-of-file-at-expected-expect":"#unexpected-character-at-ex
1pected-expect"),r}}var eR=n(30060),ej=n(98575),eM=n(40960),eL=n(75676),eI=Object.defineProperty,eX=(e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?eI(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n};let eN="generic-html";class eV extends a.fGB{constructor(e,t,n,r){super(r),eX(this,"__tag"),eX(this,"__nodeType"),eX(this,"__attributes"),this.__tag=e,this.__nodeType=t,this.__attributes=n}static getType(){return eN}static clone(e){return new eV(e.__tag,e.__nodeType,e.__attributes,e.__key)}getTag(){return this.__tag}getNodeType(){return this.__nodeType}getAttributes(){return this.__attributes}updateAttributes(e){this.getWritable().__attributes=e}getStyle(){var e;return null==(e=this.__attributes.find(e=>"style"===e.name))?void 0:e.value}createDOM(){let e=this.__tag,t=document.createElement(e);return this.__attributes.forEach(e=>{t.setAttribute(e.name,e.value)}),t}updateDOM(){return!1}static importDOM(){return{}}exportDOM(e){let{element:t}=super.exportDOM(e);return{element:t}}static importJSON(e){let t=eD(e.tag,e.mdxType,e.attributes);return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}exportJSON(){return{...super.exportJSON(),tag:this.getTag(),attributes:this.__attributes,mdxType:this.__nodeType,type:eN,version:1}}extractWithChild(){return!0}isInline(){return"mdxJsxTextElement"===this.__nodeType}}function eD(e,t,n){return(0,a.pTq)(new eV(e,t,n))}let ez={testLexicalNode:function(e){return e instanceof eV},visitLexicalNode({actions:e,lexicalNode:t}){e.addAndStepInto("mdxJsxTextElement",{name:t.getTag(),type:t.getNodeType(),attributes:t.getAttributes()})},priority:-100},eq={testLexicalNode:a.wH$,visitLexicalNode:({mdastParent:e,actions:t})=>{t.appendToParent(e,{type:"text",value:"\n"})}},eB={testLexicalNode:a.bSg,visitLexicalNode:({actions:e})=>{e.addAndStepInto("paragraph")}},eF={testLexicalNode:a.hVZ,visitLexicalNode:({actions:e})=>{e.addAndStepInto("root")}};var eY=n(65484);function eU(e){return"text"===e.type}let eW=["u","span","sub","sup"];function eH(e,t){return{format:e,isTag:!0,matches:e=>"mdxJsxTextElement"===e.type&&e.name===t&&0===e.attributes.length,create:()=>({type:"mdxJsxTextElement",name:t,children:[],attributes:[]})}}function eG(e,t){return{format:e,isTag:!1,matches:e=>e.type===t,create:()=>({type:t,children:[]})}}let eJ=[eH(eY.Ig,"u"),eH(eY.o4,"sup"),eH(eY.Te,"sub"),eG(eY.S3,"emphasis"),eG(eY.FA,"strong"),eG(eY.J6,"delete"),eG(eY.sM,"highlight")],eK={shouldJoin:(e,t)=>["text","emphasis","strong","highlight"].includes(e.type)?e.type===t.type:!!("mdxJsxTextElement"===e.type&&"mdxJsxTextElement"===t.type&&eW.includes(t.name))&&e.name===t.name&&JSON.stringify(e.attributes)===JSON.stringify(t.attributes),join:(e,t)=>eU(e)&&eU(t)?{type:"text",value:e.value+t.value}:{...e,children:[...e.children,...t.children]},testLexicalNode:a.kFe,visitLexicalNode:({lexicalNode:e,mdastParent:t,actions:n})=>{let r=e.getTextContent(),i=e.getFormat(),o=e.getStyle(),l=t;o&&(l=n.appendToParent(l,{type:"mdxJsxTextElement",name:"span",children:[],attributes:[{type:"mdxJsxAttribute",name:"style",value:o}]}));let s=0;for(;;){let e=l.children.at(-1),t=e&&eJ.find(t=>i&t.format&&!(s&t.format)&&t.matches(e));if(!t)break;s|=t.format,l=e}for(let{container:t}of eJ.filter(e=>i&e.format&&!(s&e.format)).map(t=>({container:t,runLength:function(e,t){let n=e.getStyle(),r=0,i=e.getNextSibling();for(;(0,a.kFe)(i)&&i.getFormat()&t&&i.getStyle()===n;)r++,i=i.getNextSibling();return r}(e,t.format)})).sort((e,t)=>Number(t.container.isTag)-Number(e.container.isTag)||t.runLength-e.runLength))l=n.appendToParent(l,t.create());i&eY.jG?n.appendToParent(l,{type:"inlineCode",value:r}):n.appendToParent(l,{type:"text",value:r})}},e0={testNode:"break",visitNode:function({lexicalParent:e}){e.append((0,a.WKo)())}};function e1(e,t){return[{testNode:t=>"mdxJsxTextElement"===t.type&&t.name===e,visitNode({actions:e,mdastNode:n,lexicalParent:r}){e.addFormatting(t),e.visitChildren(n,r)}},{testNode:t=>"html"===t.type&&t.value===`<${e}>`,visitNode({actions:e,mdastParent:n}){e.addFormatting(t,n)}},{testNode:t=>"html"===t.type&&t.value===`</${e}>`,visitNode({actions:e,mdastParent:n}){e.removeFormatting(t,n)}}]}let e5=[{testNode:"emphasis",visitNode({mdastNode:e,actions:t,lexicalParent:n}
1){t.addFormatting(eY.S3),t.visitChildren(e,n)}},{testNode:"strong",visitNode({mdastNode:e,actions:t,lexicalParent:n}){t.addFormatting(eY.FA),t.visitChildren(e,n)}},...e1("u",eY.Ig),...e1("code",eY.jG),{testNode:"inlineCode",visitNode({mdastNode:e,actions:t}){t.addAndStepInto((0,a.sTu)(e.value).setFormat(t.getParentFormatting()|eY.jG))}},{testNode:"delete",visitNode({mdastNode:e,actions:t,lexicalParent:n}){t.addFormatting(eY.J6),t.visitChildren(e,n)}},{testNode:"highlight",visitNode({mdastNode:e,actions:t,lexicalParent:n}){t.addFormatting(eY.sM),t.visitChildren(e,n)}},...e1("sup",eY.o4),...e1("sub",eY.Te)],e2={testNode:n(64191).X,visitNode:function({mdastNode:e,actions:t,lexicalParent:n}){"span"===e.name&&1===e.attributes.length&&"mdxJsxAttribute"===e.attributes[0].type&&"style"===e.attributes[0].name?(t.addStyle(e.attributes[0].value,e),t.visitChildren(e,n)):t.addAndStepInto(eD(e.name,e.type,e.attributes))},priority:-100},e3=["listitem","admonition"],e9={testNode:"paragraph",visitNode:function({mdastNode:e,mdastParent:t,lexicalParent:n,actions:r}){let i=n.getType();if(e3.includes(i)){let o=(null==t?void 0:t.children.indexOf(e))??-1,l=o>0?null==t?void 0:t.children.at(o-1):void 0;"listitem"===i&&(null==l?void 0:l.type)==="paragraph"&&n.append((0,a.WKo)(),(0,a.WKo)()),r.visitChildren(e,n
1)}else r.addAndStepInto((0,a.lJ7)())}},e4={testNode:"root",visitNode({actions:e,mdastNode:t,lexicalParent:n}){e.visitChildren(t,n)}},e7={testNode:"text",visitNode({mdastNode:e,actions:t}){let n=(0,a.sTu)(e.value);n.setFormat(t.getParentFormatting());let r=t.getParentStyle();""!==r&&n.setStyle(r),t.addAndStepInto(n)}},e6="data",e8="lineEnding",te=(e,t,n)=>{return function(t){return e.enter("comment"),e.consume(t),r};function r(t){return 33===t?(e.consume(t),i):n(t)}function i(t){return 45===t?(e.consume(t),o):n(t)}function o(t){return 45===t?(e.consume(t),l):n(t)}function l(t){return 62===t?n(t):(0,eO.HP)(t)?u(t):(e.enter(e6),45===t)?(e.consume(t),s):a(t)}function s(e){return 62===e?n(e):a(e)}function a(t){return null===t?n(t):45===t?(e.consume(t),h):(0,eO.HP)(t)?(e.exit(e6),u(t)):(e.consume(t),a)}function u(t){return e.enter(e8),e.consume(t),e.exit(e8),(0,em.N)(e,c,"linePrefix")}function c(t){return(0,eO.HP)(t)?u(t):(e.enter(e6),a(t))}function h(t){return 45===t?(e.consume(t),d):a(t)}function d(n){return 62===n?(e.exit(e6),e.enter("commentEnd"),e.consume(n),e.exit("commentEnd"),e.exit("comment"),t(n)):45===n?(e.consume(n),d):a(n)}},tt={flow:{60:{tokenize:te,concrete:!0}},text:{60:{tokenize:te}}},tn={quote:"_quote_6j9u9_59",text:{bold:"_bold_6j9u9_10",italic:"_italic_6j9u9_14",underline:"_underline_6j9u9_18",code:"_code_6j9u9_52",strikethrough:"_strikethrough_6j9u9_34",subscript:"_subscript_6j9u9_42",superscript:"_superscript_6j9u9_47",underlineStrikethrough:"_underlineStrikethrough_6j9u9_38"},list:{listitem:"_listitem_6j9u9_76",listitemChecked:"_listItemChecked_6j9u9_80",listitemUnchecked:"_listItemUnchecked_6j9u9_81",nested:{listitem:"_nestedListItem_6j9u9_66"}},admonition:{danger:"_admonitionDanger_6j9u9_158",info:"_admonitionInfo_6j9u9_159",note:"_admonitionNote_6j9u9_160",tip:"_admonitionTip_6j9u9_161",caution:"_admonitionCaution_6j9u9_162"}};var tr=n(55217),ti=n(12547);let to=(0,a.guI)("NESTED_EDITOR_UPDATED_COMMAND"),tl=(0,c.fh)(null),ts=(0,c.fh)(null),ta=(0,c.fh)(""),tu=(0,c.fh)(!0),tc=(0,c.fh)(!1,e=>{e.sub(e.pipe(tc,(0,c.EY)(tl)),([e,t])=>{null==t||t.setEditable(!e)})}),th=(0,c.fh)(""),td=(0,c.fh)(!1),tf=(0,c.fh)(!1),tp=(0,c.fh)(0),tg=(0,c.fh)(null),tm=(0,c.HN)(e=>{e.link(e.pipe(tg,(0,c.pb)(e=>null!==e)),tm)}),tO=(0,c.HN)(e=>{e.sub(e.pipe(tO,(0,c.EY)(ts)),([e,t])=>
1{null==t||t.dispatchCommand(a.mB,e)})}),tx=(0,c.fh)(null,e=>{e.sub(e.pipe(tx,(0,c.EY)(ts)),([t,n])=>{if(!t||!n)return;let r=t.anchor.getNode(),i="root"===r.getKey()?r:(0,a.BtT)(r,e=>{let t=e.getParent();return null!==t&&(0,a.IqF)(t)});i??(i=r.getTopLevelElementOrThrow());let l=i.getKey();if(null!==n.getElementByKey(l)){let t=(0,o.Pi)(i)?i.getTag():i.getType();e.pub(nc,t)}})}),tb=(0,c.fh)(""),tv=(0,c.fh)(""),ty=(0,c.fh)(!1),tk=(0,c.HN)(e=>{e.link(tv,tk),e.sub(tb,t=>{e.pubIn({[ty]:!0,[tv]:t})})}),tw=(0,c.HN)(e=>{e.link(e.pipe(tk,(0,c.EY)(tF),(0,c.pb)(([,e])=>!e),(0,c.Tj)(([e])=>e)),tw)},!0),tS=(0,c.fh)([]),tC=(0,c.fh)([]),tP=(0,c.fh)([]),t$=(0,c.fh)([]),tQ=(0,c.fh)([]),t_=(0,c.fh)([]),tT=(0,c.fh)({}),tA=(0,c.fh)(!1),tE=(0,c.fh)([]),tZ=(0,c.fh)("source"),tR=(0,c.fh)([]),tj=(0,c.fh)([]),tM=(0,c.fh)(""),tL=(0,c.fh)(null),tI=(0,c.fh)(null),tX=(0,c.fh)(null),tN=t5(tC),tV=t5(tS),tD=t5(tP),tz=t5(t$),tq=t5(tQ),tB=t5(t_),tF=(0,c.fh)(!1),tY=(0,c.HN)(e=>{e.sub(e.pipe(tY,(0,c.EY)(tv,tl,tf),(0,c.pb)(([e,t])=>e.trim()!==t.trim())),([t,,n,r])=>{e.pub(tF,!0),null==n||n.update(()=>{(0,a.NiT)().clear(),t4(e,(0,a.NiT)(),t),r?n.focus():(0,a.n1P)(null)},{onUpdate:()=>{e.pub(tF,!1)}})})}),tU=(0,c.HN)(e=>{e.sub(e.pipe(tU,(0,c.EY)(ts,tf)),([t,n,r])=>{null==n||n.update(()=>{let i=(0,a.vJq)();if(null!==i){let n={children:[],append(e){this.children.push(e)},getType:()=>i.getNodes()[0].getType()};t4(e,n,t),(0,a.H2A)(n.children)}r?n.focus():(0,a.n1P)(null)})})});function tW(){return(0,c.SQ)((e,[t,n])=>(e.forEach(e=>{if(!e)throw Error("You have a subscription that does not return a teardown");e()}),n?t.map(e=>e(n)):[]),[])}let tH=(0,c.fh)(null),tG=(0,c.fh)([],e=>{e.pipe(e.combine(tG,ts),tW())}),tJ=(0,c.fh)([],e=>{e.pipe(e.combine(tJ,tl),tW())}),tK=(0,c.fh)(null,eL.lQ,(e,t)=>!!(e&&t&&e.editorRef===t.editorRef)),t0=(0,c.HN)(),t1=(0,c.fh)(e=>{throw Error(`No icon component for ${e}`)});function t5(e,t){return(0,c.HN)((n,r)=>{n.changeWith(e,r,(e,t)=>{Array.isArray(t)||(t=[t]);let n=e;for(let r of t)e.includes(r)||(n=[...n,r]);return n}),null==t||t(n,r)})}function t2(e){let t=(0,a.vJq)();(0,a.I2P)(t)&&e.pubIn({[tx]:t,[tp]:t.format})}let t3=t5(tJ,(e,t)=>{e.pub(t,[t=>t.registerCommand(a.MvL,(t,n)=>(e.pubIn({[ts]:n,[tf]:!0}),null===n._parentEditor&&n.getEditorState().read(()=>{e.pub(tK,{rootNode:(0,a.NiT)(),editorType:"lexical",editorRef:n})}),t2(e),!1),a.da8),t=>t.registerUpdateListener(({dirtyElements:n,dirtyLeaves:r,editorState:i})=>{let o;null!==e.getValue(tg)||(0!==n.size||0!==r.size)&&(i.read(()=>{(0,a.NiT)().getLastChild()instanceof a.Kp7&&t.update(()=>{(0,a.NiT)().append((0,a.lJ7)())},{discrete:!0}),o=(0,eR.i)({root:(0,a.NiT)(),visitors:e.getValue(tQ),jsxComponentDescriptors:e.getValue(tE),toMarkdownExtensions:e.getValue(t_),toMarkdownOptions:e.getValue(tT),jsxIsAvailable:e.getValue(tA)})}),e.pub(tv,o.trim()),e.pub(ty,!1))}),t=>t.registerCommand(a.$7r,()=>(e.pub(tf,!0),!1),a.da8)])}),t9=t5(tG,(e,t)=>{e.pub(t,[t=>t.registerUpdateListener(({editorState:t})=>{t.read(()=>{t2(e)})}),t=>t.registerCommand(a.I2H,t=>{var n;let r=e.getValue(tl);return r&&((null==(n=r.getRootElement())?void 0:n.contains(t.relatedTarget))||e.pubIn({[tf]:!1,[t0]:t})),!1},a.da8)])});function t4(e,t,n){try{(0,ej.Gi)({root:t,visitors:e.getValue(tS),mdastExtensions:e.getValue(t$),markdown:n,syntaxExtensions:e.getValue(tP),jsxComponentDescriptors:e.getValue(tE),jsxKindMismatchPolicy:e.getValue(tZ),directiveDescriptors:e.getValue(tR),codeBlockEditorDescriptors:e.getValue(tj),defaultCodeBlockLanguage:e.getValue(tM)}),e.pub(tg,null)}catch(t){if(t instanceof ej.zy||t instanceof ej.Wr||t instanceof eM.O)e.pubIn({[tv]:n,[tg]:{error:t.message,source:n}});else throw t}}let t7=(0,c.fh)([]),t6=t5(t7),t8=(0,c.fh)([]),ne=t5(t8),nt=(0,c.fh)([]),nn=t5(nt),nr=(0,c.fh)([]),ni=t5(nr),no=t5((0,c.fh)([])),nl=(0,c.fh)([]),ns=t5(nl),na=(0,c.fh)(!1,e=>{e.link(e.pipe(ts,(0,c.Tj)(e=>{var t,n;return["td","th"].includes((null==(n=null==(t=null==e?void 0:e.getRootElement())?void 0:t.parentNode)?void 0:n.nodeName.toLowerCase())??"")})),na)}),nu=(0,c.fh)((0,i.ht)()),nc=(0,c.fh)("");(0,c.HN)();let nh=(0,c.HN)(e=>{e.sub(e.pipe(nh,(0,c.EY)(ts)),([e,t])=>{null==t||t.update(()=>{let n=(0,a.vJq)();(0,a.I2P)(n)&&((0,s.zI)(n,e),setTimeout(()=>{t.focus()}))})})}),nd=(0,c.HN)(e=>{e.sub(e.pipe(nd,(0,c.EY)(ts)),([e,t])=>{null==t||t.focus(()=>{t.getEditorState().read(()=>{let n=(0,a.vJq)();(0,a.I2P)(n)&&(t.update(()=>{let t=e();!function(e){if(e.isInline()){(0,a.H2A)([e]),(0,a.IqF)(e.getParentOrThrow())&&(0,u.cj)(e,a.lJ7).selectEnd();return}let t=(0,a.vJq)();if((0,a.I2P)(t)){let n=(0,a.BtT)(t.focus.getNode(),l.Mz);if((0,l.Mz)(n)){let r=(0,a.Ave)(t.focus,"next");for(;null!==r&&((0,a.rN)(r)||!n.is(r.getParentAtCaret()));)r=(0,a.k1Q)(r);if(null!==r)return r.insert(e)}}(0,u.Pe)(e)}(t),setTimeout(()=>{"select"in t&&"function"==typeof t.select&&t.select()})}),setTimeout(()=>{t.dispatchCommand(to,void 0)}))})},{defaultSelection:"rootEnd"})})}),nf=(0,c.fh)("rich-text",e=>{function t(){return(0,c.SQ)((e,t)=>({current:e.next,next:t}),{current:"rich-text",next:"rich-text"})}e.sub(e.pipe(nf,t(),(0,c.EY)(np)),([{current:t},n])=>{("source"===t||"diff"===t)&&e.pub(tY,n)}),e.sub(e.pipe(nf,t(),(0,c.pb)(e=>"rich-text"===e.current),(0,c.EY)(ts)),([,e])=>{null==e||e.dispatchCommand(to,void 0)})}),np=(0,c.fh)("",e=>{e.link(tv,np),e.link(np,tk)},!0),ng=(0,c.fh)([]),nm=t5(ng),nO=(0,c.fh)(()=>{throw Error("No translation function provided")}),nx=(0,c.fh)(tn),nb=(0,r.Z)({init(e,t){let n,r,o,l=(null==t?void 0:t.initialMarkdown)??"";
1e.register(t3),e.register(t9),e.register(tk),e.register(np),e.pubIn({[tb]:(null==t?void 0:t.trim)?l.trim():l,[t1]:null==t?void 0:t.iconComponentFor,[tV]:[e4,e9,e7,e0,...e5],[tN]:[a.fD3,a.Ey8,eV],[tq]:[eF,eB,eK,eq,ez],[ta]:null==t?void 0:t.contentEditableClassName,[tu]:null==t?void 0:t.spellCheck,[tT]:null==t?void 0:t.toMarkdownOptions,[td]:null==t?void 0:t.autoFocus,[th]:null==t?void 0:t.placeholder,[tc]:null==t?void 0:t.readOnly,[nO]:null==t?void 0:t.translation,[nu]:(0,i.ht)(),[tz]:[{canContainEols:["delete"],enter:{strikethrough:g},exit:{strikethrough:m}},x],[tD]:[(n=void 0,r={name:"strikethrough",tokenize:function(e,t,r){let i=this.previous,o=this.events,l=0;return function(s){return 126===i&&"characterEscape"!==o[o.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function o(s){let a=(0,d.S)(i);if(126===s)return l>1?r(s):(e.consume(s),l++,o);if(l<2&&!n)return r(s);let u=e.exit("strikethroughSequenceTemporary"),c=(0,d.S)(s);return u._open=!c||2===c&&!!a,u._close=!a||2===a&&!!c,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)},o={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},l=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",o,t]],s=t.parser.constructs.insideSpan.null;s&&(0,h.m)(l,l.length,0,(0,f.W)(s,e.slice(r+1,n),t)),(0,h.m)(l,l.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),(0,h.m)(e,r-1,n-r+3,l),n=r+l.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]}}),{text:{61:o={name:"highlight",tokenize:function(e,t,n){let r=this.previous,i=this.events,o=0;return function(l){return(el(61===l,!1,!0,"ok",!1,"Expected value to be truthy","expected `=`"),61===r&&"characterEscape"!==i[i.length-1][1].type)?n(l):(e.enter(ea),function i(l){let s=(0,d.S)(r);if(61===l)return o>1?n(l):(e.consume(l),o++,i);if(o<2)return n(l);let a=e.exit(ea),u=(0,d.S)(l);return a._open=!u||2===u&&!!s,a._close=!s||2===s&&!!u,t(l)}(l))}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&e[n][1].type===ea&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&e[r][1].type===ea&&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=eu,e[r][1].type=eu;let i={type:"highlight",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},o={type:"highlightText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},l=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",o,t]],s=t.parser.constructs.insideSpan.null;s&&(0,h.m)(l,l.length,0,(0,f.W)(s,e.slice(r+1,n),t)),(0,h.m)(l,l.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),(0,h.m)(e,r-1,n-r+3,l),n=r+l.length-2;break}}for(n=-1;++n<e.length;)e[n][1].type===ea&&(e[n][1].type="data");return e}}},insideSpan:{null:[o]},attentionMarkers:{null:[61]}}],[tB]:[function(){let e={},t=e.quote||'"',n=e.quoteSmart||!1,r=e.tightSelfClosing||!1,i=e.printWidth||1/0,o='"'===t?"'":'"';if('"'!==t&&"'"!==t)throw Error("Cannot serialize attribute values with `"+t+"` for `options.quote`, expected `\"`, or `'`");return l.peek=j,{handlers:{mdxJsxFlowElement:l,mdxJsxTextElement:l},unsafe:[{character:"<",inConstruct:["phrasing"]},{atBreak:!0,character:"<"}],fences:!0,resourceLink:!0};function l(e,l,s,a){let u="mdxJsxFlowElement"===e.type,c=!!e.name&&(!e.children||0===e.children.length),h=R(Z(s)),d=s.createTracker(a),f=s.createTracker(a),p=[],g=(u?h:"")+"<"+(e.name||""),m=s.enter(e.type);if(d.move(g),f.move(g),e.attributes&&e.attributes.length>0){if(!e.name)throw Error("Cannot serialize fragment w/ attributes");let r=-1;for(;++r<e.attributes.length;){let i,l=e.attributes[r];if("mdxJsxExpressionAttribute"===l.type)i="{"+(l.value||"")+"}";else{if(!l.name)throw Error("Cannot serialize attribute w/o name");let e=l.value,r=l.name,s="";if(null==e);else if("object"==typeof e)s="{"+(e.value||"")+"}";else{let r=n&&(0,y.D)(e,t)>(0,y.D)(e,o)?o:t;s=r+(0,T.Z)(e,{subset:[r]})+r}
1i=r+(s?"=":"")+s}p.push(i)}}let O=!1,x=p.join(" ");u&&(/\r?\n|\r/.test(x)||d.current().now.column+x.length+(c?r?2:3:1)>i)&&(O=!0);let b=d,v=g;if(O){b=f;let e=-1;for(;++e<p.length;)p[e]=h+" "+p[e];v+=b.move("\n"+p.join("\n")+"\n"+h)}else x&&(v+=b.move(" "+x));return c&&(v+=b.move((r||O?"":" ")+"/")),v+=b.move(">"),e.children&&e.children.length>0&&("mdxJsxTextElement"===e.type?v+=b.move(s.containerPhrasing(e,{...b.current(),before:">",after:"<"})):(b.shift(2),v+=b.move("\n"),v+=b.move(function(e,t,n){let r=t.indexStack,i=e.children,o=t.createTracker(n),l=R(Z(t)),s=[],a=-1;for(r.push(-1);++a<i.length;){let n=i[a];r[r.length-1]=a;let u={before:"\n",after:"\n",...o.current()},c=t.handle(n,e,t,u),h="mdxJsxFlowElement"===n.type?c:t.indentLines(c,function(e,t,n){return(n?"":l)+e});s.push(o.move(h)),"list"!==n.type&&(t.bulletLastUsed=void 0),a<i.length-1&&s.push(o.move("\n\n"))}return r.pop(),s.join("")}(e,s,b.current())),v+=b.move("\n"))),c||(v+=b.move((u?h:"")+"</"+(e.name||"")+">")),m(),v}}(),{handlers:{delete:O},unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:p}]},b],[nx]:(null==t?void 0:t.lexicalTheme)??tn}),e.singletonSub(tm,null==t?void 0:t.onError),e.singletonSub(tw,n=>{null==t||t.onChange(n,e.getValue(ty))}),e.singletonSub(t0,null==t?void 0:t.onBlur),(null==t?void 0:t.suppressHtmlProcessing)||e.pubIn({[tz]:[function(){return{canContainEols:["mdxJsxTextElement"],enter:{mdxJsxFlowTag:r,mdxJsxFlowTagClosingMarker:i,mdxJsxFlowTagAttribute:h,mdxJsxFlowTagExpressionAttribute:d,mdxJsxFlowTagAttributeValueLiteral:e,mdxJsxFlowTagAttributeValueExpression:e,mdxJsxFlowTagSelfClosingMarker:l,mdxJsxTextTag:r,mdxJsxTextTagClosingMarker:i,mdxJsxTextTagAttribute:h,mdxJsxTextTagExpressionAttribute:d,mdxJsxTextTagAttributeValueLiteral:e,mdxJsxTextTagAttributeValueExpression:e,mdxJsxTextTagSelfClosingMarker:l},exit:{mdxJsxFlowTagClosingMarker:s,mdxJsxFlowTagNamePrimary:a,mdxJsxFlowTagNameMember:u,mdxJsxFlowTagNameLocal:c,mdxJsxFlowTagExpressionAttribute:f,mdxJsxFlowTagExpressionAttributeValue:n,mdxJsxFlowTagAttributeNamePrimary:p,mdxJsxFlowTagAttributeNameLocal:g,mdxJsxFlowTagAttributeValueLiteral:m,mdxJsxFlowTagAttributeValueLiteralValue:n,mdxJsxFlowTagAttributeValueExpression:O,mdxJsxFlowTagAttributeValueExpressionValue:n,mdxJsxFlowTagSelfClosingMarker:x,mdxJsxFlowTag:b,mdxJsxTextTagClosingMarker:s,mdxJsxTextTagNamePrimary:a,mdxJsxTextTagNameMember:u,mdxJsxTextTagNameLocal:c,mdxJsxTextTagExpressionAttribute:f,mdxJsxTextTagExpressionAttributeValue:n,mdxJsxTextTagAttributeNamePrimary:p,mdxJsxTextTagAttributeNameLocal:g,mdxJsxTextTagAttributeValueLiteral:m,mdxJsxTextTagAttributeValueLiteralValue:n,mdxJsxTextTagAttributeValueExpression:O,mdxJsxTextTagAttributeValueExpressionValue:n,mdxJsxTextTagSelfClosingMarker:x,mdxJsxTextTag:b}};function e(){this.buffer()}function t(e){return{line:e.line,column:e.column,offset:e.offset}}function n(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function r(e){let t={name:void 0,attributes:[],close:!1,selfClosing:!1,start:e.start,end:e.end};this.data.mdxJsxTagStack||(this.data.mdxJsxTagStack=[]),this.data.mdxJsxTag=t,this.buffer()}function i(e){let t=this.data.mdxJsxTagStack;if((0,k.ok)(t,"expected `mdxJsxTagStack`"),0===t.length)throw new E("Unexpected closing slash `/` in tag, expected an open tag first",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-closing-slash")}function o(e){let t=this.data.mdxJsxTag;if((0,k.ok)(t,"expected `mdxJsxTag`"),t.close)throw new E("Unexpected attribute in closing tag, expected the end of the tag",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-attribute")}function l(e){let t=this.data.mdxJsxTag;if((0,k.ok)(t,"expected `mdxJsxTag`"),t.close)throw new E("Unexpected self-closing slash `/` in closing tag, expected the end of the tag",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-self-closing-slash")}function s(){let e=this.data.mdxJsxTag;(0,k.ok)(e,"expected `mdxJsxTag`"),e.close=!0}function a(e){let t=this.data.mdxJsxTag;(0,k.ok)(t,"expected `mdxJsxTag`"),t.name=this.sliceSerialize(e)}function u(e){let t=this.data.mdxJsxTag;(0,k.ok)(t,"expected `mdxJsxTag`"),t.name+="."+this.sliceSerialize(e)}function c(e){let t=this.data.mdxJsxTag;(0,k.ok)(t,"expected `mdxJsxTag`"),t.name+=":"+this.sliceSerialize(e)}function h(e){let n=this.data.mdxJsxTag;(0,k.ok)(n,"expected `mdxJsxTag`"),o.call(this,e),n.attributes.push({type:"mdxJsxAttribute",name:"",value:null,position:{start:t(e.start),end:void 0}})}function d(e){let n=this.data.mdxJsxTag;(0,k.ok)(n,"expected `mdxJsxTag`"),o.call(this,e),n.attributes.push({type:"mdxJsxExpressionAttribute",value:"",position:{start:t(e.start),end:void 0}}),this.buffer()}function f(e){let n=this.data.mdxJsxTag;(0,k.ok)(n,"expected `mdxJsxTag`");let r=n.attributes[n.attributes.length-1];(0,k.ok)("mdxJsxExpressionAttribute"===r.type);let i=e.estree;r.value=this.resume(),(0,k.ok)(void 0!==r.position),r.position.end=t(e.end),i&&(r.data={estree:i})}function p(e){let n=this.data.mdxJsxTag;(0,k.ok)(n,"expected `mdxJsxTag`");let r=n.attributes[n.attributes.length-1];(0,k.ok)("mdxJsxAttribute"===r.type),r.name=this.sliceSerialize(e),(0,k.ok)(void 0!==r.position),r.position.end=t(e.end)}function g(e){let n=this.data.mdxJsxTag;(0,k.ok)(n,"expected `mdxJsxTag`");let r=n.attributes[n.attributes.length-1];(0,k.ok)("mdxJsxAttribute"===r.type),r.name+=":"+this.sliceSerialize(e),(0,k.ok)(void 0!==r.position),r.position.end=t(e.end)}function m(e){let n=this.data.mdxJsxTag;(0,k.ok)(n,"expected `mdxJsxTag`");let r=n.attributes[n.attributes.length-1];r.value=function(e,t){let n,r,i,o=t||{},l="string"==typeof o.additional?o.additional.charCodeAt(0):o.additional,s=[],a=0,u=-1,c="";o.position&&("start"in o.position||"indent"in o.position?(r=o.position.indent,n=o.position.start):n=o.position);let h=(n?n.line:0)||1,d=(n?n.column:0)||1,f=m();for(a--;++a<=e.length;)if(10===i&&(d=(r?r[u]:0)||1),38===(i=e.charCodeAt(a))){let t,n=e.charCodeAt(a+1);if(9===n||10===n||12===n||32===n||38===n||60===n||Number.isNaN(n)||l&&n===l){c+=String.fromCharCode(i),d++;continue}let r=a+1,u=r,h=r;if(35===n){h=++u;let n=e.charCodeAt(h);88===n||120===n?(t="hexadecimal",h=++u):t="decimal"}else t="named";let b="",v="",y="",k="named"===t?$:"decimal"===t?C:P;for(h--;++h<=e.length;){let n=e.charCodeAt(h);if(!k(n))break;y+=String.fromCharCode(n),"named"===t&&w.K.includes(y)&&(b=y,v=(0,Q.s)(y))}let _=59===e.charCodeAt(h);if(_){h++;let e="named"===t&&(0,Q.s)(y);e&&(b=y,v=e)}let T=1+h-r,A="";if(_||!1!==o.nonTerminated)if(y)if("named"===t){if(_&&!v)O(5,1);else if(b!==y&&(T=1+(h=u+b.length)-u,_=!1),!_){let t=b?1:3;if(o.attribute){let n=e.charCodeAt(h);61===n?(O(t,T),v=""):$(n)?v="":O(t,T)}else O(t,T)}A=v}else{var p,g;_||O(2,T);let e=Number.parseInt(y,"hexadecimal"===t?16:10);if((p=e)>=55296&&p<=57343||p>1114111)O(7,T),A=String.fromCharCode(65533);else if(e in S)O(6,T),A=S[e];else{let t="";((g=e)>=1&&g<=8||11===g||g>=13&&g<=31||g>=127&&g<=159||g>=64976&&g<=65007||(65535&g)==65535||(65535&g)==65534)&&O(6,T),e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10|55296),e=56320|1023&e),A=t+String.fromCharCode(e)}}else"named"!==t&&O(4,T);if(A){x(),f=m(),a=h-1,d+=h-r+1,s.push(A);let t=m();t.offset++,o.reference&&o.reference.call(o.referenceContext||void 0,A,{start:f,end:t},e.slice(r-1,h)),f=t}else y=e.slice(r-1,h),c+=y,d+=y.length,a=h-1}else 10===i&&(h++,u++,d=0),Number.isNaN(i)?x():(c+=String.fromCharCode(i),d++);return s.join("");function m(){return{line:h,column:d,offset:a+((n?n.offset:0)||0)}}function O(e,t){let n;o.warning&&(n=m(),n.column+=t,n.offset+=t,o.warning.call(o.warningContext||void 0,_[e],n,e))}function x(){c&&(s.push(c),o.text&&o.text.call(o.textContext||void 0,c,{start:f,end:m()}),c="")}}(this.resume(),{nonTerminated:!1}),(0,k.ok)(void 0!==r.position),r.position.end=t(e.end)}function O(e){let n=this.data.mdxJsxTag;(0,k.ok)(n,"expected `mdxJsxTag`");let r=n.attributes[n.attributes.length-1];(0,k.ok)("mdxJsxAttribute"===r.type);let i={type:"mdxJsxAttributeValueExpression",value:this.resume()},o=e.estree;o&&(i.data={estree:o}),r.value=i,(0,k.ok)(void 0!==r.position),r.position.end=t(e.end)}function x(){let e=this.data.mdxJsxTag;(0,k.ok)(e,"expected `mdxJsxTag`"),e.selfClosing=!0}function b(e){let t=this.data.mdxJsxTag;(0,k.ok)(t,"expected `mdxJsxTag`");let n=this.data.mdxJsxTagStack;(0,k.ok)(n,"expected `mdxJsxTagStack`");let r=n[n.length-1];if(t.close&&r.name!==t.name)throw new E("Unexpected closing tag `"+T(t)+"`, expected corresponding closing tag for `"+T(r)+"` ("+(0,A.L)(r)+")",{start:e.start,end:e.end},"mdast-util-mdx-jsx:end-tag-mismatch");this.resume(),t.close?n.pop():this.enter({type:"mdxJsxTextTag"===e.type?"mdxJsxTextElement":"mdxJsxFlowElement",name:t.name||null,attributes:t.attributes,children:[]},e,v),t.selfClosing||t.close?this.exit(e,y):n.push(t)}function v(e,t){let n=this.data.mdxJsxTagStack;(0,k.ok)(n,"expected `mdxJsxTagStack`");let r=n[n.length-1];(0,k.ok)(r,"expected `mdxJsxTag`");let i=e?" before the end of `"+e.type+"`":"",o=e?{start:e.start,end:e.end}:void 0;throw new E("Expected a closing tag for `"+T(r)+"` ("+(0,A.L)({start:t.start,end:t.end})+")"+i,o,"mdast-util-mdx-jsx:end-tag-mismatch")}function y(e,t){let n=this.data.mdxJsxTag;throw(0,k.ok)(n,"expected `mdxJsxTag`"),new E("Expected the closing tag `"+T(n)+"` either after the end of `"+t.type+"` ("+(0,A.L)(t.end)+") or another opening tag after the start of `"+t.type+"` ("+(0,A.L)(t.start)+")",{start:e.start,end:e.end},"mdast-util-mdx-jsx:end-tag-mismatch")}function T(e){return"<"+(e.close?"/":"")+(e.name||"")+">"}}
1(),{canContainEols:["comment"],enter:{comment(e){this.buffer()}},exit:{comment(e){this.resume()}}}],[tD]:[function(){var e,t,n,r;let i,o={},l=o.acorn;if(l){if(!l.parse||!l.parseExpressionAt)throw Error("Expected a proper `acorn` instance passed in as `options.acorn`");i=Object.assign({ecmaVersion:2024,sourceType:"module"},o.acornOptions,{locations:!0})}else if(o.acornOptions||o.addResult)throw Error("Expected an `acorn` instance passed in as `options.acorn`");return{flow:{60:(e=l||void 0,t={acornOptions:i,addResult:o.addResult||void 0},{concrete:!0,name:"mdxJsxFlowTag",tokenize:function(n,r,i){let o=this;return function(e){return l(e)};function l(r){return eZ.call(o,n,s,i,e,t.acornOptions,t.addResult,!1,"mdxJsxFlowTag","mdxJsxFlowTagMarker","mdxJsxFlowTagClosingMarker","mdxJsxFlowTagSelfClosingMarker","mdxJsxFlowTagName","mdxJsxFlowTagNamePrimary","mdxJsxFlowTagNameMemberMarker","mdxJsxFlowTagNameMember","mdxJsxFlowTagNamePrefixMarker","mdxJsxFlowTagNameLocal","mdxJsxFlowTagExpressionAttribute","mdxJsxFlowTagExpressionAttributeMarker","mdxJsxFlowTagExpressionAttributeValue","mdxJsxFlowTagAttribute","mdxJsxFlowTagAttributeName","mdxJsxFlowTagAttributeNamePrimary","mdxJsxFlowTagAttributeNamePrefixMarker","mdxJsxFlowTagAttributeNameLocal","mdxJsxFlowTagAttributeInitializerMarker","mdxJsxFlowTagAttributeValueLiteral","mdxJsxFlowTagAttributeValueLiteralMarker","mdxJsxFlowTagAttributeValueLiteralValue","mdxJsxFlowTagAttributeValueExpression","mdxJsxFlowTagAttributeValueExpressionMarker","mdxJsxFlowTagAttributeValueExpressionValue")(r)}function s(e){return(0,eO.On)(e)?(0,em.N)(n,a,"whitespace")(e):a(e)}function a(e){let t,s=o.parser.constructs.flow[123];for(let e of Array.isArray(s)?s:s?[s]:[])if("mdxFlowExpression"===e.name){t=e;break}return 60===e?l(e):123===e&&t?n.attempt(t,a,i)(e):null===e||(0,eO.HP)(e)?r(e):i(e)}}})},text:{60:(n=l||void 0,r={acornOptions:i,addResult:o.addResult||void 0},{name:"mdxJsxTextTag",tokenize:function(e,t,i){return eZ.call(this,e,t,i,n,r.acornOptions,r.addResult,!0,"mdxJsxTextTag","mdxJsxTextTagMarker","mdxJsxTextTagClosingMarker","mdxJsxTextTagSelfClosingMarker","mdxJsxTextTagName","mdxJsxTextTagNamePrimary","mdxJsxTextTagNameMemberMarker","mdxJsxTextTagNameMember","mdxJsxTextTagNamePrefixMarker","mdxJsxTextTagNameLocal","mdxJsxTextTagExpressionAttribute","mdxJsxTextTagExpressionAttributeMarker","mdxJsxTextTagExpressionAttributeValue","mdxJsxTextTagAttribute","mdxJsxTextTagAttributeName","mdxJsxTextTagAttributeNamePrimary","mdxJsxTextTagAttributeNamePrefixMarker","mdxJsxTextTagAttributeNameLocal","mdxJsxTextTagAttributeInitializerMarker","mdxJsxTextTagAttributeValueLiteral","mdxJsxTextTagAttributeValueLiteralMarker","mdxJsxTextTagAttributeValueLiteralValue","mdxJsxTextTagAttributeValueExpression","mdxJsxTextTagAttributeValueExpressionMarker","mdxJsxTextTagAttributeValueExpressionValue")}})}}}(),{disable:{null:["autolink","codeIndented","htmlFlow","htmlText"]}},tt],[tV]:e2})},postInit(e,t){let n=(0,ti.dj)({name:"@mdxeditor/root",editable:(null==t?void 0:t.readOnly)!==!0,namespace:(null==t?void 0:t.lexicalEditorNamespace)??"MDXEditor",nodes:[...e.getValue(tC),...(null==t?void 0:t.additionalLexicalNodes)??[]],theme:e.getValue(nx),historyMode:(null==t?void 0:t.suppressSharedHistory)?"none":"root-shared",historyState:e.getValue(nu),initialEditorState:(null==t?void 0:t.editorState)===null?null:()=>{let n=(null==t?void 0:t.initialMarkdown.trim())??"";t4(e,(0,a.NiT)(),n)}});(0,tr.R)(e,()=>{n.dispose()});let r=null==t?void 0:t.autoFocus;if((null==t?void 0:t.editorState)!==null&&r){let t=setTimeout(()=>{n.focus(eL.lQ,{defaultSelection:!0===r?"rootStart":r.defaultSelection??"rootStart"})});(0,tr.R)(e,()=>{clearTimeout(t)})}e.pub(tl,n),e.pub(ts,n)},update(e,t){e.pubIn({[ta]:null==t?void 0:t.contentEditableClassName,[tu]:null==t?void 0:t.spellCheck,[tT]:null==t?void 0:t.toMarkdownOptions,[td]:null==t?void 0:t.autoFocus,[th]:null==t?void 0:t.placeholder,[tc]:null==t?void 0:t.readOnly}),e.singletonSub(tw,n=>{null==t||t.onChange(n,e.getValue(ty))}),e.singletonSub(t0,null==t?void 0:t.onBlur),e.singletonSub(tm,null==t?void 0:t.onError)}});function nv(){return(0,c.X3)(nO)}}
1,62123:(e,t,n)=>{"use strict";n.d(t,{Pc:()=>h,Ug:()=>u});var r=n(16729),i=n(26874);let o={bold:"bold",italic:"italic",strikeThrough:"strikethrough",subscript:"subscript",superscript:"superscript",underline:"underline"},l=Symbol.for("@lexical/dragon/WindowState");function s(e,t,n,r){if(r){let e=t.editors.get(r);e&&e.delete(n)&&0===e.size&&t.editors.delete(r)}t.installs.delete(n)&&0===t.installs.size&&(t.dispose(),delete e[l])}function a(e){return e&&e.ownerDocument.defaultView}function u(e){let t=(0,r.jX)(()=>a(e.getRootElement()),t=>e.registerRootListener(e=>{t.value=a(e)}));return(0,r.QZ)(()=>{let n=t.value;if(n)return function(e,t,n){let r,i=(void 0===(r=e[l])&&(r={dispose:()=>{},editors:new Map,installs:new Set},e[l]=r),r);if(0===i.installs.size){let t=c.bind(e);e.addEventListener("message",t,!0),i.dispose=()=>{e.removeEventListener("message",t,!0)}}if(i.installs.add(t),n){let e=i.editors.get(n)||new Set;e.add(t),i.editors.set(n,e)}return s.bind(null,e,i,t,n)}(n,Symbol("@lexical/dragon/editorInstall"),e)})}function c(e){if(e.origin!==this.location.origin)return;let t=function(e){let t=e[l];if(void 0===t)return null;let n=(0,i.lue)((0,i.v39)(e.document));return(0,i.Uqh)(n)&&t.editors.has(n)?n:null}(this);if(null===t)return;let n=e.data;if("string"==typeof n){let r;try{r=JSON.parse(n)}catch(e){return}if(r&&"nuanria_messaging"===r.protocol&&"request"===r.type){let n=r.payload;if(n&&"makeChanges"===n.functionId){let r=n.args;if(Array.isArray(r)){let[n,l,s,a,u,c]=r;if(![n,l,a,u].every(Number.isFinite)||"string"!=typeof s&&-1!==s)return;t.update(()=>{let t=(0,i.vJq)();if((0,i.I2P)(t)){let r=t.anchor,h=r.getNode(),d=0,f=0;if((0,i.kFe)(h)&&n>=0&&l>=0&&(d=n,f=n+l,t.setTextNodeRange(h,d,h,f)),"string"!=typeof s||d===f&&""===s||(t.insertRawText(s),h=r.getNode()),(0,i.kFe)(h)){let e=h.getTextContentSize();d=Math.min(Math.max(a,0),e),f=a<0||u<0?d:Math.min(a+u,e),t.setTextNodeRange(h,d,h,f)}if("string"==typeof c&&u>0&&!t.isCollapsed()){let e=o[c];void 0!==e&&t.formatText(e)}e.stopImmediatePropagation()}})}}}}}let h=(0,i.vE9)({build:(e,t,n)=>(0,r.v)(t),config:(0,i.lVE)({disabled:"u"<typeof window}),name:"@lexical/dragon",register:(e,t,n)=>(0,r.QZ)(()=>n.getOutput().disabled.value?void 0:u(e))})},62147:(e,t,n)=>{"use strict";n.d(t,{DF:()=>o,Gu:()=>i});var r=n(7620);let i=(0,r.createContext)(null);function o(){let e=(0,r.useContext)(i);return null==e&&function(...e){let t=new URL("https://lexical.dev/docs/error"),n=new URLSearchParams;for(let t of(n.append("code",8),e))n.append("v",t);throw t.search=n.toString(),Error(`Minified Lexical error #8; visit ${t.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(),e}},62972:(e,t,n)=>{"use strict";n.d(t,{oQ:()=>eZ});var r=n(95980),i=n(25263),o=n(52923),l=n(593),s=n(73240);let a="function"==typeof String.prototype.normalize?e=>e.normalize("NFKD"):e=>e;class u{constructor(e,t,n=0,r=e.length,i,o){this.test=o,this.value={from:0,to:0,precise:!1},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,r),this.bufferStart=n,this.normalize=i?e=>i(a(e)):a,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,i.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,i.MK)(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=(0,i.Fh)(e);let r=this.normalize(t);if(r.length)for(let e=0,i=n,o=!0;;e++){let n=r.charCodeAt(e),l=this.match(n,i,o,this.bufferPos+this.bufferStart,e==r.length-1);if(l)return this.value=l,this;if(e==r.length-1)break;o&&e<t.length&&t.charCodeAt(e)==n?i++:o=!1}}}match(e,t,n,r,i){let o=null;for(let t=0;t<this.matches.length;){let n=this.matches[t],l=!1;this.query.charCodeAt(n.index)==e&&(n.index==this.query.length-1?o={from:n.from,to:r,precise:i&&n.precise}:(n.index++,l=!0)),l?t++:this.matches.splice(t,1)}
1return this.query.charCodeAt(0)==e&&(1==this.query.length?o={from:t,to:r,precise:n&&i}:this.matches.push({from:t,index:1,precise:n})),o&&this.test&&!this.test(o.from,o.to,this.buffer,this.bufferStart)&&(o=null),o}}"u">typeof Symbol&&(u.prototype[Symbol.iterator]=function(){return this});let c={from:-1,to:-1,match:/.*/.exec(""),precise:!0},h="gm"+(null==/x/.unicode?"":"u");class d{constructor(e,t,n,r=0,i=e.length){if(this.text=e,this.to=i,this.curLine="",this.done=!1,this.value=c,/\\[sWDnr]|\n|\r|\[\^/.test(t))return new g(e,t,n,r,i);this.re=new RegExp(t,h+((null==n?void 0:n.ignoreCase)?"i":"")),this.test=null==n?void 0:n.test,this.iter=e.iter();let o=e.lineAt(r);this.curLineStart=o.from,this.matchPos=m(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=m(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,precise:!0,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 f=new WeakMap;class p{constructor(e,t){this.from=e,this.text=t}get to(){return this.from+this.text.length}static get(e,t,n){let r=f.get(e);if(!r||r.from>=n||r.to<=t){let r=new p(t,e.sliceString(t,n));return f.set(e,r),r}if(r.from==t&&r.to==n)return r;let{text:i,from:o}=r;return o>t&&(i=e.sliceString(t,o)+i,o=t),r.to<n&&(i+=e.sliceString(r.to,n)),f.set(e,new p(o,i)),new p(t,i.slice(t-o,n-o))}}class g{constructor(e,t,n,r,i){this.text=e,this.to=i,this.done=!1,this.value=c,this.matchPos=m(e,r),this.re=new RegExp(t,h+((null==n?void 0:n.ignoreCase)?"i":"")),this.test=null==n?void 0:n.test,this.flat=p.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,precise:!0,match:t},this.matchPos=m(this.text,n+ +(e==n)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=p.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}function m(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&&(d.prototype[Symbol.iterator]=g.prototype[Symbol.iterator]=function(){return this});let O={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},x=i.sj.define({combine:e=>(0,i.QR)(e,O,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}),b=r.NZ.mark({class:"cm-selectionMatch"}),v=r.NZ.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function y(e,t,n,r){return(0==n||e(t.sliceDoc(n-1,n))!=i.Je.Word)&&(r==t.doc.length||e(t.sliceDoc(r,r+1))!=i.Je.Word)}let k=r.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(x),{state:n}=e,o=n.selection;if(o.ranges.length>1)return r.NZ.none;let l=o.main,s,a=null;if(l.empty){if(!t.highlightWordAroundCursor)return r.NZ.none;let e=n.wordAt(l.head);if(!e)return r.NZ.none;a=n.charCategorizer(l.head),s=n.sliceDoc(e.from,e.to)}else{let e=l.to-l.from;if(e<t.minSelectionLength||e>
1200)return r.NZ.none;if(t.wholeWords){var c,h,d;if(s=n.sliceDoc(l.from,l.to),!(y(a=n.charCategorizer(l.head),n,l.from,l.to)&&(c=a,h=l.from,d=l.to,c(n.sliceDoc(h,h+1))==i.Je.Word&&c(n.sliceDoc(d-1,d))==i.Je.Word)))return r.NZ.none}else if(!(s=n.sliceDoc(l.from,l.to)))return r.NZ.none}let f=[];for(let i of e.visibleRanges){let e=new u(n.doc,s,i.from,i.to);for(;!e.next().done;){let{from:i,to:o}=e.value;if((!a||y(a,n,i,o))&&(l.empty&&i<=l.from&&o>=l.to?f.push(v.range(i,o)):(i>=l.to||o<=l.from)&&f.push(b.range(i,o)),f.length>t.maxMatches))return r.NZ.none}}return r.NZ.set(f)}},{decorations:e=>e.decorations}),w=r.Lz.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),S=i.sj.define({combine:e=>(0,i.QR)(e,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new K(e),scrollToMatch:e=>r.Lz.scrollIntoView(e)})});class C{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,h),!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 E(this):new Q(this)}getCursor(e,t=0,n){let r=e.doc?e:i.$t.create({doc:e});return null==n&&(n=r.doc.length),this.regexp?_(this,r,t,n):$(this,r,t,n)}}class P{constructor(e){this.spec=e}}function $(e,t,n,r){var o,l,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(T(n,e-r))!=i.Je.Word||a(A(n,e-r))!=i.Je.Word)&&(a(A(n,t-r))!=i.Je.Word||a(T(n,t-r))!=i.Je.Word))),e.test&&(o=e.test,l=c,c=(e,n,r,i)=>(!l||!!l(e,n,r,i))&&o(e>=i&&n<=i+r.length?r.slice(e-i,n-i):t.doc.sliceString(e,n),t,e,n)),new u(t.doc,e.unquoted,n,r,e.caseSensitive?void 0:e=>e.toLowerCase(),c)}class Q extends P{constructor(e){super(e)}nextMatch(e,t,n){let r=$(this.spec,e,n,e.doc.length).nextOverlapping();if(r.done){let n=Math.min(e.doc.length,t+this.spec.unquoted.length);r=$(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=$(this.spec,e,n,r),o=null;for(;!i.nextOverlapping().done;)o=i.value;if(o)return o;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=$(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=$(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 _(e,t,n,r){var o,l,s;let a;return e.wholeWord&&(s=t.charCategorizer(t.selection.main.head),a=(e,t,n)=>!n[0].length||(s(T(n.input,n.index))!=i.Je.Word||s(A(n.input,n.index))!=i.Je.Word)&&(s(A(n.input,n.index+n[0].length))!=i.Je.Word||s(T(n.input,n.index+n[0].length))!=i.Je.Word)),e.test&&(o=e.test,l=a,a=(e,n,r)=>(!l||l(e,n,r))&&o(r[0],t,e,n)),new d(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:a},n,r)}function T(e,t){return e.slice((0,i.zK)(e,t,!1),t)}function A(e,t){return e.slice(t,(0,i.zK)(e,t))}class E extends P{nextMatch(e,t,n){let r=_(this.spec,e,n,e.doc.length).next();return r.done&&(r=_(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),o=_(this.spec,e,i,n),l=null;for(;!o.next().done;)l=o.value;if(l&&(i==t||l.from>i+10))return l;if(i==t)return null}}
1prevMatch(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=_(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=_(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 Z=i.Pe.define(),R=i.Pe.define(),j=i.sU.define({create:e=>new M(Y(e).create(),null),update(e,t){for(let n of t.effects)n.is(Z)?e=new M(n.value.create(),e.panel):n.is(R)&&(e=new M(e.query,n.value?F:null));return e},provide:e=>r.S7.from(e,e=>e.panel)});class M{constructor(e,t){this.query=e,this.panel=t}}let L=r.NZ.mark({class:"cm-searchMatch"}),I=r.NZ.mark({class:"cm-searchMatch cm-searchMatch-selected"}),X=r.Z9.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field(j))}update(e){let t=e.state.field(j);(t!=e.startState.field(j)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return r.NZ.none;let{view:n}=this,o=new i.vB;for(let t=0,r=n.visibleRanges,i=r.length;t<i;t++){let{from:l,to:s}=r[t];for(;t<i-1&&s>r[t+1].from-500;)s=r[++t].to;e.highlight(n.state,l,s,(e,t)=>{let r=n.state.selection.ranges.some(n=>n.from==e&&n.to==t);o.add(e,t,r?I:L)})}return o.finish()}},{decorations:e=>e.decorations});function N(e){return t=>{let n=t.state.field(j,!1);return n&&n.query.spec.valid?e(t,n):H(t)}}let V=N((e,{query:t})=>{let{to:n}=e.state.selection.main,r=t.nextMatch(e.state,n,n);if(!r)return!1;let o=i.OF.single(r.from,r.to),l=e.state.facet(S);return e.dispatch({selection:o,effects:[en(e,r),l.scrollToMatch(o.main,e)],userEvent:"select.search"}),W(e),!0}),D=N((e,{query:t})=>{let{state:n}=e,{from:r}=n.selection.main,o=t.prevMatch(n,r,r);if(!o)return!1;let l=i.OF.single(o.from,o.to),s=e.state.facet(S);return e.dispatch({selection:l,effects:[en(e,o),s.scrollToMatch(l.main,e)],userEvent:"select.search"}),W(e),!0}),z=N((e,{query:t})=>{let n=t.matchAll(e.state,1e3);return!!n&&!!n.length&&(e.dispatch({selection:i.OF.create(n.map(e=>i.OF.range(e.from,e.to))),userEvent:"select.search.matches"}),!0)}),q=N((e,{query:t})=>{let{state:n}=e,{from:o,to:l}=n.selection.main;if(n.readOnly)return!1;let s=t.nextMatch(n,o,o);if(!s)return!1;let a=s,u=[],c,h,d=[];a.precise?a.from==o&&a.to==l&&(h=n.toText(t.getReplacement(a)),u.push({from:a.from,to:a.to,insert:h}),a=t.nextMatch(n,a.from,a.to),d.push(r.Lz.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(o).number)+"."))):a=t.nextMatch(n,a.from,a.to);let f=e.state.changes(u);return a&&(c=i.OF.single(a.from,a.to).map(f),d.push(en(e,a)),d.push(n.facet(S).scrollToMatch(c.main,e))),e.dispatch({changes:f,selection:c,effects:d,userEvent:"input.replace"}),!0}),B=N((e,{query:t})=>{if(e.state.readOnly)return!1;let n=[];for(let r of t.matchAll(e.state,1e9)){let{from:e,to:i,precise:o}=r;o&&n.push({from:e,to:i,insert:t.getReplacement(r)})}if(!n.length)return!1;let i=e.state.phrase("replaced $ matches",n.length)+".";return e.dispatch({changes:n,effects:r.Lz.announce.of(i),userEvent:"input.replace.all"}),!0});function F(e){return e.state.facet(S).createPanel(e)}function Y(e,t){var n,r,i,o,l;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 u=e.facet(S);return new C({search:(null!=(n=null==t?void 0:t.literal)?n:u.literal)?a:a.replace(/\n/g,"\\n"),caseSensitive:null!=(r=null==t?void 0:t.caseSensitive)?r:u.caseSensitive,literal:null!=(i=null==t?void 0:t.literal)?i:u.literal,regexp:null!=(o=null==t?void 0:t.regexp)?o:u.regexp,wholeWord:null!=(l=null==t?void 0:t.wholeWord)?l:u.wholeWord})}function U(e){let t=(0,r.ld)(e,F);return t&&t.dom.querySelector("[main-field]")}function W(e){let t=U(e);t&&t==e.root.activeElement&&t.select()}let H=e=>{let t=e.state.field(j,!1);if(t&&t.panel){let n=U(e);if(n&&n!=e.root.activeElement){let r=Y(e.state,t.query.spec);r.valid&&e.dispatch({effects:Z.of(r)}),n.focus(),n.select()}}else e.dispatch({effects:[R.of(!0),t?Z.of(Y(e.state,t.query.spec)):i.Pe.appendConfig.of(ei)]});return!0},G=e=>{let t=e.state.field(j,!1);if(!t||!t.panel)return!1;let n=(0,r.ld)(e,F);return n&&n.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:R.of(!1)}),!0},J=[{key:"Mod-f",run:H,scope:"editor search-panel"},{key:"F3",run:V,shift:D,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:V,shift:D,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:G,scope:"editor search-panel"}
1,{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:o}=n.main,l=[],s=0;for(let t=new u(e.doc,e.sliceDoc(r,o));!t.next().done;){if(l.length>1e3)return!1;t.value.from==r&&(s=l.length),l.push(i.OF.range(t.value.from,t.value.to))}return t(e.update({selection:i.OF.create(l,s),userEvent:"select.search.matches"})),!0}},{key:"Mod-Alt-g",run:e=>{let t=(0,r.rC)(e,"cm-goto-line");if(t){let e=t.dom.querySelector("input[type=text]");return e&&e.select(),!0}let{state:n}=e,o=String(n.doc.lineAt(e.state.selection.main.head).number),{close:l,result:s}=(0,r.ui)(e,{class:"cm-goto-line",label:n.phrase("Go to line"),input:{type:"text",name:"line",value:o},focus:!0,submitLabel:n.phrase("go")});return s.then(t=>{let o=t&&/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(t.elements.line.value);if(!o)return void e.dispatch({effects:l});let s=n.doc.lineAt(n.selection.main.head),[,a,u,c,h]=o,d=c?+c.slice(1):0,f=u?+u:s.number;if(u&&h){let e=f/100;a&&(e=e*("-"==a?-1:1)+s.number/n.doc.lines),f=Math.round(n.doc.lines*e)}else u&&a&&(f=f*("-"==a?-1:1)+s.number);let p=n.doc.line(Math.max(1,Math.min(n.doc.lines,f))),g=i.OF.cursor(p.from+Math.max(0,Math.min(d,p.length)));e.dispatch({effects:[l,r.Lz.scrollIntoView(g.from,{y:"center"})],selection:g})}),!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=i.OF.create(n.ranges.map(t=>e.wordAt(t.head)||i.OF.cursor(t.head)),n.mainIndex);return!r.eq(n)&&(t(e.update({selection:r})),!0)})({state:e,dispatch:t});let o=e.sliceDoc(n[0].from,n[0].to);if(e.selection.ranges.some(t=>e.sliceDoc(t.from,t.to)!=o))return!1;let l=function(e,t){let{main:n,ranges:r}=e.selection,i=e.wordAt(n.head),o=i&&i.from==n.from&&i.to==n.to;for(let n=!1,i=new u(e.doc,t,r[r.length-1].to);;)if(i.next(),i.done){if(n)return null;i=new u(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(o){let t=e.wordAt(i.value.from);if(!t||t.from!=i.value.from||t.to!=i.value.to)continue}return i.value}}(e,o);return!!l&&(t(e.update({selection:e.selection.addRange(i.OF.range(l.from,l.to),!1),effects:r.Lz.scrollIntoView(l.to)})),!0)},preventDefault:!0}];class K{constructor(e){this.view=e;let t=this.query=e.state.field(j).query.spec;function n(e,t,n){return(0,s.A)("button",{class:"cm-button",name:e,onclick:t,type:"button"},n)}this.commit=this.commit.bind(this),this.searchField=(0,s.A)("input",{value:t.search,placeholder:ee(e,"Find"),"aria-label":ee(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=(0,s.A)("input",{value:t.replace,placeholder:ee(e,"Replace"),"aria-label":ee(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=(0,s.A)("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit}),this.reField=(0,s.A)("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit}),this.wordField=(0,s.A)("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit}),this.dom=(0,s.A)("div",{onkeydown:e=>this.keydown(e),class:"cm-search"},[this.searchField,n("next",()=>V(e),[ee(e,"next")]),n("prev",()=>D(e),[ee(e,"previous")]),n("select",()=>z(e),[ee(e,"all")]),(0,s.A)("label",null,[this.caseField,ee(e,"match case")]),(0,s.A)("label",null,[this.reField,ee(e,"regexp")]),(0,s.A)("label",null,[this.wordField,ee(e,"by word")]),...e.state.readOnly?[]:[(0,s.A)("br"),this.replaceField,n("replace",()=>q(e),[ee(e,"replace")]),n("replaceAll",()=>B(e),[ee(e,"replace all")])],(0,s.A)("button",{name:"close",onclick:()=>G(e),"aria-label":ee(e,"close"),type:"button"},["\xd7"])])}commit(){let e=new C({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:Z.of(e)}))}keydown(e){(0,r.TS)(this.view,e,"search-panel")?e.preventDefault():13==e.keyCode&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?D:V)(this.view)):13==e.keyCode&&e.target==this.replaceField&&(e.preventDefault(),q(this.view))}update(e){for(let t of e.transactions)for(let e of t.effects)e.is(Z)&&!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(S).top}}function ee(e,t){return e.state.phrase(t)}let et=/[\s\.,:;?!]/;function en(e,{from:t,to:n}){let i=e.state.doc.lineAt(t),o=e.state.doc.lineAt(n).to,l=Math.max(i.from,t-30),s=Math.min(o,n+30),a=e.state.sliceDoc(l,s);if(l!=i.from){for(let e=0;e<30;e++)if(!et.test(a[e+1])&&et.test(a[e])){a=a.slice(e);break}}if(s!=o){for(let e=a.length-1;e>a.length-30;e--)if(!et.test(a[e-1])&&et.test(a[e])){a=a.slice(0,e);break}}return r.Lz.announce.of(`${e.state.phrase("current match")}. ${a} ${e.state.phrase("on line")} ${i.number}.`)}let er=r.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"}}),ei=[j,i.Nb.low(X),er];var eo=n(7891);
1class el{constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}}class es{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){let o=n.facet(ex).markerFilter;o&&(e=o(e,n));let l=e.slice().sort((e,t)=>e.from-t.from||e.to-t.to),s=new i.vB,a=[],u=0,c=n.doc.iter(),h=0,d=n.doc.length;for(let e=0;;){let t,n,i=e==l.length?null:l[e];if(!i&&!a.length)break;if(a.length)t=u,n=a.reduce((e,t)=>Math.min(e,t.to),i&&i.from>t?i.from:1e8);else{if((t=i.from)>d)break;n=i.to,a.push(i),e++}for(;e<l.length;){let r=l[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,d);let o=!1;if(a.some(e=>e.from==t&&(e.to==n||n==d))&&!(o=t==n)&&n-t<10){let e=t-(h+c.value.length);e>0&&(c.next(e),h=t);for(let e=t;;){if(e>=n){o=!0;break}if(!c.lineBreak&&h+c.value.length>e)break;e=h+c.value.length,h+=c.value.length,c.next()}}let f=e$(a);if(o)s.add(t,t,r.NZ.widget({widget:new ek(f),diagnostics:a.slice()}));else{let e=a.reduce((e,t)=>t.markClass?e+" "+t.markClass:e,"");s.add(t,n,r.NZ.mark({class:"cm-lintRange cm-lintRange-"+f+e,diagnostics:a.slice(),inclusiveEnd:a.some(e=>e.to>n)}))}if((u=n)==d)break;for(let e=0;e<a.length;e++)a[e].to<=u&&a.splice(e--,1)}let f=s.finish();return new es(f,t,ea(f))}}function ea(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 el(r.from,n,r.diagnostic)}else r=new el(e,n,t||i.diagnostics[0])}),r}function eu(e,t){let n=t.pos,r=t.end||n,i=e.state.facet(ex).hideOn(e,n,r);if(null!=i)return i;let o=e.startState.doc.lineAt(t.pos);return!!(e.effects.some(e=>e.is(ec))||e.changes.touchesRange(o.from,Math.max(o.to,r)))}let ec=i.Pe.define(),eh=i.Pe.define(),ed=i.Pe.define(),ef=i.sU.define({create:()=>new es(r.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=ea(n,e.selected.diagnostic,i)||ea(n,null,i)}!n.size&&i&&t.state.facet(ex).autoPanel&&(i=null),e=new es(n,i,r)}for(let n of t.effects)if(n.is(ec)){let r=t.state.facet(ex).autoPanel?n.value.length?eS.open:null:e.panel;e=es.init(n.value,r,t.state)}else n.is(eh)?e=new es(e.diagnostics,n.value?eS.open:null,e.selected):n.is(ed)&&(e=new es(e.diagnostics,e.panel,n.value));return e},provide:e=>[r.S7.from(e,e=>e.panel),r.Lz.decorations.from(e,e=>e.diagnostics)]}),ep=r.NZ.mark({class:"cm-lintRange cm-lintRange-active"});function eg(e,t){return(0,s.A)("ul",{class:"cm-tooltip-lint"},t.map(t=>ey(e,t,!1)))}let em=e=>{let t=e.state.field(ef,!1);return!!t&&!!t.panel&&(e.dispatch({effects:eh.of(!1)}),!0)},eO=[{key:"Mod-Shift-m",run:e=>{var t,n;let o=e.state.field(ef,!1);o&&o.panel||e.dispatch({effects:(t=e.state,n=[eh.of(!0)],t.field(ef,!1)?n:n.concat(i.Pe.appendConfig.of(eA)))});let l=(0,r.ld)(e,eS.open);return l&&l.dom.querySelector(".cm-panel-lint ul").focus(),!0},preventDefault:!0},{key:"F8",run:e=>{let t=e.state.field(ef,!1);if(!t)return!1;let n=e.state.selection.main,i=ea(t.diagnostics,null,n.to+1);return(!!i||!!(i=ea(t.diagnostics,null,0))&&(i.from!=n.from||i.to!=n.to))&&(e.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0}),(0,r.ab)(e,i.from,1,{tooltip:eT,until:e=>e.docChanged||e.newSelection.main.head<i.from||e.newSelection.main.head>i.to}),!0)}}],ex=i.sj.define({combine:e=>({sources:e.map(e=>e.source).filter(e=>null!=e),...(0,i.QR)(e.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{delay:Math.max,markerFilter:eb,tooltipFilter:eb,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 eb(e,t){return e?t?(n,r)=>t(e(n,r),r):e:t}function ev(e){let t=[];if(e)s: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 s}}t.push("")}return t}function ey(e,t,n){var r;let i=n?ev(t.actions):[];return(0,s.A)("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},(0,s.A)("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage(e):t.message),null==(r=t.actions)?void 0:r.map((n,r)=>{let o=!1,l=r=>{if(r.preventDefault(),o)return;o=!0;let i=ea(e.state.field(ef).diagnostics,t);i&&n.apply(e,i.from,i.to)},{name:a}=n,u=i[r]?a.indexOf(i[r]):-1,c=u<0?a:[a.slice(0,u),(0,s.A)("u",a.slice(u,u+1)),a.slice(u+1)],h=n.markClass?" "+n.markClass:"";return(0,s.A)("button",{type:"button",class:"cm-diagnosticAction"+h,onclick:l,onmousedown:l,"aria-label":` Action: ${a}${u<0?"":` (access key "${i[r]})"`}.`},c)}),t.source&&(0,s.A)("div",{class:"cm-diagnosticSource"},t.source))}class ek extends r.xO{constructor(e){super(),this.sev=e}eq(e){return e.sev==this.sev}toDOM(){return(0,s.A)("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class ew{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(0xffffffff*Math.random()).toString(16),this.dom=ey(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class eS{constructor(e){this.view=e,this.items=[];let t=t=>{if(!t.ctrlKey&&!t.altKey&&!t.metaKey){if(27==t.keyCode)em(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=ev(n.actions);for(let i=0;i<r.length;
1i++)if(r[i].toUpperCase().charCodeAt(0)==t.keyCode){let t=ea(this.view.state.field(ef).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,s.A)("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:t,onclick:n}),this.dom=(0,s.A)("div",{class:"cm-panel-lint"},this.list,(0,s.A)("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>em(this.view)},"\xd7")),this.update()}get selectedIndex(){let e=this.view.state.field(ef).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(ef),n=0,r=!1,i=null,o=new Set;for(e.between(0,this.view.state.doc.length,(e,l,{spec:s})=>{for(let e of s.diagnostics){if(o.has(e))continue;o.add(e);let l=-1,s;for(let t=n;t<this.items.length;t++)if(this.items[t].diagnostic==e){l=t;break}l<0?(s=new ew(this.view,e),this.items.splice(n,0,s),r=!0):(s=this.items[l],l>n&&(this.items.splice(n,l-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 ew(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=ea(this.view.state.field(ef).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:ed.of(t)})}static open(e){return new eS(e)}}function eC(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 eP=r.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:eC("#f11")},".cm-lintRange-warning":{backgroundImage:eC("orange")},".cm-lintRange-info":{backgroundImage:eC("#999")},".cm-lintRange-hint":{backgroundImage:eC("#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 e$(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}r.wJ;let eQ=i.Pe.define(),e_=i.sU.define({create:()=>null,update:(e,t)=>
1(e&&t.docChanged&&(e=eu(t,e)?null:{...e,pos:t.changes.mapPos(e.pos)}),t.effects.reduce((e,t)=>t.is(eQ)?t.value:e,e)),provide:e=>r.DK.from(e)}),eT=(0,r.Ux)(function(e,t,n){let{diagnostics:r}=e.state.field(ef),i,o=-1,l=-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,o=e,l=r,!1});let s=e.state.facet(ex).tooltipFilter;return(i&&s&&(i=s(i,e.state)),i)?{pos:o,end:l,above:!0,create:()=>({dom:eg(e,i)})}:null},{hideOn:eu}),eA=[ef,r.Lz.decorations.compute([ef],e=>{let{selected:t,panel:n}=e.field(ef);return t&&n&&t.from!=t.to?r.NZ.set([ep.range(t.from,t.to)]):r.NZ.none}),eT,eP],eE=i.sj.define({combine:e=>(0,i.QR)(e,{hoverTime:300,markerFilter:null,tooltipFilter:null})}),eZ=[(0,r.$K)(),(0,r.Wu)(),(0,r.N$)(),(0,l.b6)(),(0,o.Lv)(),(0,r.VH)(),(0,r.A)(),i.$t.allowMultipleSelections.of(!0),(0,o.WD)(),(0,o.y9)(o.Zt,{fallback:!0}),(0,o.SG)(),(0,eo.wm)(),(0,eo.yU)(),(0,r.D4)(),(0,r.HJ)(),(0,r.dz)(),[w,k],r.w4.of([...eo.Bc,...l.pw,...J,...l.cL,...o.f7,...eo.OO,...eO])]},63692:(e,t,n)=>{"use strict";function r(e){return"&#x"+e.toString(16).toUpperCase()+";"}n.d(t,{T:()=>r})},64191:(e,t,n)=>{"use strict";n.d(t,{X:()=>i});let r=["mdxJsxTextElement","mdxJsxFlowElement"];function i(e){return r.includes(e.type)&&o.includes(e.name)}let o=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","input","ins","kbd","label","legend","li","link","main","map","mark","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]},64755:(e,t,n)=>{"use strict";n(10999)},65484:(e,t,n)=>{"use strict";n.d(t,{FA:()=>r,Ig:()=>l,J6:()=>o,S3:()=>i,Te:()=>a,jG:()=>s,o4:()=>u,sM:()=>c});let r=1,i=2,o=4,l=8,s=16,a=32,u=64,c=128}
1,65948:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(24525);function i(e){return null===e||(0,r.Ee)(e)||(0,r.Ny)(e)?1:(0,r.es)(e)?2:void 0}},66342:(e,t,n)=>{"use strict";n.d(t,{s:()=>l});var r=n(6321),i=n(15278);let o=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function l(e){return e.replace(o,s)}function s(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return(0,i.C)(n.slice(t?2:1),t?16:10)}return(0,r.s)(n)||e}},67448:(e,t,n)=>{"use strict";n.d(t,{l:()=>M});var r=n(53792),i=n(84906);let o={}.hasOwnProperty;var l=n(56748),s=n(20714),a=n(29912),u=n(24525),c=n(4242);function h(e){if(60!==e.charCodeAt(0))return;let t=e.charCodeAt(1);if(33===t){let t=e.charCodeAt(2);return 45===t?2:91===t?5:(0,u.CW)(t)?4:void 0}if(63===t)return 3;let n=47===t,r=n?2:1,i=r,o=e.charCodeAt(i);if(!(0,u.CW)(o))return;for(;45===o||(0,u.lV)(o);)o=e.charCodeAt(++i);let l=e.slice(r,i).toLowerCase();return!n&&47!==o&&c.y.includes(l)?1:c.T.includes(l)?6:7}let d=[function(e,t,n,r){if("code"===t.type&&(0,s.m)(t,r)&&("list"===e.type||e.type===t.type&&(0,s.m)(e,r)))return!1;if("spread"in n&&"boolean"==typeof n.spread){if("paragraph"===e.type&&(e.type===t.type||"definition"===t.type||"heading"===t.type&&(0,a.f)(t,r)))return;if("html"===e.type){let t=h(e.value);if(void 0===t||6===t||7===t)return 1}if("paragraph"===e.type&&"html"===t.type){let e=h(t.value);if(void 0===e||7===e)return 1}return+!!n.spread}}],f=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],p=[{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\n",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\r",before:"[\\r\\n]",inConstruct:"phrasing"},{character:"\r",after:"\\r",inConstruct:"phrasing"},{character:"\n",before:"\\n",inConstruct:"phrasing"},{character:"\n",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:f},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:f},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:"(?:[ \r\n*])"},{character:"*",inConstruct:"phrasing",notInConstruct:f},{atBreak:!0,character:"+",after:"(?:[ \r\n])"},{atBreak:!0,character:"-",after:"(?:[ \r\n-])"},{atBreak:!0,before:"\\d+",character:".",after:"(?:[ \r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:f},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:f},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:f},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:f},{atBreak:!0,character:"~"},{character:"<",inConstruct:"autolink"},{character:">",inConstruct:"autolink"},{character:"�",inConstruct:"autolink"}],g=-1;for(;++g<33;)p.push({character:String.fromCharCode(g),inConstruct:"autolink"});var m=n(66342);function O(e){return e.label||!e.identifier?e.label||"":(0,m.s)(e.identifier)}function x(e){if(!e._compiled){let t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=RegExp((t?"("+t+")":"")+(/[$()*+\-.?[\\\]^{|}]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}var b=n(65948);function v(e){let t=e.codePointAt(0);return void 0===t?"":String.fromCodePoint(t)}function y(e){let t=e.codePointAt(e.length-2);return void 0!==t&&t>65535?e.slice(-2):e.slice(-1)}var k=n(63692);function w(e,t,n){let r=(0,b.S)(e),i=(0,b.S)(t);return void 0===r?void 0===i?"_"===n?{inside:!0,outside:!0}:{inside:!1,outside:!1}:1===i?{inside:!0,outside:!0}:{inside:!1,outside:!0}:1===r?void 0===i?{inside:!1,outside:!1}:1===i?{inside:!0,outside:!0}:{inside:!1,outside:!1}:void 0===i?{inside:!1,outside:!1}:1===i?{inside:!0,outside:!1}:{inside:!1,outside:!1}}let S=new Map([["*",!1],["_",!0]]);
1function C(e,t,n){let r=[],i=new Map,o=new Map,l=0;for(;l<e.length;){if(!e[l].attention){l++;continue}let s=e[l].value.charAt(0),a=S.get(s),u=l+1;for(;u<e.length&&e[u].attention&&e[u].value.charAt(0)===s;)u++;let c=l?e[l-1].value:t,h=(0,b.S)(c.charCodeAt(c.length-1)),d=(0,b.S)((u<e.length?e[u].value:n).charCodeAt(0)),f=!d||2===d&&!!h,p=!h||2===h&&!!d,g={tokens:e.slice(l,u),markers:[],start:0,end:0,open:a?f&&(!!h||!p):f,close:a?p&&(!!d||!f):p,split:void 0!==a};for(let e of g.tokens){i.set(e,[...g.tokens]),o.set(e,g);let t=e.value.length;for(;t--;)g.markers.push(e)}g.end=g.markers.length,r.push(g),l=u}for(function(e,t){let n=0;for(;n<e.length;){let r=e[n],i=r.tokens[0].value.charAt(0),o=r.end-r.start,l=r.close&&o?n:0;for(;l--;){let n=e[l],s=n.end-n.start;if(n.tokens[0].value.charAt(0)===i&&n.open&&s&&(r.split?!((n.close||r.open)&&o%3)||(s+o)%3:s===n.markers.length&&s===o)){let e=r.split?s>1&&o>1?2:1:o,i=n.markers.slice(n.end-e,n.end),l=r.markers.slice(r.start,r.start+e),a=i[0],u=l[0];if(a===i[e-1]&&a.value.length===e&&u===l[e-1]&&u.value.length===e&&a.attention===u.attention)t.delete(a),t.delete(u);else{let e=[...new Set([...i,...l])];for(let n of e){let r=t.get(n);r&&r.push(...e)}}n.end-=e,r.start+=e;break}}(-1===l||r.start===r.end)&&n++}}(r,i),l=-1;++l<e.length;){let t=i.get(e[l]);if(t)return{attention:function(e,t,n){let r=new Set;for(let i of e){let e=n.get(i);if(e&&i.attention&&t.some(e=>e.attention===i.attention))for(let t of e.tokens)r.add(t.attention)}let i=[];for(let t of e)t.attention&&r.delete(t.attention)&&i.push(t.attention);return i.reverse(),i}(e,t,o),index:l}}}function P(e,t){let n=e[t?0:e.length-1];if(!n||n.attention)return;let r=t?v(n.value):y(n.value),i=(0,k.T)(r.codePointAt(0));n.value=t?i+n.value.slice(r.length):n.value.slice(0,n.value.length-r.length)+i}function $(e,t,n,r){let i,o=[],l=y(n),s=-1;for(;++s<e.length;){let n=e[s];if("string"==typeof n){let e={value:n,attention:void 0};i&&i===v(n)&&P([e],!0),i=void 0,o.push(e),e.value&&(l=y(e.value));continue}let a=t.get(n)||n.sequences[0],u=a.charAt(0),c=e[s+1],h=l,d=v(void 0===c?r:"string"==typeof c?c:t.get(c)||c.sequences[0]),f=$(n.children,t,a,a),p=f.length>0?f[0].value:"",g=w(h.charCodeAt(h.length-1),p.charCodeAt(0),u);g.inside&&P(f,!0);let m=f.length>0?y(f[f.length-1].value):"",O=w(d.charCodeAt(0),m.charCodeAt(m.length-1),u);O.inside&&P(f,!1),g.outside&&"\n"!==h&&"\r"!==h&&P(o,!1),O.outside&&(i=d),o.push({value:a,attention:n},...f,{value:a,attention:n}),l=a.charAt(a.length-1)}return o}function Q(e,t,n){let r=new Map,i=$(e,r,t,n),o=i,l=C(o,t,n);for(;l;){let s=function(e,t,n,r,i){for(let o of n.attention){let l=t.get(o)||o.sequences[0];for(let s of o.sequences){if(s===l)continue;let a=new Map(t);a.set(o,s);let u=$(e,a,r,i),c=C(u,r,i);if(!c||c.index>n.index)return{chosen:a,mistake:c,tokens:u}}}}(e,r,l,t,n);if(!s){o=i;break}r=s.chosen,o=s.tokens,l=s.mistake}let s="";for(let e of o)s+=e.value;return s}let _=/\r?\n|\r/g;function T(e,t){let n,r=[],i=0,o=0;for(;n=_.exec(e);)l(e.slice(i,n.index)),r.push(n[0]),i=n.index+n[0].length,o++;return l(e.slice(i)),r.join("");function l(e){r.push(t(e,o,!e))}}var A=n(43599);let E={}.hasOwnProperty;function Z(e,t){return e-t}function R(e,t){let n,r=/\\(?=[!-/:-@[-`{-~])/g,i=[],o=[],l=e+t,s=-1,a=0;for(;n=r.exec(l);)i.push(n.index);for(;++s<i.length;)a!==i[s]&&o.push(e.slice(a,i[s])),o.push("\\"),a=i[s];return o.push(e.slice(a)),o.join("")}function j(e){let t=e||{},n=t.now||{},r=t.lineShift||0,i=n.line||1,o=n.column||1;return{move:function(e){let t=e||"",n=t.split(/\r?\n|\r/g),l=n[n.length-1];return i+=n.length-1,o=1===n.length?o+l.length:1+l.length+r,t},current:function(){return{now:{line:i,column:o},lineShift:r}},shift:function(e){r+=e}}}function M(e,t){let n={associationId:O,bulletCurrent:void 0,bulletLastUsed:void 0,containerPhrasing:N,containerFlow:V,createTracker:j,compilePattern:x,enter:function(e){return n.stack.push(e),function(){n.stack.pop()}},handlers:{...l.p},handle:void 0,indentLines:T,indexStack:[],join:[...d],options:{},safe:D,stack:[],unsafe:[...p]};!function e(t,n){var r,i,l,s;let a,u=-1;if(n.extensions)for(;++u<n.extensions.length;)e(t,n.extensions[u]);for(a in n)if(o.call(n,a))switch(a){case"extensions":break;case"unsafe":case"join":r=t[a],(i=n[a])&&r.push(...i);break;case"handlers":l=t[a],(s=n[a])&&Object.assign(l,s);break;default:t.options[a]=n[a]}return t}(n,t||{}),n.options.tightDefinitions&&n.join.push(X),n.handle=(0,i.A)("type",{invalid:L,unknown:I,handlers:n.handlers});let s=n.handle((0,r.f)(e)?{type:"root",children:[e]}:e,void 0,n,{before:"\n",after:"\n",now:{line:1,column:1},lineShift:0});return s&&10!==s.charCodeAt(s.length-1)&&13!==s.charCodeAt(s.length-1)&&(s+="\n"),s}function L(e){throw Error("Cannot handle value `"+e+"`, expected node")}function I(e){throw Error("Cannot handle unknown node `"+e.type+"`")}function X(e,t){if("definition"===e.type&&e.type===t.type)return 0}function N(e,t){return Q(function e(t,n,r){let i=n.indexStack,o=t.children||[],l=[],s=-1,a=r.before;i.push(-1);let c=n.createTracker(r);for(;++s<o.length;){let d,f=o[s];if(i[i.length-1]=s,s+1<o.length){let e=n.handle.handlers[o[s+1].type];e&&e.peek&&(e=e.peek),d=e?v(e(o[s+1],t,n,{before:"",after:"",...c.current()})):""}else d=r.after;let p=l[l.length-1];"string"==typeof p&&("\r"===a||"\n"===a)&&"html"===f.type&&7!==h(f.value)&&(l[l.length-1]=p.replace(/(\r?\n|\r)$/," "),a=" ",(c=n.createTracker(r)).move(Q(l,r.before,r.after)));let g=n.handle.handlers[f.type];if(g&&g.attention){let{construct:t,markers:r,sizes:i}=g.attention(f,n),o=function(e,t,n){if(0===t.length)throw Error("Cannot serialize `"+e+"` as attention without markers, expected one or more markers");if(0===n.length)throw Error("Cannot serialize `"+e+"` as attention without sizes, expected one or more sizes");for(let t of n)if(!Number.isSafeInteger(t)||t<1)throw Error("Cannot serialize `"+e+"` as attention with `"+t+"` as size, expected positive integer");let r=[];for(let i of t){if(1!==i.length)throw Error("Cannot serialize `"+e+"` as attention with `"+i+"` as marker, expected a single ascii character");if(!(0,u.ol)(i.charCodeAt(0)))throw Error("Cannot serialize `"+e+"` as attention with `"+i+"` as marker, expected ascii punctuation");for(let e of n)r.push(i.repeat(e))}return r}(f.type,r,i),s=o[0],h=n.enter(t);c.move(s);let d=e(f,n,{...c.current(),before:s,after:s});c.move(Q(d,s,s)),c.move(s),h(),l.push({children:d,sequences:o}),a=s.charAt(s.length-1)}else{let e=n.handle(f,t,n,{...c.current(),after:d,before:a});if(!e)continue;c.move(e),l.push(e),a=y(e)}}return i.pop(),l}(e,this,t),t.before,t.after)}function V(e,t){return function(e,t,n){let r=t.indexStack,i=e.children||[],o=t.createTracker(n),l=[],s=-1;for(r.push(-1);++s<i.length;){let n=i[s];r[r.length-1]=s,l.push(o.move(t.handle(n,e,t,{before:"\n",after:"\n",...o.current()}))),"list"!==n.type&&(t.bulletLastUsed=void 0),s<i.length-1&&l.push(o.move(function(e,t,n,r){let i=r.join.length;for(;i--;){let o=r.join[i](e,t,n,r);if(!0===o||1===o)break;if("number"==typeof o)return"\n".repeat(1+o);if(!1===o)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}(n,i[s+1],e,t)))}return r.pop(),l.join("")}(e,this,t)}function D(e,t){return function(e,t,n){let r=(n.before||"")+(t||"")+(n.after||""),i=[],o=[],l={},s=e.stack.includes("autolink"),a=-1;for(;++a<e.unsafe.length;){let t,n=e.unsafe[a];if(!(0,A.q)(e.stack,n))continue;let o=e.compilePattern(n);for(;t=o.exec(r);){let e="before"in n||!!n.atBreak,r="after"in n,o=t.index+(e?t[1].length:0);E.call(l,o)?(l[o].before&&!e&&(l[o].before=!1),l[o].after&&!r&&(l[o].after=!1)):(i.push(o),l[o
1]={before:e,after:r})}}i.sort(Z);let u=n.before?n.before.length:0,c=r.length-(n.after?n.after.length:0),h=u;for(a=-1;++a<i.length;){let e=i[a];if(!(e<h)&&!(e>=c)){if("_"===r.charAt(e)&&e>0&&void 0===(0,b.S)(r.charCodeAt(e-1))&&!E.call(l,e-1)&&!(e-1===u&&/[*_]/.test(r.charAt(u-1)))){let t=e+1;for(;t<c&&"_"===r.charAt(t);)t++;let n=t-e-1;if(i[a+n]===t-1&&t<r.length&&void 0===(0,b.S)(r.charCodeAt(t))&&!E.call(l,t)&&!(t===c-1&&/[*_]/.test(r.charAt(c)))){a+=n;continue}}if((!(e+1<c)||i[a+1]!==e+1||!l[e].after||l[e+1].before||l[e+1].after)&&(i[a-1]!==e-1||!l[e].before||l[e-1].before||l[e-1].after)){if(h!==e){let t=r.slice(h,e);o.push(s?t:R(t,"\\"))}h=e,s?(o.push("%"+r.charCodeAt(e).toString(16).toUpperCase().padStart(2,"0")),h++):!/[!-/:-@[-`{-~]/.test(r.charAt(e))||n.encode&&n.encode.includes(r.charAt(e))?(o.push((0,k.T)(r.charCodeAt(e))),h++):o.push("\\")}}}let d=r.slice(h,c);return o.push(s?d:R(d,n.after)),o.join("")}(this,e,t)}},68127:(e,t,n)=>{"use strict";n.d(t,{I:()=>u});var r=n(7620),i=n(83379),o=n(10391),l=n(6353),s=n(60554);let a={bullet:"format_list_bulleted",number:"format_list_numbered",check:"format_list_checked"},u=({options:e=["bullet","number","check"]})=>{let[t,n,u]=(0,l.uX)(i.SH,s.yr,s.Nn),c=(0,l.qM)(i.Nq),h=(0,s.Bd)(),d={bullet:h("toolbar.bulletedList","Bulleted list"),number:h("toolbar.numberedList","Numbered list"),check:h("toolbar.checkList","Check list")},f=e.map(e=>({value:e,title:d[e],contents:n(a[e])}));return r.createElement(o.fp,{value:t||"",items:f,onChange:c,disabled:u})}},69977:(e,t,n)=>{"use strict";n.d(t,{Db:()=>a,FJ:()=>p,Ou:()=>S,Pm:()=>j,iK:()=>O,k_:()=>g,oP:()=>C,yW:()=>x,zA:()=>f});var r=n(16729),i=n(26874),o=n(82579),l=n(97029);let s=new Set(["http:","https:","mailto:","sms:","tel:"]);class a extends i.fGB{__url;__target;__rel;__title;static getType(){return"link"}static clone(e){return new a(e.__url,{rel:e.__rel,target:e.__target,title:e.__title},e.__key)}constructor(e="",t={},n){super(n);const{target:r=null,rel:i=null,title:o=null}=t;this.__url=e,this.__target=r,this.__rel=i,this.__title=o}afterCloneFrom(e){super.afterCloneFrom(e),this.__url=e.__url,this.__rel=e.__rel,this.__target=e.__target,this.__title=e.__title}createDOM(e){let t=(0,i.A$M)().createElement("a");return this.updateLinkDOM(null,t,e),(0,i.ZB7)(t,e.theme.link),t}updateLinkDOM(e,t,n){if((0,i.nYP)(t))for(let n of(e&&e.__url===this.__url||(t.href=this.sanitizeUrl(this.__url)),["target","rel","title"])){let r=`__${n}`,i=this[r];e&&e[r]===i||(i?t[n]=i:t.removeAttribute(n))}}updateDOM(e,t,n){return this.updateLinkDOM(e,t,n),!1}static importDOM(){return{a:e=>({conversion:d,priority:1})}}static importJSON(e){return f().updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setURL(e.url).setRel(e.rel||null).setTarget(e.target||null).setTitle(e.title||null)}sanitizeUrl(e){let t=e;e=k(e);try{let t=new URL(k(e));if(!s.has(t.protocol))return"about:blank"}catch(n){let e=t.replace(/[\u0000-\u001F\u007F\s]/g,"").match(/^([a-z][a-z0-9+.-]*):/i);if(null!=e&&!s.has(`${e[1].toLowerCase()}:`))return"about:blank"}return e}exportJSON(){return{...super.exportJSON(),rel:this.getRel(),target:this.getTarget(),title:this.getTitle(),url:this.getURL()}}getURL(){return this.getLatest().__url}setURL(e){let t=this.getWritable();return t.__url=e,t}getTarget(){return this.getLatest().__target}setTarget(e){let t=this.getWritable();return t.__target=e,t}getRel(){return this.getLatest().__rel}setRel(e){let t=this.getWritable();return t.__rel=e,t}getTitle(){return this.getLatest().__title}setTitle(e){let t=this.getWritable();return t.__title=e,t}insertNewAfter(e,t=!0){let n=(0,i.CHU)(this);return this.insertAfter(n,t),n}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}canBeEmpty(){return!1}isInline(){return!0}extractWithChild(e,t,n){if(!(0,i.I2P)(t))return!1;let r=t.anchor.getNode(),o=t.focus.getNode();return(this.is(r)||this.isParentOf(r))&&(this.is(o)||this.isParentOf(o))&&t.getTextContent().length>0}isEmailURI(){return this.__url.startsWith("mailto:")}isWebSiteURI(){return this.__url.startsWith("https://")||this.__url.startsWith("http://")}shouldMergeAdjacentLink(e){return this.getType()===e.getType()&&this.__url===e.__url&&this.__target===e.__target&&this.__rel===e.__rel&&this.__title===e.__title}}function u(e){let t=(0,i.Ave)(e,"next");return[t,t.getFlipped()]}function c(e,t){for(let n of t)if(n.origin.isAttached()){let t=(0,i.lSZ)(n);return void(0,i.wp6)(e,t)}}function h(e){let t=(0,i.vJq)(),n=null,r=null;function o(){(0,i.I2P)(t)&&(c(t.anchor,n),c(t.focus,r),(0,i.CaD)(t))}(0,i.I2P)(t)&&(n=u(t.anchor),r=u(t.focus));let l=!1;for(let t of(0,i.uwZ)(e,"next")){let n=t.origin;if((0,i.ff4)(n)&&!n.isInline()){let r=n.getChildren();if(r.length>0){let t=(0,i.CHU)(e);t.append(...r),n.append(t),l=!0}(0,i.rdQ)(n,(0,i.NG9)(t),{$shouldSplit:()=>!1})}}function s(e,t,n){let[r,o]=e,l=e=>(0,i.OpE)(e)&&e.origin.is(t);if(!l(r)&&!l(o))return e;let s=(0,i.lSZ)((0,i.uwZ)(n,"next"));return[s,s.getFlipped()]}if(e.isAttached()){let t=e.getPreviousSibling();if(p(t)&&t.shouldMergeAdjacentLink(e))return n&&(n=s(n,t,e)),r&&(r=s(r,t,e)),t.append(...e.getChildren()),e.remove(),void o();let i=e.getNextSibling();p(i)&&e.shouldMergeAdjacentLink(i)&&(n&&(n=s(n,e,i)),r&&(r=s(r,e,i)),e.append(...i.getChildren()),i.remove(),l=!0)}if(l){if(!e.canBeEmpty()&&e.isEmpty()){let t=e.getParent();e.remove(),t&&t.isEmpty()&&t.remove()}o()}}function d(e){let t=null;if((0,i.nYP)(e)){let n=e.textContent;(null!==n&&""!==n||e.children.length>0)&&(t=f(e.getAttribute("href")||"",{rel:e.getAttribute("rel"),target:e.getAttribute("target"),title:e.getAttribute("title")}))}return{node:t}}function f(e="",t){return(0,i.pTq)(new a(e,t))}function p(e){return e instanceof a}class g extends a{__isUnlinked;constructor(e="",t={},n){super(e,t,n),this.__isUnlinked=void 0!==t.isUnlinked&&null!==t.isUnlinked&&t.isUnlinked}afterCloneFrom(e){super.afterCloneFrom(e),this.__isUnlinked=e.__isUnlinked}static getType(){return"autolink"}static clone(e){return new g(e.__url,{isUnlinked:e.__isUnlinked,rel:e.__rel,target:e.__target,title:e.__title},e.__key)}shouldMergeAdjacentLink(e){return!1}getIsUnlinked(){return this.__isUnlinked}setIsUnlinked(e){let t=this.getWritable();return t.__isUnlinked=e,t}createDOM(e){return this.__isUnlinked?(0,i.A$M)().createElement("span"):super.createDOM(e)}updateDOM(e,t,n){return super.updateDOM(e,t,n)||e.__isUnlinked!==this.__isUnlinked}static importJSON(e){return m().updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setIsUnlinked(e.isUnlinked||!1)}static importDOM(){return null}exportJSON(){return{...super.exportJSON(),isUnlinked:this.__isUnlinked}}insertNewAfter(e,t=!0){let n=m(this.__url,{isUnlinked:this.__isUnlinked,rel:this.__rel,target:this.__target,title:this.__title});return this.insertAfter(n,t),n}}function m(e="",t){return(0,i.pTq)(new g(e,t))}function O(e){return e instanceof g}let x=(0,i.guI)("TOGGLE_LINK_COMMAND");function b(e,t){if("element"===e.type){let n=e.getNode();return(0,i.ff4)(n)||function(...e){let t=new URL("https://lexical.dev/docs/error"),n=new URLSearchParams;for(let t of(n.append("code",252),e))n.append("v",t);throw t.search=n.toString(),Error(`Minified Lexical error #252; visit ${t.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(),n.getChildren()[e.offset+t]||null}return null}function v(e,t={}){let n;if(e&&"object"==typeof e){let{url:r,...i}=e;n=r,t={...i,...t}}else n=e;let{target:r,title:o}=t,l=void 0===t.rel?"noreferrer":t.rel,s=(0,i.vJq)();if(null===s||!(0,i.I2P)(s)&&!(0,i.RTZ)(s))return;if((0,i.RTZ)(s)){let e=s.getNodes();if(0===e.length)return;
1return void e.forEach(e=>{if(null===n){let t=(0,i.BtT)(e,e=>!O(e)&&p(e));t&&(t.insertBefore(e),0===t.getChildren().length&&t.remove())}else{let t=(0,i.BtT)(e,e=>!O(e)&&p(e));if(t)t.setURL(n),void 0!==r&&t.setTarget(r),void 0!==l&&t.setRel(l);else{let t=f(n,{rel:l,target:r});e.insertBefore(t),t.append(e)}}})}if(s.isCollapsed()&&null===n)for(let e of s.getNodes()){let t=(0,i.BtT)(e,e=>!O(e)&&p(e));return void(null!==t&&(t.getParentOrThrow().splice(t.getIndexWithinParent(),0,t.getChildren()),t.remove()))}let a=s.extract();if(null===n){let e=new Set;return void a.forEach(t=>{let n=(0,i.BtT)(t,e=>!O(e)&&p(e));if(null!==n){let t=n.getKey();if(e.has(t))return;!function(e,t){let n=new Set(t.filter(t=>e.isParentOf(t)).map(e=>e.getKey())),r=e.getChildren(),o=r=>n.has(r.getKey())||(0,i.ff4)(r)&&t.some(t=>e.isParentOf(t)&&r.isParentOf(t)),l=r.filter(o);if(l.length===r.length)return r.forEach(t=>e.insertBefore(t)),e.remove();let s=r.findIndex(o),a=r.findLastIndex(o),u=a===r.length-1;if(0===s)l.forEach(t=>e.insertBefore(t));else if(u)for(let t=l.length-1;t>=0;t--)e.insertAfter(l[t]);else{for(let t=l.length-1;t>=0;t--)e.insertAfter(l[t]);let t=r.slice(a+1);if(t.length>0){let n=(0,i.CHU)(e);l[l.length-1].insertAfter(n),t.forEach(e=>n.append(e))}}}(n,a),e.add(t)}})}let u=new Set,c=e=>{u.has(e.getKey())||(u.add(e.getKey()),e.setURL(n),void 0!==r&&e.setTarget(r),void 0!==l&&e.setRel(l),void 0!==o&&e.setTitle(o))};if(1===a.length){let e=a[0],t=(0,i.BtT)(e,p);if(null!==t)return c(t)}!function(e){let t=(0,i.vJq)();if(!(0,i.I2P)(t))return e();let n=(0,i.CaD)(t),r=n.isBackward(),o=b(n.anchor,r?-1:0),l=b(n.focus,r?0:-1);if(e(),o||l){let e=(0,i.vJq)();if((0,i.I2P)(e)){let t=e.clone();if(o){let e=o.getParent();e&&t.anchor.set(e.getKey(),o.getIndexWithinParent()+ +!!r,"element")}if(l){let e=l.getParent();e&&t.focus.set(e.getKey(),l.getIndexWithinParent()+ +!r,"element")}(0,i.n1P)((0,i.CaD)(t))}}}(()=>{let e=null;for(let t of a){if(!t.isAttached())continue;let s=(0,i.BtT)(t,p);if(s){c(s);continue}if((0,i.ff4)(t)){if(!t.isInline())continue;if(p(t)){if(!(O(t)||null!==e&&e.getParentOrThrow().isParentOf(t))){c(t),e=t;continue}for(let e of t.getChildren())t.insertBefore(e);t.remove();continue}}let a=t.getPreviousSibling();p(a)&&a.is(e)?a.append(t):(e=f(n,{rel:l,target:r,title:o}),t.insertAfter(e),e.append(t))}})}let y=/^\+?[0-9\s()-]{5,}$/;function k(e){return e.match(/^[a-z][a-z0-9+.-]*:/i)||e.match(/^[/#.]/)?e:e.includes("@")?`mailto:${e}`:y.test(e)?`tel:${e}`:`https://${e}`}let w=[(0,o.Bu)({$import:(e,t)=>{if(!t.textContent&&0===t.children.length)return[];let n=t.getAttribute("href")||"",r={rel:t.getAttribute("rel"),target:t.getAttribute("target"),title:t.getAttribute("title")};return(0,o.Ah)(e.$importChildren(t),()=>f(n,r))},match:o.VR.tag("a"),name:"@lexical/link/a"})];function S(e,t){return(0,i.Sdt)(e.registerNodeTransform(a,h),e.registerCommand(x,e=>{let n=t.validateUrl.peek(),r=t.attributes.peek();if(null===e)return v(null),!0;if("string"==typeof e)return!(void 0!==n&&!n(e))&&(v(e,r),!0);{let{url:t,target:n,rel:i,title:o}=e;return v(t,{...r,rel:i,target:n,title:o}),!0}},i.jZM),(0,r.QZ)(()=>{let n=t.validateUrl.value;if(!n)return;let r=t.attributes.value;return e.registerCommand(i.waI,t=>{let o=(0,i.vJq)();if(!(0,i.I2P)(o)||o.isCollapsed()||!(0,l.xj)(t,ClipboardEvent)||null===t.clipboardData)return!1;let s=t.clipboardData.getData("text");return!!n(s)&&!o.getNodes().some(e=>(0,i.ff4)(e)||(0,i.kFe)(e)&&!e.isSimpleText())&&(e.dispatchCommand(x,{...r,url:s}),t.preventDefault(),!0)},i.AcJ)}))}function C(e,t=e=>e){return n=>{let r=e.exec(n);return null===r?null:{index:r.index,length:r[0].length,text:r[0],url:t(r[0])}}}function P(e,t){for(let n=0;n<t.length;n++){let r=t[n](e);if(r)return r}return null}o._e,o.Zj,C(/(([^<>()[\]\\.,;:\s@"]{1,64}(\.[^<>()[\]\\.,;:\s@"]{1,64}){0,63})|(".{1,255}"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]{1,63}\.){1,127}[a-zA-Z]{2,63}))/,e=>`mailto:${e}`);let $=/[.,;\s]/;function Q(e,t){var n;return n=e[e.length-1],t.test(n)}function _(e,t){var n;return n=e[0],t.test(n)}function T(e,t){let n=e.getPreviousSibling();return(0,i.ff4)(n)&&(n=n.getLastDescendant()),null===n||(0,i.wH$)(n)||(0,i.kFe)(n)&&Q(n.getTextContent(),t)}function A(e,t){let n=e.getNextSibling();return(0,i.ff4)(n)&&(n=n.getFirstDescendant()),null===n||(0,i.wH$)(n)||(0,i.kFe)(n)&&_(n.getTextContent(),t)}function E(e,t,n,r){let o=e.getChildren(),l=o.length;for(let t=0;t<l;t++){let r=o[t];if(!(0,i.kFe)(r)||!r.isSimpleText())return Z(e),void n(null,e.getURL())}let s=e.getTextContent(),a=P(s,t);if(null===a||a.text!==s||!T(e,r)||!A(e,r))return Z(e),void n(null,e.getURL());let u=e.getURL();if(u!==a.url&&(e.setURL(a.url),n(a.url,u)),a.attributes){let t=e.getRel();t!==a.attributes.rel&&(e.setRel(a.attributes.rel||null),n(a.attributes.rel||null,t));let r=e.getTarget();r!==a.attributes.target&&(e.setTarget(a.attributes.target||null),n(a.attributes.target||null,r))}}function Z(e){let t=e.getChildren();for(let n=t.length-1;n>=0;n--)e.insertAfter(t[n]);return e.remove(),t.map(e=>e.getLatest())}let R={changeHandlers:[],excludeParents:[],matchers:[],separatorRegex:$};function j(e,t=R){let{matchers:n,changeHandlers:r,excludeParents:o,separatorRegex:l=$}
1=t,s=(e,t)=>{for(let n of r)n(e,t)};return(0,i.Sdt)(e.registerNodeTransform(i.Ey8,e=>{let t=e.getParentOrThrow(),r=e.getPreviousSibling();O(t)?E(t,n,s,l):p(t)||o.some(e=>e(t))||(e.isSimpleText()&&(_(e.getTextContent(),l)||!O(r))&&function(e,t,n,r){for(let t of e){let e=t.getParent();if(O(e)&&!e.getIsUnlinked())return}let o=[...e],l=o.map(e=>e.getTextContent()).join(""),s,a=l,u=0;for(;(s=P(a,t))&&null!==s;){let e=s.index,t=e+s.length;if(function(e,t,n,r,i){var o,l;return!!(e>0?(o=r[e-1],n.test(o)):T(i[0],n))&&(t<r.length?(l=r[t],n.test(l)):A(i[i.length-1],n))}(u+e,u+t,r,l,o)){let[r,,l,c]=function(e,t,n){let r=[],i=[],o=[],l=0,s=0,a=[...e];for(;a.length>0;){let e=a[0],u=e.getTextContent().length,c=s;s+u<=t?(r.push(e),l+=u):c>=n?o.push(e):i.push(e),s+=u,a.shift()}return[l,r,i,o]}(o,u+e,u+t),h=!1;for(let e of l){let t=e.getParent();if(O(t)&&!t.getIsUnlinked()){h=!0;break}}if(h){u+=t,a=a.substring(t);continue}let d=function(e,t,n,r){let o=m(r.url,r.attributes);if(1===e.length){let l,s=e[0];0===t?[l,s]=s.splitText(n):[,l,s]=s.splitText(t,n);let a=(0,i.sTu)(r.text);return a.setFormat(l.getFormat()),a.setDetail(l.getDetail()),a.setStyle(l.getStyle()),o.append(a),l.replace(o),s}if(e.length>1){let r,l=e[0],s,a=l.getTextContent().length;0===t?s=l:[,s]=l.splitText(t);let u=[];for(let t=1;t<e.length;t++){let i=e[t],o=i.getTextContent().length,l=a;if(l<n)if(a+o<=n)u.push(i);else{let[e,t]=i.splitText(n-l);u.push(e),r=t}a+=o}let c=(0,i.vJq)(),h=c?c.getNodes().find(i.kFe):void 0,d=(0,i.sTu)(s.getTextContent());return d.setFormat(s.getFormat()),d.setDetail(s.getDetail()),d.setStyle(s.getStyle()),o.append(d,...u),h&&h===s&&((0,i.I2P)(c)?d.select(c.anchor.offset,c.focus.offset):(0,i.RTZ)(c)&&d.select(0,d.getTextContent().length)),s.replace(o),r}}(l,u+e-r,u+t-r,s);o=d?[d,...c]:c,n(s.url,null),u=0}else u+=t;a=a.substring(t)}}(function(e){let t=[e],n=e.getNextSibling();for(;null!==n&&(0,i.kFe)(n)&&n.isSimpleText()&&(t.push(n),!/[\s]/.test(n.getTextContent()));)n=n.getNextSibling();return t}(e),n,s,l),function(e,t,n,r){let i=e.getParent(),o=e.getPreviousSibling(),l=e.getNextSibling(),s=e.getTextContent();if(!O(i)||i.getIsUnlinked()){if(O(o)&&!o.getIsUnlinked()&&o.is(e.getPreviousSibling())&&e.getParent()===o.getParent()){if(!_(s,r))return Z(o),n(null,o.getURL());if(o.isEmailURI()?/^\.[a-zA-Z]{2,}/.test(s):/^\.[a-zA-Z0-9]{1,}/.test(s)){let i=o.getTextContent()+s,l=P(i,t);null!==l&&l.text===i&&(o.append(e),E(o,t,n,r),n(null,o.getURL()))}}!O(l)||l.getIsUnlinked()||Q(s,r)||l.is(e.getNextSibling())&&e.getParent()===l.getParent()&&(Z(l),n(null,l.getURL()))}}(e,n,s,l))}),e.registerCommand(x,e=>{let t=(0,i.vJq)();return null===e&&!!(0,i.I2P)(t)&&(t.extract().forEach(e=>{let t=e.getParent();O(t)&&(t.setIsUnlinked(!t.getIsUnlinked()),t.markDirty())}),!1)},i.AcJ))}},72691:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(7620),i=n(97509),o=n(70488),l=n(66203),s=n(54568),a=Object.defineProperty,u=r.forwardRef(a(function(e,t){let{container:n,...a}=e,[u,c]=r.useState(!1);(0,l.N)(()=>c(!0),[]);let h=n||u&&globalThis?.document?.body;return h?i.createPortal((0,s.jsx)(o.sG.div,{...a,ref:t}),h):null},"name",{value:"Portal",configurable:!0}))},73104:(e,t,n)=>{"use strict";n.d(t,{Pi:()=>w,ZI:()=>
1j,dJ:()=>g,fi:()=>k,jL:()=>x,jd:()=>O,xi:()=>m});var r=n(74897),i=n(16729),o=n(59121),l=n(97029),s=n(26874),a=n(62123),u=n(82579);let c=(0,u.Bu)({$import:(e,t)=>{let n=k(t.nodeName.toLowerCase());return(0,s.dxY)(t,n),(0,s.Sz2)(n,t),(0,s.q3P)(n,t),[n.splice(0,0,e.$importChildren(t))]},match:u.VR.tag("h1","h2","h3","h4","h5","h6"),name:"@lexical/rich-text/heading"}),h=(0,u.Bu)({$import:(e,t)=>{let n=m();return(0,s.Sz2)(n,t),(0,s.dxY)(t,n),(0,s.q3P)(n,t),[n.splice(0,0,e.$importChildren(t))]},match:u.VR.tag("blockquote"),name:"@lexical/rich-text/blockquote"}),d=(u.VR.tag("blockquote"),[c,h,(0,u.Bu)({$import:(e,t,n)=>{let r=t.firstChild;return r&&(0,s.sby)(r)&&"SPAN"===r.nodeName&&"26pt"===r.style.fontSize?e.$importChildren(t):n()},match:u.VR.tag("p"),name:"@lexical/rich-text/google-docs-title-p"}),(0,u.Bu)({$import:(e,t,n)=>"26pt"!==t.style.fontSize?n():[k("h1").splice(0,0,e.$importChildren(t))],match:u.VR.tag("span"),name:"@lexical/rich-text/google-docs-title-span"})]),f=((a.Pc,i.Bw,i.vw,u._e,u.Zj),(0,s.guI)("DRAG_DROP_PASTE_FILE")),p=(0,s.urt)("shadowRoot",{parse:Boolean});class g extends s.fGB{static getType(){return"quote"}static clone(e){return new g(e.__key)}$config(){return this.config("quote",{extends:s.fGB,stateConfigs:[{flat:!0,stateConfig:p}]})}isShadowRoot(){return(0,s.I8X)(this,p)}setIsShadowRoot(e){return(0,s.Chh)(this,p,e)}createDOM(e){let t=(0,s.A$M)().createElement("blockquote");return(0,s.ZB7)(t,e.theme.quote),t}updateDOM(e,t){return!1}static importDOM(){return{blockquote:e=>({conversion:y,priority:0})}}exportDOM(e){let{element:t}=super.exportDOM(e);if((0,s.sby)(t)){this.isEmpty()&&t.append((0,s.A$M)().createElement("br"));let e=this.getFormatType();e&&(t.style.textAlign=e);let n=this.getDirection();n&&(t.dir=n)}return{element:t}}static importJSON(e){return m().updateFromJSON(e)}exportJSON(){return super.exportJSON()}insertNewAfter(e,t){let n=(0,s.lJ7)(),r=this.getDirection();return n.setDirection(r),this.insertAfter(n,t),n}collapseAtStart(){if(this.isShadowRoot()){for(let e of this.getChildren())this.insertBefore(e);return this.remove(),!0}let e=(0,s.lJ7)();
1return this.getChildren().forEach(t=>e.append(t)),this.replace(e),!0}canMergeWhenEmpty(){return!0}}function m(e){let t=(0,s.pTq)(new g);return e&&e.shadowRoot?t.setIsShadowRoot(!0):t}function O(e){return e instanceof g}class x extends s.fGB{__tag;static getType(){return"heading"}static clone(e){return new x(e.__tag,e.__key)}afterCloneFrom(e){super.afterCloneFrom(e),this.__tag=e.__tag}constructor(e="h1",t){super(t),this.__tag=e}getTag(){return this.getLatest().__tag}setTag(e){let t=this.getWritable();return t.__tag=e,t}createDOM(e){let t=this.__tag,n=(0,s.A$M)().createElement(t),r=e.theme.heading;if(void 0!==r){let e=r[t];(0,s.ZB7)(n,e)}return n}updateDOM(e,t,n){return e.__tag!==this.__tag}static importDOM(){return{h1:e=>({conversion:v,priority:0}),h2:e=>({conversion:v,priority:0}),h3:e=>({conversion:v,priority:0}),h4:e=>({conversion:v,priority:0}),h5:e=>({conversion:v,priority:0}),h6:e=>({conversion:v,priority:0}),p:e=>{let t=e.firstChild;return null!==t&&b(t)?{conversion:()=>({node:null}),priority:3}:null},span:e=>b(e)?{conversion:e=>({node:k("h1")}),priority:3}:null}}exportDOM(e){let{element:t}=super.exportDOM(e);if((0,s.sby)(t)){this.isEmpty()&&t.append((0,s.A$M)().createElement("br"));let e=this.getFormatType();e&&(t.style.textAlign=e);let n=this.getDirection();n&&(t.dir=n)}return{element:t}}static importJSON(e){return k(e.tag).updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setTag(e.tag)}exportJSON(){return{...super.exportJSON(),tag:this.getTag()}}insertNewAfter(e,t=!0){let n=e?e.anchor.offset:0,r=this.getLastDescendant(),i=r&&(!e||e.anchor.key!==r.getKey()||n!==r.getTextContentSize())&&e?k(this.getTag()):(0,s.lJ7)(),o=this.getDirection();if(i.setDirection(o),this.insertAfter(i,t),0===n&&!this.isEmpty()&&e){let e=(0,s.lJ7)();e.select(),this.replace(e,!0)}return i}collapseAtStart(){if(this.isEmpty()){let e=(0,s.lJ7)();
1this.getChildren().forEach(t=>e.append(t)),this.replace(e)}return!0}extractWithChild(){return!0}}function b(e){return"span"===e.nodeName.toLowerCase()&&"26pt"===e.style.fontSize}function v(e){let t=e.nodeName.toLowerCase(),n=null;return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t||(n=k(t),(0,s.dxY)(e,n),(0,s.Sz2)(n,e),(0,s.q3P)(n,e)),{node:n}}function y(e){let t=m();return(0,s.Sz2)(t,e),(0,s.dxY)(e,t),(0,s.q3P)(t,e),{node:t}}function k(e="h1"){return(0,s.pTq)(new x(e))}function w(e){return e instanceof x}function S(e){let t=(0,s.xL4)(e);return(0,s.Cyw)(t)}function C(e,t,n,r){let i=!1,o=null;if(e.isCollapsed()&&"text"===e.anchor.type){let t=e.anchor.getNode();if((0,s.kFe)(t)){o=t;let r=e.anchor.offset,l=r===t.getTextContentSize()&&null===t.getNextSibling(),s=0===r&&null===t.getPreviousSibling();i="end"===n&&l||"start"===n&&s||"both"===n&&(l||s)}}let l=!1;for(let[n,a]of Object.entries(r))if(null!=a&&a[t]){if(a.onlyAtBoundary){if(!(i&&o&&(0,s.kFe)(o)&&o.hasFormat(n)))continue;l=!0}e.hasFormat(n)&&e.toggleFormat(n)}l&&e.setStyle("")}let P={capitalize:{enter:!0,space:!0,tab:!0},lowercase:{enter:!0,space:!0,tab:!0},uppercase:{enter:!0,space:!0,tab:!0}};function $(e,t){return function(e,t){if(!e.isCollapsed())return!1;let n=(0,s.Ave)(e.focus,t),r=(0,s.BtT)(n.origin,s.TQ);if(!r)return!1;let i=e.focus.getNode();if(!r.is(i)&&!(0,s.ELr)(i,r))return!1;let o=(0,s.TJt)(n,(0,s.IlV)(r,t));if(o.getTextSlices().some(e=>e&&e.getTextContentSize()>0))return!1;let l=(0,s.TJt)(o.anchor.getSiblingCaret(),o.focus),a=l.anchor.origin;for(let e of l){if(!(0,s.OpE)(e)||!e.origin.is(a.getParent()))return!1;a=e.origin}let u=r;for(let e of(0,s.mWO)((0,s.IlV)(r,t))){if(!e.origin.is(u.getParent())){if((0,s.jj2)(e.origin)){let e=(0,s.IlV)(u,t);return(0,s.xQ8)((0,s.TJt)(e,e)),!0}break}if(!(0,s.TQ)(e.origin))break;u=e.origin}return!1}(e,t)||function(e,t){if(!e.isCollapsed()||"element"!==e.anchor.type)return!1;let n=(0,s.Ave)(e.anchor,t).getNodeAtCaret();return!(!(0,s.TQ)(n)||n.isInline()||((0,s.xQ8)((0,s.sWS)((0,s.lSZ)((0,s.uwZ)(n,t)))),0))}(e,t)}function Q(e){return(0,s.Cyw)(e)&&!e.isInline()&&!e.isIsolated()&&e.isKeyboardSelectable()}function _(e){let t=(0,s.rUs)();t.add(e),(0,s.n1P)(t)}function T(e,t){if(!e.isCollapsed())return!1;let n=e.focus,r=n.getNode(),i=t?"previous":"next",o=(0,s.Ave)(n,i);if("element"===n.type&&(0,s.ff4)(r)&&((0,s.hVZ)(r)||(0,s.TQ)(r))){let e=o.getNodeAtCaret();return!(null===e||!Q(e))&&(_(e.__key),!0)}let l=(0,s.BtT)((0,s.ff4)(r)?r:r.getParentOrThrow(),e=>(0,s.ff4)(e)&&!e.isInline()&&(0,s.IqF)(e.getParent()));if(null===l)return!1;let a=(0,s.IlV)(l,i).getNodeAtCaret();if(null===a||!Q(a))return!1;if(0===l.getTextContentSize())return _(a.__key),!0;let u=(0,s.i0_)().getRootElement();if(null===u)return!1;let c=(0,s.peL)(u.ownerDocument.defaultView);if(null===c||0===c.rangeCount)return!1;let h=c.anchorNode,d=c.anchorOffset,f=c.focusNode,p=c.focusOffset;c.modify("move",t?"backward":"forward","line");let g=c.anchorNode,m=c.anchorOffset;if(null===g)return A(c,h,d,f,p),!1;let O=(0,s.xL4)(g);return A(c,h,d,f,p),null!==O&&(g===h&&m===d?(_(a.__key),!0):!O.is(l)&&!(0,s.ELr)(O,l)&&(_(a.__key),!0))}function A(e,t,n,r,i){null!==t&&null!==r&&e.setBaseAndExtent(t,n,r,i)}function E(e,t){if(!e.isCollapsed())return!1;let n=e.focus.getNode(),i=(0,s.BtT)((0,s.ff4)(n)?n:n.getParentOrThrow(),e=>(0,s.ff4)(e)&&!e.isInline());if(null===i)return!1;let o=(0,s.i0_)(),l=o.getRootElement();if(null===l)return!1;let a=l.ownerDocument.defaultView;if(null===a)return!1;let u=!1;for(let e of i.getChildren())if((0,s.ff4)(e)&&e.isInline()){let t=o.getElementByKey(e.getKey());if(null!==t){let e=a.getComputedStyle(t).display;if("inline-grid"===e||"inline-flex"===e){u=!0;break}}}if(!u)return!1;let c=(0,s.IlV)(i,t?"previous":"next").getNodeAtCaret();if(null===c||!(0,s.ff4)(c)){if(t){let e=i.getFirstDescendant();(0,s.kFe)(e)?e.select(0,0):i.select(0,0)}else{let e=i.getLastDescendant();if((0,s.kFe)(e)){let t=e.getTextContentSize();e.select(t,t)}else{let e=i.getChildrenSize();i.select(e,e)}}return!0}let h=o.getElementByKey(c.getKey());if(null===h)return!1;let d=(0,s.peL)(a);if(null===d||0===d.rangeCount)return!1;let f=d.getRangeAt(0).cloneRange();f.collapse(!0);let p=f.getBoundingClientRect(),g=h.getBoundingClientRect(),m=g.top+g.height/2;if(p.height>0){let t=(0,r.go)(p.left,m,l);if(null!==t&&h.contains(t.node)){let n=l.ownerDocument.createRange();return n.setStart(t.node,t.offset),n.collapse(!0),e.applyDOMRange(n),e.dirty=!0,!0}}let O=t?c.getLastDescendant():c.getFirstDescendant();if((0,s.kFe)(O)){let e=t?O.getTextContentSize():0;O.select(e,e)}else{let e=c.getChildrenSize();c.select(t?e:0,t?e:0)}return!0}function Z(e,t){let n=(0,s.IlV)(e,t),r=n.getAdjacentCaret();null!==r&&(0,s.ff4)(r.origin)&&!r.origin.isInline()&&r.origin.isShadowRoot()?(0,s.x
1Q8)((0,s.sWS)(n)):"next"===t?e.selectNext(0,0):e.selectPrevious()}function R(e,t,n){n.preventDefault(),n.stopPropagation();let r=e.getNodes();if(0===r.length)return!0;let i=r.map(e=>(0,s.IlV)(e,"next")).sort(s.AcB),o=(t?i[0]:i[i.length-1]).origin,l=(0,s.BtT)(o,e=>e!==o&&(0,s.ff4)(e)&&!e.isInline())??(0,s.NiT)(),a=t?0:l.getChildrenSize();return l.select(a,a),!0}function j(e,t=(0,i.vP)(P)){return(0,s.Sdt)(e.registerCommand(s.d8p,()=>{let e=(0,s.vJq)();return(0,s.RTZ)(e)?(e.clear(),!0):((0,s.I2P)(e)&&C(e,"click","both",t.peek()),!1)},s.jZM),e.registerCommand(s.WuB,e=>{let t=(0,s.vJq)();return(0,s.I2P)(t)?(t.deleteCharacter(e),!0):!!(0,s.RTZ)(t)&&(t.deleteNodes(),!0)},s.jZM),e.registerCommand(s.hi0,e=>{let t=(0,s.vJq)();return!!(0,s.I2P)(t)&&(t.deleteWord(e),!0)},s.jZM),e.registerCommand(s.viC,e=>{let t=(0,s.vJq)();return!!(0,s.I2P)(t)&&(t.deleteLine(e),!0)},s.jZM),e.registerCommand(s.bM3,t=>{let n=(0,s.vJq)();if("string"==typeof t)null!==n&&n.insertText(t);else{if(null===n)return!1;let i=t.dataTransfer;if(null!=i)(0,r.Bi)(i,n,e);else if((0,s.I2P)(n)){let e=t.data;return e&&n.insertText(e),!0}}return!0},s.jZM),e.registerCommand(s.$ey,()=>{let e=(0,s.vJq)();return!!(0,s.I2P)(e)&&(e.removeText(),!0)},s.jZM),e.registerCommand(s.mB,e=>{let t=(0,s.vJq)();return!(!(0,s.I2P)(t)&&!(0,s.RTZ)(t))&&((0,s.hVL)(t,e),!0)},s.jZM),e.registerCommand(s.hkE,e=>{let t=(0,s.vJq)();return!(!(0,s.I2P)(t)&&!(0,s.RTZ)(t))&&((0,s.Htb)(t,e),!0)},s.jZM),e.registerCommand(s.fUS,e=>{let t=(0,s.vJq)();if(!(0,s.I2P)(t)&&!(0,s.RTZ)(t))return!1;for(let n of t.getNodes()){let t=(0,s.BtT)(n,e=>(0,s.ff4)(e)&&!e.isInline());null!==t&&t.setFormat(e)}return!0},s.jZM),e.registerCommand(s.FEN,e=>{let t=(0,s.vJq)();return!!(0,s.I2P)(t)&&(t.insertLineBreak(e),!0)},s.jZM),e.registerCommand(s.XKQ,()=>{let e=(0,s.vJq)();return!!(0,s.I2P)(e)&&(e.insertParagraph(),!0)},s.jZM),e.registerCommand(s.YW5,()=>{let e=(0,s.ev7)(),t=(0,s.vJq)();return(0,s.I2P)(t)&&(e.setFormat(t.format),e.setStyle(t.style)),(0,s.H2A)([e]),!0},s.jZM),e.registerCommand(s.PiT,()=>(0,l.Jy)(e=>{let t=e.getIndent();e.setIndent(t+1)}),s.jZM),e.registerCommand(s.sik,()=>(0,l.Jy)(e=>{let t=e.getIndent();t>0&&e.setIndent(Math.max(0,t-1))}),s.jZM),e.registerCommand(s.UDz,e=>{let t=(0,s.vJq)();if((0,s.RTZ)(t)){let n=t.getNodes();if(n.length>0)return e.preventDefault(),Z(n[0],"previous"),!0}else if((0,s.I2P)(t)&&(!e.shiftKey&&$(t,"previous")||!e.shiftKey&&T(t,!0)||!e.shiftKey&&E(t,!0)))return e.preventDefault(),!0;return!1},s.jZM),e.registerCommand(s.bbF,e=>{let t=(0,s.vJq)();if((0,s.RTZ)(t)){let n=t.getNodes();if(n.length>0)return e.preventDefault(),Z(n[0],"next"),!0}else if((0,s.I2P)(t)){let n;if("root"===(n=t.focus).key&&n.offset===(0,s.NiT)().getChildrenSize()||!e.shiftKey&&$(t,"next")||!e.shiftKey&&T(t,!1)||!e.shiftKey&&E(t,!1))return e.preventDefault(),!0}return!1},s.jZM),e.registerCommand(s.AX0,e=>{let n=(0,s.vJq)();if((0,s.RTZ)(n)){let t=n.getNodes();if(t.length>0)return e.preventDefault(),Z(t[0],(0,o.dt)(t[0])?"next":"previous"),!0}if(!(0,s.I2P)(n))return!1;if(!e.shiftKey&&$(n,(0,o.dt)(n.anchor.getNode())?"next":"previous"))return e.preventDefault(),!0;if(e.shiftKey||C(n,"arrow","start",t.peek()),(0,o.Cb)(n,!0)){let t=e.shiftKey;return e.preventDefault(),(0,o.Rk)(n,t,!0),!0}return!1},s.jZM),e.registerCommand(s.JM3,e=>{let n=(0,s.vJq)();if((0,s.RTZ)(n)){let t=n.getNodes();if(t.length>0)return e.preventDefault(),Z(t[0],(0,o.dt)(t[0])?"previous":"next"),!0}if(!(0,s.I2P)(n))return!1;if(!e.shiftKey&&$(n,(0,o.dt)(n.anchor.getNode())?"previous":"next"))return e.preventDefault(),!0;if(e.shiftKey||C(n,"arrow","end",t.peek()),(0,o.Cb)(n,!1)){let t=e.shiftKey;return e.preventDefault(),(0,o.Rk)(n,t,!1),!0}return!1},s.jZM),e.registerCommand(s.gCZ,t=>{let n=(0,s.vJq)();if(!(0,s.RTZ)(n)&&S(t.target))return!1;if((0,s.I2P)(n)){if(function(e){if(!e.isCollapsed())return!1;let{anchor:t}=e;if(0!==t.offset)return!1;let n=t.getNode();if((0,s.hVZ)(n))return!1;let r=(0,l.mB)(n);return r.getIndent()>0&&(r.is(n)||n.is(r.getFirstDescendant()))}(n))return t.preventDefault(),e.dispatchCommand(s.sik,void 0);if(s.pz6&&s.aT4)return!1}else if(!(0,s.RTZ)(n))return!1;return t.preventDefault(),e.dispatchCommand(s.WuB,!0)},s.jZM),e.registerCommand(s.w$Z,t=>{let n=(0,s.vJq)();return!(!(0,s.RTZ)(n)&&S(t.target))&&!(!(0,s.I2P)(n)&&!(0,s.RTZ)(n))&&(t.preventDefault(),e.dispatchCommand(s.WuB,!1))},s.jZM),e.registerCommand(s.RTo,n=>{let r=(0,s.vJq)();if((0,s.RTZ)(r)){let e=r.getNodes();1===e.length&&(0,s.Cyw)(e[0])&&!e[0].isInline()&&(r=e[0].selectNext())}if(!(0,s.I2P)(r))return!1;if(C(r,"enter","both",t.peek()),null!==n){if((s.pz6||s.YwR||s.DzG)&&s.aT4)return!1;if(n.preventDefault(),n.shiftKey)return e.dispatchCommand(s.FEN,!1)}return e.dispatchCommand(s.XKQ,void 0)},s.jZM),e.registerCommand(s.Q$N,()=>{let t=(0,s.vJq)();return!!(0,s.I2P)(t)&&(e.blur(),!0)},s.jZM),e.registerCommand(s.Sr4,t=>{let[,n]=(0,l.gA)(t);if(n.length>0){let i=t.clientX,o=t.clientY,l=(0,r.go)(i,o,e.getRootElement());if(null!==l){let{offset:t,node:r}=l,i=(0,s.xL4)(r);if(null!==i){let e=(0,s.uTE)();if((0,s.kFe)(i))e.anchor.set(i.getKey(),t,"text"),e.focus.set(i.getKey(),t,"text");else{let t=i.getParentOrThrow().getKey(),n=i.getIndexWithinParent()+1;e.anchor.set(t,n,"element"),e.focus.set(t,n,"element")}let n=(0,s.CaD)(e);(0,s.n1P)(n)}e.dispatchCommand(f,n)}return t.preventDefault(),!0}return(0,r.jL)(t,e)},s.jZM),e.registerCommand(s.TgX,t=>{let[n]=(0,l.gA)(t),i=(0,s.vJq)();return!(n&&!(0,s.I2P)(i))&&((0,s.I2P)(i)&&!i.isCollapsed()&&null!==t.dataTransfer&&((0,r._R)(t.dataTransfer,(0,r.xg)(i)),(0,r.dF)(t.dataTransfer,e)),!0)},s.jZM),e.registerCommand(s.riq,t=>{let[n]=(0,l.gA)(t),i=(0,s.vJq)();if(n&&!(0,s.I2P)(i))return!1;let o=t.clientX,a=t.clientY,u=(0,r.go)(o,a,e.getRootElement());if(null!==u){let e=(0,s.xL4)(u.node);(0,s.Cyw)(e)&&t.preventDefault()}return!0},s.jZM),e.registerCommand(s.HYn,()=>{let e=(0,s.vJq)();return(0,s.e1k)((0,s.I2P)(e)&&null!==(0,s.ex6)(e.anchor.getNode())?e:null),!0},s.jZM),e.registerCommand(s.u5G,t=>((0,r.lW)(e,(0,l.xj)(t,ClipboardEvent)?t:null),!0),s.jZM),e.registerCommand(s.VSO,t=>((async function(e,t){await (0,r.lW)(t,(0,l.xj)(e,ClipboardEvent)?e:null),t.update(()=>{let e=(0,s.vJq)();
1(0,s.I2P)(e)?e.removeText():(0,s.RTZ)(e)&&e.getNodes().forEach(e=>e.remove())},{tag:s.Ap3})})(t,e),!0),s.jZM),e.registerCommand(s.waI,t=>{let[,n,i]=(0,l.gA)(t);return n.length>0&&!i?(e.dispatchCommand(f,n),!0):!((0,s.vAA)(t.target)&&(0,s.Pl0)(t.target))&&null!==(0,s.vJq)()&&(t.preventDefault(),e.update(()=>{let n=(0,s.vJq)(),i=(0,l.xj)(t,InputEvent)||(0,l.xj)(t,KeyboardEvent)?null:t.clipboardData;null!=i&&null!==n&&(0,r.Bi)(i,n,e)},{tag:s.fwY}),!0)},s.jZM),e.registerCommand(s.Huu,()=>{let e=(0,s.vJq)();return(0,s.I2P)(e)&&C(e,"space","both",t.peek()),!1},s.jZM),e.registerCommand(s.OXk,()=>{let e=(0,s.vJq)();return(0,s.I2P)(e)&&C(e,"tab","both",t.peek()),!1},s.jZM),e.registerCommand(s.A6j,e=>{let t=(0,s.vJq)();if((0,s.RTZ)(t))return R(t,!1,e);if(!(0,s.I2P)(t))return!1;let{anchor:n}=t;if("element"!==n.type||0!==n.offset)return!1;let r=n.getNode();if(!(0,s.ff4)(r))return!1;let i=r.getFirstChild();if(!(0,s.Cyw)(i)||!i.isInline())return!1;let o=r.getKey(),l=r.selectEnd();return e.shiftKey&&l.anchor.set(o,0,"element"),e.preventDefault(),e.stopPropagation(),!0},s.jZM),e.registerCommand(s.RpX,e=>{let t=(0,s.vJq)();if((0,s.RTZ)(t))return R(t,!0,e);if(!(0,s.I2P)(t))return!1;let{anchor:n,focus:r}=t,i=(0,s.BtT)(r.getNode(),e=>(0,s.ff4)(e)&&!e.isInline());if(null===i)return!1;let o=i.getFirstChild();if(!(0,s.Cyw)(o)||!o.isInline()||(0,s.BtT)(n.getNode(),e=>(0,s.ff4)(e)&&!e.isInline())!==i)return!1;let l=i.getKey();return("element"!==r.type||r.key!==l||0!==r.offset)&&(t.focus.set(l,0,"element"),e.shiftKey||t.anchor.set(l,0,"element"),e.preventDefault(),e.stopPropagation(),!0)},s.jZM))}},73240:(e,t,n)=>{"use strict";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})},73878:(e,t,n)=>{"use strict";n.d(t,{Kq:()=>W,UC:()=>K,ZL:()=>J,bL:()=>H,i3:()=>ee,l9:()=>G});var r=n(7620),i=n(41074),o=n(89324),l=n(3678),s=n(13141),a=n(86476),u=n(3924),c=n(72691),h=n(40444),d=n(70488),f=n(81541),p=n(88932),g=n(66203),m=n(12687),O=n(54568),x=Object.defineProperty,b=(e,t)=>x(e,"name",{value:t,configurable:!0}),[v,y]=(0,l.A)("Tooltip",[u.Bk]),k=(0,u.Bk)(),w="tooltip.open",[S,C]=v("TooltipProvider"),P=b(e=>{let{__scopeTooltip:t,delayDuration:n=700,skipDelayDuration:i=300,disableHoverableContent:o=!1,children:l}=e,s=r.useRef(!0),a=r.useRef(!1),u=r.useRef(0);return r.useEffect(()=>{let e=u.current;return()=>window.clearTimeout(e)},[]),(0,O.jsx)(S,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:r.useCallback(()=>{i<=0||(window.clearTimeout(u.current),s.current=!1)},[i]),onClose:r.useCallback(()=>{i<=0||(window.clearTimeout(u.current),u.current=window.setTimeout(()=>s.current=!0,i))},[i]),isPointerInTransitRef:a,onPointerInTransitChange:r.useCallback(e=>{a.current=e},[]),disableHoverableContent:o,children:l})},"TooltipProvider"),$="Tooltip",[Q,_]=v($),T=b(e=>{let{__scopeTooltip:t,children:n,open:i,defaultOpen:o,onOpenChange:l,disableHoverableContent:s,delayDuration:c}=e,h=C($,e.__scopeTooltip),d=k(t),[f,g]=r.useState(null),[m,x]=r.useState(void 0),v=(0,a.B)(),y=r.useRef(0),S=s??h.disableHoverableContent,P=c??h.delayDuration,_=r.useRef(!1),[T,A]=(0,p.i)({prop:i,defaultProp:o??!1,onChange:b(e=>{e?(h.onOpen(),document.dispatchEvent(new CustomEvent(w))):h.onClose(),l?.(e)},"onChange"),caller:$}),E=r.useMemo(()=>T?_.current?"delayed-open":"instant-open":"closed",[T]),Z=r.useCallback(()=>{window.clearTimeout(y.current),y.current=0,_.current=!1,A(!0)},[A]),R=r.useCallback(()=>{window.clearTimeout(y.current),y.current=0,A(!1)},[A]),j=r.useCallback(()=>{window.clearTimeout(y.current),y.current=window.setTimeout(()=>{_.current=!0,A(!0),y.current=0},P)},[P,A]);return r.useEffect(()=>()=>{y.current&&(window.clearTimeout(y.current),y.current=0)},[]),(0,O.jsx)(u.bL,{...d,children:(0,O.jsx)(Q,{scope:t,contentId:m??v,setContentId:x,open:T,stateAttribute:E,trigger:f,onTriggerChange:g,onTriggerEnter:r.useCallback(()=>{h.isOpenDelayedRef.current?j():Z()},[h.isOpenDelayedRef,j,Z]),onTriggerLeave:r.useCallback(()=>{S?R():(window.clearTimeout(y.current),y.current=0)},[R,S]),onOpen:Z,onClose:R,disableHoverableContent:S,children:n})})},"Tooltip"),A="TooltipTrigger",E=r.forwardRef(b(function(e,t){let{__scopeTooltip:n,...l}
1=e,s=_(A,n),a=C(A,n),c=k(n),h=r.useRef(null),f=(0,o.s)(t,h,s.onTriggerChange),p=r.useRef(!1),g=r.useRef(!1),m=r.useCallback(()=>p.current=!1,[]);return r.useEffect(()=>()=>document.removeEventListener("pointerup",m),[m]),(0,O.jsx)(u.Mz,{asChild:!0,...c,children:(0,O.jsx)(d.sG.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...l,ref:f,onPointerMove:(0,i.mK)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(g.current||a.isPointerInTransitRef.current||(s.onTriggerEnter(),g.current=!0))}),onPointerLeave:(0,i.mK)(e.onPointerLeave,()=>{s.onTriggerLeave(),g.current=!1}),onPointerDown:(0,i.mK)(e.onPointerDown,()=>{s.open&&s.onClose(),p.current=!0,document.addEventListener("pointerup",m,{once:!0})}),onFocus:(0,i.mK)(e.onFocus,()=>{p.current||s.onOpen()}),onBlur:(0,i.mK)(e.onBlur,s.onClose),onClick:(0,i.mK)(e.onClick,s.onClose)})})},"TooltipTrigger")),Z="TooltipPortal",[R,j]=v(Z,{forceMount:void 0}),M=b(e=>{let{__scopeTooltip:t,forceMount:n,children:r,container:i}=e,o=_(Z,t);return(0,O.jsx)(R,{scope:t,forceMount:n,children:(0,O.jsx)(h.C,{present:n||o.open,children:(0,O.jsx)(c.Z,{asChild:!0,container:i,children:r})})})},"TooltipPortal"),L="TooltipContent",I=r.forwardRef(b(function(e,t){let n=j(L,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...o}=e,l=_(L,e.__scopeTooltip);return(0,O.jsx)(h.C,{present:r||l.open,children:l.disableHoverableContent?(0,O.jsx)(V,{side:i,...o,ref:t}):(0,O.jsx)(X,{side:i,...o,ref:t})})},"TooltipContent")),X=r.forwardRef(b(function(e,t){let n=_(L,e.__scopeTooltip),i=C(L,e.__scopeTooltip),l=r.useRef(null),s=(0,o.s)(t,l),[a,u]=r.useState(null),{trigger:c,onClose:h}=n,d=l.current,{onPointerInTransitChange:f}=i,p=r.useCallback(()=>{u(null),f(!1)},[f]),g=r.useCallback((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},i=z(r,n.getBoundingClientRect());u(Y([...q(r,i),...B(t.getBoundingClientRect())])),f(!0)},[f]);return r.useEffect(()=>()=>p(),[p]),r.useEffect(()=>{if(c&&d){let e=b(e=>g(e,d),"handleTriggerLeave"),t=b(e=>g(e,c),"handleContentLeave");return c.addEventListener("pointerleave",e),d.addEventListener("pointerleave",t),()=>{c.removeEventListener("pointerleave",e),d.removeEventListener("pointerleave",t)}}},[c,d,g,p]),r.useEffect(()=>{if(a){let e=b(e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=c?.contains(t)||d?.contains(t),i=!F(n,a);r?p():i&&(p(),h())},"handleTrackPointerGrace");return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[c,d,a,h,p]),(0,O.jsx)(V,{...e,ref:s})},"TooltipContentHoverable")),N=(0,f.Dc)("TooltipContent"),V=r.forwardRef(b(function(e,t){let{__scopeTooltip:n,children:i,"aria-label":o,id:l,onEscapeKeyDown:a,onPointerDownOutside:c,...h}=e,d=_(L,n),f=k(n),{onClose:p}=d;r.useEffect(()=>(document.addEventListener(w,p),()=>document.removeEventListener(w,p)),[p]),r.useEffect(()=>{if(d.trigger){let e=b(e=>{e.target instanceof Node&&e.target.contains(d.trigger)&&p()},"handleScroll");return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[d.trigger,p]);let{setContentId:x}=d;return(0,g.N)(()=>(x(l),()=>{x(void 0)}),[l,x]),(0,O.jsx)(s.qW,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:c,onFocusOutside:e=>e.preventDefault(),onDismiss:p,children:(0,O.jsxs)(u.UC,{"data-state":d.stateAttribute,role:o?void 0:"tooltip",id:o?void 0:d.contentId,...f,...h,ref:t,style:{...h.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,O.jsx)(N,{children:i}),o?(0,O.jsx)(m.bL,{id:d.contentId,role:"tooltip",children:o}):null]})})},"TooltipContentImpl")),D=r.forwardRef(b(function(e,t){let{__scopeTooltip:n,...r}=e,i=k(n);return(0,O.jsx)(u.i3,{...i,...r,ref:t})},"TooltipArrow"));function z(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,i,o)){case o:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw Error("unreachable")}}function q(e,t,n=5){let r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}function B(e){let{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function F(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let l=t[e],s=t[o],a=l.x,u=l.y,c=s.x,h=s.y;u>r!=h>r&&n<(c-a)*(r-u)/(h-u)+a&&(i=!i)}return i}function Y(e){let t=e.slice();return t.sort((e,t)=>
1e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:1*!!(e.y>t.y)),U(t)}function U(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return(n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y)?t:t.concat(n)}b(z,"getExitSideFromRect"),b(q,"getPaddedExitPoints"),b(B,"getPointsFromRect"),b(F,"isPointInPolygon"),b(Y,"getHull"),b(U,"getHullPresorted");var W=P,H=T,G=E,J=M,K=I,ee=D},74897:(e,t,n)=>{"use strict";n.d(t,{Bi:()=>x,_R:()=>T,dF:()=>v,g$:()=>S,gh:()=>w,go:()=>a,jL:()=>y,lW:()=>P,xg:()=>_});var r=n(26874),i=n(16729),o=n(82579),l=n(59121),s=n(97029);function a(e,t,n=null){let i=(0,r.nAs)(n),o=n?(0,r.IWk)(n):[],l=null!==n&&o.length>0;if(l&&"function"==typeof i.caretPositionFromPoint){let l=i.caretPositionFromPoint(e,t,{shadowRoots:o});if(null!==l&&function(e,t){for(let n=e;null!==n;){if(n===t)return!0;n=(0,r.dCx)(n)}return!1}(l.offsetNode,n))return{node:l.offsetNode,offset:l.offset}}if(l){let o=n.getRootNode();if((0,r.R3g)(o)){let r=o.elementFromPoint(e,t);if(null!==r&&n.contains(r)){let n=function(e,t,n,r){let i=r.createRange(),o=e=>t<e.top?e.top-t:t>e.bottom?t-e.bottom:0,l=t=>e<t.left?t.left-e:e>t.right?e-t.right:0,s=r.createTreeWalker(n,NodeFilter.SHOW_TEXT),a=null,u=1/0,c=1/0;for(let e=s.nextNode();e;e=s.nextNode())for(let t of(i.selectNodeContents(e),i.getClientRects())){let n=o(t),r=l(t);(n<u||n===u&&r<c)&&(u=n,c=r,a=e)}if(null===a)return null;let h=0,d=1/0,f=1/0;for(let t=0;t<=a.length;t++){i.setStart(a,t),i.collapse(!0);let n=i.getBoundingClientRect(),r=o(n),l=Math.abs(e-n.left);(r<d||r===d&&l<f)&&(d=r,f=l,h=t)}return{node:a,offset:h}}(e,t,r,i);if(null!==n)return n}}}if("function"==typeof i.caretRangeFromPoint){let n=i.caretRangeFromPoint(e,t);return null===n?null:{node:n.startContainer,offset:n.startOffset}}if("function"==typeof i.caretPositionFromPoint){let n=i.caretPositionFromPoint(e,t);return null===n?null:{node:n.offsetNode,offset:n.offset}}return null}function u(e,...t){let n=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;for(let n of(r.append("code",e),t))r.append("v",n);throw n.search=r.toString(),Error(`Minified Lexical error #${e}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}let c={"application/x-lexical-editor":0,"text/html":10,"text/plain":20,"text/uri-list":30},h=(e,t)=>{if(!(0,r.I2P)(t))return t.insertRawText(e),!0;let n=e=>{let t=(0,r.vJq)();(0,r.I2P)(t)&&e(t)};return(0,r.NEy)(e,{linebreak:()=>n(e=>e.insertParagraph()),tab:()=>n(e=>e.insertNodes([(0,r.ev7)()])),text:e=>n(t=>t.insertText(e))}),!0},d={"application/x-lexical-editor":[(e,t,n)=>{try{let n=(0,r.i0_)(),i=JSON.parse(e);if(i&&i.namespace===n._config.namespace&&Array.isArray(i.nodes))return k(n,S(i.nodes),t),!0}catch(e){console.error(e)}return n()}],"text/html":[(e,t,n)=>{try{var i;let n=(0,r.i0_)(),l=(new DOMParser).parseFromString((i=e,window.trustedTypes&&window.trustedTypes.createPolicy?window.trustedTypes.createPolicy("lexical",{createHTML:e=>e}).createHTML(i):i),"text/html");return k(n,(0,o.dh)(n,l),t),!0}catch(e){return console.error(e),n()}}],"text/plain":[h],"text/uri-list":[h]};function f(e,t,n){let r=t.getData("text/plain");for(let i of Object.keys(e.$importMimeType).filter(t=>void 0!==e.$importMimeType[t]).sort((t,n)=>{let r=e.priority[t],i=e.priority[n];return void 0===r&&void 0===i?t<n?-1:+(t>n):void 0===r?1:void 0===i?-1:r-i})){let o=t.getData(i);if(o&&("text/html"!==i||o!==r)&&function(e,t,n,r){if(!e)return!1;let i=o=>!!e[o]&&e[o](t,n,i.bind(null,o-1),r);return i(e.length-1)}(e.$importMimeType[i],o,n,t))return!0}return!1}let p={$importMimeType:d,$insertDataTransfer:(e,t)=>f({$importMimeType:d,priority:c},e,t),priority:c},g=(0,r.vE9)({build:(e,t)=>({$importMimeType:t.$importMimeType,$insertDataTransfer:(e,n)=>f(t,e,n),priority:t.priority}),config:(0,r.lVE)({$importMimeType:d,priority:c}),mergeConfig(e,t){let n=(0,r.Tc1)(e,t);if(t.$importMimeType){let r={...e.$importMimeType};for(let[e,n]of Object.entries(t.$importMimeType))if(n){let t=r[e];r[e]=t?[...t,...n]:n}n.$importMimeType=r}return t.priority&&(n.priority={...e.priority,...t.priority}),n},name:"@lexical/clipboard/Import"});function m(e,t=(0,r.vJq)()){return null==t&&u(166),(0,r.I2P)(t)&&t.isCollapsed()||0===t.getNodes().length?"":(0,o.g2)(e,t)}function O(e,t=(0,r.vJq)()){return null==t&&u(166),(0,r.I2P)(t)&&t.isCollapsed()||0===t.getNodes().length?null:JSON.stringify(w(e,t))}function x(e,t,n){let r;((r=(0,i.cP)(g.name))?r.output:p).$insertDataTransfer(e,t)}o._e;let b="application/x-lexical-drag";function v(e,t){let n={editorKey:t.getKey()};e.setData(b,JSON.stringify(n))}function y(e,t){return function(e,t,n){let i=e.dataTransfer;if(null===i)return!1;let o=function(e){var t;let n,r=e.getData(b);if(!r)return null;try{n=JSON.parse(r)}catch(e){return null}return null!==(t=n)&&"object"==typeof t&&"editorKey"in t&&"string"==typeof t.editorKey?n:null}(i);if(null===o)return!1;let l=function(e,t){let n=a(e.clientX,e.clientY,t.getRootElement());if(null===n)return null;let i=(0,r.xL4)(n.node);
1if(null===i)return null;if((0,r.kFe)(i))return(0,r.T8n)(i,"next",n.offset);if((0,r.ff4)(i))return(0,r.hdR)(i,n.offset,"next");let o=i.getParent();return null===o?null:(0,r.hdR)(o,i.getIndexWithinParent()+1,"next")}(e,t);if(null===l)return!1;let s=(0,r.k1Q)(l);if(null===s)return!1;let u=o.editorKey===t.getKey(),c=(0,r.vJq)();if(u){if(!(0,r.I2P)(c)||c.isCollapsed())return!1;if(function(e,t){let{anchor:n,focus:i}=(0,r.NZv)((0,r.$iu)(t),"next");return 0>(0,r.AcB)(n,e)&&0>(0,r.AcB)(e,i)}(l,c))return e.preventDefault(),!0;c.removeText()}if(!s.origin.isAttached())return e.preventDefault(),!0;if(n(i,(0,r.xQ8)((0,r.sWS)(s)),t),!u){let e=t.getRootElement(),n=e?e.ownerDocument:null,i=n?function(e,t){for(let n of(0,r.CMH)(t)){let t=(0,r.lue)(n);if((0,r.Uqh)(t)&&t.getKey()===e&&(0,r.sby)(n))return n}return null}(o.editorKey,n):null;null!==i&&i.dispatchEvent(new InputEvent("beforeinput",{bubbles:!0,cancelable:!0,inputType:"deleteByDrag"}))}return e.preventDefault(),!0}(e,t,x)}function k(e,t,n){e.dispatchCommand(r.oqR,{nodes:t,selection:n})||(n.insertNodes(t),function(e){if((0,r.I2P)(e)&&e.isCollapsed()){let t=e.anchor,n=null,i=(0,r.Ave)(t,"previous");if(i)if((0,r.rN)(i))n=i.origin;else for(let e of(0,r.TJt)(i,(0,r.uwZ)((0,r.NiT)(),"next").getFlipped())){if((0,r.kFe)(e.origin)){n=e.origin;break}if((0,r.ff4)(e.origin)&&!e.origin.isInline())break}if(n&&(0,r.kFe)(n)){let t=n.getFormat(),r=n.getStyle();e.format===t&&e.style===r||(e.format=t,e.style=r,e.dirty=!0)}}}(n))}function w(e,t){let n=[],i=(0,r.NiT)(),o=(0,r.I2P)(t)?t.anchor.getNode():(0,r.RTZ)(t)?t.getNodes()[0]??null:null,s=null!==o?(0,r.ex6)(o):null,a=((0,r.ff4)(s)?s:i).getChildren();for(let i=0;i<a.length;i++)!function e(t,n,i,o=[]){var s;let a,c,h=null===n||i.isSelected(n),d=(0,r.ff4)(i)&&i.excludeFromCopy("html"),f=i;null!==n&&(0,r.kFe)(f)&&(f=(0,l.SD)(n,f,"clone"));let p=(0,r.ff4)(f)?f.getChildren():[],g=(a=(s=f).exportJSON(),c=s.constructor,a.type!==c.getType()&&u(58,c.name),(0,r.ff4)(s)&&(Array.isArray(a.children)||u(59,c.name)),a);(0,r.kFe)(f)&&0===f.getTextContentSize()&&(h=!1);let m=h&&(0,r.RTZ)(n)&&(0,r.ff4)(i)?null:n;for(let o=0;o<p.length;o++){let l=p[o],s=e(t,m,l,g.children);!h&&(0,r.ff4)(i)&&s&&i.extractWithChild(l,n,"clone")&&(h=!0)}if(h&&!d){let n=(0,r.vU2)(f);if(n.length>0){let i={};for(let o of n){let n=(0,r.DTJ)(f,o);null===n&&u(366,f.constructor.name,o);let l=[];e(t,null,n,l),1===l.length&&l[0].type===n.getType()||u(385,o,f.constructor.name,String(l.length),String(l.length>0?l[0].type:"none")),i[o]=l[0]}g.$slots=i}}if(h&&!d)o.push(g);else if(Array.isArray(g.children))for(let e=0;e<g.children.length;e++){let t=g.children[e];o.push(t)}return h}(e,t,a[i],n);return{namespace:e._config.namespace,nodes:n}}function S(e){let t=[];for(let n of e)t.push((0,r.GMe)(n));return t}let C=null;async function P(e,t,n){if(null!==C)return!1;if(null!==t)return new Promise((r,i)=>{e.update(()=>{r($(e,t,n))})});let i=e.getRootElement(),o=e._window||window,l=o.document,a=(0,r.peL)(o);if(null===i||null===a)return!1;let u=l.createElement("span");u.style.position="fixed",u.style.top="-1000px",u.append(l.createTextNode("#")),i.append(u);let c=l.createRange();return c.setStart(u,0),c.setEnd(u,1),a.removeAllRanges(),a.addRange(c),new Promise((t,i)=>{let a=e.registerCommand(r.u5G,r=>((0,s.xj)(r,ClipboardEvent)&&(a(),null!==C&&(o.clearTimeout(C),C=null),t($(e,r,n))),!0),r.da8);C=o.setTimeout(()=>{a(),C=null,t(!1)},50),l.execCommand("copy"),u.remove()})}function $(e,t,n){if(void 0===n){let t=(0,r.peL)(e._window),i=(0,r.vJq)();if(!i||i.isCollapsed()||!t)return!1;let o=(0,r.Mgk)(t,e.getRootElement()),l=o.anchorNode,s=o.focusNode;if(null!==l&&null!==s&&!(0,r.LYZ)(e,l,s))return!1;n=_(i)}t.preventDefault();let i=t.clipboardData;return null!==i&&(T(i,n),!0)}let Q=[["text/html",m],["application/x-lexical-editor",O]];function _(e=(0,r.vJq)()){var t=function(e=(0,r.i0_)()){let t=(0,i.xT)(e,E.name);return t?t.output:A}();let n={"text/plain":""};for(let[r,i]of Object.entries(t))if(i){let t=function(e,t){let n=r=>e[r]?e[r](t,n.bind(null,r-1)):null;return n(e.length-1)}(i,e);null!==t&&(n[r]=t)}return n}function T(e,t){for(let[n]of Q)void 0===t[n]&&e.setData(n,"");for(let n in t){let r=t[n];void 0!==r&&e.setData(n,r)}}let A={"application/x-lexical-editor":[(e,t)=>e?O((0,r.i0_)(),e):t()],"text/html":[(e,t)=>e?m((0,r.i0_)(),e):t()],"text/plain":[(e,t)=>e?e.getTextContent():t()]},E=(0,r.vE9)({build:(e,t,n)=>t.$exportMimeType,config:(0,r.lVE)({$exportMimeType:A}),mergeConfig(e,t){let n=(0,r.Tc1)(e,t);if(t.$exportMimeType){let r={...e.$exportMimeType};for(let[e,n]of Object.entries(t.$exportMimeType))if(n){let t=r[e];r[e]=t?[...t,...n]:n}n.$exportMimeType=r}return n},name:"@lexical/clipboard/GetClipboardData"})},75676:(e,t,n)=>{"use strict";function r(){}n.d(t,{lQ:()=>r})},78063:(e,t,n)=>{"use strict";function r(e){return e&&"object"==typeof e?"position"in e||"type"in e?o(e.position):"start"in e||"end"in e?o(e):"line"in e||"column"in e?i(e):"":""}function i(e){return l(e&&e.line)+":"+l(e&&e.column)}function o(e){return i(e&&e.start)+"-"+i(e&&e.end)}function l(e){return e&&"number"==typeof e?e:1}n.d(t,{L:()=>r})},78368:(e,t,n)=>{"use strict";var r=n(84019);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,l){if(l!==r){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
1:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},81342:(e,t,n)=>{"use strict";n.d(t,{d:()=>a});var r=n(7620),i=n(10391),o=n(41324),l=n(6353),s=n(60554);let a=()=>{let e=(0,l.qM)(o.NN),t=(0,l.X3)(s.yr),n=(0,s.Bd)();return r.createElement(i.gx,{"aria-label":n("toolbar.link","Create link"),title:n("toolbar.link","Create link"),onPointerDown:e=>{e.preventDefault()},onClick:t=>{e()}},t("link"))}},81436:(e,t,n)=>{"use strict";n.d(t,{l:()=>u});var r=n(26874),i=n(6353),o=n(7620),l=n(87088),s=n(60554),a=n(10391);let u=()=>{let[e,t]=(0,i.uX)(s.yr,s.Cp),[n,u]=o.useState(!1),[c,h]=o.useState(!1),d=(0,s.Bd)();return o.useEffect(()=>{if(t)return(0,r.Sdt)(t.registerCommand(r.KfJ,e=>(u(e),!1),r.da8),t.registerCommand(r.WWb,e=>(h(e),!1),r.da8))},[t]),o.createElement(a.F8,{items:[{title:d("toolbar.undo","Undo {{shortcut}}",{shortcut:l.sY?"âZ":"Ctrl+Z"}),disabled:!n,contents:e("undo"),active:!1,onChange:()=>null==t?void 0:t.dispatchCommand(r.ZKf,void 0)},{title:d("toolbar.redo","Redo {{shortcut}}",{shortcut:l.sY?"âY":"Ctrl+Y"}),disabled:!c,contents:e("redo"),active:!1,onChange:()=>null==t?void 0:t.dispatchCommand(r.V30,void 0)}]})}},82579:(e,t,n)=>{"use strict";let r;n.d(t,{Ah:()=>function e(t,n){let r=[],i=[],l=()=>{0!==i.length&&(r.push(n().splice(0,0,i)),i=[])};for(let s of t)if(Y(s)){if(l(),(0,o.ff4)(s)){let t=e(s.getChildren(),n);s.splice(0,s.getChildrenSize(),t)}r.push(s)}else i.push(s);return l(),r},BU:()=>ep,Bu:()=>j,FD:()=>U,LR:()=>z,S$:()=>E,VR:()=>ew,Zj:()=>ev,_e:()=>ek,_l:()=>L,bP:()=>H,dA:()=>f,dh:()=>eC,g2:()=>eP,k4:()=>Y,up:()=>ey,vT:()=>M});var i=n(59121),o=n(26874),l=n(97029),s=n(16729);function a(e,...t){let n=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;for(let n of(r.append("code",e),t))r.append("v",n);throw n.search=r.toString(),Error(`Minified Lexical error #${e}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}function u(e,t){let{key:n}=t;return e&&n in e?e[n]:t.defaultValue}function c(e){return r&&r.editor===e?r:void 0}function h(e,t){let n=c(t);return n&&n[e]}function d(e,t){let n=t;for(let r of e){let[e,i]=function(e,t){if("cfg"in t){let{cfg:n,updater:r}=t;return[n,r(u(e,n))]}return t}(n,r),o=e.key;if(n===t&&u(n,e)===i)continue;let l=n===t||void 0===n?Object.create(t||null):n;l[o]=i,n=l}return n}function f(e,t){return[e,t]}function p(e,t,n,i=(0,o.i0_)()){let l=r,s=c(i);try{return r={...s,editor:i,[e]:t},n()}finally{r=l}}function g(e,t=()=>{}){return(n,r=(0,o.i0_)())=>i=>{let o=c(r),l=o&&o[e],s=d(n,l||t(r));return s&&s!==l?p(e,s,i,r):i()}}function m(e,t,n,r){return Object.assign((0,o.urt)(Symbol(t),{isEqual:r,parse:n}),{[e]:!0})}function O(e){if(!(0,o.mB$)(e)||null===e.querySelector("style"))return;let t=new Map;try{for(let n of Array.from(e.styleSheets)){let r;try{r=n.cssRules}catch(e){continue}for(let n of Array.from(r)){let r;if((0,l.xj)(n,CSSStyleRule)){try{r=e.querySelectorAll(n.selectorText)}catch(e){continue}for(let e of Array.from(r)){if(!(0,o.sby)(e))continue;let r=function(e){let n=t.get(e);if(void 0===n){n=new Set;for(let t=0;t<e.style.length;t++)n.add(e.style[t]);t.set(e,n)}return n}(e);for(let t=0;t<n.style.length;t++){let i=n.style[t];r.has(i)||e.style.setProperty(i,n.style.getPropertyValue(i),n.style.getPropertyPriority(i))}}}}}}catch(e){}}let x="@lexical/html/DOM",b=Symbol.for("@lexical/html/DOMExportContext"),v="@lexical/html/DOMImport",y=Symbol.for("@lexical/html/DOMImportContext"),k=m(b,"isExport",Boolean,void 0),w=g(b,function(e){let t=(0,s.xT)(e,x);return t?t.output.defaults:void 0});o.haT;let S=Symbol.for("@lexical/html/SelectorImpl");function C(e,t){let n={kind:"element",predicate:0===t.length?o.sby:1===t.length?t[0]:(e,n)=>{for(let r of t)if(!r(e,n))return!1;return!0},tags:e},r=n=>C(e,[...t,n]);return{[S]:n,attr:(e,t,n)=>r(Q(e,t,n)),classAll:(...e)=>r($(e)),classAny:(...e)=>{let t;return r(0===(t=P(e)).length?()=>!1:e=>{if(!(0,o.sby)(e))return!1;let n=e.classList;for(let e of t)if(n.contains(e))return!0;return!1})},styleAny:(e,t,n)=>r(function(e,t,n){if("string"==typeof t)return n=>(0,o.sby)(n)&&n.style.getPropertyValue(e)===t;if(t instanceof RegExp){let r=n&&n.capture;return(n,i)=>{if(!(0,o.sby)(n))return!1;let l=n.style.getPropertyValue(e);if(!l)return!1;let s=l.match(t);return null!==s&&(void 0!==r&&(i[r]=s),!0)}}a(362,JSON.stringify(e))}
1(e,t,n))}}function P(e){let t=[];for(let n of e)n&&t.push(n);return t}function $(e){let t=P(e);return 0===t.length?()=>!0:e=>{if(!(0,o.sby)(e))return!1;let n=e.classList;for(let e of t)if(!n.contains(e))return!1;return!0}}function Q(e,t,n){if(!0===t)return t=>(0,o.sby)(t)&&t.hasAttribute(e);if("string"==typeof t)return n=>(0,o.sby)(n)&&n.getAttribute(e)===t;if(t instanceof RegExp){let r=n&&n.capture;return(n,i)=>{if(!(0,o.sby)(n))return!1;let l=n.getAttribute(e);if(null==l)return!1;let s=l.match(t);return null!==s&&(void 0!==r&&(i[r]=s),!0)}}a(361,JSON.stringify(e))}let _={[S]:{kind:"text",predicate:o.YPs,tags:new Set}},T={[S]:{kind:"comment",predicate:e=>8===e.nodeType,tags:new Set}},A={any:()=>C(new Set,[]),comment:()=>T,tag(...e){e.length>0||a(363);let t=new Set;for(let n of e)t.add(n.toUpperCase());return C(t,[])},text:()=>_};function E(e,t){return(0,o.sby)(e)&&e.nodeName===t.toUpperCase()}let Z=/[A-Za-z0-9_-]/;class R{constructor(e,t){this.source=e,this.pos=t}peek(e=0){return this.source[this.pos+e]||""}consume(){return this.source[this.pos++]||""}eof(){return this.pos>=this.source.length}skipWhitespace(){for(;!this.eof()&&/\s/.test(this.peek());)this.pos++}readIdent(){let e=this.pos;for(;!this.eof()&&Z.test(this.peek());)this.pos++;return this.source.slice(e,this.pos)}readQuoted(){let e=this.consume();this.assert('"'===e||"'"===e,"expected quote");let t=this.pos;for(;!this.eof()&&this.peek()!==e;)"\\"===this.peek()?this.pos+=2:this.pos++;this.assert(!this.eof(),"unterminated string");let n=this.source.slice(t,this.pos);return this.pos++,n.replace(/\\(.)/g,"$1")}assert(e,t){e||a(364,String(this.pos+1),t,this.source)}}function j(e){return e}let M=m(y,"importSource",()=>"unknown",void 0),L=m(y,"importSourceDataTransfer",()=>null,void 0),I=m(y,"textFormat",()=>0,void 0),X=m(y,"textStyle",()=>({}),void 0);function N(e){if(!(0,o.sby)(e))return!1;if("PRE"===e.nodeName)return!0;let t=e.style.whiteSpace;return"string"==typeof t&&t.startsWith("pre")}function V(e){if((0,o.YPs)(e))return!0;if(!(0,o.sby)(e))return!1;let t=e.style.display;return t?t.startsWith("inline"):!(0,o.a9V)(e)&&(0,o._On)(e)}let D=m(y,"whitespaceConfig",()=>({isInline:V,preservesWhitespace:N}),void 0),z=m(y,"importOverlays",()=>[],void 0);class q{constructor(e){this.record=e}get(e){return u(this.record,e)}set(e,t){this.record[e.key]=t}update(e,t){this.record[e.key]=t(u(this.record,e))}has(e){return Object.prototype.hasOwnProperty.call(this.record,e.key)}}function B(e){let t=(0,s.xT)(e,v);return t?t.output.defaults:void 0}let F=g(y,B);function Y(e){return(0,o.y68)(e)||(0,o.Cyw)(e)&&!e.isInline()}function U(e,t){var n;if(!(0,o.sby)(t))return e;let r=t.style.textAlign;if(n=r,!J.has(n))return e;for(let t of e)(0,o.y68)(t)&&""===t.getFormatType()&&t.setFormat(r);return e}function W(e,t,n){1===e.length&&(0,o.wH$)(e[0])&&(e=[]);let r=(0,o.lJ7)();if((0,o.sby)(n)){var i;let e=n.style.textAlign;i=e,J.has(i)&&r.setFormat(e)}return[r.splice(0,0,e)]}let H={$accepts:Y,$packageRun:W,name:"BlockSchema"},G={$accepts:Y,$packageRun:W,name:"RootSchema"},J=new Set(["center","end","justify","left","right","start"]),K={B:{fontWeight:"bold"},EM:{fontStyle:"italic"},I:{fontStyle:"italic"},S:{textDecoration:"line-through"},STRONG:{fontWeight:"bold"},SUB:{verticalAlign:"sub"},SUP:{verticalAlign:"super"},U:{textDecoration:"underline"}},ee={CODE:o.jGx,MARK:o.sM8},et=new Set(["font-weight","font-style","text-decoration","vertical-align"]),en={$import:(e,t)=>{var n;let r=e.get(I),i=K[t.nodeName],l={fontStyle:t.style.fontStyle,fontWeight:t.style.fontWeight,textDecoration:t.style.textDecoration,verticalAlign:t.style.verticalAlign},s=r&~(n=function(e){let t=0,n=0,{fontWeight:r,fontStyle:i,textDecoration:l,verticalAlign:s}=e;if("700"===r||"bold"===r?t|=o.FAd:"normal"!==r&&"400"!==r||(n|=o.FAd),"italic"===i?t|=o.S3D:"normal"===i&&(n|=o.S3D),l){let e=l.split(" ");e.includes("underline")&&(t|=o.IgX),e.includes("line-through")&&(t|=o.J61),e.includes("none")&&(n|=o.IgX|o.J61)}return"sub"===s?(t|=o.TeU,n|=o.o4q):"super"===s?(t|=o.o4q,n|=o.TeU):"baseline"===s&&(n|=o.TeU|o.o4q),{clear:n,set:t}}(i?{fontStyle:l.fontStyle||i.fontStyle,fontWeight:l.fontWeight||i.fontWeight,textDecoration:l.textDecoration||i.textDecoration,verticalAlign:l.verticalAlign||i.verticalAlign}:l)).clear|n.set,a=ee[t.nodeName];return a&&(s|=a),s===r?e.$importChildren(t):e.$importChildren(t,{context:[[I,s]]})},match:A.tag("b","strong","em","i","code","mark","s","sub","sup","u","span"),name:"@lexical/html/inline-format"};function er(e,t,n){let r=e;for(;;){let e=null;for(;null===(e=t?r.nextSibling:r.previousSibling);){let e=r.parentNode;if(null===e)return null;r=e}if(r=e,!n.isInline(r))return null;let i=r;for(;null!==(i=t?r.firstChild:r.lastChild);)r=i;if((0,o.YPs)(r))return r;if("BR"===r.nodeName)return null}}function ei(e,t){return 0!==t&&(0,o.kFe)(e)?e.setFormat(t):e}function eo(e,t){if((0,o.kFe)(e)){let n=function(e){let t="";for(let n in e)et.has(n)||(t+=`${n}: ${e[n]}; `);return t.trimEnd()}(t);""!==n&&e.setStyle(n)}return e}
1let el={$import:(e,t)=>{let n=e.get(I),r=e.get(X),i=e.get(D);if(function(e,t){let n=e.parentNode;for(;null!==n;){if(t.preservesWhitespace(n))return!0;n=n.parentNode}return!1}(t,i)){let e=(0,o._jw)(t.textContent||"");for(let t of e)ei(t,n),eo(t,r);return e}let l=function(e,t){let n=(e.textContent||"").replace(/\r/g,"").replace(/[ \t\n]+/g," ");if(0===n.length)return"";if(" "===n[0]){let r=e,i=!0;for(;null!==r&&null!==(r=er(r,!1,t));){let e=r.textContent||"";if(e.length>0){/[ \t\n]$/.test(e)&&(n=n.slice(1)),i=!1;break}}i&&(n=n.slice(1))}if(n.length>0&&" "===n[n.length-1]){let r=e,i=!0;for(;null!==r&&null!==(r=er(r,!0,t));)if((r.textContent||"").replace(/^( |\t|\r?\n)+/,"").length>0){i=!1;break}i&&(n=n.slice(0,-1))}return n}(t,i);if(""===l)return[];let s=(0,o.sTu)(l);return ei(s,n),eo(s,r),[s]},match:A.text(),name:"@lexical/html/#text"},es={$import:()=>[],match:A.tag("script","style"),name:"@lexical/html/script-style-ignore"},ea={$import:(e,t)=>(0,o.J_T)(t)||(0,o.RB3)(t)?[]:[(0,o.WKo)()],match:A.tag("br"),name:"@lexical/html/br"},eu=[es,{$import:(e,t)=>{let n=(0,o.lJ7)();if((0,o.Sz2)(n,t),(0,o.dxY)(t,n),""===n.getFormatType()){let e=t.getAttribute("align");e&&J.has(e)&&n.setFormat(e)}return(0,o.q3P)(n,t),[n.splice(0,0,e.$importChildren(t))]},match:A.tag("p"),name:"@lexical/html/p"},{$import:(e,t,n)=>(0,o.i0_)().hasNode(s.fS)?[(0,s.PL)()]:n(),match:A.tag("hr"),name:"@lexical/html/hr"},{$import:(e,t,n)=>(0,o.a9V)(t)?U(e.$importChildren(t,{schema:H}),t):n(),match:A.any(),name:"@lexical/html/transparent-block"},el,ea,en];function ec(e){let t=[],n=new Map,r=[],i=[],o=[],l=new Set;e.forEach((e,s)=>{let u,c=(void 0===(u=e.match[S])&&a(360),u),h=e.name||function(e,t){if("text"===e.kind)return`#text@${t}`;if("comment"===e.kind)return`#comment@${t}`;if(0===e.tags.size)return`*@${t}`;let n=Array.from(e.tags).join(",").toLowerCase();return`${n}@${t}`}(c,s);if(e.name&&l.add(e.name),t.push({$import:e.$import,name:h,predicate:c.predicate}),"text"===c.kind)i.push(s);else if("comment"===c.kind)o.push(s);else if(0===c.tags.size)r.push(s);else for(let e of c.tags){let t=n.get(e);t||(t=[],n.set(e,t)),t.push(s)}});let s=new Map;if(0===r.length)for(let[e,t]of n)s.set(e,t);else for(let[e,t]of n)s.set(e,function(e,t){let n=[],r=0,i=0;for(;r<e.length&&i<t.length;)e[r]<=t[i]?n.push(e[r++]):n.push(t[i++]);for(;r<e.length;)n.push(e[r++]);for(;i<t.length;)n.push(t[i++]);return n}(t,r));return{byTag:s,commentIndices:o,rules:t,textIndices:i,wildcardIndices:r}}function eh(e,t){return(0,o.YPs)(t)?e.textIndices:8===t.nodeType?e.commentIndices:(0,o.sby)(t)?e.byTag.get(t.nodeName)||e.wildcardIndices:ed}let ed=Object.freeze([]);function ef(e){let t=[];for(let r of e){var n;if("object"==typeof(n=r)&&null!==n&&"__type"in n&&"CompiledOverlayRules"===n.__type)for(let e of r.rules)t.push(e);else t.push(r)}return t}function ep(e){let t=ef(e);return{__type:"CompiledOverlayRules",dispatch:ec(t),rules:t}}let eg=Object.freeze({});function em(e,t,n){let r=n&&n.$onChild,i=[];for(let n of Array.from(t.childNodes))for(let t of eO(e,n,void 0)){let e=r?r(t):t;null!=e&&i.push(e)}let o=n&&n.$after?n.$after(i):i,l=n&&n.schema;return l?function(e,t,n){let r=[],i=null,o=()=>{if(null===i)return;let t=i;if(i=null,e.$packageRun){let i=e.$packageRun(t,null,n);if(i.length>0){for(let e of i)r.push(e);return}}if("hoist"===e.onReject)for(let e of t)r.push(e)};for(let n of t)e.$accepts(n,null)?(o(),r.push(n)):(null===i&&(i=[]),i.push(n));return o(),e.$finalize?e.$finalize(r,null):r}(l,o,t):o}function eO(e,t,n){let r=()=>(function(e,t){let n=function(e,t){let n=[];for(let r=e.overlays.length-1;r>=0;r--){let i=e.overlays[r],o=eh(i,t);o.length>0&&n.push({dispatch:i,indices:o})}let r=eh(e.dispatch,t);return r.length>0&&n.push({dispatch:e.dispatch,indices:r}),n}(e,t);if(0===n.length)return ex(e,t);let r=0,i=0,l=()=>{for(;r<n.length;){let{dispatch:s,indices:a}=n[r];for(;i<a.length;){let n=a[i++],r=s.rules[n],c={};if(r.predicate(t,c)){let n=function(e,t){return{$importChildren:(t,n)=>(function(e,t,n){let r=n&&n.rules?n.rules.dispatch:void 0;r&&e.overlays.push(r);try{let r=()=>em(e,t,n);return n&&n.context?F(n.context,e.editor)(r):r()}finally{r&&e.overlays.pop()}})(e,t,n),$importOne:(t,n)=>eO(e,t,n),captures:t,get:t=>(function(e,t=(0,o.i0_)()){return u(h(y,t)||B(t),e)})(t,e.editor),session:e.session}}(e,0===Object.keys(c).length?eg:c);try{return r.$import(n,t,l)}catch(e){throw e}}}r++,i=0}
1return ex(e,t)};return l()})(e,t);return n&&n.context?F(n.context,e.editor)(r):r()}function ex(e,t){if(0===t.childNodes.length)return[];let n=[];for(let r of Array.from(t.childNodes))for(let t of eO(e,r,void 0))n.push(t);return n}let eb={$import:(e,t)=>e.$importChildren(t),match:A.any(),name:"@lexical/html/default-hoist"},ev=(0,o.vE9)({build(e,t){let n=ec(ef(t.rules)),r=d(t.contextDefaults,void 0),i=t.preprocess;return{$generateNodesFromDOM:(t,l)=>{var s,a;let u,c,f=h(y,e)||r,g=l&&l.context?d(l.context,f):f,m=void 0!==g&&g!==f?g:Object.create(f||null),O=new q(m);return s=l&&l.preprocess?[...i,...l.preprocess]:i,a={session:O},u=s.length-1,(c=()=>{for(;u>=0;)return void(0,s[u--])(t,a,c)})(),p(y,m,()=>em({dispatch:n,editor:e,overlays:O.get(z).map(e=>e.dispatch),session:O},(0,o.mB$)(t)?t.body:t,{schema:G}),e)},defaults:r}},config:{contextDefaults:[],preprocess:[(e,t,n)=>{O(e),n()}],rules:[eb]},mergeConfig:(e,t)=>(0,o.Tc1)(e,{...t,...t.contextDefaults&&{contextDefaults:[...e.contextDefaults,...t.contextDefaults]},...t.preprocess&&{preprocess:[...e.preprocess,...t.preprocess]},...t.rules&&{rules:[...t.rules,...e.rules]}}),name:v});function ey(e,t){return(0,s.fU)(ev).$generateNodesFromDOM(e,t)}let ek=(0,o.vE9)({dependencies:[(0,o.O0w)(ev,{rules:eu})],name:"@lexical/html/CoreImport"}),ew=(s.SY,{any:A.any,comment:A.comment,css:function(e){let t=new R(e,0),n=[];for(;;){let e=function(e){let t=new Set,n=[],r=[];if(e.skipWhitespace(),"*"===e.peek())e.consume();else if(Z.test(e.peek())){let n=e.readIdent();n&&t.add(n.toUpperCase())}for(;!e.eof();){let t=e.peek();if("."===t){e.consume();let t=e.readIdent();e.assert(""!==t,'expected class name after "."'),r.push(t)}else if("#"===t){e.consume();let t=e.readIdent();e.assert(""!==t,'expected id after "#"'),n.push(Q("id",t))}else{if("["!==t)break;{e.consume(),e.skipWhitespace();let t=e.readIdent();e.assert(""!==t,'expected attribute name after "["'),e.skipWhitespace();let r=!0;if("="===e.peek()){e.consume(),e.skipWhitespace();let t=e.peek();'"'===t||"'"===t?r=e.readQuoted():(r=e.readIdent(),e.assert(""!==r,"expected attribute value")),e.skipWhitespace()}e.assert("]"===e.peek(),'expected "]"'),e.consume(),n.push(Q(t,r))}}}return r.length>0&&n.push($(r)),{predicates:n,tags:t}}(t);if(n.push(e),t.skipWhitespace(),t.eof())break;t.assert(","===t.peek(),'expected "," (selector lists are the only supported combinator)'),t.consume(),t.skipWhitespace()}if(1===n.length)return C(n[0].tags,n[0].predicates);let r=new Set;for(let e of n)for(let t of e.tags)r.add(t);return C(r,[(e,t)=>{for(let r of n){let n=e.nodeName;if(r.tags.size>0&&!r.tags.has(n))continue;let i=!0;for(let n of r.predicates)if(!n(e,t)){i=!1;break}if(i)return!0}return!1}])},tag:A.tag,text:A.text}),eS=new Set(["STYLE","SCRIPT"]);function eC(e,t){O(t);let n=(0,o.mB$)(t)?t.body.childNodes:t.childNodes,r=[],i=[];for(let t of n)if(!eS.has(t.nodeName)){let n=function e(t,n,r,i,l=new Map,s){let a=[];if(eS.has(t.nodeName))return a;let u=null,c=function(e,t){let{nodeName:n}=e,r=t._htmlConversions.get(n.toLowerCase()),i=null;if(void 0!==r)for(let t of r){let n=t(e);null!==n&&(null===i||(i.priority||0)<=(n.priority||0))&&(i=n)}return null!==i?i.conversion:null}(t,n),h=c?c(t):null,d=null;if(null!==h){d=h.after;let e=h.node;if(null!==(u=Array.isArray(e)?e[e.length-1]:e)){for(let[,e]of l)if(!(u=e(u,s)))break;u&&a.push(...Array.isArray(e)?e:[u])}null!=h.forChild&&l.set(t.nodeName,h.forChild)}let f=t.childNodes,p=[],g=(null==u||!(0,o.IqF)(u))&&(null!=u&&(0,o.y68)(u)||i);for(let t=0;t<f.length;t++)p.push(...e(f[t],n,r,g,new Map(l),u));if(null!=d&&(p=d(p)),(0,o.a9V)(t)&&(p=function(e,t,n){let r=e.style.textAlign,i=[],l=[];for(let e=0;e<t.length;e++){let s=t[e];if((0,o.y68)(s))r&&!s.getFormat()&&s.setFormat(r),i.push(s);else if(l.push(s),e===t.length-1||e<t.length-1&&(0,o.y68)(t[e+1])){let e=n();e.setFormat(r),e.append(...l),i.push(e),l=[]}}return i}(t,p,g?()=>{let e=new o.A7V;return r.push(e),e}:o.lJ7)),null==u)if(p.length>0)for(let e of p)a.push(e);else(0,o.a9V)(t)&&null!=t.nextSibling&&null!=t.previousSibling&&(0,o._On)(t.nextSibling)&&(0,o._On)(t.previousSibling)&&a.push((0,o.WKo)());else(0,o.ff4)(u)&&u.append(...p);return a}(t,e,i,!1);if(null!==n)for(let e of n)r.push(e)}return function(e){for(let t of e)t.getParent()&&t.getNextSibling()instanceof o.A7V&&t.insertAfter((0,o.WKo)());for(let t of e){let e=t.getParent();e&&e.splice(t.getIndexWithinParent(),1,t.getChildren())}}(i),r}function eP(e,t=null){return("u"<typeof document||"u"<typeof window&&void 0===global.window)&&a(338),(0,o.Q2o)(e),function(e,t=null,n=(0,o.i0_)()){return w([[k,!0]],n)(()=>{let r=(0,o.NiT)(),l=function(e=(0,o.i0_)()){let t,n=(t=(0,s.xT)(e,x))?t.output.runtime:void 0;return n?n.getSessionConfig():(0,o.MSq)(e)}(n),a=(0,o.I2P)(t)?(0,o.ex6)(t.anchor.getNode()):null,u=e.append.bind(e);for(let e of((0,o.ff4)(a)?a:r).getChildren())!function e(t,n,r,l=null,s=(0,o.MSq)(t)){let a=s.$shouldInclude(n,l,t),u=s.$shouldExclude(n,l,t),c=n;null!==l&&(0,o.kFe)(n)&&(c=(0,i.SD)(l,n,"clone"));let{element:h,after:d,append:f,$getChildNodes:p}=s.$exportDOM(c,t);if(!h)return!1;let g=(0,o.A$M)().createDocumentFragment(),m=p?p():(0,o.ff4)(c)?c.getChildren():[],O=a&&(0,o.RTZ)(l)&&(0,o.ff4)(n)?null:l,x=g.append.bind(g);for(let r of m){let i=e(t,r,x,O,s);!a&&i&&s.$extractWithChild(n,r,l,"html",t)&&(a=!0)}
1if(a&&!u){if(((0,o.sby)(h)||(0,o.K8K)(h))&&(f?f(g):h.append(g)),r(h),d){let e=d.call(c,h);e&&((0,o.K8K)(h)?h.replaceChildren(e):h.replaceWith(e))}}else r(g);return a}(n,e,u,t,l);return e})}((0,o.A$M)().createElement("div"),t,e).innerHTML}},83379:(e,t,n)=>{"use strict";n.d(t,{Nq:()=>T,SH:()=>_,Zq:()=>A});var r=n(60554),i=n(28465);let o={testNode:"list",visitNode:function({mdastNode:e,lexicalParent:t,actions:n}){let r=e.children.some(e=>"boolean"==typeof e.checked)?"check":e.ordered?"number":"bullet",o=(0,i.DE)(r);if((0,i.Mz)(t)){let e=(0,i.i)();e.append(o),t.insertAfter(e)}else t.append(o);n.visitChildren(e,o)}},l={testNode:"listItem",visitNode({mdastNode:e,actions:t,lexicalParent:n}){let r="check"===n.getListType()?e.checked??!1:void 0;t.addAndStepInto((0,i.i)(r))}},s={testLexicalNode:i.HY,visitLexicalNode:({lexicalNode:e,actions:t})=>{t.addAndStepInto("list",{ordered:"number"===e.getListType(),spread:!1})}};var a=n(26874);let u={testLexicalNode:i.Mz,visitLexicalNode:({lexicalNode:e,mdastParent:t,actions:n})=>{let r=e.getChildren(),o=r[0];if(1===r.length&&(0,i.HY)(o)){let r=t.children.at(-1);r?n.visitChildren(e,r):n.visitChildren(o,t)}else{let r=e.getParent(),i=n.appendToParent(t,{type:"listItem",checked:"check"===r.getListType()?!!e.getChecked():void 0,spread:!1,children:[]}),o=null;for(let t of e.getChildren())(0,a.kFe)(t)||(0,a.wH$)(t)||t.isInline()&&((0,a.ff4)(t)||(0,a.Cyw)(t))?(o??(o=n.appendToParent(i,{type:"paragraph",children:[]})),n.visit(t,o)):(o=null,n.visit(t,i))}}};var c=n(16729),h=n(62147),d=n(7620);function f({maxIndent:e,$canIndent:t}){let[n]=(0,h.DF)();return(0,d.useEffect)(()=>(0,c.MM)(n,e,t),[n,e,t]),null}function p({disableTakeFocusOnClick:e=!1}){let[t]=(0,h.DF)();return(0,d.useEffect)(()=>(0,i.GO)(t,{disableTakeFocusOnClick:e}),[t,e]),null}function g({hasStrictIndent:e=!1,shouldPreserveNumbering:t=!1}){let[n]=(0,h.DF)();return(0,d.useEffect)(()=>{if(!n.hasNodes([i.v5,i.YW]))throw Error("ListPlugin: ListNode and/or ListItemNode not registered on editor")},[n]),(0,d.useEffect)(()=>(0,a.Sdt)((0,i.cz)(n,{restoreNumbering:t}),e?(0,i.Js)(n):()=>{}),[n,e,t]),(0,d.useEffect)(()=>(0,i.cz)(n),[n]),null}var m=n(97029),O=n(22594),x=n(24525);let b={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,x.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"),l):n(t)}function l(r){return(0,x.HP)(r)?t(r):(0,x.On)(r)?e.check({tokenize:v},t,n)(r):n(r)}}};function v(e,t,n){return(0,O.N)(e,function(e){return null===e?n(e):t(e)},"whitespace")}var y=n(35800),k=n(56748);function w(e){let t=this.stack[this.stack.length-2];(0,y.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function S(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,y.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r,i=t.children,o=-1;for(;++o<i.length;){let e=i[o];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 C(e,t,n,r){let i=e.children[0],o="boolean"==typeof e.checked&&i&&"paragraph"===i.type,l="["+(e.checked?"x":" ")+"] ",s=n.createTracker(r);o&&s.move(l);let a=k.p.listItem(e,t,n,{...r,...s.current()});return o&&(a=a.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+l})),a}var P=n(6353),$=n(17705);let Q=new Map([["number",i.x],["bullet",i.q7],["check",i.mJ],["",i.uS]]),_=(0,P.fh)("",e=>{e.sub(e.pipe(r.cj,(0,P.EY)(r.Cp)),([t,n])=>{if(!t||!n)return;let r=t.anchor.getNode(),o="root"===r.getKey()?r:(0,a.BtT)(r,e=>{let t=e.getParent();return null!==t&&(0,a.IqF)(t)});o??(o=r.getTopLevelElementOrThrow());let l=o.getKey();if(null!==n.getElementByKey(l))if((0,i.HY)(o)){let t=(0,m.eu)(r,i.v5),n=t?t.getListType():o.getListType();e.pub(_,n)}else e.pub(_,"")})}),T=(0,P.HN)(e=>{e.sub(e.pipe(T,(0,P.EY)(r.Cp)),([e,t])=>
1{null==t||t.dispatchCommand(Q.get(e),void 0)})}),A=(0,$.Z)({init(e){var t;null==(t=e.getValue(r.u0))||t.registerCommand(a.PiT,()=>!function(){let e,t=(0,a.vJq)();if(!(0,a.I2P)(t))return!1;let n=new Set(0===(e=t.getNodes()).length?[t.anchor.getNode().getParentOrThrow(),t.focus.getNode().getParentOrThrow()]:e.map(e=>(0,a.ff4)(e)?e:e.getParentOrThrow())),r=0;for(let e of n)if((0,i.HY)(e))r=Math.max((0,i.g2)(e)+1,r);else if((0,i.Mz)(e)){let t=e.getParent();if((null==t?void 0:t.getChildren().length)===1){let e=t.getParent();if((0,i.Mz)(e)&&1===e.getChildren().length)return!1}if(!(0,i.HY)(t))throw Error("ListMaxIndentLevelPlugin: A ListItemNode must have a ListNode for a parent.");r=Math.max((0,i.g2)(t)+1,r)}return r<=7}(),a.da8),e.pubIn({[r.$0]:"lists",[r.C2]:{exit:{taskListCheckValueChecked:w,taskListCheckValueUnchecked:w,paragraph:S}},[r.cx]:{text:{91:b}},[r.R1]:[o,l],[r.q]:[i.YW,i.v5],[r.iI]:[s,u],[r.lN]:{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:C}},[r.aC]:[f,g,p],[r.Id]:[f,g,p]})}})},83521:(e,t,n)=>{"use strict";n.d(t,{We:()=>s,ht:()=>l,jd:()=>a});var r=n(16729),i=n(26874);function o(e,t){e.undoStack=[],e.redoStack=[],e.current=null,t&&t(e)}function l(){return{current:null,redoStack:[],undoStack:[]}}let s=(0,i.vE9)({build:(e,{delay:t,createInitialHistoryState:n,disabled:i,maxDepth:o,now:l},s)=>({...(0,r.v)({delay:t,disabled:i,historyState:n(e),maxDepth:o,now:l}),...s.getInitResult()}),config:(0,i.lVE)({createInitialHistoryState:l,delay:300,disabled:"u"<typeof window,maxDepth:null,now:Date.now}),init:()=>({canRedo:(0,r.vP)(!1),canUndo:(0,r.vP)(!1)}),name:"@lexical/history/History",register:(e,t,n)=>{let{canUndo:l,canRedo:s}=n.getInitResult(),a=n.getOutput(),u=e=>(0,r.vA)(()=>{l.value=null!=e&&e.undoStack.length>0,s.value=null!=e&&e.redoStack.length>0});return(0,r.QZ)(()=>{if(!a.disabled.value)return function(e,t,n,r=Date.now,l,s=null){let a,u,c,h,d,f=(a=r(),u=0,c=a,h=0,d=null,(t,o,l,s,f,p)=>{let g=r();if(p.has(i.xKE)&&(c=a,h=u,d=t),p.has(i.n0X))return u=0,a=g,2;p.has(i.sne)&&d&&(a=c,u=h,t=d);let m=p.has(i.fwY)||p.has(i.Ap3)?0:function(e,t,n,r,o){if(null===e||0===n.size&&0===r.size&&!o)return 0;let l=t._selection,s=e._selection;if(o)return 1;if(!((0,i.I2P)(l)&&(0,i.I2P)(s)&&s.isCollapsed()&&l.isCollapsed()))return 0;let a=function(e,t,n){let r=e._nodeMap,o=[];for(let e of t){let t=r.get(e);void 0!==t&&o.push(t)}for(let[e,t]of n){if(!t)continue;let n=r.get(e);void 0===n||(0,i.hVZ)(n)||o.push(n)}return o}(t,n,r);if(0===a.length)return 0;if(a.length>1){let n=t._nodeMap,r=n.get(l.anchor.key),o=n.get(s.anchor.key);return r&&o&&!e._nodeMap.has(r.__key)&&(0,i.kFe)(r)&&1===r.__text.length&&1===l.anchor.offset?2:0}let u=a[0],c=e._nodeMap.get(u.__key);if(!(0,i.kFe)(c)||!(0,i.kFe)(u)||c.__mode!==u.__mode)return 0;let h=c.__text,d=u.__text;if(h===d)return 0;let f=l.anchor,p=s.anchor;if(f.key!==p.key||"text"!==f.type)return 0;let g=f.offset,m=p.offset,O=d.length-h.length;return 1===O&&m===g-1?2:-1===O&&m===g+1?3:4*(-1===O&&m===g)}(t,o,s,f,e.isComposing()),O=(()=>{var r,c;let h,d,O,x,b=null===l||l.editor===e,v=p.has(i.bMH);if(!v&&b&&p.has(i.T40))return 0;if(1===m)return 2;if(null===t)return 1;let y=o._selection;if(!(s.size>0||f.size>0))return 2*(null===y);let k="number"==typeof n?n:n.peek();return!1===v&&0!==m&&m===u&&g<a+k&&b?0:1!==s.size||(r=Array.from(s)[0],h=(c=t)._nodeMap.get(r),d=o._nodeMap.get(r),O=c._selection,x=o._selection,(0,i.I2P)(O)&&(0,i.I2P)(x)&&"element"===O.anchor.type&&"element"===O.focus.type&&"text"===x.anchor.type&&"text"===x.focus.type||!(0,i.kFe)(h)||!(0,i.kFe)(d)||h.__parent!==d.__parent||JSON.stringify(c.read(()=>h.exportJSON()))!==JSON.stringify(o.read(()=>d.exportJSON())))?1:0})();return a=g,u=m,O}),p=()=>{l&&l(t)};return p(),(0,i.Sdt)(e.registerCommand(i.ZKf,()=>((function(e,t,n){let r=t.redoStack,o=t.undoStack;if(0!==o.length){let l=t.current,s=o.pop();null!==l&&(r.push(l),e.dispatchCommand(i.WWb,!0)),0===o.length&&e.dispatchCommand(i.KfJ,!1),t.current=s||null,n&&n(t),s&&s.editor.setEditorState(s.editorState,{tag:i.n0X})}})(e,t,l),!0),i.jZM),e.registerCommand(i.V30,()=>((function(e,t,n){let r=t.redoStack,o=t.undoStack;if(0!==r.length){let l=t.current;null!==l&&(o.push(l),e.dispatchCommand(i.KfJ,!0));let s=r.pop();
10===r.length&&e.dispatchCommand(i.WWb,!1),t.current=s||null,n&&n(t),s&&s.editor.setEditorState(s.editorState,{tag:i.n0X})}})(e,t,l),!0),i.jZM),e.registerCommand(i.SKc,()=>(o(t,l),!1),i.jZM),e.registerCommand(i.t5V,()=>(o(t,l),e.dispatchCommand(i.WWb,!1),e.dispatchCommand(i.KfJ,!1),!0),i.jZM),e.registerUpdateListener(({editorState:n,prevEditorState:r,dirtyLeaves:o,dirtyElements:l,tags:a})=>{let u=t.current,c=t.redoStack,h=t.undoStack,d=null===u?null:u.editorState;if(null!==u&&n===d)return;let g=f(r,n,u,o,l,a);if(1===g){if(0!==c.length&&(t.redoStack=[],e.dispatchCommand(i.WWb,!1)),null!==u){h.push({...u});let t="number"==typeof s||null===s?s:s.peek();null!==t&&h.length>t&&h.splice(0,h.length-t),e.dispatchCommand(i.KfJ,!0)}}else if(2===g)return;t.current={editor:e,editorState:n},p()}))}(e,a.historyState.value,a.delay,()=>a.now.peek()(),u,a.maxDepth);u(null)})}}),a=(0,i.vE9)({build:(e,{disabled:t,parentEditor:n})=>(0,r.v)({disabled:t,parentEditor:n||e._parentEditor}),config:(0,i.lVE)({disabled:!1,parentEditor:null}),dependencies:[(0,i.O0w)(s,{disabled:!0})],name:"@lexical/history/SharedHistory",register:(e,t,n)=>(0,r.QZ)(()=>{let{disabled:e,parentEditor:t}=n.getOutput();if(!e.value){var i;let{output:e}=n.getDependency(s),o=(i=t.value)?(0,r.xT)(i,s.name):null;if(!o)return;let l=o.output;(0,r.vA)(()=>{e.delay.value=l.delay.value,e.historyState.value=l.historyState.value,e.now.value=l.now.value,e.disabled.value=l.disabled.value})}})})},84019:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},84906:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});let r={}.hasOwnProperty;function i(e,t){let n=t||{};function i(t,...n){let o=i.invalid,l=i.handlers;if(t&&r.call(t,e)){let n=String(t[e]);o=r.call(l,n)?l[n]:i.unknown}if(o)return o.call(this,t,...n)}return i.handlers=n.handlers||{},i.invalid=n.invalid,i.unknown=n.unknown,i}},85539:(e,t,n)=>{"use strict";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,{D:()=>r})},86645:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});let r=(0,n(26874).vE9)({name:"@lexical/react/ReactProvider"})},86804:(e,t,n)=>{"use strict";n.d(t,{lX:()=>tz,yn:()=>tY,DY:()=>tB});var r,i,o,l,s,a,u,c,h,d,f,p,g,m,O,x,b,v,y,k,w,S,C,P,$,Q,_,T,A,E,Z,R,j,M,L,I,X,N,V,D,z,q,B,F,Y,U,W,H=n(17705),G=n(60554),J=n(6353),K=n(26874),ee=n(35800),et=n(48493);let en=Object.assign(er(Error),{eval:er(EvalError),range:er(RangeError),reference:er(ReferenceError),syntax:er(SyntaxError),type:er(TypeError),uri:er(URIError)});function er(e){return t.displayName=e.displayName||e.name,t;function t(n,...r){return new e(n?et(n,...r):n)}}let ei={}.hasOwnProperty,eo={yaml:"-",toml:"+"};function el(e){let t=[],n=-1,r=Array.isArray(e)?e:e?[e]:["yaml"];for(;++n<r.length;)t[n]=function(e){let t=e;if("string"==typeof t){if(!ei.call(eo,t))throw en("Missing matter definition for `%s`",t);t={type:t,marker:eo[t]}}else if("object"!=typeof t)throw en("Expected matter to be an object, not `%j`",t);if(!ei.call(t,"type"))throw en("Missing `type` in matter `%j`",t);if(!ei.call(t,"fence")&&!ei.call(t,"marker"))throw en("Missing `marker` or `fence` in matter `%j`",t);return t}(r[n]);return t}function es(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,ee.ok)("value"in n),this.exit(e),n.value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}function ea(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function eu(e,t){return e.marker?ec(e.marker,t).repeat(3):ec(e.fence,t)}function ec(e,t){return"string"==typeof e?e:e[t]}var eh=n(24525);function ed(e,t){return e.marker?ef(e.marker,t).repeat(3):ef(e.fence,t)}function ef(e,t){return"string"==typeof e?e:e[t]}var ep=n(7620),eg=n(41074),em=n(89324),eO=n(3678),ex=n(86476),eb=n(88932),ev=n(13141),ey=n(90124),ek=n(72691),ew=n(40444),eS=n(70488),eC=n(46748),eP=n(66203),e$=n(19681),eQ=n(26475),e_=n(81541),eT=n(54568),eA=Object.defineProperty,eE=(e,t)=>eA(e,"name",{value:t,configurable:!0}),eZ="Dialog",[eR,ej]=(0,eO.A)(eZ),[eM,eL]=eR(eZ),eI=eE(e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:l=!0}=e,s=ep.useRef(null),a=ep.useRef(null),[u,c]=(0,eb.i)({prop:r,defaultProp:i??!1,onChange:o,caller:eZ}),[h,d]=ep.useState(0),[f,p]=ep.useState(0);return(0,eT.jsx)(eM,{scope:t,triggerRef:s,contentRef:a,contentId:(0,ex.B)(),titleId:(0,ex.B)(),descriptionId:(0,ex.B)(),titlePresent:h>0,descriptionPresent:f>0,setTitleCount:d,setDescriptionCount:p,open:u,onOpenChange:c,onOpenToggle:ep.useCallback(()=>c(e=>!e),[c]),modal:l,children:n})},"Dialog"),eX="DialogPortal",[eN,eV]=eR(eX,{forceMount:void 0}),eD=eE(e=>{let{__scopeDialog:t,forceMount:n,children:r,container:i}=e,o=eL(eX,t);return(0,eT.jsx)(eN,{scope:t,forceMount:n,children:ep.Children.map(r,e=>(0,eT.jsx)(ew.C,{present:n||o.open,children:(0,eT.jsx)(ek.Z,{asChild:!0,container:i,children:e})}))})},"DialogPortal"),ez="DialogOverlay",eq=ep.forwardRef(eE(function(e,t){let n=eV(ez,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=eL(ez,e.__scopeDialog);return o.modal?(0,eT.jsx)(ew.C,{present:r||o.open,children:(0,eT.jsx)(eF,{...i,ref:t})}):null},"DialogOverlay")),eB=(0,e_.TL)("DialogOverlay.RemoveScroll"),eF=ep.forwardRef(eE(function(e,t){let{__scopeDialog:n,...r}=e,i=eL(ez,n),o=(0,ev.e0)(),l=(0,em.s)(t,o);return(0,eT.jsx)(e$.A,{as:eB,allowPinchZoom:!0,shards:[i.contentRef],children:(0,eT.jsx)(eS.sG.div,{"data-state":e1(i.open),...r,ref:l,style:{pointerEvents:"auto",...r.style}})})},"DialogOverlayImpl")),eY="DialogContent",eU=ep.forwardRef(eE(function(e,t){let n=eV(eY,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=eL(eY,e.__scopeDialog);return(0,eT.jsx)(ew.C,{present:r||o.open,children:o.modal?(0,eT.jsx)(eW,{...i,ref:t}):(0,eT.jsx)(eH,{...i,ref:t})})},"DialogContent")),eW=ep.forwardRef(eE(function(e,t){let n=eL(eY,e.__scopeDialog),r=ep.useRef(null),i=(0,em.s)(t,n.contentRef,r);return ep.useEffect(()=>{let e=r.current;if(e)return(0,eQ.Eq)(e)},[]),(0,eT.jsx)(eG,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,onCloseAutoFocus:(0,eg.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:(0,eg.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,eg.mK)(e.onFocusOutside,e=>e.preventDefault())})},"DialogContentModal")),eH=ep.forwardRef(eE(function(e,t){let n=eL(eY,e.__scopeDialog),r=ep.useRef(!1),i=ep.useRef(!1);return(0,eT.jsx)(eG,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let o=t.target;n.triggerRef.current?.contains(o)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})},"DialogContentNonModal")),eG=ep.forwardRef(eE(function(e,t){let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,...l}=e,s=eL(eY,n);return(0,eC.Oh)(),(0,eT.jsx)(eT.Fragment,{children:(0,eT.jsx)(ey.n,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o,children:(0,eT.jsx)(ev.qW,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionPresent?s.descriptionId:void 0,"aria-labelledby":s.titlePresent?s.titleId:void 0,"data-state":e1(s.open),...l,ref:t,deferPointerDownOutside:!0,onDismiss:()=>s.onOpenChange(!1)})})})},"DialogContentImpl")),eJ=ep.forwardRef(eE(function(e,t){let{__scopeDialog:n,...r}=e,i=eL("DialogTitle",n),{setTitleCount:o}=i;return(0,eP.N)(()=>(o(e=>e+1),()=>o(e=>e-1)),[o]),(0,eT.jsx)(eS.sG.h2,{id:i.titleId,...r,ref:t})},"DialogTitle")),eK=ep.forwardRef(eE(function(e,t){let{__scopeDialog:n,...r}=e,i=eL("DialogDescription",n),{setDescriptionCount:o}=i;return(0,eP.N)(()=>(o(e=>e+1),()=>o(e=>e-1)),[o]),(0,eT.jsx)(eS.sG.p,{id:i.descriptionId,...r,ref:t})},"DialogDescription")),e0=ep.forwardRef(eE(function(e,t){let{__scopeDialog:n,...r}=e,i=eL("DialogClose",n);return(0,eT.jsx)(eS.sG.button,{type:"button",...r,ref:t,onClick:(0,eg.mK)(e.onClick,()=>i.onOpenChange(!1))})},"DialogClose"));function e1(e){return e?"open":"closed"}eE(e1,"getState");var e5=n(3793),e2={},e3={},e9={};function e4(){if(i)return e9;function e(e){return null==e}return i=1,e9.isNothing=e,e9.isObject=function(e){return"object"==typeof e&&null!==e},e9.toArray=function(t){return Array.isArray(t)?t:e(t)?[]:[t]},e9.repeat=function(e,t){let n="";for(let r=0;r<t;r+=1)n+=e;return n},e9.isNegativeZero=function(e){return 0===e&&-1/0==1/e},e9.extend=function(e,t){if(t){let n=Object.keys(t);for(let r=0,i=n.length;r<i;r+=1){let i=n[r];e[i]=t[i]}}return e},e9}function e7(){if(l)return o;function e(e,t){let n="",r=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(n+='in "'+e.mark.name+'" '),n+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(n+="\n\n"+e.mark.snippet),r+" "+n):r}function t(t,n){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=n,this.message=e(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||""}return l=1,t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.toString=function(t){return this.name+": "+e(this,t)},o=t}
1function e6(){if(c)return u;c=1;let e=e7(),t=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],n=["scalar","sequence","mapping"];return u=function(r,i){var o;let l;if(Object.keys(i=i||{}).forEach(function(n){if(-1===t.indexOf(n))throw new e('Unknown option "'+n+'" is met in definition of "'+r+'" YAML type.')}),this.options=i,this.tag=r,this.kind=i.kind||null,this.resolve=i.resolve||function(){return!0},this.construct=i.construct||function(e){return e},this.instanceOf=i.instanceOf||null,this.predicate=i.predicate||null,this.represent=i.represent||null,this.representName=i.representName||null,this.defaultStyle=i.defaultStyle||null,this.multi=i.multi||!1,this.styleAliases=(o=i.styleAliases||null,l={},null!==o&&Object.keys(o).forEach(function(e){o[e].forEach(function(t){l[String(t)]=e})}),l),-1===n.indexOf(this.kind))throw new e('Unknown kind "'+this.kind+'" is specified for "'+r+'" YAML type.')}}function e8(){if(d)return h;d=1;let e=e7(),t=e6();function n(e,t){let n=[];return e[t].forEach(function(e){let t=n.length;n.forEach(function(n,r){n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi&&(t=r)}),n[t]=e}),n}function r(e){return this.extend(e)}return r.prototype.extend=function(i){let o=[],l=[];if(i instanceof t)l.push(i);else if(Array.isArray(i))l=l.concat(i);else if(i&&(Array.isArray(i.implicit)||Array.isArray(i.explicit)))i.implicit&&(o=o.concat(i.implicit)),i.explicit&&(l=l.concat(i.explicit));else throw new e("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");o.forEach(function(n){if(!(n instanceof t))throw new e("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(n.loadKind&&"scalar"!==n.loadKind)throw new e("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(n.multi)throw new e("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),l.forEach(function(n){if(!(n instanceof t))throw new e("Specified list of YAML types (or a single Type object) contains a non-Type object.")});let s=Object.create(r.prototype);return s.implicit=(this.implicit||[]).concat(o),s.explicit=(this.explicit||[]).concat(l),s.compiledImplicit=n(s,"implicit"),s.compiledExplicit=n(s,"explicit"),s.compiledTypeMap=function(){let e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function t(t){t.multi?(e.multi[t.kind].push(t),e.multi.fallback.push(t)):e[t.kind][t.tag]=e.fallback[t.tag]=t}for(let e=0,n=arguments.length;e<n;e+=1)arguments[e].forEach(t);return e}(s.compiledImplicit,s.compiledExplicit),s},h=r}function te(){return p?f:(p=1,f=new(e6())("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}}))}function tt(){return m?g:(m=1,g=new(e6())("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}}))}function tn(){return x?O:(x=1,O=new(e6())("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}}))}function tr(){return v?b:(v=1,b=new(e8())({explicit:[te(),tt(),tn()]}))}function ti(){return k?y:(k=1,y=new(e6())("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){if(null===e)return!0;let t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)},construct:function(){return null},predicate:function(e){return null===e},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}))}function to(){return S?w:(S=1,w=new(e6())("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(null===e)return!1;let t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"}))}function tl(){if(P)return C;P=1;let e=e4();function t(e){let t=e,n=1,r=t[0];if(("-"===r||"+"===r)&&("-"===r&&(n=-1),r=(t=t.slice(1))[0]),"0"===t)return 0;if("0"===r){if("b"===t[1])return n*parseInt(t.slice(2),2);if("x"===t[1])return n*parseInt(t.slice(2),16);if("o"===t[1])return n*parseInt(t.slice(2),8)}return n*parseInt(t,10)}return C=new(e6())("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){var n,r,i;if(null===e)return!1;let o=e.length,l=0,s=!1;if(!o)return!1;let a=e[l];
1if(("-"===a||"+"===a)&&(a=e[++l]),"0"===a){if(l+1===o)return!0;if("b"===(a=e[++l])){for(l++;l<o;l++){if("0"!==(a=e[l])&&"1"!==a)return!1;s=!0}return s&&isFinite(t(e))}if("x"===a){for(l++;l<o;l++){if(!((n=e.charCodeAt(l))>=48&&n<=57||n>=65&&n<=70||n>=97&&n<=102))return!1;s=!0}return s&&isFinite(t(e))}if("o"===a){for(l++;l<o;l++){if(!((r=e.charCodeAt(l))>=48&&r<=55))return!1;s=!0}return s&&isFinite(t(e))}}for(;l<o;l++){if(!((i=e.charCodeAt(l))>=48&&i<=57))return!1;s=!0}return!!s&&isFinite(t(e))},construct:function(e){return t(e)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&t%1==0&&!e.isNegativeZero(t)},represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})}function ts(){if(Q)return $;Q=1;let e=e4(),t=e6(),n=RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),r=RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),i=/^[-+]?[0-9]+e/;return $=new t("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!!n.test(e)&&(!!isFinite(parseFloat(e,10))||r.test(e))},construct:function(e){let t=e.toLowerCase(),n="-"===t[0]?-1:1;return("+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t)?1===n?1/0:-1/0:".nan"===t?NaN:n*parseFloat(t,10)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||e.isNegativeZero(t))},represent:function(t,n){if(isNaN(t))switch(n){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(1/0===t)switch(n){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(-1/0===t)switch(n){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(e.isNegativeZero(t))return"-0.0";let r=t.toString(10);return i.test(r)?r.replace("e",".e"):r},defaultStyle:"lowercase"})}function ta(){return T?_:(T=1,_=tr().extend({implicit:[ti(),to(),tl(),ts()]}))}function tu(){return E?A:(E=1,A=ta())}function tc(){if(R)return Z;R=1;let e=e6(),t=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),n=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");return Z=new e("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==t.exec(e)||null!==n.exec(e))},construct:function(e){let r=0,i=null,o=t.exec(e);if(null===o&&(o=n.exec(e)),null===o)throw Error("Date resolve error");let l=+o[1],s=o[2]-1,a=+o[3];if(!o[4])return new Date(Date.UTC(l,s,a));let u=+o[4],c=+o[5],h=+o[6];if(o[7]){for(r=o[7].slice(0,3);r.length<3;)r+="0";r*=1}o[9]&&(i=(60*o[10]+ +(o[11]||0))*6e4,"-"===o[9]&&(i=-i));let d=new Date(Date.UTC(l,s,a,u,c,h,r));return i&&d.setTime(d.getTime()-i),d},instanceOf:Date,represent:function(e){return e.toISOString()}})}function th(){return M?j:(M=1,j=new(e6())("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}}))}function td(){if(I)return L;I=1;let e=e6(),t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";return L=new e("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;let n=0,r=e.length;for(let i=0;i<r;i++){let r=t.indexOf(e.charAt(i));if(!(r>64)){if(r<0)return!1;n+=6}}return n%8==0},construct:function(e){let n=e.replace(/[\r\n=]/g,""),r=n.length,i=0,o=[];for(let e=0;e<r;e++)e%4==0&&e&&(o.push(i>>16&255),o.push(i>>8&255),o.push(255&i)),i=i<<6|t.indexOf(n.charAt(e));let l=r%4*6;return 0===l?(o.push(i>>16&255),o.push(i>>8&255),o.push(255&i)):18===l?(o.push(i>>10&255),o.push(i>>2&255)):12===l&&o.push(i>>4&255),new Uint8Array(o)},predicate:function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)},represent:function(e){let n="",r=0,i=e.length;for(let o=0;o<i;o++)o%3==0&&o&&(n+=t[r>>18&63],n+=t[r>>12&63],n+=t[r>>6&63],n+=t[63&r]),r=(r<<8)+e[o];let o=i%3;return 0===o?(n+=t[r>>18&63],n+=t[r>>12&63],n+=t[r>>6&63],n+=t[63&r]):2===o?(n+=t[r>>10&63],n+=t[r>>4&63],n+=t[r<<2&63],n+=t[64]):1===o&&(n+=t[r>>2&63],n+=t[r<<4&63],n+=t[64],n+=t[64]),n}})}function tf(){if(N)return X;N=1;let e=e6(),t=Object.prototype.hasOwnProperty,n=Object.prototype.toString;
1return X=new e("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;let r={};for(let i=0,o=e.length;i<o;i+=1){let o,l=e[i],s=!1;if("[object Object]"!==n.call(l))return!1;for(o in l)if(t.call(l,o))if(s)return!1;else s=!0;if(!s||t.call(r,o))return!1;Object.defineProperty(r,o,{value:!0})}return!0},construct:function(e){return null!==e?e:[]}})}function tp(){if(D)return V;D=1;let e=e6(),t=Object.prototype.toString;return V=new e("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(e){if(null===e)return!0;let n=Array(e.length);for(let r=0,i=e.length;r<i;r+=1){let i=e[r];if("[object Object]"!==t.call(i))return!1;let o=Object.keys(i);if(1!==o.length)return!1;n[r]=[o[0],i[o[0]]]}return!0},construct:function(e){if(null===e)return[];let t=Array(e.length);for(let n=0,r=e.length;n<r;n+=1){let r=e[n],i=Object.keys(r);t[n]=[i[0],r[i[0]]]}return t}})}function tg(){if(q)return z;q=1;let e=e6(),t=Object.prototype.hasOwnProperty;return z=new e("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(e){if(null===e)return!0;for(let n in e)if(t.call(e,n)&&null!==e[n])return!1;return!0},construct:function(e){return null!==e?e:{}}})}function tm(){return F?B:(F=1,B=tu().extend({implicit:[tc(),th()],explicit:[td(),tf(),tp(),tg()]}))}var tO={};let tx=(r=function(){if(W)return e2;W=1;let e=function(){if(Y)return e3;Y=1;let e=e4(),t=e7(),n=function(){if(a)return s;a=1;let e=e4();function t(e,t,n,r,i){let o="",l="",s=Math.floor(i/2)-1;return r-t>s&&(t=r-s+(o=" ... ").length),n-r>s&&(n=r+s-(l=" ...").length),{str:o+e.slice(t,n).replace(/\t/g,"â")+l,pos:r-t+o.length}}function n(t,n){return e.repeat(" ",n-t.length)+t}return s=function(r,i){let o;if(i=Object.create(i||null),!r.buffer)return null;i.maxLength||(i.maxLength=79),"number"!=typeof i.indent&&(i.indent=1),"number"!=typeof i.linesBefore&&(i.linesBefore=3),"number"!=typeof i.linesAfter&&(i.linesAfter=2);let l=/\r?\n|\r|\0/g,s=[0],a=[],u=-1;for(;o=l.exec(r.buffer);)a.push(o.index),s.push(o.index+o[0].length),r.position<=o.index&&u<0&&(u=s.length-2);u<0&&(u=s.length-1);let c="",h=Math.min(r.line+i.linesAfter,a.length).toString().length,d=i.maxLength-(i.indent+h+3);for(let o=1;o<=i.linesBefore&&!(u-o<0);o++){let l=t(r.buffer,s[u-o],a[u-o],r.position-(s[u]-s[u-o]),d);c=e.repeat(" ",i.indent)+n((r.line-o+1).toString(),h)+" | "+l.str+"\n"+c}let f=t(r.buffer,s[u],a[u],r.position,d);c+=e.repeat(" ",i.indent)+n((r.line+1).toString(),h)+" | "+f.str+"\n"+e.repeat("-",i.indent+h+3+f.pos)+"^\n";for(let o=1;o<=i.linesAfter&&!(u+o>=a.length);o++){let l=t(r.buffer,s[u+o],a[u+o],r.position-(s[u]-s[u+o]),d);c+=e.repeat(" ",i.indent)+n((r.line+o+1).toString(),h)+" | "+l.str+"\n"}return c.replace(/\n$/,"")}}(),r=tm(),i=Object.prototype.hasOwnProperty,o=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,l=/[\x85\u2028\u2029]/,u=/[,\[\]{}]/,c=/^(?:!|!!|![0-9A-Za-z-]+!)$/,h=/^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;function d(e){return Object.prototype.toString.call(e)}function f(e){return 10===e||13===e}function p(e){return 9===e||32===e}function g(e){return 9===e||32===e||10===e||13===e}function m(e){return 44===e||91===e||93===e||123===e||125===e}function O(e){switch(e){case 48:return"\0";case 97:return"\x07";case 98:return"\b";case 116:case 9:return" ";case 110:return"\n";case 118:return"\v";case 102:return"\f";case 114:return"\r";case 101:return"\x1b";case 32:return" ";case 34:return'"';case 47:return"/";case 92:return"\\";case 78:return"\x85";case 95:return"\xa0";case 76:return"\u2028";case 80:return"\u2029";default:return""}}function x(e,t,n){"__proto__"===t?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:n}):e[t]=n}let b=Array(256),v=Array(256);for(let e=0;e<256;e++)b[e]=+!!O(e),v[e]=O(e);function y(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||r,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.maxDepth="number"==typeof t.maxDepth?t.maxDepth:100,this.maxTotalMergeKeys="number"==typeof t.maxTotalMergeKeys?t.maxTotalMergeKeys:1e4,this.impl
1icitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.depth=0,this.totalMergeKeys=0,this.firstTabInLine=-1,this.documents=[],this.anchorMapTransactions=[]}function k(e,r){let i={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return i.snippet=n(i),new t(r,i)}function w(e,t){throw k(e,t)}function S(e,t){e.onWarning&&e.onWarning.call(null,k(e,t))}function C(e,t,n){let r=e.anchorMapTransactions;if(0!==r.length){let n=r[r.length-1];i.call(n,t)||(n[t]={existed:i.call(e.anchorMap,t),value:e.anchorMap[t]})}e.anchorMap[t]=n}function P(e){return{position:e.position,line:e.line,lineStart:e.lineStart,lineIndent:e.lineIndent,firstTabInLine:e.firstTabInLine,tag:e.tag,anchor:e.anchor,kind:e.kind,result:e.result}}function $(e,t){e.position=t.position,e.line=t.line,e.lineStart=t.lineStart,e.lineIndent=t.lineIndent,e.firstTabInLine=t.firstTabInLine,e.tag=t.tag,e.anchor=t.anchor,e.kind=t.kind,e.result=t.result}let Q={YAML:function(e,t,n){null!==e.version&&w(e,"duplication of %YAML directive"),1!==n.length&&w(e,"YAML directive accepts exactly one argument");let r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]);null===r&&w(e,"ill-formed argument of the YAML directive");let i=parseInt(r[1],10),o=parseInt(r[2],10);1!==i&&w(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=o<2,1!==o&&2!==o&&S(e,"unsupported YAML version of the document")},TAG:function(e,t,n){let r;2!==n.length&&w(e,"TAG directive accepts exactly two arguments");let o=n[0];r=n[1],c.test(o)||w(e,"ill-formed tag handle (first argument) of the TAG directive"),i.call(e.tagMap,o)&&w(e,'there is a previously declared suffix for "'+o+'" tag handle'),h.test(r)||w(e,"ill-formed tag prefix (second argument) of the TAG directive");try{r=decodeURIComponent(r)}catch(t){w(e,"tag prefix is malformed: "+r)}e.tagMap[o]=r}};function _(e,t,n,r){if(t<n){let i=e.input.slice(t,n);if(r)for(let t=0,n=i.length;t<n;t+=1){let n=i.charCodeAt(t);9===n||n>=32&&n<=1114111||w(e,"expected valid JSON character")}else o.test(i)&&w(e,"the stream contains non-printable characters");e.result+=i}}function T(e){e.totalMergeKeys++,-1!==e.maxTotalMergeKeys&&e.totalMergeKeys>e.maxTotalMergeKeys&&w(e,"merge keys exceeded maxTotalMergeKeys ("+e.maxTotalMergeKeys+")")}function A(t,n,r,o){e.isObject(r)||w(t,"cannot merge mappings; the provided source object is unacceptable"),T(t);let l=Object.keys(r);for(let e=0,s=l.length;e<s;e+=1){let s=l[e];T(t),i.call(n,s)||(x(n,s,r[s]),o[s]=!0)}}function E(e,t,n,r,o,l,s,a,u){if(Array.isArray(o)){o=Array.prototype.slice.call(o);for(let t=0,n=o.length;t<n;t+=1)Array.isArray(o[t])&&w(e,"nested arrays are not supported inside keys"),"object"==typeof o&&"[object Object]"===d(o[t])&&(o[t]="[object Object]")}if("object"==typeof o&&"[object Object]"===d(o)&&(o="[object Object]"),o=String(o),null===t&&(t={}),"tag:yaml.org,2002:merge"===r)if(Array.isArray(l)){l.length>100&&w(e,"abnormal merge sequence size");for(let r=0,i=l.length;r<i;r+=1)A(e,t,l[r],n)}else A(e,t,l,n);else!e.json&&!i.call(n,o)&&i.call(t,o)&&(e.line=s||e.line,e.lineStart=a||e.lineStart,e.position=u||e.position,w(e,"duplicated mapping key")),x(t,o,l),delete n[o];return t}function Z(e){let t=e.input.charCodeAt(e.position);10===t?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):w(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function R(e,t,n){let r=0,i=e.input.charCodeAt(e.position);for(;0!==i;){for(;p(i);)9===i&&-1===e.firstTabInLine&&(e.firstTabInLine=e.position),i=e.input.charCodeAt(++e.position);if(t&&35===i)do i=e.input.charCodeAt(++e.position);while(10!==i&&13!==i&&0!==i);if(f(i))for(Z(e),i=e.input.charCodeAt(e.position),r++,e.lineIndent=0;32===i;)e.lineIndent++,i=e.input.charCodeAt(++e.position);else break}return -1!==n&&0!==r&&e.lineIndent<n&&S(e,"deficient indentation"),r}function j(e){let t=e.position,n=e.input.charCodeAt(t);return!!((45===n||46===n)&&n===e.input.charCodeAt(t+1)&&n===e.input.charCodeAt(t+2)&&(t+=3,0===(n=e.input.charCodeAt(t))||g(n)))||!1}function M(t,n){1===n?t.result+=" ":n>1&&(t.result+=e.repeat("\n",n-1))}function L(e,t){let n=e.tag,r=e.anchor,i=[],o=!1;if(-1!==e.firstTabInLine)return!1;null!==e.anchor&&C(e,e.anchor,i);let l=e.input.charCodeAt(e.position);for(;0!==l&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,w(e,"tab characters must not be used in indentation")),45===l&&g(e.input.charCodeAt(e.position+1)));){if(o=!0,e.position++,R(e,!0,-1)&&e.lineIndent<=t){i.push(null),l=e.input.charCodeAt(e.position);continue}let n=e.line;if(X(e,t,3,!1,!0),i.push(e.result),R(e,!0,-1),l=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==l)w(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return!!o&&(e.tag=n,e.anchor=r,e.kind="sequence",e.result=i,!0)}function I(e,t,n){let r,i,o,l,s=e.tag,a=e.anchor,u={},c=Object.create(null),h=null,d=null,f=null,m=!1,O=!1;if(-1!==e.firstTabInLine)return!1;null!==e.anchor&&C(e,e.anchor,u);let x=e.input.charCodeAt(e.position);for(;0!==x;){m||-1===e.firstTabInLine||(e.position=e.firstTabInLine,w(e,"tab characters must not be used in indentation"));let b=e.input.charCodeAt(e.position+1),v=e.line;if((63===x||58===x)&&g(b))63===x?(m&&(E(e,u,c,h,d,null,i,o,l),h=d=f=null),O=!0,m=!0,r=!0):m?(m=!1,r=!0):w(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,x=b;else{if(i=e.line,o=e.lineStart,l=e.position,!X(e,n,2,!1,!0))break;if(e.line===v){for(x=e.input.charCodeAt(e.position);p(x);)x=e.input.charCodeAt(++e.position);if(58===x)g(x=e.input.charCodeAt(++e.position))||w(e,"a whitespace character is expected after the key-value separator within a block mapping"),m&&(E(e,u,c,h,d,null,i,o,l),h=d=f=null),O=!0,m=!1,r=!1,h=e.tag,d=e.result;else{if(!O)return e.tag=s,e.anchor=a,!0;w(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!O)return e.tag=s,e.anchor=a,!0;w(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}if((e.line===v||e.lineIndent>t)&&(m&&(i=e.line,o=e.lineStart,l=e.position),X(e,t,4,!0,r)&&(m?d=e.result:f=e.result),m||(E(e,u,c,h,d,f,i,o,l),h=d=f=null),R(e,!0,-1),x=e.input.charCodeAt(e.position)),(e.line===v||e.lineIndent>t)&&0!==x)w(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return m&&E(e,u,c,h,d,null,i,o,l),O&&(e.tag=s,e.anchor=a,e.kind="mapping",e.result=u),O}function X(t,n,r,o,l){let s,a,d,O,x,y=1,k=!1,S=!1,Q=null;t.depth>=t.maxDepth&&w(t,"nesting exceeded maxDepth ("+t.maxDepth+")"),t.depth+=1,null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null;let T=s=a=4===r||3===r;if(o&&R(t,!0,-1)&&(k=!0,t.lineIndent>n?y=1:t.lineIndent===n?y=0:t.lineIndent<n&&(y=-1)),1===y)for(;;){let e=t.input.charCodeAt(t.position),r=P(t);if(k&&(33===e&&null!==t.tag||38===e&&null!==t.anchor)||!function(e){let t,n,r=!1,o=!1,l=e.input.charCodeAt(e.position);if(33!==l)return!1;null!==e.tag&&w(e,"duplication of a tag property"),60===(l=e.input.charCodeAt(++e.position))?(r=!0,l=e.input.charCodeAt(++e.position)):33===l?(o=!0,t="!!",l=e.input.charCodeAt(++e.position)):t="!";let s=e.position;if(r){do l=e.input.charCodeAt(++e.position);while(0!==l&&62!==l);e.position<e.length?(n=e.input.slice(s,e.position),l=e.input.charCodeAt(++e.position)):w(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==l&&!g(l);)33===l&&(o?w(e,"tag suffix cannot contain exclamation marks"):(t=e.input.slice(s-1,e.position+1),c.test(t)||w(e,"named tag handle cannot contain such characters"),o=!0,s=e.position+1)),l=e.input.charCodeAt(++e.position);n=e.input.slice(s,e.position),u.test(n)&&w(e,"tag suffix cannot contain flow indicator characters")}n&&!h.test(n)&&w(e,"tag name cannot contain such characters: "+n);try{n=decodeURIComponent(n)}catch(t){w(e,"tag name is malformed: "+n)}return r?e.tag=n:i.call(e.tagMap,t)?e.tag=e.tagMap[t]+n:"!"===t?e.tag="!"+n:"!!"===t?e.tag="tag:yaml.org,2002:"+n:w(e,'undeclared tag handle "'+t+'"'),!0}(t)&&!function(e){let t=e.input.charCodeAt(e.position);if(38!==t)return!1;null!==e.anchor&&w(e,"duplication of an anchor property"),t=e.input.charCodeAt(++e.position);let n=e.position;for(;0!==t&&!g(t)&&!m(t);)t=e.input.charCodeAt(++e.position);return e.position===n&&w(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(n,e.position),!0}(t))break;null===Q&&(Q=r),R(t,!0,-1)?(k=!0,a=T,t.lineIndent>n?y=1:t.lineIndent===n?y=0:t.lineIndent<n&&(y=-1)):a=!1}if(a&&(a=k||l),1===y||4===r)if(O=1===r||2===r?n:n+1,x=t.position-t.lineStart,1===y)if(a&&(L(t,x)||I(t,x,O))||function(e,t){let n,r,i,o,l,s,a,u,c,h,d,f=!0,p=e.tag,m=e.anchor,O=Object.create(null),x=e.input.charCodeAt(e.position);if(91===x)l=93,u=!1,o=[];else{if(123!==x)return!1;l=125,u=!0,o={}}for(null!==e.anchor&&C(e,e.anchor,o),x=e.input.charCodeAt(++e.position);0!==x;){if(R(e,!0,t),(x=e.input.charCodeAt(e.position))===l)return e.position++,e.tag=p,e.anchor=m,e.kind=u?"mapping":"sequence",e.result=
1o,!0;f?44===x&&w(e,"expected the node content, but found ','"):w(e,"missed comma between flow collection entries"),h=c=d=null,s=a=!1,63===x&&g(e.input.charCodeAt(e.position+1))&&(s=a=!0,e.position++,R(e,!0,t)),n=e.line,r=e.lineStart,i=e.position,X(e,t,1,!1,!0),h=e.tag,c=e.result,R(e,!0,t),x=e.input.charCodeAt(e.position),(a||e.line===n)&&58===x&&(s=!0,x=e.input.charCodeAt(++e.position),R(e,!0,t),X(e,t,1,!1,!0),d=e.result),u?E(e,o,O,h,c,d,n,r,i):s?o.push(E(e,null,O,h,c,d,n,r,i)):o.push(c),R(e,!0,t),44===(x=e.input.charCodeAt(e.position))?(f=!0,x=e.input.charCodeAt(++e.position)):f=!1}w(e,"unexpected end of the stream within a flow collection")}(t,O))S=!0;else{let n=t.input.charCodeAt(t.position);null!==Q&&T&&!a&&124!==n&&62!==n&&function(e,t,n,r){let o=P(e);if(e.anchorMapTransactions.push(Object.create(null)),$(e,t),e.tag=null,e.anchor=null,e.kind=null,e.result=null,I(e,n,r)&&"mapping"===e.kind)return!function(e){let t=e.anchorMapTransactions.pop(),n=e.anchorMapTransactions;if(0===n.length)return;let r=n[n.length-1],o=Object.keys(t);for(let e=0,n=o.length;e<n;e+=1){let n=o[e];i.call(r,n)||(r[n]=t[n])}}(e),!0;let l=e.anchorMapTransactions.pop(),s=Object.keys(l);for(let t=s.length-1;t>=0;t-=1){let n=l[s[t]];n.existed?e.anchorMap[s[t]]=n.value:delete e.anchorMap[s[t]]}return $(e,o),!1}(t,Q,Q.position-Q.lineStart,O)||s&&function(t,n){let r,i,o=1,l=!1,s=!1,a=n,u=0,c=!1,h=t.input.charCodeAt(t.position);if(124===h)r=!1;else{if(62!==h)return!1;r=!0}for(t.kind="scalar",t.result="";0!==h;)if(43===(h=t.input.charCodeAt(++t.position))||45===h)1===o?o=43===h?3:2:w(t,"repeat of a chomping mode identifier");else{var d;if((i=(d=h)>=48&&d<=57?d-48:-1)>=0)0===i?w(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):s?w(t,"repeat of an indentation width identifier"):(a=n+i-1,s=!0);else break}if(p(h)){do h=t.input.charCodeAt(++t.position);while(p(h));if(35===h)do h=t.input.charCodeAt(++t.position);while(!f(h)&&0!==h)}for(;0!==h;){for(Z(t),t.lineIndent=0,h=t.input.charCodeAt(t.position);(!s||t.lineIndent<a)&&32===h;)t.lineIndent++,h=t.input.charCodeAt(++t.position);if(!s&&t.lineIndent>a&&(a=t.lineIndent),f(h)){u++;continue}if(s||0!==a||w(t,"missing indentation for block scalar"),t.lineIndent<a){3===o?t.result+=e.repeat("\n",l?1+u:u):1===o&&l&&(t.result+="\n");break}r?p(h)?(c=!0,t.result+=e.repeat("\n",l?1+u:u)):c?(c=!1,t.result+=e.repeat("\n",u+1)):0===u?l&&(t.result+=" "):t.result+=e.repeat("\n",u):t.result+=e.repeat("\n",l?1+u:u),l=!0,s=!0,u=0;let n=t.position;for(;!f(h)&&0!==h;)h=t.input.charCodeAt(++t.position);_(t,n,t.position,!1)}return!0}(t,O)||function(e,t){let n,r,i=e.input.charCodeAt(e.position);if(39!==i)return!1;for(e.kind="scalar",e.result="",e.position++,n=r=e.position;0!==(i=e.input.charCodeAt(e.position));)if(39===i){if(_(e,n,e.position,!0),39!==(i=e.input.charCodeAt(++e.position)))return!0;n=e.position,e.position++,r=e.position}else f(i)?(_(e,n,r,!0),M(e,R(e,!1,t)),n=r=e.position):e.position===e.lineStart&&j(e)?w(e,"unexpected end of the document within a single quoted scalar"):(e.position++,p(i)||(r=e.position));w(e,"unexpected end of the stream within a single quoted scalar")}(t,O)||function(e,t){let n,r,i,o=e.input.charCodeAt(e.position);if(34!==o)return!1;for(e.kind="scalar",e.result="",e.position++,n=r=e.position;0!==(o=e.input.charCodeAt(e.position));)if(34===o)return _(e,n,e.position,!0),e.position++,!0;else if(92===o){if(_(e,n,e.position,!0),f(o=e.input.charCodeAt(++e.position)))R(e,!1,t);else if(o<256&&b[o])e.result+=v[o],e.position++;else{var l,s;if((i=120===(l=o)?2:117===l?4:8*(85===l))>0){let t=i,n=0;for(;t>0;t--)(i=function(e){if(e>=48&&e<=57)return e-48;let t=32|e;return t>=97&&t<=102?t-97+10:-1}(o=e.input.charCodeAt(++e.position)))>=0?n=(n<<4)+i:w(e,"expected hexadecimal character");e.result+=(s=n)<=65535?String.fromCharCode(s):String.fromCharCode((s-65536>>10)+55296,(s-65536&1023)+56320),e.position++}else w(e,"unknown escape sequence")}n=r=e.position}else f(o)?(_(e,n,r,!0),M(e,R(e,!1,t)),n=r=e.position):e.position===e.lineStart&&j(e)?w(e,"unexpected end of the document within a double quoted scalar"):(e.position++,p(o)||(r=e.position));w(e,"unexpected end of the stream within a double quoted scalar")}(t,O)?S=!0:function(e){let t=e.input.charCodeAt(e.position);if(42!==t)return!1;t=e.input.charCodeAt(++e.position);let n=e.position;for(;0!==t&&!g(t)&&!m(t);)t=e.input.charCodeAt(++e.position);e.position===n&&w(e,"name of an alias node must contain at least one character");let r=e.input.slice(n,e.position);return i.call(e.anchorMap,r)||w(e,'unidentified alias "'+r+'"'),e.result=e.anchorMap[r],R(e,!0,-1),!0}(t)?(S=!0,(null!==t.tag||null!==t.anchor)&&w(t,"alias node should not have any properties")):function(e,t,n){let r,i,o,l,s,a,u=e.kind,c=e.result,h=e.input.charCodeAt(e.position);if(g(h)||m(h)||35===h||38===h||42===h||33===h||124===h||62===h||39===h||34===h||37===h||64===h||96===h)return!1;if(63===h||45===h){let t=e.input.charCodeAt(e.position+1);if(g(t)||n&&m(t))return!1}for(e.kind="scalar",e.result="",r=i=e.position,o=!1;0!==h;){if(58===h){let t=e.input.charCodeAt(e.position+1);if(g(t)||n&&m(t))break}else if(35===h){if(g(e.input.charCodeAt(e.position-1)))break}else if(e.position===e.lineStart&&j(e)||n&&m(h))break;else if(f(h)){if(l=e.line,s=e.lineStart,a=e.lineIndent,R(e,!1,-1),e.lineIndent>=t){o=!0,h=e.input.charCodeAt(e.position);continue}e.position=i,e.line=l,e.lineStart=s,e.lineIndent=a;break}
1o&&(_(e,r,i,!1),M(e,e.line-l),r=i=e.position,o=!1),p(h)||(i=e.position+1),h=e.input.charCodeAt(++e.position)}return _(e,r,i,!1),!!e.result||(e.kind=u,e.result=c,!1)}(t,O,1===r)&&(S=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&C(t,t.anchor,t.result)}else 0===y&&(S=a&&L(t,x));if(null===t.tag)null!==t.anchor&&C(t,t.anchor,t.result);else if("?"===t.tag){null!==t.result&&"scalar"!==t.kind&&w(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"');for(let e=0,n=t.implicitTypes.length;e<n;e+=1)if((d=t.implicitTypes[e]).resolve(t.result)){t.result=d.construct(t.result),t.tag=d.tag,null!==t.anchor&&C(t,t.anchor,t.result);break}}else if("!"!==t.tag){if(i.call(t.typeMap[t.kind||"fallback"],t.tag))d=t.typeMap[t.kind||"fallback"][t.tag];else{d=null;let e=t.typeMap.multi[t.kind||"fallback"];for(let n=0,r=e.length;n<r;n+=1)if(t.tag.slice(0,e[n].tag.length)===e[n].tag){d=e[n];break}}d||w(t,"unknown tag !<"+t.tag+">"),null!==t.result&&d.kind!==t.kind&&w(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+d.kind+'", not "'+t.kind+'"'),d.resolve(t.result,t.tag)?(t.result=d.construct(t.result,t.tag),null!==t.anchor&&C(t,t.anchor,t.result)):w(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),t.depth-=1,null!==t.tag||null!==t.anchor||S}function N(e,t){e=String(e),t=t||{},0!==e.length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+="\n"),65279===e.charCodeAt(0)&&(e=e.slice(1)));let n=new y(e,t),r=e.indexOf("\0");for(-1!==r&&(n.position=r,w(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)!function(e){let t,n=e.position,r=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);0!==(t=e.input.charCodeAt(e.position))&&(R(e,!0,-1),t=e.input.charCodeAt(e.position),!(e.lineIndent>0)&&37===t);){r=!0,t=e.input.charCodeAt(++e.position);let n=e.position;for(;0!==t&&!g(t);)t=e.input.charCodeAt(++e.position);let o=e.input.slice(n,e.position),l=[];for(o.length<1&&w(e,"directive name must not be less than one character in length");0!==t;){for(;p(t);)t=e.input.charCodeAt(++e.position);if(35===t){do t=e.input.charCodeAt(++e.position);while(0!==t&&!f(t));break}if(f(t))break;for(n=e.position;0!==t&&!g(t);)t=e.input.charCodeAt(++e.position);l.push(e.input.slice(n,e.position))}0!==t&&Z(e),i.call(Q,o)?Q[o](e,o,l):S(e,'unknown document directive "'+o+'"')}if(R(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,R(e,!0,-1)):r&&w(e,"directives end mark is expected"),X(e,e.lineIndent-1,4,!1,!0),R(e,!0,-1),e.checkLineBreaks&&l.test(e.input.slice(n,e.position))&&S(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&j(e)){46===e.input.charCodeAt(e.position)&&(e.position+=3,R(e,!0,-1));return}e.position<e.length-1&&w(e,"end of the stream or a document separator is expected")}(n);return n.documents}return e3.loadAll=function(e,t,n){null!==t&&"object"==typeof t&&void 0===n&&(n=t,t=null);let r=N(e,n);if("function"!=typeof t)return r;for(let e=0,n=r.length;e<n;e+=1)t(r[e])},e3.load=function(e,n){let r=N(e,n);if(0!==r.length){if(1===r.length)return r[0];throw new t("expected a single document in the stream, but found more")}},e3}(),t=function(){if(U)return tO;U=1;let e=e4(),t=e7(),n=tm(),r=Object.prototype.toString,i=Object.prototype.hasOwnProperty,o={};o[0]="\\0",o[7]="\\a",o[8]="\\b",o[9]="\\t",o[10]="\\n",o[11]="\\v",o[12]="\\f",o[13]="\\r",o[27]="\\e",o[34]='\\"',o[92]="\\\\",o[133]="\\N",o[160]="\\_",o[8232]="\\L",o[8233]="\\P";let l=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],s=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function a(t){this.schema=t.schema||n,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=e.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=function(e,t){if(null===t)return{};let n={},r=Object.keys(t);for(let o=0,l=r.length;o<l;o+=1){let l=r[o],s=String(t[l]);"!!"===l.slice(0,2)&&(l="tag:yaml.org,2002:"+l.slice(2));let a=e.compiledTypeMap.fallback[l];a&&i.call(a.styleAliases,s)&&(s=a.styleAliases[s]),n[l]=s}return n}(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.quotingType='"'===t.quotingType?2:1,this.forceQuotes=t.forceQuotes||!1,this.replacer="function"==typeof t.replacer?t.replacer:null,this.impl
1icitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function u(t,n){let r=e.repeat(" ",n),i=0,o="",l=t.length;for(;i<l;){let e,n=t.indexOf("\n",i);-1===n?(e=t.slice(i),i=l):(e=t.slice(i,n+1),i=n+1),e.length&&"\n"!==e&&(o+=r),o+=e}return o}function c(t,n){return"\n"+e.repeat(" ",t.indent*n)}function h(e){return 32===e||9===e}function d(e){return e>=32&&e<=126||e>=161&&e<=55295&&8232!==e&&8233!==e||e>=57344&&e<=65533&&65279!==e||e>=65536&&e<=1114111}function f(e){return d(e)&&65279!==e&&13!==e&&10!==e}function p(e,t,n){let r=f(e),i=r&&!h(e);return(n?r:r&&44!==e&&91!==e&&93!==e&&123!==e&&125!==e)&&35!==e&&!(58===t&&!i)||f(t)&&!h(t)&&35===e||58===t&&i}function g(e,t){let n,r=e.charCodeAt(t);return r>=55296&&r<=56319&&t+1<e.length&&(n=e.charCodeAt(t+1))>=56320&&n<=57343?(r-55296)*1024+n-56320+65536:r}function m(e){return/^\n* /.test(e)}function O(e,t){let n=m(e)?String(t):"",r="\n"===e[e.length-1];return n+(r&&("\n"===e[e.length-2]||"\n"===e)?"+":r?"":"-")+"\n"}function x(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function b(e,t){let n,r;if(""===e||" "===e[0])return e;let i=/ [^ ]/g,o=0,l=0,s=0,a="";for(;n=i.exec(e);)(s=n.index)-o>t&&(r=l>o?l:s,a+="\n"+e.slice(o,r),o=r+1),l=s;return a+="\n",e.length-o>t&&l>o?a+=e.slice(o,l)+"\n"+e.slice(l+1):a+=e.slice(o),a.slice(1)}function v(e,t,n,r){let i="",o=e.tag;for(let o=0,l=n.length;o<l;o+=1){let l=n[o];e.replacer&&(l=e.replacer.call(n,String(o),l)),(k(e,t+1,l,!0,!0,!1,!0)||void 0===l&&k(e,t+1,null,!0,!0,!1,!0))&&(r&&""===i||(i+=c(e,t)),e.dump&&10===e.dump.charCodeAt(0)?i+="-":i+="- ",i+=e.dump)}e.tag=o,e.dump=i||"[]"}function y(e,n,o){let l=o?e.explicitTypes:e.implicitTypes;for(let s=0,a=l.length;s<a;s+=1){let a=l[s];if((a.instanceOf||a.predicate)&&(!a.instanceOf||"object"==typeof n&&n instanceof a.instanceOf)&&(!a.predicate||a.predicate(n))){if(o?a.multi&&a.representName?e.tag=a.representName(n):e.tag=a.tag:e.tag="?",a.represent){let o,l=e.styleMap[a.tag]||a.defaultStyle;if("[object Function]"===r.call(a.represent))o=a.represent(n,l);else if(i.call(a.represent,l))o=a.represent[l](n,l);else throw new t("!<"+a.tag+'> tag resolver accepts not "'+l+'" style');e.dump=o}return!0}}return!1}function k(n,i,a,f,w,S,C){let P,$;n.tag=null,n.dump=a,y(n,a,!1)||y(n,a,!0);let Q=r.call(n.dump),_=f;f&&(f=n.flowLevel<0||n.flowLevel>i);let T="[object Object]"===Q||"[object Array]"===Q;if(T&&($=-1!==(P=n.duplicates.indexOf(a))),(null!==n.tag&&"?"!==n.tag||$||2!==n.indent&&i>0)&&(w=!1),$&&n.usedDuplicates[P])n.dump="*ref_"+P;else{if(T&&$&&!n.usedDuplicates[P]&&(n.usedDuplicates[P]=!0),"[object Object]"===Q)f&&0!==Object.keys(n.dump).length?(!function(e,n,r,i){let o="",l=e.tag,s=Object.keys(r);if(!0===e.sortKeys)s.sort();else if("function"==typeof e.sortKeys)s.sort(e.sortKeys);else if(e.sortKeys)throw new t("sortKeys must be a boolean or a function");for(let t=0,l=s.length;t<l;t+=1){let l="";i&&""===o||(l+=c(e,n));let a=s[t],u=r[a];if(e.replacer&&(u=e.replacer.call(r,a,u)),!k(e,n+1,a,!0,!0,!0))continue;let h=null!==e.tag&&"?"!==e.tag||e.dump&&e.dump.length>1024;h&&(e.dump&&10===e.dump.charCodeAt(0)?l+="?":l+="? "),l+=e.dump,h&&(l+=c(e,n)),k(e,n+1,u,!0,h)&&(e.dump&&10===e.dump.charCodeAt(0)?l+=":":l+=": ",l+=e.dump,o+=l)}e.tag=l,e.dump=o||"{}"}(n,i,n.dump,w),$&&(n.dump="&ref_"+P+n.dump)):(!function(e,t,n){let r="",i=e.tag,o=Object.keys(n);for(let i=0,l=o.length;i<l;i+=1){let l="";""!==r&&(l+=", "),e.condenseFlow&&(l+='"');let s=o[i],a=n[s];e.replacer&&(a=e.replacer.call(n,s,a)),k(e,t,s,!1,!1)&&(e.dump.length>1024&&(l+="? "),l+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),k(e,t,a,!1,!1)&&(l+=e.dump,r+=l))}e.tag=i,e.dump="{"+r+"}"}(n,i,n.dump),$&&(n.dump="&ref_"+P+" "+n.dump));else if("[object Array]"===Q)f&&0!==n.dump.length?(n.noArrayIndent&&!C&&i>0?v(n,i-1,n.dump,w):v(n,i,n.dump,w),$&&(n.dump="&ref_"+P+n.dump)):(!function(e,t,n){let r="",i=e.tag;for(let i=0,o=n.length;i<o;i+=1){let o=n[i];e.replacer&&(o=e.replacer.call(n,String(i),o)),(k(e,t,o,!1,!1)||void 0===o&&k(e,t,null,!1,!1))&&(""!==r&&(r+=","+(e.condenseFlow?"":" ")),r+=e.dump)}e.tag=i,e.dump="["+r+"]"}(n,i,n.dump),$&&(n.dump="&ref_"+P+" "+n.dump));else if("[object String]"===Q){var A;"?"!==n.tag&&(A=n.dump,n.dump=function(){if(0===A.length)return 2===n.quotingType?'""':"''";if(!n.noCompatMode&&(-1!==l.indexOf(A)||s.test(A)))return 2===n.quotingType?'"'+A+'"':"'"+A+"'";let r=n.indent*Math.max(1,i),a=-1===n.lineWidth?-1:Math.max(Math.min(n.lineWidth,40),n.lineWidth-r);switch(function(e,t,n,r,i,o,l,s){var a,u;let c,f=0,O=null,x=!1,b=!1,v=-1!==r,y=-1,k=d(a=g(e,0))&&65279!==a&&!h(a)&&45!==a&&63!==a&&58!==a&&44!==a&&91!==a&&93!==a&&123!==a&&125!==a&&35!==a&&38!==a&&42!==a&&33!==a&&124!==a&&61!==a&&62!==a&&39!==a&&34!==a&&37!==a&&64!==a&&96!==a&&!h(u=g(e,e.length-1))&&58!==u;if(t||l)for(c=0;c<e.length;f>=65536?c+=2:c++){if(!d(f=g(e,c)))return 5;k=k&&p(f,O,s),O=f}else{for(c=0;c<e.length;f>=65536?c+=2:c++){if(10===(f=g(e,c)))x=!0,v&&(b=b||c-y-1>r&&" "!==e[y+1],y=c);else if(!d(f))return 5;k=k&&p(f,O,s),O=f}b=b||v&&c-y-1>r&&" "!==e[y+1]}return x||b?n>9&&m(e)?5:l?2===o?5:2:b?4:3:!k||l||i(e)?2===o?5:2:1}(A,S||n.flowLevel>-1&&i>=n.flowLevel,n.indent,a,function(e){for(let t=0,r=n.implicitTypes.length;t<r;t+=1)if(n.implicitTypes[t].resolve(e))return!0;return!1},n.quotingType,n.forceQuotes&&!S,_)){case 1:return A;case 2:return"'"+A.replace(/'/g,"''")+"'";case 3:return"|"+O(A,n.indent)+x(u(A,r));case 4:return">"+O(A,n.indent)+x(u(function(e,t){let n,r,i,o=/(\n+)([^\n]*)/g,l=(o.lastIndex=i=-1!==(i=e.indexOf("\n"))?i:e.length,b(e.slice(0,i),t)),s="\
1n"===e[0]||" "===e[0];for(;r=o.exec(e);){let e=r[1],i=r[2];n=" "===i[0],l+=e+(s||n||""===i?"":"\n")+b(i,t),s=n}return l}(A,a),r));case 5:return'"'+function(n){let r="",i=0;for(let l=0;l<n.length;i>=65536?l+=2:l++){let s=o[i=g(n,l)];!s&&d(i)?(r+=n[l],i>=65536&&(r+=n[l+1])):r+=s||function(n){let r,i,o=n.toString(16).toUpperCase();if(n<=255)r="x",i=2;else if(n<=65535)r="u",i=4;else if(n<=0xffffffff)r="U",i=8;else throw new t("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+r+e.repeat("0",i-o.length)+o}(i)}return r}(A)+'"';default:throw new t("impossible error: invalid scalar style")}}())}else{if("[object Undefined]"===Q||n.skipInvalid)return!1;throw new t("unacceptable kind of an object to dump "+Q)}if(null!==n.tag&&"?"!==n.tag){let e=encodeURI("!"===n.tag[0]?n.tag.slice(1):n.tag).replace(/!/g,"%21");e="!"===n.tag[0]?"!"+e:"tag:yaml.org,2002:"===e.slice(0,18)?"!!"+e.slice(18):"!<"+e+">",n.dump=e+" "+n.dump}}return!0}return tO.dump=function(e,t){let n=new a(t=t||{});n.noRefs||function(e,t){let n=[],r=[];!function e(t,n,r){if(null!==t&&"object"==typeof t){let i=n.indexOf(t);if(-1!==i)-1===r.indexOf(i)&&r.push(i);else if(n.push(t),Array.isArray(t))for(let i=0,o=t.length;i<o;i+=1)e(t[i],n,r);else{let i=Object.keys(t);for(let o=0,l=i.length;o<l;o+=1)e(t[i[o]],n,r)}}}(e,n,r);let i=r.length;for(let e=0;e<i;e+=1)t.duplicates.push(n[r[e]]);t.usedDuplicates=Array(i)}(e,n);let r=e;return(n.replacer&&(r=n.replacer.call({"":r},"",r)),k(n,0,r,!0,!0))?n.dump+"\n":""},tO}();function n(e,t){return function(){throw Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}return e2.Type=e6(),e2.Schema=e8(),e2.FAILSAFE_SCHEMA=tr(),e2.JSON_SCHEMA=ta(),e2.CORE_SCHEMA=tu(),e2.DEFAULT_SCHEMA=tm(),e2.load=e.load,e2.loadAll=e.loadAll,e2.dump=t.dump,e2.YAMLException=e7(),e2.types={binary:td(),float:ts(),map:tn(),null:ti(),pairs:tp(),set:tg(),timestamp:tc(),bool:to(),int:tl(),merge:th(),omap:tf(),seq:tt(),str:te()},e2.safeLoad=n("safeLoad","load"),e2.safeLoadAll=n("safeLoadAll","loadAll"),e2.safeDump=n("safeDump","dump"),e2}())&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r,{Type:tb,Schema:tv,FAILSAFE_SCHEMA:ty,JSON_SCHEMA:tk,CORE_SCHEMA:tw,DEFAULT_SCHEMA:tS,load:tC,loadAll:tP,dump:t$,YAMLException:tQ,types:t_,safeLoad:tT,safeLoadAll:tA,safeDump:tE}=tx;var tZ=n(19838),tR=n(41340);let tj=({yaml:e,onChange:t})=>{let[n,r,i,o]=(0,J.uX)(G.pc,G.xZ,G.yr,tz),l=(0,G.Bd)(),s=(0,J.qM)(tz),a=(0,J.qM)(tB),u=ep.useMemo(()=>e?Object.entries(tx.load(e)).map(([e,t])=>({key:e,value:t})):[],[e]),{register:c,control:h,handleSubmit:d}=(0,tZ.mN)({defaultValues:{yamlConfig:u}}),{fields:f,append:p,remove:g}=(0,tZ.jz)({control:h,name:"yamlConfig"}),m=ep.useCallback(({yamlConfig:e})=>{if(0===e.length){a(),s(!1);return}let n=e.reduce((e,{key:t,value:n})=>(t&&n&&(e[t]=n),e),{});t(tx.dump(n).trim()),s(!1)},[t,s,a]);return ep.createElement(ep.Fragment,null,ep.createElement(eI,{open:o,onOpenChange:e=>{s(e)}},ep.createElement(eD,{container:null==r?void 0:r.current},ep.createElement(eq,{className:tR.Ay.dialogOverlay}),ep.createElement(eU,{className:tR.Ay.largeDialogContent,"data-editor-type":"frontmatter"},ep.createElement(eJ,{className:tR.Ay.dialogTitle},l("frontmatterEditor.title","Edit document frontmatter")),ep.createElement(eK,{className:tR.Ay.visuallyHidden},l("frontmatterEditor.dialogDescription","Add, edit, or remove the key-value entries of the document frontmatter.")),ep.createElement("form",{onSubmit:e=>{d(m)(e),e.stopPropagation()},onReset:e=>{e.stopPropagation(),s(!1)}},ep.createElement("table",{className:tR.Ay.propertyEditorTable},ep.createElement("colgroup",null,ep.createElement("col",null),ep.createElement("col",null),ep.createElement("col",null)),ep.createElement("thead",null,ep.createElement("tr",null,ep.createElement("th",
1null,l("frontmatterEditor.key","Key")),ep.createElement("th",null,l("frontmatterEditor.value","Value")),ep.createElement("th",null))),ep.createElement("tbody",null,f.map((e,t)=>ep.createElement("tr",{key:e.id},ep.createElement("td",null,ep.createElement(tM,{...c(`yamlConfig.${t}.key`,{required:!0}),autofocusIfEmpty:!0,readOnly:n})),ep.createElement("td",null,ep.createElement(tM,{...c(`yamlConfig.${t}.value`,{required:!0}),readOnly:n})),ep.createElement("td",null,ep.createElement("button",{type:"button",onClick:()=>{g(t)},className:tR.Ay.iconButton,disabled:n},i("delete_big")))))),ep.createElement("tfoot",null,ep.createElement("tr",null,ep.createElement("td",null,ep.createElement("button",{disabled:n,className:e5(tR.Ay.primaryButton,tR.Ay.smallButton),type:"button",onClick:()=>{p({key:"",value:""})}},l("frontmatterEditor.addEntry","Add entry")))))),ep.createElement("div",{style:{display:"flex",justifyContent:"flex-end",gap:"var(--spacing-2)"}},ep.createElement("button",{type:"submit",className:tR.Ay.primaryButton},l("dialogControls.save","Save")),ep.createElement("button",{type:"reset",className:tR.Ay.secondaryButton},l("dialogControls.cancel","Cancel")))),ep.createElement(e0,{asChild:!0},ep.createElement("button",{className:tR.Ay.dialogCloseButton,"aria-label":l("dialogControls.cancel","Cancel")},i("close")))))))},tM=ep.forwardRef(({className:e,autofocusIfEmpty:t,...n},r)=>ep.createElement("input",{className:e5(tR.Ay.propertyEditorInput,e),...n,ref:r}));var tL=Object.defineProperty;class tI extends K.Kp7{constructor(e,t){super(t),((e,t)=>{let n,r;return r=void 0,(n="symbol"!=typeof t?t+"":t)in e?tL(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r})(this,"__yaml"),this.__yaml=e}static getType(){return"frontmatter"}static clone(e){return new tI(e.__yaml,e.__key)}static importJSON(e){let{yaml:t}=e;return tX(t)}exportJSON(){return{yaml:this.getYaml(),type:"frontmatter",version:1}}createDOM(e){return document.createElement("div")}updateDOM(){return!1}getYaml(){return this.getLatest().__yaml}setYaml(e){e!==this.__yaml&&(this.getWritable().__yaml=e)}decorate(e){return ep.createElement(tj,{yaml:this.getYaml(),onChange:t=>{e.update(()=>{this.setYaml(t)})}})}isKeyboardSelectable(){return!1}isInline(){return!1}}function tX(e){return new tI(e)}function tN(e){return e instanceof tI}let tV={testLexicalNode:tN,visitLexicalNode:({actions:e,lexicalNode:t})=>{e.addAndStepInto("yaml",{value:t.getYaml()})}},tD={testNode:"yaml",visitNode({mdastNode:e,actions:t}){t.addAndStepInto(tX(e.value))}},tz=(0,J.fh)(!1),tq=(0,J.rc)(e=>{e.sub(e.pipe(tq,(0,J.EY)(G.u0)),([,t])=>{null==t||t.update(()=>{let e=(0,K.NiT)().getFirstChild();if(!tN(e)){let t=tX('"": ""');e?e.insertBefore(t):(0,K.NiT)().append(t)}}),e.pub(tz,!0)})}),tB=(0,J.rc)(e=>{e.sub(e.pipe(tB,(0,J.EY)(G.u0)),([,t])=>{null==t||t.update(()=>{let e=(0,K.NiT)().getFirstChild();tN(e)&&e.remove()}),e.pub(tz,!1)})}),tF=(0,J.fh)(!1,e=>{e.pub(G.Jl,t=>t.registerUpdateListener(({editorState:t})=>{t.read(()=>{e.pub(tF,tN((0,K.NiT)().getFirstChild()))})}))}),tY=(0,H.Z)({init:e=>{e.pubIn({[G.C2]:function(e){let t=el(e),n={},r={},i=-1;for(;++i<t.length;){let e=t[i];n[e.type]=function(e){return function(t){this.enter({type:e.type,value:""},t),this.buffer()}}(e),r[e.type]=es,r[e.type+"Value"]=ea}return{enter:n,exit:r}}("yaml"),[G.cx]:function(){let e=el(void 0),t={},n=-1;for(;++n<e.length;){let r=e[n],i=ed(r,"open").charCodeAt(0),o=function(e){let t,n=e.anywhere,r=e.type,i=r+"Fence",o=i+"Sequence",l=r+"Value",s={tokenize:function(e,n,r){let l=0;return function(n){return n===t.charCodeAt(l)?(e.enter(i),e.enter(o),function n(i){return l===t.length?(e.exit(o),(0,eh.On)(i))?(e.enter("whitespace"),function t(n){return(0,eh.On)(n)?(e.consume(n),t):(e.exit("whitespace"),s(n))}(i)):s(i):i===t.charCodeAt(l++)?(e.consume(i),n):r(i)}(n)):r(n)};function s(t){return null===t||(0,eh.HP)(t)?(e.exit(i),n(t)):r(t)}},partial:!0},a=0;return{tokenize:function(u,c,h){let d=this;return function(l){let s=d.now();return 1===s.column&&(1===s.line||n)&&(t=ed(e,"open"),a=0,l===t.charCodeAt(a))?(u.enter(r),u.enter(i),u.enter(o),function e(n){return a===t.length?(u.exit(o),(0,eh.On)(n))?(u.enter("whitespace"),function e(t){return(0,eh.On)(t)?(u.consume(t),e):(u.exit("whitespace"),f(t))}(n)):f(n):n===t.charCodeAt(a++)?(u.consume(n),e):h(n)}(l)):h(l)};function f(n){return(0,eh.HP)(n)?(u.exit(i),u.enter("lineEnding"),u.consume(n),u.exit("lineEnding"),t=ed(e,"close"),a=0,u.attempt(s,m,p)):h(n)}function p(e){return null===e||(0,eh.HP)(e)?g(e):(u.enter(l),function e(t){return null===t||(0,eh.HP)(t)?(u.exit(l),g(t)):(u.consume(t),e)}(e))}function g(e){return null===e?h(e):(u.enter("lineEnding"),u.consume(e),u.exit("lineEnding"),u.attempt(s,m,p))}function m(e){return u.exit(r),c(e)}},concrete:!0}}(r),l=t[i];Array.isArray(l)?l.push(o):t[i]=[o]}return{flow:t}}(),[G.q]:tI,[G.R1]:tD,[G.iI]:tV,[G.lN]:function(e){let t=[],n={},r=el(e),i=-1;for(;++i<r.length;){let e=r[i];n[e.type]=function(e){let t=eu(e,"open"),n=eu(e,"close");return function(e){return t+(e.value?"\n"+e.value:"")+"\n"+n}}(e);let o=eu(e,"open");t.push({atBreak:!0,character:o.charAt(0),after:function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(o.charAt(1))})}return{unsafe:t,handlers:n}}("yaml"),[G.Jl]:e=>e.registerCommand(K.R18,t=>{let n=!1;return e.read(()=>{let r=(0,K.vJq)();if((0,K.I2P)(r))if(r.isCollapsed()&&0===r.anchor.offset&&0===r.focus.offset&&"Backspace"===t.key){let e=r.getNodes()[0];(0,K.kFe)(e)&&(e=e.getParent()),tN(null==e?void 0:e.getPreviousSibling())&&
1(n=!0,t.preventDefault())}else{let t=r.getNodes()[0];if(tN(t)){let n=t.getYaml();setTimeout(()=>{e.update(()=>{tN((0,K.NiT)().getFirstChild())||(0,K.NiT)().splice(0,0,[tX(n)])},{discrete:!0})})}}}),!!n},K.da8)})}})},87088:(e,t,n)=>{"use strict";var r;let i;n.d(t,{oQ:()=>l,sY:()=>o});let o="u">typeof window&&void 0!==window.document.createElement&&((i=null==(r=navigator.userAgentData)?void 0:r.platform)?/mac/i.test(i):/Mac|iPod|iPhone|iPad/.test(navigator.userAgent));function l(e,t){return o?e:t}},87539:(e,t,n)=>{"use strict";function r(e,t,n,r){let i=[...e].sort((e,t)=>t.priority-e.priority),o=n??"";return i.find(e=>e.match(t??"",o))??i.find(e=>e.match(r??"",o))}n.d(t,{H:()=>r})},88951:(e,t,n)=>{"use strict";n.d(t,{a:()=>h});var r=n(62147),i=n(7620),o=n(26874),l=n(54568),s=n(56639);let a=o.qxK?i.useLayoutEffect:i.useEffect,u=(0,i.forwardRef)(function({editor:e,ariaActiveDescendant:t,ariaAutoComplete:n,ariaControls:r,ariaDescribedBy:o,ariaErrorMessage:s,ariaExpanded:u,ariaInvalid:c,ariaLabel:h,ariaLabelledBy:d,ariaMultiline:f,ariaOwns:p,ariaRequired:g,autoCapitalize:m,className:O,id:x,role:b="textbox",spellCheck:v=!0,style:y,tabIndex:k,"data-testid":w,...S},C){let[P,$]=(0,i.useState)(e.isEditable()),Q=(0,i.useCallback)(t=>{t&&t.ownerDocument&&t.ownerDocument.defaultView?e.setRootElement(t):e.setRootElement(null)},[e]),_=(0,i.useMemo)(()=>(function(...e){return t=>{for(let n of e)"function"==typeof n?n(t):null!=n&&(n.current=t)}})(C,Q),[Q,C]);return a(()=>($(e.isEditable()),e.registerEditableListener(e=>{$(e)})),[e]),(0,l.jsx)("div",{"aria-activedescendant":P?t:void 0,"aria-autocomplete":P?n:"none","aria-controls":P?r:void 0,"aria-describedby":o,...null!=s?{"aria-errormessage":s}:{},"aria-expanded":P&&"combobox"===b?!!u:void 0,...null!=c?{"aria-invalid":c}:{},"aria-label":h,"aria-labelledby":d,"aria-multiline":f,"aria-owns":P?p:void 0,"aria-readonly":!P||void 0,"aria-required":g,autoCapitalize:m,className:O,contentEditable:P,"data-testid":w,id:x,ref:_,role:b,spellCheck:v,style:y,tabIndex:k??(P?void 0:-1),...S})});function c(e){return e.read("latest",(0,s.yl)(e.isComposing()))}let h=(0,i.forwardRef)(function(e,t){let{placeholder:n,...i}=e,[o]=(0,r.DF)();return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(u,{editor:o,...i,ref:t}),null!=n&&(0,l.jsx)(d,{editor:o,content:n})]})});function d({content:e,editor:t}){let n=function(e){let[t,n]=(0,i.useState)(()=>c(e));return a(()=>{function t(){n(c(e))}return t(),(0,o.Sdt)(e.registerUpdateListener(()=>{t()}),e.registerEditableListener(()=>{t()}))},[e]),t}(t),[r,s]=(0,i.useState)(t.isEditable());if((0,i.useLayoutEffect)(()=>(s(t.isEditable()),t.registerEditableListener(e=>{s(e)})),[t]),!n)return null;let u=null;return"function"==typeof e?u=e(r):null!==e&&(u=e),null===u?null:(0,l.jsx)("div",{"aria-hidden":!0,children:u})}},90124:(e,t,n)=>{"use strict";n.d(t,{n:()=>f});var r=n(7620),i=n(89324),o=n(70488),l=n(85484),s=n(54568),a=Object.defineProperty,u=(e,t)=>a(e,"name",{value:t,configurable:!0}),c="focusScope.autoFocusOnMount",h="focusScope.autoFocusOnUnmount",d={bubbles:!1,cancelable:!0},f=r.forwardRef(u(function(e,t){let{loop:n=!1,trapped:a=!1,onMountAutoFocus:f,onUnmountAutoFocus:O,...x}=e,[b,k]=r.useState(null),w=(0,l.c)(f),C=(0,l.c)(O),P=r.useRef(null),$=(0,i.s)(t,k),Q=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(a){let e=function(e){if(Q.paused||!b)return;let t=e.target;b.contains(t)?P.current=t:v(P.current,{select:!0})},t=function(e){if(Q.paused||!b)return;let t=e.relatedTarget;null!==t&&(b.contains(t)||v(P.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&v(b)};u(e,"handleFocusIn"),u(t,"handleFocusOut"),u(n,"handleMutations"),document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(n);return b&&r.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[a,b,Q.paused]),r.useEffect(()=>{if(b){y.add(Q);let e=document.activeElement;if(!b.contains(e)){let t=new CustomEvent(c,d);b.addEventListener(c,w),b.dispatchEvent(t),t.defaultPrevented||(p(S(m(b)),{select:!0}),document.activeElement===e&&v(b))}return()=>{b.removeEventListener(c,w),setTimeout(()=>{let t=new CustomEvent(h,d);b.addEventListener(h,C),b.dispatchEvent(t),t.defaultPrevented||v(e??document.body,{select:!0}),b.removeEventListener(h,C),y.remove(Q)},0)}}},[b,w,C,Q]);let _=r.useCallback(e=>{if(!n&&!a||Q.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){let t=e.currentTarget,[i,o]=g(t);i&&o?e.shiftKey||r!==o?e.shiftKey&&r===i&&(e.preventDefault(),n&&v(o,{select:!0})):(e.preventDefault(),n&&v(i,{select:!0})):r===t&&e.preventDefault()}},[n,a,Q.paused]);return(0,s.jsx)(o.sG.div,{tabIndex:-1,...x,ref:$,onKeyDown:_})},"FocusScope"));function p(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(v(r,{select:t}),document.activeElement!==n)return}function g(e){let t=m(e);return[O(t,e),O(t.reverse(),e)]}function m(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:u(e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;n.nextNode();)t.push(n.currentNode);return t}function O(e,t){let n="function"==typeof t.checkVisibility&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):x(r,{upTo:t})))return r}function x(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function b(e){return e instanceof HTMLInputElement&&"select"in e}function v(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&b(e)&&t&&e.select()}}u(p,"focusFirst"),u(g,"getTabbableEdges"),u(m,"getTabbableCandidates"),u(O,"findVisible"),u(x,"isHidden"),u(b,"isSelectableInput"),u(v,"focus");var y=k();function k(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),(e=w(e,t)).unshift(t)},remove(t){e=w(e,t),e[0]?.resume()}}}function w(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}function S(e){return e.filter(e=>"A"!==e.tagName)}u(k,"createFocusScopesStack"),u(w,"arrayRemove"),u(S,"removeLinks")},90135:(e,t,n)=>{"use strict";n.d(t,{Aj:()=>$,Lu:()=>g,U1:()=>Q,uC:()=>p});var r=n(44602),i=n(69194);class o{constructor(e,t,n,r,i,o,l,s,a,u=0,c){this.p=e,this.stack=t,this.state=n,this.reducePos=r,this.pos=i,this.score=o,this.buffer=l,this.bufferBase=s,this.curContext=a,this.lookAhead=u,this.parent=c}toString(){return`[${this.stack.filter((e,t)=>
1t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let r=e.parser.context;return new o(e,[],t,n,n,0,[],0,r?new l(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,o=this.reducePos<this.pos-25&&this.setLookAhead(this.pos),l=i.dynamicPrecedence(r);if(l&&(this.score+=l),0==n){r<i.minRepeatTerm&&this.reducePos<this.pos&&(this.reducePos=this.pos),this.pushState(i.getGoto(this.state,r,!0),this.reducePos),r<i.minRepeatTerm&&this.storeNode(r,this.reducePos,this.reducePos,o?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;r<i.minRepeatTerm&&a==this.reducePos&&this.reducePos<this.pos&&(this.reducePos=this.pos);let u=this.reducePos-a;u>=2e3&&!(null==(t=this.p.parser.nodeSet.types[r])?void 0:t.isAnonymous)&&(a==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=u):this.p.lastBigReductionSize<u&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=a,this.p.lastBigReductionSize=u));let c=s?this.stack[s-1]:0,h=this.bufferBase+this.buffer.length-c;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.buffer.length;if(e>0&&0==this.buffer[e-4]&&this.buffer[e-1]>-1){if(t==n)return;if(this.buffer[e-2]>=t){this.buffer[e-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 o=i.stateFlag(e,1);!o&&(r>n||t<=i.maxNode)&&(this.reducePos=r),this.pushState(e,o?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-4]&&(t-=4);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 o(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 s(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>>
vendor: 5,024 bytes, line 1
119)-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 l(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 l{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class s{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 a{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 a(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 a(this.stack,this.pos,this.index)}}function u(e,t=Uint16Array){if("string"!=typeof e)return e;let n=null;for(let r=0,i=0;r<e.length;){let o=0;for(;;){let t=e.charCodeAt(r++),n=!1;if(126==t){o=65535;break}t>=92&&t--,t>=34&&t--;let i=t-32;if(i>=46&&(i-=46,n=!0),o+=i,n)break;o*=46}n?n[i++]=o:n=new t(o)}return n}class c{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}let h=new c;class d{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=h,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}}
1readNext(){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=h,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 f{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;m(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}f.prototype.contextual=f.prototype.fallback=f.prototype.extend=!1;class p{constructor(e,t,n){this.precTable=t,this.elseToken=n,this.data="string"==typeof e?u(e):e}token(e,t){let n=e.pos,r=0;for(;;){let n=e.next<0,i=e.resolveOffset(1,1);if(m(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))}}p.prototype.contextual=f.prototype.fallback=f.prototype.extend=!1;class g{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function m(e,t,n,r,i,o){let l=0,s=1<<r,{dialect:a}=n.p.parser;l:for(;(s&e[l])!=0;){let n=e[l+1];for(let r=l+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=O(n,r,t);return i<0||O(n,r,e)<i}(n,t.token.value,i,o))){t.acceptToken(n);break}}let r=t.next,u=0,c=e[l+2];if(t.next<0&&c>u&&65535==e[n+3*c-3]){l=e[n+3*c-1];continue}for(;u<c;){let i=u+c>>1,o=n+i+(i<<1),s=e[o],a=e[o+1]||65536;if(r<s)c=i;else if(r>=a)u=i+1;else{l=e[o+2],t.advance();continue l}}break}}function O(e,t,n){for(let r=t,i;65535!=(i=e[r]);r++)if(i==n)return r-t;return -1}let x=void 0!==i&&i.env&&/\bparse\b/.test(i.env.LOG),b=null;function v(e,t,n){let i=e.cursor(r.Qj.IncludeAnonymous);for(i.moveTo(t);;)if(!(n<0?i.childBefore(t):i.childAfter(t)))for(;;){if((n<0?i.to<t:i.from>t)&&!i.type.isError)return n<0?Math.max(0,Math.min(i.to-1,t-25)):Math.min(e.length,Math.max(i.from+1,t+25));if(n<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return n<0?0:e.length}}class y{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?v(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?v(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],i=this.index[t];if(i==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let o=n.children[i],l=this.start[t]+n.positions[i];if(l>e)return this.nextStart=l,null;if(o instanceof r.PH){if(l==e){if(l<this.safeFrom)return null;let e=l+o.length;
1if(e<=this.safeTo){let t=o.prop(r.uY.lookAhead);if(!t||e+t<this.fragment.to)return o}}this.index[t]++,l+o.length>=Math.max(this.safeFrom,e)&&(this.trees.push(o),this.start.push(l),this.index.push(0))}else this.index[t]++,this.nextStart=l+o.length}}}class k{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new c)}getActions(e){let t=0,n=null,{parser:r}=e.p,{tokenizers:i}=r,o=r.stateSlot(e.state,3),l=e.curContext?e.curContext.hash:0,s=0;for(let r=0;r<i.length;r++){if((1<<r&o)==0)continue;let a=i[r],u=this.tokens[r];if((!n||a.fallback)&&((a.contextual||u.start!=e.pos||u.mask!=o||u.context!=l)&&(this.updateCachedToken(u,a,e),u.mask=o,u.context=l),u.lookAhead>u.end+25&&(s=Math.max(u.lookAhead,s)),0!=u.value)){let r=t;if(u.extended>-1&&(t=this.addActions(e,u.extended,u.end,t)),t=this.addActions(e,u.value,u.end,t),!a.extend&&(n=u,t>r))break}}for(;this.actions.length>t;)this.actions.pop();return s&&e.setLookAhead(s),n||e.pos!=this.stream.end||((n=new c).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 c,{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:o}=e.p,{data:l}=o;for(let e=0;e<2;e++)for(let s=o.stateSlot(i,e?2:1);;s+=3){if(65535==l[s])if(1==l[s+1])s=_(l,s+2);else{0==r&&2==l[s+1]&&(r=this.putAction(_(l,s+2),t,n,r));break}l[s]==t&&(r=this.putAction(_(l,s+1),t,n,r))}return r}}class w{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 d(t,r),this.tokens=new k(e,this.stream),this.topTerm=e.top[1];let{from:i}=r[0];this.stacks=[o.start(this,e.top[0],i)],this.fragments=n.length&&this.stream.end-i>4*e.bufferLength?new y(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 o=0;o<n.length;o++){let l=n[o];for(;;){if(this.tokens.mainToken=null,l.pos>r)i.push(l);else{if(this.advanceStack(l,i,n))continue;e||(e=[],t=[]),e.push(l);let r=this.tokens.getMainToken(l);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 x&&console.log("Finish with "+this.stackID(t)),this.stackToTree(t);if(this.parser.strict)throw x&&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 x&&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--}
vendor: 6,756 bytes, line 1
1else 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 i=e.pos,{parser:o}=this,l=x?this.stackID(e)+" -> ":"";if(null!=this.stoppedAt&&i>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 s=this.fragments.nodeAt(i);s;){let i=this.parser.nodeSet.types[s.type.id]==s.type?o.getGoto(e.state,s.type.id):-1;if(i>-1&&s.length&&(!t||(s.prop(r.uY.contextHash)||0)==n))return e.useNode(s,i),x&&console.log(l+this.stackID(e)+` (via reuse of ${o.getName(s.type.id)})`),!0;if(!(s instanceof r.PH)||0==s.children.length||s.positions[0]>0)break;let a=s.children[0];if(a instanceof r.PH&&0==s.positions[0])s=a;else break}}let s=o.stateSlot(e.state,4);if(s>0)return e.reduce(s),x&&console.log(l+this.stackID(e)+` (via always-reduce ${o.getName(65535&s)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let a=this.tokens.getActions(e);for(let r=0;r<a.length;){let s=a[r++],u=a[r++],c=a[r++],h=r==a.length||!n,d=h?e:e.split(),f=this.tokens.mainToken;if(d.apply(s,u,f?f.start:d.pos,c),x&&console.log(l+this.stackID(d)+` (via ${(65536&s)==0?"shift":`reduce of ${o.getName(65535&s)}`} for ${o.getName(u)} @ ${i}${d==e?"":", split"})`),h)return!0;d.pos>i?t.push(d):n.push(d)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return S(e,t),!0}}runRecovery(e,t,n){let r=null,i=!1;for(let o=0;o<e.length;o++){let l=e[o],s=t[o<<1],a=t[(o<<1)+1],u=x?this.stackID(l)+" -> ":"";if(l.deadEnd&&(i||(i=!0,l.restart(),x&&console.log(u+this.stackID(l)+" (restarted)"),this.advanceFully(l,n))))continue;let c=l.split(),h=u;for(let e=0;e<10&&c.forceReduce()&&(x&&console.log(h+this.stackID(c)+" (via force-reduce)"),!this.advanceFully(c,n));e++)x&&(h=this.stackID(c)+" -> ");for(let e of l.recoverByInsert(s))x&&console.log(u+this.stackID(e)+" (via recover-insert)"),this.advanceFully(e,n);this.stream.end>l.pos?(a==l.pos&&(a++,s=0),l.recoverByDelete(s,a),x&&console.log(u+this.stackID(l)+` (via recover-delete ${this.parser.getName(s)})`),S(l,n)):(!r||r.score<c.score)&&(r=c)}return r}stackToTree(e){return e.close(),r.PH.build({buffer:a.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=(b||(b=new WeakMap)).get(e);return t||b.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}function S(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 C{constructor(e,t,n){this.source=e,this.flags=t,this.disabled=n}allows(e){return!this.disabled||0==this.disabled[e]}}let P=e=>e;class ${constructor(e){this.start=e.start,this.shift=e.shift||P,this.reduce=e.reduce||P,this.reuse=e.reuse||P,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}}class Q extends r.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]),i=[];for(let e=0;e<t.length;e++)i.push([]);function o(e,t,n){i[e].push([t,t.deserialize(String(n))])}if(e.nodeProps)for(let t of e.nodeProps){let e=t[0];"string"==typeof e&&(e=r.uY[e]);for(let n=1;n<t.length;){let r=t[n++];if(r>=0)o(r,e,t[n++]);else{let i=t[n+-r];for(let l=-r;l>0;l--)o(t[n++],e,i);n++}}}this.nodeSet=new r.fI(t.map((t,o)=>r.Z6.define({name:o>=this.minRepeatTerm?void 0:t,id:o,props:i[o],top:n.indexOf(o)>-1,error:0==o,skipped:e.skippedNodes&&e.skippedNodes.indexOf(o)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=r.cF;let l=u(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(T),this.states=u(e.states,Uint32Array),this.data=u(e.stateData),this.goto=u(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(e=>"number"==typeof e?new f(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 w(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++],o=1&t,l=r[i++];if(o&&n)return l;for(let n=i+(t>>1);i<n;i++)if(r[i]==e)return l;if(o)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),o;;i+=3){if(65535==(o=n[i]))if(1==n[i+1])o=n[i=_(n,i+2)];else if(2==n[i+1])return _(n,i+2);else break;if(o==t||0==o)return _(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=_(this.data,n+2);else break;r=t(_(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=_(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(Q.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);
1if(!i)return n;let o=Object.assign(Object.assign({},n),{external:i.to});return t.specializers[r]=T(o),o})),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 C(e,n,r)}static deserialize(e){return new Q(e)}}function _(e,t){return e[t]|e[t+1]<<16}function T(e){if(e.external){let t=+!!e.extend;return(n,r)=>e.external(n,r)<<1|t}return e.get}},93010:(e,t,n)=>{"use strict";function r(e,t,n,r){let i,o=e.length,l=0;if(t=t<0?-t>o?0:o+t:t>o?o: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);l<r.length;)(i=r.slice(l,l+1e4)).unshift(t,0),e.splice(...i),l+=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})},96020:(e,t,n)=>{"use strict";n.d(t,{K:()=>r});let r=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","
1sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"]},97029:(e,t,n)=>{"use strict";n.d(t,{Jy:()=>O,Lf:()=>y,OV:()=>b,Pe:()=>f,RM:()=>d,V0:()=>u,Ws:()=>v,cj:()=>p,eu:()=>c,gA:()=>m,mB:()=>h,xj:()=>g});var r=n(59121),i=n(26874);function o(e,...t){let n=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;for(let n of(r.append("code",e),t))r.append("v",n);throw n.search=r.toString(),Error(`Minified Lexical error #${e}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}function l(e){return`${e}px`}let s={attributes:!0,characterData:!0,childList:!0,subtree:!0};function a(e,t,n,r){if("text"!==t.type&&(0,i.ff4)(n)){let o=(0,i.FfB)(n,r,e);return[o.element,o.getFirstChildOffset()+t.offset]}return[((0,i.kFe)(n)?(0,i.OCP)(n,r,e):(0,i.c_R)(r))||r,t.offset]}function u(e,t){let n=null,u=()=>{let u=e.getRootElement(),c=null!==u?u.ownerDocument.defaultView:null,h=null!==c?c.getSelection():null,d=null!==h?(0,i.Mgk)(h,u).anchorNode:null;null!==d&&null!==u&&u.contains(d)?null!==n&&(n(),n=null):null===n&&(n=function(e,t=function(e){for(let t of e){let e=t.style;"Highlight"!==e.background&&(e.background="Highlight"),"HighlightText"!==e.color&&(e.color="HighlightText"),e.marginTop!==l(-1.5)&&(e.marginTop=l(-1.5)),e.paddingTop!==l(4)&&(e.paddingTop=l(4)),e.paddingBottom!==l(0)&&(e.paddingBottom=l(0))}}){let n=null,u=null,c=null,h=null,d=null,f=null,p=()=>{};function g(g){g.read(()=>{let g,m=(0,i.vJq)();if(!(0,i.I2P)(m))return n=null,c=null,h=null,f=null,p(),void(p=()=>{});let[O,x]=(g=m.getStartEndPoints(),m.isBackward()?[g[1],g[0]]:g),b=O.getNode(),v=b.getKey(),y=O.offset,k=x.getNode(),w=k.getKey(),S=x.offset,C=e.getElementByKey(v),P=e.getElementByKey(w),$=null===n||C!==u||y!==c||v!==n.getKey(),Q=null===h||P!==d||S!==f||w!==h.getKey();if(($||Q)&&null!==C&&null!==P){let n,u=((n=(e._window?e._window.document:document).createRange()).setStart(...a(e,O,b,C)),n.setEnd(...a(e,x,k,P)),n);p(),p=function(e,t,n){let a=null,u=null,c=null,h=[],d=(0,i.nAs)(e.getRootElement()).createElement("div");function f(){var s;null===a&&o(182),null===u&&o(183);let{left:c,top:f}=u.getBoundingClientRect(),p=function(e){let t=(e,t)=>t.left>=e.left-1&&t.top>=e.top-1&&t.right<=e.right+1&&t.bottom<=e.bottom+1,n=[];for(let r of Array.from(e))if(!(r.width<.5||r.height<.5||n.some(e=>t(r,e)))){for(let e=n.length-1;e>=0;e--)t(n[e],r)&&n.splice(e,1);n.push(r)}return n}((0,r.zT)(e,t));d.isConnected||(s=u).insertBefore(d,s.firstChild);let g=!1;for(let e=0;e<p.length;e++){let t=p[e],n=h[e]||(0,i.nAs)(a).createElement("div"),r=n.style;"absolute"!==r.position&&(r.position="absolute",g=!0);let o=l(t.left-c);r.left!==o&&(r.left=o,g=!0);let s=l(t.top-f);r.top!==s&&(n.style.top=s,g=!0);let u=l(t.width);r.width!==u&&(n.style.width=u,g=!0);let m=l(t.height);r.height!==m&&(n.style.height=m,g=!0),n.parentNode!==d&&(d.append(n),g=!0),h[e]=n}for(;h.length>p.length;){let e=h.pop();null!=e&&e.remove()}g&&n(h)}function p(){for(let e of(u=null,a=null,null!==c&&c.disconnect(),c=null,d.remove(),h))e.remove();h=[]}d.style.position="relative";let g=e.registerRootListener(function t(){let n=e.getRootElement();if(null===n)return p();let r=n.parentElement;if(!(0,i.sby)(r))return p();p(),a=n,u=r,(c=new MutationObserver(n=>{let r=e.getRootElement(),i=r&&r.parentElement;if(r!==a||i!==u)return t();for(let e of n)if(!d.contains(e.target))return f()})).observe(r,s),f()});return()=>{g(),p()}}(e,u,t)}n=b,u=C,c=y,h=k,d=P,f=S},{editor:e})}return g(e.getEditorState()),(0,i.Sdt)(e.registerUpdateListener(({editorState:e})=>g(e)),()=>{p()})}(e,t))};return e.registerRootListener(e=>{if(e){let t=e.ownerDocument,r=(0,i.Sdt)((0,i.K6z)(t,"selectionchange",u),()=>{null!==n&&n()});return u(),r}})}function c(e,t){let n=e;for(;null!=n;){if(n instanceof t)return n;n=n.getParent()}return null}function h(e){let t=(0,i.BtT)(e,e=>(0,i.ff4)(e)&&!e.isInline());return(0,i.ff4)(t)||o(4,e.__key),t}function d(e,t){let n=(0,i.NZv)((0,i.I2P)(t)?(0,i.$iu)(t):t,"next"),r=(0,i.ex6)(n.anchor.origin),o=(0,i.ex6)(e.getLatest());if(null===r?null!==o:!r.is(o))return!1;let l=(0,i.lSZ)((0,i.uwZ)(e,"next")),s=(0,i.Csq)((0,i.lSZ)((0,i.uwZ)(e,"previous")),"next");return 0>=(0,i.AcB)(n.anchor,l)&&(0,i.AcB)(n.focus,s)>=0}function f(e){let t,n=(0,i.vJq)()||(0,i.S1w)();if((0,i.I2P)(n))t=(0,i.Ave)(n.focus,"next");else{if(null!=n){let e=n.getNodes(),r=e[e.length-1];r&&(t=(0,i.IlV)(r,"next"))}t=t||(0,i.uwZ)((0,i.NiT)(),"previous").getFlipped().insert((0,i.lJ7)())}let r=(0,i.rdQ)(e,t),o=(0,i.erb)(r),l=(0,i.cmH)(o)?(0,i.lSZ)(o):r;return(0,i.xQ8)((0,i.sWS)(l)),e.getLatest()}function p(e,t){let n=t();return e.replace(n),n.append(e),n}function g(e,t){return null!==e&&Object.getPrototypeOf(e).constructor.name===t.name}function m(e){let t=null;if(g(e,DragEvent)?t=e.dataTransfer:g(e,ClipboardEvent)&&(t=e.clipboardData),null===t)return[!1,[],!1];
1let n=t.types,r=n.includes("Files"),i=n.includes("text/html")||n.includes("text/plain");return[r,Array.from(t.files),i]}function O(e){let t=(0,i.vJq)();if(!(0,i.I2P)(t))return!1;let n=new Set,r=t.getNodes();for(let t=0;t<r.length;t++){let o=r[t],l=o.getKey();if(n.has(l))continue;let s=(0,i.BtT)(o,e=>(0,i.ff4)(e)&&!e.isInline());if(null===s)continue;let a=s.getKey();s.canIndent()&&!n.has(a)&&(n.add(a),e(s))}return n.size>0}let x=!(i.$Mp||!i.qxK)&&void 0;function b(e,t=!1){let n=1;if(function(){if(void 0===x){let e=document.createElement("div");e.style.position="absolute",e.style.opacity="0",e.style.width="100px",e.style.left="-1000px",document.body.appendChild(e);let t=e.getBoundingClientRect();e.style.setProperty("zoom","2"),x=e.getBoundingClientRect().width===t.width,document.body.removeChild(e)}return x}()||t){let t=e&&e.ownerDocument.defaultView||window;for(;e;)n*=Number(t.getComputedStyle(e).getPropertyValue("zoom")),e=(0,i.dCx)(e)}return n}function v(e,t){let n=(0,i.vJq)();if((0,i.I2P)(n)&&n.isCollapsed()){let s=(0,i.BtT)(n.anchor.getNode(),e);if(s){var o,l;let e=s.getParent();if(null!==e&&e.getFirstChild()===s&&(o=n.anchor,l=s,(0,r._n)(o,l,"previous")))return s.insertBefore((0,i.lJ7)()).selectEnd(),t&&t.preventDefault(),!0}}return!1}function y(e,t){let n=(0,i.vJq)();if((0,i.I2P)(n)&&n.isCollapsed()){let s=(0,i.BtT)(n.anchor.getNode(),e);if(s){var o,l;let e=s.getParent();if(null!==e&&e.getLastChild()===s&&(o=n.anchor,l=s,(0,r._n)(o,l,"next")))return s.insertAfter((0,i.lJ7)()).selectEnd(),t&&t.preventDefault(),!0}}return!1}},97058:(e,t,n)=>{"use strict";n.d(t,{Y:()=>m});var r=n(17705),i=n(16729),o=n(2130),l=n(62147),s=n(97029),a=n(26874),u=n(7620);function c(){let[e]=(0,l.DF)();return(0,u.useEffect)(()=>e.registerCommand(i.s0,e=>{let t=(0,a.vJq)();if(!(0,a.I2P)(t))return!1;if(null!==t.focus.getNode()){let e=(0,o.PL)();(0,s.Pe)(e)}return!0},a.jZM),[e]),null}var h=n(6353),d=n(60554);let f={testLexicalNode:e=>e instanceof o.fS,visitLexicalNode({actions:e}){e.addAndStepInto("thematicBreak")}},p={testNode:"thematicBreak",visitNode({actions:e}){e.addAndStepInto((0,o.PL)())}},g=(0,h.rc)(e=>{e.sub(e.pipe(g,(0,h.EY)(d.Cp)),([,e])=>{null==e||e.dispatchCommand(i.s0,void 0)})}),m=(0,r.Z)({init(e){e.pubIn({[d.$0]:"thematicBreak",[d.R1]:p,[d.q]:o.fS,[d.iI]:f,[d.aC]:c})}})},97436:(e,t,n)=>{"use strict";function r(e,t,n){let r=[],i=-1;for(;++i<e.length;){let o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}n.d(t,{W:()=>r})},98575:(e,t,n)=>{"use strict";n.d(t,{zy:()=>eC,Wr:()=>eP,Gi:()=>e$,CP:()=>eQ});var r={};n.r(r),n.d(r,{attentionMarkers:()=>ed,contentInitial:()=>el,disable:()=>ef,document:()=>eo,flow:()=>ea,flowInitial:()=>es,insideSpan:()=>eh,string:()=>eu,text:()=>ec});var i=n(22969),o=n(93010);class l{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&&s(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),s(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),s(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);s(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);s(this.left,t.reverse())}}}function s(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 a(e){let t,n,r,i,s,a,u,c={},h=-1,d=new l(e);for(;++h<d.length;){for(;h in c;)h=c[h];if(t=d.get(h),h&&"chunkFlow"===t[1].type&&"listItemPrefix"===d.get(h-1)[1].type&&((r=0)<(a=t[1]._tokenizer.events).length&&"lineEndingBlank"===a[r][1].type&&(r+=2),r<a.length&&"content"===a[r][1].type))for(;++r<a.length&&"content"!==a[r][1].type;)"chunkText"===a[r][1].type&&(a[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(c,function(e,t){let n,r,i=e.get(t)[1],o=e.get(t)[2],l=t-1,s=[],a=i._tokenizer;!a&&(a=o.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));let u=a.events,c=[],h={},d=-1,f=i,p=0,g=0,m=[0];for(;f;){for(;e.get(++l)[1]!==f;);s.push(l),!f._tokenizer&&(n=o.sliceStream(f),f.next||n.push(null),r&&a.defineSki
1p(f.start),f._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(n),f._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),r=f,f=f.next}for(f=i;++d<u.length;)"exit"===u[d][0]&&"enter"===u[d-1][0]&&u[d][1].type===u[d-1][1].type&&u[d][1].start.line!==u[d][1].end.line&&(g=d+1,m.push(g),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(a.events=[],f?(f._tokenizer=void 0,f.previous=void 0):m.pop(),d=m.length;d--;){let t=u.slice(m[d],m[d+1]),n=s.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),d=-1;++d<c.length;)h[p+c[d][0]]=p+c[d][1],p+=c[d][1]-c[d][0]-1;return h}(d,h)),h=c[h],u=!0);else if(t[1]._container){for(r=h,n=void 0;r--;)if("lineEnding"===(i=d.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(d.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={...d.get(n)[1].start},(s=d.slice(n,h)).unshift(t),d.splice(n,h-n+1,s))}}return(0,o.m)(e,0,1/0,d.slice(0)),!u}let u={}.hasOwnProperty;var c=n(22594),h=n(24525);let d={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,c.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,h.HP)(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}};class f{constructor(){this.index=new Map,this.map=[]}add(e,t,n){p(this,e,t,n,!1)}addBefore(e,t,n){p(this,e,t,n,!0)}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,this.index.clear()}}function p(e,t,n,r,i){if(0===n&&0===r.length)return;let o=e.index.get(t);if(o){o[1]+=n,i?(r.push(...o[2]),o[2]=r):o[2].push(...r);return}let l=[t,n,r];e.map.push(l),e.index.set(t,l)}let g={tokenize:function(e){let t,n,r,i=this,o=[],l=0;return s;function s(t){if(l<o.length){let n=o[l];return i.containerState=n[1],e.attempt(n[0].continuation,a,u)(t)}return u(t)}function a(e){if(l++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&v();let r=i.events.length,o=r;for(;o--;)if("exit"===i.events[o][0]&&"chunkFlow"===i.events[o][1].type){n=i.events[o][1].end;break}b(l);let s=r;for(;s<i.events.length;)i.events[s][1].end={...n},s++;let a=new f;return a.add(o+1,0,i.events.slice(r)),a.add(r,s-r,[]),a.consume(i.events),u(e)}return s(e)}function u(n){if(l===o.length){if(!t)return p(n);if(t.currentConstruct&&t.currentConstruct.concrete)return O(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(m,c,d)(n)}function c(e){return t&&v(),b(l),p(e)}function d(e){return i.parser.lazy[i.now().line]=l!==o.length,r=i.now().offset,O(e)}function p(t){return i.containerState={},e.attempt(m,g,O)(t)}function g(e){return l++,o.push([i.currentConstruct,i.containerState]),p(e)}function O(r){if(null===r){t&&v(),b(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){x(e.exit("chunkFlow"),!0),b(0),e.consume(n);return}return(0,h.HP)(n)?(e.consume(n),x(e.exit("chunkFlow")),l=0,i.interrupt=void 0,s):(e.consume(n),t)}(r)}function x(e,o){let s=i.sliceStream(e);if(o&&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,o=t.events.length;for(;o--;)if(t.events[o][1].start.offset<r&&(!t.events[o][1].end||t.events[o][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(b(l),o=s;o<i.events.length;)i.events[o][1].end={...n},o++;let u=new f;u.add(a+1,0,i.events.slice(s)),u.add(s,o-s,[]),u.consume(i.events)}}function b(t){let n=o.length;for(;n-- >t;){let t=o[n];i.containerState=t[1],t[0].exit.call(i,e)}o.length=t}function v(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},m={tokenize:function(e,t,n){return(0,c.N)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},O={partial:!0,tokenize:function(e,t,n){return function(t){return(0,h.On)(t)?(0,c.N)(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||(0,h.HP)(e)?t(e):n(e)}}},x={resolve:function(e){return a(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,h.HP)(t)?e.check(b,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},b={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"),
1(0,c.N)(e,i,"linePrefix")};function i(i){if(null===i||(0,h.HP)(i))return n(i);let o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}},v={tokenize:function(e){let t=this,n=e.attempt(O,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,c.N)(e,e.attempt(this.parser.constructs.flow,r,e.attempt(x,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)}}},y={resolveAll:C()},k=S("string"),w=S("text");function S(e){return{resolveAll:C("text"===e?P:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,o,l);return o;function o(e){return a(e)?i(e):l(e)}function l(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 C(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 P(e,t){let n=new f,r=0;for(;++r<=e.length;)if((r===e.length||"lineEnding"===e[r][1].type)&&"data"===e[r-1][1].type){let i,o=e[r-1][1],l=t.sliceStream(o),s=l.length,a=-1,u=0;for(;s--;){let e=l[s];if("string"==typeof e){for(a=e.length;32===e.charCodeAt(a-1);)u++,a--;if(a)break;a=-1}else if(-2===e)i=!0,u++;else if(-1===e);else{s++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(u=0),u){let l={type:r===e.length||i||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?a:o.start._bufferIndex+a,_index:o.start._index+s,line:o.end.line,column:o.end.column-u,offset:o.end.offset-u},end:{...o.end}};o.end={...l.start},o.start.offset===o.end.offset?Object.assign(o,l):n.add(r,0,[["enter",l,t],["exit",l,t]])}r++}return n.consume(e),e}let $={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(o){var l;return e.enter("thematicBreak"),r=l=o,function o(l){return l===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),(0,h.On)(n)?(0,c.N)(e,o,"whitespace")(n):o(n))}(l)):i>=3&&(null===l||(0,h.HP)(l))?(e.exit("thematicBreak"),t(l)):n(l)}(l)}}},Q={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(O,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,(0,c.N)(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,h.On)(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine
1=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(T,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,(0,c.N)(e,e.attempt(Q,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],o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,l=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,h.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($,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return(0,h.BM)(i)&&++l<10?(e.consume(i),t):(!r.interrupt||l<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(O,r.interrupt?n:a,e.attempt(_,c,u))}
1function a(e){return r.containerState.initialBlankLine=!0,o++,c(e)}function u(t){return(0,h.On)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},_={partial:!0,tokenize:function(e,t,n){let r=this;return(0,c.N)(e,function(e){let i=r.events[r.events.length-1];return!(0,h.On)(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},T={partial:!0,tokenize:function(e,t,n){let r=this;return(0,c.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)}},A={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return(0,h.On)(t)?(0,c.N)(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(A,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,h.On)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function E(e,t,n,r,i,o,l,s,a){let u=a||1/0,c=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),d):null===t||32===t||41===t||(0,h.JQ)(t)?n(t):(e.enter(r),e.enter(l),e.enter(s),e.enter("chunkString",{contentType:"string"}),g(t))};function d(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),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),d(t)):null===t||60===t||(0,h.HP)(t)?n(t):(e.consume(t),92===t?p:f)}function p(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function g(i){return!c&&(null===i||41===i||(0,h.Ee)(i))?(e.exit("chunkString"),e.exit(s),e.exit(l),e.exit(r),t(i)):c<u&&40===i?(e.consume(i),c++,g):41===i?(e.consume(i),c--,g):null===i||32===i||40===i||(0,h.JQ)(i)?n(i):(e.consume(i),92===i?m:g)}function m(t){return 40===t||41===t||92===t?(e.consume(t),g):g(t)}}function Z(e,t,n,r,i,o){let l,s=this,a=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),u};function u(d){return a>999||null===d||91===d||93===d&&!l||94===d&&!a&&"_hiddenFootnoteSupport"in s.parser.constructs?n(d):93===d?(e.exit(o),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):(0,h.HP)(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(t){return null===t||91===t||93===t||(0,h.HP)(t)||a++>999?(e.exit("chunkString"),u(t)):(e.consume(t),l||(l=!(0,h.On)(t)),92===t?d:c)}function d(t){return 91===t||92===t||93===t?(e.consume(t),a++,c):c(t)}}function R(e,t,n,r,i,o){let l;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),l=40===t?41:t,s):n(t)};function s(n){return n===l?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),a(n))}function a(t){return t===l?(e.exit(o),s(l)):null===t?n(t):(0,h.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,c.N)(e,a,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===l||null===t||(0,h.HP)(t)?(e.exit("chunkString"),a(t)):(e.consume(t),92===t?d:u)}function d(t){return t===l||92===t?(e.consume(t),u):u(t)}}function j(e,t){let n;return function r(i){return(0,h.HP)(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):(0,h.On)(i)?(0,c.N)(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function M(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let L={partial:!0,tokenize:function(e,t,n){return function(t){return(0,h.Ee)(t)?j(e,r)(t):n(t)};function r(t){return R(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return(0,h.On)(t)?(0,c.N)(e,o,"whitespace")(t):o(t)}function o(e){return null===e||(0,h.HP)(e)?t(e):n(e)}}},I={name:"codeIndented",tokenize:function(e,t,n){return function(t){return e.enter("co
1deIndented"),(0,c.B)(e,function t(n){return null===n?r(n):(0,h.HP)(n)?e.attempt(X,t,r)(n):(e.enter("codeFlowValue"),function n(r){return null===r||(0,h.HP)(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))},n,"linePrefix",4,4)(t)};function r(n){return e.exit("codeIndented"),t(n)}}},X={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(l){return r.parser.lazy[r.now().line]?n(l):(0,h.HP)(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i):(0,c.B)(e,t,o,"linePrefix",4,4)(l)}function o(e){return(0,h.HP)(e)?i(e):n(e)}}},N={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,o=new f,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&&o.add(l,1,[]),i||"definition"!==e[l][1].type||(i=l);let s={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(o.add(r,0,[["enter",s,t]]),o.add(i+1,0,[["exit",e[n][1],t]]),e[n][1].end={...e[i][1].end}):e[n][1]=s,o.add(e.length,0,[["exit",s,t]]),o.consume(e),e},tokenize:function(e,t,n){let r,i=this;return function(t){var l;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,l=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),(0,h.On)(n)?(0,c.N)(e,o,"lineSuffix")(n):o(n))}(l)):n(t)};function o(r){return null===r||(0,h.HP)(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}};var V=n(4242);let D={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)}}},z={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(O,t,n)}}},q={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r,i=this,o={partial:!0,tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l};function l(t){return e.enter("codeFencedFence"),(0,h.On)(t)?(0,c.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?(o++,e.consume(i),t):o>=s?(e.exit("codeFencedFenceSequence"),(0,h.On)(i)?(0,c.N)(e,u,"whitespace")(i):u(i)):n(i)}(t)):n(t)}function u(r){return null===r||(0,h.HP)(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},l=0,s=0;return function(t){var o;let u;return o=t,l=(u=i.events[i.events.length-1])&&"linePrefix"===u[1].type?u[2].sliceSerialize(u[1],!0).length:0,r=o,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,h.On)(i)?(0,c.N)(e,a,"whitespace")(i):a(i))}(o)};function a(o){return null===o||(0,h.HP)(o)?(e.exit("codeFencedFence"),i.interrupt?t(o):e.check(D,d,m)(o)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,h.HP)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),a(i)):(0,h.On)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,c.N)(e,u,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(o))}function u(t){return null===t||(0,h.HP)(t)?a(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,h.HP)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),a(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function d(t){return e.attempt(o,m,f)(t)}function f(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p}function p(t){return l>0&&(0,h.On)(t)?(0,c.N)(e,g,"linePrefix",l+1)(t):g(t)}function g(t){return null===t||(0,h.HP)(t)?e.check(D,d,m)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,h.HP)(n)?(e.exit("codeFlowValue"),g(n)):(e.consume(n),t)}(t))}function m(n){return e.exit("codeFenced"),t(n)}}};var B=n(6321);let F={name:"characterReference",tokenize:function(e,t,n){let r,i,o=this,l=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=h.lV,u(t))}function a(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=h.ok,u):(e.enter("characterReferenceValue"),r=7,i=h.BM,u(t))}function u(s){if(59===s&&l){let r=e.exit("characterReferenceValue");return i!==h.lV||(0,B.s)(o.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return i(s)&&l++<r?(e.consume(s),u):n(s)}}},Y={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,h.ol)(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},U={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),
1(0,c.N)(e,t,"linePrefix")}}};var W=n(97436);let H={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,o.m)(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,l=e.length,s=0;for(;l--;){let t=e[l][1];if(n){if("link"===t.type||"labelLink"===t.type&&t._inactive)break;"enter"===e[l][0]&&"labelLink"===t.type&&(t._inactive=!0)}else if(r){if("enter"===e[l][0]&&("labelImage"===t.type||"labelLink"===t.type)&&!t._balanced&&(n=l,"labelLink"!==t.type)){s=2;break}}else"labelEnd"===t.type&&(r=l)}let a={type:"labelLink"===e[n][1].type?"link":"image",start:{...e[n][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[n][1].start},end:{...e[r][1].end}},c={type:"labelText",start:{...e[n+s+2][1].end},end:{...e[r-2][1].start}};return i=[["enter",a,t],["enter",u,t]],i=(0,o.V)(i,e.slice(n+1,n+s+3)),i=(0,o.V)(i,[["enter",c,t]]),i=(0,o.V)(i,(0,W.W)(t.parser.constructs.insideSpan.null,e.slice(n+s+4,r-3),t)),i=(0,o.V)(i,[["exit",c,t],e[r-2],e[r-1],["exit",u,t]]),i=(0,o.V)(i,e.slice(r+1)),i=(0,o.V)(i,[["exit",a,t]]),(0,o.m)(e,n,e.length,i),e},tokenize:function(e,t,n){let r,i,o=this,l=o._labelStarts;if(l){for(;l.length>0&&l[l.length-1]._balanced;)l.pop();r=l[l.length-1]}return function(t){return r?r._inactive?c(t):(i=o.parser.defined.includes(M(o.sliceSerialize({start:r.end,end:o.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(G,u,i?u:c)(t):91===t?e.attempt(J,u,i?a:c)(t):i?u(t):c(t)}function a(t){return e.attempt(K,u,c)(t)}function u(e){return l.pop(),t(e)}function c(e){return r._balanced=!0,n(e)}}},G={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,h.Ee)(t)?j(e,i)(t):i(t)}function i(t){return 41===t?u(t):E(e,o,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return(0,h.Ee)(t)?j(e,s)(t):u(t)}function l(e){return n(e)}function s(t){return 34===t||39===t||40===t?R(e,a,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function a(t){return(0,h.Ee)(t)?j(e,u)(t):u(t)}function u(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},J={tokenize:function(e,t,n){let r=this;return function(t){return Z.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(M(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},K={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)}}},ee={name:"labelStartImage",resolveAll:H.resolveAll,tokenize:function(e,t,n){let r,i=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o};function o(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),r=e.exit("labelImage"),l):n(t)}function l(e){return 94===e&&"_hiddenFootnoteSupport"in i.parser.constructs?n(e):(i._labelStarts=i._labelStarts||[],i._labelStarts.push(r),t(e))}}};var et=n(65948);let en={name:"attention",resolveAll:function(e,t){let n,r=-1;for(;++r<e.length;)if("enter"===e[r][0]&&"attentionSequence"===e[r][1].type&&e[r][1]._close){let i=r;for(;i--;)if("exit"===e[i][0]&&"attentionSequence"===e[i][1].type&&e[i][1]._open&&t.sliceSerialize(e[i][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[i][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[i][1].end.offset-e[i][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;let l=e[i][1].end.offset-e[i][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1,s={...e[i][1].end},a={...e[r][1].start};er(s,-l),er(a,l);let u={type:l>1?"strongSequence":"emphasisSequence",start:s,end:{...e[i][1].end}},c={type:l>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:a},h={type:l>1?"strongText":"emphasisText",start:{...e[i][1].end},end:{...e[r][1].start}},d={type:l>
11?"strong":"emphasis",start:{...u.start},end:{...c.end}};e[i][1].end={...u.start},e[r][1].start={...c.end},n=[],e[i][1].end.offset-e[i][1].start.offset&&(n=(0,o.V)(n,[["enter",e[i][1],t],["exit",e[i][1],t]])),n=(0,o.V)(n,[["enter",d,t],["enter",u,t],["exit",u,t],["enter",h,t]]),n=(0,o.V)(n,(0,W.W)(t.parser.constructs.insideSpan.null,e.slice(i+1,r),t)),n=(0,o.V)(n,[["exit",h,t],["enter",c,t],["exit",c,t],["exit",d,t]]);let f=0;e[r][1].end.offset-e[r][1].start.offset&&(f=2,n=(0,o.V)(n,[["enter",e[r][1],t],["exit",e[r][1],t]])),(0,o.m)(e,i-1,r-i+3,n),r=i+n.length-f-2;break}}for(r=-1;++r<e.length;)"attentionSequence"===e[r][1].type&&(e[r][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,o=(0,et.S)(i);return function(l){return n=l,e.enter("attentionSequence"),function l(s){if(s===n)return e.consume(s),l;let a=e.exit("attentionSequence"),u=(0,et.S)(s),c=!u||2===u&&o||r.includes(s)&&42!==s&&95!==s,h=!o||2===o&&u||r.includes(i)&&42!==i&&95!==i;return a._open=!!(42===n?c:c&&(o||!h)),a._close=!!(42===n?h:h&&(u||!c)),t(s)}(l)}}};function er(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let ei={name:"labelStartLink",resolveAll:H.resolveAll,tokenize:function(e,t,n){let r,i=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),r=e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in i.parser.constructs?n(e):(i._labelStarts=i._labelStarts||[],i._labelStarts.push(r),t(e))}}},eo={42:Q,43:Q,45:Q,48:Q,49:Q,50:Q,51:Q,52:Q,53:Q,54:Q,55:Q,56:Q,57:Q,62:A},el={91:{name:"definition",tokenize:function(e,t,n){let r,i=this;return function(t){var r;return e.enter("definition"),r=t,Z.call(i,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function o(t){return(r=M(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),l):n(t)}function l(t){return(0,h.Ee)(t)?j(e,s)(t):s(t)}function s(t){return E(e,a,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function a(t){return e.attempt(L,u,u)(t)}function u(t){return(0,h.On)(t)?(0,c.N)(e,d,"whitespace")(t):d(t)}function d(o){return null===o||(0,h.HP)(o)?(e.exit("definition"),i.parser.defined.push(r),t(o)):n(o)}}}},es={[-2]:I,[-1]:I,32:I},ea={35:{name:"headingAtx",resolve:function(e,t){let n=e.length-2,r=3;if("whitespace"===e[3][1].type&&(r+=2),n-2>r&&"whitespace"===e[n][1].type&&(n-=2),"atxHeadingSequence"===e[n][1].type&&(r===n-1||n-4>r&&"whitespace"===e[n-2][1].type)&&(n-=r+1===n?2:4),n>r){let i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},l={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"};(0,o.m)(e,r,n-r+1,[["enter",i,t],["enter",l,t],["exit",l,t],["exit",i,t]])}return e},tokenize:function(e,t,n){let r=0;return function(i){var o;return e.enter("atxHeading"),o=i,e.enter("atxHeadingSequence"),function i(o){return 35===o&&r++<6?(e.consume(o),i):null===o||(0,h.Ee)(o)?(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,h.HP)(r)?(e.exit("atxHeading"),t(r)):(0,h.On)(r)?(0,c.N)(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||(0,h.Ee)(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(o)):n(o)}(o)}}},42:$,45:[N,$],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,o,l,s,a=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),u};function u(l){return 33===l?(e.consume(l),c):47===l?(e.consume(l),i=!0,p):63===l?(e.consume(l),r=3,a.interrupt?t:Z):(0,h.CW)(l)?(e.consume(l),o=String.fromCharCode(l),g):n(l)}function c(i){return 45===i?(e.consume(i),r=2,d):91===i?(e.consume(i),r=5,l=0,f):(0,h.CW)(i)?(e.consume(i),r=4,a.interrupt?t:Z):n(i)}function d(r){return 45===r?(e.consume(r),a.interrupt?t:Z):n(r)}function f(r){let i="CDATA[";return r===i.charCodeAt(l++)?(e.consume(r),l===i.length)?a.interrupt?t:C:f:n(r)}function p(t){return(0,h.CW)(t)?(e.consume(t),o=String.fromCharCode(t),g):n(t)}function g(l){if(null===l||47===l||62===l||(0,h.Ee)(l)){let s=47===l,u=o.toLowerCase();return!s&&!i&&V.y.includes(u)?(r=1,a.interrupt?t(l):C(l)):V.T.includes(o.toLowerCase())?(r=6,s)?(e.consume(l),m):a.interrupt?t(l):C(l):(r=7,a.interrupt&&!a.parser.lazy[a.now().line]?n(l):i?function t(n){return(0,h.On)(n)?(e.consume(n),t):w(n)}(l):O(l))}return 45===l||(0,h.lV)(l)?(e.consume(l),o+=String.fromCharCode(l),g):n(l)}function m(r){return 62===r?(e.consume(r),a.interrupt?t:C):n(r)}function O(t){return 47===t?(e.consume(t),w):58===t||95===t||(0,h.CW)(t)?(e.consume(t),x):(0,h.On)(t)?(e.consume(t),O):w(t)}function x(t){return 45===t||46===t||58===t||95===t||(0,h.lV)(t)?(e.consume(t),x):b(t)}function b(t){return 61===t?(e.consume(t),v):(0,h.On)(t)?(e.consume(t),b):O(t)}function v(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,y
1):(0,h.On)(t)?(e.consume(t),v):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||(0,h.Ee)(n)?b(n):(e.consume(n),t)}(t)}function y(t){return t===s?(e.consume(t),s=null,k):null===t||(0,h.HP)(t)?n(t):(e.consume(t),y)}function k(e){return 47===e||62===e||(0,h.On)(e)?O(e):n(e)}function w(t){return 62===t?(e.consume(t),S):n(t)}function S(t){return null===t||(0,h.HP)(t)?C(t):(0,h.On)(t)?(e.consume(t),S):n(t)}function C(t){return 45===t&&2===r?(e.consume(t),_):60===t&&1===r?(e.consume(t),T):62===t&&4===r?(e.consume(t),R):63===t&&3===r?(e.consume(t),Z):93===t&&5===r?(e.consume(t),E):(0,h.HP)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(z,j,P)(t)):null===t||(0,h.HP)(t)?(e.exit("htmlFlowData"),P(t)):(e.consume(t),C)}function P(t){return e.check(D,$,j)(t)}function $(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Q}function Q(t){return null===t||(0,h.HP)(t)?P(t):(e.enter("htmlFlowData"),C(t))}function _(t){return 45===t?(e.consume(t),Z):C(t)}function T(t){return 47===t?(e.consume(t),o="",A):C(t)}function A(t){if(62===t){let n=o.toLowerCase();return V.y.includes(n)?(e.consume(t),R):C(t)}return(0,h.CW)(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),A):C(t)}function E(t){return 93===t?(e.consume(t),Z):C(t)}function Z(t){return 62===t?(e.consume(t),R):45===t&&2===r?(e.consume(t),Z):C(t)}function R(t){return null===t||(0,h.HP)(t)?(e.exit("htmlFlowData"),j(t)):(e.consume(t),R)}function j(n){return e.exit("htmlFlow"),t(n)}}},61:N,95:$,96:q,126:q},eu={38:F,92:Y},ec={[-5]:U,[-4]:U,[-3]:U,33:ee,38:F,42:en,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,h.CW)(t)?(e.consume(t),o):64===t?n(t):s(t)}function o(t){return 43===t||45===t||46===t||(0,h.lV)(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,l):(43===n||45===n||46===n||(0,h.lV)(n))&&r++<32?(e.consume(n),t):(r=0,s(n))}(t)):s(t)}function l(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,h.JQ)(r)?n(r):(e.consume(r),l)}function s(t){return 64===t?(e.consume(t),a):(0,h.cx)(t)?(e.consume(t),s):n(t)}function a(i){return(0,h.lV)(i)?function i(o){return 46===o?(e.consume(o),r=0,a):62===o?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(o),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(o){if((45===o||(0,h.lV)(o))&&r++<63){let n=45===o?t:i;return e.consume(o),n}return n(o)}(o)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,o,l=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),v):(0,h.CW)(t)?(e.consume(t),S):n(t)}function a(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),i=0,g):(0,h.CW)(t)?(e.consume(t),b):n(t)}function u(t){return 45===t?(e.consume(t),p):n(t)}function d(t){return null===t?n(t):45===t?(e.consume(t),f):(0,h.HP)(t)?(o=d,E(t)):(e.consume(t),d)}function f(t){return 45===t?(e.consume(t),p):d(t)}function p(e){return 62===e?A(e):45===e?f(e):d(e)}function g(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?m:g):n(t)}function m(t){return null===t?n(t):93===t?(e.consume(t),O):(0,h.HP)(t)?(o=m,E(t)):(e.consume(t),m)}function O(t){return 93===t?(e.consume(t),x):m(t)}function x(t){return 62===t?A(t):93===t?(e.consume(t),x):m(t)}function b(t){return null===t||62===t?A(t):(0,h.HP)(t)?(o=b,E(t)):(e.consume(t),b)}function v(t){return null===t?n(t):63===t?(e.consume(t),y):(0,h.HP)(t)?(o=v,E(t)):(e.consume(t),v)}function y(e){return 62===e?A(e):v(e)}function k(t){return(0,h.CW)(t)?(e.consume(t),w):n(t)}function w(t){return 45===t||(0,h.lV)(t)?(e.consume(t),w):function t(n){return(0,h.HP)(n)?(o=t,E(n)):(0,h.On)(n)?(e.consume(n),t):A(n)}(t)}function S(t){return 45===t||(0,h.lV)(t)?(e.consume(t),S):47===t||62===t||(0,h.Ee)(t)?C(t):n(t)}function C(t){return 47===t?(e.consume(t),A):58===t||95===t||(0,h.CW)(t)?(e.consume(t),P):(0,h.HP)(t)?(o=C,E(t)):(0,h.On)(t)?(e.consume(t),C):A(t)}function P(t){return 45===t||46===t||58===t||95===t||(0,h.lV)(t)?(e.consume(t),P):function t(n){return 61===n?(e.consume(n),$):(0,h.HP)(n)?(o=t,E(n)):(0,h.On)(n)?(e.consume(n),t):C(n)}(t)}function $(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,Q):(0,h.HP)(t)?(o=$,E(t)):(0,h.On)(t)?(e.consume(t),$):(e.consume(t),_)}function Q(t){return t===r?(e.consume(t),r=void 0,T):null===t?n(t):(0,h.HP)(t)?(o=Q,E(t)):(e.consume(t),Q)}function _(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,h.Ee)(t)?C(t):(e.consume(t),_)}function T(e){return 47===e||62===e||(0,h.Ee)(e)?C(e):n(e)}function A(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function E(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Z}function Z(t){return(0,h.On)(t)?(0,c.N)(e,R,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):R(t)}function R(t){return e.enter("htmlTextData"),o(t)}}}],91:ei,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return(0,h.HP)(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},Y],93:H,95:en,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,o=0;
1return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),o++,t):(e.exit("codeTextSequence"),l(n))}(t)};function l(a){return null===a?n(a):32===a?(e.enter("space"),e.consume(a),e.exit("space"),l):96===a?(i=e.enter("codeTextSequence"),r=0,function n(l){return 96===l?(e.consume(l),r++,n):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(l)):(i.type="codeTextData",s(l))}(a)):(0,h.HP)(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),l):(e.enter("codeTextData"),s(a))}function s(t){return null===t||32===t||96===t||(0,h.HP)(t)?(e.exit("codeTextData"),l(t)):(e.consume(t),s)}}}},eh={null:[en,y]},ed={null:[42,95]},ef={null:[]},ep=/[\0\t\n\r]/g;var eg=n(15278),em=n(66342),eO=n(78063);let ex={}.hasOwnProperty;function eb(e){return{line:e.line,column:e.column,offset:e.offset}}function ev(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+(0,eO.L)({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+(0,eO.L)({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+(0,eO.L)({start:t.start,end:t.end})+") is still open")}var ey=n(67448),ek=n(40960);function ew(e){return e.children instanceof Array}let eS=["paragraph","heading","tableCell"];class eC extends Error{constructor(e,t){super(e),this.name="MarkdownParseError",this.cause=t}}class eP extends Error{constructor(e){super(e),this.name="UnrecognizedMarkdownConstructError"}}function e$({root:e,markdown:t,visitors:n,syntaxExtensions:l,mdastExtensions:s,...c}){var f,p,m;let O;try{let e,n,c,f;p={extensions:l,mdastExtensions:s},"object"==typeof p&&(m=p,p=void 0),O=(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(x),autolinkProtocol:c,autolinkEmail:c,atxHeading:r(g),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:c,characterReference:c,codeFenced:r(p),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:r(p,o),codeText:r(function(){return{type:"inlineCode",value:""}},o),codeTextData:c,data:c,codeFlowValue:c,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(m),hardBreakTrailing:r(m),htmlFlow:r(O,o),htmlFlowData:c,htmlText:r(O,o),htmlTextData:c,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:o,link:r(x),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(b,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(b),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:r(g),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:s(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:s(),autolinkEmail:function(e){h.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){h.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:s(),characterEscapeValue:h,characterReferenceMarkerHexadecimal:f,characterReferenceMarkerNumeric:f,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=(0,eg.C)(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=(0,B.s)(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=eb(e.end)},codeFenced:s(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:h,codeIndented:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:h,data:h,definition:s(),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=M(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:s(),hardBreakEscape:s(d),hardBreakTrailing:s(d),htmlFlow:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:h,htmlText:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:h,image:s(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=(0,em.s)(t),n.identifier=M(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=eb(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.t
1ype)&&(c.call(this,e),h.call(this,e))},link:s(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:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=M(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:s(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:s(),thematicBreak:s()}};!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(ex.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:[]},i={stack:[r],tokenStack:[],config:t,enter:l,exit:a,buffer:o,resume:u,data:n},s=[],c=-1;for(;++c<e.length;)("listOrdered"===e[c][1].type||"listUnordered"===e[c][1].type)&&("enter"===e[c][0]?s.push(c):c=function(e,t,n){let r,i,o,l,s=t-1,a=-1,u=!1;for(;++s<=n;){let t=e[s];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?a++:a--,l=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||l||a||o||(o=s),l=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:l=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 l=s;for(i=void 0;l--;){let t=e[l];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",u=!0),t[1].type="lineEnding",i=l}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}o&&(!i||o<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++,o=void 0,l=!0}}}return e[t][1]._spread=u,n}(e,s.pop(),c));for(c=-1;++c<e.length;){let n=t[e[c][0]];ex.call(n,e[c][1].type)&&n[e[c][1].type].call(Object.assign({sliceSerialize:e[c][2].sliceSerialize},i),e[c][1])}if(i.tokenStack.length>0){let e=i.tokenStack[i.tokenStack.length-1];(e[1]||ev).call(i,void 0,e[0])}for(r.position={start:eb(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:eb(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c<t.transforms.length;)r=t.transforms[c](r)||r;return r};function r(e,t){return function(n){l.call(this,e(n),n),t&&t.call(this,n)}}function o(){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:eb(t.start),end:void 0}}function s(e){return function(t){e&&e.call(this,t),a.call(this,t)}}function a(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]||ev).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+(0,eO.L)({start:e.start,end:e.end})+"): itâs not open");n.position.end=eb(e.end)}function u(){return(0,i.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:eb(e.start),end:void 0},t.push(n)),this.stack.push(n)}function h(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=eb(e.end)}function d(){this.data.atHardBreak=!0}function f(e){this.data.characterReferenceType=e.type}function p(){return{type:"code",lang:null,meta:null,value:""}}function g(){return{type:"heading",depth:0,children:[]}}function m(){return{type:"break"}}function O(){return{type:"html",value:""}}function x(){return{type:"link",title:null,url:"",children:[]}}function b(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(m)(function(e){for(;!a(e););return e}((function(e){let t={constructs:function(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let r,i=(u.call(e,n)?e[n]:void 0)||(e[n]={}),l=t[n];if(l)for(r in l){u.call(i,r)||(i[r]=[]);let e=l[r];!function(e,t){let n=-1,r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);(0,o.m)(e,0,0,r)}(i[r],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}([r,...(e||{}).extensions||[]]),content:n(d),defined:[],document:n(g),flow:n(v),lazy:{},string:n(k),text:n(w)};return t;function n(e){return function(n){return function(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
1olumn:n&&n.column||1,offset:n&&n.offset||0},i={},l=[],s=[],a=[],u={attempt:m(function(e,t){O(e,t.from)}),check:m(g),consume:function(e){(0,h.HP)(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,x()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=p(),c.events.push(["enter",n,c]),a.push(n),n},exit:function(e){let t=a.pop();return t.end=p(),c.events.push(["exit",t,c]),t},interrupt:m(g,{interrupt:!0})},c={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,x()},events:[],now:p,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let o,l=e[r];if("string"==typeof l)o=l;else switch(l){case -5:o="\r";break;case -4:o="\n";break;case -3:o="\r\n";break;case -2:o=t?" ":" ";break;case -1:if(!t&&n)continue;o=" ";break;default:o=String.fromCharCode(l)}n=-2===l,i.push(o)}return i.join("")}(f(e),t)},sliceStream:f,write:function(e){return(s=(0,o.V)(s,e),function(){for(;r._index<s.length;){var e,t;let n=s[r._index];if("string"==typeof n){let t=r._index;for(r._bufferIndex<0&&(r._bufferIndex=0);r._index===t&&r._bufferIndex<n.length;){e=n.charCodeAt(r._bufferIndex),d=d(e)}}else{t=n,d=d(t)}}}(),null!==s[s.length-1])?[]:(O(t,0),c.events=(0,W.W)(l,c.events,c),c.events)}},d=t.tokenize.call(c,u);return t.resolveAll&&l.push(t),c;function f(e){return function(e,t){let n,r=t.start._index,i=t.start._bufferIndex,o=t.end._index,l=t.end._bufferIndex;if(r===o)n=[e[r].slice(i,l)];else{if(n=e.slice(r,o),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}l>0&&n.push(e[o].slice(0,l))}return n}(s,e)}function p(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:o}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:o}}function g(e,t){t.restore()}function m(e,t){return function(n,i,o){var l;let s,h,d,f;return Array.isArray(n)?g(n):"tokenize"in n?g([n]):(l=n,function(e){let t=null!==e&&l[e],n=null!==e&&l.null;return g([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function g(e){return(s=e,h=0,0===e.length)?o:m(e[h])}function m(e){return function(n){let i,o,l,s,h;return(i=p(),o=c.previous,l=c.currentConstruct,s=c.events.length,h=Array.from(a),f={from:s,restore:function(){r=i,c.previous=o,c.currentConstruct=l,c.events.length=s,a=h,x()}},d=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?b(n):e.tokenize.call(t?Object.assign(Object.create(c),t):c,u,O,b)(n)}}function O(t){return e(d,f),i}function b(e){return(f.restore(),++h<s.length)?m(s[h]):o}}}function O(e,t){e.resolveAll&&!l.includes(e)&&l.push(e),e.resolve&&(0,o.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 x(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(m).document().write((n=1,c="",f=!0,function(t,r,i){t=c+("string"==typeof t?t.toString():new TextDecoder(r||void 0).decode(t));let o=[],l=0;for(c="",f&&(65279===t.charCodeAt(0)&&l++,f=void 0);l<t.length;){ep.lastIndex=l;let r=ep.exec(t),i=r&&void 0!==r.index?r.index:t.length,s=t.charCodeAt(i);if(!r){c=t.slice(l);break}if(10===s&&l===i&&e)o.push(-3),e=void 0;else switch(e&&(o.push(-5),e=void 0),l<i&&(o.push(t.slice(l,i)),n+=i-l),s){case 0:o.push(65533),n++;break;case 9:{let e=4*Math.ceil(n/4);for(o.push(-2);n++<e;)o.push(-1);break}case 10:o.push(-4),n=1;break;default:e=!0,n=1}l=i+1}return i&&(e&&o.push(-5),c&&o.push(c),o.push(null)),o})(t,p,!0))))}catch(e){if(e instanceof Error)throw new eC(`Error parsing markdown: ${e.message}`,e);throw new eC(`Error parsing markdown: ${e}`,e)}0===O.children.length&&O.children.push({type:"paragraph",children:[]}),(null==(f=O.children.at(-1))?void 0:f.type)!=="paragraph"&&O.children.push({type:"paragraph",children:[]}),eQ({root:e,mdastRoot:O,visitors:n,...c})}function eQ({root:e,mdastRoot:t,visitors:n,...r}){var i;let o;function l(e,t=null){return n.find((n,i)=>(null==t||!t.has(i))&&("string"==typeof n.testNode?n.testNode===e.type:n.testNode(e,r)))}n=n.sort((e,t)=>
1(t.priority??0)-(e.priority??0)),t=(0,ek.U)(t,r.jsxComponentDescriptors,r.jsxKindMismatchPolicy??"source",e=>{var t;return(null==(t=l(e))?void 0:t.jsxKindReconciliationOwner)===!0});let s=new WeakMap,a=new WeakMap,u=(i=t,o=new Map,"root"!==i.type?{importDeclarations:{}}:(i.children.filter(e=>"mdxjsEsm"===e.type).filter(e=>e.value.startsWith("import ")).forEach(e=>{var t,n;((null==(n=null==(t=e.data)?void 0:t.estree)?void 0:n.body)??[]).forEach(e=>{"ImportDeclaration"===e.type&&e.specifiers.forEach(t=>{o.set(t.local.name,{source:`${e.source.value}`,defaultExport:"ImportDefaultSpecifier"===t.type})})})}),{importDeclarations:Object.fromEntries(o.entries())}));function c(e,t){if(!ew(e))throw Error("Attempting to visit children of a non-parent");e.children.forEach(n=>{if(ew(n)&&!eS.includes(n.type)){let t=s.get(e);void 0===t||s.has(n)||s.set(n,t);let r=a.get(e);void 0===r||a.has(n)||a.set(n,r)}h(n,t,e)})}function h(e,t,i,o=null){let d=l(e,o);if(!d)try{throw new eP(`Unsupported markdown syntax: ${(0,ey.l)(e)}`)}catch(t){throw new eP(`Parsing of the following markdown structure failed: ${JSON.stringify({type:e.type,name:"name"in e?e.name:"N/A"})}`)}d.visitNode({mdastNode:e,lexicalParent:t,mdastParent:i,descriptors:r,metaData:u,actions:{visitChildren:c,nextVisitor(){h(e,t,i,(o??new Set).add(n.indexOf(d)))},addAndStepInto(n){t.append(n),ew(e)&&c(e,n)},addFormatting(t,n){!n&&ew(e)&&(n=e),n&&s.set(n,t|(s.get(i)??0))},removeFormatting(t,n){!n&&ew(e)&&(n=e),n&&s.set(n,t^(s.get(i)??0))},getParentFormatting:()=>s.get(i)??0,addStyle(t,n){!n&&ew(e)&&(n=e),n&&a.set(n,t)},getParentStyle:()=>a.get(i)??""}})}h(t,e,null)}},99308:(e,t,n)=>{"use strict";n.d(t,{Mz:()=>q,UC:()=>F,Wv:()=>T,ZL:()=>B,bL:()=>z,hl:()=>M,i3:()=>Y});var r=n(7620),i=n(41074),o=n(89324),l=n(3678),s=n(13141),a=n(46748),u=n(90124),c=n(86476),h=n(3924),d=n(72691),f=n(40444),p=n(70488),g=n(81541),m=n(88932),O=n(26475),x=n(19681),b=n(54568),v=Object.defineProperty,y=(e,t)=>v(e,"name",{value:t,configurable:!0}),k="Popover",[w,S]=(0,l.A)(k,[h.Bk]),C=(0,h.Bk)(),[P,$]=w(k),Q=y(e=>{let{__scopePopover:t,children:n,open:i,defaultOpen:o,onOpenChange:l,modal:s=!1}=e,a=C(t),u=r.useRef(null),[d,f]=r.useState(!1),[p,g]=(0,m.i)({prop:i,defaultProp:o??!1,onChange:l,caller:k});return(0,b.jsx)(h.bL,{...a,children:(0,b.jsx)(P,{scope:t,contentId:(0,c.B)(),triggerRef:u,open:p,onOpenChange:g,onOpenToggle:r.useCallback(()=>g(e=>!e),[g]),hasCustomAnchor:d,onCustomAnchorAdd:r.useCallback(()=>f(!0),[]),onCustomAnchorRemove:r.useCallback(()=>f(!1),[]),modal:s,children:n})})},"Popover"),_=r.forwardRef(y(function(e,t){let{__scopePopover:n,...i}=e,o=$("PopoverAnchor",n),l=C(n),{onCustomAnchorAdd:s,onCustomAnchorRemove:a}=o;return r.useEffect(()=>(s(),()=>a()),[s,a]),(0,b.jsx)(h.Mz,{...l,...i,ref:t})},"PopoverAnchor")),T=r.forwardRef(y(function(e,t){let{__scopePopover:n,...r}=e,l=$("PopoverTrigger",n),s=C(n),a=(0,o.s)(t,l.triggerRef),u=(0,b.jsx)(p.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.open?l.contentId:void 0,"data-state":D(l.open),...r,ref:a,onClick:(0,i.mK)(e.onClick,l.onOpenToggle)});return l.hasCustomAnchor?u:(0,b.jsx)(h.Mz,{asChild:!0,...s,children:u})},"PopoverTrigger")),A="PopoverPortal",[E,Z]=w(A,{forceMount:void 0}),R=y(e=>{let{__scopePopover:t,forceMount:n,children:r,container:i}=e,o=$(A,t);return(0,b.jsx)(E,{scope:t,forceMount:n,children:(0,b.jsx)(f.C,{present:n||o.open,children:(0,b.jsx)(d.Z,{asChild:!0,container:i,children:r})})})},"PopoverPortal"),j="PopoverContent",M=r.forwardRef(y(function(e,t){let n=Z(j,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,o=$(j,e.__scopePopover);return(0,b.jsx)(f.C,{present:r||o.open,children:o.modal?(0,b.jsx)(I,{...i,ref:t}):(0,b.jsx)(X,{...i,ref:t})})},"PopoverContent")),L=(0,g.TL)("PopoverContent.RemoveScroll"),I=r.forwardRef(y(function(e,t){let n=$(j,e.__scopePopover),l=r.useRef(null),s=(0,o.s)(t,l),a=r.useRef(!1);return r.useEffect(()=>{let e=l.current;if(e)return(0,O.Eq)(e)},[]),(0,b.jsx)(x.A,{as:L,allowPinchZoom:!0,children:(0,b.jsx)(N,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),a.current||n.triggerRef.current?.focus()}),onPointerDownOutside:(0,i.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;a.current=2===t.button||n},{checkForDefaultPrevented:!1}),onFocusOutside:(0,i.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})},"PopoverContentModal")),X=r.forwardRef(y(function(e,t){let n=$(j,e.__scopePopover),i=r.useRef(!1),o=r.useRef(!1);return(0,b.jsx)(N,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(i.current||n.triggerRef.current?.focus(),t.preventDefault()),i.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let r=t.target;n.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})},"PopoverContentNonModal")),N=r.forwardRef(y(function(e,t){let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,disableOutsidePointerEvents:l,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:p,...g}=e,m=$(j,n),O=C(n);return(0,a.Oh)(),(0,b.jsx)(u.n,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o,children:(0,b.jsx)(s.qW,{asChild:!0,disableOutsidePointerEvents:l,onInteractOutside:p,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:f,onDismiss:()=>m.onOpenChange(!1),deferPointerDownOutside:!0,children:(0,b.jsx)(h.UC,{"data-state":D(m.open),role:"dialog",id:m.contentId,...O,...g,ref:t,style:{...g.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})},"PopoverContentImpl")),V=r.forwardRef(y(function(e,t){let{__scopePopover:n,...r}=e,i=C(n);return(0,b.jsx)(h.i3,{...i,...r,ref:t})},"PopoverArrow"));function D(e){return e?"open":"closed"}y(D,"getState");var z=Q,q=_,B=R,F=M,Y=V}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.