You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/7297.36179948.async.js

182 lines
1.5 MiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

!(function(){var hu=Object.defineProperty,gu=Object.defineProperties;var mu=Object.getOwnPropertyDescriptors;var Ms=Object.getOwnPropertySymbols;var kl=Object.prototype.hasOwnProperty,wl=Object.prototype.propertyIsEnumerable;var Ks=Math.pow,Al=(x,c,r)=>c in x?hu(x,c,{enumerable:!0,configurable:!0,writable:!0,value:r}):x[c]=r,yr=(x,c)=>{for(var r in c||(c={}))kl.call(c,r)&&Al(x,r,c[r]);if(Ms)for(var r of Ms(c))wl.call(c,r)&&Al(x,r,c[r]);return x},ts=(x,c)=>gu(x,mu(c));var Nl=(x,c)=>{var r={};for(var u in x)kl.call(x,u)&&c.indexOf(u)<0&&(r[u]=x[u]);if(x!=null&&Ms)for(var u of Ms(x))c.indexOf(u)<0&&wl.call(x,u)&&(r[u]=x[u]);return r};var js=(x,c,r)=>new Promise((u,E)=>{var m=d=>{try{k(r.next(d))}catch(N){E(N)}},b=d=>{try{k(r.throw(d))}catch(N){E(N)}},k=d=>d.done?u(d.value):Promise.resolve(d.value).then(m,b);k((r=r.apply(x,c)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[7297],{66543:function(){"use strict"},59598:function(){"use strict"},99498:function(x,c,r){(function(u){u(r(89780))})(function(u){u.defineOption("placeholder","",function(H,O,I){var ie=I&&I!=u.Init;if(O&&!ie)H.on("blur",k),H.on("change",d),H.on("swapDoc",d),u.on(H.getInputField(),"compositionupdate",H.state.placeholderCompose=function(){b(H)}),d(H);else if(!O&&ie){H.off("blur",k),H.off("change",d),H.off("swapDoc",d),u.off(H.getInputField(),"compositionupdate",H.state.placeholderCompose),E(H);var G=H.getWrapperElement();G.className=G.className.replace(" CodeMirror-empty","")}O&&!H.hasFocus()&&k(H)});function E(H){H.state.placeholder&&(H.state.placeholder.parentNode.removeChild(H.state.placeholder),H.state.placeholder=null)}function m(H){E(H);var O=H.state.placeholder=document.createElement("pre");O.style.cssText="height: 0; overflow: visible",O.style.direction=H.getOption("direction"),O.className="CodeMirror-placeholder CodeMirror-line-like";var I=H.getOption("placeholder");typeof I=="string"&&(I=document.createTextNode(I)),O.appendChild(I),H.display.lineSpace.insertBefore(O,H.display.lineSpace.firstChild)}function b(H){setTimeout(function(){var O=!1,I=H.getInputField();I.nodeName=="TEXTAREA"?O=!I.value:H.lineCount()==1&&(O=!/[^\u200b]/.test(I.querySelector(".CodeMirror-line").textContent)),O?m(H):E(H)},20)}function k(H){N(H)&&m(H)}function d(H){var O=H.getWrapperElement(),I=N(H);O.className=O.className.replace(" CodeMirror-empty","")+(I?" CodeMirror-empty":""),I?m(H):E(H)}function N(H){return H.lineCount()===1&&H.getLine(0)===""}})},25717:function(x,c,r){(function(u){u(r(89780))})(function(u){var E={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},m=u.Pos;u.defineOption("autoCloseBrackets",!1,function(ue,te,X){X&&X!=u.Init&&(ue.removeKeyMap(k),ue.state.closeBrackets=null),te&&(d(b(te,"pairs")),ue.state.closeBrackets=te,ue.addKeyMap(k))});function b(ue,te){return te=="pairs"&&typeof ue=="string"?ue:typeof ue=="object"&&ue[te]!=null?ue[te]:E[te]}var k={Backspace:O,Enter:I};function d(ue){for(var te=0;te<ue.length;te++){var X=ue.charAt(te),q="'"+X+"'";k[q]||(k[q]=N(X))}}d(E.pairs+"`");function N(ue){return function(te){return G(te,ue)}}function H(ue){var te=ue.state.closeBrackets;if(!te||te.override)return te;var X=ue.getModeAt(ue.getCursor());return X.closeBrackets||te}function O(ue){var te=H(ue);if(!te||ue.getOption("disableInput"))return u.Pass;for(var X=b(te,"pairs"),q=ue.listSelections(),W=0;W<q.length;W++){if(!q[W].empty())return u.Pass;var Y=be(ue,q[W].head);if(!Y||X.indexOf(Y)%2!=0)return u.Pass}for(var W=q.length-1;W>=0;W--){var P=q[W].head;ue.replaceRange("",m(P.line,P.ch-1),m(P.line,P.ch+1),"+delete")}}function I(ue){var te=H(ue),X=te&&b(te,"explode");if(!X||ue.getOption("disableInput"))return u.Pass;for(var q=ue.listSelections(),W=0;W<q.length;W++){if(!q[W].empty())return u.Pass;var Y=be(ue,q[W].head);if(!Y||X.indexOf(Y)%2!=0)return u.Pass}ue.operation(function(){var P=ue.lineSeparator()||`
`;ue.replaceSelection(P+P,null),ue.execCommand("goCharLeft"),q=ue.listSelections();for(var B=0;B<q.length;B++){var _=q[B].head.line;ue.indentLine(_,null,!0),ue.indentLine(_+1,null,!0)}})}function ie(ue){var te=u.cmpPos(ue.anchor,ue.head)>0;return{anchor:new m(ue.anchor.line,ue.anchor.ch+(te?-1:1)),head:new m(ue.head.line,ue.head.ch+(te?1:-1))}}function G(ue,te){var X=H(ue);if(!X||ue.getOption("disableInput"))return u.Pass;var q=b(X,"pairs"),W=q.indexOf(te);if(W==-1)return u.Pass;for(var Y=b(X,"closeBefore"),P=b(X,"triples"),B=q.charAt(W+1)==te,_=ue.listSelections(),ee=W%2==0,de,Z=0;Z<_.length;Z++){var fe=_[Z],re=fe.head,V,le=ue.getRange(re,m(re.line,re.ch+1));if(ee&&!fe.empty())V="surround";else if((B||!ee)&&le==te)B&&ce(ue,re)?V="both":P.indexOf(te)>=0&&ue.getRange(re,m(re.line,re.ch+3))==te+te+te?V="skipThree":V="skip";else if(B&&re.ch>1&&P.indexOf(te)>=0&&ue.getRange(m(re.line,re.ch-2),re)==te+te){if(re.ch>2&&/\bstring/.test(ue.getTokenTypeAt(m(re.line,re.ch-2))))return u.Pass;V="addFour"}else if(B){var ne=re.ch==0?" ":ue.getRange(m(re.line,re.ch-1),re);if(!u.isWordChar(le)&&ne!=te&&!u.isWordChar(ne))V="both";else return u.Pass}else if(ee&&(le.length===0||/\s/.test(le)||Y.indexOf(le)>-1))V="both";else return u.Pass;if(!de)de=V;else if(de!=V)return u.Pass}var ge=W%2?q.charAt(W-1):te,Re=W%2?te:q.charAt(W+1);ue.operation(function(){if(de=="skip")ue.execCommand("goCharRight");else if(de=="skipThree")for(var Ie=0;Ie<3;Ie++)ue.execCommand("goCharRight");else if(de=="surround"){for(var ke=ue.getSelections(),Ie=0;Ie<ke.length;Ie++)ke[Ie]=ge+ke[Ie]+Re;ue.replaceSelections(ke,"around"),ke=ue.listSelections().slice();for(var Ie=0;Ie<ke.length;Ie++)ke[Ie]=ie(ke[Ie]);ue.setSelections(ke)}else de=="both"?(ue.replaceSelection(ge+Re,null),ue.triggerElectric(ge+Re),ue.execCommand("goCharLeft")):de=="addFour"&&(ue.replaceSelection(ge+ge+ge+ge,"before"),ue.execCommand("goCharRight"))})}function be(ue,te){var X=ue.getRange(m(te.line,te.ch-1),m(te.line,te.ch+1));return X.length==2?X:null}function ce(ue,te){var X=ue.getTokenAt(m(te.line,te.ch+1));return/\bstring/.test(X.type)&&X.start==te.ch&&(te.ch==0||!/\bstring/.test(ue.getTokenTypeAt(te)))}})},6313:function(x,c,r){(function(u){u(r(89780),r(52730))})(function(u){u.defineOption("autoCloseTags",!1,function(O,I,ie){if(ie!=u.Init&&ie&&O.removeKeyMap("autoCloseTags"),!!I){var G={name:"autoCloseTags"};(typeof I!="object"||I.whenClosing!==!1)&&(G["'/'"]=function(be){return d(be)}),(typeof I!="object"||I.whenOpening!==!1)&&(G["'>'"]=function(be){return b(be)}),O.addKeyMap(G)}});var E=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],m=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function b(O){if(O.getOption("disableInput"))return u.Pass;for(var I=O.listSelections(),ie=[],G=O.getOption("autoCloseTags"),be=0;be<I.length;be++){if(!I[be].empty())return u.Pass;var ce=I[be].head,ue=O.getTokenAt(ce),te=u.innerMode(O.getMode(),ue.state),X=te.state,q=te.mode.xmlCurrentTag&&te.mode.xmlCurrentTag(X),W=q&&q.name;if(!W)return u.Pass;var Y=te.mode.configuration=="html",P=typeof G=="object"&&G.dontCloseTags||Y&&E,B=typeof G=="object"&&G.indentTags||Y&&m;ue.end>ce.ch&&(W=W.slice(0,W.length-ue.end+ce.ch));var _=W.toLowerCase();if(!W||ue.type=="string"&&(ue.end!=ce.ch||!/[\"\']/.test(ue.string.charAt(ue.string.length-1))||ue.string.length==1)||ue.type=="tag"&&q.close||ue.string.indexOf("/")==ce.ch-ue.start-1||P&&N(P,_)>-1||H(O,te.mode.xmlCurrentContext&&te.mode.xmlCurrentContext(X)||[],W,ce,!0))return u.Pass;var ee=typeof G=="object"&&G.emptyTags;if(ee&&N(ee,W)>-1){ie[be]={text:"/>",newPos:u.Pos(ce.line,ce.ch+2)};continue}var de=B&&N(B,_)>-1;ie[be]={indent:de,text:">"+(de?`
`:"")+"</"+W+">",newPos:de?u.Pos(ce.line+1,0):u.Pos(ce.line,ce.ch+1)}}for(var Z=typeof G=="object"&&G.dontIndentOnAutoClose,be=I.length-1;be>=0;be--){var fe=ie[be];O.replaceRange(fe.text,I[be].head,I[be].anchor,"+insert");var re=O.listSelections().slice(0);re[be]={head:fe.newPos,anchor:fe.newPos},O.setSelections(re),!Z&&fe.indent&&(O.indentLine(fe.newPos.line,null,!0),O.indentLine(fe.newPos.line+1,null,!0))}}function k(O,I){for(var ie=O.listSelections(),G=[],be=I?"/":"</",ce=O.getOption("autoCloseTags"),ue=typeof ce=="object"&&ce.dontIndentOnSlash,te=0;te<ie.length;te++){if(!ie[te].empty())return u.Pass;var X=ie[te].head,q=O.getTokenAt(X),W=u.innerMode(O.getMode(),q.state),Y=W.state;if(I&&(q.type=="string"||q.string.charAt(0)!="<"||q.start!=X.ch-1))return u.Pass;var P,B=W.mode.name!="xml"&&O.getMode().name=="htmlmixed";if(B&&W.mode.name=="javascript")P=be+"script";else if(B&&W.mode.name=="css")P=be+"style";else{var _=W.mode.xmlCurrentContext&&W.mode.xmlCurrentContext(Y);if(!_||_.length&&H(O,_,_[_.length-1],X))return u.Pass;P=be+_[_.length-1]}O.getLine(X.line).charAt(q.end)!=">"&&(P+=">"),G[te]=P}if(O.replaceSelections(G),ie=O.listSelections(),!ue)for(var te=0;te<ie.length;te++)(te==ie.length-1||ie[te].head.line<ie[te+1].head.line)&&O.indentLine(ie[te].head.line)}function d(O){return O.getOption("disableInput")?u.Pass:k(O,!0)}u.commands.closeTag=function(O){return k(O)};function N(O,I){if(O.indexOf)return O.indexOf(I);for(var ie=0,G=O.length;ie<G;++ie)if(O[ie]==I)return ie;return-1}function H(O,I,ie,G,be){if(!u.scanForClosingTag)return!1;var ce=Math.min(O.lastLine()+1,G.line+500),ue=u.scanForClosingTag(O,G,null,ce);if(!ue||ue.tag!=ie)return!1;for(var te=be?1:0,X=I.length-1;X>=0&&I[X]==ie;X--)++te;G=ue.to;for(var X=1;X<te;X++){var q=u.scanForClosingTag(O,G,null,ce);if(!q||q.tag!=ie)return!1;G=q.to}return!0}})},52730:function(x,c,r){(function(u){u(r(89780))})(function(u){"use strict";var E=u.Pos;function m(X,q){return X.line-q.line||X.ch-q.ch}var b="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",k=b+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",d=new RegExp("<(/?)(["+b+"]["+k+"]*)","g");function N(X,q,W,Y){this.line=q,this.ch=W,this.cm=X,this.text=X.getLine(q),this.min=Y?Math.max(Y.from,X.firstLine()):X.firstLine(),this.max=Y?Math.min(Y.to-1,X.lastLine()):X.lastLine()}function H(X,q){var W=X.cm.getTokenTypeAt(E(X.line,q));return W&&/\btag\b/.test(W)}function O(X){if(!(X.line>=X.max))return X.ch=0,X.text=X.cm.getLine(++X.line),!0}function I(X){if(!(X.line<=X.min))return X.text=X.cm.getLine(--X.line),X.ch=X.text.length,!0}function ie(X){for(;;){var q=X.text.indexOf(">",X.ch);if(q==-1){if(O(X))continue;return}if(!H(X,q+1)){X.ch=q+1;continue}var W=X.text.lastIndexOf("/",q),Y=W>-1&&!/\S/.test(X.text.slice(W+1,q));return X.ch=q+1,Y?"selfClose":"regular"}}function G(X){for(;;){var q=X.ch?X.text.lastIndexOf("<",X.ch-1):-1;if(q==-1){if(I(X))continue;return}if(!H(X,q+1)){X.ch=q;continue}d.lastIndex=q,X.ch=q;var W=d.exec(X.text);if(W&&W.index==q)return W}}function be(X){for(;;){d.lastIndex=X.ch;var q=d.exec(X.text);if(!q){if(O(X))continue;return}if(!H(X,q.index+1)){X.ch=q.index+1;continue}return X.ch=q.index+q[0].length,q}}function ce(X){for(;;){var q=X.ch?X.text.lastIndexOf(">",X.ch-1):-1;if(q==-1){if(I(X))continue;return}if(!H(X,q+1)){X.ch=q;continue}var W=X.text.lastIndexOf("/",q),Y=W>-1&&!/\S/.test(X.text.slice(W+1,q));return X.ch=q+1,Y?"selfClose":"regular"}}function ue(X,q){for(var W=[];;){var Y=be(X),P,B=X.line,_=X.ch-(Y?Y[0].length:0);if(!Y||!(P=ie(X)))return;if(P!="selfClose")if(Y[1]){for(var ee=W.length-1;ee>=0;--ee)if(W[ee]==Y[2]){W.length=ee;break}if(ee<0&&(!q||q==Y[2]))return{tag:Y[2],from:E(B,_),to:E(X.line,X.ch)}}else W.push(Y[2])}}function te(X,q){for(var W=[];;){var Y=ce(X);if(!Y)return;if(Y=="selfClose"){G(X);continue}var P=X.line,B=X.ch,_=G(X);if(!_)return;if(_[1])W.push(_[2]);else{for(var ee=W.length-1;ee>=0;--ee)if(W[ee]==_[2]){W.length=ee;break}if(ee<0&&(!q||q==_[2]))return{tag:_[2],from:E(X.line,X.ch),to:E(P,B)}}}}u.registerHelper("fold","xml",function(X,q){for(var W=new N(X,q.line,0);;){var Y=be(W);if(!Y||W.line!=q.line)return;var P=ie(W);if(!P)return;if(!Y[1]&&P!="selfClose"){var B=E(W.line,W.ch),_=ue(W,Y[2]);return _&&m(_.from,B)>0?{from:B,to:_.from}:null}}}),u.findMatchingTag=function(X,q,W){var Y=new N(X,q.line,q.ch,W);if(!(Y.text.indexOf(">")==-1&&Y.text.indexOf("<")==-1)){var P=ie(Y),B=P&&E(Y.line,Y.ch),_=P&&G(Y);if(!(!P||!_||m(Y,q)>0)){var ee={from:E(Y.line,Y.ch),to:B,tag:_[2]};return P=="selfClose"?{open:ee,close:null,at:"open"}:_[1]?{open:te(Y,_[2]),close:ee,at:"close"}:(Y=new N(X,B.line,B.ch,W),{open:ee,close:ue(Y,_[2]),at:"open"})}}},u.findEnclosingTag=function(X,q,W,Y){for(var P=new N(X,q.line,q.ch,W);;){var B=te(P,Y);if(!B)break;var _=new N(X,q.line,q.ch,W),ee=ue(_,B.tag);if(ee)return{open:B,close:ee}}},u.scanForClosingTag=function(X,q,W,Y){var P=new N(X,q.line,q.ch,Y?{from:0,to:Y}:null);return ue(P,W)}})},89780:function(x){(function(c,r){x.exports=r()})(this,function(){"use strict";var c=navigator.userAgent,r=navigator.platform,u=/gecko\/\d/i.test(c),E=/MSIE \d/.test(c),m=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(c),b=/Edge\/(\d+)/.exec(c),k=E||m||b,d=k&&(E?document.documentMode||6:+(b||m)[1]),N=!b&&/WebKit\//.test(c),H=N&&/Qt\/\d+\.\d+/.test(c),O=!b&&/Chrome\//.test(c),I=/Opera\//.test(c),ie=/Apple Computer/.test(navigator.vendor),G=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(c),be=/PhantomJS/.test(c),ce=!b&&/AppleWebKit/.test(c)&&/Mobile\/\w+/.test(c),ue=/Android/.test(c),te=ce||ue||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(c),X=ce||/Mac/.test(r),q=/\bCrOS\b/.test(c),W=/win/i.test(r),Y=I&&c.match(/Version\/(\d*\.\d*)/);Y&&(Y=Number(Y[1])),Y&&Y>=15&&(I=!1,N=!0);var P=X&&(H||I&&(Y==null||Y<12.11)),B=u||k&&d>=9;function _(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var ee=function(e,t){var o=e.className,i=_(t).exec(o);if(i){var s=o.slice(i.index+i[0].length);e.className=o.slice(0,i.index)+(s?i[1]+s:"")}};function de(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function Z(e,t){return de(e).appendChild(t)}function fe(e,t,o,i){var s=document.createElement(e);if(o&&(s.className=o),i&&(s.style.cssText=i),typeof t=="string")s.appendChild(document.createTextNode(t));else if(t)for(var p=0;p<t.length;++p)s.appendChild(t[p]);return s}function re(e,t,o,i){var s=fe(e,t,o,i);return s.setAttribute("role","presentation"),s}var V;document.createRange?V=function(e,t,o,i){var s=document.createRange();return s.setEnd(i||e,o),s.setStart(e,t),s}:V=function(e,t,o){var i=document.body.createTextRange();try{i.moveToElementText(e.parentNode)}catch(s){return i}return i.collapse(!0),i.moveEnd("character",o),i.moveStart("character",t),i};function le(e,t){if(t.nodeType==3&&(t=t.parentNode),e.contains)return e.contains(t);do if(t.nodeType==11&&(t=t.host),t==e)return!0;while(t=t.parentNode)}function ne(){var e;try{e=document.activeElement}catch(t){e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function ge(e,t){var o=e.className;_(t).test(o)||(e.className+=(o?" ":"")+t)}function Re(e,t){for(var o=e.split(" "),i=0;i<o.length;i++)o[i]&&!_(o[i]).test(t)&&(t+=" "+o[i]);return t}var Ie=function(e){e.select()};ce?Ie=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:k&&(Ie=function(e){try{e.select()}catch(t){}});function ke(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function Be(e,t,o){t||(t={});for(var i in e)e.hasOwnProperty(i)&&(o!==!1||!t.hasOwnProperty(i))&&(t[i]=e[i]);return t}function oe(e,t,o,i,s){t==null&&(t=e.search(/[^\s\u00a0]/),t==-1&&(t=e.length));for(var p=i||0,A=s||0;;){var F=e.indexOf(" ",p);if(F<0||F>=t)return A+(t-p);A+=F-p,A+=o-A%o,p=F+1}}var M=function(){this.id=null,this.f=null,this.time=0,this.handler=ke(this.onTimeout,this)};M.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},M.prototype.set=function(e,t){this.f=t;var o=+new Date+e;(!this.id||o<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=o)};function L(e,t){for(var o=0;o<e.length;++o)if(e[o]==t)return o;return-1}var xe=50,Me={toString:function(){return"CodeMirror.Pass"}},we={scroll:!1},Tt={origin:"*mouse"},ut={origin:"+move"};function Rt(e,t,o){for(var i=0,s=0;;){var p=e.indexOf(" ",i);p==-1&&(p=e.length);var A=p-i;if(p==e.length||s+A>=t)return i+Math.min(A,t-s);if(s+=p-i,s+=o-s%o,i=p+1,s>=t)return i}}var He=[""];function bt(e){for(;He.length<=e;)He.push(vt(He)+" ");return He[e]}function vt(e){return e[e.length-1]}function Mt(e,t){for(var o=[],i=0;i<e.length;i++)o[i]=t(e[i],i);return o}function Ut(e,t,o){for(var i=0,s=o(t);i<e.length&&o(e[i])<=s;)i++;e.splice(i,0,t)}function R(){}function h(e,t){var o;return Object.create?o=Object.create(e):(R.prototype=e,o=new R),t&&Be(t,o),o}var f=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function C(e){return/\w/.test(e)||e>"\x80"&&(e.toUpperCase()!=e.toLowerCase()||f.test(e))}function D(e,t){return t?t.source.indexOf("\\w")>-1&&C(e)?!0:t.test(e):C(e)}function v(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var U=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Ne(e){return e.charCodeAt(0)>=768&&U.test(e)}function ot(e,t,o){for(;(o<0?t>0:t<e.length)&&Ne(e.charAt(t));)t+=o;return t}function lt(e,t,o){for(var i=t>o?-1:1;;){if(t==o)return t;var s=(t+o)/2,p=i<0?Math.ceil(s):Math.floor(s);if(p==t)return e(p)?t:o;e(p)?o=p:t=p+i}}function Se(e,t,o,i){if(!e)return i(t,o,"ltr",0);for(var s=!1,p=0;p<e.length;++p){var A=e[p];(A.from<o&&A.to>t||t==o&&A.to==t)&&(i(Math.max(A.from,t),Math.min(A.to,o),A.level==1?"rtl":"ltr",p),s=!0)}s||i(t,o,"ltr")}var Fe=null;function Pe(e,t,o){var i;Fe=null;for(var s=0;s<e.length;++s){var p=e[s];if(p.from<t&&p.to>t)return s;p.to==t&&(p.from!=p.to&&o=="before"?i=s:Fe=s),p.from==t&&(p.from!=p.to&&o!="before"?i=s:Fe=s)}return i!=null?i:Fe}var Qe=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function o(J){return J<=247?e.charAt(J):1424<=J&&J<=1524?"R":1536<=J&&J<=1785?t.charAt(J-1536):1774<=J&&J<=2220?"r":8192<=J&&J<=8203?"w":J==8204?"b":"L"}var i=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,s=/[stwN]/,p=/[LRr]/,A=/[Lb1n]/,F=/[1n]/;function z(J,Ae,Oe){this.level=J,this.from=Ae,this.to=Oe}return function(J,Ae){var Oe=Ae=="ltr"?"L":"R";if(J.length==0||Ae=="ltr"&&!i.test(J))return!1;for(var dt=J.length,nt=[],Dt=0;Dt<dt;++Dt)nt.push(o(J.charCodeAt(Dt)));for(var Zt=0,en=Oe;Zt<dt;++Zt){var pn=nt[Zt];pn=="m"?nt[Zt]=en:en=pn}for(var xn=0,hn=Oe;xn<dt;++xn){var In=nt[xn];In=="1"&&hn=="r"?nt[xn]="n":p.test(In)&&(hn=In,In=="r"&&(nt[xn]="R"))}for(var ir=1,Yn=nt[0];ir<dt-1;++ir){var Hr=nt[ir];Hr=="+"&&Yn=="1"&&nt[ir+1]=="1"?nt[ir]="1":Hr==","&&Yn==nt[ir+1]&&(Yn=="1"||Yn=="n")&&(nt[ir]=Yn),Yn=Hr}for(var ya=0;ya<dt;++ya){var ri=nt[ya];if(ri==",")nt[ya]="N";else if(ri=="%"){var _a=void 0;for(_a=ya+1;_a<dt&&nt[_a]=="%";++_a);for(var Zi=ya&&nt[ya-1]=="!"||_a<dt&&nt[_a]=="1"?"1":"N",Pi=ya;Pi<_a;++Pi)nt[Pi]=Zi;ya=_a-1}}for(var Wa=0,Fi=Oe;Wa<dt;++Wa){var pi=nt[Wa];Fi=="L"&&pi=="1"?nt[Wa]="L":p.test(pi)&&(Fi=pi)}for(var Xa=0;Xa<dt;++Xa)if(s.test(nt[Xa])){var Za=void 0;for(Za=Xa+1;Za<dt&&s.test(nt[Za]);++Za);for(var Ma=(Xa?nt[Xa-1]:Oe)=="L",Bi=(Za<dt?nt[Za]:Oe)=="L",ds=Ma==Bi?Ma?"L":"R":Oe,Yo=Xa;Yo<Za;++Yo)nt[Yo]=ds;Xa=Za-1}for(var Ei=[],Io,ai=0;ai<dt;)if(A.test(nt[ai])){var $s=ai;for(++ai;ai<dt&&A.test(nt[ai]);++ai);Ei.push(new z(0,$s,ai))}else{var Ho=ai,Jo=Ei.length,es=Ae=="rtl"?1:0;for(++ai;ai<dt&&nt[ai]!="L";++ai);for(var Ni=Ho;Ni<ai;)if(F.test(nt[Ni])){Ho<Ni&&(Ei.splice(Jo,0,new z(1,Ho,Ni)),Jo+=es);var fs=Ni;for(++Ni;Ni<ai&&F.test(nt[Ni]);++Ni);Ei.splice(Jo,0,new z(2,fs,Ni)),Jo+=es,Ho=Ni}else++Ni;Ho<ai&&Ei.splice(Jo,0,new z(1,Ho,ai))}return Ae=="ltr"&&(Ei[0].level==1&&(Io=J.match(/^\s+/))&&(Ei[0].from=Io[0].length,Ei.unshift(new z(0,0,Io[0].length))),vt(Ei).level==1&&(Io=J.match(/\s+$/))&&(vt(Ei).to-=Io[0].length,Ei.push(new z(0,dt-Io[0].length,dt)))),Ae=="rtl"?Ei.reverse():Ei}}();function ct(e,t){var o=e.order;return o==null&&(o=e.order=Qe(e.text,t)),o}var Ge=[],pe=function(e,t,o){if(e.addEventListener)e.addEventListener(t,o,!1);else if(e.attachEvent)e.attachEvent("on"+t,o);else{var i=e._handlers||(e._handlers={});i[t]=(i[t]||Ge).concat(o)}};function Je(e,t){return e._handlers&&e._handlers[t]||Ge}function rt(e,t,o){if(e.removeEventListener)e.removeEventListener(t,o,!1);else if(e.detachEvent)e.detachEvent("on"+t,o);else{var i=e._handlers,s=i&&i[t];if(s){var p=L(s,o);p>-1&&(i[t]=s.slice(0,p).concat(s.slice(p+1)))}}}function $e(e,t){var o=Je(e,t);if(o.length)for(var i=Array.prototype.slice.call(arguments,2),s=0;s<o.length;++s)o[s].apply(null,i)}function et(e,t,o){return typeof t=="string"&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),$e(e,o||t.type,e,t),ye(t)||t.codemirrorIgnore}function It(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var o=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),i=0;i<t.length;++i)L(o,t[i])==-1&&o.push(t[i])}function tt(e,t){return Je(e,t).length>0}function Q(e){e.prototype.on=function(t,o){pe(this,t,o)},e.prototype.off=function(t,o){rt(this,t,o)}}function Et(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function At(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function ye(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function Gt(e){Et(e),At(e)}function tn(e){return e.target||e.srcElement}function Xt(e){var t=e.which;return t==null&&(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),X&&e.ctrlKey&&t==1&&(t=3),t}var Ke=function(){if(k&&d<9)return!1;var e=fe("div");return"draggable"in e||"dragDrop"in e}(),bn;function cn(e){if(bn==null){var t=fe("span","\u200B");Z(e,fe("span",[t,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(bn=t.offsetWidth<=1&&t.offsetHeight>2&&!(k&&d<8))}var o=bn?fe("span","\u200B"):fe("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return o.setAttribute("cm-text",""),o}var Ht;function Kt(e){if(Ht!=null)return Ht;var t=Z(e,document.createTextNode("A\u062EA")),o=V(t,0,1).getBoundingClientRect(),i=V(t,1,2).getBoundingClientRect();return de(e),!o||o.left==o.right?!1:Ht=i.right-o.right<3}var gn=`
b`.split(/\n/).length!=3?function(e){for(var t=0,o=[],i=e.length;t<=i;){var s=e.indexOf(`
`,t);s==-1&&(s=e.length);var p=e.slice(t,e.charAt(s-1)=="\r"?s-1:s),A=p.indexOf("\r");A!=-1?(o.push(p.slice(0,A)),t+=A+1):(o.push(p),t=s+1)}return o}:function(e){return e.split(/\r\n?|\n/)},Vt=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(o){}return!t||t.parentElement()!=e?!1:t.compareEndPoints("StartToEnd",t)!=0},Ft=function(){var e=fe("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),Lt=null;function Qt(e){if(Lt!=null)return Lt;var t=Z(e,fe("span","x")),o=t.getBoundingClientRect(),i=V(t,0,1).getBoundingClientRect();return Lt=Math.abs(o.left-i.left)>1}var An={},Dn={};function ln(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),An[e]=t}function Lr(e,t){Dn[e]=t}function Ln(e){if(typeof e=="string"&&Dn.hasOwnProperty(e))e=Dn[e];else if(e&&typeof e.name=="string"&&Dn.hasOwnProperty(e.name)){var t=Dn[e.name];typeof t=="string"&&(t={name:t}),e=h(t,e),e.name=t.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Ln("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Ln("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function Vn(e,t){t=Ln(t);var o=An[t.name];if(!o)return Vn(e,"text/plain");var i=o(e,t);if(Ar.hasOwnProperty(t.name)){var s=Ar[t.name];for(var p in s)s.hasOwnProperty(p)&&(i.hasOwnProperty(p)&&(i["_"+p]=i[p]),i[p]=s[p])}if(i.name=t.name,t.helperType&&(i.helperType=t.helperType),t.modeProps)for(var A in t.modeProps)i[A]=t.modeProps[A];return i}var Ar={};function Ir(e,t){var o=Ar.hasOwnProperty(e)?Ar[e]:Ar[e]={};Be(t,o)}function Kn(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var o={};for(var i in t){var s=t[i];s instanceof Array&&(s=s.concat([])),o[i]=s}return o}function Cn(e,t){for(var o;e.innerMode&&(o=e.innerMode(t),!(!o||o.mode==e));)t=o.state,e=o.mode;return o||{mode:e,state:t}}function Mn(e,t,o){return e.startState?e.startState(t,o):!0}var zn=function(e,t,o){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=o};zn.prototype.eol=function(){return this.pos>=this.string.length},zn.prototype.sol=function(){return this.pos==this.lineStart},zn.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},zn.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},zn.prototype.eat=function(e){var t=this.string.charAt(this.pos),o;if(typeof e=="string"?o=t==e:o=t&&(e.test?e.test(t):e(t)),o)return++this.pos,t},zn.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},zn.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},zn.prototype.skipToEnd=function(){this.pos=this.string.length},zn.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},zn.prototype.backUp=function(e){this.pos-=e},zn.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=oe(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?oe(this.string,this.lineStart,this.tabSize):0)},zn.prototype.indentation=function(){return oe(this.string,null,this.tabSize)-(this.lineStart?oe(this.string,this.lineStart,this.tabSize):0)},zn.prototype.match=function(e,t,o){if(typeof e=="string"){var i=function(A){return o?A.toLowerCase():A},s=this.string.substr(this.pos,e.length);if(i(s)==i(e))return t!==!1&&(this.pos+=e.length),!0}else{var p=this.string.slice(this.pos).match(e);return p&&p.index>0?null:(p&&t!==!1&&(this.pos+=p[0].length),p)}},zn.prototype.current=function(){return this.string.slice(this.start,this.pos)},zn.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},zn.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},zn.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function $t(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var o=e;!o.lines;)for(var i=0;;++i){var s=o.children[i],p=s.chunkSize();if(t<p){o=s;break}t-=p}return o.lines[t]}function On(e,t,o){var i=[],s=t.line;return e.iter(t.line,o.line+1,function(p){var A=p.text;s==o.line&&(A=A.slice(0,o.ch)),s==t.line&&(A=A.slice(t.ch)),i.push(A),++s}),i}function Or(e,t,o){var i=[];return e.iter(t,o,function(s){i.push(s.text)}),i}function Mr(e,t){var o=t-e.height;if(o)for(var i=e;i;i=i.parent)i.height+=o}function De(e){if(e.parent==null)return null;for(var t=e.parent,o=L(t.lines,e),i=t.parent;i;t=i,i=i.parent)for(var s=0;i.children[s]!=t;++s)o+=i.children[s].chunkSize();return o+t.first}function Le(e,t){var o=e.first;e:do{for(var i=0;i<e.children.length;++i){var s=e.children[i],p=s.height;if(t<p){e=s;continue e}t-=p,o+=s.chunkSize()}return o}while(!e.lines);for(var A=0;A<e.lines.length;++A){var F=e.lines[A],z=F.height;if(t<z)break;t-=z}return o+A}function Pt(e,t){return t>=e.first&&t<e.first+e.size}function wt(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function me(e,t,o){if(o===void 0&&(o=null),!(this instanceof me))return new me(e,t,o);this.line=e,this.ch=t,this.sticky=o}function St(e,t){return e.line-t.line||e.ch-t.ch}function _t(e,t){return e.sticky==t.sticky&&St(e,t)==0}function Te(e){return me(e.line,e.ch)}function g(e,t){return St(e,t)<0?t:e}function Yt(e,t){return St(e,t)<0?e:t}function Jt(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function ze(e,t){if(t.line<e.first)return me(e.first,0);var o=e.first+e.size-1;return t.line>o?me(o,$t(e,o).text.length):yn(t,$t(e,t.line).text.length)}function yn(e,t){var o=e.ch;return o==null||o>t?me(e.line,t):o<0?me(e.line,0):e}function jt(e,t){for(var o=[],i=0;i<t.length;i++)o[i]=ze(e,t[i]);return o}var dn=function(e,t){this.state=e,this.lookAhead=t},nn=function(e,t,o,i){this.state=t,this.doc=e,this.line=o,this.maxLookAhead=i||0,this.baseTokens=null,this.baseTokenPos=1};nn.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return t!=null&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},nn.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},nn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},nn.fromSaved=function(e,t,o){return t instanceof dn?new nn(e,Kn(e.mode,t.state),o,t.lookAhead):new nn(e,Kn(e.mode,t),o)},nn.prototype.save=function(e){var t=e!==!1?Kn(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new dn(t,this.maxLookAhead):t};function he(e,t,o,i){var s=[e.state.modeGen],p={};kr(e,t.text,e.doc.mode,o,function(J,Ae){return s.push(J,Ae)},p,i);for(var A=o.state,F=function(J){o.baseTokens=s;var Ae=e.state.overlays[J],Oe=1,dt=0;o.state=!0,kr(e,t.text,Ae.mode,o,function(nt,Dt){for(var Zt=Oe;dt<nt;){var en=s[Oe];en>nt&&s.splice(Oe,1,nt,s[Oe+1],en),Oe+=2,dt=Math.min(nt,en)}if(Dt)if(Ae.opaque)s.splice(Zt,Oe-Zt,nt,"overlay "+Dt),Oe=Zt+2;else for(;Zt<Oe;Zt+=2){var pn=s[Zt+1];s[Zt+1]=(pn?pn+" ":"")+"overlay "+Dt}},p),o.state=A,o.baseTokens=null,o.baseTokenPos=1},z=0;z<e.state.overlays.length;++z)F(z);return{styles:s,classes:p.bgClass||p.textClass?p:null}}function mn(e,t,o){if(!t.styles||t.styles[0]!=e.state.modeGen){var i=lr(e,De(t)),s=t.text.length>e.options.maxHighlightLength&&Kn(e.doc.mode,i.state),p=he(e,t,i);s&&(i.state=s),t.stateAfter=i.save(!s),t.styles=p.styles,p.classes?t.styleClasses=p.classes:t.styleClasses&&(t.styleClasses=null),o===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function lr(e,t,o){var i=e.doc,s=e.display;if(!i.mode.startState)return new nn(i,!0,t);var p=Rr(e,t,o),A=p>i.first&&$t(i,p-1).stateAfter,F=A?nn.fromSaved(i,A,p):new nn(i,Mn(i.mode),p);return i.iter(p,t,function(z){ur(e,z.text,F);var J=F.line;z.stateAfter=J==t-1||J%5==0||J>=s.viewFrom&&J<s.viewTo?F.save():null,F.nextLine()}),o&&(i.modeFrontier=F.line),F}function ur(e,t,o,i){var s=e.doc.mode,p=new zn(t,e.options.tabSize,o);for(p.start=p.pos=i||0,t==""&&fr(s,o.state);!p.eol();)pr(s,p,o.state),p.start=p.pos}function fr(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var o=Cn(e,t);if(o.mode.blankLine)return o.mode.blankLine(o.state)}}function pr(e,t,o,i){for(var s=0;s<10;s++){i&&(i[0]=Cn(e,o).mode);var p=e.token(t,o);if(t.pos>t.start)return p}throw new Error("Mode "+e.name+" failed to advance stream.")}var Zn=function(e,t,o){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=o};function hr(e,t,o,i){var s=e.doc,p=s.mode,A;t=ze(s,t);var F=$t(s,t.line),z=lr(e,t.line,o),J=new zn(F.text,e.options.tabSize,z),Ae;for(i&&(Ae=[]);(i||J.pos<t.ch)&&!J.eol();)J.start=J.pos,A=pr(p,J,z.state),i&&Ae.push(new Zn(J,A,Kn(s.mode,z.state)));return i?Ae:new Zn(J,A,z.state)}function _r(e,t){if(e)for(;;){var o=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!o)break;e=e.slice(0,o.index)+e.slice(o.index+o[0].length);var i=o[1]?"bgClass":"textClass";t[i]==null?t[i]=o[2]:new RegExp("(?:^|\\s)"+o[2]+"(?:$|\\s)").test(t[i])||(t[i]+=" "+o[2])}return e}function kr(e,t,o,i,s,p,A){var F=o.flattenSpans;F==null&&(F=e.options.flattenSpans);var z=0,J=null,Ae=new zn(t,e.options.tabSize,i),Oe,dt=e.options.addModeClass&&[null];for(t==""&&_r(fr(o,i.state),p);!Ae.eol();){if(Ae.pos>e.options.maxHighlightLength?(F=!1,A&&ur(e,t,i,Ae.pos),Ae.pos=t.length,Oe=null):Oe=_r(pr(o,Ae,i.state,dt),p),dt){var nt=dt[0].name;nt&&(Oe="m-"+(Oe?nt+" "+Oe:nt))}if(!F||J!=Oe){for(;z<Ae.start;)z=Math.min(Ae.start,z+5e3),s(z,J);J=Oe}Ae.start=Ae.pos}for(;z<Ae.pos;){var Dt=Math.min(Ae.pos,z+5e3);s(Dt,J),z=Dt}}function Rr(e,t,o){for(var i,s,p=e.doc,A=o?-1:t-(e.doc.mode.innerMode?1e3:100),F=t;F>A;--F){if(F<=p.first)return p.first;var z=$t(p,F-1),J=z.stateAfter;if(J&&(!o||F+(J instanceof dn?J.lookAhead:0)<=p.modeFrontier))return F;var Ae=oe(z.text,null,e.options.tabSize);(s==null||i>Ae)&&(s=F-1,i=Ae)}return s}function zr(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var o=e.first,i=t-1;i>o;i--){var s=$t(e,i).stateAfter;if(s&&(!(s instanceof dn)||i+s.lookAhead<t)){o=i+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,o)}}var Br=!1,gr=!1;function Gr(){Br=!0}function Wr(){gr=!0}function un(e,t,o){this.marker=e,this.from=t,this.to=o}function Rn(e,t){if(e)for(var o=0;o<e.length;++o){var i=e[o];if(i.marker==t)return i}}function Pn(e,t){for(var o,i=0;i<e.length;++i)e[i]!=t&&(o||(o=[])).push(e[i]);return o}function or(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}function mr(e,t,o){var i;if(e)for(var s=0;s<e.length;++s){var p=e[s],A=p.marker,F=p.from==null||(A.inclusiveLeft?p.from<=t:p.from<t);if(F||p.from==t&&A.type=="bookmark"&&(!o||!p.marker.insertLeft)){var z=p.to==null||(A.inclusiveRight?p.to>=t:p.to>t);(i||(i=[])).push(new un(A,p.from,z?null:p.to))}}return i}function Pr(e,t,o){var i;if(e)for(var s=0;s<e.length;++s){var p=e[s],A=p.marker,F=p.to==null||(A.inclusiveRight?p.to>=t:p.to>t);if(F||p.from==t&&A.type=="bookmark"&&(!o||p.marker.insertLeft)){var z=p.from==null||(A.inclusiveLeft?p.from<=t:p.from<t);(i||(i=[])).push(new un(A,z?null:p.from-t,p.to==null?null:p.to-t))}}return i}function sa(e,t){if(t.full)return null;var o=Pt(e,t.from.line)&&$t(e,t.from.line).markedSpans,i=Pt(e,t.to.line)&&$t(e,t.to.line).markedSpans;if(!o&&!i)return null;var s=t.from.ch,p=t.to.ch,A=St(t.from,t.to)==0,F=mr(o,s,A),z=Pr(i,p,A),J=t.text.length==1,Ae=vt(t.text).length+(J?s:0);if(F)for(var Oe=0;Oe<F.length;++Oe){var dt=F[Oe];if(dt.to==null){var nt=Rn(z,dt.marker);nt?J&&(dt.to=nt.to==null?null:nt.to+Ae):dt.to=s}}if(z)for(var Dt=0;Dt<z.length;++Dt){var Zt=z[Dt];if(Zt.to!=null&&(Zt.to+=Ae),Zt.from==null){var en=Rn(F,Zt.marker);en||(Zt.from=Ae,J&&(F||(F=[])).push(Zt))}else Zt.from+=Ae,J&&(F||(F=[])).push(Zt)}F&&(F=Ee(F)),z&&z!=F&&(z=Ee(z));var pn=[F];if(!J){var xn=t.text.length-2,hn;if(xn>0&&F)for(var In=0;In<F.length;++In)F[In].to==null&&(hn||(hn=[])).push(new un(F[In].marker,null,null));for(var ir=0;ir<xn;++ir)pn.push(hn);pn.push(z)}return pn}function Ee(e){for(var t=0;t<e.length;++t){var o=e[t];o.from!=null&&o.from==o.to&&o.marker.clearWhenEmpty!==!1&&e.splice(t--,1)}return e.length?e:null}function at(e,t,o){var i=null;if(e.iter(t.line,o.line+1,function(nt){if(nt.markedSpans)for(var Dt=0;Dt<nt.markedSpans.length;++Dt){var Zt=nt.markedSpans[Dt].marker;Zt.readOnly&&(!i||L(i,Zt)==-1)&&(i||(i=[])).push(Zt)}}),!i)return null;for(var s=[{from:t,to:o}],p=0;p<i.length;++p)for(var A=i[p],F=A.find(0),z=0;z<s.length;++z){var J=s[z];if(!(St(J.to,F.from)<0||St(J.from,F.to)>0)){var Ae=[z,1],Oe=St(J.from,F.from),dt=St(J.to,F.to);(Oe<0||!A.inclusiveLeft&&!Oe)&&Ae.push({from:J.from,to:F.from}),(dt>0||!A.inclusiveRight&&!dt)&&Ae.push({from:F.to,to:J.to}),s.splice.apply(s,Ae),z+=Ae.length-3}}return s}function We(e){var t=e.markedSpans;if(t){for(var o=0;o<t.length;++o)t[o].marker.detachLine(e);e.markedSpans=null}}function it(e,t){if(t){for(var o=0;o<t.length;++o)t[o].marker.attachLine(e);e.markedSpans=t}}function mt(e){return e.inclusiveLeft?-1:0}function yt(e){return e.inclusiveRight?1:0}function Bt(e,t){var o=e.lines.length-t.lines.length;if(o!=0)return o;var i=e.find(),s=t.find(),p=St(i.from,s.from)||mt(e)-mt(t);if(p)return-p;var A=St(i.to,s.to)||yt(e)-yt(t);return A||t.id-e.id}function Ot(e,t){var o=gr&&e.markedSpans,i;if(o)for(var s=void 0,p=0;p<o.length;++p)s=o[p],s.marker.collapsed&&(t?s.from:s.to)==null&&(!i||Bt(i,s.marker)<0)&&(i=s.marker);return i}function kt(e){return Ot(e,!0)}function Ve(e){return Ot(e,!1)}function pt(e,t){var o=gr&&e.markedSpans,i;if(o)for(var s=0;s<o.length;++s){var p=o[s];p.marker.collapsed&&(p.from==null||p.from<t)&&(p.to==null||p.to>t)&&(!i||Bt(i,p.marker)<0)&&(i=p.marker)}return i}function gt(e,t,o,i,s){var p=$t(e,t),A=gr&&p.markedSpans;if(A)for(var F=0;F<A.length;++F){var z=A[F];if(z.marker.collapsed){var J=z.marker.find(0),Ae=St(J.from,o)||mt(z.marker)-mt(s),Oe=St(J.to,i)||yt(z.marker)-yt(s);if(!(Ae>=0&&Oe<=0||Ae<=0&&Oe>=0)&&(Ae<=0&&(z.marker.inclusiveRight&&s.inclusiveLeft?St(J.to,o)>=0:St(J.to,o)>0)||Ae>=0&&(z.marker.inclusiveRight&&s.inclusiveLeft?St(J.from,i)<=0:St(J.from,i)<0)))return!0}}}function ht(e){for(var t;t=kt(e);)e=t.find(-1,!0).line;return e}function xt(e){for(var t;t=Ve(e);)e=t.find(1,!0).line;return e}function Wt(e){for(var t,o;t=Ve(e);)e=t.find(1,!0).line,(o||(o=[])).push(e);return o}function sn(e,t){var o=$t(e,t),i=ht(o);return o==i?t:De(i)}function rn(e,t){if(t>e.lastLine())return t;var o=$t(e,t),i;if(!En(e,o))return t;for(;i=Ve(o);)o=i.find(1,!0).line;return De(o)+1}function En(e,t){var o=gr&&t.markedSpans;if(o){for(var i=void 0,s=0;s<o.length;++s)if(i=o[s],!!i.marker.collapsed){if(i.from==null)return!0;if(!i.marker.widgetNode&&i.from==0&&i.marker.inclusiveLeft&&Fn(e,t,i))return!0}}}function Fn(e,t,o){if(o.to==null){var i=o.marker.find(1,!0);return Fn(e,i.line,Rn(i.line.markedSpans,o.marker))}if(o.marker.inclusiveRight&&o.to==t.text.length)return!0;for(var s=void 0,p=0;p<t.markedSpans.length;++p)if(s=t.markedSpans[p],s.marker.collapsed&&!s.marker.widgetNode&&s.from==o.to&&(s.to==null||s.to!=o.from)&&(s.marker.inclusiveLeft||o.marker.inclusiveRight)&&Fn(e,t,s))return!0}function vn(e){e=ht(e);for(var t=0,o=e.parent,i=0;i<o.lines.length;++i){var s=o.lines[i];if(s==e)break;t+=s.height}for(var p=o.parent;p;o=p,p=o.parent)for(var A=0;A<p.children.length;++A){var F=p.children[A];if(F==o)break;t+=F.height}return t}function jn(e){if(e.height==0)return 0;for(var t=e.text.length,o,i=e;o=kt(i);){var s=o.find(0,!0);i=s.from.line,t+=s.from.ch-s.to.ch}for(i=e;o=Ve(i);){var p=o.find(0,!0);t-=i.text.length-p.from.ch,i=p.to.line,t+=i.text.length-p.to.ch}return t}function Sn(e){var t=e.display,o=e.doc;t.maxLine=$t(o,o.first),t.maxLineLength=jn(t.maxLine),t.maxLineChanged=!0,o.iter(function(i){var s=jn(i);s>t.maxLineLength&&(t.maxLineLength=s,t.maxLine=i)})}var Er=function(e,t,o){this.text=e,it(this,t),this.height=o?o(this):1};Er.prototype.lineNo=function(){return De(this)},Q(Er);function vr(e,t,o,i){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),e.order!=null&&(e.order=null),We(e),it(e,o);var s=i?i(e):1;s!=e.height&&Mr(e,s)}function br(e){e.parent=null,We(e)}var Jn={},cr={};function Sr(e,t){if(!e||/^\s*$/.test(e))return null;var o=t.addModeClass?cr:Jn;return o[e]||(o[e]=e.replace(/\S+/g,"cm-$&"))}function nr(e,t){var o=re("span",null,null,N?"padding-right: .1px":null),i={pre:re("pre",[o],"CodeMirror-line"),content:o,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var s=0;s<=(t.rest?t.rest.length:0);s++){var p=s?t.rest[s-1]:t.line,A=void 0;i.pos=0,i.addToken=_n,Kt(e.display.measure)&&(A=ct(p,e.doc.direction))&&(i.addToken=kn(i.addToken,A)),i.map=[];var F=t!=e.display.externalMeasured&&De(p);er(p,i,mn(e,p,F)),p.styleClasses&&(p.styleClasses.bgClass&&(i.bgClass=Re(p.styleClasses.bgClass,i.bgClass||"")),p.styleClasses.textClass&&(i.textClass=Re(p.styleClasses.textClass,i.textClass||""))),i.map.length==0&&i.map.push(0,0,i.content.appendChild(cn(e.display.measure))),s==0?(t.measure.map=i.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(i.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(N){var z=i.content.lastChild;(/\bcm-tab\b/.test(z.className)||z.querySelector&&z.querySelector(".cm-tab"))&&(i.content.className="cm-tab-wrap-hack")}return $e(e,"renderLine",e,t.line,i.pre),i.pre.className&&(i.textClass=Re(i.pre.className,i.textClass||"")),i}function sr(e){var t=fe("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function _n(e,t,o,i,s,p,A){if(t){var F=e.splitSpaces?fn(t,e.trailingSpace):t,z=e.cm.state.specialChars,J=!1,Ae;if(!z.test(t))e.col+=t.length,Ae=document.createTextNode(F),e.map.push(e.pos,e.pos+t.length,Ae),k&&d<9&&(J=!0),e.pos+=t.length;else{Ae=document.createDocumentFragment();for(var Oe=0;;){z.lastIndex=Oe;var dt=z.exec(t),nt=dt?dt.index-Oe:t.length-Oe;if(nt){var Dt=document.createTextNode(F.slice(Oe,Oe+nt));k&&d<9?Ae.appendChild(fe("span",[Dt])):Ae.appendChild(Dt),e.map.push(e.pos,e.pos+nt,Dt),e.col+=nt,e.pos+=nt}if(!dt)break;Oe+=nt+1;var Zt=void 0;if(dt[0]==" "){var en=e.cm.options.tabSize,pn=en-e.col%en;Zt=Ae.appendChild(fe("span",bt(pn),"cm-tab")),Zt.setAttribute("role","presentation"),Zt.setAttribute("cm-text"," "),e.col+=pn}else dt[0]=="\r"||dt[0]==`
`?(Zt=Ae.appendChild(fe("span",dt[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Zt.setAttribute("cm-text",dt[0]),e.col+=1):(Zt=e.cm.options.specialCharPlaceholder(dt[0]),Zt.setAttribute("cm-text",dt[0]),k&&d<9?Ae.appendChild(fe("span",[Zt])):Ae.appendChild(Zt),e.col+=1);e.map.push(e.pos,e.pos+1,Zt),e.pos++}}if(e.trailingSpace=F.charCodeAt(t.length-1)==32,o||i||s||J||p||A){var xn=o||"";i&&(xn+=i),s&&(xn+=s);var hn=fe("span",[Ae],xn,p);if(A)for(var In in A)A.hasOwnProperty(In)&&In!="style"&&In!="class"&&hn.setAttribute(In,A[In]);return e.content.appendChild(hn)}e.content.appendChild(Ae)}}function fn(e,t){if(e.length>1&&!/ /.test(e))return e;for(var o=t,i="",s=0;s<e.length;s++){var p=e.charAt(s);p==" "&&o&&(s==e.length-1||e.charCodeAt(s+1)==32)&&(p="\xA0"),i+=p,o=p==" "}return i}function kn(e,t){return function(o,i,s,p,A,F,z){s=s?s+" cm-force-border":"cm-force-border";for(var J=o.pos,Ae=J+i.length;;){for(var Oe=void 0,dt=0;dt<t.length&&(Oe=t[dt],!(Oe.to>J&&Oe.from<=J));dt++);if(Oe.to>=Ae)return e(o,i,s,p,A,F,z);e(o,i.slice(0,Oe.to-J),s,p,null,F,z),p=null,i=i.slice(Oe.to-J),J=Oe.to}}}function Wn(e,t,o,i){var s=!i&&o.widgetNode;s&&e.map.push(e.pos,e.pos+t,s),!i&&e.cm.display.input.needsContentAttribute&&(s||(s=e.content.appendChild(document.createElement("span"))),s.setAttribute("cm-marker",o.id)),s&&(e.cm.display.input.setUneditable(s),e.content.appendChild(s)),e.pos+=t,e.trailingSpace=!1}function er(e,t,o){var i=e.markedSpans,s=e.text,p=0;if(!i){for(var A=1;A<o.length;A+=2)t.addToken(t,s.slice(p,p=o[A]),Sr(o[A+1],t.cm.options));return}for(var F=s.length,z=0,J=1,Ae="",Oe,dt,nt=0,Dt,Zt,en,pn,xn;;){if(nt==z){Dt=Zt=en=dt="",xn=null,pn=null,nt=1/0;for(var hn=[],In=void 0,ir=0;ir<i.length;++ir){var Yn=i[ir],Hr=Yn.marker;if(Hr.type=="bookmark"&&Yn.from==z&&Hr.widgetNode)hn.push(Hr);else if(Yn.from<=z&&(Yn.to==null||Yn.to>z||Hr.collapsed&&Yn.to==z&&Yn.from==z)){if(Yn.to!=null&&Yn.to!=z&&nt>Yn.to&&(nt=Yn.to,Zt=""),Hr.className&&(Dt+=" "+Hr.className),Hr.css&&(dt=(dt?dt+";":"")+Hr.css),Hr.startStyle&&Yn.from==z&&(en+=" "+Hr.startStyle),Hr.endStyle&&Yn.to==nt&&(In||(In=[])).push(Hr.endStyle,Yn.to),Hr.title&&((xn||(xn={})).title=Hr.title),Hr.attributes)for(var ya in Hr.attributes)(xn||(xn={}))[ya]=Hr.attributes[ya];Hr.collapsed&&(!pn||Bt(pn.marker,Hr)<0)&&(pn=Yn)}else Yn.from>z&&nt>Yn.from&&(nt=Yn.from)}if(In)for(var ri=0;ri<In.length;ri+=2)In[ri+1]==nt&&(Zt+=" "+In[ri]);if(!pn||pn.from==z)for(var _a=0;_a<hn.length;++_a)Wn(t,0,hn[_a]);if(pn&&(pn.from||0)==z){if(Wn(t,(pn.to==null?F+1:pn.to)-z,pn.marker,pn.from==null),pn.to==null)return;pn.to==z&&(pn=!1)}}if(z>=F)break;for(var Zi=Math.min(F,nt);;){if(Ae){var Pi=z+Ae.length;if(!pn){var Wa=Pi>Zi?Ae.slice(0,Zi-z):Ae;t.addToken(t,Wa,Oe?Oe+Dt:Dt,en,z+Wa.length==nt?Zt:"",dt,xn)}if(Pi>=Zi){Ae=Ae.slice(Zi-z),z=Zi;break}z=Pi,en=""}Ae=s.slice(p,p=o[J++]),Oe=Sr(o[J++],t.cm.options)}}}function Ce(e,t,o){this.line=t,this.rest=Wt(t),this.size=this.rest?De(vt(this.rest))-o+1:1,this.node=this.text=null,this.hidden=En(e,t)}function dr(e,t,o){for(var i=[],s,p=t;p<o;p=s){var A=new Ce(e.doc,$t(e.doc,p),p);s=p+A.size,i.push(A)}return i}var Vr=null;function Ia(e){Vr?Vr.ops.push(e):e.ownsGroup=Vr={ops:[e],delayedCallbacks:[]}}function Ra(e){var t=e.delayedCallbacks,o=0;do{for(;o<t.length;o++)t[o].call(null);for(var i=0;i<e.ops.length;i++){var s=e.ops[i];if(s.cursorActivityHandlers)for(;s.cursorActivityCalled<s.cursorActivityHandlers.length;)s.cursorActivityHandlers[s.cursorActivityCalled++].call(null,s.cm)}}while(o<t.length)}function hi(e,t){var o=e.ownsGroup;if(o)try{Ra(o)}finally{Vr=null,t(o)}}var Pa=null;function qr(e,t){var o=Je(e,t);if(o.length){var i=Array.prototype.slice.call(arguments,2),s;Vr?s=Vr.delayedCallbacks:Pa?s=Pa:(s=Pa=[],setTimeout(Kr,0));for(var p=function(F){s.push(function(){return o[F].apply(null,i)})},A=0;A<o.length;++A)p(A)}}function Kr(){var e=Pa;Pa=null;for(var t=0;t<e.length;++t)e[t]()}function jr(e,t,o,i){for(var s=0;s<t.changes.length;s++){var p=t.changes[s];p=="text"?ta(e,t):p=="gutter"?Gn(e,t,o,i):p=="class"?Tn(e,t):p=="widget"&&$n(e,t,i)}t.changes=null}function Ta(e){return e.node==e.text&&(e.node=fe("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),k&&d<8&&(e.node.style.zIndex=2)),e.node}function Xr(e,t){var o=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(o&&(o+=" CodeMirror-linebackground"),t.background)o?t.background.className=o:(t.background.parentNode.removeChild(t.background),t.background=null);else if(o){var i=Ta(t);t.background=i.insertBefore(fe("div",null,o),i.firstChild),e.display.input.setUneditable(t.background)}}function ea(e,t){var o=e.display.externalMeasured;return o&&o.line==t.line?(e.display.externalMeasured=null,t.measure=o.measure,o.built):nr(e,t)}function ta(e,t){var o=t.text.className,i=ea(e,t);t.text==t.node&&(t.node=i.pre),t.text.parentNode.replaceChild(i.pre,t.text),t.text=i.pre,i.bgClass!=t.bgClass||i.textClass!=t.textClass?(t.bgClass=i.bgClass,t.textClass=i.textClass,Tn(e,t)):o&&(t.text.className=o)}function Tn(e,t){Xr(e,t),t.line.wrapClass?Ta(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var o=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=o||""}function Gn(e,t,o,i){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var s=Ta(t);t.gutterBackground=fe("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?i.fixedPos:-i.gutterTotalWidth)+"px; width: "+i.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),s.insertBefore(t.gutterBackground,t.text)}var p=t.line.gutterMarkers;if(e.options.lineNumbers||p){var A=Ta(t),F=t.gutter=fe("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?i.fixedPos:-i.gutterTotalWidth)+"px");if(e.display.input.setUneditable(F),A.insertBefore(F,t.text),t.line.gutterClass&&(F.className+=" "+t.line.gutterClass),e.options.lineNumbers&&(!p||!p["CodeMirror-linenumbers"])&&(t.lineNumber=F.appendChild(fe("div",wt(e.options,o),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+i.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),p)for(var z=0;z<e.display.gutterSpecs.length;++z){var J=e.display.gutterSpecs[z].className,Ae=p.hasOwnProperty(J)&&p[J];Ae&&F.appendChild(fe("div",[Ae],"CodeMirror-gutter-elt","left: "+i.gutterLeft[J]+"px; width: "+i.gutterWidth[J]+"px"))}}}function $n(e,t,o){t.alignable&&(t.alignable=null);for(var i=_("CodeMirror-linewidget"),s=t.node.firstChild,p=void 0;s;s=p)p=s.nextSibling,i.test(s.className)&&t.node.removeChild(s);Nr(e,t,o)}function Un(e,t,o,i){var s=ea(e,t);return t.text=t.node=s.pre,s.bgClass&&(t.bgClass=s.bgClass),s.textClass&&(t.textClass=s.textClass),Tn(e,t),Gn(e,t,o,i),Nr(e,t,i),t.node}function Nr(e,t,o){if(Zr(e,t.line,t,o,!0),t.rest)for(var i=0;i<t.rest.length;i++)Zr(e,t.rest[i],t,o,!1)}function Zr(e,t,o,i,s){if(t.widgets)for(var p=Ta(o),A=0,F=t.widgets;A<F.length;++A){var z=F[A],J=fe("div",[z.node],"CodeMirror-linewidget"+(z.className?" "+z.className:""));z.handleMouseEvents||J.setAttribute("cm-ignore-events","true"),Aa(z,J,o,i),e.display.input.setUneditable(J),s&&z.above?p.insertBefore(J,o.gutter||o.text):p.appendChild(J),qr(z,"redraw")}}function Aa(e,t,o,i){if(e.noHScroll){(o.alignable||(o.alignable=[])).push(t);var s=i.wrapperWidth;t.style.left=i.fixedPos+"px",e.coverGutter||(s-=i.gutterTotalWidth,t.style.paddingLeft=i.gutterTotalWidth+"px"),t.style.width=s+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-i.gutterTotalWidth+"px"))}function la(e){if(e.height!=null)return e.height;var t=e.doc.cm;if(!t)return 0;if(!le(document.body,e.node)){var o="position: relative;";e.coverGutter&&(o+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(o+="width: "+t.display.wrapper.clientWidth+"px;"),Z(t.display.measure,fe("div",[e.node],null,o))}return e.height=e.node.parentNode.offsetHeight}function ua(e,t){for(var o=tn(t);o!=e.wrapper;o=o.parentNode)if(!o||o.nodeType==1&&o.getAttribute("cm-ignore-events")=="true"||o.parentNode==e.sizer&&o!=e.mover)return!0}function Qn(e){return e.lineSpace.offsetTop}function Dr(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function za(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=Z(e.measure,fe("pre","x","CodeMirror-line-like")),o=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,i={left:parseInt(o.paddingLeft),right:parseInt(o.paddingRight)};return!isNaN(i.left)&&!isNaN(i.right)&&(e.cachedPaddingH=i),i}function Ur(e){return xe-e.display.nativeBarWidth}function Fa(e){return e.display.scroller.clientWidth-Ur(e)-e.display.barWidth}function $a(e){return e.display.scroller.clientHeight-Ur(e)-e.display.barHeight}function Ba(e,t,o){var i=e.options.lineWrapping,s=i&&Fa(e);if(!t.measure.heights||i&&t.measure.width!=s){var p=t.measure.heights=[];if(i){t.measure.width=s;for(var A=t.text.firstChild.getClientRects(),F=0;F<A.length-1;F++){var z=A[F],J=A[F+1];Math.abs(z.bottom-J.bottom)>2&&p.push((z.bottom+J.top)/2-o.top)}}p.push(o.bottom-o.top)}}function aa(e,t,o){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var i=0;i<e.rest.length;i++)if(e.rest[i]==t)return{map:e.measure.maps[i],cache:e.measure.caches[i]};for(var s=0;s<e.rest.length;s++)if(De(e.rest[s])>o)return{map:e.measure.maps[s],cache:e.measure.caches[s],before:!0}}function Si(e,t){t=ht(t);var o=De(t),i=e.display.externalMeasured=new Ce(e.doc,t,o);i.lineN=o;var s=i.built=nr(e,i);return i.text=s.pre,Z(e.display.lineMeasure,s.pre),i}function co(e,t,o,i){return Ka(e,ii(e,t),o,i)}function Va(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[Ti(e,t)];var o=e.display.externalMeasured;if(o&&t>=o.lineN&&t<o.lineN+o.size)return o}function ii(e,t){var o=De(t),i=Va(e,o);i&&!i.text?i=null:i&&i.changes&&(jr(e,i,o,si(e)),e.curOp.forceUpdate=!0),i||(i=Si(e,t));var s=aa(i,t,o);return{line:t,view:i,rect:null,map:s.map,cache:s.cache,before:s.before,hasHeights:!1}}function Ka(e,t,o,i,s){t.before&&(o=-1);var p=o+(i||""),A;return t.cache.hasOwnProperty(p)?A=t.cache[p]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(Ba(e,t.view,t.rect),t.hasHeights=!0),A=So(e,t,o,i),A.bogus||(t.cache[p]=A)),{left:A.left,right:A.right,top:s?A.rtop:A.top,bottom:s?A.rbottom:A.bottom}}var Ui={left:0,right:0,top:0,bottom:0};function yo(e,t,o){for(var i,s,p,A,F,z,J=0;J<e.length;J+=3)if(F=e[J],z=e[J+1],t<F?(s=0,p=1,A="left"):t<z?(s=t-F,p=s+1):(J==e.length-3||t==z&&e[J+3]>t)&&(p=z-F,s=p-1,t>=z&&(A="right")),s!=null){if(i=e[J+2],F==z&&o==(i.insertLeft?"left":"right")&&(A=o),o=="left"&&s==0)for(;J&&e[J-2]==e[J-3]&&e[J-1].insertLeft;)i=e[(J-=3)+2],A="left";if(o=="right"&&s==z-F)for(;J<e.length-3&&e[J+3]==e[J+4]&&!e[J+5].insertLeft;)i=e[(J+=3)+2],A="right";break}return{node:i,start:s,end:p,collapse:A,coverStart:F,coverEnd:z}}function Eo(e,t){var o=Ui;if(t=="left")for(var i=0;i<e.length&&(o=e[i]).left==o.right;i++);else for(var s=e.length-1;s>=0&&(o=e[s]).left==o.right;s--);return o}function So(e,t,o,i){var s=yo(t.map,o,i),p=s.node,A=s.start,F=s.end,z=s.collapse,J;if(p.nodeType==3){for(var Ae=0;Ae<4;Ae++){for(;A&&Ne(t.line.text.charAt(s.coverStart+A));)--A;for(;s.coverStart+F<s.coverEnd&&Ne(t.line.text.charAt(s.coverStart+F));)++F;if(k&&d<9&&A==0&&F==s.coverEnd-s.coverStart?J=p.parentNode.getBoundingClientRect():J=Eo(V(p,A,F).getClientRects(),i),J.left||J.right||A==0)break;F=A,A=A-1,z="right"}k&&d<11&&(J=Ji(e.display.measure,J))}else{A>0&&(z=i="right");var Oe;e.options.lineWrapping&&(Oe=p.getClientRects()).length>1?J=Oe[i=="right"?Oe.length-1:0]:J=p.getBoundingClientRect()}if(k&&d<9&&!A&&(!J||!J.left&&!J.right)){var dt=p.parentNode.getClientRects()[0];dt?J={left:dt.left,right:dt.left+Qa(e.display),top:dt.top,bottom:dt.bottom}:J=Ui}for(var nt=J.top-t.rect.top,Dt=J.bottom-t.rect.top,Zt=(nt+Dt)/2,en=t.view.measure.heights,pn=0;pn<en.length-1&&!(Zt<en[pn]);pn++);var xn=pn?en[pn-1]:0,hn=en[pn],In={left:(z=="right"?J.right:J.left)-t.rect.left,right:(z=="left"?J.left:J.right)-t.rect.left,top:xn,bottom:hn};return!J.left&&!J.right&&(In.bogus=!0),e.options.singleCursorHeightPerLine||(In.rtop=nt,In.rbottom=Dt),In}function Ji(e,t){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Qt(e))return t;var o=screen.logicalXDPI/screen.deviceXDPI,i=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*o,right:t.right*o,top:t.top*i,bottom:t.bottom*i}}function fo(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function eo(e){e.display.externalMeasure=null,de(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)fo(e.display.view[t])}function $i(e){eo(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function to(){return O&&ue?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function To(){return O&&ue?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function no(e){var t=0;if(e.widgets)for(var o=0;o<e.widgets.length;++o)e.widgets[o].above&&(t+=la(e.widgets[o]));return t}function Vi(e,t,o,i,s){if(!s){var p=no(t);o.top+=p,o.bottom+=p}if(i=="line")return o;i||(i="local");var A=vn(t);if(i=="local"?A+=Qn(e.display):A-=e.display.viewOffset,i=="page"||i=="window"){var F=e.display.lineSpace.getBoundingClientRect();A+=F.top+(i=="window"?0:To());var z=F.left+(i=="window"?0:to());o.left+=z,o.right+=z}return o.top+=A,o.bottom+=A,o}function Ki(e,t,o){if(o=="div")return t;var i=t.left,s=t.top;if(o=="page")i-=to(),s-=To();else if(o=="local"||!o){var p=e.display.sizer.getBoundingClientRect();i+=p.left,s+=p.top}var A=e.display.lineSpace.getBoundingClientRect();return{left:i-A.left,top:s-A.top}}function Ua(e,t,o,i,s){return i||(i=$t(e.doc,t.line)),Vi(e,i,co(e,i,t.ch,s),o)}function fa(e,t,o,i,s,p){i=i||$t(e.doc,t.line),s||(s=ii(e,i));function A(Dt,Zt){var en=Ka(e,s,Dt,Zt?"right":"left",p);return Zt?en.left=en.right:en.right=en.left,Vi(e,i,en,o)}var F=ct(i,e.doc.direction),z=t.ch,J=t.sticky;if(z>=i.text.length?(z=i.text.length,J="before"):z<=0&&(z=0,J="after"),!F)return A(J=="before"?z-1:z,J=="before");function Ae(Dt,Zt,en){var pn=F[Zt],xn=pn.level==1;return A(en?Dt-1:Dt,xn!=en)}var Oe=Pe(F,z,J),dt=Fe,nt=Ae(z,Oe,J=="before");return dt!=null&&(nt.other=Ae(z,dt,J!="before")),nt}function wr(e,t){var o=0;t=ze(e.doc,t),e.options.lineWrapping||(o=Qa(e.display)*t.ch);var i=$t(e.doc,t.line),s=vn(i)+Qn(e.display);return{left:o,right:o,top:s,bottom:s+i.height}}function rr(e,t,o,i,s){var p=me(e,t,o);return p.xRel=s,i&&(p.outside=i),p}function pa(e,t,o){var i=e.doc;if(o+=e.display.viewOffset,o<0)return rr(i.first,0,null,-1,-1);var s=Le(i,o),p=i.first+i.size-1;if(s>p)return rr(i.first+i.size-1,$t(i,p).text.length,null,1,1);t<0&&(t=0);for(var A=$t(i,s);;){var F=gi(e,A,s,t,o),z=pt(A,F.ch+(F.xRel>0||F.outside>0?1:0));if(!z)return F;var J=z.find(1);if(J.line==s)return J;A=$t(i,s=J.line)}}function ha(e,t,o,i){i-=no(t);var s=t.text.length,p=lt(function(A){return Ka(e,o,A-1).bottom<=i},s,0);return s=lt(function(A){return Ka(e,o,A).top>i},p,s),{begin:p,end:s}}function va(e,t,o,i){o||(o=ii(e,t));var s=Vi(e,t,Ka(e,o,i),"line").top;return ha(e,t,o,s)}function Ca(e,t,o,i){return e.bottom<=o?!1:e.top>o?!0:(i?e.left:e.right)>t}function gi(e,t,o,i,s){s-=vn(t);var p=ii(e,t),A=no(t),F=0,z=t.text.length,J=!0,Ae=ct(t,e.doc.direction);if(Ae){var Oe=(e.options.lineWrapping?Ii:oi)(e,t,o,p,Ae,i,s);J=Oe.level!=1,F=J?Oe.from:Oe.to-1,z=J?Oe.to:Oe.from-1}var dt=null,nt=null,Dt=lt(function(ir){var Yn=Ka(e,p,ir);return Yn.top+=A,Yn.bottom+=A,Ca(Yn,i,s,!1)?(Yn.top<=s&&Yn.left<=i&&(dt=ir,nt=Yn),!0):!1},F,z),Zt,en,pn=!1;if(nt){var xn=i-nt.left<nt.right-i,hn=xn==J;Dt=dt+(hn?0:1),en=hn?"after":"before",Zt=xn?nt.left:nt.right}else{!J&&(Dt==z||Dt==F)&&Dt++,en=Dt==0?"after":Dt==t.text.length?"before":Ka(e,p,Dt-(J?1:0)).bottom+A<=s==J?"after":"before";var In=fa(e,me(o,Dt,en),"line",t,p);Zt=In.left,pn=s<In.top?-1:s>=In.bottom?1:0}return Dt=ot(t.text,Dt,1),rr(o,Dt,en,pn,i-Zt)}function oi(e,t,o,i,s,p,A){var F=lt(function(Oe){var dt=s[Oe],nt=dt.level!=1;return Ca(fa(e,me(o,nt?dt.to:dt.from,nt?"before":"after"),"line",t,i),p,A,!0)},0,s.length-1),z=s[F];if(F>0){var J=z.level!=1,Ae=fa(e,me(o,J?z.from:z.to,J?"after":"before"),"line",t,i);Ca(Ae,p,A,!0)&&Ae.top>A&&(z=s[F-1])}return z}function Ii(e,t,o,i,s,p,A){var F=ha(e,t,i,A),z=F.begin,J=F.end;/\s/.test(t.text.charAt(J-1))&&J--;for(var Ae=null,Oe=null,dt=0;dt<s.length;dt++){var nt=s[dt];if(!(nt.from>=J||nt.to<=z)){var Dt=nt.level!=1,Zt=Ka(e,i,Dt?Math.min(J,nt.to)-1:Math.max(z,nt.from)).right,en=Zt<p?p-Zt+1e9:Zt-p;(!Ae||Oe>en)&&(Ae=nt,Oe=en)}}return Ae||(Ae=s[s.length-1]),Ae.from<z&&(Ae={from:z,to:Ae.to,level:Ae.level}),Ae.to>J&&(Ae={from:Ae.from,to:J,level:Ae.level}),Ae}var ca;function xa(e){if(e.cachedTextHeight!=null)return e.cachedTextHeight;if(ca==null){ca=fe("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)ca.appendChild(document.createTextNode("x")),ca.appendChild(fe("br"));ca.appendChild(document.createTextNode("x"))}Z(e.measure,ca);var o=ca.offsetHeight/50;return o>3&&(e.cachedTextHeight=o),de(e.measure),o||1}function Qa(e){if(e.cachedCharWidth!=null)return e.cachedCharWidth;var t=fe("span","xxxxxxxxxx"),o=fe("pre",[t],"CodeMirror-line-like");Z(e.measure,o);var i=t.getBoundingClientRect(),s=(i.right-i.left)/10;return s>2&&(e.cachedCharWidth=s),s||10}function si(e){for(var t=e.display,o={},i={},s=t.gutters.clientLeft,p=t.gutters.firstChild,A=0;p;p=p.nextSibling,++A){var F=e.display.gutterSpecs[A].className;o[F]=p.offsetLeft+p.clientLeft+s,i[F]=p.clientWidth}return{fixedPos:po(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:o,gutterWidth:i,wrapperWidth:t.wrapper.clientWidth}}function po(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function Ro(e){var t=xa(e.display),o=e.options.lineWrapping,i=o&&Math.max(5,e.display.scroller.clientWidth/Qa(e.display)-3);return function(s){if(En(e.doc,s))return 0;var p=0;if(s.widgets)for(var A=0;A<s.widgets.length;A++)s.widgets[A].height&&(p+=s.widgets[A].height);return o?p+(Math.ceil(s.text.length/i)||1)*t:p+t}}function Lo(e){var t=e.doc,o=Ro(e);t.iter(function(i){var s=o(i);s!=i.height&&Mr(i,s)})}function mi(e,t,o,i){var s=e.display;if(!o&&tn(t).getAttribute("cm-not-content")=="true")return null;var p,A,F=s.lineSpace.getBoundingClientRect();try{p=t.clientX-F.left,A=t.clientY-F.top}catch(Oe){return null}var z=pa(e,p,A),J;if(i&&z.xRel>0&&(J=$t(e.doc,z.line).text).length==z.ch){var Ae=oe(J,J.length,e.options.tabSize)-J.length;z=me(z.line,Math.max(0,Math.round((p-za(e.display).left)/Qa(e.display))-Ae))}return z}function Ti(e,t){if(t>=e.display.viewTo||(t-=e.display.viewFrom,t<0))return null;for(var o=e.display.view,i=0;i<o.length;i++)if(t-=o[i].size,t<0)return i}function Qr(e,t,o,i){t==null&&(t=e.doc.first),o==null&&(o=e.doc.first+e.doc.size),i||(i=0);var s=e.display;if(i&&o<s.viewTo&&(s.updateLineNumbers==null||s.updateLineNumbers>t)&&(s.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=s.viewTo)gr&&sn(e.doc,t)<s.viewTo&&qa(e);else if(o<=s.viewFrom)gr&&rn(e.doc,o+i)>s.viewFrom?qa(e):(s.viewFrom+=i,s.viewTo+=i);else if(t<=s.viewFrom&&o>=s.viewTo)qa(e);else if(t<=s.viewFrom){var p=Co(e,o,o+i,1);p?(s.view=s.view.slice(p.index),s.viewFrom=p.lineN,s.viewTo+=i):qa(e)}else if(o>=s.viewTo){var A=Co(e,t,t,-1);A?(s.view=s.view.slice(0,A.index),s.viewTo=A.lineN):qa(e)}else{var F=Co(e,t,t,-1),z=Co(e,o,o+i,1);F&&z?(s.view=s.view.slice(0,F.index).concat(dr(e,F.lineN,z.lineN)).concat(s.view.slice(z.index)),s.viewTo+=i):qa(e)}var J=s.externalMeasured;J&&(o<J.lineN?J.lineN+=i:t<J.lineN+J.size&&(s.externalMeasured=null))}function bi(e,t,o){e.curOp.viewChanged=!0;var i=e.display,s=e.display.externalMeasured;if(s&&t>=s.lineN&&t<s.lineN+s.size&&(i.externalMeasured=null),!(t<i.viewFrom||t>=i.viewTo)){var p=i.view[Ti(e,t)];if(p.node!=null){var A=p.changes||(p.changes=[]);L(A,o)==-1&&A.push(o)}}}function qa(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Co(e,t,o,i){var s=Ti(e,t),p,A=e.display.view;if(!gr||o==e.doc.first+e.doc.size)return{index:s,lineN:o};for(var F=e.display.viewFrom,z=0;z<s;z++)F+=A[z].size;if(F!=t){if(i>0){if(s==A.length-1)return null;p=F+A[s].size-t,s++}else p=F-t;t+=p,o+=p}for(;sn(e.doc,o)!=o;){if(s==(i<0?0:A.length-1))return null;o+=i*A[s-(i<0?1:0)].size,s+=i}return{index:s,lineN:o}}function zo(e,t,o){var i=e.display,s=i.view;s.length==0||t>=i.viewTo||o<=i.viewFrom?(i.view=dr(e,t,o),i.viewFrom=t):(i.viewFrom>t?i.view=dr(e,t,i.viewFrom).concat(i.view):i.viewFrom<t&&(i.view=i.view.slice(Ti(e,t))),i.viewFrom=t,i.viewTo<o?i.view=i.view.concat(dr(e,i.viewTo,o)):i.viewTo>o&&(i.view=i.view.slice(0,Ti(e,o)))),i.viewTo=o}function Go(e){for(var t=e.display.view,o=0,i=0;i<t.length;i++){var s=t[i];!s.hidden&&(!s.node||s.changes)&&++o}return o}function ji(e){e.display.input.showSelection(e.display.input.prepareSelection())}function Oo(e,t){t===void 0&&(t=!0);for(var o=e.doc,i={},s=i.cursors=document.createDocumentFragment(),p=i.selection=document.createDocumentFragment(),A=0;A<o.sel.ranges.length;A++)if(!(!t&&A==o.sel.primIndex)){var F=o.sel.ranges[A];if(!(F.from().line>=e.display.viewTo||F.to().line<e.display.viewFrom)){var z=F.empty();(z||e.options.showCursorWhenSelecting)&&_o(e,F.head,s),z||xo(e,F,p)}}return i}function _o(e,t,o){var i=fa(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),s=o.appendChild(fe("div","\xA0","CodeMirror-cursor"));if(s.style.left=i.left+"px",s.style.top=i.top+"px",s.style.height=Math.max(0,i.bottom-i.top)*e.options.cursorHeight+"px",i.other){var p=o.appendChild(fe("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));p.style.display="",p.style.left=i.other.left+"px",p.style.top=i.other.top+"px",p.style.height=(i.other.bottom-i.other.top)*.85+"px"}}function Hi(e,t){return e.top-t.top||e.left-t.left}function xo(e,t,o){var i=e.display,s=e.doc,p=document.createDocumentFragment(),A=za(e.display),F=A.left,z=Math.max(i.sizerWidth,Fa(e)-i.sizer.offsetLeft)-A.right,J=s.direction=="ltr";function Ae(hn,In,ir,Yn){In<0&&(In=0),In=Math.round(In),Yn=Math.round(Yn),p.appendChild(fe("div",null,"CodeMirror-selected","position: absolute; left: "+hn+`px;
top: `+In+"px; width: "+(ir==null?z-hn:ir)+`px;
height: `+(Yn-In)+"px"))}function Oe(hn,In,ir){var Yn=$t(s,hn),Hr=Yn.text.length,ya,ri;function _a(Wa,Fi){return Ua(e,me(hn,Wa),"div",Yn,Fi)}function Zi(Wa,Fi,pi){var Xa=va(e,Yn,null,Wa),Za=Fi=="ltr"==(pi=="after")?"left":"right",Ma=pi=="after"?Xa.begin:Xa.end-(/\s/.test(Yn.text.charAt(Xa.end-1))?2:1);return _a(Ma,Za)[Za]}var Pi=ct(Yn,s.direction);return Se(Pi,In||0,ir==null?Hr:ir,function(Wa,Fi,pi,Xa){var Za=pi=="ltr",Ma=_a(Wa,Za?"left":"right"),Bi=_a(Fi-1,Za?"right":"left"),ds=In==null&&Wa==0,Yo=ir==null&&Fi==Hr,Ei=Xa==0,Io=!Pi||Xa==Pi.length-1;if(Bi.top-Ma.top<=3){var ai=(J?ds:Yo)&&Ei,$s=(J?Yo:ds)&&Io,Ho=ai?F:(Za?Ma:Bi).left,Jo=$s?z:(Za?Bi:Ma).right;Ae(Ho,Ma.top,Jo-Ho,Ma.bottom)}else{var es,Ni,fs,Vs;Za?(es=J&&ds&&Ei?F:Ma.left,Ni=J?z:Zi(Wa,pi,"before"),fs=J?F:Zi(Fi,pi,"after"),Vs=J&&Yo&&Io?z:Bi.right):(es=J?Zi(Wa,pi,"before"):F,Ni=!J&&ds&&Ei?z:Ma.right,fs=!J&&Yo&&Io?F:Bi.left,Vs=J?Zi(Fi,pi,"after"):z),Ae(es,Ma.top,Ni-es,Ma.bottom),Ma.bottom<Bi.top&&Ae(F,Ma.bottom,null,Bi.top),Ae(fs,Bi.top,Vs-fs,Bi.bottom)}(!ya||Hi(Ma,ya)<0)&&(ya=Ma),Hi(Bi,ya)<0&&(ya=Bi),(!ri||Hi(Ma,ri)<0)&&(ri=Ma),Hi(Bi,ri)<0&&(ri=Bi)}),{start:ya,end:ri}}var dt=t.from(),nt=t.to();if(dt.line==nt.line)Oe(dt.line,dt.ch,nt.ch);else{var Dt=$t(s,dt.line),Zt=$t(s,nt.line),en=ht(Dt)==ht(Zt),pn=Oe(dt.line,dt.ch,en?Dt.text.length+1:null).end,xn=Oe(nt.line,en?0:null,nt.ch).start;en&&(pn.top<xn.top-2?(Ae(pn.right,pn.top,null,pn.bottom),Ae(F,xn.top,xn.left,xn.bottom)):Ae(pn.right,pn.top,xn.left-pn.right,pn.bottom)),pn.bottom<xn.top&&Ae(F,pn.bottom,null,xn.top)}o.appendChild(p)}function ro(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var o=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval(function(){e.hasFocus()||io(e),t.cursorDiv.style.visibility=(o=!o)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function ao(e){e.state.focused||(e.display.input.focus(),li(e))}function Ao(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,io(e))},100)}function li(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),e.options.readOnly!="nocursor"&&(e.state.focused||($e(e,"focus",e,t),e.state.focused=!0,ge(e.display.wrapper,"CodeMirror-focused"),!e.curOp&&e.display.selForContextMenu!=e.doc.sel&&(e.display.input.reset(),N&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),ro(e))}function io(e,t){e.state.delayingBlurEvent||(e.state.focused&&($e(e,"blur",e,t),e.state.focused=!1,ee(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function oo(e){for(var t=e.display,o=t.lineDiv.offsetTop,i=0;i<t.view.length;i++){var s=t.view[i],p=e.options.lineWrapping,A=void 0,F=0;if(!s.hidden){if(k&&d<8){var z=s.node.offsetTop+s.node.offsetHeight;A=z-o,o=z}else{var J=s.node.getBoundingClientRect();A=J.bottom-J.top,!p&&s.text.firstChild&&(F=s.text.firstChild.getBoundingClientRect().right-J.left-1)}var Ae=s.line.height-A;if((Ae>.005||Ae<-.005)&&(Mr(s.line,A),Do(s.line),s.rest))for(var Oe=0;Oe<s.rest.length;Oe++)Do(s.rest[Oe]);if(F>e.display.sizerWidth){var dt=Math.ceil(F/Qa(e.display));dt>e.display.maxLineLength&&(e.display.maxLineLength=dt,e.display.maxLine=s.line,e.display.maxLineChanged=!0)}}}}function Do(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var o=e.widgets[t],i=o.node.parentNode;i&&(o.height=i.offsetHeight)}}function Yi(e,t,o){var i=o&&o.top!=null?Math.max(0,o.top):e.scroller.scrollTop;i=Math.floor(i-Qn(e));var s=o&&o.bottom!=null?o.bottom:i+e.wrapper.clientHeight,p=Le(t,i),A=Le(t,s);if(o&&o.ensure){var F=o.ensure.from.line,z=o.ensure.to.line;F<p?(p=F,A=Le(t,vn($t(t,F))+e.wrapper.clientHeight)):Math.min(z,t.lastLine())>=A&&(p=Le(t,vn($t(t,z))-e.wrapper.clientHeight),A=z)}return{from:p,to:Math.max(A,p+1)}}function Mo(e,t){if(!et(e,"scrollCursorIntoView")){var o=e.display,i=o.sizer.getBoundingClientRect(),s=null;if(t.top+i.top<0?s=!0:t.bottom+i.top>(window.innerHeight||document.documentElement.clientHeight)&&(s=!1),s!=null&&!be){var p=fe("div","\u200B",null,`position: absolute;
top: `+(t.top-o.viewOffset-Qn(e.display))+`px;
height: `+(t.bottom-t.top+Ur(e)+o.barHeight)+`px;
left: `+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(p),p.scrollIntoView(s),e.display.lineSpace.removeChild(p)}}}function Po(e,t,o,i){i==null&&(i=0);var s;!e.options.lineWrapping&&t==o&&(t=t.ch?me(t.line,t.sticky=="before"?t.ch-1:t.ch,"after"):t,o=t.sticky=="before"?me(t.line,t.ch+1,"before"):t);for(var p=0;p<5;p++){var A=!1,F=fa(e,t),z=!o||o==t?F:fa(e,o);s={left:Math.min(F.left,z.left),top:Math.min(F.top,z.top)-i,right:Math.max(F.left,z.left),bottom:Math.max(F.bottom,z.bottom)+i};var J=ko(e,s),Ae=e.doc.scrollTop,Oe=e.doc.scrollLeft;if(J.scrollTop!=null&&(xi(e,J.scrollTop),Math.abs(e.doc.scrollTop-Ae)>1&&(A=!0)),J.scrollLeft!=null&&(Oi(e,J.scrollLeft),Math.abs(e.doc.scrollLeft-Oe)>1&&(A=!0)),!A)break}return s}function so(e,t){var o=ko(e,t);o.scrollTop!=null&&xi(e,o.scrollTop),o.scrollLeft!=null&&Oi(e,o.scrollLeft)}function ko(e,t){var o=e.display,i=xa(e.display);t.top<0&&(t.top=0);var s=e.curOp&&e.curOp.scrollTop!=null?e.curOp.scrollTop:o.scroller.scrollTop,p=$a(e),A={};t.bottom-t.top>p&&(t.bottom=t.top+p);var F=e.doc.height+Dr(o),z=t.top<i,J=t.bottom>F-i;if(t.top<s)A.scrollTop=z?0:t.top;else if(t.bottom>s+p){var Ae=Math.min(t.top,(J?F:t.bottom)-p);Ae!=s&&(A.scrollTop=Ae)}var Oe=e.options.fixedGutter?0:o.gutters.offsetWidth,dt=e.curOp&&e.curOp.scrollLeft!=null?e.curOp.scrollLeft:o.scroller.scrollLeft-Oe,nt=Fa(e)-o.gutters.offsetWidth,Dt=t.right-t.left>nt;return Dt&&(t.right=t.left+nt),t.left<10?A.scrollLeft=0:t.left<dt?A.scrollLeft=Math.max(0,t.left+Oe-(Dt?0:10)):t.right>nt+dt-3&&(A.scrollLeft=t.right+(Dt?0:10)-nt),A}function wo(e,t){t!=null&&(ui(e),e.curOp.scrollTop=(e.curOp.scrollTop==null?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Ri(e){ui(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Ci(e,t,o){(t!=null||o!=null)&&ui(e),t!=null&&(e.curOp.scrollLeft=t),o!=null&&(e.curOp.scrollTop=o)}function lo(e,t){ui(e),e.curOp.scrollToPos=t}function ui(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var o=wr(e,t.from),i=wr(e,t.to);ho(e,o,i,t.margin)}}function ho(e,t,o,i){var s=ko(e,{left:Math.min(t.left,o.left),top:Math.min(t.top,o.top)-i,right:Math.max(t.right,o.right),bottom:Math.max(t.bottom,o.bottom)+i});Ci(e,s.scrollLeft,s.scrollTop)}function xi(e,t){Math.abs(e.doc.scrollTop-t)<2||(u||T(e,{top:t}),Li(e,t,!0),u&&T(e),go(e,100))}function Li(e,t,o){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),!(e.display.scroller.scrollTop==t&&!o)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function Oi(e,t,o,i){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),!((o?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!i)&&(e.doc.scrollLeft=t,se(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function Tr(e){var t=e.display,o=t.gutters.offsetWidth,i=Math.round(e.doc.height+Dr(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?o:0,docHeight:i,scrollHeight:i+Ur(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:o}}var Cr=function(e,t,o){this.cm=o;var i=this.vert=fe("div",[fe("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),s=this.horiz=fe("div",[fe("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");i.tabIndex=s.tabIndex=-1,e(i),e(s),pe(i,"scroll",function(){i.clientHeight&&t(i.scrollTop,"vertical")}),pe(s,"scroll",function(){s.clientWidth&&t(s.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,k&&d<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Cr.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,o=e.scrollHeight>e.clientHeight+1,i=e.nativeBarWidth;if(o){this.vert.style.display="block",this.vert.style.bottom=t?i+"px":"0";var s=e.viewHeight-(t?i:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+s)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=o?i+"px":"0",this.horiz.style.left=e.barLeft+"px";var p=e.viewWidth-e.barLeft-(o?i:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+p)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(i==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:o?i:0,bottom:t?i:0}},Cr.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Cr.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Cr.prototype.zeroWidthHack=function(){var e=X&&!G?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new M,this.disableVert=new M},Cr.prototype.enableZeroWidthBar=function(e,t,o){e.style.pointerEvents="auto";function i(){var s=e.getBoundingClientRect(),p=o=="vert"?document.elementFromPoint(s.right-1,(s.top+s.bottom)/2):document.elementFromPoint((s.right+s.left)/2,s.bottom-1);p!=e?e.style.pointerEvents="none":t.set(1e3,i)}t.set(1e3,i)},Cr.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var ba=function(){};ba.prototype.update=function(){return{bottom:0,right:0}},ba.prototype.setScrollLeft=function(){},ba.prototype.setScrollTop=function(){},ba.prototype.clear=function(){};function ka(e,t){t||(t=Tr(e));var o=e.display.barWidth,i=e.display.barHeight;Ea(e,t);for(var s=0;s<4&&o!=e.display.barWidth||i!=e.display.barHeight;s++)o!=e.display.barWidth&&e.options.lineWrapping&&oo(e),Ea(e,Tr(e)),o=e.display.barWidth,i=e.display.barHeight}function Ea(e,t){var o=e.display,i=o.scrollbars.update(t);o.sizer.style.paddingRight=(o.barWidth=i.right)+"px",o.sizer.style.paddingBottom=(o.barHeight=i.bottom)+"px",o.heightForcer.style.borderBottom=i.bottom+"px solid transparent",i.right&&i.bottom?(o.scrollbarFiller.style.display="block",o.scrollbarFiller.style.height=i.bottom+"px",o.scrollbarFiller.style.width=i.right+"px"):o.scrollbarFiller.style.display="",i.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(o.gutterFiller.style.display="block",o.gutterFiller.style.height=i.bottom+"px",o.gutterFiller.style.width=t.gutterWidth+"px"):o.gutterFiller.style.display=""}var ci={native:Cr,null:ba};function di(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&ee(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new ci[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),pe(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,o){o=="horizontal"?Oi(e,t):xi(e,t)},e),e.display.scrollbars.addClass&&ge(e.display.wrapper,e.display.scrollbars.addClass)}var fi=0;function Ja(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++fi},Ia(e.curOp)}function Ai(e){var t=e.curOp;t&&hi(t,function(o){for(var i=0;i<o.ops.length;i++)o.ops[i].cm.curOp=null;Wo(o)})}function Wo(e){for(var t=e.ops,o=0;o<t.length;o++)ns(t[o]);for(var i=0;i<t.length;i++)rs(t[i]);for(var s=0;s<t.length;s++)ps(t[s]);for(var p=0;p<t.length;p++)hs(t[p]);for(var A=0;A<t.length;A++)as(t[A])}function ns(e){var t=e.cm,o=t.display;Xo(t),e.updateMaxLine&&Sn(t),e.mustUpdate=e.viewChanged||e.forceUpdate||e.scrollTop!=null||e.scrollToPos&&(e.scrollToPos.from.line<o.viewFrom||e.scrollToPos.to.line>=o.viewTo)||o.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new No(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function rs(e){e.updatedDisplay=e.mustUpdate&&l(e.cm,e.update)}function ps(e){var t=e.cm,o=t.display;e.updatedDisplay&&oo(t),e.barMeasure=Tr(t),o.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=co(t,o.maxLine,o.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(o.scroller.clientWidth,o.sizer.offsetLeft+e.adjustWidthTo+Ur(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,o.sizer.offsetLeft+e.adjustWidthTo-Fa(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=o.input.prepareSelection())}function hs(e){var t=e.cm;e.adjustWidthTo!=null&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&Oi(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var o=e.focus&&e.focus==ne();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,o),(e.updatedDisplay||e.startHeight!=t.doc.height)&&ka(t,e.barMeasure),e.updatedDisplay&&j(t,e.barMeasure),e.selectionChanged&&ro(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),o&&ao(e.cm)}function as(e){var t=e.cm,o=t.display,i=t.doc;if(e.updatedDisplay&&y(t,e.update),o.wheelStartX!=null&&(e.scrollTop!=null||e.scrollLeft!=null||e.scrollToPos)&&(o.wheelStartX=o.wheelStartY=null),e.scrollTop!=null&&Li(t,e.scrollTop,e.forceScroll),e.scrollLeft!=null&&Oi(t,e.scrollLeft,!0,!0),e.scrollToPos){var s=Po(t,ze(i,e.scrollToPos.from),ze(i,e.scrollToPos.to),e.scrollToPos.margin);Mo(t,s)}var p=e.maybeHiddenMarkers,A=e.maybeUnhiddenMarkers;if(p)for(var F=0;F<p.length;++F)p[F].lines.length||$e(p[F],"hide");if(A)for(var z=0;z<A.length;++z)A[z].lines.length&&$e(A[z],"unhide");o.wrapper.offsetHeight&&(i.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&$e(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function ei(e,t){if(e.curOp)return t();Ja(e);try{return t()}finally{Ai(e)}}function La(e,t){return function(){if(e.curOp)return t.apply(e,arguments);Ja(e);try{return t.apply(e,arguments)}finally{Ai(e)}}}function ja(e){return function(){if(this.curOp)return e.apply(this,arguments);Ja(this);try{return e.apply(this,arguments)}finally{Ai(this)}}}function Oa(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);Ja(t);try{return e.apply(this,arguments)}finally{Ai(t)}}}function go(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,ke(ws,e))}function ws(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var o=+new Date+e.options.workTime,i=lr(e,t.highlightFrontier),s=[];t.iter(i.line,Math.min(t.first+t.size,e.display.viewTo+500),function(p){if(i.line>=e.display.viewFrom){var A=p.styles,F=p.text.length>e.options.maxHighlightLength?Kn(t.mode,i.state):null,z=he(e,p,i,!0);F&&(i.state=F),p.styles=z.styles;var J=p.styleClasses,Ae=z.classes;Ae?p.styleClasses=Ae:J&&(p.styleClasses=null);for(var Oe=!A||A.length!=p.styles.length||J!=Ae&&(!J||!Ae||J.bgClass!=Ae.bgClass||J.textClass!=Ae.textClass),dt=0;!Oe&&dt<A.length;++dt)Oe=A[dt]!=p.styles[dt];Oe&&s.push(i.line),p.stateAfter=i.save(),i.nextLine()}else p.text.length<=e.options.maxHighlightLength&&ur(e,p.text,i),p.stateAfter=i.line%5==0?i.save():null,i.nextLine();if(+new Date>o)return go(e,e.options.workDelay),!0}),t.highlightFrontier=i.line,t.modeFrontier=Math.max(t.modeFrontier,i.line),s.length&&ei(e,function(){for(var p=0;p<s.length;p++)bi(e,s[p],"text")})}}var No=function(e,t,o){var i=e.display;this.viewport=t,this.visible=Yi(i,e.doc,t),this.editorIsHidden=!i.wrapper.offsetWidth,this.wrapperHeight=i.wrapper.clientHeight,this.wrapperWidth=i.wrapper.clientWidth,this.oldDisplayWidth=Fa(e),this.force=o,this.dims=si(e),this.events=[]};No.prototype.signal=function(e,t){tt(e,t)&&this.events.push(arguments)},No.prototype.finish=function(){for(var e=0;e<this.events.length;e++)$e.apply(null,this.events[e])};function Xo(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=Ur(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=Ur(e)+"px",t.scrollbarsClipped=!0)}function Qo(e){if(e.hasFocus())return null;var t=ne();if(!t||!le(e.display.lineDiv,t))return null;var o={activeElt:t};if(window.getSelection){var i=window.getSelection();i.anchorNode&&i.extend&&le(e.display.lineDiv,i.anchorNode)&&(o.anchorNode=i.anchorNode,o.anchorOffset=i.anchorOffset,o.focusNode=i.focusNode,o.focusOffset=i.focusOffset)}return o}function gs(e){if(!(!e||!e.activeElt||e.activeElt==ne())&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&le(document.body,e.anchorNode)&&le(document.body,e.focusNode))){var t=window.getSelection(),o=document.createRange();o.setEnd(e.anchorNode,e.anchorOffset),o.collapse(!1),t.removeAllRanges(),t.addRange(o),t.extend(e.focusNode,e.focusOffset)}}function l(e,t){var o=e.display,i=e.doc;if(t.editorIsHidden)return qa(e),!1;if(!t.force&&t.visible.from>=o.viewFrom&&t.visible.to<=o.viewTo&&(o.updateLineNumbers==null||o.updateLineNumbers>=o.viewTo)&&o.renderedView==o.view&&Go(e)==0)return!1;ve(e)&&(qa(e),t.dims=si(e));var s=i.first+i.size,p=Math.max(t.visible.from-e.options.viewportMargin,i.first),A=Math.min(s,t.visible.to+e.options.viewportMargin);o.viewFrom<p&&p-o.viewFrom<20&&(p=Math.max(i.first,o.viewFrom)),o.viewTo>A&&o.viewTo-A<20&&(A=Math.min(s,o.viewTo)),gr&&(p=sn(e.doc,p),A=rn(e.doc,A));var F=p!=o.viewFrom||A!=o.viewTo||o.lastWrapHeight!=t.wrapperHeight||o.lastWrapWidth!=t.wrapperWidth;zo(e,p,A),o.viewOffset=vn($t(e.doc,o.viewFrom)),e.display.mover.style.top=o.viewOffset+"px";var z=Go(e);if(!F&&z==0&&!t.force&&o.renderedView==o.view&&(o.updateLineNumbers==null||o.updateLineNumbers>=o.viewTo))return!1;var J=Qo(e);return z>4&&(o.lineDiv.style.display="none"),w(e,o.updateLineNumbers,t.dims),z>4&&(o.lineDiv.style.display=""),o.renderedView=o.view,gs(J),de(o.cursorDiv),de(o.selectionDiv),o.gutters.style.height=o.sizer.style.minHeight=0,F&&(o.lastWrapHeight=t.wrapperHeight,o.lastWrapWidth=t.wrapperWidth,go(e,400)),o.updateLineNumbers=null,!0}function y(e,t){for(var o=t.viewport,i=!0;;i=!1){if(!i||!e.options.lineWrapping||t.oldDisplayWidth==Fa(e)){if(o&&o.top!=null&&(o={top:Math.min(e.doc.height+Dr(e.display)-$a(e),o.top)}),t.visible=Yi(e.display,e.doc,o),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break}else i&&(t.visible=Yi(e.display,e.doc,o));if(!l(e,t))break;oo(e);var s=Tr(e);ji(e),ka(e,s),j(e,s),t.force=!1}t.signal(e,"update",e),(e.display.viewFrom!=e.display.reportedViewFrom||e.display.viewTo!=e.display.reportedViewTo)&&(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function T(e,t){var o=new No(e,t);if(l(e,o)){oo(e),y(e,o);var i=Tr(e);ji(e),ka(e,i),j(e,i),o.finish()}}function w(e,t,o){var i=e.display,s=e.options.lineNumbers,p=i.lineDiv,A=p.firstChild;function F(Dt){var Zt=Dt.nextSibling;return N&&X&&e.display.currentWheelTarget==Dt?Dt.style.display="none":Dt.parentNode.removeChild(Dt),Zt}for(var z=i.view,J=i.viewFrom,Ae=0;Ae<z.length;Ae++){var Oe=z[Ae];if(!Oe.hidden)if(!Oe.node||Oe.node.parentNode!=p){var dt=Un(e,Oe,J,o);p.insertBefore(dt,A)}else{for(;A!=Oe.node;)A=F(A);var nt=s&&t!=null&&t<=J&&Oe.lineNumber;Oe.changes&&(L(Oe.changes,"gutter")>-1&&(nt=!1),jr(e,Oe,J,o)),nt&&(de(Oe.lineNumber),Oe.lineNumber.appendChild(document.createTextNode(wt(e.options,J)))),A=Oe.node.nextSibling}J+=Oe.size}for(;A;)A=F(A)}function K(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px"}function j(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Ur(e)+"px"}function se(e){var t=e.display,o=t.view;if(!(!t.alignWidgets&&(!t.gutters.firstChild||!e.options.fixedGutter))){for(var i=po(t)-t.scroller.scrollLeft+e.doc.scrollLeft,s=t.gutters.offsetWidth,p=i+"px",A=0;A<o.length;A++)if(!o[A].hidden){e.options.fixedGutter&&(o[A].gutter&&(o[A].gutter.style.left=p),o[A].gutterBackground&&(o[A].gutterBackground.style.left=p));var F=o[A].alignable;if(F)for(var z=0;z<F.length;z++)F[z].style.left=p}e.options.fixedGutter&&(t.gutters.style.left=i+s+"px")}}function ve(e){if(!e.options.lineNumbers)return!1;var t=e.doc,o=wt(e.options,t.first+t.size-1),i=e.display;if(o.length!=i.lineNumChars){var s=i.measure.appendChild(fe("div",[fe("div",o)],"CodeMirror-linenumber CodeMirror-gutter-elt")),p=s.firstChild.offsetWidth,A=s.offsetWidth-p;return i.lineGutter.style.width="",i.lineNumInnerWidth=Math.max(p,i.lineGutter.offsetWidth-A)+1,i.lineNumWidth=i.lineNumInnerWidth+A,i.lineNumChars=i.lineNumInnerWidth?o.length:-1,i.lineGutter.style.width=i.lineNumWidth+"px",K(e.display),!0}return!1}function Ye(e,t){for(var o=[],i=!1,s=0;s<e.length;s++){var p=e[s],A=null;if(typeof p!="string"&&(A=p.style,p=p.className),p=="CodeMirror-linenumbers")if(t)i=!0;else continue;o.push({className:p,style:A})}return t&&!i&&o.push({className:"CodeMirror-linenumbers",style:null}),o}function je(e){var t=e.gutters,o=e.gutterSpecs;de(t),e.lineGutter=null;for(var i=0;i<o.length;++i){var s=o[i],p=s.className,A=s.style,F=t.appendChild(fe("div",null,"CodeMirror-gutter "+p));A&&(F.style.cssText=A),p=="CodeMirror-linenumbers"&&(e.lineGutter=F,F.style.width=(e.lineNumWidth||1)+"px")}t.style.display=o.length?"":"none",K(e)}function _e(e){je(e.display),Qr(e),se(e)}function ft(e,t,o,i){var s=this;this.input=o,s.scrollbarFiller=fe("div",null,"CodeMirror-scrollbar-filler"),s.scrollbarFiller.setAttribute("cm-not-content","true"),s.gutterFiller=fe("div",null,"CodeMirror-gutter-filler"),s.gutterFiller.setAttribute("cm-not-content","true"),s.lineDiv=re("div",null,"CodeMirror-code"),s.selectionDiv=fe("div",null,null,"position: relative; z-index: 1"),s.cursorDiv=fe("div",null,"CodeMirror-cursors"),s.measure=fe("div",null,"CodeMirror-measure"),s.lineMeasure=fe("div",null,"CodeMirror-measure"),s.lineSpace=re("div",[s.measure,s.lineMeasure,s.selectionDiv,s.cursorDiv,s.lineDiv],null,"position: relative; outline: none");var p=re("div",[s.lineSpace],"CodeMirror-lines");s.mover=fe("div",[p],null,"position: relative"),s.sizer=fe("div",[s.mover],"CodeMirror-sizer"),s.sizerWidth=null,s.heightForcer=fe("div",null,null,"position: absolute; height: "+xe+"px; width: 1px;"),s.gutters=fe("div",null,"CodeMirror-gutters"),s.lineGutter=null,s.scroller=fe("div",[s.sizer,s.heightForcer,s.gutters],"CodeMirror-scroll"),s.scroller.setAttribute("tabIndex","-1"),s.wrapper=fe("div",[s.scrollbarFiller,s.gutterFiller,s.scroller],"CodeMirror"),k&&d<8&&(s.gutters.style.zIndex=-1,s.scroller.style.paddingRight=0),!N&&!(u&&te)&&(s.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(s.wrapper):e(s.wrapper)),s.viewFrom=s.viewTo=t.first,s.reportedViewFrom=s.reportedViewTo=t.first,s.view=[],s.renderedView=null,s.externalMeasured=null,s.viewOffset=0,s.lastWrapHeight=s.lastWrapWidth=0,s.updateLineNumbers=null,s.nativeBarWidth=s.barHeight=s.barWidth=0,s.scrollbarsClipped=!1,s.lineNumWidth=s.lineNumInnerWidth=s.lineNumChars=null,s.alignWidgets=!1,s.cachedCharWidth=s.cachedTextHeight=s.cachedPaddingH=null,s.maxLine=null,s.maxLineLength=0,s.maxLineChanged=!1,s.wheelDX=s.wheelDY=s.wheelStartX=s.wheelStartY=null,s.shift=!1,s.selForContextMenu=null,s.activeTouch=null,s.gutterSpecs=Ye(i.gutters,i.lineNumbers),je(s),o.init(s)}var st=0,Ue=null;k?Ue=-.53:u?Ue=15:O?Ue=-.7:ie&&(Ue=-1/3);function Hn(e){var t=e.wheelDeltaX,o=e.wheelDeltaY;return t==null&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),o==null&&e.detail&&e.axis==e.VERTICAL_AXIS?o=e.detail:o==null&&(o=e.wheelDelta),{x:t,y:o}}function xr(e){var t=Hn(e);return t.x*=Ue,t.y*=Ue,t}function $r(e,t){var o=Hn(t),i=o.x,s=o.y,p=e.display,A=p.scroller,F=A.scrollWidth>A.clientWidth,z=A.scrollHeight>A.clientHeight;if(i&&F||s&&z){if(s&&X&&N){e:for(var J=t.target,Ae=p.view;J!=A;J=J.parentNode)for(var Oe=0;Oe<Ae.length;Oe++)if(Ae[Oe].node==J){e.display.currentWheelTarget=J;break e}}if(i&&!u&&!I&&Ue!=null){s&&z&&xi(e,Math.max(0,A.scrollTop+s*Ue)),Oi(e,Math.max(0,A.scrollLeft+i*Ue)),(!s||s&&z)&&Et(t),p.wheelStartX=null;return}if(s&&Ue!=null){var dt=s*Ue,nt=e.doc.scrollTop,Dt=nt+p.wrapper.clientHeight;dt<0?nt=Math.max(0,nt+dt-50):Dt=Math.min(e.doc.height,Dt+dt+50),T(e,{top:nt,bottom:Dt})}st<20&&(p.wheelStartX==null?(p.wheelStartX=A.scrollLeft,p.wheelStartY=A.scrollTop,p.wheelDX=i,p.wheelDY=s,setTimeout(function(){if(p.wheelStartX!=null){var Zt=A.scrollLeft-p.wheelStartX,en=A.scrollTop-p.wheelStartY,pn=en&&p.wheelDY&&en/p.wheelDY||Zt&&p.wheelDX&&Zt/p.wheelDX;p.wheelStartX=p.wheelStartY=null,pn&&(Ue=(Ue*st+pn)/(st+1),++st)}},200)):(p.wheelDX+=i,p.wheelDY+=s))}}var on=function(e,t){this.ranges=e,this.primIndex=t};on.prototype.primary=function(){return this.ranges[this.primIndex]},on.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var o=this.ranges[t],i=e.ranges[t];if(!_t(o.anchor,i.anchor)||!_t(o.head,i.head))return!1}return!0},on.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new wn(Te(this.ranges[t].anchor),Te(this.ranges[t].head));return new on(e,this.primIndex)},on.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},on.prototype.contains=function(e,t){t||(t=e);for(var o=0;o<this.ranges.length;o++){var i=this.ranges[o];if(St(t,i.from())>=0&&St(e,i.to())<=0)return o}return-1};var wn=function(e,t){this.anchor=e,this.head=t};wn.prototype.from=function(){return Yt(this.anchor,this.head)},wn.prototype.to=function(){return g(this.anchor,this.head)},wn.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Bn(e,t,o){var i=e&&e.options.selectionsMayTouch,s=t[o];t.sort(function(dt,nt){return St(dt.from(),nt.from())}),o=L(t,s);for(var p=1;p<t.length;p++){var A=t[p],F=t[p-1],z=St(F.to(),A.from());if(i&&!A.empty()?z>0:z>=0){var J=Yt(F.from(),A.from()),Ae=g(F.to(),A.to()),Oe=F.empty()?A.from()==A.head:F.from()==F.head;p<=o&&--o,t.splice(--p,2,new wn(Oe?Ae:J,Oe?J:Ae))}}return new on(t,o)}function na(e,t){return new on([new wn(e,t||e)],0)}function Jr(e){return e.text?me(e.from.line+e.text.length-1,vt(e.text).length+(e.text.length==1?e.from.ch:0)):e.to}function qt(e,t){if(St(e,t.from)<0)return e;if(St(e,t.to)<=0)return Jr(t);var o=e.line+t.text.length-(t.to.line-t.from.line)-1,i=e.ch;return e.line==t.to.line&&(i+=Jr(t).ch-t.to.ch),me(o,i)}function ia(e,t){for(var o=[],i=0;i<e.sel.ranges.length;i++){var s=e.sel.ranges[i];o.push(new wn(qt(s.anchor,t),qt(s.head,t)))}return Bn(e.cm,o,e.sel.primIndex)}function wa(e,t,o){return e.line==t.line?me(o.line,e.ch-t.ch+o.ch):me(o.line+(e.line-t.line),e.ch)}function ra(e,t,o){for(var i=[],s=me(e.first,0),p=s,A=0;A<t.length;A++){var F=t[A],z=wa(F.from,s,p),J=wa(Jr(F),s,p);if(s=F.to,p=J,o=="around"){var Ae=e.sel.ranges[A],Oe=St(Ae.head,Ae.anchor)<0;i[A]=new wn(Oe?J:z,Oe?z:J)}else i[A]=new wn(z,z)}return new on(i,e.sel.primIndex)}function ga(e){e.doc.mode=Vn(e.options,e.doc.modeOption),Ya(e)}function Ya(e){e.doc.iter(function(t){t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null)}),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,go(e,100),e.state.modeGen++,e.curOp&&Qr(e)}function da(e,t){return t.from.ch==0&&t.to.ch==0&&vt(t.text)==""&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function qn(e,t,o,i){function s(xn){return o?o[xn]:null}function p(xn,hn,In){vr(xn,hn,In,i),qr(xn,"change",xn,t)}function A(xn,hn){for(var In=[],ir=xn;ir<hn;++ir)In.push(new Er(J[ir],s(ir),i));return In}var F=t.from,z=t.to,J=t.text,Ae=$t(e,F.line),Oe=$t(e,z.line),dt=vt(J),nt=s(J.length-1),Dt=z.line-F.line;if(t.full)e.insert(0,A(0,J.length)),e.remove(J.length,e.size-J.length);else if(da(e,t)){var Zt=A(0,J.length-1);p(Oe,Oe.text,nt),Dt&&e.remove(F.line,Dt),Zt.length&&e.insert(F.line,Zt)}else if(Ae==Oe)if(J.length==1)p(Ae,Ae.text.slice(0,F.ch)+dt+Ae.text.slice(z.ch),nt);else{var en=A(1,J.length-1);en.push(new Er(dt+Ae.text.slice(z.ch),nt,i)),p(Ae,Ae.text.slice(0,F.ch)+J[0],s(0)),e.insert(F.line+1,en)}else if(J.length==1)p(Ae,Ae.text.slice(0,F.ch)+J[0]+Oe.text.slice(z.ch),s(0)),e.remove(F.line+1,Dt);else{p(Ae,Ae.text.slice(0,F.ch)+J[0],s(0)),p(Oe,dt+Oe.text.slice(z.ch),nt);var pn=A(1,J.length-1);Dt>1&&e.remove(F.line+1,Dt-1),e.insert(F.line+1,pn)}qr(e,"change",e,t)}function tr(e,t,o){function i(s,p,A){if(s.linked)for(var F=0;F<s.linked.length;++F){var z=s.linked[F];if(z.doc!=p){var J=A&&z.sharedHist;o&&!J||(t(z.doc,J),i(z.doc,s,J))}}}i(e,null,!0)}function Fr(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,Lo(e),ga(e),Sa(e),e.options.lineWrapping||Sn(e),e.options.mode=t.modeOption,Qr(e)}function Sa(e){(e.doc.direction=="rtl"?ge:ee)(e.display.lineDiv,"CodeMirror-rtl")}function Da(e){ei(e,function(){Sa(e),Qr(e)})}function ti(e){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e||1}function vi(e,t){var o={from:Te(t.from),to:Jr(t),text:On(e,t.from,t.to)};return Fo(e,o,t.from.line,t.to.line+1),tr(e,function(i){return Fo(i,o,t.from.line,t.to.line+1)},!0),o}function Xe(e){for(;e.length;){var t=vt(e);if(t.ranges)e.pop();else break}}function ki(e,t){if(t)return Xe(e.done),vt(e.done);if(e.done.length&&!vt(e.done).ranges)return vt(e.done);if(e.done.length>1&&!e.done[e.done.length-2].ranges)return e.done.pop(),vt(e.done)}function zi(e,t,o,i){var s=e.history;s.undone.length=0;var p=+new Date,A,F;if((s.lastOp==i||s.lastOrigin==t.origin&&t.origin&&(t.origin.charAt(0)=="+"&&s.lastModTime>p-(e.cm?e.cm.options.historyEventDelay:500)||t.origin.charAt(0)=="*"))&&(A=ki(s,s.lastOp==i)))F=vt(A.changes),St(t.from,t.to)==0&&St(t.from,F.to)==0?F.to=Jr(t):A.changes.push(vi(e,t));else{var z=vt(s.done);for((!z||!z.ranges)&&Gi(e.sel,s.done),A={changes:[vi(e,t)],generation:s.generation},s.done.push(A);s.done.length>s.undoDepth;)s.done.shift(),s.done[0].ranges||s.done.shift()}s.done.push(o),s.generation=++s.maxGeneration,s.lastModTime=s.lastSelTime=p,s.lastOp=s.lastSelOp=i,s.lastOrigin=s.lastSelOrigin=t.origin,F||$e(e,"historyAdded")}function qe(e,t,o,i){var s=t.charAt(0);return s=="*"||s=="+"&&o.ranges.length==i.ranges.length&&o.somethingSelected()==i.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function yi(e,t,o,i){var s=e.history,p=i&&i.origin;o==s.lastSelOp||p&&s.lastSelOrigin==p&&(s.lastModTime==s.lastSelTime&&s.lastOrigin==p||qe(e,p,vt(s.done),t))?s.done[s.done.length-1]=t:Gi(t,s.done),s.lastSelTime=+new Date,s.lastSelOrigin=p,s.lastSelOp=o,i&&i.clearRedo!==!1&&Xe(s.undone)}function Gi(e,t){var o=vt(t);o&&o.ranges&&o.equals(e)||t.push(e)}function Fo(e,t,o,i){var s=t["spans_"+e.id],p=0;e.iter(Math.max(e.first,o),Math.min(e.first+e.size,i),function(A){A.markedSpans&&((s||(s=t["spans_"+e.id]={}))[p]=A.markedSpans),++p})}function Zo(e){if(!e)return null;for(var t,o=0;o<e.length;++o)e[o].marker.explicitlyCleared?t||(t=e.slice(0,o)):t&&t.push(e[o]);return t?t.length?t:null:e}function Ga(e,t){var o=t["spans_"+e.id];if(!o)return null;for(var i=[],s=0;s<t.text.length;++s)i.push(Zo(o[s]));return i}function _i(e,t){var o=Ga(e,t),i=sa(e,t);if(!o)return i;if(!i)return o;for(var s=0;s<o.length;++s){var p=o[s],A=i[s];if(p&&A)e:for(var F=0;F<A.length;++F){for(var z=A[F],J=0;J<p.length;++J)if(p[J].marker==z.marker)continue e;p.push(z)}else A&&(o[s]=A)}return o}function ni(e,t,o){for(var i=[],s=0;s<e.length;++s){var p=e[s];if(p.ranges){i.push(o?on.prototype.deepCopy.call(p):p);continue}var A=p.changes,F=[];i.push({changes:F});for(var z=0;z<A.length;++z){var J=A[z],Ae=void 0;if(F.push({from:J.from,to:J.to,text:J.text}),t)for(var Oe in J)(Ae=Oe.match(/^spans_(\d+)$/))&&L(t,Number(Ae[1]))>-1&&(vt(F)[Oe]=J[Oe],delete J[Oe])}}return i}function Xi(e,t,o,i){if(i){var s=e.anchor;if(o){var p=St(t,s)<0;p!=St(o,s)<0?(s=t,t=o):p!=St(t,o)<0&&(t=o)}return new wn(s,t)}else return new wn(o||t,t)}function Qi(e,t,o,i,s){s==null&&(s=e.cm&&(e.cm.display.shift||e.extend)),a(e,new on([Xi(e.sel.primary(),t,o,s)],0),i)}function $o(e,t,o){for(var i=[],s=e.cm&&(e.cm.display.shift||e.extend),p=0;p<e.sel.ranges.length;p++)i[p]=Xi(e.sel.ranges[p],t[p],null,s);var A=Bn(e.cm,i,e.sel.primIndex);a(e,A,o)}function mo(e,t,o,i){var s=e.sel.ranges.slice(0);s[t]=o,a(e,Bn(e.cm,s,e.sel.primIndex),i)}function qo(e,t,o,i){a(e,na(t,o),i)}function is(e,t,o){var i={ranges:t.ranges,update:function(s){this.ranges=[];for(var p=0;p<s.length;p++)this.ranges[p]=new wn(ze(e,s[p].anchor),ze(e,s[p].head))},origin:o&&o.origin};return $e(e,"beforeSelectionChange",e,i),e.cm&&$e(e.cm,"beforeSelectionChange",e.cm,i),i.ranges!=t.ranges?Bn(e.cm,i.ranges,i.ranges.length-1):t}function n(e,t,o){var i=e.history.done,s=vt(i);s&&s.ranges?(i[i.length-1]=t,S(e,t,o)):a(e,t,o)}function a(e,t,o){S(e,t,o),yi(e,e.sel,e.cm?e.cm.curOp.id:NaN,o)}function S(e,t,o){(tt(e,"beforeSelectionChange")||e.cm&&tt(e.cm,"beforeSelectionChange"))&&(t=is(e,t,o));var i=o&&o.bias||(St(t.primary().head,e.sel.primary().head)<0?-1:1);ae(e,Ct(e,t,i,!0)),!(o&&o.scroll===!1)&&e.cm&&Ri(e.cm)}function ae(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,It(e.cm)),qr(e,"cursorActivity",e))}function Ze(e){ae(e,Ct(e,e.sel,null,!1))}function Ct(e,t,o,i){for(var s,p=0;p<t.ranges.length;p++){var A=t.ranges[p],F=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[p],z=Nn(e,A.anchor,F&&F.anchor,o,i),J=Nn(e,A.head,F&&F.head,o,i);(s||z!=A.anchor||J!=A.head)&&(s||(s=t.ranges.slice(0,p)),s[p]=new wn(z,J))}return s?Bn(e.cm,s,t.primIndex):t}function zt(e,t,o,i,s){var p=$t(e,t.line);if(p.markedSpans)for(var A=0;A<p.markedSpans.length;++A){var F=p.markedSpans[A],z=F.marker,J="selectLeft"in z?!z.selectLeft:z.inclusiveLeft,Ae="selectRight"in z?!z.selectRight:z.inclusiveRight;if((F.from==null||(J?F.from<=t.ch:F.from<t.ch))&&(F.to==null||(Ae?F.to>=t.ch:F.to>t.ch))){if(s&&($e(z,"beforeCursorEnter"),z.explicitlyCleared))if(p.markedSpans){--A;continue}else break;if(!z.atomic)continue;if(o){var Oe=z.find(i<0?1:-1),dt=void 0;if((i<0?Ae:J)&&(Oe=Xn(e,Oe,-i,Oe&&Oe.line==t.line?p:null)),Oe&&Oe.line==t.line&&(dt=St(Oe,o))&&(i<0?dt<0:dt>0))return zt(e,Oe,t,i,s)}var nt=z.find(i<0?-1:1);return(i<0?J:Ae)&&(nt=Xn(e,nt,i,nt.line==t.line?p:null)),nt?zt(e,nt,t,i,s):null}}return t}function Nn(e,t,o,i,s){var p=i||1,A=zt(e,t,o,p,s)||!s&&zt(e,t,o,p,!0)||zt(e,t,o,-p,s)||!s&&zt(e,t,o,-p,!0);return A||(e.cantEdit=!0,me(e.first,0))}function Xn(e,t,o,i){return o<0&&t.ch==0?t.line>e.first?ze(e,me(t.line-1)):null:o>0&&t.ch==(i||$t(e,t.line)).text.length?t.line<e.first+e.size-1?me(t.line+1,0):null:new me(t.line,t.ch+o)}function Nt(e){e.setSelection(me(e.firstLine(),0),me(e.lastLine()),we)}function an(e,t,o){var i={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return i.canceled=!0}};return o&&(i.update=function(s,p,A,F){s&&(i.from=ze(e,s)),p&&(i.to=ze(e,p)),A&&(i.text=A),F!==void 0&&(i.origin=F)}),$e(e,"beforeChange",e,i),e.cm&&$e(e.cm,"beforeChange",e.cm,i),i.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:i.from,to:i.to,text:i.text,origin:i.origin}}function ar(e,t,o){if(e.cm){if(!e.cm.curOp)return La(e.cm,ar)(e,t,o);if(e.cm.state.suppressEdits)return}if(!((tt(e,"beforeChange")||e.cm&&tt(e.cm,"beforeChange"))&&(t=an(e,t,!0),!t))){var i=Br&&!o&&at(e,t.from,t.to);if(i)for(var s=i.length-1;s>=0;--s)Yr(e,{from:i[s].from,to:i[s].to,text:s?[""]:t.text,origin:t.origin});else Yr(e,t)}}function Yr(e,t){if(!(t.text.length==1&&t.text[0]==""&&St(t.from,t.to)==0)){var o=ia(e,t);zi(e,t,o,e.cm?e.cm.curOp.id:NaN),qi(e,t,o,sa(e,t));var i=[];tr(e,function(s,p){!p&&L(i,s.history)==-1&&(Bo(s.history,t),i.push(s.history)),qi(s,t,null,sa(s,t))})}}function oa(e,t,o){var i=e.cm&&e.cm.state.suppressEdits;if(!(i&&!o)){for(var s=e.history,p,A=e.sel,F=t=="undo"?s.done:s.undone,z=t=="undo"?s.undone:s.done,J=0;J<F.length&&(p=F[J],!(o?p.ranges&&!p.equals(e.sel):!p.ranges));J++);if(J!=F.length){for(s.lastOrigin=s.lastSelOrigin=null;;)if(p=F.pop(),p.ranges){if(Gi(p,z),o&&!p.equals(e.sel)){a(e,p,{clearRedo:!1});return}A=p}else if(i){F.push(p);return}else break;var Ae=[];Gi(A,z),z.push({changes:Ae,generation:s.generation}),s.generation=p.generation||++s.maxGeneration;for(var Oe=tt(e,"beforeChange")||e.cm&&tt(e.cm,"beforeChange"),dt=function(Zt){var en=p.changes[Zt];if(en.origin=t,Oe&&!an(e,en,!1))return F.length=0,{};Ae.push(vi(e,en));var pn=Zt?ia(e,en):vt(F);qi(e,en,pn,_i(e,en)),!Zt&&e.cm&&e.cm.scrollIntoView({from:en.from,to:Jr(en)});var xn=[];tr(e,function(hn,In){!In&&L(xn,hn.history)==-1&&(Bo(hn.history,en),xn.push(hn.history)),qi(hn,en,null,_i(hn,en))})},nt=p.changes.length-1;nt>=0;--nt){var Dt=dt(nt);if(Dt)return Dt.v}}}}function Wi(e,t){if(t!=0&&(e.first+=t,e.sel=new on(Mt(e.sel.ranges,function(s){return new wn(me(s.anchor.line+t,s.anchor.ch),me(s.head.line+t,s.head.ch))}),e.sel.primIndex),e.cm)){Qr(e.cm,e.first,e.first-t,t);for(var o=e.cm.display,i=o.viewFrom;i<o.viewTo;i++)bi(e.cm,i,"gutter")}}function qi(e,t,o,i){if(e.cm&&!e.cm.curOp)return La(e.cm,qi)(e,t,o,i);if(t.to.line<e.first){Wi(e,t.text.length-1-(t.to.line-t.from.line));return}if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var s=t.text.length-1-(e.first-t.from.line);Wi(e,s),t={from:me(e.first,0),to:me(t.to.line+s,t.to.ch),text:[vt(t.text)],origin:t.origin}}var p=e.lastLine();t.to.line>p&&(t={from:t.from,to:me(p,$t(e,p).text.length),text:[t.text[0]],origin:t.origin}),t.removed=On(e,t.from,t.to),o||(o=ia(e,t)),e.cm?bo(e.cm,t,i):qn(e,t,i),S(e,o,we),e.cantEdit&&Nn(e,me(e.firstLine(),0))&&(e.cantEdit=!1)}}function bo(e,t,o){var i=e.doc,s=e.display,p=t.from,A=t.to,F=!1,z=p.line;e.options.lineWrapping||(z=De(ht($t(i,p.line))),i.iter(z,A.line+1,function(nt){if(nt==s.maxLine)return F=!0,!0})),i.sel.contains(t.from,t.to)>-1&&It(e),qn(i,t,o,Ro(e)),e.options.lineWrapping||(i.iter(z,p.line+t.text.length,function(nt){var Dt=jn(nt);Dt>s.maxLineLength&&(s.maxLine=nt,s.maxLineLength=Dt,s.maxLineChanged=!0,F=!1)}),F&&(e.curOp.updateMaxLine=!0)),zr(i,p.line),go(e,400);var J=t.text.length-(A.line-p.line)-1;t.full?Qr(e):p.line==A.line&&t.text.length==1&&!da(e.doc,t)?bi(e,p.line,"text"):Qr(e,p.line,A.line+1,J);var Ae=tt(e,"changes"),Oe=tt(e,"change");if(Oe||Ae){var dt={from:p,to:A,text:t.text,removed:t.removed,origin:t.origin};Oe&&qr(e,"change",e,dt),Ae&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(dt)}e.display.selForContextMenu=null}function uo(e,t,o,i,s){var p;i||(i=o),St(i,o)<0&&(p=[i,o],o=p[0],i=p[1]),typeof t=="string"&&(t=e.splitLines(t)),ar(e,{from:o,to:i,text:t,origin:s})}function Vo(e,t,o,i){o<e.line?e.line+=i:t<e.line&&(e.line=t,e.ch=0)}function wi(e,t,o,i){for(var s=0;s<e.length;++s){var p=e[s],A=!0;if(p.ranges){p.copied||(p=e[s]=p.deepCopy(),p.copied=!0);for(var F=0;F<p.ranges.length;F++)Vo(p.ranges[F].anchor,t,o,i),Vo(p.ranges[F].head,t,o,i);continue}for(var z=0;z<p.changes.length;++z){var J=p.changes[z];if(o<J.from.line)J.from=me(J.from.line+i,J.from.ch),J.to=me(J.to.line+i,J.to.ch);else if(t<=J.to.line){A=!1;break}}A||(e.splice(0,s+1),s=0)}}function Bo(e,t){var o=t.from.line,i=t.to.line,s=t.text.length-(i-o)-1;wi(e.done,o,i,s),wi(e.undone,o,i,s)}function Di(e,t,o,i){var s=t,p=t;return typeof t=="number"?p=$t(e,Jt(e,t)):s=De(t),s==null?null:(i(p,s)&&e.cm&&bi(e.cm,s,o),p)}function ms(e){this.lines=e,this.parent=null;for(var t=0,o=0;o<e.length;++o)e[o].parent=this,t+=e[o].height;this.height=t}ms.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var o=e,i=e+t;o<i;++o){var s=this.lines[o];this.height-=s.height,br(s),qr(s,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,o){this.height+=o,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var i=0;i<t.length;++i)t[i].parent=this},iterN:function(e,t,o){for(var i=e+t;e<i;++e)if(o(this.lines[e]))return!0}};function bs(e){this.children=e;for(var t=0,o=0,i=0;i<e.length;++i){var s=e[i];t+=s.chunkSize(),o+=s.height,s.parent=this}this.size=t,this.height=o,this.parent=null}bs.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var o=0;o<this.children.length;++o){var i=this.children[o],s=i.chunkSize();if(e<s){var p=Math.min(t,s-e),A=i.height;if(i.removeInner(e,p),this.height-=A-i.height,s==p&&(this.children.splice(o--,1),i.parent=null),(t-=p)==0)break;e=0}else e-=s}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof ms))){var F=[];this.collapse(F),this.children=[new ms(F)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,o){this.size+=t.length,this.height+=o;for(var i=0;i<this.children.length;++i){var s=this.children[i],p=s.chunkSize();if(e<=p){if(s.insertInner(e,t,o),s.lines&&s.lines.length>50){for(var A=s.lines.length%25+25,F=A;F<s.lines.length;){var z=new ms(s.lines.slice(F,F+=25));s.height-=z.height,this.children.splice(++i,0,z),z.parent=this}s.lines=s.lines.slice(0,A),this.maybeSpill()}break}e-=p}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=e.children.splice(e.children.length-5,5),o=new bs(t);if(e.parent){e.size-=o.size,e.height-=o.height;var s=L(e.parent.children,e);e.parent.children.splice(s+1,0,o)}else{var i=new bs(e.children);i.parent=e,e.children=[i,o],e=i}o.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,o){for(var i=0;i<this.children.length;++i){var s=this.children[i],p=s.chunkSize();if(e<p){var A=Math.min(t,p-e);if(s.iterN(e,A,o))return!0;if((t-=A)==0)break;e=0}else e-=p}}};var vs=function(e,t,o){if(o)for(var i in o)o.hasOwnProperty(i)&&(this[i]=o[i]);this.doc=e,this.node=t};vs.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,o=this.line,i=De(o);if(!(i==null||!t)){for(var s=0;s<t.length;++s)t[s]==this&&t.splice(s--,1);t.length||(o.widgets=null);var p=la(this);Mr(o,Math.max(0,o.height-p)),e&&(ei(e,function(){Ys(e,o,-p),bi(e,i,"widget")}),qr(e,"lineWidgetCleared",e,this,i))}},vs.prototype.changed=function(){var e=this,t=this.height,o=this.doc.cm,i=this.line;this.height=null;var s=la(this)-t;s&&(En(this.doc,i)||Mr(i,i.height+s),o&&ei(o,function(){o.curOp.forceUpdate=!0,Ys(o,i,s),qr(o,"lineWidgetChanged",o,e,De(i))}))},Q(vs);function Ys(e,t,o){vn(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&wo(e,o)}function Il(e,t,o,i){var s=new vs(e,o,i),p=e.cm;return p&&s.noHScroll&&(p.display.alignWidgets=!0),Di(e,t,"widget",function(A){var F=A.widgets||(A.widgets=[]);if(s.insertAt==null?F.push(s):F.splice(Math.min(F.length-1,Math.max(0,s.insertAt)),0,s),s.line=A,p&&!En(e,A)){var z=vn(A)<e.scrollTop;Mr(A,A.height+la(s)),z&&wo(p,s.height),p.curOp.forceUpdate=!0}return!0}),p&&qr(p,"lineWidgetAdded",p,s,typeof t=="number"?t:De(t)),s}var Xs=0,Ko=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++Xs};Ko.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Ja(e),tt(this,"clear")){var o=this.find();o&&qr(this,"clear",o.from,o.to)}for(var i=null,s=null,p=0;p<this.lines.length;++p){var A=this.lines[p],F=Rn(A.markedSpans,this);e&&!this.collapsed?bi(e,De(A),"text"):e&&(F.to!=null&&(s=De(A)),F.from!=null&&(i=De(A))),A.markedSpans=Pn(A.markedSpans,F),F.from==null&&this.collapsed&&!En(this.doc,A)&&e&&Mr(A,xa(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var z=0;z<this.lines.length;++z){var J=ht(this.lines[z]),Ae=jn(J);Ae>e.display.maxLineLength&&(e.display.maxLine=J,e.display.maxLineLength=Ae,e.display.maxLineChanged=!0)}i!=null&&e&&this.collapsed&&Qr(e,i,s+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Ze(e.doc)),e&&qr(e,"markerCleared",e,this,i,s),t&&Ai(e),this.parent&&this.parent.clear()}},Ko.prototype.find=function(e,t){e==null&&this.type=="bookmark"&&(e=1);for(var o,i,s=0;s<this.lines.length;++s){var p=this.lines[s],A=Rn(p.markedSpans,this);if(A.from!=null&&(o=me(t?p:De(p),A.from),e==-1))return o;if(A.to!=null&&(i=me(t?p:De(p),A.to),e==1))return i}return o&&{from:o,to:i}},Ko.prototype.changed=function(){var e=this,t=this.find(-1,!0),o=this,i=this.doc.cm;!t||!i||ei(i,function(){var s=t.line,p=De(t.line),A=Va(i,p);if(A&&(fo(A),i.curOp.selectionChanged=i.curOp.forceUpdate=!0),i.curOp.updateMaxLine=!0,!En(o.doc,s)&&o.height!=null){var F=o.height;o.height=null;var z=la(o)-F;z&&Mr(s,s.height+z)}qr(i,"markerChanged",i,e)})},Ko.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(!t.maybeHiddenMarkers||L(t.maybeHiddenMarkers,this)==-1)&&(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},Ko.prototype.detachLine=function(e){if(this.lines.splice(L(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},Q(Ko);function os(e,t,o,i,s){if(i&&i.shared)return Rl(e,t,o,i,s);if(e.cm&&!e.cm.curOp)return La(e.cm,os)(e,t,o,i,s);var p=new Ko(e,s),A=St(t,o);if(i&&Be(i,p,!1),A>0||A==0&&p.clearWhenEmpty!==!1)return p;if(p.replacedWith&&(p.collapsed=!0,p.widgetNode=re("span",[p.replacedWith],"CodeMirror-widget"),i.handleMouseEvents||p.widgetNode.setAttribute("cm-ignore-events","true"),i.insertLeft&&(p.widgetNode.insertLeft=!0)),p.collapsed){if(gt(e,t.line,t,o,p)||t.line!=o.line&&gt(e,o.line,t,o,p))throw new Error("Inserting collapsed marker partially overlapping an existing one");Wr()}p.addToHistory&&zi(e,{from:t,to:o,origin:"markText"},e.sel,NaN);var F=t.line,z=e.cm,J;if(e.iter(F,o.line+1,function(Oe){z&&p.collapsed&&!z.options.lineWrapping&&ht(Oe)==z.display.maxLine&&(J=!0),p.collapsed&&F!=t.line&&Mr(Oe,0),or(Oe,new un(p,F==t.line?t.ch:null,F==o.line?o.ch:null)),++F}),p.collapsed&&e.iter(t.line,o.line+1,function(Oe){En(e,Oe)&&Mr(Oe,0)}),p.clearOnEnter&&pe(p,"beforeCursorEnter",function(){return p.clear()}),p.readOnly&&(Gr(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),p.collapsed&&(p.id=++Xs,p.atomic=!0),z){if(J&&(z.curOp.updateMaxLine=!0),p.collapsed)Qr(z,t.line,o.line+1);else if(p.className||p.startStyle||p.endStyle||p.css||p.attributes||p.title)for(var Ae=t.line;Ae<=o.line;Ae++)bi(z,Ae,"text");p.atomic&&Ze(z.doc),qr(z,"markerAdded",z,p)}return p}var ys=function(e,t){this.markers=e,this.primary=t;for(var o=0;o<e.length;++o)e[o].parent=this};ys.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();qr(this,"clear")}},ys.prototype.find=function(e,t){return this.primary.find(e,t)},Q(ys);function Rl(e,t,o,i,s){i=Be(i),i.shared=!1;var p=[os(e,t,o,i,s)],A=p[0],F=i.widgetNode;return tr(e,function(z){F&&(i.widgetNode=F.cloneNode(!0)),p.push(os(z,ze(z,t),ze(z,o),i,s));for(var J=0;J<z.linked.length;++J)if(z.linked[J].isParent)return;A=vt(p)}),new ys(p,A)}function Qs(e){return e.findMarks(me(e.first,0),e.clipPos(me(e.lastLine())),function(t){return t.parent})}function Ll(e,t){for(var o=0;o<t.length;o++){var i=t[o],s=i.find(),p=e.clipPos(s.from),A=e.clipPos(s.to);if(St(p,A)){var F=os(e,p,A,i.primary,i.primary.type);i.markers.push(F),F.parent=i}}}function Ol(e){for(var t=function(i){var s=e[i],p=[s.primary.doc];tr(s.primary.doc,function(z){return p.push(z)});for(var A=0;A<s.markers.length;A++){var F=s.markers[A];L(p,F.doc)==-1&&(F.parent=null,s.markers.splice(A--,1))}},o=0;o<e.length;o++)t(o)}var _l=0,Mi=function(e,t,o,i,s){if(!(this instanceof Mi))return new Mi(e,t,o,i,s);o==null&&(o=0),bs.call(this,[new ms([new Er("",null)])]),this.first=o,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=o;var p=me(o,0);this.sel=na(p),this.history=new ti(null),this.id=++_l,this.modeOption=t,this.lineSep=i,this.direction=s=="rtl"?"rtl":"ltr",this.extend=!1,typeof e=="string"&&(e=this.splitLines(e)),qn(this,{from:p,to:p,text:e}),a(this,na(p),we)};Mi.prototype=h(bs.prototype,{constructor:Mi,iter:function(e,t,o){o?this.iterN(e-this.first,t-e,o):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var o=0,i=0;i<t.length;++i)o+=t[i].height;this.insertInner(e-this.first,t,o)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=Or(this,this.first,this.first+this.size);return e===!1?t:t.join(e||this.lineSeparator())},setValue:Oa(function(e){var t=me(this.first,0),o=this.first+this.size-1;ar(this,{from:t,to:me(o,$t(this,o).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&Ci(this.cm,0,0),a(this,na(t),we)}),replaceRange:function(e,t,o,i){t=ze(this,t),o=o?ze(this,o):t,uo(this,e,t,o,i)},getRange:function(e,t,o){var i=On(this,ze(this,e),ze(this,t));return o===!1?i:i.join(o||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(Pt(this,e))return $t(this,e)},getLineNumber:function(e){return De(e)},getLineHandleVisualStart:function(e){return typeof e=="number"&&(e=$t(this,e)),ht(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return ze(this,e)},getCursor:function(e){var t=this.sel.primary(),o;return e==null||e=="head"?o=t.head:e=="anchor"?o=t.anchor:e=="end"||e=="to"||e===!1?o=t.to():o=t.from(),o},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Oa(function(e,t,o){qo(this,ze(this,typeof e=="number"?me(e,t||0):e),null,o)}),setSelection:Oa(function(e,t,o){qo(this,ze(this,e),ze(this,t||e),o)}),extendSelection:Oa(function(e,t,o){Qi(this,ze(this,e),t&&ze(this,t),o)}),extendSelections:Oa(function(e,t){$o(this,jt(this,e),t)}),extendSelectionsBy:Oa(function(e,t){var o=Mt(this.sel.ranges,e);$o(this,jt(this,o),t)}),setSelections:Oa(function(e,t,o){if(e.length){for(var i=[],s=0;s<e.length;s++)i[s]=new wn(ze(this,e[s].anchor),ze(this,e[s].head));t==null&&(t=Math.min(e.length-1,this.sel.primIndex)),a(this,Bn(this.cm,i,t),o)}}),addSelection:Oa(function(e,t,o){var i=this.sel.ranges.slice(0);i.push(new wn(ze(this,e),ze(this,t||e))),a(this,Bn(this.cm,i,i.length-1),o)}),getSelection:function(e){for(var t=this.sel.ranges,o,i=0;i<t.length;i++){var s=On(this,t[i].from(),t[i].to());o=o?o.concat(s):s}return e===!1?o:o.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],o=this.sel.ranges,i=0;i<o.length;i++){var s=On(this,o[i].from(),o[i].to());e!==!1&&(s=s.join(e||this.lineSeparator())),t[i]=s}return t},replaceSelection:function(e,t,o){for(var i=[],s=0;s<this.sel.ranges.length;s++)i[s]=e;this.replaceSelections(i,t,o||"+input")},replaceSelections:Oa(function(e,t,o){for(var i=[],s=this.sel,p=0;p<s.ranges.length;p++){var A=s.ranges[p];i[p]={from:A.from(),to:A.to(),text:this.splitLines(e[p]),origin:o}}for(var F=t&&t!="end"&&ra(this,i,t),z=i.length-1;z>=0;z--)ar(this,i[z]);F?n(this,F):this.cm&&Ri(this.cm)}),undo:Oa(function(){oa(this,"undo")}),redo:Oa(function(){oa(this,"redo")}),undoSelection:Oa(function(){oa(this,"undo",!0)}),redoSelection:Oa(function(){oa(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,o=0,i=0;i<e.done.length;i++)e.done[i].ranges||++t;for(var s=0;s<e.undone.length;s++)e.undone[s].ranges||++o;return{undo:t,redo:o}},clearHistory:function(){var e=this;this.history=new ti(this.history.maxGeneration),tr(this,function(t){return t.history=e.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:ni(this.history.done),undone:ni(this.history.undone)}},setHistory:function(e){var t=this.history=new ti(this.history.maxGeneration);t.done=ni(e.done.slice(0),null,!0),t.undone=ni(e.undone.slice(0),null,!0)},setGutterMarker:Oa(function(e,t,o){return Di(this,e,"gutter",function(i){var s=i.gutterMarkers||(i.gutterMarkers={});return s[t]=o,!o&&v(s)&&(i.gutterMarkers=null),!0})}),clearGutter:Oa(function(e){var t=this;this.iter(function(o){o.gutterMarkers&&o.gutterMarkers[e]&&Di(t,o,"gutter",function(){return o.gutterMarkers[e]=null,v(o.gutterMarkers)&&(o.gutterMarkers=null),!0})})}),lineInfo:function(e){var t;if(typeof e=="number"){if(!Pt(this,e)||(t=e,e=$t(this,e),!e))return null}else if(t=De(e),t==null)return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:Oa(function(e,t,o){return Di(this,e,t=="gutter"?"gutter":"class",function(i){var s=t=="text"?"textClass":t=="background"?"bgClass":t=="gutter"?"gutterClass":"wrapClass";if(!i[s])i[s]=o;else{if(_(o).test(i[s]))return!1;i[s]+=" "+o}return!0})}),removeLineClass:Oa(function(e,t,o){return Di(this,e,t=="gutter"?"gutter":"class",function(i){var s=t=="text"?"textClass":t=="background"?"bgClass":t=="gutter"?"gutterClass":"wrapClass",p=i[s];if(p)if(o==null)i[s]=null;else{var A=p.match(_(o));if(!A)return!1;var F=A.index+A[0].length;i[s]=p.slice(0,A.index)+(!A.index||F==p.length?"":" ")+p.slice(F)||null}else return!1;return!0})}),addLineWidget:Oa(function(e,t,o){return Il(this,e,t,o)}),removeLineWidget:function(e){e.clear()},markText:function(e,t,o){return os(this,ze(this,e),ze(this,t),o,o&&o.type||"range")},setBookmark:function(e,t){var o={replacedWith:t&&(t.nodeType==null?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return e=ze(this,e),os(this,e,e,o,"bookmark")},findMarksAt:function(e){e=ze(this,e);var t=[],o=$t(this,e.line).markedSpans;if(o)for(var i=0;i<o.length;++i){var s=o[i];(s.from==null||s.from<=e.ch)&&(s.to==null||s.to>=e.ch)&&t.push(s.marker.parent||s.marker)}return t},findMarks:function(e,t,o){e=ze(this,e),t=ze(this,t);var i=[],s=e.line;return this.iter(e.line,t.line+1,function(p){var A=p.markedSpans;if(A)for(var F=0;F<A.length;F++){var z=A[F];!(z.to!=null&&s==e.line&&e.ch>=z.to||z.from==null&&s!=e.line||z.from!=null&&s==t.line&&z.from>=t.ch)&&(!o||o(z.marker))&&i.push(z.marker.parent||z.marker)}++s}),i},getAllMarks:function(){var e=[];return this.iter(function(t){var o=t.markedSpans;if(o)for(var i=0;i<o.length;++i)o[i].from!=null&&e.push(o[i].marker)}),e},posFromIndex:function(e){var t,o=this.first,i=this.lineSeparator().length;return this.iter(function(s){var p=s.text.length+i;if(p>e)return t=e,!0;e-=p,++o}),ze(this,me(o,t))},indexFromPos:function(e){e=ze(this,e);var t=e.ch;if(e.line<this.first||e.ch<0)return 0;var o=this.lineSeparator().length;return this.iter(this.first,e.line,function(i){t+=i.text.length+o}),t},copy:function(e){var t=new Mi(Or(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,o=this.first+this.size;e.from!=null&&e.from>t&&(t=e.from),e.to!=null&&e.to<o&&(o=e.to);var i=new Mi(Or(this,t,o),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(i.history=this.history),(this.linked||(this.linked=[])).push({doc:i,sharedHist:e.sharedHist}),i.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],Ll(i,Qs(this)),i},unlinkDoc:function(e){if(e instanceof Na&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t){var o=this.linked[t];if(o.doc==e){this.linked.splice(t,1),e.unlinkDoc(this),Ol(Qs(this));break}}if(e.history==this.history){var i=[e.id];tr(e,function(s){return i.push(s.id)},!0),e.history=new ti(null),e.history.done=ni(this.history.done,i),e.history.undone=ni(this.history.undone,i)}},iterLinkedDocs:function(e){tr(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):gn(e)},lineSeparator:function(){return this.lineSep||`
`},setDirection:Oa(function(e){e!="rtl"&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter(function(t){return t.order=null}),this.cm&&Da(this.cm))})}),Mi.prototype.eachLine=Mi.prototype.iter;var qs=0;function Dl(e){var t=this;if(Js(t),!(et(t,e)||ua(t.display,e))){Et(e),k&&(qs=+new Date);var o=mi(t,e,!0),i=e.dataTransfer.files;if(!(!o||t.isReadOnly()))if(i&&i.length&&window.FileReader&&window.File)for(var s=i.length,p=Array(s),A=0,F=function(){++A==s&&La(t,function(){o=ze(t.doc,o);var nt={from:o,to:o,text:t.doc.splitLines(p.filter(function(Dt){return Dt!=null}).join(t.doc.lineSeparator())),origin:"paste"};ar(t.doc,nt),n(t.doc,na(ze(t.doc,o),ze(t.doc,Jr(nt))))})()},z=function(nt,Dt){if(t.options.allowDropFileTypes&&L(t.options.allowDropFileTypes,nt.type)==-1){F();return}var Zt=new FileReader;Zt.onerror=function(){return F()},Zt.onload=function(){var en=Zt.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(en)){F();return}p[Dt]=en,F()},Zt.readAsText(nt)},J=0;J<i.length;J++)z(i[J],J);else{if(t.state.draggingText&&t.doc.sel.contains(o)>-1){t.state.draggingText(e),setTimeout(function(){return t.display.input.focus()},20);return}try{var Ae=e.dataTransfer.getData("Text");if(Ae){var Oe;if(t.state.draggingText&&!t.state.draggingText.copy&&(Oe=t.listSelections()),S(t.doc,na(o,o)),Oe)for(var dt=0;dt<Oe.length;++dt)uo(t.doc,"",Oe[dt].anchor,Oe[dt].head,"drag");t.replaceSelection(Ae,"around","paste"),t.display.input.focus()}}catch(nt){}}}}function Ml(e,t){if(k&&(!e.state.draggingText||+new Date-qs<100)){Gt(t);return}if(!(et(e,t)||ua(e.display,t))&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!ie)){var o=fe("img",null,null,"position: fixed; left: 0; top: 0;");o.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",I&&(o.width=o.height=1,e.display.wrapper.appendChild(o),o._top=o.offsetTop),t.dataTransfer.setDragImage(o,0,0),I&&o.parentNode.removeChild(o)}}function Pl(e,t){var o=mi(e,t);if(o){var i=document.createDocumentFragment();_o(e,o,i),e.display.dragCursor||(e.display.dragCursor=fe("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),Z(e.display.dragCursor,i)}}function Js(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function el(e){if(document.getElementsByClassName){for(var t=document.getElementsByClassName("CodeMirror"),o=[],i=0;i<t.length;i++){var s=t[i].CodeMirror;s&&o.push(s)}o.length&&o[0].operation(function(){for(var p=0;p<o.length;p++)e(o[p])})}}var tl=!1;function Fl(){tl||(Bl(),tl=!0)}function Bl(){var e;pe(window,"resize",function(){e==null&&(e=setTimeout(function(){e=null,el(Ul)},100))}),pe(window,"blur",function(){return el(io)})}function Ul(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var jo={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Es=0;Es<10;Es++)jo[Es+48]=jo[Es+96]=String(Es);for(var Ns=65;Ns<=90;Ns++)jo[Ns]=String.fromCharCode(Ns);for(var Ss=1;Ss<=12;Ss++)jo[Ss+111]=jo[Ss+63235]="F"+Ss;var Uo={};Uo.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Uo.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Uo.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Uo.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Uo.default=X?Uo.macDefault:Uo.pcDefault;function Hl(e){var t=e.split(/-(?!$)/);e=t[t.length-1];for(var o,i,s,p,A=0;A<t.length-1;A++){var F=t[A];if(/^(cmd|meta|m)$/i.test(F))p=!0;else if(/^a(lt)?$/i.test(F))o=!0;else if(/^(c|ctrl|control)$/i.test(F))i=!0;else if(/^s(hift)?$/i.test(F))s=!0;else throw new Error("Unrecognized modifier name: "+F)}return o&&(e="Alt-"+e),i&&(e="Ctrl-"+e),p&&(e="Cmd-"+e),s&&(e="Shift-"+e),e}function zl(e){var t={};for(var o in e)if(e.hasOwnProperty(o)){var i=e[o];if(/^(name|fallthrough|(de|at)tach)$/.test(o))continue;if(i=="..."){delete e[o];continue}for(var s=Mt(o.split(" "),Hl),p=0;p<s.length;p++){var A=void 0,F=void 0;p==s.length-1?(F=s.join(" "),A=i):(F=s.slice(0,p+1).join(" "),A="...");var z=t[F];if(!z)t[F]=A;else if(z!=A)throw new Error("Inconsistent bindings for "+F)}delete e[o]}for(var J in t)e[J]=t[J];return e}function ss(e,t,o,i){t=Is(t);var s=t.call?t.call(e,i):t[e];if(s===!1)return"nothing";if(s==="...")return"multi";if(s!=null&&o(s))return"handled";if(t.fallthrough){if(Object.prototype.toString.call(t.fallthrough)!="[object Array]")return ss(e,t.fallthrough,o,i);for(var p=0;p<t.fallthrough.length;p++){var A=ss(e,t.fallthrough[p],o,i);if(A)return A}}}function nl(e){var t=typeof e=="string"?e:jo[e.keyCode];return t=="Ctrl"||t=="Alt"||t=="Shift"||t=="Mod"}function rl(e,t,o){var i=e;return t.altKey&&i!="Alt"&&(e="Alt-"+e),(P?t.metaKey:t.ctrlKey)&&i!="Ctrl"&&(e="Ctrl-"+e),(P?t.ctrlKey:t.metaKey)&&i!="Mod"&&(e="Cmd-"+e),!o&&t.shiftKey&&i!="Shift"&&(e="Shift-"+e),e}function al(e,t){if(I&&e.keyCode==34&&e.char)return!1;var o=jo[e.keyCode];return o==null||e.altGraphKey?!1:(e.keyCode==3&&e.code&&(o=e.code),rl(o,e,t))}function Is(e){return typeof e=="string"?Uo[e]:e}function ls(e,t){for(var o=e.doc.sel.ranges,i=[],s=0;s<o.length;s++){for(var p=t(o[s]);i.length&&St(p.from,vt(i).to)<=0;){var A=i.pop();if(St(A.from,p.from)<0){p.from=A.from;break}}i.push(p)}ei(e,function(){for(var F=i.length-1;F>=0;F--)uo(e.doc,"",i[F].from,i[F].to,"+delete");Ri(e)})}function Ps(e,t,o){var i=ot(e.text,t+o,o);return i<0||i>e.text.length?null:i}function Fs(e,t,o){var i=Ps(e,t.ch,o);return i==null?null:new me(t.line,i,o<0?"after":"before")}function Bs(e,t,o,i,s){if(e){t.doc.direction=="rtl"&&(s=-s);var p=ct(o,t.doc.direction);if(p){var A=s<0?vt(p):p[0],F=s<0==(A.level==1),z=F?"after":"before",J;if(A.level>0||t.doc.direction=="rtl"){var Ae=ii(t,o);J=s<0?o.text.length-1:0;var Oe=Ka(t,Ae,J).top;J=lt(function(dt){return Ka(t,Ae,dt).top==Oe},s<0==(A.level==1)?A.from:A.to-1,J),z=="before"&&(J=Ps(o,J,1))}else J=s<0?A.to:A.from;return new me(i,J,z)}}return new me(i,s<0?o.text.length:0,s<0?"before":"after")}function Gl(e,t,o,i){var s=ct(t,e.doc.direction);if(!s)return Fs(t,o,i);o.ch>=t.text.length?(o.ch=t.text.length,o.sticky="before"):o.ch<=0&&(o.ch=0,o.sticky="after");var p=Pe(s,o.ch,o.sticky),A=s[p];if(e.doc.direction=="ltr"&&A.level%2==0&&(i>0?A.to>o.ch:A.from<o.ch))return Fs(t,o,i);var F=function(pn,xn){return Ps(t,pn instanceof me?pn.ch:pn,xn)},z,J=function(pn){return e.options.lineWrapping?(z=z||ii(e,t),va(e,t,z,pn)):{begin:0,end:t.text.length}},Ae=J(o.sticky=="before"?F(o,-1):o.ch);if(e.doc.direction=="rtl"||A.level==1){var Oe=A.level==1==i<0,dt=F(o,Oe?1:-1);if(dt!=null&&(Oe?dt<=A.to&&dt<=Ae.end:dt>=A.from&&dt>=Ae.begin)){var nt=Oe?"before":"after";return new me(o.line,dt,nt)}}var Dt=function(pn,xn,hn){for(var In=function(ya,ri){return ri?new me(o.line,F(ya,1),"before"):new me(o.line,ya,"after")};pn>=0&&pn<s.length;pn+=xn){var ir=s[pn],Yn=xn>0==(ir.level!=1),Hr=Yn?hn.begin:F(hn.end,-1);if(ir.from<=Hr&&Hr<ir.to||(Hr=Yn?ir.from:F(ir.to,-1),hn.begin<=Hr&&Hr<hn.end))return In(Hr,Yn)}},Zt=Dt(p+i,i,Ae);if(Zt)return Zt;var en=i>0?Ae.end:F(Ae.begin,-1);return en!=null&&!(i>0&&en==t.text.length)&&(Zt=Dt(i>0?0:s.length-1,i,J(en)),Zt)?Zt:null}var Ts={selectAll:Nt,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),we)},killLine:function(e){return ls(e,function(t){if(t.empty()){var o=$t(e.doc,t.head.line).text.length;return t.head.ch==o&&t.head.line<e.lastLine()?{from:t.head,to:me(t.head.line+1,0)}:{from:t.head,to:me(t.head.line,o)}}else return{from:t.from(),to:t.to()}})},deleteLine:function(e){return ls(e,function(t){return{from:me(t.from().line,0),to:ze(e.doc,me(t.to().line+1,0))}})},delLineLeft:function(e){return ls(e,function(t){return{from:me(t.from().line,0),to:t.from()}})},delWrappedLineLeft:function(e){return ls(e,function(t){var o=e.charCoords(t.head,"div").top+5,i=e.coordsChar({left:0,top:o},"div");return{from:i,to:t.from()}})},delWrappedLineRight:function(e){return ls(e,function(t){var o=e.charCoords(t.head,"div").top+5,i=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:o},"div");return{from:t.from(),to:i}})},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(me(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(me(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy(function(t){return il(e,t.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy(function(t){return ol(e,t.head)},{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy(function(t){return Wl(e,t.head.line)},{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy(function(t){var o=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:o},"div")},ut)},goLineLeft:function(e){return e.extendSelectionsBy(function(t){var o=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:o},"div")},ut)},goLineLeftSmart:function(e){return e.extendSelectionsBy(function(t){var o=e.cursorCoords(t.head,"div").top+5,i=e.coordsChar({left:0,top:o},"div");return i.ch<e.getLine(i.line).search(/\S/)?ol(e,t.head):i},ut)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"codepoint")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection(" ")},insertSoftTab:function(e){for(var t=[],o=e.listSelections(),i=e.options.tabSize,s=0;s<o.length;s++){var p=o[s].from(),A=oe(e.getLine(p.line),p.ch,i);t.push(bt(i-A%i))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return ei(e,function(){for(var t=e.listSelections(),o=[],i=0;i<t.length;i++)if(t[i].empty()){var s=t[i].head,p=$t(e.doc,s.line).text;if(p){if(s.ch==p.length&&(s=new me(s.line,s.ch-1)),s.ch>0)s=new me(s.line,s.ch+1),e.replaceRange(p.charAt(s.ch-1)+p.charAt(s.ch-2),me(s.line,s.ch-2),s,"+transpose");else if(s.line>e.doc.first){var A=$t(e.doc,s.line-1).text;A&&(s=new me(s.line,1),e.replaceRange(p.charAt(0)+e.doc.lineSeparator()+A.charAt(A.length-1),me(s.line-1,A.length-1),s,"+transpose"))}}o.push(new wn(s,s))}e.setSelections(o)})},newlineAndIndent:function(e){return ei(e,function(){for(var t=e.listSelections(),o=t.length-1;o>=0;o--)e.replaceRange(e.doc.lineSeparator(),t[o].anchor,t[o].head,"+input");t=e.listSelections();for(var i=0;i<t.length;i++)e.indentLine(t[i].from().line,null,!0);Ri(e)})},openLine:function(e){return e.replaceSelection(`
`,"start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function il(e,t){var o=$t(e.doc,t),i=ht(o);return i!=o&&(t=De(i)),Bs(!0,e,i,t,1)}function Wl(e,t){var o=$t(e.doc,t),i=xt(o);return i!=o&&(t=De(i)),Bs(!0,e,o,t,-1)}function ol(e,t){var o=il(e,t.line),i=$t(e.doc,o.line),s=ct(i,e.doc.direction);if(!s||s[0].level==0){var p=Math.max(o.ch,i.text.search(/\S/)),A=t.line==o.line&&t.ch<=p&&t.ch;return me(o.line,A?0:p,o.sticky)}return o}function Rs(e,t,o){if(typeof t=="string"&&(t=Ts[t],!t))return!1;e.display.input.ensurePolled();var i=e.display.shift,s=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),o&&(e.display.shift=!1),s=t(e)!=Me}finally{e.display.shift=i,e.state.suppressEdits=!1}return s}function Zl(e,t,o){for(var i=0;i<e.state.keyMaps.length;i++){var s=ss(t,e.state.keyMaps[i],o,e);if(s)return s}return e.options.extraKeys&&ss(t,e.options.extraKeys,o,e)||ss(t,e.options.keyMap,o,e)}var $l=new M;function Cs(e,t,o,i){var s=e.state.keySeq;if(s){if(nl(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:$l.set(50,function(){e.state.keySeq==s&&(e.state.keySeq=null,e.display.input.reset())}),sl(e,s+" "+t,o,i))return!0}return sl(e,t,o,i)}function sl(e,t,o,i){var s=Zl(e,t,i);return s=="multi"&&(e.state.keySeq=t),s=="handled"&&qr(e,"keyHandled",e,t,o),(s=="handled"||s=="multi")&&(Et(o),ro(e)),!!s}function ll(e,t){var o=al(t,!0);return o?t.shiftKey&&!e.state.keySeq?Cs(e,"Shift-"+o,t,function(i){return Rs(e,i,!0)})||Cs(e,o,t,function(i){if(typeof i=="string"?/^go[A-Z]/.test(i):i.motion)return Rs(e,i)}):Cs(e,o,t,function(i){return Rs(e,i)}):!1}function Vl(e,t,o){return Cs(e,"'"+o+"'",t,function(i){return Rs(e,i,!0)})}var Us=null;function ul(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField())&&(t.curOp.focus=ne(),!et(t,e))){k&&d<11&&e.keyCode==27&&(e.returnValue=!1);var o=e.keyCode;t.display.shift=o==16||e.shiftKey;var i=ll(t,e);I&&(Us=i?o:null,!i&&o==88&&!Ft&&(X?e.metaKey:e.ctrlKey)&&t.replaceSelection("",null,"cut")),u&&!X&&!i&&o==46&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),o==18&&!/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)&&Kl(t)}}function Kl(e){var t=e.display.lineDiv;ge(t,"CodeMirror-crosshair");function o(i){(i.keyCode==18||!i.altKey)&&(ee(t,"CodeMirror-crosshair"),rt(document,"keyup",o),rt(document,"mouseover",o))}pe(document,"keyup",o),pe(document,"mouseover",o)}function cl(e){e.keyCode==16&&(this.doc.sel.shift=!1),et(this,e)}function dl(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField())&&!(ua(t.display,e)||et(t,e)||e.ctrlKey&&!e.altKey||X&&e.metaKey)){var o=e.keyCode,i=e.charCode;if(I&&o==Us){Us=null,Et(e);return}if(!(I&&(!e.which||e.which<10)&&ll(t,e))){var s=String.fromCharCode(i==null?o:i);s!="\b"&&(Vl(t,e,s)||t.display.input.onKeyPress(e))}}}var jl=400,Hs=function(e,t,o){this.time=e,this.pos=t,this.button=o};Hs.prototype.compare=function(e,t,o){return this.time+jl>e&&St(t,this.pos)==0&&o==this.button};var xs,As;function Yl(e,t){var o=+new Date;return As&&As.compare(o,e,t)?(xs=As=null,"triple"):xs&&xs.compare(o,e,t)?(As=new Hs(o,e,t),xs=null,"double"):(xs=new Hs(o,e,t),As=null,"single")}function fl(e){var t=this,o=t.display;if(!(et(t,e)||o.activeTouch&&o.input.supportsTouch())){if(o.input.ensurePolled(),o.shift=e.shiftKey,ua(o,e)){N||(o.scroller.draggable=!1,setTimeout(function(){return o.scroller.draggable=!0},100));return}if(!zs(t,e)){var i=mi(t,e),s=Xt(e),p=i?Yl(i,s):"single";window.focus(),s==1&&t.state.selectingText&&t.state.selectingText(e),!(i&&Xl(t,s,i,p,e))&&(s==1?i?ql(t,i,p,e):tn(e)==o.scroller&&Et(e):s==2?(i&&Qi(t.doc,i),setTimeout(function(){return o.input.focus()},20)):s==3&&(B?t.display.input.onContextMenu(e):Ao(t)))}}}function Xl(e,t,o,i,s){var p="Click";return i=="double"?p="Double"+p:i=="triple"&&(p="Triple"+p),p=(t==1?"Left":t==2?"Middle":"Right")+p,Cs(e,rl(p,s),s,function(A){if(typeof A=="string"&&(A=Ts[A]),!A)return!1;var F=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),F=A(e,o)!=Me}finally{e.state.suppressEdits=!1}return F})}function Ql(e,t,o){var i=e.getOption("configureMouse"),s=i?i(e,t,o):{};if(s.unit==null){var p=q?o.shiftKey&&o.metaKey:o.altKey;s.unit=p?"rectangle":t=="single"?"char":t=="double"?"word":"line"}return(s.extend==null||e.doc.extend)&&(s.extend=e.doc.extend||o.shiftKey),s.addNew==null&&(s.addNew=X?o.metaKey:o.ctrlKey),s.moveOnDrag==null&&(s.moveOnDrag=!(X?o.altKey:o.ctrlKey)),s}function ql(e,t,o,i){k?setTimeout(ke(ao,e),0):e.curOp.focus=ne();var s=Ql(e,o,i),p=e.doc.sel,A;e.options.dragDrop&&Ke&&!e.isReadOnly()&&o=="single"&&(A=p.contains(t))>-1&&(St((A=p.ranges[A]).from(),t)<0||t.xRel>0)&&(St(A.to(),t)>0||t.xRel<0)?Jl(e,i,t,s):eu(e,i,t,s)}function Jl(e,t,o,i){var s=e.display,p=!1,A=La(e,function(J){N&&(s.scroller.draggable=!1),e.state.draggingText=!1,rt(s.wrapper.ownerDocument,"mouseup",A),rt(s.wrapper.ownerDocument,"mousemove",F),rt(s.scroller,"dragstart",z),rt(s.scroller,"drop",A),p||(Et(J),i.addNew||Qi(e.doc,o,null,null,i.extend),N&&!ie||k&&d==9?setTimeout(function(){s.wrapper.ownerDocument.body.focus({preventScroll:!0}),s.input.focus()},20):s.input.focus())}),F=function(J){p=p||Math.abs(t.clientX-J.clientX)+Math.abs(t.clientY-J.clientY)>=10},z=function(){return p=!0};N&&(s.scroller.draggable=!0),e.state.draggingText=A,A.copy=!i.moveOnDrag,s.scroller.dragDrop&&s.scroller.dragDrop(),pe(s.wrapper.ownerDocument,"mouseup",A),pe(s.wrapper.ownerDocument,"mousemove",F),pe(s.scroller,"dragstart",z),pe(s.scroller,"drop",A),Ao(e),setTimeout(function(){return s.input.focus()},20)}function pl(e,t,o){if(o=="char")return new wn(t,t);if(o=="word")return e.findWordAt(t);if(o=="line")return new wn(me(t.line,0),ze(e.doc,me(t.line+1,0)));var i=o(e,t);return new wn(i.from,i.to)}function eu(e,t,o,i){var s=e.display,p=e.doc;Et(t);var A,F,z=p.sel,J=z.ranges;if(i.addNew&&!i.extend?(F=p.sel.contains(o),F>-1?A=J[F]:A=new wn(o,o)):(A=p.sel.primary(),F=p.sel.primIndex),i.unit=="rectangle")i.addNew||(A=new wn(o,o)),o=mi(e,t,!0,!0),F=-1;else{var Ae=pl(e,o,i.unit);i.extend?A=Xi(A,Ae.anchor,Ae.head,i.extend):A=Ae}i.addNew?F==-1?(F=J.length,a(p,Bn(e,J.concat([A]),F),{scroll:!1,origin:"*mouse"})):J.length>1&&J[F].empty()&&i.unit=="char"&&!i.extend?(a(p,Bn(e,J.slice(0,F).concat(J.slice(F+1)),0),{scroll:!1,origin:"*mouse"}),z=p.sel):mo(p,F,A,Tt):(F=0,a(p,new on([A],0),Tt),z=p.sel);var Oe=o;function dt(hn){if(St(Oe,hn)!=0)if(Oe=hn,i.unit=="rectangle"){for(var In=[],ir=e.options.tabSize,Yn=oe($t(p,o.line).text,o.ch,ir),Hr=oe($t(p,hn.line).text,hn.ch,ir),ya=Math.min(Yn,Hr),ri=Math.max(Yn,Hr),_a=Math.min(o.line,hn.line),Zi=Math.min(e.lastLine(),Math.max(o.line,hn.line));_a<=Zi;_a++){var Pi=$t(p,_a).text,Wa=Rt(Pi,ya,ir);ya==ri?In.push(new wn(me(_a,Wa),me(_a,Wa))):Pi.length>Wa&&In.push(new wn(me(_a,Wa),me(_a,Rt(Pi,ri,ir))))}In.length||In.push(new wn(o,o)),a(p,Bn(e,z.ranges.slice(0,F).concat(In),F),{origin:"*mouse",scroll:!1}),e.scrollIntoView(hn)}else{var Fi=A,pi=pl(e,hn,i.unit),Xa=Fi.anchor,Za;St(pi.anchor,Xa)>0?(Za=pi.head,Xa=Yt(Fi.from(),pi.anchor)):(Za=pi.anchor,Xa=g(Fi.to(),pi.head));var Ma=z.ranges.slice(0);Ma[F]=tu(e,new wn(ze(p,Xa),Za)),a(p,Bn(e,Ma,F),Tt)}}var nt=s.wrapper.getBoundingClientRect(),Dt=0;function Zt(hn){var In=++Dt,ir=mi(e,hn,!0,i.unit=="rectangle");if(ir)if(St(ir,Oe)!=0){e.curOp.focus=ne(),dt(ir);var Yn=Yi(s,p);(ir.line>=Yn.to||ir.line<Yn.from)&&setTimeout(La(e,function(){Dt==In&&Zt(hn)}),150)}else{var Hr=hn.clientY<nt.top?-20:hn.clientY>nt.bottom?20:0;Hr&&setTimeout(La(e,function(){Dt==In&&(s.scroller.scrollTop+=Hr,Zt(hn))}),50)}}function en(hn){e.state.selectingText=!1,Dt=1/0,hn&&(Et(hn),s.input.focus()),rt(s.wrapper.ownerDocument,"mousemove",pn),rt(s.wrapper.ownerDocument,"mouseup",xn),p.history.lastSelOrigin=null}var pn=La(e,function(hn){hn.buttons===0||!Xt(hn)?en(hn):Zt(hn)}),xn=La(e,en);e.state.selectingText=xn,pe(s.wrapper.ownerDocument,"mousemove",pn),pe(s.wrapper.ownerDocument,"mouseup",xn)}function tu(e,t){var o=t.anchor,i=t.head,s=$t(e.doc,o.line);if(St(o,i)==0&&o.sticky==i.sticky)return t;var p=ct(s);if(!p)return t;var A=Pe(p,o.ch,o.sticky),F=p[A];if(F.from!=o.ch&&F.to!=o.ch)return t;var z=A+(F.from==o.ch==(F.level!=1)?0:1);if(z==0||z==p.length)return t;var J;if(i.line!=o.line)J=(i.line-o.line)*(e.doc.direction=="ltr"?1:-1)>0;else{var Ae=Pe(p,i.ch,i.sticky),Oe=Ae-A||(i.ch-o.ch)*(F.level==1?-1:1);Ae==z-1||Ae==z?J=Oe<0:J=Oe>0}var dt=p[z+(J?-1:0)],nt=J==(dt.level==1),Dt=nt?dt.from:dt.to,Zt=nt?"after":"before";return o.ch==Dt&&o.sticky==Zt?t:new wn(new me(o.line,Dt,Zt),i)}function hl(e,t,o,i){var s,p;if(t.touches)s=t.touches[0].clientX,p=t.touches[0].clientY;else try{s=t.clientX,p=t.clientY}catch(dt){return!1}if(s>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;i&&Et(t);var A=e.display,F=A.lineDiv.getBoundingClientRect();if(p>F.bottom||!tt(e,o))return ye(t);p-=F.top-A.viewOffset;for(var z=0;z<e.display.gutterSpecs.length;++z){var J=A.gutters.childNodes[z];if(J&&J.getBoundingClientRect().right>=s){var Ae=Le(e.doc,p),Oe=e.display.gutterSpecs[z];return $e(e,o,e,Ae,Oe.className,t),ye(t)}}}function zs(e,t){return hl(e,t,"gutterClick",!0)}function gl(e,t){ua(e.display,t)||nu(e,t)||et(e,t,"contextmenu")||B||e.display.input.onContextMenu(t)}function nu(e,t){return tt(e,"gutterContextMenu")?hl(e,t,"gutterContextMenu",!1):!1}function ml(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),$i(e)}var us={toString:function(){return"CodeMirror.Init"}},bl={},Ls={};function ru(e){var t=e.optionHandlers;function o(i,s,p,A){e.defaults[i]=s,p&&(t[i]=A?function(F,z,J){J!=us&&p(F,z,J)}:p)}e.defineOption=o,e.Init=us,o("value","",function(i,s){return i.setValue(s)},!0),o("mode",null,function(i,s){i.doc.modeOption=s,ga(i)},!0),o("indentUnit",2,ga,!0),o("indentWithTabs",!1),o("smartIndent",!0),o("tabSize",4,function(i){Ya(i),$i(i),Qr(i)},!0),o("lineSeparator",null,function(i,s){if(i.doc.lineSep=s,!!s){var p=[],A=i.doc.first;i.doc.iter(function(z){for(var J=0;;){var Ae=z.text.indexOf(s,J);if(Ae==-1)break;J=Ae+s.length,p.push(me(A,Ae))}A++});for(var F=p.length-1;F>=0;F--)uo(i.doc,s,p[F],me(p[F].line,p[F].ch+s.length))}}),o("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(i,s,p){i.state.specialChars=new RegExp(s.source+(s.test(" ")?"":"| "),"g"),p!=us&&i.refresh()}),o("specialCharPlaceholder",sr,function(i){return i.refresh()},!0),o("electricChars",!0),o("inputStyle",te?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),o("spellcheck",!1,function(i,s){return i.getInputField().spellcheck=s},!0),o("autocorrect",!1,function(i,s){return i.getInputField().autocorrect=s},!0),o("autocapitalize",!1,function(i,s){return i.getInputField().autocapitalize=s},!0),o("rtlMoveVisually",!W),o("wholeLineUpdateBefore",!0),o("theme","default",function(i){ml(i),_e(i)},!0),o("keyMap","default",function(i,s,p){var A=Is(s),F=p!=us&&Is(p);F&&F.detach&&F.detach(i,A),A.attach&&A.attach(i,F||null)}),o("extraKeys",null),o("configureMouse",null),o("lineWrapping",!1,iu,!0),o("gutters",[],function(i,s){i.display.gutterSpecs=Ye(s,i.options.lineNumbers),_e(i)},!0),o("fixedGutter",!0,function(i,s){i.display.gutters.style.left=s?po(i.display)+"px":"0",i.refresh()},!0),o("coverGutterNextToScrollbar",!1,function(i){return ka(i)},!0),o("scrollbarStyle","native",function(i){di(i),ka(i),i.display.scrollbars.setScrollTop(i.doc.scrollTop),i.display.scrollbars.setScrollLeft(i.doc.scrollLeft)},!0),o("lineNumbers",!1,function(i,s){i.display.gutterSpecs=Ye(i.options.gutters,s),_e(i)},!0),o("firstLineNumber",1,_e,!0),o("lineNumberFormatter",function(i){return i},_e,!0),o("showCursorWhenSelecting",!1,ji,!0),o("resetSelectionOnContextMenu",!0),o("lineWiseCopyCut",!0),o("pasteLinesPerSelection",!0),o("selectionsMayTouch",!1),o("readOnly",!1,function(i,s){s=="nocursor"&&(io(i),i.display.input.blur()),i.display.input.readOnlyChanged(s)}),o("screenReaderLabel",null,function(i,s){s=s===""?null:s,i.display.input.screenReaderLabelChanged(s)}),o("disableInput",!1,function(i,s){s||i.display.input.reset()},!0),o("dragDrop",!0,au),o("allowDropFileTypes",null),o("cursorBlinkRate",530),o("cursorScrollMargin",0),o("cursorHeight",1,ji,!0),o("singleCursorHeightPerLine",!0,ji,!0),o("workTime",100),o("workDelay",100),o("flattenSpans",!0,Ya,!0),o("addModeClass",!1,Ya,!0),o("pollInterval",100),o("undoDepth",200,function(i,s){return i.doc.history.undoDepth=s}),o("historyEventDelay",1250),o("viewportMargin",10,function(i){return i.refresh()},!0),o("maxHighlightLength",1e4,Ya,!0),o("moveInputWithCursor",!0,function(i,s){s||i.display.input.resetPosition()}),o("tabindex",null,function(i,s){return i.display.input.getField().tabIndex=s||""}),o("autofocus",null),o("direction","ltr",function(i,s){return i.doc.setDirection(s)},!0),o("phrases",null)}function au(e,t,o){var i=o&&o!=us;if(!t!=!i){var s=e.display.dragFunctions,p=t?pe:rt;p(e.display.scroller,"dragstart",s.start),p(e.display.scroller,"dragenter",s.enter),p(e.display.scroller,"dragover",s.over),p(e.display.scroller,"dragleave",s.leave),p(e.display.scroller,"drop",s.drop)}}function iu(e){e.options.lineWrapping?(ge(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(ee(e.display.wrapper,"CodeMirror-wrap"),Sn(e)),Lo(e),Qr(e),$i(e),setTimeout(function(){return ka(e)},100)}function Na(e,t){var o=this;if(!(this instanceof Na))return new Na(e,t);this.options=t=t?Be(t):{},Be(bl,t,!1);var i=t.value;typeof i=="string"?i=new Mi(i,t.mode,null,t.lineSeparator,t.direction):t.mode&&(i.modeOption=t.mode),this.doc=i;var s=new Na.inputStyles[t.inputStyle](this),p=this.display=new ft(e,i,s,t);p.wrapper.CodeMirror=this,ml(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),di(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new M,keySeq:null,specialChars:null},t.autofocus&&!te&&p.input.focus(),k&&d<11&&setTimeout(function(){return o.display.input.reset(!0)},20),ou(this),Fl(),Ja(this),this.curOp.forceUpdate=!0,Fr(this,i),t.autofocus&&!te||this.hasFocus()?setTimeout(function(){o.hasFocus()&&!o.state.focused&&li(o)},20):io(this);for(var A in Ls)Ls.hasOwnProperty(A)&&Ls[A](this,t[A],us);ve(this),t.finishInit&&t.finishInit(this);for(var F=0;F<Gs.length;++F)Gs[F](this);Ai(this),N&&t.lineWrapping&&getComputedStyle(p.lineDiv).textRendering=="optimizelegibility"&&(p.lineDiv.style.textRendering="auto")}Na.defaults=bl,Na.optionHandlers=Ls;function ou(e){var t=e.display;pe(t.scroller,"mousedown",La(e,fl)),k&&d<11?pe(t.scroller,"dblclick",La(e,function(z){if(!et(e,z)){var J=mi(e,z);if(!(!J||zs(e,z)||ua(e.display,z))){Et(z);var Ae=e.findWordAt(J);Qi(e.doc,Ae.anchor,Ae.head)}}})):pe(t.scroller,"dblclick",function(z){return et(e,z)||Et(z)}),pe(t.scroller,"contextmenu",function(z){return gl(e,z)}),pe(t.input.getField(),"contextmenu",function(z){t.scroller.contains(z.target)||gl(e,z)});var o,i={end:0};function s(){t.activeTouch&&(o=setTimeout(function(){return t.activeTouch=null},1e3),i=t.activeTouch,i.end=+new Date)}function p(z){if(z.touches.length!=1)return!1;var J=z.touches[0];return J.radiusX<=1&&J.radiusY<=1}function A(z,J){if(J.left==null)return!0;var Ae=J.left-z.left,Oe=J.top-z.top;return Ae*Ae+Oe*Oe>20*20}pe(t.scroller,"touchstart",function(z){if(!et(e,z)&&!p(z)&&!zs(e,z)){t.input.ensurePolled(),clearTimeout(o);var J=+new Date;t.activeTouch={start:J,moved:!1,prev:J-i.end<=300?i:null},z.touches.length==1&&(t.activeTouch.left=z.touches[0].pageX,t.activeTouch.top=z.touches[0].pageY)}}),pe(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),pe(t.scroller,"touchend",function(z){var J=t.activeTouch;if(J&&!ua(t,z)&&J.left!=null&&!J.moved&&new Date-J.start<300){var Ae=e.coordsChar(t.activeTouch,"page"),Oe;!J.prev||A(J,J.prev)?Oe=new wn(Ae,Ae):!J.prev.prev||A(J,J.prev.prev)?Oe=e.findWordAt(Ae):Oe=new wn(me(Ae.line,0),ze(e.doc,me(Ae.line+1,0))),e.setSelection(Oe.anchor,Oe.head),e.focus(),Et(z)}s()}),pe(t.scroller,"touchcancel",s),pe(t.scroller,"scroll",function(){t.scroller.clientHeight&&(xi(e,t.scroller.scrollTop),Oi(e,t.scroller.scrollLeft,!0),$e(e,"scroll",e))}),pe(t.scroller,"mousewheel",function(z){return $r(e,z)}),pe(t.scroller,"DOMMouseScroll",function(z){return $r(e,z)}),pe(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(z){et(e,z)||Gt(z)},over:function(z){et(e,z)||(Pl(e,z),Gt(z))},start:function(z){return Ml(e,z)},drop:La(e,Dl),leave:function(z){et(e,z)||Js(e)}};var F=t.input.getField();pe(F,"keyup",function(z){return cl.call(e,z)}),pe(F,"keydown",La(e,ul)),pe(F,"keypress",La(e,dl)),pe(F,"focus",function(z){return li(e,z)}),pe(F,"blur",function(z){return io(e,z)})}var Gs=[];Na.defineInitHook=function(e){return Gs.push(e)};function ks(e,t,o,i){var s=e.doc,p;o==null&&(o="add"),o=="smart"&&(s.mode.indent?p=lr(e,t).state:o="prev");var A=e.options.tabSize,F=$t(s,t),z=oe(F.text,null,A);F.stateAfter&&(F.stateAfter=null);var J=F.text.match(/^\s*/)[0],Ae;if(!i&&!/\S/.test(F.text))Ae=0,o="not";else if(o=="smart"&&(Ae=s.mode.indent(p,F.text.slice(J.length),F.text),Ae==Me||Ae>150)){if(!i)return;o="prev"}o=="prev"?t>s.first?Ae=oe($t(s,t-1).text,null,A):Ae=0:o=="add"?Ae=z+e.options.indentUnit:o=="subtract"?Ae=z-e.options.indentUnit:typeof o=="number"&&(Ae=z+o),Ae=Math.max(0,Ae);var Oe="",dt=0;if(e.options.indentWithTabs)for(var nt=Math.floor(Ae/A);nt;--nt)dt+=A,Oe+=" ";if(dt<Ae&&(Oe+=bt(Ae-dt)),Oe!=J)return uo(s,Oe,me(t,0),me(t,J.length),"+input"),F.stateAfter=null,!0;for(var Dt=0;Dt<s.sel.ranges.length;Dt++){var Zt=s.sel.ranges[Dt];if(Zt.head.line==t&&Zt.head.ch<J.length){var en=me(t,J.length);mo(s,Dt,new wn(en,en));break}}}var vo=null;function Os(e){vo=e}function Ws(e,t,o,i,s){var p=e.doc;e.display.shift=!1,i||(i=p.sel);var A=+new Date-200,F=s=="paste"||e.state.pasteIncoming>A,z=gn(t),J=null;if(F&&i.ranges.length>1)if(vo&&vo.text.join(`
`)==t){if(i.ranges.length%vo.text.length==0){J=[];for(var Ae=0;Ae<vo.text.length;Ae++)J.push(p.splitLines(vo.text[Ae]))}}else z.length==i.ranges.length&&e.options.pasteLinesPerSelection&&(J=Mt(z,function(pn){return[pn]}));for(var Oe=e.curOp.updateInput,dt=i.ranges.length-1;dt>=0;dt--){var nt=i.ranges[dt],Dt=nt.from(),Zt=nt.to();nt.empty()&&(o&&o>0?Dt=me(Dt.line,Dt.ch-o):e.state.overwrite&&!F?Zt=me(Zt.line,Math.min($t(p,Zt.line).text.length,Zt.ch+vt(z).length)):F&&vo&&vo.lineWise&&vo.text.join(`
`)==z.join(`
`)&&(Dt=Zt=me(Dt.line,0)));var en={from:Dt,to:Zt,text:J?J[dt%J.length]:z,origin:s||(F?"paste":e.state.cutIncoming>A?"cut":"+input")};ar(e.doc,en),qr(e,"inputRead",e,en)}t&&!F&&yl(e,t),Ri(e),e.curOp.updateInput<2&&(e.curOp.updateInput=Oe),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function vl(e,t){var o=e.clipboardData&&e.clipboardData.getData("Text");if(o)return e.preventDefault(),!t.isReadOnly()&&!t.options.disableInput&&ei(t,function(){return Ws(t,o,0,null,"paste")}),!0}function yl(e,t){if(!(!e.options.electricChars||!e.options.smartIndent))for(var o=e.doc.sel,i=o.ranges.length-1;i>=0;i--){var s=o.ranges[i];if(!(s.head.ch>100||i&&o.ranges[i-1].head.line==s.head.line)){var p=e.getModeAt(s.head),A=!1;if(p.electricChars){for(var F=0;F<p.electricChars.length;F++)if(t.indexOf(p.electricChars.charAt(F))>-1){A=ks(e,s.head.line,"smart");break}}else p.electricInput&&p.electricInput.test($t(e.doc,s.head.line).text.slice(0,s.head.ch))&&(A=ks(e,s.head.line,"smart"));A&&qr(e,"electricInput",e,s.head.line)}}}function El(e){for(var t=[],o=[],i=0;i<e.doc.sel.ranges.length;i++){var s=e.doc.sel.ranges[i].head.line,p={anchor:me(s,0),head:me(s+1,0)};o.push(p),t.push(e.getRange(p.anchor,p.head))}return{text:t,ranges:o}}function Sl(e,t,o,i){e.setAttribute("autocorrect",o?"":"off"),e.setAttribute("autocapitalize",i?"":"off"),e.setAttribute("spellcheck",!!t)}function Tl(){var e=fe("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=fe("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return N?e.style.width="1000px":e.setAttribute("wrap","off"),ce&&(e.style.border="1px solid black"),Sl(e),t}function su(e){var t=e.optionHandlers,o=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(i,s){var p=this.options,A=p[i];p[i]==s&&i!="mode"||(p[i]=s,t.hasOwnProperty(i)&&La(this,t[i])(this,s,A),$e(this,"optionChange",this,i))},getOption:function(i){return this.options[i]},getDoc:function(){return this.doc},addKeyMap:function(i,s){this.state.keyMaps[s?"push":"unshift"](Is(i))},removeKeyMap:function(i){for(var s=this.state.keyMaps,p=0;p<s.length;++p)if(s[p]==i||s[p].name==i)return s.splice(p,1),!0},addOverlay:ja(function(i,s){var p=i.token?i:e.getMode(this.options,i);if(p.startState)throw new Error("Overlays may not be stateful.");Ut(this.state.overlays,{mode:p,modeSpec:i,opaque:s&&s.opaque,priority:s&&s.priority||0},function(A){return A.priority}),this.state.modeGen++,Qr(this)}),removeOverlay:ja(function(i){for(var s=this.state.overlays,p=0;p<s.length;++p){var A=s[p].modeSpec;if(A==i||typeof i=="string"&&A.name==i){s.splice(p,1),this.state.modeGen++,Qr(this);return}}}),indentLine:ja(function(i,s,p){typeof s!="string"&&typeof s!="number"&&(s==null?s=this.options.smartIndent?"smart":"prev":s=s?"add":"subtract"),Pt(this.doc,i)&&ks(this,i,s,p)}),indentSelection:ja(function(i){for(var s=this.doc.sel.ranges,p=-1,A=0;A<s.length;A++){var F=s[A];if(F.empty())F.head.line>p&&(ks(this,F.head.line,i,!0),p=F.head.line,A==this.doc.sel.primIndex&&Ri(this));else{var z=F.from(),J=F.to(),Ae=Math.max(p,z.line);p=Math.min(this.lastLine(),J.line-(J.ch?0:1))+1;for(var Oe=Ae;Oe<p;++Oe)ks(this,Oe,i);var dt=this.doc.sel.ranges;z.ch==0&&s.length==dt.length&&dt[A].from().ch>0&&mo(this.doc,A,new wn(z,dt[A].to()),we)}}}),getTokenAt:function(i,s){return hr(this,i,s)},getLineTokens:function(i,s){return hr(this,me(i),s,!0)},getTokenTypeAt:function(i){i=ze(this.doc,i);var s=mn(this,$t(this.doc,i.line)),p=0,A=(s.length-1)/2,F=i.ch,z;if(F==0)z=s[2];else for(;;){var J=p+A>>1;if((J?s[J*2-1]:0)>=F)A=J;else if(s[J*2+1]<F)p=J+1;else{z=s[J*2+2];break}}var Ae=z?z.indexOf("overlay "):-1;return Ae<0?z:Ae==0?null:z.slice(0,Ae-1)},getModeAt:function(i){var s=this.doc.mode;return s.innerMode?e.innerMode(s,this.getTokenAt(i).state).mode:s},getHelper:function(i,s){return this.getHelpers(i,s)[0]},getHelpers:function(i,s){var p=[];if(!o.hasOwnProperty(s))return p;var A=o[s],F=this.getModeAt(i);if(typeof F[s]=="string")A[F[s]]&&p.push(A[F[s]]);else if(F[s])for(var z=0;z<F[s].length;z++){var J=A[F[s][z]];J&&p.push(J)}else F.helperType&&A[F.helperType]?p.push(A[F.helperType]):A[F.name]&&p.push(A[F.name]);for(var Ae=0;Ae<A._global.length;Ae++){var Oe=A._global[Ae];Oe.pred(F,this)&&L(p,Oe.val)==-1&&p.push(Oe.val)}return p},getStateAfter:function(i,s){var p=this.doc;return i=Jt(p,i==null?p.first+p.size-1:i),lr(this,i+1,s).state},cursorCoords:function(i,s){var p,A=this.doc.sel.primary();return i==null?p=A.head:typeof i=="object"?p=ze(this.doc,i):p=i?A.from():A.to(),fa(this,p,s||"page")},charCoords:function(i,s){return Ua(this,ze(this.doc,i),s||"page")},coordsChar:function(i,s){return i=Ki(this,i,s||"page"),pa(this,i.left,i.top)},lineAtHeight:function(i,s){return i=Ki(this,{top:i,left:0},s||"page").top,Le(this.doc,i+this.display.viewOffset)},heightAtLine:function(i,s,p){var A=!1,F;if(typeof i=="number"){var z=this.doc.first+this.doc.size-1;i<this.doc.first?i=this.doc.first:i>z&&(i=z,A=!0),F=$t(this.doc,i)}else F=i;return Vi(this,F,{top:0,left:0},s||"page",p||A).top+(A?this.doc.height-vn(F):0)},defaultTextHeight:function(){return xa(this.display)},defaultCharWidth:function(){return Qa(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(i,s,p,A,F){var z=this.display;i=fa(this,ze(this.doc,i));var J=i.bottom,Ae=i.left;if(s.style.position="absolute",s.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(s),z.sizer.appendChild(s),A=="over")J=i.top;else if(A=="above"||A=="near"){var Oe=Math.max(z.wrapper.clientHeight,this.doc.height),dt=Math.max(z.sizer.clientWidth,z.lineSpace.clientWidth);(A=="above"||i.bottom+s.offsetHeight>Oe)&&i.top>s.offsetHeight?J=i.top-s.offsetHeight:i.bottom+s.offsetHeight<=Oe&&(J=i.bottom),Ae+s.offsetWidth>dt&&(Ae=dt-s.offsetWidth)}s.style.top=J+"px",s.style.left=s.style.right="",F=="right"?(Ae=z.sizer.clientWidth-s.offsetWidth,s.style.right="0px"):(F=="left"?Ae=0:F=="middle"&&(Ae=(z.sizer.clientWidth-s.offsetWidth)/2),s.style.left=Ae+"px"),p&&so(this,{left:Ae,top:J,right:Ae+s.offsetWidth,bottom:J+s.offsetHeight})},triggerOnKeyDown:ja(ul),triggerOnKeyPress:ja(dl),triggerOnKeyUp:cl,triggerOnMouseDown:ja(fl),execCommand:function(i){if(Ts.hasOwnProperty(i))return Ts[i].call(null,this)},triggerElectric:ja(function(i){yl(this,i)}),findPosH:function(i,s,p,A){var F=1;s<0&&(F=-1,s=-s);for(var z=ze(this.doc,i),J=0;J<s&&(z=Zs(this.doc,z,F,p,A),!z.hitSide);++J);return z},moveH:ja(function(i,s){var p=this;this.extendSelectionsBy(function(A){return p.display.shift||p.doc.extend||A.empty()?Zs(p.doc,A.head,i,s,p.options.rtlMoveVisually):i<0?A.from():A.to()},ut)}),deleteH:ja(function(i,s){var p=this.doc.sel,A=this.doc;p.somethingSelected()?A.replaceSelection("",null,"+delete"):ls(this,function(F){var z=Zs(A,F.head,i,s,!1);return i<0?{from:z,to:F.head}:{from:F.head,to:z}})}),findPosV:function(i,s,p,A){var F=1,z=A;s<0&&(F=-1,s=-s);for(var J=ze(this.doc,i),Ae=0;Ae<s;++Ae){var Oe=fa(this,J,"div");if(z==null?z=Oe.left:Oe.left=z,J=Cl(this,Oe,F,p),J.hitSide)break}return J},moveV:ja(function(i,s){var p=this,A=this.doc,F=[],z=!this.display.shift&&!A.extend&&A.sel.somethingSelected();if(A.extendSelectionsBy(function(Ae){if(z)return i<0?Ae.from():Ae.to();var Oe=fa(p,Ae.head,"div");Ae.goalColumn!=null&&(Oe.left=Ae.goalColumn),F.push(Oe.left);var dt=Cl(p,Oe,i,s);return s=="page"&&Ae==A.sel.primary()&&wo(p,Ua(p,dt,"div").top-Oe.top),dt},ut),F.length)for(var J=0;J<A.sel.ranges.length;J++)A.sel.ranges[J].goalColumn=F[J]}),findWordAt:function(i){var s=this.doc,p=$t(s,i.line).text,A=i.ch,F=i.ch;if(p){var z=this.getHelper(i,"wordChars");(i.sticky=="before"||F==p.length)&&A?--A:++F;for(var J=p.charAt(A),Ae=D(J,z)?function(Oe){return D(Oe,z)}:/\s/.test(J)?function(Oe){return/\s/.test(Oe)}:function(Oe){return!/\s/.test(Oe)&&!D(Oe)};A>0&&Ae(p.charAt(A-1));)--A;for(;F<p.length&&Ae(p.charAt(F));)++F}return new wn(me(i.line,A),me(i.line,F))},toggleOverwrite:function(i){i!=null&&i==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?ge(this.display.cursorDiv,"CodeMirror-overwrite"):ee(this.display.cursorDiv,"CodeMirror-overwrite"),$e(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==ne()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:ja(function(i,s){Ci(this,i,s)}),getScrollInfo:function(){var i=this.display.scroller;return{left:i.scrollLeft,top:i.scrollTop,height:i.scrollHeight-Ur(this)-this.display.barHeight,width:i.scrollWidth-Ur(this)-this.display.barWidth,clientHeight:$a(this),clientWidth:Fa(this)}},scrollIntoView:ja(function(i,s){i==null?(i={from:this.doc.sel.primary().head,to:null},s==null&&(s=this.options.cursorScrollMargin)):typeof i=="number"?i={from:me(i,0),to:null}:i.from==null&&(i={from:i,to:null}),i.to||(i.to=i.from),i.margin=s||0,i.from.line!=null?lo(this,i):ho(this,i.from,i.to,i.margin)}),setSize:ja(function(i,s){var p=this,A=function(z){return typeof z=="number"||/^\d+$/.test(String(z))?z+"px":z};i!=null&&(this.display.wrapper.style.width=A(i)),s!=null&&(this.display.wrapper.style.height=A(s)),this.options.lineWrapping&&eo(this);var F=this.display.viewFrom;this.doc.iter(F,this.display.viewTo,function(z){if(z.widgets){for(var J=0;J<z.widgets.length;J++)if(z.widgets[J].noHScroll){bi(p,F,"widget");break}}++F}),this.curOp.forceUpdate=!0,$e(this,"refresh",this)}),operation:function(i){return ei(this,i)},startOperation:function(){return Ja(this)},endOperation:function(){return Ai(this)},refresh:ja(function(){var i=this.display.cachedTextHeight;Qr(this),this.curOp.forceUpdate=!0,$i(this),Ci(this,this.doc.scrollLeft,this.doc.scrollTop),K(this.display),(i==null||Math.abs(i-xa(this.display))>.5||this.options.lineWrapping)&&Lo(this),$e(this,"refresh",this)}),swapDoc:ja(function(i){var s=this.doc;return s.cm=null,this.state.selectingText&&this.state.selectingText(),Fr(this,i),$i(this),this.display.input.reset(),Ci(this,i.scrollLeft,i.scrollTop),this.curOp.forceScroll=!0,qr(this,"swapDoc",this,s),s}),phrase:function(i){var s=this.options.phrases;return s&&Object.prototype.hasOwnProperty.call(s,i)?s[i]:i},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Q(e),e.registerHelper=function(i,s,p){o.hasOwnProperty(i)||(o[i]=e[i]={_global:[]}),o[i][s]=p},e.registerGlobalHelper=function(i,s,p,A){e.registerHelper(i,s,A),o[i]._global.push({pred:p,val:A})}}function Zs(e,t,o,i,s){var p=t,A=o,F=$t(e,t.line),z=s&&e.direction=="rtl"?-o:o;function J(){var xn=t.line+z;return xn<e.first||xn>=e.first+e.size?!1:(t=new me(xn,t.ch,t.sticky),F=$t(e,xn))}function Ae(xn){var hn;if(i=="codepoint"){var In=F.text.charCodeAt(t.ch+(i>0?0:-1));isNaN(In)?hn=null:hn=new me(t.line,Math.max(0,Math.min(F.text.length,t.ch+o*(In>=55296&&In<56320?2:1))),-o)}else s?hn=Gl(e.cm,F,t,o):hn=Fs(F,t,o);if(hn==null)if(!xn&&J())t=Bs(s,e.cm,F,t.line,z);else return!1;else t=hn;return!0}if(i=="char"||i=="codepoint")Ae();else if(i=="column")Ae(!0);else if(i=="word"||i=="group")for(var Oe=null,dt=i=="group",nt=e.cm&&e.cm.getHelper(t,"wordChars"),Dt=!0;!(o<0&&!Ae(!Dt));Dt=!1){var Zt=F.text.charAt(t.ch)||`
`,en=D(Zt,nt)?"w":dt&&Zt==`
`?"n":!dt||/\s/.test(Zt)?null:"p";if(dt&&!Dt&&!en&&(en="s"),Oe&&Oe!=en){o<0&&(o=1,Ae(),t.sticky="after");break}if(en&&(Oe=en),o>0&&!Ae(!Dt))break}var pn=Nn(e,t,p,A,!0);return _t(p,pn)&&(pn.hitSide=!0),pn}function Cl(e,t,o,i){var s=e.doc,p=t.left,A;if(i=="page"){var F=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),z=Math.max(F-.5*xa(e.display),3);A=(o>0?t.bottom:t.top)+o*z}else i=="line"&&(A=o>0?t.bottom+3:t.top-3);for(var J;J=pa(e,p,A),!!J.outside;){if(o<0?A<=0:A>=s.height){J.hitSide=!0;break}A+=o*5}return J}var ma=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new M,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};ma.prototype.init=function(e){var t=this,o=this,i=o.cm,s=o.div=e.lineDiv;Sl(s,i.options.spellcheck,i.options.autocorrect,i.options.autocapitalize);function p(F){for(var z=F.target;z;z=z.parentNode){if(z==s)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(z.className))break}return!1}pe(s,"paste",function(F){!p(F)||et(i,F)||vl(F,i)||d<=11&&setTimeout(La(i,function(){return t.updateFromDOM()}),20)}),pe(s,"compositionstart",function(F){t.composing={data:F.data,done:!1}}),pe(s,"compositionupdate",function(F){t.composing||(t.composing={data:F.data,done:!1})}),pe(s,"compositionend",function(F){t.composing&&(F.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)}),pe(s,"touchstart",function(){return o.forceCompositionEnd()}),pe(s,"input",function(){t.composing||t.readFromDOMSoon()});function A(F){if(!(!p(F)||et(i,F))){if(i.somethingSelected())Os({lineWise:!1,text:i.getSelections()}),F.type=="cut"&&i.replaceSelection("",null,"cut");else if(i.options.lineWiseCopyCut){var z=El(i);Os({lineWise:!0,text:z.text}),F.type=="cut"&&i.operation(function(){i.setSelections(z.ranges,0,we),i.replaceSelection("",null,"cut")})}else return;if(F.clipboardData){F.clipboardData.clearData();var J=vo.text.join(`
`);if(F.clipboardData.setData("Text",J),F.clipboardData.getData("Text")==J){F.preventDefault();return}}var Ae=Tl(),Oe=Ae.firstChild;i.display.lineSpace.insertBefore(Ae,i.display.lineSpace.firstChild),Oe.value=vo.text.join(`
`);var dt=document.activeElement;Ie(Oe),setTimeout(function(){i.display.lineSpace.removeChild(Ae),dt.focus(),dt==s&&o.showPrimarySelection()},50)}}pe(s,"copy",A),pe(s,"cut",A)},ma.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},ma.prototype.prepareSelection=function(){var e=Oo(this.cm,!1);return e.focus=document.activeElement==this.div,e},ma.prototype.showSelection=function(e,t){!e||!this.cm.display.view.length||((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},ma.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},ma.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,o=t.doc.sel.primary(),i=o.from(),s=o.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||s.line<t.display.viewFrom){e.removeAllRanges();return}var p=_s(t,e.anchorNode,e.anchorOffset),A=_s(t,e.focusNode,e.focusOffset);if(!(p&&!p.bad&&A&&!A.bad&&St(Yt(p,A),i)==0&&St(g(p,A),s)==0)){var F=t.display.view,z=i.line>=t.display.viewFrom&&xl(t,i)||{node:F[0].measure.map[2],offset:0},J=s.line<t.display.viewTo&&xl(t,s);if(!J){var Ae=F[F.length-1].measure,Oe=Ae.maps?Ae.maps[Ae.maps.length-1]:Ae.map;J={node:Oe[Oe.length-1],offset:Oe[Oe.length-2]-Oe[Oe.length-3]}}if(!z||!J){e.removeAllRanges();return}var dt=e.rangeCount&&e.getRangeAt(0),nt;try{nt=V(z.node,z.offset,J.offset,J.node)}catch(Dt){}nt&&(!u&&t.state.focused?(e.collapse(z.node,z.offset),nt.collapsed||(e.removeAllRanges(),e.addRange(nt))):(e.removeAllRanges(),e.addRange(nt)),dt&&e.anchorNode==null?e.addRange(dt):u&&this.startGracePeriod()),this.rememberSelection()}},ma.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){return e.cm.curOp.selectionChanged=!0})},20)},ma.prototype.showMultipleSelections=function(e){Z(this.cm.display.cursorDiv,e.cursors),Z(this.cm.display.selectionDiv,e.selection)},ma.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},ma.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return le(this.div,t)},ma.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},ma.prototype.blur=function(){this.div.blur()},ma.prototype.getField=function(){return this.div},ma.prototype.supportsTouch=function(){return!0},ma.prototype.receivedFocus=function(){var e=this;this.selectionInEditor()?this.pollSelection():ei(this.cm,function(){return e.cm.curOp.selectionChanged=!0});function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))}this.polling.set(this.cm.options.pollInterval,t)},ma.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},ma.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var e=this.getSelection(),t=this.cm;if(ue&&O&&this.cm.display.gutterSpecs.length&&lu(e.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var o=_s(t,e.anchorNode,e.anchorOffset),i=_s(t,e.focusNode,e.focusOffset);o&&i&&ei(t,function(){a(t.doc,na(o,i),we),(o.bad||i.bad)&&(t.curOp.selectionChanged=!0)})}}},ma.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e=this.cm,t=e.display,o=e.doc.sel.primary(),i=o.from(),s=o.to();if(i.ch==0&&i.line>e.firstLine()&&(i=me(i.line-1,$t(e.doc,i.line-1).length)),s.ch==$t(e.doc,s.line).text.length&&s.line<e.lastLine()&&(s=me(s.line+1,0)),i.line<t.viewFrom||s.line>t.viewTo-1)return!1;var p,A,F;i.line==t.viewFrom||(p=Ti(e,i.line))==0?(A=De(t.view[0].line),F=t.view[0].node):(A=De(t.view[p].line),F=t.view[p-1].node.nextSibling);var z=Ti(e,s.line),J,Ae;if(z==t.view.length-1?(J=t.viewTo-1,Ae=t.lineDiv.lastChild):(J=De(t.view[z+1].line)-1,Ae=t.view[z+1].node.previousSibling),!F)return!1;for(var Oe=e.doc.splitLines(uu(e,F,Ae,A,J)),dt=On(e.doc,me(A,0),me(J,$t(e.doc,J).text.length));Oe.length>1&&dt.length>1;)if(vt(Oe)==vt(dt))Oe.pop(),dt.pop(),J--;else if(Oe[0]==dt[0])Oe.shift(),dt.shift(),A++;else break;for(var nt=0,Dt=0,Zt=Oe[0],en=dt[0],pn=Math.min(Zt.length,en.length);nt<pn&&Zt.charCodeAt(nt)==en.charCodeAt(nt);)++nt;for(var xn=vt(Oe),hn=vt(dt),In=Math.min(xn.length-(Oe.length==1?nt:0),hn.length-(dt.length==1?nt:0));Dt<In&&xn.charCodeAt(xn.length-Dt-1)==hn.charCodeAt(hn.length-Dt-1);)++Dt;if(Oe.length==1&&dt.length==1&&A==i.line)for(;nt&&nt>i.ch&&xn.charCodeAt(xn.length-Dt-1)==hn.charCodeAt(hn.length-Dt-1);)nt--,Dt++;Oe[Oe.length-1]=xn.slice(0,xn.length-Dt).replace(/^\u200b+/,""),Oe[0]=Oe[0].slice(nt).replace(/\u200b+$/,"");var ir=me(A,nt),Yn=me(J,dt.length?vt(dt).length-Dt:0);if(Oe.length>1||Oe[0]||St(ir,Yn))return uo(e.doc,Oe,ir,Yn,"+input"),!0},ma.prototype.ensurePolled=function(){this.forceCompositionEnd()},ma.prototype.reset=function(){this.forceCompositionEnd()},ma.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},ma.prototype.readFromDOMSoon=function(){var e=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing)if(e.composing.done)e.composing=null;else return;e.updateFromDOM()},80))},ma.prototype.updateFromDOM=function(){var e=this;(this.cm.isReadOnly()||!this.pollContent())&&ei(this.cm,function(){return Qr(e.cm)})},ma.prototype.setUneditable=function(e){e.contentEditable="false"},ma.prototype.onKeyPress=function(e){e.charCode==0||this.composing||(e.preventDefault(),this.cm.isReadOnly()||La(this.cm,Ws)(this.cm,String.fromCharCode(e.charCode==null?e.keyCode:e.charCode),0))},ma.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(e!="nocursor")},ma.prototype.onContextMenu=function(){},ma.prototype.resetPosition=function(){},ma.prototype.needsContentAttribute=!0;function xl(e,t){var o=Va(e,t.line);if(!o||o.hidden)return null;var i=$t(e.doc,t.line),s=aa(o,i,t.line),p=ct(i,e.doc.direction),A="left";if(p){var F=Pe(p,t.ch);A=F%2?"right":"left"}var z=yo(s.map,t.ch,A);return z.offset=z.collapse=="right"?z.end:z.start,z}function lu(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function cs(e,t){return t&&(e.bad=!0),e}function uu(e,t,o,i,s){var p="",A=!1,F=e.doc.lineSeparator(),z=!1;function J(nt){return function(Dt){return Dt.id==nt}}function Ae(){A&&(p+=F,z&&(p+=F),A=z=!1)}function Oe(nt){nt&&(Ae(),p+=nt)}function dt(nt){if(nt.nodeType==1){var Dt=nt.getAttribute("cm-text");if(Dt){Oe(Dt);return}var Zt=nt.getAttribute("cm-marker"),en;if(Zt){var pn=e.findMarks(me(i,0),me(s+1,0),J(+Zt));pn.length&&(en=pn[0].find(0))&&Oe(On(e.doc,en.from,en.to).join(F));return}if(nt.getAttribute("contenteditable")=="false")return;var xn=/^(pre|div|p|li|table|br)$/i.test(nt.nodeName);if(!/^br$/i.test(nt.nodeName)&&nt.textContent.length==0)return;xn&&Ae();for(var hn=0;hn<nt.childNodes.length;hn++)dt(nt.childNodes[hn]);/^(pre|p)$/i.test(nt.nodeName)&&(z=!0),xn&&(A=!0)}else nt.nodeType==3&&Oe(nt.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;dt(t),t!=o;)t=t.nextSibling,z=!1;return p}function _s(e,t,o){var i;if(t==e.display.lineDiv){if(i=e.display.lineDiv.childNodes[o],!i)return cs(e.clipPos(me(e.display.viewTo-1)),!0);t=null,o=0}else for(i=t;;i=i.parentNode){if(!i||i==e.display.lineDiv)return null;if(i.parentNode&&i.parentNode==e.display.lineDiv)break}for(var s=0;s<e.display.view.length;s++){var p=e.display.view[s];if(p.node==i)return cu(p,t,o)}}function cu(e,t,o){var i=e.text.firstChild,s=!1;if(!t||!le(i,t))return cs(me(De(e.line),0),!0);if(t==i&&(s=!0,t=i.childNodes[o],o=0,!t)){var p=e.rest?vt(e.rest):e.line;return cs(me(De(p),p.text.length),s)}var A=t.nodeType==3?t:null,F=t;for(!A&&t.childNodes.length==1&&t.firstChild.nodeType==3&&(A=t.firstChild,o&&(o=A.nodeValue.length));F.parentNode!=i;)F=F.parentNode;var z=e.measure,J=z.maps;function Ae(en,pn,xn){for(var hn=-1;hn<(J?J.length:0);hn++)for(var In=hn<0?z.map:J[hn],ir=0;ir<In.length;ir+=3){var Yn=In[ir+2];if(Yn==en||Yn==pn){var Hr=De(hn<0?e.line:e.rest[hn]),ya=In[ir]+xn;return(xn<0||Yn!=en)&&(ya=In[ir+(xn?1:0)]),me(Hr,ya)}}}var Oe=Ae(A,F,o);if(Oe)return cs(Oe,s);for(var dt=F.nextSibling,nt=A?A.nodeValue.length-o:0;dt;dt=dt.nextSibling){if(Oe=Ae(dt,dt.firstChild,0),Oe)return cs(me(Oe.line,Oe.ch-nt),s);nt+=dt.textContent.length}for(var Dt=F.previousSibling,Zt=o;Dt;Dt=Dt.previousSibling){if(Oe=Ae(Dt,Dt.firstChild,-1),Oe)return cs(me(Oe.line,Oe.ch+Zt),s);Zt+=Dt.textContent.length}}var Ha=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new M,this.hasSelection=!1,this.composing=null};Ha.prototype.init=function(e){var t=this,o=this,i=this.cm;this.createField(e);var s=this.textarea;e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),ce&&(s.style.width="0px"),pe(s,"input",function(){k&&d>=9&&t.hasSelection&&(t.hasSelection=null),o.poll()}),pe(s,"paste",function(A){et(i,A)||vl(A,i)||(i.state.pasteIncoming=+new Date,o.fastPoll())});function p(A){if(!et(i,A)){if(i.somethingSelected())Os({lineWise:!1,text:i.getSelections()});else if(i.options.lineWiseCopyCut){var F=El(i);Os({lineWise:!0,text:F.text}),A.type=="cut"?i.setSelections(F.ranges,null,we):(o.prevInput="",s.value=F.text.join(`
`),Ie(s))}else return;A.type=="cut"&&(i.state.cutIncoming=+new Date)}}pe(s,"cut",p),pe(s,"copy",p),pe(e.scroller,"paste",function(A){if(!(ua(e,A)||et(i,A))){if(!s.dispatchEvent){i.state.pasteIncoming=+new Date,o.focus();return}var F=new Event("paste");F.clipboardData=A.clipboardData,s.dispatchEvent(F)}}),pe(e.lineSpace,"selectstart",function(A){ua(e,A)||Et(A)}),pe(s,"compositionstart",function(){var A=i.getCursor("from");o.composing&&o.composing.range.clear(),o.composing={start:A,range:i.markText(A,i.getCursor("to"),{className:"CodeMirror-composing"})}}),pe(s,"compositionend",function(){o.composing&&(o.poll(),o.composing.range.clear(),o.composing=null)})},Ha.prototype.createField=function(e){this.wrapper=Tl(),this.textarea=this.wrapper.firstChild},Ha.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},Ha.prototype.prepareSelection=function(){var e=this.cm,t=e.display,o=e.doc,i=Oo(e);if(e.options.moveInputWithCursor){var s=fa(e,o.sel.primary().head,"div"),p=t.wrapper.getBoundingClientRect(),A=t.lineDiv.getBoundingClientRect();i.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,s.top+A.top-p.top)),i.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,s.left+A.left-p.left))}return i},Ha.prototype.showSelection=function(e){var t=this.cm,o=t.display;Z(o.cursorDiv,e.cursors),Z(o.selectionDiv,e.selection),e.teTop!=null&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},Ha.prototype.reset=function(e){if(!(this.contextMenuPending||this.composing)){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var o=t.getSelection();this.textarea.value=o,t.state.focused&&Ie(this.textarea),k&&d>=9&&(this.hasSelection=o)}else e||(this.prevInput=this.textarea.value="",k&&d>=9&&(this.hasSelection=null))}},Ha.prototype.getField=function(){return this.textarea},Ha.prototype.supportsTouch=function(){return!1},Ha.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!te||ne()!=this.textarea))try{this.textarea.focus()}catch(e){}},Ha.prototype.blur=function(){this.textarea.blur()},Ha.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ha.prototype.receivedFocus=function(){this.slowPoll()},Ha.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},Ha.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0;function o(){var i=t.poll();!i&&!e?(e=!0,t.polling.set(60,o)):(t.pollingFast=!1,t.slowPoll())}t.polling.set(20,o)},Ha.prototype.poll=function(){var e=this,t=this.cm,o=this.textarea,i=this.prevInput;if(this.contextMenuPending||!t.state.focused||Vt(o)&&!i&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var s=o.value;if(s==i&&!t.somethingSelected())return!1;if(k&&d>=9&&this.hasSelection===s||X&&/[\uf700-\uf7ff]/.test(s))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var p=s.charCodeAt(0);if(p==8203&&!i&&(i="\u200B"),p==8666)return this.reset(),this.cm.execCommand("undo")}for(var A=0,F=Math.min(i.length,s.length);A<F&&i.charCodeAt(A)==s.charCodeAt(A);)++A;return ei(t,function(){Ws(t,s.slice(A),i.length-A,null,e.composing?"*compose":null),s.length>1e3||s.indexOf(`
`)>-1?o.value=e.prevInput="":e.prevInput=s,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ha.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ha.prototype.onKeyPress=function(){k&&d>=9&&(this.hasSelection=null),this.fastPoll()},Ha.prototype.onContextMenu=function(e){var t=this,o=t.cm,i=o.display,s=t.textarea;t.contextMenuPending&&t.contextMenuPending();var p=mi(o,e),A=i.scroller.scrollTop;if(!p||I)return;var F=o.options.resetSelectionOnContextMenu;F&&o.doc.sel.contains(p)==-1&&La(o,a)(o.doc,na(p),we);var z=s.style.cssText,J=t.wrapper.style.cssText,Ae=t.wrapper.offsetParent.getBoundingClientRect();t.wrapper.style.cssText="position: static",s.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(e.clientY-Ae.top-5)+"px; left: "+(e.clientX-Ae.left-5)+`px;
z-index: 1000; background: `+(k?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Oe;N&&(Oe=window.scrollY),i.input.focus(),N&&window.scrollTo(null,Oe),i.input.reset(),o.somethingSelected()||(s.value=t.prevInput=" "),t.contextMenuPending=nt,i.selForContextMenu=o.doc.sel,clearTimeout(i.detectingSelectAll);function dt(){if(s.selectionStart!=null){var Zt=o.somethingSelected(),en="\u200B"+(Zt?s.value:"");s.value="\u21DA",s.value=en,t.prevInput=Zt?"":"\u200B",s.selectionStart=1,s.selectionEnd=en.length,i.selForContextMenu=o.doc.sel}}function nt(){if(t.contextMenuPending==nt&&(t.contextMenuPending=!1,t.wrapper.style.cssText=J,s.style.cssText=z,k&&d<9&&i.scrollbars.setScrollTop(i.scroller.scrollTop=A),s.selectionStart!=null)){(!k||k&&d<9)&&dt();var Zt=0,en=function(){i.selForContextMenu==o.doc.sel&&s.selectionStart==0&&s.selectionEnd>0&&t.prevInput=="\u200B"?La(o,Nt)(o):Zt++<10?i.detectingSelectAll=setTimeout(en,500):(i.selForContextMenu=null,i.input.reset())};i.detectingSelectAll=setTimeout(en,200)}}if(k&&d>=9&&dt(),B){Gt(e);var Dt=function(){rt(window,"mouseup",Dt),setTimeout(nt,20)};pe(window,"mouseup",Dt)}else setTimeout(nt,50)},Ha.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},Ha.prototype.setUneditable=function(){},Ha.prototype.needsContentAttribute=!1;function du(e,t){if(t=t?Be(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),t.autofocus==null){var o=ne();t.autofocus=o==e||e.getAttribute("autofocus")!=null&&o==document.body}function i(){e.value=F.getValue()}var s;if(e.form&&(pe(e.form,"submit",i),!t.leaveSubmitMethodAlone)){var p=e.form;s=p.submit;try{var A=p.submit=function(){i(),p.submit=s,p.submit(),p.submit=A}}catch(z){}}t.finishInit=function(z){z.save=i,z.getTextArea=function(){return e},z.toTextArea=function(){z.toTextArea=isNaN,i(),e.parentNode.removeChild(z.getWrapperElement()),e.style.display="",e.form&&(rt(e.form,"submit",i),!t.leaveSubmitMethodAlone&&typeof e.form.submit=="function"&&(e.form.submit=s))}},e.style.display="none";var F=Na(function(z){return e.parentNode.insertBefore(z,e.nextSibling)},t);return F}function fu(e){e.off=rt,e.on=pe,e.wheelEventPixels=xr,e.Doc=Mi,e.splitLines=gn,e.countColumn=oe,e.findColumn=Rt,e.isWordChar=C,e.Pass=Me,e.signal=$e,e.Line=Er,e.changeEnd=Jr,e.scrollbarModel=ci,e.Pos=me,e.cmpPos=St,e.modes=An,e.mimeModes=Dn,e.resolveMode=Ln,e.getMode=Vn,e.modeExtensions=Ar,e.extendMode=Ir,e.copyState=Kn,e.startState=Mn,e.innerMode=Cn,e.commands=Ts,e.keyMap=Uo,e.keyName=al,e.isModifierKey=nl,e.lookupKey=ss,e.normalizeKeyMap=zl,e.StringStream=zn,e.SharedTextMarker=ys,e.TextMarker=Ko,e.LineWidget=vs,e.e_preventDefault=Et,e.e_stopPropagation=At,e.e_stop=Gt,e.addClass=ge,e.contains=le,e.rmClass=ee,e.keyNames=jo}ru(Na),su(Na);var pu="iter insert remove copy getEditor constructor".split(" ");for(var Ds in Mi.prototype)Mi.prototype.hasOwnProperty(Ds)&&L(pu,Ds)<0&&(Na.prototype[Ds]=function(e){return function(){return e.apply(this.doc,arguments)}}(Mi.prototype[Ds]));return Q(Mi),Na.inputStyles={textarea:Ha,contenteditable:ma},Na.defineMode=function(e){!Na.defaults.mode&&e!="null"&&(Na.defaults.mode=e),ln.apply(this,arguments)},Na.defineMIME=Lr,Na.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Na.defineMIME("text/plain","null"),Na.defineExtension=function(e,t){Na.prototype[e]=t},Na.defineDocExtension=function(e,t){Mi.prototype[e]=t},Na.fromTextArea=du,fu(Na),Na.version="5.58.2",Na})},25419:function(x,c,r){(function(u){u(r(89780),r(15525),r(98101))})(function(u){"use strict";u.defineMode("markdown",function(E,m){var b=u.getMode(E,"text/html"),k=b.name=="null";function d(oe){if(u.findModeByName){var M=u.findModeByName(oe);M&&(oe=M.mime||M.mimes[0])}var L=u.getMode(E,oe);return L.name=="null"?null:L}m.highlightFormatting===void 0&&(m.highlightFormatting=!1),m.maxBlockquoteDepth===void 0&&(m.maxBlockquoteDepth=0),m.taskLists===void 0&&(m.taskLists=!1),m.strikethrough===void 0&&(m.strikethrough=!1),m.emoji===void 0&&(m.emoji=!1),m.fencedCodeBlockHighlighting===void 0&&(m.fencedCodeBlockHighlighting=!0),m.fencedCodeBlockDefaultMode===void 0&&(m.fencedCodeBlockDefaultMode="text/plain"),m.xml===void 0&&(m.xml=!0),m.tokenTypeOverrides===void 0&&(m.tokenTypeOverrides={});var N={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var H in N)N.hasOwnProperty(H)&&m.tokenTypeOverrides[H]&&(N[H]=m.tokenTypeOverrides[H]);var O=/^([*\-_])(?:\s*\1){2,}\s*$/,I=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,ie=/^\[(x| )\](?=\s)/i,G=m.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,be=/^ {0,3}(?:\={1,}|-{2,})\s*$/,ce=/^[^#!\[\]*_\\<>` "'(~:]+/,ue=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,te=/^\s*\[[^\]]+?\]:.*$/,X=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,q=" ";function W(oe,M,L){return M.f=M.inline=L,L(oe,M)}function Y(oe,M,L){return M.f=M.block=L,L(oe,M)}function P(oe){return!oe||!/\S/.test(oe.string)}function B(oe){if(oe.linkTitle=!1,oe.linkHref=!1,oe.linkText=!1,oe.em=!1,oe.strong=!1,oe.strikethrough=!1,oe.quote=0,oe.indentedCode=!1,oe.f==ee){var M=k;if(!M){var L=u.innerMode(b,oe.htmlState);M=L.mode.name=="xml"&&L.state.tagStart===null&&!L.state.context&&L.state.tokenize.isInText}M&&(oe.f=re,oe.block=_,oe.htmlState=null)}return oe.trailingSpace=0,oe.trailingSpaceNewLine=!1,oe.prevLine=oe.thisLine,oe.thisLine={stream:null},null}function _(oe,M){var L=oe.column()===M.indentation,xe=P(M.prevLine.stream),Me=M.indentedCode,we=M.prevLine.hr,Tt=M.list!==!1,ut=(M.listStack[M.listStack.length-1]||0)+3;M.indentedCode=!1;var Rt=M.indentation;if(M.indentationDiff===null&&(M.indentationDiff=M.indentation,Tt)){for(M.list=null;Rt<M.listStack[M.listStack.length-1];)M.listStack.pop(),M.listStack.length?M.indentation=M.listStack[M.listStack.length-1]:M.list=!1;M.list!==!1&&(M.indentationDiff=Rt-M.listStack[M.listStack.length-1])}var He=!xe&&!we&&!M.prevLine.header&&(!Tt||!Me)&&!M.prevLine.fencedCodeEnd,bt=(M.list===!1||we||xe)&&M.indentation<=ut&&oe.match(O),vt=null;if(M.indentationDiff>=4&&(Me||M.prevLine.fencedCodeEnd||M.prevLine.header||xe))return oe.skipToEnd(),M.indentedCode=!0,N.code;if(oe.eatSpace())return null;if(L&&M.indentation<=ut&&(vt=oe.match(G))&&vt[1].length<=6)return M.quote=0,M.header=vt[1].length,M.thisLine.header=!0,m.highlightFormatting&&(M.formatting="header"),M.f=M.inline,Z(M);if(M.indentation<=ut&&oe.eat(">"))return M.quote=L?1:M.quote+1,m.highlightFormatting&&(M.formatting="quote"),oe.eatSpace(),Z(M);if(!bt&&!M.setext&&L&&M.indentation<=ut&&(vt=oe.match(I))){var Mt=vt[1]?"ol":"ul";return M.indentation=Rt+oe.current().length,M.list=!0,M.quote=0,M.listStack.push(M.indentation),M.em=!1,M.strong=!1,M.code=!1,M.strikethrough=!1,m.taskLists&&oe.match(ie,!1)&&(M.taskList=!0),M.f=M.inline,m.highlightFormatting&&(M.formatting=["list","list-"+Mt]),Z(M)}else{if(L&&M.indentation<=ut&&(vt=oe.match(ue,!0)))return M.quote=0,M.fencedEndRE=new RegExp(vt[1]+"+ *$"),M.localMode=m.fencedCodeBlockHighlighting&&d(vt[2]||m.fencedCodeBlockDefaultMode),M.localMode&&(M.localState=u.startState(M.localMode)),M.f=M.block=de,m.highlightFormatting&&(M.formatting="code-block"),M.code=-1,Z(M);if(M.setext||(!He||!Tt)&&!M.quote&&M.list===!1&&!M.code&&!bt&&!te.test(oe.string)&&(vt=oe.lookAhead(1))&&(vt=vt.match(be)))return M.setext?(M.header=M.setext,M.setext=0,oe.skipToEnd(),m.highlightFormatting&&(M.formatting="header")):(M.header=vt[0].charAt(0)=="="?1:2,M.setext=M.header),M.thisLine.header=!0,M.f=M.inline,Z(M);if(bt)return oe.skipToEnd(),M.hr=!0,M.thisLine.hr=!0,N.hr;if(oe.peek()==="[")return W(oe,M,Re)}return W(oe,M,M.inline)}function ee(oe,M){var L=b.token(oe,M.htmlState);if(!k){var xe=u.innerMode(b,M.htmlState);(xe.mode.name=="xml"&&xe.state.tagStart===null&&!xe.state.context&&xe.state.tokenize.isInText||M.md_inside&&oe.current().indexOf(">")>-1)&&(M.f=re,M.block=_,M.htmlState=null)}return L}function de(oe,M){var L=M.listStack[M.listStack.length-1]||0,xe=M.indentation<L,Me=L+3;if(M.fencedEndRE&&M.indentation<=Me&&(xe||oe.match(M.fencedEndRE))){m.highlightFormatting&&(M.formatting="code-block");var we;return xe||(we=Z(M)),M.localMode=M.localState=null,M.block=_,M.f=re,M.fencedEndRE=null,M.code=0,M.thisLine.fencedCodeEnd=!0,xe?Y(oe,M,M.block):we}else return M.localMode?M.localMode.token(oe,M.localState):(oe.skipToEnd(),N.code)}function Z(oe){var M=[];if(oe.formatting){M.push(N.formatting),typeof oe.formatting=="string"&&(oe.formatting=[oe.formatting]);for(var L=0;L<oe.formatting.length;L++)M.push(N.formatting+"-"+oe.formatting[L]),oe.formatting[L]==="header"&&M.push(N.formatting+"-"+oe.formatting[L]+"-"+oe.header),oe.formatting[L]==="quote"&&(!m.maxBlockquoteDepth||m.maxBlockquoteDepth>=oe.quote?M.push(N.formatting+"-"+oe.formatting[L]+"-"+oe.quote):M.push("error"))}if(oe.taskOpen)return M.push("meta"),M.length?M.join(" "):null;if(oe.taskClosed)return M.push("property"),M.length?M.join(" "):null;if(oe.linkHref?M.push(N.linkHref,"url"):(oe.strong&&M.push(N.strong),oe.em&&M.push(N.em),oe.strikethrough&&M.push(N.strikethrough),oe.emoji&&M.push(N.emoji),oe.linkText&&M.push(N.linkText),oe.code&&M.push(N.code),oe.image&&M.push(N.image),oe.imageAltText&&M.push(N.imageAltText,"link"),oe.imageMarker&&M.push(N.imageMarker)),oe.header&&M.push(N.header,N.header+"-"+oe.header),oe.quote&&(M.push(N.quote),!m.maxBlockquoteDepth||m.maxBlockquoteDepth>=oe.quote?M.push(N.quote+"-"+oe.quote):M.push(N.quote+"-"+m.maxBlockquoteDepth)),oe.list!==!1){var xe=(oe.listStack.length-1)%3;xe?xe===1?M.push(N.list2):M.push(N.list3):M.push(N.list1)}return oe.trailingSpaceNewLine?M.push("trailing-space-new-line"):oe.trailingSpace&&M.push("trailing-space-"+(oe.trailingSpace%2?"a":"b")),M.length?M.join(" "):null}function fe(oe,M){if(oe.match(ce,!0))return Z(M)}function re(oe,M){var L=M.text(oe,M);if(typeof L!="undefined")return L;if(M.list)return M.list=null,Z(M);if(M.taskList){var xe=oe.match(ie,!0)[1]===" ";return xe?M.taskOpen=!0:M.taskClosed=!0,m.highlightFormatting&&(M.formatting="task"),M.taskList=!1,Z(M)}if(M.taskOpen=!1,M.taskClosed=!1,M.header&&oe.match(/^#+$/,!0))return m.highlightFormatting&&(M.formatting="header"),Z(M);var Me=oe.next();if(M.linkTitle){M.linkTitle=!1;var we=Me;Me==="("&&(we=")"),we=(we+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Tt="^\\s*(?:[^"+we+"\\\\]+|\\\\\\\\|\\\\.)"+we;if(oe.match(new RegExp(Tt),!0))return N.linkHref}if(Me==="`"){var ut=M.formatting;m.highlightFormatting&&(M.formatting="code"),oe.eatWhile("`");var Rt=oe.current().length;if(M.code==0&&(!M.quote||Rt==1))return M.code=Rt,Z(M);if(Rt==M.code){var He=Z(M);return M.code=0,He}else return M.formatting=ut,Z(M)}else if(M.code)return Z(M);if(Me==="\\"&&(oe.next(),m.highlightFormatting)){var bt=Z(M),vt=N.formatting+"-escape";return bt?bt+" "+vt:vt}if(Me==="!"&&oe.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return M.imageMarker=!0,M.image=!0,m.highlightFormatting&&(M.formatting="image"),Z(M);if(Me==="["&&M.imageMarker&&oe.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return M.imageMarker=!1,M.imageAltText=!0,m.highlightFormatting&&(M.formatting="image"),Z(M);if(Me==="]"&&M.imageAltText){m.highlightFormatting&&(M.formatting="image");var bt=Z(M);return M.imageAltText=!1,M.image=!1,M.inline=M.f=le,bt}if(Me==="["&&!M.image)return M.linkText&&oe.match(/^.*?\]/)||(M.linkText=!0,m.highlightFormatting&&(M.formatting="link")),Z(M);if(Me==="]"&&M.linkText){m.highlightFormatting&&(M.formatting="link");var bt=Z(M);return M.linkText=!1,M.inline=M.f=oe.match(/\(.*?\)| ?\[.*?\]/,!1)?le:re,bt}if(Me==="<"&&oe.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){M.f=M.inline=V,m.highlightFormatting&&(M.formatting="link");var bt=Z(M);return bt?bt+=" ":bt="",bt+N.linkInline}if(Me==="<"&&oe.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){M.f=M.inline=V,m.highlightFormatting&&(M.formatting="link");var bt=Z(M);return bt?bt+=" ":bt="",bt+N.linkEmail}if(m.xml&&Me==="<"&&oe.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Mt=oe.string.indexOf(">",oe.pos);if(Mt!=-1){var Ut=oe.string.substring(oe.start,Mt);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Ut)&&(M.md_inside=!0)}return oe.backUp(1),M.htmlState=u.startState(b),Y(oe,M,ee)}if(m.xml&&Me==="<"&&oe.match(/^\/\w*?>/))return M.md_inside=!1,"tag";if(Me==="*"||Me==="_"){for(var R=1,h=oe.pos==1?" ":oe.string.charAt(oe.pos-2);R<3&&oe.eat(Me);)R++;var f=oe.peek()||" ",C=!/\s/.test(f)&&(!X.test(f)||/\s/.test(h)||X.test(h)),D=!/\s/.test(h)&&(!X.test(h)||/\s/.test(f)||X.test(f)),v=null,U=null;if(R%2&&(!M.em&&C&&(Me==="*"||!D||X.test(h))?v=!0:M.em==Me&&D&&(Me==="*"||!C||X.test(f))&&(v=!1)),R>1&&(!M.strong&&C&&(Me==="*"||!D||X.test(h))?U=!0:M.strong==Me&&D&&(Me==="*"||!C||X.test(f))&&(U=!1)),U!=null||v!=null){m.highlightFormatting&&(M.formatting=v==null?"strong":U==null?"em":"strong em"),v===!0&&(M.em=Me),U===!0&&(M.strong=Me);var He=Z(M);return v===!1&&(M.em=!1),U===!1&&(M.strong=!1),He}}else if(Me===" "&&(oe.eat("*")||oe.eat("_"))){if(oe.peek()===" ")return Z(M);oe.backUp(1)}if(m.strikethrough){if(Me==="~"&&oe.eatWhile(Me)){if(M.strikethrough){m.highlightFormatting&&(M.formatting="strikethrough");var He=Z(M);return M.strikethrough=!1,He}else if(oe.match(/^[^\s]/,!1))return M.strikethrough=!0,m.highlightFormatting&&(M.formatting="strikethrough"),Z(M)}else if(Me===" "&&oe.match(/^~~/,!0)){if(oe.peek()===" ")return Z(M);oe.backUp(2)}}if(m.emoji&&Me===":"&&oe.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){M.emoji=!0,m.highlightFormatting&&(M.formatting="emoji");var Ne=Z(M);return M.emoji=!1,Ne}return Me===" "&&(oe.match(/^ +$/,!1)?M.trailingSpace++:M.trailingSpace&&(M.trailingSpaceNewLine=!0)),Z(M)}function V(oe,M){var L=oe.next();if(L===">"){M.f=M.inline=re,m.highlightFormatting&&(M.formatting="link");var xe=Z(M);return xe?xe+=" ":xe="",xe+N.linkInline}return oe.match(/^[^>]+/,!0),N.linkInline}function le(oe,M){if(oe.eatSpace())return null;var L=oe.next();return L==="("||L==="["?(M.f=M.inline=ge(L==="("?")":"]"),m.highlightFormatting&&(M.formatting="link-string"),M.linkHref=!0,Z(M)):"error"}var ne={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function ge(oe){return function(M,L){var xe=M.next();if(xe===oe){L.f=L.inline=re,m.highlightFormatting&&(L.formatting="link-string");var Me=Z(L);return L.linkHref=!1,Me}return M.match(ne[oe]),L.linkHref=!0,Z(L)}}function Re(oe,M){return oe.match(/^([^\]\\]|\\.)*\]:/,!1)?(M.f=Ie,oe.next(),m.highlightFormatting&&(M.formatting="link"),M.linkText=!0,Z(M)):W(oe,M,re)}function Ie(oe,M){if(oe.match(/^\]:/,!0)){M.f=M.inline=ke,m.highlightFormatting&&(M.formatting="link");var L=Z(M);return M.linkText=!1,L}return oe.match(/^([^\]\\]|\\.)+/,!0),N.linkText}function ke(oe,M){return oe.eatSpace()?null:(oe.match(/^[^\s]+/,!0),oe.peek()===void 0?M.linkTitle=!0:oe.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),M.f=M.inline=re,N.linkHref+" url")}var Be={startState:function(){return{f:_,prevLine:{stream:null},thisLine:{stream:null},block:_,htmlState:null,indentation:0,inline:re,text:fe,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(oe){return{f:oe.f,prevLine:oe.prevLine,thisLine:oe.thisLine,block:oe.block,htmlState:oe.htmlState&&u.copyState(b,oe.htmlState),indentation:oe.indentation,localMode:oe.localMode,localState:oe.localMode?u.copyState(oe.localMode,oe.localState):null,inline:oe.inline,text:oe.text,formatting:!1,linkText:oe.linkText,linkTitle:oe.linkTitle,linkHref:oe.linkHref,code:oe.code,em:oe.em,strong:oe.strong,strikethrough:oe.strikethrough,emoji:oe.emoji,header:oe.header,setext:oe.setext,hr:oe.hr,taskList:oe.taskList,list:oe.list,listStack:oe.listStack.slice(0),quote:oe.quote,indentedCode:oe.indentedCode,trailingSpace:oe.trailingSpace,trailingSpaceNewLine:oe.trailingSpaceNewLine,md_inside:oe.md_inside,fencedEndRE:oe.fencedEndRE}},token:function(oe,M){if(M.formatting=!1,oe!=M.thisLine.stream){if(M.header=0,M.hr=!1,oe.match(/^\s*$/,!0))return B(M),null;if(M.prevLine=M.thisLine,M.thisLine={stream:oe},M.taskList=!1,M.trailingSpace=0,M.trailingSpaceNewLine=!1,!M.localState&&(M.f=M.block,M.f!=ee)){var L=oe.match(/^\s*/,!0)[0].replace(/\t/g,q).length;if(M.indentation=L,M.indentationDiff=null,L>0)return null}}return M.f(oe,M)},innerMode:function(oe){return oe.block==ee?{state:oe.htmlState,mode:b}:oe.localState?{state:oe.localState,mode:oe.localMode}:{state:oe,mode:Be}},indent:function(oe,M,L){return oe.block==ee&&b.indent?b.indent(oe.htmlState,M,L):oe.localState&&oe.localMode.indent?oe.localMode.indent(oe.localState,M,L):u.Pass},blankLine:B,getType:Z,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Be},"xml"),u.defineMIME("text/markdown","markdown"),u.defineMIME("text/x-markdown","markdown")})},98101:function(x,c,r){(function(u){u(r(89780))})(function(u){"use strict";u.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var E=0;E<u.modeInfo.length;E++){var m=u.modeInfo[E];m.mimes&&(m.mime=m.mimes[0])}u.findModeByMIME=function(b){b=b.toLowerCase();for(var k=0;k<u.modeInfo.length;k++){var d=u.modeInfo[k];if(d.mime==b)return d;if(d.mimes){for(var N=0;N<d.mimes.length;N++)if(d.mimes[N]==b)return d}}if(/\+xml$/.test(b))return u.findModeByMIME("application/xml");if(/\+json$/.test(b))return u.findModeByMIME("application/json")},u.findModeByExtension=function(b){b=b.toLowerCase();for(var k=0;k<u.modeInfo.length;k++){var d=u.modeInfo[k];if(d.ext){for(var N=0;N<d.ext.length;N++)if(d.ext[N]==b)return d}}},u.findModeByFileName=function(b){for(var k=0;k<u.modeInfo.length;k++){var d=u.modeInfo[k];if(d.file&&d.file.test(b))return d}var N=b.lastIndexOf("."),H=N>-1&&b.substring(N+1,b.length);if(H)return u.findModeByExtension(H)},u.findModeByName=function(b){b=b.toLowerCase();for(var k=0;k<u.modeInfo.length;k++){var d=u.modeInfo[k];if(d.name.toLowerCase()==b)return d;if(d.alias){for(var N=0;N<d.alias.length;N++)if(d.alias[N].toLowerCase()==b)return d}}}})},67549:function(x,c,r){(function(u){u(r(89780))})(function(u){"use strict";u.defineMode("stex",function(E,m){"use strict";function b(ce,ue){ce.cmdState.push(ue)}function k(ce){return ce.cmdState.length>0?ce.cmdState[ce.cmdState.length-1]:null}function d(ce){var ue=ce.cmdState.pop();ue&&ue.closeBracket()}function N(ce){for(var ue=ce.cmdState,te=ue.length-1;te>=0;te--){var X=ue[te];if(X.name!="DEFAULT")return X}return{styleIdentifier:function(){return null}}}function H(ce,ue,te){return function(){this.name=ce,this.bracketNo=0,this.style=ue,this.styles=te,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var O={};O.importmodule=H("importmodule","tag",["string","builtin"]),O.documentclass=H("documentclass","tag",["","atom"]),O.usepackage=H("usepackage","tag",["atom"]),O.begin=H("begin","tag",["atom"]),O.end=H("end","tag",["atom"]),O.label=H("label","tag",["atom"]),O.ref=H("ref","tag",["atom"]),O.eqref=H("eqref","tag",["atom"]),O.cite=H("cite","tag",["atom"]),O.bibitem=H("bibitem","tag",["atom"]),O.Bibitem=H("Bibitem","tag",["atom"]),O.RBibitem=H("RBibitem","tag",["atom"]),O.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function I(ce,ue){ce.f=ue}function ie(ce,ue){var te;if(ce.match(/^\\[a-zA-Z@]+/)){var X=ce.current().slice(1);return te=O.hasOwnProperty(X)?O[X]:O.DEFAULT,te=new te,b(ue,te),I(ue,be),te.style}if(ce.match(/^\\[$&%#{}_]/)||ce.match(/^\\[,;!\/\\]/))return"tag";if(ce.match("\\["))return I(ue,function(W,Y){return G(W,Y,"\\]")}),"keyword";if(ce.match("\\("))return I(ue,function(W,Y){return G(W,Y,"\\)")}),"keyword";if(ce.match("$$"))return I(ue,function(W,Y){return G(W,Y,"$$")}),"keyword";if(ce.match("$"))return I(ue,function(W,Y){return G(W,Y,"$")}),"keyword";var q=ce.next();if(q=="%")return ce.skipToEnd(),"comment";if(q=="}"||q=="]"){if(te=k(ue),te)te.closeBracket(q),I(ue,be);else return"error";return"bracket"}else return q=="{"||q=="["?(te=O.DEFAULT,te=new te,b(ue,te),"bracket"):/\d/.test(q)?(ce.eatWhile(/[\w.%]/),"atom"):(ce.eatWhile(/[\w\-_]/),te=N(ue),te.name=="begin"&&(te.argument=ce.current()),te.styleIdentifier())}function G(ce,ue,te){if(ce.eatSpace())return null;if(te&&ce.match(te))return I(ue,ie),"keyword";if(ce.match(/^\\[a-zA-Z@]+/))return"tag";if(ce.match(/^[a-zA-Z]+/))return"variable-2";if(ce.match(/^\\[$&%#{}_]/)||ce.match(/^\\[,;!\/]/)||ce.match(/^[\^_&]/))return"tag";if(ce.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(ce.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var X=ce.next();return X=="{"||X=="}"||X=="["||X=="]"||X=="("||X==")"?"bracket":X=="%"?(ce.skipToEnd(),"comment"):"error"}function be(ce,ue){var te=ce.peek(),X;return te=="{"||te=="["?(X=k(ue),X.openBracket(te),ce.eat(te),I(ue,ie),"bracket"):/[ \t\r]/.test(te)?(ce.eat(te),null):(I(ue,ie),d(ue),ie(ce,ue))}return{startState:function(){var ce=m.inMathMode?function(ue,te){return G(ue,te)}:ie;return{cmdState:[],f:ce}},copyState:function(ce){return{cmdState:ce.cmdState.slice(),f:ce.f}},token:function(ce,ue){return ue.f(ce,ue)},blankLine:function(ce){ce.f=ie,ce.cmdState.length=0},lineComment:"%"}}),u.defineMIME("text/x-stex","stex"),u.defineMIME("text/x-latex","stex")})},15525:function(x,c,r){(function(u){u(r(89780))})(function(u){"use strict";var E={autoSelfClosers:{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},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{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}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},m={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};u.defineMode("xml",function(b,k){var d=b.indentUnit,N={},H=k.htmlMode?E:m;for(var O in H)N[O]=H[O];for(var O in k)N[O]=k[O];var I,ie;function G(V,le){function ne(Ie){return le.tokenize=Ie,Ie(V,le)}var ge=V.next();if(ge=="<")return V.eat("!")?V.eat("[")?V.match("CDATA[")?ne(ue("atom","]]>")):null:V.match("--")?ne(ue("comment","-->")):V.match("DOCTYPE",!0,!0)?(V.eatWhile(/[\w\._\-]/),ne(te(1))):null:V.eat("?")?(V.eatWhile(/[\w\._\-]/),le.tokenize=ue("meta","?>"),"meta"):(I=V.eat("/")?"closeTag":"openTag",le.tokenize=be,"tag bracket");if(ge=="&"){var Re;return V.eat("#")?V.eat("x")?Re=V.eatWhile(/[a-fA-F\d]/)&&V.eat(";"):Re=V.eatWhile(/[\d]/)&&V.eat(";"):Re=V.eatWhile(/[\w\.\-:]/)&&V.eat(";"),Re?"atom":"error"}else return V.eatWhile(/[^&<]/),null}G.isInText=!0;function be(V,le){var ne=V.next();if(ne==">"||ne=="/"&&V.eat(">"))return le.tokenize=G,I=ne==">"?"endTag":"selfcloseTag","tag bracket";if(ne=="=")return I="equals",null;if(ne=="<"){le.tokenize=G,le.state=Y,le.tagName=le.tagStart=null;var ge=le.tokenize(V,le);return ge?ge+" tag error":"tag error"}else return/[\'\"]/.test(ne)?(le.tokenize=ce(ne),le.stringStartCol=V.column(),le.tokenize(V,le)):(V.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function ce(V){var le=function(ne,ge){for(;!ne.eol();)if(ne.next()==V){ge.tokenize=be;break}return"string"};return le.isInAttribute=!0,le}function ue(V,le){return function(ne,ge){for(;!ne.eol();){if(ne.match(le)){ge.tokenize=G;break}ne.next()}return V}}function te(V){return function(le,ne){for(var ge;(ge=le.next())!=null;){if(ge=="<")return ne.tokenize=te(V+1),ne.tokenize(le,ne);if(ge==">")if(V==1){ne.tokenize=G;break}else return ne.tokenize=te(V-1),ne.tokenize(le,ne)}return"meta"}}function X(V,le,ne){this.prev=V.context,this.tagName=le,this.indent=V.indented,this.startOfLine=ne,(N.doNotIndent.hasOwnProperty(le)||V.context&&V.context.noIndent)&&(this.noIndent=!0)}function q(V){V.context&&(V.context=V.context.prev)}function W(V,le){for(var ne;;){if(!V.context||(ne=V.context.tagName,!N.contextGrabbers.hasOwnProperty(ne)||!N.contextGrabbers[ne].hasOwnProperty(le)))return;q(V)}}function Y(V,le,ne){return V=="openTag"?(ne.tagStart=le.column(),P):V=="closeTag"?B:Y}function P(V,le,ne){return V=="word"?(ne.tagName=le.current(),ie="tag",de):N.allowMissingTagName&&V=="endTag"?(ie="tag bracket",de(V,le,ne)):(ie="error",P)}function B(V,le,ne){if(V=="word"){var ge=le.current();return ne.context&&ne.context.tagName!=ge&&N.implicitlyClosed.hasOwnProperty(ne.context.tagName)&&q(ne),ne.context&&ne.context.tagName==ge||N.matchClosing===!1?(ie="tag",_):(ie="tag error",ee)}else return N.allowMissingTagName&&V=="endTag"?(ie="tag bracket",_(V,le,ne)):(ie="error",ee)}function _(V,le,ne){return V!="endTag"?(ie="error",_):(q(ne),Y)}function ee(V,le,ne){return ie="error",_(V,le,ne)}function de(V,le,ne){if(V=="word")return ie="attribute",Z;if(V=="endTag"||V=="selfcloseTag"){var ge=ne.tagName,Re=ne.tagStart;return ne.tagName=ne.tagStart=null,V=="selfcloseTag"||N.autoSelfClosers.hasOwnProperty(ge)?W(ne,ge):(W(ne,ge),ne.context=new X(ne,ge,Re==ne.indented)),Y}return ie="error",de}function Z(V,le,ne){return V=="equals"?fe:(N.allowMissing||(ie="error"),de(V,le,ne))}function fe(V,le,ne){return V=="string"?re:V=="word"&&N.allowUnquoted?(ie="string",de):(ie="error",de(V,le,ne))}function re(V,le,ne){return V=="string"?re:de(V,le,ne)}return{startState:function(V){var le={tokenize:G,state:Y,indented:V||0,tagName:null,tagStart:null,context:null};return V!=null&&(le.baseIndent=V),le},token:function(V,le){if(!le.tagName&&V.sol()&&(le.indented=V.indentation()),V.eatSpace())return null;I=null;var ne=le.tokenize(V,le);return(ne||I)&&ne!="comment"&&(ie=null,le.state=le.state(I||ne,V,le),ie&&(ne=ie=="error"?ne+" error":ie)),ne},indent:function(V,le,ne){var ge=V.context;if(V.tokenize.isInAttribute)return V.tagStart==V.indented?V.stringStartCol+1:V.indented+d;if(ge&&ge.noIndent)return u.Pass;if(V.tokenize!=be&&V.tokenize!=G)return ne?ne.match(/^(\s*)/)[0].length:0;if(V.tagName)return N.multilineTagIndentPastTag!==!1?V.tagStart+V.tagName.length+2:V.tagStart+d*(N.multilineTagIndentFactor||1);if(N.alignCDATA&&/<!\[CDATA\[/.test(le))return 0;var Re=le&&/^<(\/)?([\w_:\.-]*)/.exec(le);if(Re&&Re[1])for(;ge;)if(ge.tagName==Re[2]){ge=ge.prev;break}else if(N.implicitlyClosed.hasOwnProperty(ge.tagName))ge=ge.prev;else break;else if(Re)for(;ge;){var Ie=N.contextGrabbers[ge.tagName];if(Ie&&Ie.hasOwnProperty(Re[2]))ge=ge.prev;else break}for(;ge&&ge.prev&&!ge.startOfLine;)ge=ge.prev;return ge?ge.indent+d:V.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:N.htmlMode?"html":"xml",helperType:N.htmlMode?"html":"xml",skipAttribute:function(V){V.state==fe&&(V.state=de)},xmlCurrentTag:function(V){return V.tagName?{name:V.tagName,close:V.type=="closeTag"}:null},xmlCurrentContext:function(V){for(var le=[],ne=V.context;ne;ne=ne.prev)ne.tagName&&le.push(ne.tagName);return le.reverse()}}}),u.defineMIME("text/xml","xml"),u.defineMIME("application/xml","xml"),u.mimeModes.hasOwnProperty("text/html")||u.defineMIME("text/html",{name:"xml",htmlMode:!0})})},58951:function(x,c){"use strict";var r;c.Q=b,r=k;var u=",",E=" ",m="";function b(d){for(var N=[],H=String(d||m),O=H.indexOf(u),I=0,ie=!1,G;!ie;)O===-1&&(O=H.length,ie=!0),G=H.slice(I,O).trim(),(G||!ie)&&N.push(G),I=O+1,O=H.indexOf(u,I);return N}function k(d,N){var H=N||{},O=H.padLeft===!1?m:E,I=H.padRight?E:m;return d[d.length-1]===m&&(d=d.concat(m)),d.join(I+u+O).trim()}},86204:function(x){"use strict";var c=typeof Reflect=="object"?Reflect:null,r=c&&typeof c.apply=="function"?c.apply:function(Y,P,B){return Function.prototype.apply.call(Y,P,B)},u;c&&typeof c.ownKeys=="function"?u=c.ownKeys:Object.getOwnPropertySymbols?u=function(Y){return Object.getOwnPropertyNames(Y).concat(Object.getOwnPropertySymbols(Y))}:u=function(Y){return Object.getOwnPropertyNames(Y)};function E(W){console&&console.warn&&console.warn(W)}var m=Number.isNaN||function(Y){return Y!==Y};function b(){b.init.call(this)}x.exports=b,x.exports.once=te,b.EventEmitter=b,b.prototype._events=void 0,b.prototype._eventsCount=0,b.prototype._maxListeners=void 0;var k=10;function d(W){if(typeof W!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof W)}Object.defineProperty(b,"defaultMaxListeners",{enumerable:!0,get:function(){return k},set:function(W){if(typeof W!="number"||W<0||m(W))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+W+".");k=W}}),b.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},b.prototype.setMaxListeners=function(Y){if(typeof Y!="number"||Y<0||m(Y))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+Y+".");return this._maxListeners=Y,this};function N(W){return W._maxListeners===void 0?b.defaultMaxListeners:W._maxListeners}b.prototype.getMaxListeners=function(){return N(this)},b.prototype.emit=function(Y){for(var P=[],B=1;B<arguments.length;B++)P.push(arguments[B]);var _=Y==="error",ee=this._events;if(ee!==void 0)_=_&&ee.error===void 0;else if(!_)return!1;if(_){var de;if(P.length>0&&(de=P[0]),de instanceof Error)throw de;var Z=new Error("Unhandled error."+(de?" ("+de.message+")":""));throw Z.context=de,Z}var fe=ee[Y];if(fe===void 0)return!1;if(typeof fe=="function")r(fe,this,P);else for(var re=fe.length,V=be(fe,re),B=0;B<re;++B)r(V[B],this,P);return!0};function H(W,Y,P,B){var _,ee,de;if(d(P),ee=W._events,ee===void 0?(ee=W._events=Object.create(null),W._eventsCount=0):(ee.newListener!==void 0&&(W.emit("newListener",Y,P.listener?P.listener:P),ee=W._events),de=ee[Y]),de===void 0)de=ee[Y]=P,++W._eventsCount;else if(typeof de=="function"?de=ee[Y]=B?[P,de]:[de,P]:B?de.unshift(P):de.push(P),_=N(W),_>0&&de.length>_&&!de.warned){de.warned=!0;var Z=new Error("Possible EventEmitter memory leak detected. "+de.length+" "+String(Y)+" listeners added. Use emitter.setMaxListeners() to increase limit");Z.name="MaxListenersExceededWarning",Z.emitter=W,Z.type=Y,Z.count=de.length,E(Z)}return W}b.prototype.addListener=function(Y,P){return H(this,Y,P,!1)},b.prototype.on=b.prototype.addListener,b.prototype.prependListener=function(Y,P){return H(this,Y,P,!0)};function O(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function I(W,Y,P){var B={fired:!1,wrapFn:void 0,target:W,type:Y,listener:P},_=O.bind(B);return _.listener=P,B.wrapFn=_,_}b.prototype.once=function(Y,P){return d(P),this.on(Y,I(this,Y,P)),this},b.prototype.prependOnceListener=function(Y,P){return d(P),this.prependListener(Y,I(this,Y,P)),this},b.prototype.removeListener=function(Y,P){var B,_,ee,de,Z;if(d(P),_=this._events,_===void 0)return this;if(B=_[Y],B===void 0)return this;if(B===P||B.listener===P)--this._eventsCount===0?this._events=Object.create(null):(delete _[Y],_.removeListener&&this.emit("removeListener",Y,B.listener||P));else if(typeof B!="function"){for(ee=-1,de=B.length-1;de>=0;de--)if(B[de]===P||B[de].listener===P){Z=B[de].listener,ee=de;break}if(ee<0)return this;ee===0?B.shift():ce(B,ee),B.length===1&&(_[Y]=B[0]),_.removeListener!==void 0&&this.emit("removeListener",Y,Z||P)}return this},b.prototype.off=b.prototype.removeListener,b.prototype.removeAllListeners=function(Y){var P,B,_;if(B=this._events,B===void 0)return this;if(B.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):B[Y]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete B[Y]),this;if(arguments.length===0){var ee=Object.keys(B),de;for(_=0;_<ee.length;++_)de=ee[_],de!=="removeListener"&&this.removeAllListeners(de);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(P=B[Y],typeof P=="function")this.removeListener(Y,P);else if(P!==void 0)for(_=P.length-1;_>=0;_--)this.removeListener(Y,P[_]);return this};function ie(W,Y,P){var B=W._events;if(B===void 0)return[];var _=B[Y];return _===void 0?[]:typeof _=="function"?P?[_.listener||_]:[_]:P?ue(_):be(_,_.length)}b.prototype.listeners=function(Y){return ie(this,Y,!0)},b.prototype.rawListeners=function(Y){return ie(this,Y,!1)},b.listenerCount=function(W,Y){return typeof W.listenerCount=="function"?W.listenerCount(Y):G.call(W,Y)},b.prototype.listenerCount=G;function G(W){var Y=this._events;if(Y!==void 0){var P=Y[W];if(typeof P=="function")return 1;if(P!==void 0)return P.length}return 0}b.prototype.eventNames=function(){return this._eventsCount>0?u(this._events):[]};function be(W,Y){for(var P=new Array(Y),B=0;B<Y;++B)P[B]=W[B];return P}function ce(W,Y){for(;Y+1<W.length;Y++)W[Y]=W[Y+1];W.pop()}function ue(W){for(var Y=new Array(W.length),P=0;P<Y.length;++P)Y[P]=W[P].listener||W[P];return Y}function te(W,Y){return new Promise(function(P,B){function _(de){W.removeListener(Y,ee),B(de)}function ee(){typeof W.removeListener=="function"&&W.removeListener("error",_),P([].slice.call(arguments))}q(W,Y,ee,{once:!0}),Y!=="error"&&X(W,_,{once:!0})})}function X(W,Y,P){typeof W.on=="function"&&q(W,"error",Y,P)}function q(W,Y,P,B){if(typeof W.on=="function")B.once?W.once(Y,P):W.on(Y,P);else if(typeof W.addEventListener=="function")W.addEventListener(Y,function _(ee){B.once&&W.removeEventListener(Y,_),P(ee)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof W)}},58847:function(x){"use strict";var c=Object.prototype.hasOwnProperty,r=Object.prototype.toString,u=Object.defineProperty,E=Object.getOwnPropertyDescriptor,m=function(H){return typeof Array.isArray=="function"?Array.isArray(H):r.call(H)==="[object Array]"},b=function(H){if(!H||r.call(H)!=="[object Object]")return!1;var O=c.call(H,"constructor"),I=H.constructor&&H.constructor.prototype&&c.call(H.constructor.prototype,"isPrototypeOf");if(H.constructor&&!O&&!I)return!1;var ie;for(ie in H);return typeof ie=="undefined"||c.call(H,ie)},k=function(H,O){u&&O.name==="__proto__"?u(H,O.name,{enumerable:!0,configurable:!0,value:O.newValue,writable:!0}):H[O.name]=O.newValue},d=function(H,O){if(O==="__proto__")if(c.call(H,O)){if(E)return E(H,O).value}else return;return H[O]};x.exports=function N(){var H,O,I,ie,G,be,ce=arguments[0],ue=1,te=arguments.length,X=!1;for(typeof ce=="boolean"&&(X=ce,ce=arguments[1]||{},ue=2),(ce==null||typeof ce!="object"&&typeof ce!="function")&&(ce={});ue<te;++ue)if(H=arguments[ue],H!=null)for(O in H)I=d(ce,O),ie=d(H,O),ce!==ie&&(X&&ie&&(b(ie)||(G=m(ie)))?(G?(G=!1,be=I&&m(I)?I:[]):be=I&&b(I)?I:{},k(ce,{name:O,newValue:N(X,be,ie)})):typeof ie!="undefined"&&k(ce,{name:O,newValue:ie}));return ce}},46963:function(x){"use strict";x.exports=r;var c=/[#.]/g;function r(u,E){for(var m=u||"",b=E||"div",k={},d=0,N,H,O;d<m.length;)c.lastIndex=d,O=c.exec(m),N=m.slice(d,O?O.index:m.length),N&&(H?H==="#"?k.id=N:k.className?k.className.push(N):k.className=[N]:b=N,d+=N.length),O&&(H=O[0],d++);return{type:"element",tagName:b,properties:k,children:[]}}},5641:function(x,c,r){"use strict";var u=r(88914),E=r(47178),m=r(46963),b=r(92848).Q,k=r(58951).Q;x.exports=N;var d={}.hasOwnProperty;function N(ue,te,X){var q=X?ce(X):null;return W;function W(P,B){var _=m(P,te),ee=Array.prototype.slice.call(arguments,2),de=_.tagName.toLowerCase(),Z;if(_.tagName=q&&d.call(q,de)?q[de]:de,B&&H(B,_)&&(ee.unshift(B),B=null),B)for(Z in B)Y(_.properties,Z,B[Z]);return I(_.children,ee),_.tagName==="template"&&(_.content={type:"root",children:_.children},_.children=[]),_}function Y(P,B,_){var ee,de,Z;_==null||_!==_||(ee=u(ue,B),de=ee.property,Z=_,typeof Z=="string"&&(ee.spaceSeparated?Z=b(Z):ee.commaSeparated?Z=k(Z):ee.commaOrSpaceSeparated&&(Z=b(k(Z).join(" ")))),de==="style"&&typeof _!="string"&&(Z=be(Z)),de==="className"&&P.className&&(Z=P.className.concat(Z)),P[de]=ie(ee,de,Z))}}function H(ue,te){return typeof ue=="string"||"length"in ue||O(te.tagName,ue)}function O(ue,te){var X=te.type;return ue==="input"||!X||typeof X!="string"?!1:typeof te.children=="object"&&"length"in te.children?!0:(X=X.toLowerCase(),ue==="button"?X!=="menu"&&X!=="submit"&&X!=="reset"&&X!=="button":"value"in te)}function I(ue,te){var X,q;if(typeof te=="string"||typeof te=="number"){ue.push({type:"text",value:String(te)});return}if(typeof te=="object"&&"length"in te){for(X=-1,q=te.length;++X<q;)I(ue,te[X]);return}if(typeof te!="object"||!("type"in te))throw new Error("Expected node, nodes, or string, got `"+te+"`");ue.push(te)}function ie(ue,te,X){var q,W,Y;if(typeof X!="object"||!("length"in X))return G(ue,te,X);for(W=X.length,q=-1,Y=[];++q<W;)Y[q]=G(ue,te,X[q]);return Y}function G(ue,te,X){var q=X;return ue.number||ue.positiveNumber?!isNaN(q)&&q!==""&&(q=Number(q)):(ue.boolean||ue.overloadedBoolean)&&typeof q=="string"&&(q===""||E(X)===E(te))&&(q=!0),q}function be(ue){var te=[],X;for(X in ue)te.push([X,ue[X]].join(": "));return te.join("; ")}function ce(ue){for(var te=ue.length,X=-1,q={},W;++X<te;)W=ue[X],q[W.toLowerCase()]=W;return q}},82073:function(x,c,r){"use strict";var u=r(18795),E=r(5641),m=E(u,"div");m.displayName="html",x.exports=m},43621:function(x,c,r){"use strict";x.exports=r(82073)},93193:function(x){var c=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,u=/^\s*/,E=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,m=/^:\s*/,b=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,k=/^[;\s]*/,d=/^\s+|\s+$/g,N=`
`,H="/",O="*",I="",ie="comment",G="declaration";x.exports=function(ce,ue){if(typeof ce!="string")throw new TypeError("First argument must be a string");if(!ce)return[];ue=ue||{};var te=1,X=1;function q(V){var le=V.match(r);le&&(te+=le.length);var ne=V.lastIndexOf(N);X=~ne?V.length-ne:X+V.length}function W(){var V={line:te,column:X};return function(le){return le.position=new Y(V),ee(),le}}function Y(V){this.start=V,this.end={line:te,column:X},this.source=ue.source}Y.prototype.content=ce;var P=[];function B(V){var le=new Error(ue.source+":"+te+":"+X+": "+V);if(le.reason=V,le.filename=ue.source,le.line=te,le.column=X,le.source=ce,ue.silent)P.push(le);else throw le}function _(V){var le=V.exec(ce);if(le){var ne=le[0];return q(ne),ce=ce.slice(ne.length),le}}function ee(){_(u)}function de(V){var le;for(V=V||[];le=Z();)le!==!1&&V.push(le);return V}function Z(){var V=W();if(!(H!=ce.charAt(0)||O!=ce.charAt(1))){for(var le=2;I!=ce.charAt(le)&&(O!=ce.charAt(le)||H!=ce.charAt(le+1));)++le;if(le+=2,I===ce.charAt(le-1))return B("End of comment missing");var ne=ce.slice(2,le-2);return X+=2,q(ne),ce=ce.slice(le),X+=2,V({type:ie,comment:ne})}}function fe(){var V=W(),le=_(E);if(le){if(Z(),!_(m))return B("property missing ':'");var ne=_(b),ge=V({type:G,property:be(le[0].replace(c,I)),value:ne?be(ne[0].replace(c,I)):I});return _(k),ge}}function re(){var V=[];de(V);for(var le;le=fe();)le!==!1&&(V.push(le),de(V));return V}return ee(),re()};function be(ce){return ce?ce.replace(d,I):I}},91241:function(x){"use strict";x.exports=c;function c(r){var u=typeof r=="string"?r.charCodeAt(0):r;return u>=97&&u<=122||u>=65&&u<=90}},21127:function(x,c,r){"use strict";var u=r(91241),E=r(22347);x.exports=m;function m(b){return u(b)||E(b)}},22347:function(x){"use strict";x.exports=c;function c(r){var u=typeof r=="string"?r.charCodeAt(0):r;return u>=48&&u<=57}},65207:function(x){"use strict";x.exports=c;function c(r){var u=typeof r=="string"?r.charCodeAt(0):r;return u>=97&&u<=102||u>=65&&u<=70||u>=48&&u<=57}},24334:function(x,c,r){var u,E;(function(m,b){x.exports=b(m)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof r.g!="undefined"?r.g:this,function(m){"use strict";m=m||{};var b=m.Base64,k="2.6.4",d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",N=function(ne){for(var ge={},Re=0,Ie=ne.length;Re<Ie;Re++)ge[ne.charAt(Re)]=Re;return ge}(d),H=String.fromCharCode,O=function(ne){if(ne.length<2){var ge=ne.charCodeAt(0);return ge<128?ne:ge<2048?H(192|ge>>>6)+H(128|ge&63):H(224|ge>>>12&15)+H(128|ge>>>6&63)+H(128|ge&63)}else{var ge=65536+(ne.charCodeAt(0)-55296)*1024+(ne.charCodeAt(1)-56320);return H(240|ge>>>18&7)+H(128|ge>>>12&63)+H(128|ge>>>6&63)+H(128|ge&63)}},I=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ie=function(ne){return ne.replace(I,O)},G=function(ne){var ge=[0,2,1][ne.length%3],Re=ne.charCodeAt(0)<<16|(ne.length>1?ne.charCodeAt(1):0)<<8|(ne.length>2?ne.charCodeAt(2):0),Ie=[d.charAt(Re>>>18),d.charAt(Re>>>12&63),ge>=2?"=":d.charAt(Re>>>6&63),ge>=1?"=":d.charAt(Re&63)];return Ie.join("")},be=m.btoa&&typeof m.btoa=="function"?function(ne){return m.btoa(ne)}:function(ne){if(ne.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return ne.replace(/[\s\S]{1,3}/g,G)},ce=function(ne){return be(ie(String(ne)))},ue=function(ne){return ne.replace(/[+\/]/g,function(ge){return ge=="+"?"-":"_"}).replace(/=/g,"")},te=function(ne,ge){return ge?ue(ce(ne)):ce(ne)},X=function(ne){return te(ne,!0)},q;m.Uint8Array&&(q=function(ne,ge){for(var Re="",Ie=0,ke=ne.length;Ie<ke;Ie+=3){var Be=ne[Ie],oe=ne[Ie+1],M=ne[Ie+2],L=Be<<16|oe<<8|M;Re+=d.charAt(L>>>18)+d.charAt(L>>>12&63)+(typeof oe!="undefined"?d.charAt(L>>>6&63):"=")+(typeof M!="undefined"?d.charAt(L&63):"=")}return ge?ue(Re):Re});var W=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Y=function(ne){switch(ne.length){case 4:var ge=(7&ne.charCodeAt(0))<<18|(63&ne.charCodeAt(1))<<12|(63&ne.charCodeAt(2))<<6|63&ne.charCodeAt(3),Re=ge-65536;return H((Re>>>10)+55296)+H((Re&1023)+56320);case 3:return H((15&ne.charCodeAt(0))<<12|(63&ne.charCodeAt(1))<<6|63&ne.charCodeAt(2));default:return H((31&ne.charCodeAt(0))<<6|63&ne.charCodeAt(1))}},P=function(ne){return ne.replace(W,Y)},B=function(ne){var ge=ne.length,Re=ge%4,Ie=(ge>0?N[ne.charAt(0)]<<18:0)|(ge>1?N[ne.charAt(1)]<<12:0)|(ge>2?N[ne.charAt(2)]<<6:0)|(ge>3?N[ne.charAt(3)]:0),ke=[H(Ie>>>16),H(Ie>>>8&255),H(Ie&255)];return ke.length-=[0,0,2,1][Re],ke.join("")},_=m.atob&&typeof m.atob=="function"?function(ne){return m.atob(ne)}:function(ne){return ne.replace(/\S{1,4}/g,B)},ee=function(ne){return _(String(ne).replace(/[^A-Za-z0-9\+\/]/g,""))},de=function(ne){return P(_(ne))},Z=function(ne){return String(ne).replace(/[-_]/g,function(ge){return ge=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},fe=function(ne){return de(Z(ne))},re;m.Uint8Array&&(re=function(ne){return Uint8Array.from(ee(Z(ne)),function(ge){return ge.charCodeAt(0)})});var V=function(){var ne=m.Base64;return m.Base64=b,ne};if(m.Base64={VERSION:k,atob:ee,btoa:be,fromBase64:fe,toBase64:te,utob:ie,encode:te,encodeURI:X,btou:P,decode:fe,noConflict:V,fromUint8Array:q,toUint8Array:re},typeof Object.defineProperty=="function"){var le=function(ne){return{value:ne,enumerable:!1,writable:!0,configurable:!0}};m.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",le(function(){return fe(this)})),Object.defineProperty(String.prototype,"toBase64",le(function(ne){return te(this,ne)})),Object.defineProperty(String.prototype,"toBase64URI",le(function(){return te(this,!0)}))}}return m.Meteor&&(Base64=m.Base64),x.exports?x.exports.Base64=m.Base64:(u=[],E=function(){return m.Base64}.apply(c,u),E!==void 0&&(x.exports=E)),{Base64:m.Base64}})},2859:function(x,c,r){"use strict";r.d(c,{hP:function(){return Ut}});var u=function(R,h){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,C){f.__proto__=C}||function(f,C){for(var D in C)Object.prototype.hasOwnProperty.call(C,D)&&(f[D]=C[D])})(R,h)};function E(R,h){function f(){this.constructor=R}u(R,h),R.prototype=h===null?Object.create(h):(f.prototype=h.prototype,new f)}function m(R,h,f,C){return new(f||(f=Promise))(function(D,v){function U(lt){try{ot(C.next(lt))}catch(Se){v(Se)}}function Ne(lt){try{ot(C.throw(lt))}catch(Se){v(Se)}}function ot(lt){var Se;lt.done?D(lt.value):(Se=lt.value,Se instanceof f?Se:new f(function(Fe){Fe(Se)})).then(U,Ne)}ot((C=C.apply(R,h||[])).next())})}function b(R,h){var f,C,D,v,U={label:0,sent:function(){if(1&D[0])throw D[1];return D[1]},trys:[],ops:[]};return v={next:Ne(0),throw:Ne(1),return:Ne(2)},typeof Symbol=="function"&&(v[Symbol.iterator]=function(){return this}),v;function Ne(ot){return function(lt){return function(Se){if(f)throw new TypeError("Generator is already executing.");for(;U;)try{if(f=1,C&&(D=2&Se[0]?C.return:Se[0]?C.throw||((D=C.return)&&D.call(C),0):C.next)&&!(D=D.call(C,Se[1])).done)return D;switch(C=0,D&&(Se=[2&Se[0],D.value]),Se[0]){case 0:case 1:D=Se;break;case 4:return U.label++,{value:Se[1],done:!1};case 5:U.label++,C=Se[1],Se=[0];continue;case 7:Se=U.ops.pop(),U.trys.pop();continue;default:if(D=U.trys,!((D=D.length>0&&D[D.length-1])||Se[0]!==6&&Se[0]!==2)){U=0;continue}if(Se[0]===3&&(!D||Se[1]>D[0]&&Se[1]<D[3])){U.label=Se[1];break}if(Se[0]===6&&U.label<D[1]){U.label=D[1],D=Se;break}if(D&&U.label<D[2]){U.label=D[2],U.ops.push(Se);break}D[2]&&U.ops.pop(),U.trys.pop();continue}Se=h.call(R,U)}catch(Fe){Se=[6,Fe],C=0}finally{f=D=0}if(5&Se[0])throw Se[1];return{value:Se[0]?Se[1]:void 0,done:!0}}([ot,lt])}}}function k(){for(var R=0,h=0,f=arguments.length;h<f;h++)R+=arguments[h].length;var C=Array(R),D=0;for(h=0;h<f;h++)for(var v=arguments[h],U=0,Ne=v.length;U<Ne;U++,D++)C[D]=v[U];return C}var d=function(){function R(){}return R.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},R.setAttributes=function(h,f){for(var C=0,D=f;C<D.length;C++){var v=D[C],U=v[0],Ne=v[1];h.setAttribute(U,Ne)}},R.createRect=function(h,f,C){var D=document.createElementNS("http://www.w3.org/2000/svg","rect");return D.setAttribute("width",h.toString()),D.setAttribute("height",f.toString()),C&&R.setAttributes(D,C),D},R.createLine=function(h,f,C,D,v){var U=document.createElementNS("http://www.w3.org/2000/svg","line");return U.setAttribute("x1",h.toString()),U.setAttribute("y1",f.toString()),U.setAttribute("x2",C.toString()),U.setAttribute("y2",D.toString()),v&&R.setAttributes(U,v),U},R.createPolygon=function(h,f){var C=document.createElementNS("http://www.w3.org/2000/svg","polygon");return C.setAttribute("points",h),f&&R.setAttributes(C,f),C},R.createCircle=function(h,f){var C=document.createElementNS("http://www.w3.org/2000/svg","circle");return C.setAttribute("cx",(h/2).toString()),C.setAttribute("cy",(h/2).toString()),C.setAttribute("r",h.toString()),f&&R.setAttributes(C,f),C},R.createEllipse=function(h,f,C){var D=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return D.setAttribute("cx",(h/2).toString()),D.setAttribute("cy",(f/2).toString()),D.setAttribute("rx",(h/2).toString()),D.setAttribute("ry",(f/2).toString()),C&&R.setAttributes(D,C),D},R.createGroup=function(h){var f=document.createElementNS("http://www.w3.org/2000/svg","g");return h&&R.setAttributes(f,h),f},R.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},R.createMarker=function(h,f,C,D,v,U,Ne){var ot=document.createElementNS("http://www.w3.org/2000/svg","marker");return R.setAttributes(ot,[["id",h],["orient",f],["markerWidth",C.toString()],["markerHeight",D.toString()],["refX",v.toString()],["refY",U.toString()]]),ot.appendChild(Ne),ot},R.createText=function(h){var f=document.createElementNS("http://www.w3.org/2000/svg","text");return f.setAttribute("x","0"),f.setAttribute("y","0"),h&&R.setAttributes(f,h),f},R.createTSpan=function(h,f){var C=document.createElementNS("http://www.w3.org/2000/svg","tspan");return C.textContent=h,f&&R.setAttributes(C,f),C},R.createImage=function(h){var f=document.createElementNS("http://www.w3.org/2000/svg","image");return h&&R.setAttributes(f,h),f},R.createPoint=function(h,f){var C=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return C.x=h,C.y=f,C},R.createPath=function(h,f){var C=document.createElementNS("http://www.w3.org/2000/svg","path");return C.setAttribute("d",h),f&&R.setAttributes(C,f),C},R}(),N=function(){function R(){}return R.addKey=function(h){R.key=h},Object.defineProperty(R,"isLicensed",{get:function(){return!!R.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(R.key)},enumerable:!1,configurable:!0}),R}(),H=function(){function R(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return R.prototype.rasterize=function(h,f,C){var D=this;return new Promise(function(v){var U=C!==void 0?C:document.createElement("canvas");h===null&&(D.markersOnly=!0,D.naturalSize=!1);var Ne=document.createElementNS("http://www.w3.org/2000/svg","svg");Ne.setAttribute("xmlns","http://www.w3.org/2000/svg"),Ne.setAttribute("width",f.width.baseVal.valueAsString),Ne.setAttribute("height",f.height.baseVal.valueAsString),Ne.setAttribute("viewBox","0 0 "+f.viewBox.baseVal.width.toString()+" "+f.viewBox.baseVal.height.toString()),Ne.innerHTML=f.innerHTML,D.naturalSize===!0?(Ne.width.baseVal.value=h.naturalWidth,Ne.height.baseVal.value=h.naturalHeight):D.width!==void 0&&D.height!==void 0&&(Ne.width.baseVal.value=D.width,Ne.height.baseVal.value=D.height),U.width=Ne.width.baseVal.value,U.height=Ne.height.baseVal.value;var ot=Ne.outerHTML,lt=U.getContext("2d");D.markersOnly!==!0&&lt.drawImage(h,0,0,U.width,U.height);var Se=window.URL,Fe=new Image(U.width,U.height);Fe.setAttribute("crossOrigin","anonymous");var Pe=new Blob([ot],{type:"image/svg+xml"}),Qe=Se.createObjectURL(Pe);Fe.onload=function(){lt.drawImage(Fe,0,0),Se.revokeObjectURL(Qe);var ct=U.toDataURL(D.imageType,D.imageQuality);v(ct)},Fe.src=Qe})},R}(),O=function(){},I=function(){function R(h){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+h+"_"}return Object.defineProperty(R.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"defaultSettings",{get:function(){return{canvasBackgroundColor:"#ffffff",toolbarBackgroundColor:"#111111",toolbarBackgroundHoverColor:"#333333",toolbarColor:"#eeeeee",toolbarHeight:40,toolboxColor:"#eeeeee",toolboxAccentColor:"#3080c3",undoButtonVisible:!0,redoButtonVisible:!1,zoomButtonVisible:!1,zoomOutButtonVisible:!1,clearButtonVisible:!1,resultButtonBlockVisible:!0,logoPosition:"left"}},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),R.prototype.addClass=function(h){return this.styleSheet===void 0&&this.addStyleSheet(),h.name=""+this.classNamePrefix+h.localName,this.classes.push(h),this.styleSheet.sheet.insertRule("."+h.name+" {"+h.style+"}",this.styleSheet.sheet.cssRules.length),h},R.prototype.addRule=function(h){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(h),this.styleSheet.sheet.insertRule(h.selector+" {"+h.style+"}",this.styleSheet.sheet.cssRules.length)},R.prototype.addStyleSheet=function(){var h;this.styleSheet=document.createElement("style"),((h=this.styleSheetRoot)!==null&&h!==void 0?h:document.head).appendChild(this.styleSheet),this.addRule(new ie("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new ie("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
from {
opacity: 0;
}
to {
opacity: 1;
}
`)),this.addRule(new ie("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
from {
opacity: 1;
}
to {
opacity: 0;
}
`)),this.addClass(new G("fade_in",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
`)),this.addClass(new G("fade_out",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
`))},R.prototype.removeStyleSheet=function(){var h;this.styleSheet&&(((h=this.styleSheetRoot)!==null&&h!==void 0?h:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},R}(),ie=function(R,h){this.selector=R,this.style=h},G=function(R,h){this.localName=R,this.style=h},be=function(){function R(h,f,C,D,v){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=h,this.displayMode=f,this.markerItems=C,this.uiStyleSettings=D,this.styles=v,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return R.prototype.show=function(h){var f=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=h,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var C=document.createElement("div");C.className=this.toolbarBlockStyleClass.name,C.style.whiteSpace="nowrap",this.uiContainer.appendChild(C),this.addActionButton(C,'<svg viewBox="0 0 24 24"><path d="M10.07 14.27a.997.997 0 011.33.48l2.3 4.99 1.8-.85-2.31-4.98c-.24-.5-.02-1.1.48-1.33l.28-.08 2.3-.45L8 5.12V15.9l1.82-1.47.25-.16m3.57 7.7a.99.99 0 01-1.33-.47l-2.18-4.74-2.51 2.02c-.17.14-.38.22-.62.22a1 1 0 01-1-1V3a1 1 0 011-1c.24 0 .47.09.64.23l.01-.01 11.49 9.64a1.001 1.001 0 01-.44 1.75l-3.16.62 2.2 4.73c.26.5.02 1.09-.48 1.32l-3.62 1.69z"/></svg>',"select"),this.addActionButton(C,'<svg viewBox="0 0 24 24"><path d="M9 3v1H4v2h1v13a2 2 0 002 2h10a2 2 0 002-2V6h1V4h-5V3H9M7 6h10v13H7V6m2 2v9h2V8H9m4 0v9h2V8h-2z"/></svg>',"delete"),this.uiStyleSettings.clearButtonVisible&&this.addActionButton(C,'<svg viewBox="0 0 24 24"><path d="M19.36 2.72l1.42 1.42-5.72 5.71c1.07 1.54 1.22 3.39.32 4.59L9.06 8.12c1.2-.9 3.05-.75 4.59.32l5.71-5.72M5.93 17.57c-2.01-2.01-3.24-4.41-3.58-6.65l4.88-2.09 7.44 7.44-2.09 4.88c-2.24-.34-4.64-1.57-6.65-3.58z"/></svg>',"clear"),this.uiStyleSettings.undoButtonVisible&&this.addActionButton(C,'<svg viewBox="0 0 24 24"><path d="M12.5 8c-2.65 0-5.05 1-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"/></svg>',"undo"),this.uiStyleSettings.redoButtonVisible&&this.addActionButton(C,'<svg viewBox="0 0 24 24"><path d="M18.4 10.6C16.55 9 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16a8.002 8.002 0 017.6-5.5c1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"/></svg>',"redo"),this.uiStyleSettings.zoomButtonVisible&&this.addActionButton(C,'<svg viewBox="0 0 24 24"><path d="M15.5 14l5 5-1.5 1.5-5-5v-.79l-.27-.28A6.471 6.471 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3 6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.57 4.23l.28.27h.79m-6 0C12 14 14 12 14 9.5S12 5 9.5 5 5 7 5 9.5 7 14 9.5 14m2.5-4h-2v2H9v-2H7V9h2V7h1v2h2v1z"/></svg>',"zoom"),this.uiStyleSettings.zoomButtonVisible&&this.uiStyleSettings.zoomOutButtonVisible&&this.addActionButton(C,'<svg viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 009.5 3 6.5 6.5 0 003 9.5 6.5 6.5 0 009.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 5 1.5-1.5-5-5m-6 0C7 14 5 12 5 9.5S7 5 9.5 5 14 7 14 9.5 12 14 9.5 14M7 9h5v1H7V9z"/></svg>',"zoom-out"),this.uiStyleSettings.notesButtonVisible&&this.addActionButton(C,'<svg viewBox="0 0 24 24"><path d="M18.13 12l1.26-1.26c.44-.44 1-.68 1.61-.74V9l-6-6H5c-1.11 0-2 .89-2 2v14a2 2 0 002 2h6v-1.87l.13-.13H5V5h7v7h6.13M14 4.5l5.5 5.5H14V4.5m5.13 9.33l2.04 2.04L15.04 22H13v-2.04l6.13-6.13m3.72.36l-.98.98-2.04-2.04.98-.98c.19-.2.52-.2.72 0l1.32 1.32c.2.2.2.53 0 .72z"/></svg>',"notes"),this.markerButtonBlock=document.createElement("div"),this.markerButtonBlock.className=this.toolbarBlockStyleClass.name,this.markerButtonBlock.style.flexGrow="2",this.markerButtonBlock.style.textAlign="center",this.uiContainer.appendChild(this.markerButtonBlock),this.markerButtonOverflowBlock=document.createElement("div"),this.markerButtonOverflowBlock.className=this.toolbarOverflowBlockStyleClass.name+" "+(this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName?this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName:this.toolbarOverflowBlockStyleColorsClass.name),this.markerButtonOverflowBlock.style.display="none",this.uiContainer.appendChild(this.markerButtonOverflowBlock),this.markerItems&&(this.markerItems.forEach(function(v){var U=document.createElement("div");U.className=""+f.toolbarButtonStyleClass.name,U.setAttribute("data-type-name",v.typeName),U.innerHTML=v.icon,U.addEventListener("click",function(){f.markerToolbarButtonClicked(U,v)}),f.buttons.push(U),f.markerButtons.push(U)}),this.overflowButton=document.createElement("div"),this.overflowButton.className=this.toolbarButtonStyleClass.name+" "+(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name),this.overflowButton.innerHTML='<svg viewBox="0 0 24 24"><path d="M12 16a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2z"/></svg>',this.overflowButton.addEventListener("click",this.overflowButtonClicked),this.markerButtonBlock.appendChild(this.overflowButton));var D=document.createElement("div");D.className=this.toolbarBlockStyleClass.name,D.style.whiteSpace="nowrap",D.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(D),this.addActionButton(D,'<svg viewBox="0 0 24 24"><path d="M9 20.42l-6.21-6.21 2.83-2.83L9 14.77l9.88-9.89 2.83 2.83L9 20.42z"/></svg>',"render"),this.addActionButton(D,'<svg viewBox="0 0 24 24"><path d="M20 6.91L17.09 4 12 9.09 6.91 4 4 6.91 9.09 12 4 17.09 6.91 20 12 14.91 17.09 20 20 17.09 14.91 12 20 6.91z"/></svg>',"close"),this.markerjsContainer.appendChild(this.uiContainer),this.setSelectMode(),this.setCurrentMarker(),this.adjustLayout()},R.prototype.addButtonClickListener=function(h){this.buttonClickListeners.push(h)},R.prototype.removeButtonClickListener=function(h){this.buttonClickListeners.indexOf(h)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(h),1)},R.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},R.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var h=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var f=0;f<this.markerButtons.length;f++)f<h||f===h&&this.markerButtons.length-1===h?this.markerButtonBlock.appendChild(this.markerButtons[f]):(f===h&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[f]))}},R.prototype.overflowButtonClicked=function(){this.markerButtonOverflowBlock.style.display!=="none"?(this.markerButtonOverflowBlock.className=this.markerButtonOverflowBlock.className.replace(this.styles.fadeInAnimationClassName,""),this.markerButtonOverflowBlock.style.display="none"):(this.markerButtonOverflowBlock.className+=" "+this.styles.fadeInAnimationClassName,this.markerButtonOverflowBlock.style.top=this.uiContainer.offsetTop+this.overflowButton.offsetHeight+"px",this.markerButtonOverflowBlock.style.right=this.uiContainer.offsetWidth-this.overflowButton.offsetLeft-this.overflowButton.offsetWidth+2*this.uiContainer.offsetLeft+"px",this.markerButtonOverflowBlock.style.display="inline-block")},R.prototype.resetButtonStyles=function(){var h=this;this.buttons.forEach(function(f){f.className=f.className.replace(h.uiStyleSettings.toolbarButtonStyleColorsClassName?h.uiStyleSettings.toolbarButtonStyleColorsClassName:h.toolbarButtonStyleColorsClass.name,"").trim(),f.className=f.className.replace(h.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?h.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:h.toolbarActiveButtonStyleColorsClass.name,"").trim(),f.className+=" "+(h.uiStyleSettings.toolbarButtonStyleColorsClassName?h.uiStyleSettings.toolbarButtonStyleColorsClassName:h.toolbarButtonStyleColorsClass.name)})},R.prototype.addActionButton=function(h,f,C){var D=this,v=document.createElement("div");switch(v.className=""+this.toolbarButtonStyleClass.name,v.innerHTML=f,v.setAttribute("data-action",C),v.addEventListener("click",function(){D.actionToolbarButtonClicked(v,C)}),C){case"select":v.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":v.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":v.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":v.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":v.style.fill=this.uiStyleSettings.closeButtonColor}h.appendChild(v),this.buttons.push(v)},R.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new G("toolbar",`
width: 100%;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
height: `+this.uiStyleSettings.toolbarHeight+`px;
box-sizing: content-box;
`+(this.displayMode==="inline"?"border-top-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
`+(this.displayMode==="inline"?"border-top-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
overflow: hidden;
`)),this.toolbarStyleColorsClass=this.styles.addClass(new G("toolbar_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
`)),this.toolbarBlockStyleClass=this.styles.addClass(new G("toolbar-block",`
display: inline-block;
box-sizing: content-box;
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new G("toolbar-overflow-block",`
position: absolute;
top: `+this.uiStyleSettings.toolbarHeight+`px;
max-width: `+2*this.uiStyleSettings.toolbarHeight+`px;
z-index: 10;
box-sizing: content-box;
`)),this.toolbarOverflowBlockStyleColorsClass=this.styles.addClass(new G("toolbar-overflow-block_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`));var h=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new G("toolbar_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*h)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*h)+`px;
padding: `+h+`px;
box-sizing: content-box;
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new G("toolbar_button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new G("toolbar_active_button",`
fill: `+this.uiStyleSettings.toolbarColor+`;
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new ie("."+this.toolbarButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`)),this.styles.addRule(new ie("."+this.toolbarButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`))},R.prototype.markerToolbarButtonClicked=function(h,f){this.setActiveButton(h),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(C){return C("marker",f)}),this.markerButtonOverflowBlock.style.display="none"},R.prototype.actionToolbarButtonClicked=function(h,f){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(C){return C("action",f)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},R.prototype.setActiveButton=function(h){this.resetButtonStyles(),h.className=h.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),h.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},R.prototype.setActiveMarkerButton=function(h){var f=this.markerButtons.find(function(C){return C.getAttribute("data-type-name")===h});f&&this.setActiveButton(f)},R.prototype.setCurrentMarker=function(h){var f=this;this.currentMarker=h,this.buttons.filter(function(C){return/delete|notes/.test(C.getAttribute("data-action"))}).forEach(function(C){f.currentMarker===void 0?(C.style.fillOpacity="0.4",C.style.pointerEvents="none"):(C.style.fillOpacity="1",C.style.pointerEvents="all")})},R}(),ce=function(){function R(h,f,C,D){this.panels=[],this.panelButtons=[],this.markerjsContainer=h,this.displayMode=f,this.uiStyleSettings=C,this.styles=D,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return R.prototype.addStyles=function(){var h;this.toolboxStyleClass=this.styles.addClass(new G("toolbox",`
width: 100%;
flex-shrink: 0;
display: flex;
flex-direction: column;
font-family: sans-serif;
`+(this.displayMode==="popup"?"height:"+2.5*this.uiStyleSettings.toolbarHeight+"px;":"")+`
box-sizing: content-box;
`+(this.displayMode==="popup"?"background-color: "+this.uiStyleSettings.canvasBackgroundColor+";":"")+`
`+(this.displayMode==="inline"?"border-bottom-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
`+(this.displayMode==="inline"?"border-bottom-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
overflow: hidden;
`)),this.toolboxStyleColorsClass=this.styles.addClass(new G("toolbox_colors",`
color: `+this.uiStyleSettings.toolboxColor+`;
`));var f=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new G("toolbox-button-row",`
display: flex;
cursor: default;
box-sizing: content-box;
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new G("toolbox-button-row_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new G("toolbox-panel-row",`
display: flex;
`+(this.displayMode==="inline"?"position: absolute;":"")+`
`+(this.displayMode==="inline"?"bottom: "+this.uiStyleSettings.toolbarHeight+"px;":"")+`
cursor: default;
height: `+1.5*this.uiStyleSettings.toolbarHeight+`px;
`+(this.displayMode==="inline"?"width: 100%;":"")+`
box-sizing: content-box;
`)),this.toolboxPanelRowStyleColorsClass=this.styles.addClass(new G("toolbox-panel-row_colors",`
background-color: `+((h=this.uiStyleSettings.toolboxBackgroundColor)!==null&&h!==void 0?h:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
`)),this.toolboxButtonStyleClass=this.styles.addClass(new G("toolbox_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*f)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*f)+`px;
padding: `+f+`px;
box-sizing: content-box;
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new G("toolbox-button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new G("toolbox-active-button_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.styles.addRule(new ie("."+this.toolboxButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new ie("."+this.toolboxButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`))},R.prototype.show=function(h){var f;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=h,this.uiContainer.className=this.toolboxStyleClass.name+" "+((f=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&f!==void 0?f:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},R.prototype.setPanelButtons=function(h){var f,C,D=this;this.panels=h,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((f=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&f!==void 0?f:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((C=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&C!==void 0?C:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(v){var U;v.uiStyleSettings=D.uiStyleSettings;var Ne=document.createElement("div");Ne.className=D.toolboxButtonStyleClass.name+" "+((U=D.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&U!==void 0?U:D.toolboxButtonStyleColorsClass.name),Ne.innerHTML=v.icon,Ne.title=v.title,Ne.addEventListener("click",function(){D.panelButtonClick(v)}),D.panelButtons.push(Ne),D.buttonRow.appendChild(Ne)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},R.prototype.panelButtonClick=function(h){var f=this,C=-1;if(h!==this.activePanel){C=this.panels.indexOf(h),this.panelRow.innerHTML="";var D=h.getUi();D.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(D),this.panelRow.style.display="flex",this.panelRow.style.visibility="visible",this.panelRow.className=this.panelRow.className.replace(this.styles.fadeOutAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeInAnimationClassName,this.activePanel=h}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){f.displayMode==="inline"?f.panelRow.style.display="none":f.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(v,U){var Ne,ot;v.className=f.toolboxButtonStyleClass.name+" "+(U===C?""+((Ne=f.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&Ne!==void 0?Ne:f.toolboxActiveButtonStyleColorsClass.name):""+((ot=f.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&ot!==void 0?ot:f.toolboxButtonStyleColorsClass.name))})},R}(),ue=function(R,h){this.title=R,this.icon=h},te=function(R){function h(f,C,D,v){var U=R.call(this,f,v||'<svg viewBox="0 0 24 24"><path d="M17.5 12a1.5 1.5 0 01-1.5-1.5A1.5 1.5 0 0117.5 9a1.5 1.5 0 011.5 1.5 1.5 1.5 0 01-1.5 1.5m-3-4A1.5 1.5 0 0113 6.5 1.5 1.5 0 0114.5 5 1.5 1.5 0 0116 6.5 1.5 1.5 0 0114.5 8m-5 0A1.5 1.5 0 018 6.5 1.5 1.5 0 019.5 5 1.5 1.5 0 0111 6.5 1.5 1.5 0 019.5 8m-3 4A1.5 1.5 0 015 10.5 1.5 1.5 0 016.5 9 1.5 1.5 0 018 10.5 1.5 1.5 0 016.5 12M12 3a9 9 0 00-9 9 9 9 0 009 9 1.5 1.5 0 001.5-1.5c0-.39-.15-.74-.39-1-.23-.27-.38-.62-.38-1a1.5 1.5 0 011.5-1.5H16a5 5 0 005-5c0-4.42-4.03-8-9-8z"/></svg>')||this;return U.colors=[],U.addTransparent=!1,U.colorBoxes=[],U.colors=C,U.currentColor=D,U.setCurrentColor=U.setCurrentColor.bind(U),U.getColorBox=U.getColorBox.bind(U),U}return E(h,R),h.prototype.getUi=function(){var f=this,C=document.createElement("div");return C.style.overflow="hidden",C.style.whiteSpace="nowrap",this.colors.forEach(function(D){var v=f.getColorBox(D);C.appendChild(v),f.colorBoxes.push(v)}),C},h.prototype.getColorBox=function(f){var C=this,D=this.uiStyleSettings.toolbarHeight/4,v=this.uiStyleSettings.toolbarHeight-D,U=document.createElement("div");U.style.display="inline-block",U.style.boxSizing="content-box",U.style.width=v-2+"px",U.style.height=v-2+"px",U.style.padding="1px",U.style.marginRight="2px",U.style.marginBottom="2px",U.style.borderWidth="2px",U.style.borderStyle="solid",U.style.borderRadius=(v+2)/2+"px",U.style.borderColor=f===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",U.addEventListener("click",function(){C.setCurrentColor(f,U)});var Ne=document.createElement("div");return Ne.style.display="inline-block",Ne.style.width=v-2+"px",Ne.style.height=v-2+"px",Ne.style.backgroundColor=f,Ne.style.borderRadius=v/2+"px",f==="transparent"&&(Ne.style.fill=this.uiStyleSettings.toolboxAccentColor,Ne.innerHTML=`<svg viewBox="0 0 24 24">
<path d="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z" />
</svg>`),U.appendChild(Ne),U},h.prototype.setCurrentColor=function(f,C){var D=this;this.currentColor=f,this.colorBoxes.forEach(function(v){v.style.borderColor=v===C?D.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(f)},h}(ue),X=function(){function R(h,f,C){this._state="new",this._isSelected=!1,this._container=h,this._overlayContainer=f,this.globalSettings=C,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(R.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),R.prototype.ownsTarget=function(h){return!1},Object.defineProperty(R.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),R.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},R.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},R.prototype.pointerDown=function(h,f){},R.prototype.dblClick=function(h,f){},R.prototype.manipulate=function(h){},R.prototype.pointerUp=function(h){this.stateChanged()},R.prototype.dispose=function(){},R.prototype.addMarkerVisualToContainer=function(h){this.container.childNodes.length>0?this.container.insertBefore(h,this.container.childNodes[0]):this.container.appendChild(h)},R.prototype.getState=function(){return{typeName:R.typeName,state:this.state,notes:this.notes}},R.prototype.restoreState=function(h){this._state=h.state,this.notes=h.notes},R.prototype.scale=function(h,f){},R.prototype.colorChanged=function(h){this.onColorChanged&&this.onColorChanged(h),this.stateChanged()},R.prototype.fillColorChanged=function(h){this.onFillColorChanged&&this.onFillColorChanged(h),this.stateChanged()},R.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var h=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),h.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(h)&&this.onStateChanged(this)}},R.typeName="MarkerBase",R}(),q=function(){function R(){this.findGripByVisual=this.findGripByVisual.bind(this)}return R.prototype.findGripByVisual=function(h){return this.topLeft.ownsTarget(h)?this.topLeft:this.topCenter.ownsTarget(h)?this.topCenter:this.topRight.ownsTarget(h)?this.topRight:this.centerLeft.ownsTarget(h)?this.centerLeft:this.centerRight.ownsTarget(h)?this.centerRight:this.bottomLeft.ownsTarget(h)?this.bottomLeft:this.bottomCenter.ownsTarget(h)?this.bottomCenter:this.bottomRight.ownsTarget(h)?this.bottomRight:void 0},R}(),W=function(){function R(){this.GRIP_SIZE=10,this.visual=d.createGroup(),this.visual.appendChild(d.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(d.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return R.prototype.ownsTarget=function(h){return h===this.visual||h===this.visual.childNodes[0]||h===this.visual.childNodes[1]},R}(),Y=function(){function R(){}return R.toITransformMatrix=function(h){return{a:h.a,b:h.b,c:h.c,d:h.d,e:h.e,f:h.f}},R.toSVGMatrix=function(h,f){return h.a=f.a,h.b=f.b,h.c=f.c,h.d=f.d,h.e=f.e,h.f=f.f,h},R}(),P=function(R){function h(f,C,D){var v=R.call(this,f,C,D)||this;return v.left=0,v.top=0,v.width=0,v.height=0,v.defaultSize={x:50,y:20},v.offsetX=0,v.offsetY=0,v.rotationAngle=0,v.CB_DISTANCE=10,v._suppressMarkerCreateEvent=!1,v.container.transform.baseVal.appendItem(d.createTransform()),v.setupControlBox(),v}return E(h,R),Object.defineProperty(h.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"visual",{get:function(){return this._visual},set:function(f){this._visual=f;var C=d.createTransform();this._visual.transform.baseVal.appendItem(C)},enumerable:!1,configurable:!0}),h.prototype.ownsTarget=function(f){return!!R.prototype.ownsTarget.call(this,f)||!!(this.controlGrips.findGripByVisual(f)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(f))},h.prototype.pointerDown=function(f,C){R.prototype.pointerDown.call(this,f,C),this.state==="new"&&(this.left=f.x,this.top=f.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var D=this.unrotatePoint(f);if(this.manipulationStartX=D.x,this.manipulationStartY=D.y,this.offsetX=D.x-this.left,this.offsetY=D.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(C),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(C)){this.activeGrip=this.rotatorGrip;var v=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=v.x-this.width/2,this.top=v.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var U=this.container.transform.baseVal.getItem(0);U.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(U,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},h.prototype.pointerUp=function(f){var C=this.state;R.prototype.pointerUp.call(this,f),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(f),this._state="select",C==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},h.prototype.moveVisual=function(f){this.visual.style.transform="translate("+f.x+"px, "+f.y+"px)"},h.prototype.manipulate=function(f){var C=this.unrotatePoint(f);this.state==="creating"?this.resize(f):this.state==="move"?(this.left=this.manipulationStartLeft+(C.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(C.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(C):this.state==="rotate"&&this.rotate(f)},h.prototype.resize=function(f){var C=this.manipulationStartLeft,D=this.manipulationStartWidth,v=this.manipulationStartTop,U=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:C=this.manipulationStartLeft+f.x-this.manipulationStartX,D=this.manipulationStartWidth+this.manipulationStartLeft-C;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:D=this.manipulationStartWidth+f.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:v=this.manipulationStartTop+f.y-this.manipulationStartY,U=this.manipulationStartHeight+this.manipulationStartTop-v;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:U=this.manipulationStartHeight+f.y-this.manipulationStartY}D>=0?(this.left=C,this.width=D):(this.left=C+D,this.width=-D),U>=0?(this.top=v,this.height=U):(this.top=v+U,this.height=-U),this.setSize()},h.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},h.prototype.rotate=function(f){if(Math.abs(f.x-this.centerX)>.1){var C=Math.sign(f.x-this.centerX);this.rotationAngle=180*Math.atan((f.y-this.centerY)/(f.x-this.centerX))/Math.PI+90*C,this.applyRotation()}},h.prototype.applyRotation=function(){var f=this.container.transform.baseVal.getItem(0);f.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(f,0)},h.prototype.rotatePoint=function(f){if(this.rotationAngle===0)return f;var C=this.container.getCTM(),D=d.createPoint(f.x,f.y);return{x:(D=D.matrixTransform(C)).x,y:D.y}},h.prototype.unrotatePoint=function(f){if(this.rotationAngle===0)return f;var C=this.container.getCTM();C=C.inverse();var D=d.createPoint(f.x,f.y);return{x:(D=D.matrixTransform(C)).x,y:D.y}},h.prototype.select=function(){R.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},h.prototype.deselect=function(){R.prototype.deselect.call(this),this.controlBox.style.display="none"},h.prototype.setupControlBox=function(){this.controlBox=d.createGroup();var f=d.createTransform();f.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(f),this.container.appendChild(this.controlBox),this.controlRect=d.createRect(this.width+this.CB_DISTANCE,this.height+this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"],["fill","transparent"],["pointer-events","none"]]),this.controlBox.appendChild(this.controlRect),this.globalSettings.disableRotation!==!0&&(this.rotatorGripLine=d.createLine((this.width+2*this.CB_DISTANCE)/2,this.top-this.CB_DISTANCE,(this.width+2*this.CB_DISTANCE)/2,this.top-3*this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.appendChild(this.rotatorGripLine)),this.controlGrips=new q,this.addControlGrips(),this.controlBox.style.display="none"},h.prototype.adjustControlBox=function(){var f=this.controlBox.transform.baseVal.getItem(0);f.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(f,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},h.prototype.addControlGrips=function(){this.controlGrips.topLeft=this.createGrip(),this.controlGrips.topCenter=this.createGrip(),this.controlGrips.topRight=this.createGrip(),this.controlGrips.centerLeft=this.createGrip(),this.controlGrips.centerRight=this.createGrip(),this.controlGrips.bottomLeft=this.createGrip(),this.controlGrips.bottomCenter=this.createGrip(),this.controlGrips.bottomRight=this.createGrip(),this.globalSettings.disableRotation!==!0&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},h.prototype.createGrip=function(){var f=new W;return f.visual.transform.baseVal.appendItem(d.createTransform()),this.controlBox.appendChild(f.visual),f},h.prototype.positionGrips=function(){var f=this.controlGrips.topLeft.GRIP_SIZE,C=-f/2,D=C,v=(this.width+this.CB_DISTANCE)/2-f/2,U=(this.height+this.CB_DISTANCE)/2-f/2,Ne=this.height+this.CB_DISTANCE-f/2,ot=this.width+this.CB_DISTANCE-f/2;this.positionGrip(this.controlGrips.topLeft.visual,C,D),this.positionGrip(this.controlGrips.topCenter.visual,v,D),this.positionGrip(this.controlGrips.topRight.visual,ot,D),this.positionGrip(this.controlGrips.centerLeft.visual,C,U),this.positionGrip(this.controlGrips.centerRight.visual,ot,U),this.positionGrip(this.controlGrips.bottomLeft.visual,C,Ne),this.positionGrip(this.controlGrips.bottomCenter.visual,v,Ne),this.positionGrip(this.controlGrips.bottomRight.visual,ot,Ne),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,v,D-3*this.CB_DISTANCE)},h.prototype.positionGrip=function(f,C,D){var v=f.transform.baseVal.getItem(0);v.setTranslate(C,D),f.transform.baseVal.replaceItem(v,0)},h.prototype.hideControlBox=function(){this.controlBox.style.display="none"},h.prototype.showControlBox=function(){this.controlBox.style.display=""},h.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:Y.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:Y.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},R.prototype.getState.call(this))},h.prototype.restoreState=function(f){R.prototype.restoreState.call(this,f);var C=f;this.left=C.left,this.top=C.top,this.width=C.width,this.height=C.height,this.rotationAngle=C.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(Y.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,C.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(Y.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,C.containerTransformMatrix))},h.prototype.scale=function(f,C){R.prototype.scale.call(this,f,C);var D=this.rotatePoint({x:this.left,y:this.top}),v=this.unrotatePoint({x:D.x*f,y:D.y*C});this.left=v.x,this.top=v.y,this.width=this.width*f,this.height=this.height*C,this.adjustControlBox()},h}(X),B=function(R){function h(f,C,D){var v=R.call(this,f,C,D)||this;return v.fillColor="transparent",v.strokeColor="transparent",v.strokeWidth=0,v.strokeDasharray="",v.opacity=1,v.setStrokeColor=v.setStrokeColor.bind(v),v.setFillColor=v.setFillColor.bind(v),v.setStrokeWidth=v.setStrokeWidth.bind(v),v.setStrokeDasharray=v.setStrokeDasharray.bind(v),v.createVisual=v.createVisual.bind(v),v}return E(h,R),h.prototype.ownsTarget=function(f){return!(!R.prototype.ownsTarget.call(this,f)&&f!==this.visual)},h.prototype.createVisual=function(){this.visual=d.createRect(1,1,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},h.prototype.pointerDown=function(f,C){R.prototype.pointerDown.call(this,f,C),this.state==="new"&&(this.createVisual(),this.moveVisual(f),this._state="creating")},h.prototype.manipulate=function(f){R.prototype.manipulate.call(this,f)},h.prototype.resize=function(f){R.prototype.resize.call(this,f),this.setSize()},h.prototype.setSize=function(){R.prototype.setSize.call(this),d.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},h.prototype.pointerUp=function(f){R.prototype.pointerUp.call(this,f),this.setSize()},h.prototype.setStrokeColor=function(f){this.strokeColor=f,this.visual&&d.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(f),this.stateChanged()},h.prototype.setFillColor=function(f){this.fillColor=f,this.visual&&d.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},h.prototype.setStrokeWidth=function(f){this.strokeWidth=f,this.visual&&d.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},h.prototype.setStrokeDasharray=function(f){this.strokeDasharray=f,this.visual&&d.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},h.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},R.prototype.getState.call(this))},h.prototype.restoreState=function(f){var C=f;this.fillColor=C.fillColor,this.strokeColor=C.strokeColor,this.strokeWidth=C.strokeWidth,this.strokeDasharray=C.strokeDasharray,this.opacity=C.opacity,this.createVisual(),R.prototype.restoreState.call(this,f),this.setSize()},h.prototype.scale=function(f,C){R.prototype.scale.call(this,f,C),this.setSize()},h.title="Rectangle marker",h}(P),_=function(R){function h(f,C,D,v){var U=R.call(this,f,v||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return U.widths=[],U.widthBoxes=[],U.widths=C,U.currentWidth=D,U.setCurrentWidth=U.setCurrentWidth.bind(U),U}return E(h,R),h.prototype.getUi=function(){var f=this,C=document.createElement("div");return C.style.display="flex",C.style.overflow="hidden",C.style.flexGrow="2",this.widths.forEach(function(D){var v=document.createElement("div");v.style.display="flex",v.style.flexGrow="2",v.style.alignItems="center",v.style.justifyContent="space-between",v.style.padding="5px",v.style.borderWidth="2px",v.style.borderStyle="solid",v.style.borderColor=D===f.currentWidth?f.uiStyleSettings.toolboxAccentColor:"transparent",v.addEventListener("click",function(){f.setCurrentWidth(D,v)}),C.appendChild(v);var U=document.createElement("div");U.innerText=D.toString(),U.style.marginRight="5px",v.appendChild(U);var Ne=document.createElement("div");Ne.style.minHeight="20px",Ne.style.flexGrow="2",Ne.style.display="flex",Ne.style.alignItems="center";var ot=document.createElement("hr");ot.style.minWidth="20px",ot.style.border="0px",ot.style.borderTop=D+"px solid "+f.uiStyleSettings.toolboxColor,ot.style.flexGrow="2",Ne.appendChild(ot),v.appendChild(Ne),f.widthBoxes.push(v)}),C},h.prototype.setCurrentWidth=function(f,C){var D=this;this.currentWidth=f,this.widthBoxes.forEach(function(v){v.style.borderColor=v===C?D.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},h}(ue),ee=function(R){function h(f,C,D,v){var U=R.call(this,f,v||'<svg viewBox="0 0 24 24"><path d="M3 16h5v-2H3v2m6.5 0h5v-2h-5v2m6.5 0h5v-2h-5v2M3 20h2v-2H3v2m4 0h2v-2H7v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2M3 12h8v-2H3v2m10 0h8v-2h-8v2M3 4v4h18V4H3z"/></svg>')||this;return U.styles=[],U.styleBoxes=[],U.styles=C,U.currentStyle=D,U.setCurrentStyle=U.setCurrentStyle.bind(U),U}return E(h,R),h.prototype.getUi=function(){var f=this,C=document.createElement("div");return C.style.display="flex",C.style.overflow="hidden",C.style.flexGrow="2",this.styles.forEach(function(D){var v=document.createElement("div");v.style.display="flex",v.style.alignItems="center",v.style.justifyContent="space-between",v.style.padding="5px",v.style.borderWidth="2px",v.style.borderStyle="solid",v.style.overflow="hidden",v.style.maxWidth=100/f.styles.length-5+"%",v.style.borderColor=D===f.currentStyle?f.uiStyleSettings.toolboxAccentColor:"transparent",v.addEventListener("click",function(){f.setCurrentStyle(D,v)}),C.appendChild(v);var U=document.createElement("div");U.style.minHeight="20px",U.style.flexGrow="2",U.style.overflow="hidden";var Ne=`<svg width="100" height="20">
<line x1="0" y1="10" x2="100" y2="10" stroke="`+f.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(D!==""?'stroke-dasharray="'+D+'"':"")+` />
</svg>`;U.innerHTML=Ne,v.appendChild(U),f.styleBoxes.push(v)}),C},h.prototype.setCurrentStyle=function(f,C){var D=this;this.currentStyle=f,this.styleBoxes.forEach(function(v){v.style.borderColor=v===C?D.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},h}(ue),de=function(R){function h(f,C,D){var v=R.call(this,f,C,D)||this;return v.strokeColor=D.defaultColor,v.strokeWidth=D.defaultStrokeWidth,v.strokeDasharray=D.defaultStrokeDasharray,v.strokePanel=new te("Line color",D.defaultColorSet,D.defaultColor),v.strokePanel.onColorChanged=v.setStrokeColor,v.strokeWidthPanel=new _("Line width",D.defaultStrokeWidths,D.defaultStrokeWidth),v.strokeWidthPanel.onWidthChanged=v.setStrokeWidth,v.strokeStylePanel=new ee("Line style",D.defaultStrokeDasharrays,D.defaultStrokeDasharray),v.strokeStylePanel.onStyleChanged=v.setStrokeDasharray,v}return E(h,R),Object.defineProperty(h.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),h.prototype.getState=function(){var f=R.prototype.getState.call(this);return f.typeName=h.typeName,f},h.typeName="FrameMarker",h.title="Frame marker",h.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',h}(B),Z=function(){this.defaultColorSet=["#EF4444","#10B981","#2563EB","#FFFF00","#7C3AED","#F472B6","#000000","#FFFFFF"],this.defaultColor=this.defaultColorSet[0],this.defaultFillColor=this.defaultColorSet[0],this.defaultStrokeColor=this.defaultColorSet[7],this.defaultHighlightColor=this.defaultColorSet[3],this.defaultStrokeWidth=3,this.defaultStrokeDasharray="",this.defaultHighlightOpacity=.5,this.defaultFontFamily="Helvetica, Arial, sans-serif",this.defaultStrokeWidths=[1,2,3,5,10],this.defaultStrokeDasharrays=["","3","12 3","9 6 3 6"],this.defaultOpacitySteps=[.1,.25,.5,.75,1],this.displayMode="inline",this.defaultFontFamilies=['Times, "Times New Roman", serif',"Helvetica, Arial, sans-serif",'Courier, "Courier New", monospace',"cursive","fantasy"],this.popupMargin=30,this.newFreehandMarkerOnPointerUp=!1,this.defaultColorsFollowCurrentColors=!1,this.freehandPixelRatio=1,this.disableRotation=!1,this.defaultCaptionFontSize="1rem",this.defaultCaptionText="Text"},fe=function(R){function h(f,C,D){var v=R.call(this,f,C,D)||this;return v.x1=0,v.y1=0,v.x2=0,v.y2=0,v.defaultLength=50,v.manipulationStartX=0,v.manipulationStartY=0,v.manipulationStartX1=0,v.manipulationStartY1=0,v.manipulationStartX2=0,v.manipulationStartY2=0,v.setupControlBox(),v}return E(h,R),h.prototype.ownsTarget=function(f){return!!R.prototype.ownsTarget.call(this,f)||!(!this.grip1.ownsTarget(f)&&!this.grip2.ownsTarget(f))},h.prototype.pointerDown=function(f,C){R.prototype.pointerDown.call(this,f,C),this.manipulationStartX=f.x,this.manipulationStartY=f.y,this.state==="new"&&(this.x1=f.x,this.y1=f.y,this.x2=f.x,this.y2=f.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(C)?this.activeGrip=this.grip1:this.grip2.ownsTarget(C)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},h.prototype.pointerUp=function(f){var C=this.state;R.prototype.pointerUp.call(this,f),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(f),this._state="select",C==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},h.prototype.adjustVisual=function(){},h.prototype.manipulate=function(f){this.state==="creating"?this.resize(f):this.state==="move"?(this.x1=this.manipulationStartX1+f.x-this.manipulationStartX,this.y1=this.manipulationStartY1+f.y-this.manipulationStartY,this.x2=this.manipulationStartX2+f.x-this.manipulationStartX,this.y2=this.manipulationStartY2+f.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(f)},h.prototype.resize=function(f){switch(this.activeGrip){case this.grip1:this.x1=f.x,this.y1=f.y;break;case this.grip2:case void 0:this.x2=f.x,this.y2=f.y}this.adjustVisual(),this.adjustControlBox()},h.prototype.select=function(){R.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},h.prototype.deselect=function(){R.prototype.deselect.call(this),this.controlBox.style.display="none"},h.prototype.setupControlBox=function(){this.controlBox=d.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},h.prototype.adjustControlBox=function(){this.positionGrips()},h.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},h.prototype.createGrip=function(){var f=new W;return f.visual.transform.baseVal.appendItem(d.createTransform()),this.controlBox.appendChild(f.visual),f},h.prototype.positionGrips=function(){var f=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-f/2,this.y1-f/2),this.positionGrip(this.grip2.visual,this.x2-f/2,this.y2-f/2)},h.prototype.positionGrip=function(f,C,D){var v=f.transform.baseVal.getItem(0);v.setTranslate(C,D),f.transform.baseVal.replaceItem(v,0)},h.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},R.prototype.getState.call(this))},h.prototype.restoreState=function(f){R.prototype.restoreState.call(this,f);var C=f;this.x1=C.x1,this.y1=C.y1,this.x2=C.x2,this.y2=C.y2},h.prototype.scale=function(f,C){R.prototype.scale.call(this,f,C),this.x1=this.x1*f,this.y1=this.y1*C,this.x2=this.x2*f,this.y2=this.y2*C,this.adjustVisual(),this.adjustControlBox()},h}(X),re=function(R){function h(f,C,D){var v=R.call(this,f,C,D)||this;return v.strokeColor="transparent",v.strokeWidth=0,v.strokeDasharray="",v.setStrokeColor=v.setStrokeColor.bind(v),v.setStrokeWidth=v.setStrokeWidth.bind(v),v.setStrokeDasharray=v.setStrokeDasharray.bind(v),v.strokeColor=D.defaultColor,v.strokeWidth=D.defaultStrokeWidth,v.strokeDasharray=D.defaultStrokeDasharray,v.strokePanel=new te("Line color",D.defaultColorSet,D.defaultColor),v.strokePanel.onColorChanged=v.setStrokeColor,v.strokeWidthPanel=new _("Line width",D.defaultStrokeWidths,D.defaultStrokeWidth),v.strokeWidthPanel.onWidthChanged=v.setStrokeWidth,v.strokeStylePanel=new ee("Line style",D.defaultStrokeDasharrays,D.defaultStrokeDasharray),v.strokeStylePanel.onStyleChanged=v.setStrokeDasharray,v}return E(h,R),h.prototype.ownsTarget=function(f){return!(!R.prototype.ownsTarget.call(this,f)&&f!==this.visual&&f!==this.selectorLine&&f!==this.visibleLine)},h.prototype.createVisual=function(){this.visual=d.createGroup(),this.selectorLine=d.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=d.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.visual.appendChild(this.selectorLine),this.visual.appendChild(this.visibleLine),this.addMarkerVisualToContainer(this.visual)},h.prototype.pointerDown=function(f,C){R.prototype.pointerDown.call(this,f,C),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},h.prototype.adjustVisual=function(){this.selectorLine&&this.visibleLine&&(this.selectorLine.setAttribute("x1",this.x1.toString()),this.selectorLine.setAttribute("y1",this.y1.toString()),this.selectorLine.setAttribute("x2",this.x2.toString()),this.selectorLine.setAttribute("y2",this.y2.toString()),this.visibleLine.setAttribute("x1",this.x1.toString()),this.visibleLine.setAttribute("y1",this.y1.toString()),this.visibleLine.setAttribute("x2",this.x2.toString()),this.visibleLine.setAttribute("y2",this.y2.toString()),d.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),d.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),d.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},h.prototype.setStrokeColor=function(f){this.strokeColor=f,this.adjustVisual(),this.colorChanged(f)},h.prototype.setStrokeWidth=function(f){this.strokeWidth=f,this.adjustVisual()},h.prototype.setStrokeDasharray=function(f){this.strokeDasharray=f,this.adjustVisual(),this.stateChanged()},Object.defineProperty(h.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),h.prototype.getState=function(){var f=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},R.prototype.getState.call(this));return f.typeName=h.typeName,f},h.prototype.restoreState=function(f){R.prototype.restoreState.call(this,f);var C=f;this.strokeColor=C.strokeColor,this.strokeWidth=C.strokeWidth,this.strokeDasharray=C.strokeDasharray,this.createVisual(),this.adjustVisual()},h.typeName="LineMarker",h.title="Line marker",h.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',h}(fe),V=function(R){function h(f,C,D,v){var U=R.call(this,f,v||'<svg viewBox="0 0 24 24"><path d="M17 8h3v12h1v1h-4v-1h1v-3h-4l-1.5 3H14v1h-4v-1h1l6-12m1 1l-3.5 7H18V9M5 3h5c1.11 0 2 .89 2 2v11H9v-5H6v5H3V5c0-1.11.89-2 2-2m1 2v4h3V5H6z"/></svg>')||this;return U.fonts=[],U.fontBoxes=[],U.fonts=C,U.currentFont=D,U.setCurrentFont=U.setCurrentFont.bind(U),U}return E(h,R),h.prototype.getUi=function(){var f=this,C=document.createElement("div");return C.style.overflow="hidden",C.style.flexGrow="2",this.fonts.forEach(function(D){var v=document.createElement("div");v.style.display="inline-block",v.style.alignItems="center",v.style.justifyContent="space-between",v.style.padding="5px",v.style.borderWidth="2px",v.style.borderStyle="solid",v.style.overflow="hidden",v.style.maxWidth=100/f.fonts.length-5+"%",v.style.borderColor=D===f.currentFont?f.uiStyleSettings.toolboxAccentColor:"transparent",v.addEventListener("click",function(){f.setCurrentFont(D,v)}),C.appendChild(v);var U=document.createElement("div");U.style.display="flex",U.style.minHeight="20px",U.style.flexGrow="2",U.style.fontFamily=D,U.style.overflow="hidden";var Ne=document.createElement("div");Ne.style.whiteSpace="nowrap",Ne.style.overflow="hidden",Ne.style.textOverflow="ellipsis",Ne.innerHTML="The quick brown fox jumps over the lazy dog",U.appendChild(Ne),v.appendChild(U),f.fontBoxes.push(v)}),C},h.prototype.setCurrentFont=function(f,C){var D=this;this.currentFont=f,this.fontBoxes.forEach(function(v){v.style.borderColor=v===C?D.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},h}(ue),le=function(R){function h(f,C,D){var v=R.call(this,f,C,D)||this;return v.color="transparent",v.padding=5,v.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",v.text=v.DEFAULT_TEXT,v.isMoved=!1,v.color=D.defaultColor,v.fontFamily=D.defaultFontFamily,v.defaultSize={x:100,y:30},v.setColor=v.setColor.bind(v),v.setFont=v.setFont.bind(v),v.renderText=v.renderText.bind(v),v.sizeText=v.sizeText.bind(v),v.textEditDivClicked=v.textEditDivClicked.bind(v),v.showTextEditor=v.showTextEditor.bind(v),v.setSize=v.setSize.bind(v),v.positionTextEditor=v.positionTextEditor.bind(v),v.colorPanel=new te("Color",D.defaultColorSet,D.defaultColor),v.colorPanel.onColorChanged=v.setColor,v.fontFamilyPanel=new V("Font",D.defaultFontFamilies,D.defaultFontFamily),v.fontFamilyPanel.onFontChanged=v.setFont,v}return E(h,R),h.prototype.ownsTarget=function(f){if(R.prototype.ownsTarget.call(this,f)||f===this.visual||f===this.textElement||f===this.bgRectangle)return!0;var C=!1;return this.textElement.childNodes.forEach(function(D){D===f&&(C=!0)}),C},h.prototype.createVisual=function(){this.visual=d.createGroup(),this.bgRectangle=d.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=d.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(d.createTransform()),this.textElement.transform.baseVal.appendItem(d.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},h.prototype.pointerDown=function(f,C){R.prototype.pointerDown.call(this,f,C),this.isMoved=!1,this.pointerDownPoint=f,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(f),this._state="creating")},h.prototype.renderText=function(){var f=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(C){f.textElement.appendChild(d.createTSpan(C.trim()===""?" ":C.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},h.prototype.getTextScale=function(){var f=this.textElement.getBBox(),C=1;if(f.width>0&&f.height>0){var D=(1*this.width-this.width*this.padding*2/100)/f.width,v=(1*this.height-this.height*this.padding*2/100)/f.height;C=Math.min(D,v)}return C},h.prototype.getTextPosition=function(f){var C=this.textElement.getBBox(),D=0,v=0;return C.width>0&&C.height>0&&(D=(this.width-C.width*f)/2,v=this.height/2-C.height*f/2),{x:D,y:v}},h.prototype.sizeText=function(){var f=this.textElement.getBBox(),C=this.getTextScale(),D=this.getTextPosition(C);D.y-=f.y*C,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+D.x+"px, "+D.y+"px) scale("+C+", "+C+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(D.x,D.y),this.textElement.transform.baseVal.getItem(1).setScale(C,C))},h.prototype.manipulate=function(f){R.prototype.manipulate.call(this,f),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(f.x-this.pointerDownPoint.x)>5||Math.abs(f.y-this.pointerDownPoint.y)>5)},h.prototype.resize=function(f){R.prototype.resize.call(this,f),this.isMoved=!0,this.setSize(),this.sizeText()},h.prototype.setSize=function(){R.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(d.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),d.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},h.prototype.pointerUp=function(f){var C=this.state;C==="creating"&&(this._suppressMarkerCreateEvent=!0),R.prototype.pointerUp.call(this,f),this.setSize(),(C==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},h.prototype.showTextEditor=function(){var f=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(C){C.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var C=Number.parseFloat(f.textEditor.style.fontSize);f.textEditor.clientWidth>=Number.parseInt(f.textEditor.style.maxWidth)&&C>.9;)C-=.1,f.textEditor.style.fontSize=Math.max(C,.9)+"em"}),this.textEditor.addEventListener("keyup",function(C){C.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(C){if(C.clipboardData){var D=C.clipboardData.getData("text"),v=window.getSelection();if(!v.rangeCount)return!1;v.deleteFromDocument(),v.getRangeAt(0).insertNode(document.createTextNode(D)),C.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){f.textEditDivClicked(f.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},h.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var f=this.getTextScale(),C=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),D=this.textElement.getBBox(),v={x:D.width*f,y:D.height*f};C.x-=v.x/2,C.y-=v.y/2,this.textEditor.style.top=C.y+"px",this.textEditor.style.left=C.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-C.x+"px",this.textEditor.style.fontSize=Math.max(16*f,12)+"px",this.textElement.style.display="none"}},h.prototype.textEditDivClicked=function(f){this.text=f.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},h.prototype.select=function(){R.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},h.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),R.prototype.deselect.call(this)},h.prototype.dblClick=function(f,C){R.prototype.dblClick.call(this,f,C),this.showTextEditor()},h.prototype.setColor=function(f){this.textElement&&d.setAttributes(this.textElement,[["fill",f]]),this.color=f,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(f)},h.prototype.setFont=function(f){this.textElement&&d.setAttributes(this.textElement,[["font-family",f]]),this.fontFamily=f,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},h.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},h.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(h.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),h.prototype.getState=function(){var f=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},R.prototype.getState.call(this));return f.typeName=h.typeName,f},h.prototype.restoreState=function(f){var C=f;this.color=C.color,this.fontFamily=C.fontFamily,this.padding=C.padding,this.text=C.text,this.createVisual(),R.prototype.restoreState.call(this,f),this.setSize()},h.prototype.scale=function(f,C){R.prototype.scale.call(this,f,C),this.setSize(),this.sizeText(),this.positionTextEditor()},h.typeName="TextMarker",h.title="Text marker",h.icon='<svg viewBox="0 0 24 24"><path d="M9.6 14L12 7.7l2.4 6.3M11 5L5.5 19h2.2l1.1-3H15l1.1 3h2.2L13 5h-2z"/></svg>',h}(P),ne=function(R){function h(f,C,D){var v=R.call(this,f,C,D)||this;return v.color="transparent",v.lineWidth=3,v.drawing=!1,v.pixelRatio=1,v.color=D.defaultColor,v.lineWidth=D.defaultStrokeWidth,v.pixelRatio=D.freehandPixelRatio,v.setColor=v.setColor.bind(v),v.addCanvas=v.addCanvas.bind(v),v.finishCreation=v.finishCreation.bind(v),v.setLineWidth=v.setLineWidth.bind(v),v.colorPanel=new te("Color",D.defaultColorSet,D.defaultColor),v.colorPanel.onColorChanged=v.setColor,v.lineWidthPanel=new _("Line width",D.defaultStrokeWidths,D.defaultStrokeWidth),v.lineWidthPanel.onWidthChanged=v.setLineWidth,v}return E(h,R),h.prototype.ownsTarget=function(f){return!(!R.prototype.ownsTarget.call(this,f)&&f!==this.visual&&f!==this.drawingImage)},h.prototype.createVisual=function(){this.visual=d.createGroup(),this.drawingImage=d.createImage(),this.visual.appendChild(this.drawingImage);var f=d.createTransform();this.visual.transform.baseVal.appendItem(f),this.addMarkerVisualToContainer(this.visual)},h.prototype.pointerDown=function(f,C){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(f.x,f.y),this.drawing=!0):R.prototype.pointerDown.call(this,f,C)},h.prototype.manipulate=function(f){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(f.x,f.y),this.canvasContext.stroke()):R.prototype.manipulate.call(this,f)},h.prototype.resize=function(f){R.prototype.resize.call(this,f),d.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),d.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},h.prototype.pointerUp=function(f){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):R.prototype.pointerUp.call(this,f)},h.prototype.addCanvas=function(){this.overlayContainer.innerHTML="",this.canvasElement=document.createElement("canvas"),this.canvasElement.width=this.overlayContainer.clientWidth*this.pixelRatio,this.canvasElement.height=this.overlayContainer.clientHeight*this.pixelRatio,this.canvasContext=this.canvasElement.getContext("2d"),this.canvasContext.scale(this.pixelRatio,this.pixelRatio),this.overlayContainer.appendChild(this.canvasElement)},h.prototype.select=function(){this.state==="creating"&&this.finishCreation(),R.prototype.select.call(this)},h.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),R.prototype.deselect.call(this)},h.prototype.finishCreation=function(){for(var f=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),C=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],D=C[0],v=C[1],U=C[2],Ne=C[3],ot=!1,lt=0;lt<this.canvasElement.height;lt++)for(var Se=0;Se<this.canvasElement.width;Se++)f.data[lt*this.canvasElement.width*4+4*Se+3]>0&&(ot=!0,lt<v&&(v=lt),Se<D&&(D=Se),lt>Ne&&(Ne=lt),Se>U&&(U=Se));if(ot){this.left=D/this.pixelRatio,this.top=v/this.pixelRatio,this.width=(U-D)/this.pixelRatio,this.height=(Ne-v)/this.pixelRatio;var Fe=document.createElement("canvas");Fe.width=U-D,Fe.height=Ne-v,Fe.getContext("2d").putImageData(this.canvasContext.getImageData(D,v,U-D,Ne-v),0,0),this.drawingImgUrl=Fe.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},h.prototype.setDrawingImage=function(){d.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),d.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},h.prototype.setColor=function(f){this.color=f,this.colorChanged(f)},h.prototype.setLineWidth=function(f){this.lineWidth=f},Object.defineProperty(h.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),h.prototype.getState=function(){var f=Object.assign({drawingImgUrl:this.drawingImgUrl},R.prototype.getState.call(this));return f.typeName=h.typeName,f},h.prototype.restoreState=function(f){this.createVisual(),R.prototype.restoreState.call(this,f),this.drawingImgUrl=f.drawingImgUrl,this.setDrawingImage()},h.prototype.scale=function(f,C){R.prototype.scale.call(this,f,C),this.setDrawingImage()},h.typeName="FreehandMarker",h.title="Freehand marker",h.icon='<svg viewBox="0 0 24 24"><path d="M9.75 20.85c1.78-.7 1.39-2.63.49-3.85-.89-1.25-2.12-2.11-3.36-2.94A9.817 9.817 0 014.54 12c-.28-.33-.85-.94-.27-1.06.59-.12 1.61.46 2.13.68.91.38 1.81.82 2.65 1.34l1.01-1.7C8.5 10.23 6.5 9.32 4.64 9.05c-1.06-.16-2.18.06-2.54 1.21-.32.99.19 1.99.77 2.77 1.37 1.83 3.5 2.71 5.09 4.29.34.33.75.72.95 1.18.21.44.16.47-.31.47-1.24 0-2.79-.97-3.8-1.61l-1.01 1.7c1.53.94 4.09 2.41 5.96 1.79m11.09-15.6c.22-.22.22-.58 0-.79l-1.3-1.3a.562.562 0 00-.78 0l-1.02 1.02 2.08 2.08M11 10.92V13h2.08l6.15-6.15-2.08-2.08L11 10.92z"/></svg>',h}(P),ge=function(R){function h(f,C,D){var v=R.call(this,f,D||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return v.typeBoxes=[],v.currentType=C,v.setCurrentType=v.setCurrentType.bind(v),v}return E(h,R),h.prototype.getUi=function(){var f=this,C=document.createElement("div");C.style.display="flex",C.style.overflow="hidden",C.style.flexGrow="2";for(var D=function(Ne){var ot="both";switch(Ne){case 0:ot="both";break;case 1:ot="start";break;case 2:ot="end";break;case 3:ot="none"}var lt=document.createElement("div");if(lt.style.display="flex",lt.style.flexGrow="2",lt.style.alignItems="center",lt.style.justifyContent="space-between",lt.style.padding="5px",lt.style.borderWidth="2px",lt.style.borderStyle="solid",lt.style.borderColor=ot===v.currentType?v.uiStyleSettings.toolboxAccentColor:"transparent",lt.addEventListener("click",function(){f.setCurrentType(ot,lt)}),C.appendChild(lt),ot==="both"||ot==="start"){var Se=document.createElement("div");Se.style.display="flex",Se.style.alignItems="center",Se.style.minHeight="20px",Se.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
<polygon points="0,5 10,0 10,10" fill="`+(v.uiStyleSettings!==void 0?v.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,Se.style.marginLeft="5px",lt.appendChild(Se)}var Fe=document.createElement("div");Fe.style.display="flex",Fe.style.alignItems="center",Fe.style.minHeight="20px",Fe.style.flexGrow="2";var Pe=document.createElement("hr");if(Pe.style.minWidth="20px",Pe.style.border="0px",Pe.style.borderTop="3px solid "+(v.uiStyleSettings!==void 0?v.uiStyleSettings.toolboxColor:"#eeeeee"),Pe.style.flexGrow="2",Fe.appendChild(Pe),lt.appendChild(Fe),ot==="both"||ot==="end"){var Qe=document.createElement("div");Qe.style.display="flex",Qe.style.alignItems="center",Qe.style.minHeight="20px",Qe.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
<polygon points="0,0 10,5 0,10" fill="`+(v.uiStyleSettings!==void 0?v.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,Qe.style.marginRight="5px",lt.appendChild(Qe)}v.typeBoxes.push(lt)},v=this,U=0;U<4;U++)D(U);return C},h.prototype.setCurrentType=function(f,C){var D=this;this.currentType=f,this.typeBoxes.forEach(function(v){v.style.borderColor=v===C?D.uiStyleSettings!==void 0?D.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},h}(ue),Re=function(R){function h(f,C,D){var v=R.call(this,f,C,D)||this;return v.arrowType="end",v.arrowBaseHeight=10,v.arrowBaseWidth=10,v.getArrowPoints=v.getArrowPoints.bind(v),v.setArrowType=v.setArrowType.bind(v),v.arrowTypePanel=new ge("Arrow type","end"),v.arrowTypePanel.onArrowTypeChanged=v.setArrowType,v}return E(h,R),h.prototype.ownsTarget=function(f){return!(!R.prototype.ownsTarget.call(this,f)&&f!==this.arrow1&&f!==this.arrow2)},h.prototype.getArrowPoints=function(f,C){var D=this.arrowBaseWidth+2*this.strokeWidth,v=this.arrowBaseHeight+2*this.strokeWidth;return f-D/2+","+(C+v/2)+" "+f+","+(C-v/2)+" "+(f+D/2)+","+(C+v/2)},h.prototype.createTips=function(){this.arrow1=d.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(d.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=d.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(d.createTransform()),this.visual.appendChild(this.arrow2)},h.prototype.pointerDown=function(f,C){R.prototype.pointerDown.call(this,f,C),this.state==="creating"&&this.createTips()},h.prototype.adjustVisual=function(){if(R.prototype.adjustVisual.call(this),this.arrow1&&this.arrow2){this.arrow1.style.display=this.arrowType==="both"||this.arrowType==="start"?"":"none",this.arrow2.style.display=this.arrowType==="both"||this.arrowType==="end"?"":"none",d.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),d.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var f=0;Math.abs(this.x1-this.x2)>.1&&(f=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var C=this.arrow1.transform.baseVal.getItem(0);C.setRotate(f,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(C,0);var D=this.arrow2.transform.baseVal.getItem(0);D.setRotate(f+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(D,0)}},h.prototype.setArrowType=function(f){this.arrowType=f,this.adjustVisual(),this.stateChanged()},Object.defineProperty(h.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),h.prototype.getState=function(){var f=Object.assign({arrowType:this.arrowType},R.prototype.getState.call(this));return f.typeName=h.typeName,f},h.prototype.restoreState=function(f){R.prototype.restoreState.call(this,f);var C=f;this.arrowType=C.arrowType,this.createTips(),this.adjustVisual()},h.typeName="ArrowMarker",h.title="Arrow marker",h.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',h}(re),Ie=function(R){function h(f,C,D){var v=R.call(this,f,C,D)||this;return v.fillColor=D.defaultFillColor,v.strokeWidth=0,v.fillPanel=new te("Color",D.defaultColorSet,D.defaultFillColor),v.fillPanel.onColorChanged=v.setFillColor,v}return E(h,R),Object.defineProperty(h.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),h.prototype.getState=function(){var f=R.prototype.getState.call(this);return f.typeName=h.typeName,f},h.typeName="CoverMarker",h.title="Cover marker",h.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',h}(B),ke=function(R){function h(f,C,D,v){var U=R.call(this,f,v||'<svg viewBox="0 0 24 24"><path d="M17.66 8L12 2.35 6.34 8A8.02 8.02 0 004 13.64c0 2 .78 4.11 2.34 5.67a7.99 7.99 0 0011.32 0c1.56-1.56 2.34-3.67 2.34-5.67S19.22 9.56 17.66 8M6 14c0-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 18 12 18 14H6z"/></svg>')||this;return U.opacities=[],U.opacityBoxes=[],U.opacities=C,U.currentOpacity=D,U.setCurrentOpacity=U.setCurrentOpacity.bind(U),U}return E(h,R),h.prototype.getUi=function(){var f=this,C=document.createElement("div");return C.style.display="flex",C.style.overflow="hidden",C.style.flexGrow="2",C.style.justifyContent="space-between",this.opacities.forEach(function(D){var v=document.createElement("div");v.style.display="flex",v.style.alignItems="center",v.style.justifyContent="center",v.style.padding="5px",v.style.borderWidth="2px",v.style.borderStyle="solid",v.style.borderColor=D===f.currentOpacity?f.uiStyleSettings.toolboxAccentColor:"transparent",v.addEventListener("click",function(){f.setCurrentOpacity(D,v)}),C.appendChild(v);var U=document.createElement("div");U.innerText=100*D+"%",v.appendChild(U),f.opacityBoxes.push(v)}),C},h.prototype.setCurrentOpacity=function(f,C){var D=this;this.currentOpacity=f,this.opacityBoxes.forEach(function(v){v.style.borderColor=v===C?D.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},h}(ue),Be=function(R){function h(f,C,D){var v=R.call(this,f,C,D)||this;return v.setOpacity=v.setOpacity.bind(v),v.fillColor=D.defaultHighlightColor,v.strokeWidth=0,v.opacity=D.defaultHighlightOpacity,v.fillPanel=new te("Color",D.defaultColorSet,v.fillColor),v.fillPanel.onColorChanged=v.setFillColor,v.opacityPanel=new ke("Opacity",D.defaultOpacitySteps,v.opacity),v.opacityPanel.onOpacityChanged=v.setOpacity,v}return E(h,R),h.prototype.setOpacity=function(f){this.opacity=f,this.visual&&d.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(h.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),h.prototype.getState=function(){var f=R.prototype.getState.call(this);return f.typeName=h.typeName,f},h.typeName="HighlightMarker",h.title="Highlight marker",h.icon='<svg viewBox="0 0 24 24"><path d="M18.5 1.15c-.53 0-1.04.19-1.43.58l-5.81 5.82 5.65 5.65 5.82-5.81c.77-.78.77-2.04 0-2.83l-2.84-2.83c-.39-.39-.89-.58-1.39-.58M10.3 8.5l-5.96 5.96c-.78.78-.78 2.04.02 2.85C3.14 18.54 1.9 19.77.67 21h5.66l.86-.86c.78.76 2.03.75 2.81-.02l5.95-5.96"/></svg>',h}(Ie),oe='<svg viewBox="0 0 24 24"><path d="M9.62 12L12 5.67 14.37 12M11 3L5.5 17h2.25l1.12-3h6.25l1.13 3h2.25L13 3h-2z"/></svg>',M='<svg viewBox="0 0 24 24"><path d="M19 11.5s-2 2.17-2 3.5a2 2 0 002 2 2 2 0 002-2c0-1.33-2-3.5-2-3.5M5.21 10L10 5.21 14.79 10m1.77-1.06L7.62 0 6.21 1.41l2.38 2.38-5.15 5.15c-.59.56-.59 1.53 0 2.12l5.5 5.5c.29.29.68.44 1.06.44s.77-.15 1.06-.44l5.5-5.5c.59-.59.59-1.56 0-2.12z"/></svg>',L=function(R){function h(f,C,D){var v=R.call(this,f,C,D)||this;return v.bgColor="transparent",v.tipPosition={x:0,y:0},v.tipBase1Position={x:0,y:0},v.tipBase2Position={x:0,y:0},v.tipMoving=!1,v.color=D.defaultStrokeColor,v.bgColor=D.defaultFillColor,v.fontFamily=D.defaultFontFamily,v.defaultSize={x:100,y:30},v.setBgColor=v.setBgColor.bind(v),v.getTipPoints=v.getTipPoints.bind(v),v.positionTip=v.positionTip.bind(v),v.setTipPoints=v.setTipPoints.bind(v),v.colorPanel=new te("Text color",D.defaultColorSet,v.color,oe),v.colorPanel.onColorChanged=v.setColor,v.bgColorPanel=new te("Fill color",D.defaultColorSet,v.bgColor,M),v.bgColorPanel.onColorChanged=v.setBgColor,v.fontFamilyPanel=new V("Font",D.defaultFontFamilies,D.defaultFontFamily),v.fontFamilyPanel.onFontChanged=v.setFont,v.tipGrip=new W,v.tipGrip.visual.transform.baseVal.appendItem(d.createTransform()),v.controlBox.appendChild(v.tipGrip.visual),v}return E(h,R),h.prototype.ownsTarget=function(f){return R.prototype.ownsTarget.call(this,f)||this.tipGrip.ownsTarget(f)||this.tip===f},h.prototype.createTip=function(){d.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=d.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},h.prototype.pointerDown=function(f,C){this.state==="new"&&R.prototype.pointerDown.call(this,f,C),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(C)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):R.prototype.pointerDown.call(this,f,C)},h.prototype.pointerUp=function(f){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,R.prototype.pointerUp.call(this,f);else{var C=this.state==="creating";R.prototype.pointerUp.call(this,f),this.setTipPoints(C),this.positionTip()}},h.prototype.manipulate=function(f){if(this.tipMoving){var C=this.unrotatePoint(f);this.tipPosition={x:C.x-this.manipulationStartLeft,y:C.y-this.manipulationStartTop},this.positionTip()}else R.prototype.manipulate.call(this,f)},h.prototype.setBgColor=function(f){this.bgRectangle&&this.tip&&(d.setAttributes(this.bgRectangle,[["fill",f]]),d.setAttributes(this.tip,[["fill",f]])),this.bgColor=f,this.fillColorChanged(f)},h.prototype.getTipPoints=function(){return this.setTipPoints(this.state==="creating"),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},h.prototype.setTipPoints=function(f){f===void 0&&(f=!1);var C=Math.min(this.height/2,15),D=this.height/5;f&&(this.tipPosition={x:C+D/2,y:this.height+20});var v=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?v<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(D=this.width/5,C=Math.min(this.width/2,15),this.tipBase1Position={x:C,y:0},this.tipBase2Position={x:C+D,y:0}):(this.tipBase1Position={x:0,y:C},this.tipBase2Position={x:0,y:C+D}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?v<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(D=this.width/5,C=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-C-D,y:0},this.tipBase2Position={x:this.width-C,y:0}):(this.tipBase1Position={x:this.width,y:C},this.tipBase2Position={x:this.width,y:C+D}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?v<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(D=this.width/5,C=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-C-D,y:this.height},this.tipBase2Position={x:this.width-C,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-C-D},this.tipBase2Position={x:this.width,y:this.height-C}):v<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(D=this.width/5,C=Math.min(this.width/2,15),this.tipBase1Position={x:C,y:this.height},this.tipBase2Position={x:C+D,y:this.height}):(this.tipBase1Position={x:0,y:this.height-C},this.tipBase2Position={x:0,y:this.height-C-D})},h.prototype.resize=function(f){R.prototype.resize.call(this,f),this.positionTip()},h.prototype.positionTip=function(){d.setAttributes(this.tip,[["points",this.getTipPoints()]]);var f=this.tipGrip.visual.transform.baseVal.getItem(0);f.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(f,0)},Object.defineProperty(h.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),h.prototype.select=function(){this.positionTip(),R.prototype.select.call(this)},h.prototype.getState=function(){var f=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},R.prototype.getState.call(this));return f.typeName=h.typeName,f},h.prototype.restoreState=function(f){var C=f;this.bgColor=C.bgColor,this.tipPosition=C.tipPosition,R.prototype.restoreState.call(this,f),this.createTip(),this.setTipPoints()},h.prototype.scale=function(f,C){R.prototype.scale.call(this,f,C),this.tipPosition={x:this.tipPosition.x*f,y:this.tipPosition.y*C},this.positionTip()},h.typeName="CalloutMarker",h.title="Callout marker",h.icon='<svg viewBox="0 0 24 24"><path d="M4 2h16a2 2 0 012 2v12a2 2 0 01-2 2h-4l-4 4-4-4H4a2 2 0 01-2-2V4a2 2 0 012-2m0 2v12h4.83L12 19.17 15.17 16H20V4H4m2 3h12v2H6V7m0 4h10v2H6v-2z"/></svg>',h}(le),xe=function(R){function h(f,C,D){var v=R.call(this,f,C,D)||this;return v.fillColor="transparent",v.strokeColor="transparent",v.strokeWidth=0,v.strokeDasharray="",v.opacity=1,v.strokeColor=D.defaultColor,v.strokeWidth=D.defaultStrokeWidth,v.strokeDasharray=D.defaultStrokeDasharray,v.fillColor=D.defaultFillColor,v.setStrokeColor=v.setStrokeColor.bind(v),v.setFillColor=v.setFillColor.bind(v),v.setStrokeWidth=v.setStrokeWidth.bind(v),v.setStrokeDasharray=v.setStrokeDasharray.bind(v),v.setOpacity=v.setOpacity.bind(v),v.createVisual=v.createVisual.bind(v),v.strokePanel=new te("Line color",k(D.defaultColorSet,["transparent"]),D.defaultColor),v.strokePanel.onColorChanged=v.setStrokeColor,v.fillPanel=new te("Fill color",k(D.defaultColorSet,["transparent"]),v.fillColor,M),v.fillPanel.onColorChanged=v.setFillColor,v.strokeWidthPanel=new _("Line width",D.defaultStrokeWidths,D.defaultStrokeWidth),v.strokeWidthPanel.onWidthChanged=v.setStrokeWidth,v.strokeStylePanel=new ee("Line style",D.defaultStrokeDasharrays,D.defaultStrokeDasharray),v.strokeStylePanel.onStyleChanged=v.setStrokeDasharray,v.opacityPanel=new ke("Opacity",D.defaultOpacitySteps,v.opacity),v.opacityPanel.onOpacityChanged=v.setOpacity,v}return E(h,R),h.prototype.ownsTarget=function(f){return!(!R.prototype.ownsTarget.call(this,f)&&f!==this.visual)},h.prototype.createVisual=function(){this.visual=d.createEllipse(this.width/2,this.height/2,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},h.prototype.pointerDown=function(f,C){R.prototype.pointerDown.call(this,f,C),this.state==="new"&&(this.createVisual(),this.moveVisual(f),this._state="creating")},h.prototype.manipulate=function(f){R.prototype.manipulate.call(this,f)},h.prototype.resize=function(f){R.prototype.resize.call(this,f),this.setSize()},h.prototype.setSize=function(){R.prototype.setSize.call(this),d.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},h.prototype.pointerUp=function(f){R.prototype.pointerUp.call(this,f),this.setSize()},h.prototype.setStrokeColor=function(f){this.strokeColor=f,this.visual&&d.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(f),this.stateChanged()},h.prototype.setFillColor=function(f){this.fillColor=f,this.visual&&d.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(f),this.stateChanged()},h.prototype.setStrokeWidth=function(f){this.strokeWidth=f,this.visual&&d.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},h.prototype.setStrokeDasharray=function(f){this.strokeDasharray=f,this.visual&&d.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},h.prototype.setOpacity=function(f){this.opacity=f,this.visual&&d.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(h.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),h.prototype.getState=function(){var f=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},R.prototype.getState.call(this));return f.typeName=h.typeName,f},h.prototype.restoreState=function(f){var C=f;this.fillColor=C.fillColor,this.strokeColor=C.strokeColor,this.strokeWidth=C.strokeWidth,this.strokeDasharray=C.strokeDasharray,this.opacity=C.opacity,this.createVisual(),R.prototype.restoreState.call(this,f),this.setSize()},h.prototype.scale=function(f,C){R.prototype.scale.call(this,f,C),this.setSize()},h.typeName="EllipseMarker",h.title="Ellipse marker",h.icon='<svg viewBox="0 0 24 24"><path d="M12 4C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',h}(P),Me=function(R){function h(f,C,D){return R.call(this,f,C,D)||this}return E(h,R),Object.defineProperty(h.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),h.prototype.ownsTarget=function(f){return!(!R.prototype.ownsTarget.call(this,f)&&f!==this.tip1&&f!==this.tip2)},h.prototype.createTips=function(){this.tip1=d.createLine(this.x1-this.tipLength/2,this.y1,this.x1+this.tipLength/2,this.y1,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip1.transform.baseVal.appendItem(d.createTransform()),this.visual.appendChild(this.tip1),this.tip2=d.createLine(this.x2-this.tipLength/2,this.y2,this.x2+this.tipLength/2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip2.transform.baseVal.appendItem(d.createTransform()),this.visual.appendChild(this.tip2)},h.prototype.pointerDown=function(f,C){R.prototype.pointerDown.call(this,f,C),this.state==="creating"&&this.createTips()},h.prototype.adjustVisual=function(){if(R.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(d.setAttributes(this.tip1,[["x1",(this.x1-this.tipLength/2).toString()],["y1",this.y1.toString()],["x2",(this.x1+this.tipLength/2).toString()],["y2",this.y1.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),d.setAttributes(this.tip2,[["x1",(this.x2-this.tipLength/2).toString()],["y1",this.y2.toString()],["x2",(this.x2+this.tipLength/2).toString()],["y2",this.y2.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),Math.abs(this.x1-this.x2)>.1)){var f=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),C=this.tip1.transform.baseVal.getItem(0);C.setRotate(f,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(C,0);var D=this.tip2.transform.baseVal.getItem(0);D.setRotate(f+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(D,0)}},Object.defineProperty(h.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),h.prototype.getState=function(){var f=R.prototype.getState.call(this);return f.typeName=h.typeName,f},h.prototype.restoreState=function(f){R.prototype.restoreState.call(this,f),this.createTips(),this.adjustVisual()},h.typeName="MeasurementMarker",h.title="Measurement marker",h.icon='<svg viewBox="0 0 24 24"><path d="M1.39 18.36l1.77-1.76L4.58 18l1.06-1.05-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.42 1.41L10.59 12l-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.41 1.41 1.07-1.06-1.42-1.41 1.42-1.42L18 6.7l1.07-1.06-2.47-2.48 1.76-1.77 4.25 4.25L5.64 22.61l-4.25-4.25z"/></svg>',h}(re),we=function(R){function h(f,C,D){var v=R.call(this,f,C,D)||this;return v.strokePanel.colors=D.defaultColorSet,v.fillColor="transparent",v}return E(h,R),Object.defineProperty(h.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),h.prototype.getState=function(){var f=R.prototype.getState.call(this);return f.typeName=h.typeName,f},h.typeName="EllipseFrameMarker",h.title="Ellipse frame marker",h.icon='<svg viewBox="0 0 24 24"><path d="M12 6c4.41 0 8 2.69 8 6s-3.59 6-8 6-8-2.69-8-6 3.59-6 8-6m0-2C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',h}(xe),Tt=function(){function R(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(R.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),R.prototype.addUndoStep=function(h){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(h)||(this.undoStack.push(h),JSON.stringify(this.lastRedoStep)!==JSON.stringify(h)&&this.redoStack.splice(0,this.redoStack.length))},R.prototype.replaceLastUndoStep=function(h){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=h)},R.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},R.prototype.undo=function(){if(this.undoStack.length>1){var h=this.undoStack.pop();return h!==void 0&&this.redoStack.push(h),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},R.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},R}(),ut=function(R){function h(f,C,D){var v=R.call(this,f,C,D)||this;return v.strokeColor="transparent",v.strokeWidth=0,v.strokeDasharray="",v.curveX=0,v.curveY=0,v.manipulationStartCurveX=0,v.manipulationStartCurveY=0,v.setStrokeColor=v.setStrokeColor.bind(v),v.setStrokeWidth=v.setStrokeWidth.bind(v),v.setStrokeDasharray=v.setStrokeDasharray.bind(v),v.positionGrips=v.positionGrips.bind(v),v.addControlGrips=v.addControlGrips.bind(v),v.adjustVisual=v.adjustVisual.bind(v),v.setupControlBox=v.setupControlBox.bind(v),v.resize=v.resize.bind(v),v.strokeColor=D.defaultColor,v.strokeWidth=D.defaultStrokeWidth,v.strokeDasharray=D.defaultStrokeDasharray,v.strokePanel=new te("Line color",D.defaultColorSet,D.defaultColor),v.strokePanel.onColorChanged=v.setStrokeColor,v.strokeWidthPanel=new _("Line width",D.defaultStrokeWidths,D.defaultStrokeWidth),v.strokeWidthPanel.onWidthChanged=v.setStrokeWidth,v.strokeStylePanel=new ee("Line style",D.defaultStrokeDasharrays,D.defaultStrokeDasharray),v.strokeStylePanel.onStyleChanged=v.setStrokeDasharray,v}return E(h,R),h.prototype.ownsTarget=function(f){return!(!R.prototype.ownsTarget.call(this,f)&&f!==this.visual&&f!==this.selectorCurve&&f!==this.visibleCurve&&!this.curveGrip.ownsTarget(f))},h.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},h.prototype.createVisual=function(){this.visual=d.createGroup(),this.selectorCurve=d.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=d.createPath(this.getPathD(),[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["fill","transparent"]]),this.visual.appendChild(this.selectorCurve),this.visual.appendChild(this.visibleCurve),this.addMarkerVisualToContainer(this.visual)},h.prototype.pointerDown=function(f,C){R.prototype.pointerDown.call(this,f,C),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=f.x,this.curveY=f.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(C)&&(this.activeGrip=this.curveGrip,this._state="resize")},h.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),d.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),d.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),d.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},h.prototype.setupControlBox=function(){R.prototype.setupControlBox.call(this),this.curveControlLine1=d.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=d.createLine(this.x2,this.y2,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.insertBefore(this.curveControlLine1,this.controlBox.firstChild),this.controlBox.insertBefore(this.curveControlLine2,this.controlBox.firstChild)},h.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,R.prototype.addControlGrips.call(this)},h.prototype.positionGrips=function(){R.prototype.positionGrips.call(this);var f=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-f/2,this.curveY-f/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},h.prototype.manipulate=function(f){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+f.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+f.y-this.manipulationStartY),R.prototype.manipulate.call(this,f)},h.prototype.resize=function(f){this.activeGrip===this.curveGrip&&(this.curveX=f.x,this.curveY=f.y),R.prototype.resize.call(this,f),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},h.prototype.setStrokeColor=function(f){this.strokeColor=f,this.adjustVisual(),this.colorChanged(f)},h.prototype.setStrokeWidth=function(f){this.strokeWidth=f,this.adjustVisual()},h.prototype.setStrokeDasharray=function(f){this.strokeDasharray=f,this.adjustVisual()},h.prototype.scale=function(f,C){this.curveX=this.curveX*f,this.curveY=this.curveY*C,R.prototype.scale.call(this,f,C)},Object.defineProperty(h.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),h.prototype.getState=function(){var f=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},R.prototype.getState.call(this));return f.typeName=h.typeName,f},h.prototype.restoreState=function(f){R.prototype.restoreState.call(this,f);var C=f;this.strokeColor=C.strokeColor,this.strokeWidth=C.strokeWidth,this.strokeDasharray=C.strokeDasharray,this.curveX=C.curveX,this.curveY=C.curveY,this.createVisual(),this.adjustVisual()},h.typeName="CurveMarker",h.title="Curve marker",h.icon='<svg viewBox="0 0 24 24"><path d="M18.5 2A1.5 1.5 0 0120 3.5 1.5 1.5 0 0118.5 5c-.23 0-.45-.05-.65-.15l-3.69 3.7.34.45c2.19-1.26 4.76-2 7.5-2l1 .03v2.01L22 9c-2.58 0-5 .75-7 2.04A3.96 3.96 0 0111.04 15C9.75 17 9 19.42 9 22l.04 1H7.03L7 22c0-2.74.74-5.31 2-7.5l-.45-.34-3.7 3.69c.1.2.15.42.15.65A1.5 1.5 0 013.5 20 1.5 1.5 0 012 18.5 1.5 1.5 0 013.5 17c.23 0 .45.05.65.15l3.69-3.7C7.31 12.78 7 11.92 7 11a4 4 0 014-4c.92 0 1.78.31 2.45.84l3.7-3.69c-.1-.2-.15-.42-.15-.65A1.5 1.5 0 0118.5 2M11 9a2 2 0 00-2 2 2 2 0 002 2 2 2 0 002-2 2 2 0 00-2-2z"/></svg>',h}(fe),Rt=function(R){function h(f,C,D){var v=R.call(this,f,C,D)||this;return v.fillColor="transparent",v.strokeColor="transparent",v.strokeWidth=0,v.strokeDasharray="",v.textColor="transparent",v.fontSize="1rem",v.isMoved=!1,v.captionText="Caption",v.PADDING=5,v.captionBoxWidth=0,v.captionBoxHeight=0,v.strokeColor=D.defaultColor,v.strokeWidth=D.defaultStrokeWidth,v.strokeDasharray=D.defaultStrokeDasharray,v.fillColor=D.defaultFillColor,v.textColor=D.defaultStrokeColor,v.fontFamily=D.defaultFontFamily,v.fontSize=D.defaultCaptionFontSize,v.captionText=D.defaultCaptionText,v.setStrokeColor=v.setStrokeColor.bind(v),v.setFillColor=v.setFillColor.bind(v),v.setStrokeWidth=v.setStrokeWidth.bind(v),v.setStrokeDasharray=v.setStrokeDasharray.bind(v),v.createVisual=v.createVisual.bind(v),v.sizeCaption=v.sizeCaption.bind(v),v.setCaptionText=v.setCaptionText.bind(v),v.showTextEditor=v.showTextEditor.bind(v),v.positionTextEditor=v.positionTextEditor.bind(v),v.finishTextEditing=v.finishTextEditing.bind(v),v.setFont=v.setFont.bind(v),v.setTextColor=v.setTextColor.bind(v),v.strokePanel=new te("Line color",k(D.defaultColorSet,["transparent"]),v.strokeColor),v.strokePanel.onColorChanged=v.setStrokeColor,v.fillPanel=new te("Fill color",k(D.defaultColorSet,["transparent"]),v.fillColor,M),v.fillPanel.onColorChanged=v.setFillColor,v.strokeWidthPanel=new _("Line width",D.defaultStrokeWidths,D.defaultStrokeWidth),v.strokeWidthPanel.onWidthChanged=v.setStrokeWidth,v.strokeStylePanel=new ee("Line style",D.defaultStrokeDasharrays,D.defaultStrokeDasharray),v.strokeStylePanel.onStyleChanged=v.setStrokeDasharray,v.fontFamilyPanel=new V("Font",D.defaultFontFamilies,D.defaultFontFamily),v.fontFamilyPanel.onFontChanged=v.setFont,v.textColorPanel=new te("Text color",D.defaultColorSet,v.textColor,oe),v.textColorPanel.onColorChanged=v.setTextColor,v}return E(h,R),h.prototype.ownsTarget=function(f){return!(!R.prototype.ownsTarget.call(this,f)&&f!==this.visual&&f!==this.frame&&f!==this.captionBg&&f!==this.captionElement)},h.prototype.createVisual=function(){this.visual=d.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=d.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=d.createText([["fill",this.textColor],["font-family",this.fontFamily]]),this.captionElement.style.fontSize=this.fontSize,this.captionElement.style.textAnchor="start",this.captionElement.style.dominantBaseline="text-before-edge",this.captionElement.textContent=this.captionText,this.visual.appendChild(this.captionElement),this.frame=d.createRect(this.width,this.height,[["fill","transparent"],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray]]),this.visual.appendChild(this.frame),this.sizeCaption()},h.prototype.setCaptionText=function(f){this.captionText=f,this.captionElement.textContent=this.captionText,this.sizeCaption()},h.prototype.pointerDown=function(f,C){R.prototype.pointerDown.call(this,f,C),this.isMoved=!1,this.pointerDownPoint=f,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(f),this._state="creating")},h.prototype.manipulate=function(f){R.prototype.manipulate.call(this,f),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(f.x-this.pointerDownPoint.x)>5||Math.abs(f.y-this.pointerDownPoint.y)>5)},h.prototype.resize=function(f){R.prototype.resize.call(this,f),this.setSize()},h.prototype.sizeCaption=function(){var f=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=f.width+2*this.PADDING,this.captionBoxHeight=f.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),d.setAttributes(this.captionBg,[["width",this.captionBoxWidth.toString()],["height",this.captionBoxHeight.toString()],["clip-path","path('M0,0 H"+this.width+" V"+this.height+" H"+-this.width+" Z')"]]),d.setAttributes(this.captionElement,[["x",this.PADDING.toString()],["y",this.PADDING.toString()],["clip-path","path('M0,0 H"+(this.width-this.PADDING)+" V"+this.height+" H"+(-this.width-this.PADDING)+" Z')"]])},h.prototype.showTextEditor=function(){var f=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(C){C.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(C){C.key==="Enter"&&f.finishTextEditing(f.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(C){C.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){f.finishTextEditing(f.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){f.finishTextEditing(f.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},h.prototype.positionTextEditor=function(){this.state==="edit"&&(this.textEditBox===void 0?this.showTextEditor():(this.textEditBox.style.left=this.left+"px",this.textEditBox.style.top=this.top+"px",this.textEditBox.style.transform="rotate("+this.rotationAngle+"deg)",this.textEditBox.style.transformOrigin=this.width/2+"px "+this.height/2+"px"))},h.prototype.finishTextEditing=function(f){this.setCaptionText(f.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},h.prototype.setFont=function(f){this.captionElement&&d.setAttributes(this.captionElement,[["font-family",f]]),this.fontFamily=f,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},h.prototype.setTextColor=function(f){this.captionElement&&d.setAttributes(this.captionElement,[["fill",f]]),this.textColor=f,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},h.prototype.setSize=function(){R.prototype.setSize.call(this),d.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},h.prototype.pointerUp=function(f){R.prototype.pointerUp.call(this,f),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},h.prototype.dblClick=function(f,C){R.prototype.dblClick.call(this,f,C),this.showTextEditor()},h.prototype.setStrokeColor=function(f){this.strokeColor=f,this.frame&&d.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(f),this.stateChanged()},h.prototype.setFillColor=function(f){this.fillColor=f,this.captionBg&&d.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(f),this.stateChanged()},h.prototype.setStrokeWidth=function(f){this.strokeWidth=f,this.frame&&d.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},h.prototype.setStrokeDasharray=function(f){this.strokeDasharray=f,this.frame&&d.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(h.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),h.prototype.getState=function(){var f=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},R.prototype.getState.call(this));return f.typeName=this.typeName,f},h.prototype.restoreState=function(f){var C=f;this.fillColor=C.fillColor,this.strokeColor=C.strokeColor,this.strokeWidth=C.strokeWidth,this.strokeDasharray=C.strokeDasharray,this.textColor=C.textColor,this.fontFamily=C.fontFamily,this.captionText=C.captionText,this.fontSize=C.fontSize,this.createVisual(),R.prototype.restoreState.call(this,f),this.setSize()},h.prototype.scale=function(f,C){R.prototype.scale.call(this,f,C),this.setSize()},h.typeName="CaptionFrameMarker",h.title="Caption frame marker",h.icon='<svg viewBox="0 0 24 24"><path d="M5 3c-1.11 0-2 .89-2 2v14c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2V5c0-1.11-.89-2-2-2H5m0 2h14v14H5V5m2 2v2h10V7H7z"/></svg>',h}(P),He=function(){function R(h,f){f===void 0&&(f=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=h,this.cancelable=f}return Object.defineProperty(R.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),R.prototype.preventDefault=function(){this._defaultPrevented=!0},R}(),bt=function(R){function h(f,C,D){var v=R.call(this,f,!1)||this;return v.dataUrl=C,v.state=D,v}return E(h,R),h}(He),vt=function(R){function h(f,C,D){D===void 0&&(D=!1);var v=R.call(this,f,D)||this;return v.marker=C,v}return E(h,R),h}(He),Mt=function(){function R(){this.render=[],this.beforeclose=[],this.close=[],this.show=[],this.restorestate=[],this.statechange=[],this.markerselect=[],this.markerdeselect=[],this.markercreating=[],this.markercreate=[],this.markerbeforedelete=[],this.markerdelete=[],this.markerchange=[],this.focus=[],this.blur=[]}return R.prototype.addEventListener=function(h,f){this[h].push(f)},R.prototype.removeEventListener=function(h,f){var C=this[h].indexOf(f);C>-1&&this[h].splice(C,1)},R}(),Ut=function(){function R(h){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new Z,this._isOpen=!1,this.undoRedoManager=new Tt,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new Mt,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=R.instanceCounter++,this.styles=new I(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=h,this.targetRoot=document.body,this.width=h.clientWidth,this.height=h.clientHeight,this.styles.removeStyleSheet(),this.open=this.open.bind(this),this.setTopLeft=this.setTopLeft.bind(this),this.toolbarButtonClicked=this.toolbarButtonClicked.bind(this),this.createNewMarker=this.createNewMarker.bind(this),this.addNewMarker=this.addNewMarker.bind(this),this.markerCreated=this.markerCreated.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.onDblClick=this.onDblClick.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.overrideOverflow=this.overrideOverflow.bind(this),this.restoreOverflow=this.restoreOverflow.bind(this),this.close=this.close.bind(this),this.closeUI=this.closeUI.bind(this),this.addCloseEventListener=this.addCloseEventListener.bind(this),this.removeCloseEventListener=this.removeCloseEventListener.bind(this),this.addRenderEventListener=this.addRenderEventListener.bind(this),this.removeRenderEventListener=this.removeRenderEventListener.bind(this),this.clientToLocalCoordinates=this.clientToLocalCoordinates.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.deleteSelectedMarker=this.deleteSelectedMarker.bind(this),this.setWindowHeight=this.setWindowHeight.bind(this),this.removeMarker=this.removeMarker.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this),this.onPopupTargetResize=this.onPopupTargetResize.bind(this),this.showNotesEditor=this.showNotesEditor.bind(this),this.hideNotesEditor=this.hideNotesEditor.bind(this),this.stepZoom=this.stepZoom.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.markerStateChanged=this.markerStateChanged.bind(this),this.switchToSelectMode=this.switchToSelectMode.bind(this),this.addDefs=this.addDefs.bind(this),this.addDefsToImage=this.addDefsToImage.bind(this)}return Object.defineProperty(R.prototype,"ALL_MARKER_TYPES",{get:function(){return[de,ne,Re,le,we,xe,Be,L,Me,Ie,re,ut,Rt]},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[de,ne,Re,le,xe,Be,L]},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"BASIC_MARKER_TYPES",{get:function(){return[de,ne,Re,le,Be]},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(h){var f=this;this._availableMarkerTypes.splice(0),h.forEach(function(C){if(typeof C=="string"){var D=f.ALL_MARKER_TYPES.find(function(v){return v.typeName===C});D!==void 0&&f._availableMarkerTypes.push(D)}else f._availableMarkerTypes.push(C)})},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(h){this._zoomLevel=h,this.editorCanvas&&this.contentDiv&&(this.editorCanvas.style.transform="scale("+this._zoomLevel+")",this.contentDiv.scrollTo({left:(this.editorCanvas.clientWidth*this._zoomLevel-this.contentDiv.clientWidth)/2,top:(this.editorCanvas.clientHeight*this._zoomLevel-this.contentDiv.clientHeight)/2}))},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),R.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),N.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},R.prototype.show=function(){var h=this;this.styles.styleSheetRoot===void 0&&O.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=O.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(f){return f(new He(h))})},R.prototype.render=function(){return m(this,void 0,void 0,function(){var h;return b(this,function(f){switch(f.label){case 0:return this.setCurrentMarker(),(h=new H).naturalSize=this.renderAtNaturalSize,h.imageType=this.renderImageType,h.imageQuality=this.renderImageQuality,h.markersOnly=this.renderMarkersOnly,h.width=this.renderWidth,h.height=this.renderHeight,[4,h.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return f.sent(),[4,h.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,f.sent()]}})})},R.prototype.close=function(h){var f=this;if(h===void 0&&(h=!1),this.isOpen){var C=!1;h||this.eventListeners.beforeclose.forEach(function(D){var v=new He(f,!0);D(v),v.defaultPrevented&&(C=!0)}),C||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(D){return D(new He(f))}),this.detachEvents(),this._isOpen=!1)}},R.prototype.addMarkersToToolbar=function(){for(var h,f=[],C=0;C<arguments.length;C++)f[C]=arguments[C];(h=this._availableMarkerTypes).push.apply(h,f)},R.prototype.addRenderEventListener=function(h){this.addEventListener("render",function(f){h(f.dataUrl,f.state)})},R.prototype.removeRenderEventListener=function(h){},R.prototype.addCloseEventListener=function(h){this.addEventListener("close",function(){h()})},R.prototype.removeCloseEventListener=function(h){},R.prototype.setupResizeObserver=function(){var h=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){h.resize(h.target.clientWidth,h.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return h.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},R.prototype.onPopupTargetResize=function(){var h=1*this.target.clientWidth/this.target.clientHeight,f=this.editorCanvas.clientWidth/h>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*h:this.editorCanvas.clientWidth,C=f<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/h;this.resize(f,C)},R.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},R.prototype.resize=function(h,f){this._isResizing=!0;var C=h/this.imageWidth,D=f/this.imageHeight;this.imageWidth=Math.round(h),this.imageHeight=Math.round(f),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px",this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.settings.displayMode!=="popup"?this.coverDiv.style.width=this.imageWidth.toString()+"px":(this.setTopLeft(),this.positionMarkerImage()),this.toolbar!==void 0&&this.toolbar.adjustLayout(),this.positionLogo(),this.scaleMarkers(C,D),this._isResizing=!1},R.prototype.scaleMarkers=function(h,f){var C,D=this;this._currentMarker&&this._currentMarker instanceof le?this._currentMarker.scale(h,f):(C=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(v){v!==D._currentMarker&&v.scale(h,f)}),C!==void 0&&this.setCurrentMarker(C)},R.prototype.setEditingTarget=function(){this.imageWidth=Math.round(this.target.clientWidth),this.imageHeight=Math.round(this.target.clientHeight),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px"},R.prototype.setTopLeft=function(){var h=this.editingTarget.getBoundingClientRect(),f=this.editorCanvas.getBoundingClientRect();this.left=h.left-f.left,this.top=h.top-f.top},R.prototype.initMarkerCanvas=function(){this.markerImageHolder=document.createElement("div"),this.markerImageHolder.style.setProperty("touch-action","pinch-zoom"),this.markerImage=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.markerImage.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImage.style.pointerEvents="auto",this.markerImageHolder.style.position="absolute",this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.markerImageHolder.style.transformOrigin="top left",this.positionMarkerImage(),this.markerImageHolder.appendChild(this.markerImage),this.editorCanvas.appendChild(this.markerImageHolder)},R.prototype.addDefs=function(){for(var h,f=[],C=0;C<arguments.length;C++)f[C]=arguments[C];this.defs=d.createDefs(),this.addDefsToImage(),(h=this.defs).append.apply(h,f)},R.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},R.prototype.initOverlay=function(){this.overlayContainer=document.createElement("div"),this.overlayContainer.style.position="absolute",this.overlayContainer.style.left="0px",this.overlayContainer.style.top="0px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.overlayContainer.style.display="flex",this.markerImageHolder.appendChild(this.overlayContainer)},R.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},R.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},R.prototype.attachWindowEvents=function(){window.addEventListener("pointermove",this.onPointerMove),window.addEventListener("pointerup",this.onPointerUp),window.addEventListener("pointercancel",this.onPointerOut),window.addEventListener("pointerout",this.onPointerOut),window.addEventListener("pointerleave",this.onPointerUp),window.addEventListener("resize",this.onWindowResize),window.addEventListener("keyup",this.onKeyUp)},R.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},R.prototype.detachWindowEvents=function(){window.removeEventListener("pointermove",this.onPointerMove),window.removeEventListener("pointerup",this.onPointerUp),window.removeEventListener("pointercancel",this.onPointerOut),window.removeEventListener("pointerout",this.onPointerOut),window.removeEventListener("pointerleave",this.onPointerUp),window.removeEventListener("resize",this.onWindowResize),window.removeEventListener("keyup",this.onKeyUp)},R.prototype.addLogo=function(){this.logoUI=document.createElement("div"),this.logoUI.style.display="inline-block",this.logoUI.style.margin="0px",this.logoUI.style.padding="0px",this.logoUI.style.fill="#333333";var h=document.createElement("a");h.href="https://markerjs.com/",h.target="_blank",h.innerHTML='<svg viewBox="0 0 112 96" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#e5f20d" fill-opacity=".647" d="M0 40.386h111.96V95.62H0z"/><path d="M93.61 61.452c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.591 1.048-1.481 0-2.222-.74-2.222-2.22 0-16.617-.533-29.347-1.604-38.192-1.068-8.842-2.92-13.265-5.552-13.265-4.443 0-10.94 15.509-19.497 46.52v.124c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.592 1.048-1.48 0-2.22-.74-2.22-2.22 0-3.29.165-8.392.493-15.302.33-7.732.494-13.82.494-18.262 0-6.17-.186-10.55-.556-13.142-.37-2.591-1.172-3.887-2.406-3.887-2.796 0-6.333 5.12-10.612 15.363C38.494 34.367 34.01 46.44 29.32 60.34l-1.11 3.209a5.714 5.714 0 01-1.42 2.097c-.617.578-1.295.864-2.036.864-.987 0-1.644-.081-1.974-.247-.328-.162-.533-.656-.617-1.48-.41-4.03-.74-9.418-.987-16.165-.163-1.728-.329-4.566-.494-8.515-.822-13.901-1.562-23.3-2.221-28.196-.657-4.893-.987-7.628-.987-8.205 0-.657.33-1.44.987-2.345.659-.903 1.276-1.357 1.85-1.357 1.319 0 2.387.947 3.21 2.838.411.906.863 4.526 1.357 10.859.493 6.335.905 14.19 1.233 23.568l.617 18.88c4.527-13.983 9.216-26.673 14.068-38.068C45.65 6.686 50.093.988 54.123.988c2.715 0 4.566 1.974 5.553 5.923.987 3.949 1.481 9.667 1.481 17.152 0 3.949-.081 9.625-.247 17.029l-.123 5.676c3.373-11.762 6.725-21.634 10.057-29.615 3.331-7.979 6.685-11.97 10.056-11.97 8.475 0 12.71 18.757 12.71 56.269z" fill-rule="nonzero"/></svg>',h.title="Powered by marker.js",h.style.display="grid",h.style.alignItems="center",h.style.justifyItems="center",h.style.padding="3px",h.style.width="20px",h.style.height="20px",this.logoUI.appendChild(h),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},R.prototype.positionLogo=function(){this.logoUI&&(this.uiStyleSettings.logoPosition!=="right"?this.logoUI.style.left=this.markerImageHolder.offsetLeft+10+"px":this.logoUI.style.left=this.markerImageHolder.offsetLeft+this.markerImageHolder.offsetWidth-this.logoUI.clientWidth-10+"px",this.logoUI.style.top=this.markerImageHolder.offsetTop+this.markerImageHolder.offsetHeight-this.logoUI.clientHeight-10+"px")},R.prototype.overrideOverflow=function(){this.scrollXState=window.scrollX,this.scrollYState=window.scrollY,this.bodyOverflowState=document.body.style.overflow,window.scroll({top:0,left:0}),document.body.style.overflow="hidden"},R.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},R.prototype.showUI=function(){switch(this.settings.displayMode==="popup"&&this.overrideOverflow(),this.coverDiv=document.createElement("div"),this.coverDiv.style.visibility=this._silentRenderMode?"hidden":"visible",this.coverDiv.className=this.styles.classNamePrefixBase+" "+this.styles.classNamePrefix,this.coverDiv.style.fontSize="16px",this.coverDiv.style.userSelect="none",this.settings.displayMode){case"inline":this.coverDiv.style.position="absolute";var h=this.settings.uiOffsetTop!==void 0?this.target.offsetTop+this.settings.uiOffsetTop:this.target.offsetTop>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=h+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new be(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop<this.styles.settings.toolbarHeight&&(this.editingTarget.style.marginTop=this.target.offsetTop-this.styles.settings.toolbarHeight+"px"),this.editorCanvas.appendChild(this.editingTarget),this.toolbox=new ce(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},R.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},R.prototype.removeMarker=function(h){this.markerImage.removeChild(h.container),this.markers.indexOf(h)>-1&&this.markers.splice(this.markers.indexOf(h),1),h.dispose()},R.prototype.switchToSelectMode=function(){this.mode="select",this.hideNotesEditor(),this._currentMarker!==void 0&&(this._currentMarker.state!=="new"?this._currentMarker.select():(this.removeMarker(this._currentMarker),this.setCurrentMarker(),this.markerImage.style.cursor="default"),this.addUndoStep())},R.prototype.toolbarButtonClicked=function(h,f){if(h==="marker"&&f!==void 0)this.createNewMarker(f);else if(h==="action")switch(f){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},R.prototype.deleteSelectedMarker=function(){var h=this;if(this._currentMarker!==void 0){var f=!1;if(this.eventListeners.markerbeforedelete.forEach(function(D){var v=new vt(h,h._currentMarker,!0);D(v),v.defaultPrevented&&(f=!0)}),!f){var C=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(D){return D(new vt(h,C))})}}},R.prototype.clear=function(){var h=this,f=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(U){var Ne=new vt(h,void 0,!0);U(Ne),Ne.defaultPrevented&&(f=!0)}),!f)){this.setCurrentMarker();for(var C=function(U){var Ne=D.markers[U];D.setCurrentMarker(D.markers[U]),D._currentMarker.dispose(),D.markerImage.removeChild(D._currentMarker.container),D.markers.splice(D.markers.indexOf(D._currentMarker),1),D.eventListeners.markerdelete.forEach(function(ot){return ot(new vt(h,Ne))})},D=this,v=this.markers.length-1;v>=0;v--)C(v);this.addUndoStep()}},Object.defineProperty(R.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),R.prototype.showNotesEditor=function(){var h;this._currentMarker!==void 0&&(this.overlayContainer.innerHTML="",this.notesArea=document.createElement("textarea"),this.notesArea.className=this.uiStyleSettings.notesAreaStyleClassName,this.notesArea.style.pointerEvents="auto",this.notesArea.style.alignSelf="stretch",this.notesArea.style.width="100%",this.notesArea.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.notesArea.value=(h=this._currentMarker.notes)!==null&&h!==void 0?h:"",this.overlayContainer.appendChild(this.notesArea))},R.prototype.hideNotesEditor=function(){this.isNotesAreaOpen&&(this._currentMarker!==void 0&&(this._currentMarker.notes=this.notesArea.value.trim()!==""?this.notesArea.value:void 0),this.overlayContainer.removeChild(this.notesArea),this.notesArea=void 0)},R.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},R.prototype.addUndoStep=function(){var h=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var f=this.getState(),C=this.undoRedoManager.getLastUndoStep();if(!C||C.width===f.width&&C.height===f.height){var D=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(f),D<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(v){return v(new He(h))})}else this.undoRedoManager.replaceLastUndoStep(f),this.eventListeners.statechange.forEach(function(v){return v(new He(h))})}},R.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},R.prototype.undoStep=function(){var h=this,f=this.undoRedoManager.undo();f!==void 0&&(this.restoreState(f),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(C){return C(new He(h))}))},R.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},R.prototype.redoStep=function(){var h=this,f=this.undoRedoManager.redo();f!==void 0&&(this.restoreState(f),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(C){return C(new He(h))}))},R.prototype.stepZoom=function(){var h=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=h<this.zoomSteps.length-1?this.zoomSteps[h+1]:this.zoomSteps[0]},R.prototype.panTo=function(h){this.contentDiv.scrollBy({left:this.prevPanPoint.x-h.x,top:this.prevPanPoint.y-h.y}),this.prevPanPoint=h},R.prototype.startRenderAndClose=function(){return m(this,void 0,void 0,function(){var h,f,C=this;return b(this,function(D){switch(D.label){case 0:return[4,this.render()];case 1:return h=D.sent(),f=this.getState(),this.eventListeners.render.forEach(function(v){return v(new bt(C,h,f))}),this.close(!0),[2]}})})},R.prototype.getState=function(h){h===!0&&this.setCurrentMarker();var f={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(C){return f.markers.push(C.getState())}),f},R.prototype.restoreState=function(h){var f=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);h.markers.forEach(function(C){var D=f._availableMarkerTypes.find(function(U){return U.typeName===C.typeName});if(D!==void 0){var v=f.addNewMarker(D);v.restoreState(C),f.markers.push(v)}}),h.width&&h.height&&(h.width!==this.imageWidth||h.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/h.width,this.imageHeight/h.height),this.eventListeners.restorestate.forEach(function(C){return C(new He(f))})},R.prototype.addNewMarker=function(h){var f=d.createGroup();return this.markerImage.appendChild(f),new h(f,this.overlayContainer,this.settings)},R.prototype.createNewMarker=function(h){var f,C=this;(f=typeof h=="string"?this._availableMarkerTypes.find(function(D){return D.typeName===h}):h)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(f),this._currentMarker.onMarkerCreated=this.markerCreated,this._currentMarker.onColorChanged=this.colorChanged,this._currentMarker.onFillColorChanged=this.fillColorChanged,this._currentMarker.onStateChanged=this.markerStateChanged,this.markerImage.style.cursor="crosshair",this.toolbar.setActiveMarkerButton(f.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(D){return D(new vt(C,C._currentMarker))}))},R.prototype.markerCreated=function(h){var f=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(h),this.setCurrentMarker(h),h instanceof ne&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(ne):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(C){return C(new vt(f,f._currentMarker))})},R.prototype.colorChanged=function(h){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=h,this.settings.defaultStrokeColor=h)},R.prototype.fillColorChanged=function(h){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=h)},R.prototype.markerStateChanged=function(h){var f=this;this.eventListeners.markerchange.forEach(function(C){return C(new vt(f,h))})},R.prototype.setCurrentMarker=function(h){var f=this;this._currentMarker!==h&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(C){return C(new vt(f,f._currentMarker))})),this._currentMarker=h,this._currentMarker===void 0||this._currentMarker.isSelected||(this._currentMarker.state!=="new"&&this._currentMarker.select(),this.toolbar.setCurrentMarker(this._currentMarker),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this._isResizing||this.eventListeners.markerselect.forEach(function(C){return C(new vt(f,f._currentMarker))}))},R.prototype.onPointerDown=function(h){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||h.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var f=this.markers.find(function(C){return C.ownsTarget(h.target)});f!==void 0?(this.setCurrentMarker(f),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(h.clientX,h.clientY),h.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:h.clientX,y:h.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(h.clientX,h.clientY))},R.prototype.onDblClick=function(h){if(this._isFocused||this.focus(),this.mode==="select"){var f=this.markers.find(function(C){return C.ownsTarget(h.target)});f!==void 0&&f!==this._currentMarker&&this.setCurrentMarker(f),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(h.clientX,h.clientY),h.target):this.setCurrentMarker()}},R.prototype.onPointerMove=function(h){this.touchPoints!==1&&h.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||h.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(h.clientX,h.clientY)):this.zoomLevel>1&&this.panTo({x:h.clientX,y:h.clientY}))},R.prototype.onPointerUp=function(h){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(h.clientX,h.clientY)),this.isDragging=!1,this.addUndoStep()},R.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},R.prototype.onKeyUp=function(h){this._currentMarker===void 0||this.notesArea!==void 0||h.key!=="Delete"&&h.key!=="Backspace"||this.deleteSelectedMarker()},R.prototype.clientToLocalCoordinates=function(h,f){var C=this.markerImage.getBoundingClientRect();return{x:(h-C.left)/this.zoomLevel,y:(f-C.top)/this.zoomLevel}},R.prototype.onWindowResize=function(){this.positionUI()},R.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var h=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=h+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px";break;case"popup":this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=this.windowHeight+"px",this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.styles.settings.toolbarHeight+"px"}this.positionMarkerImage(),this.positionLogo()},R.prototype.addLicenseKey=function(h){N.addKey(h)},R.prototype.addEventListener=function(h,f){this.eventListeners.addEventListener(h,f)},R.prototype.removeEventListener=function(h,f){this.eventListeners.removeEventListener(h,f)},R.prototype.renderState=function(h){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(h),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(R.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),R.prototype.focus=function(){var h=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(f){return f(new He(h))}))},R.prototype.blur=function(){var h=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(f){return f(new He(h))}))},R.instanceCounter=0,R}()},67842:function(x){"use strict";var c,r=59;x.exports=u;function u(E){var m="&"+E+";",b;return c=c||document.createElement("i"),c.innerHTML=m,b=c.textContent,b.charCodeAt(b.length-1)===r&&E!=="semi"||b===m?!1:b}},12256:function(x,c,r){"use strict";var u=r(47854),E=r(80501),m=r(22347),b=r(65207),k=r(21127),d=r(67842);x.exports=Be;var N={}.hasOwnProperty,H=String.fromCharCode,O=Function.prototype,I={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},ie=9,G=10,be=12,ce=32,ue=38,te=59,X=60,q=61,W=35,Y=88,P=120,B=65533,_="named",ee="hexadecimal",de="decimal",Z={};Z[ee]=16,Z[de]=10;var fe={};fe[_]=k,fe[de]=m,fe[ee]=b;var re=1,V=2,le=3,ne=4,ge=5,Re=6,Ie=7,ke={};ke[re]="Named character references must be terminated by a semicolon",ke[V]="Numeric character references must be terminated by a semicolon",ke[le]="Named character references cannot be empty",ke[ne]="Numeric character references cannot be empty",ke[ge]="Named character references must be known",ke[Re]="Numeric character references cannot be disallowed",ke[Ie]="Numeric character references cannot be outside the permissible Unicode range";function Be(xe,Me){var we={},Tt,ut;Me||(Me={});for(ut in I)Tt=Me[ut],we[ut]=Tt==null?I[ut]:Tt;return(we.position.indent||we.position.start)&&(we.indent=we.position.indent||[],we.position=we.position.start),oe(xe,we)}function oe(xe,Me){var we=Me.additional,Tt=Me.nonTerminated,ut=Me.text,Rt=Me.reference,He=Me.warning,bt=Me.textContext,vt=Me.referenceContext,Mt=Me.warningContext,Ut=Me.position,R=Me.indent||[],h=xe.length,f=0,C=-1,D=Ut.column||1,v=Ut.line||1,U="",Ne=[],ot,lt,Se,Fe,Pe,Qe,ct,Ge,pe,Je,rt,$e,et,It,tt,Q,Et,At,ye;for(typeof we=="string"&&(we=we.charCodeAt(0)),Q=Gt(),Ge=He?tn:O,f--,h++;++f<h;)if(Pe===G&&(D=R[C]||1),Pe=xe.charCodeAt(f),Pe===ue){if(ct=xe.charCodeAt(f+1),ct===ie||ct===G||ct===be||ct===ce||ct===ue||ct===X||ct!==ct||we&&ct===we){U+=H(Pe),D++;continue}for(et=f+1,$e=et,ye=et,ct===W?(ye=++$e,ct=xe.charCodeAt(ye),ct===Y||ct===P?(It=ee,ye=++$e):It=de):It=_,ot="",rt="",Fe="",tt=fe[It],ye--;++ye<h&&(ct=xe.charCodeAt(ye),!!tt(ct));)Fe+=H(ct),It===_&&N.call(u,Fe)&&(ot=Fe,rt=u[Fe]);Se=xe.charCodeAt(ye)===te,Se&&(ye++,lt=It===_?d(Fe):!1,lt&&(ot=Fe,rt=lt)),At=1+ye-et,!Se&&!Tt||(Fe?It===_?(Se&&!rt?Ge(ge,1):(ot!==Fe&&(ye=$e+ot.length,At=1+ye-$e,Se=!1),Se||(pe=ot?re:le,Me.attribute?(ct=xe.charCodeAt(ye),ct===q?(Ge(pe,At),rt=null):k(ct)?rt=null:Ge(pe,At)):Ge(pe,At))),Qe=rt):(Se||Ge(V,At),Qe=parseInt(Fe,Z[It]),M(Qe)?(Ge(Ie,At),Qe=H(B)):Qe in E?(Ge(Re,At),Qe=E[Qe]):(Je="",L(Qe)&&Ge(Re,At),Qe>65535&&(Qe-=65536,Je+=H(Qe>>>10|55296),Qe=56320|Qe&1023),Qe=Je+H(Qe))):It!==_&&Ge(ne,At)),Qe?(Xt(),Q=Gt(),f=ye-1,D+=ye-et+1,Ne.push(Qe),Et=Gt(),Et.offset++,Rt&&Rt.call(vt,Qe,{start:Q,end:Et},xe.slice(et-1,ye)),Q=Et):(Fe=xe.slice(et-1,ye),U+=Fe,D+=Fe.length,f=ye-1)}else Pe===10&&(v++,C++,D=0),Pe===Pe?(U+=H(Pe),D++):Xt();return Ne.join("");function Gt(){return{line:v,column:D,offset:f+(Ut.offset||0)}}function tn(Ke,bn){var cn=Gt();cn.column+=bn,cn.offset+=bn,He.call(Mt,ke[Ke],cn,Ke)}function Xt(){U&&(Ne.push(U),ut&&ut.call(bt,U,{start:Q,end:Gt()}),U="")}}function M(xe){return xe>=55296&&xe<=57343||xe>1114111}function L(xe){return xe>=1&&xe<=8||xe===11||xe>=13&&xe<=31||xe>=127&&xe<=159||xe>=64976&&xe<=65007||(xe&65535)===65535||(xe&65535)===65534}},68398:function(x,c,r){var u=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{};var E=function(m){var b=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,k=0,d={},N={manual:m.Prism&&m.Prism.manual,disableWorkerMessageHandler:m.Prism&&m.Prism.disableWorkerMessageHandler,util:{encode:function q(W){return W instanceof H?new H(W.type,q(W.content),W.alias):Array.isArray(W)?W.map(q):W.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(q){return Object.prototype.toString.call(q).slice(8,-1)},objId:function(q){return q.__id||Object.defineProperty(q,"__id",{value:++k}),q.__id},clone:function q(W,Y){Y=Y||{};var P,B;switch(N.util.type(W)){case"Object":if(B=N.util.objId(W),Y[B])return Y[B];P={},Y[B]=P;for(var _ in W)W.hasOwnProperty(_)&&(P[_]=q(W[_],Y));return P;case"Array":return B=N.util.objId(W),Y[B]?Y[B]:(P=[],Y[B]=P,W.forEach(function(ee,de){P[de]=q(ee,Y)}),P);default:return W}},getLanguage:function(q){for(;q;){var W=b.exec(q.className);if(W)return W[1].toLowerCase();q=q.parentElement}return"none"},setLanguage:function(q,W){q.className=q.className.replace(RegExp(b,"gi"),""),q.classList.add("language-"+W)},currentScript:function(){if(typeof document=="undefined")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(P){var q=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(P.stack)||[])[1];if(q){var W=document.getElementsByTagName("script");for(var Y in W)if(W[Y].src==q)return W[Y]}return null}},isActive:function(q,W,Y){for(var P="no-"+W;q;){var B=q.classList;if(B.contains(W))return!0;if(B.contains(P))return!1;q=q.parentElement}return!!Y}},languages:{plain:d,plaintext:d,text:d,txt:d,extend:function(q,W){var Y=N.util.clone(N.languages[q]);for(var P in W)Y[P]=W[P];return Y},insertBefore:function(q,W,Y,P){P=P||N.languages;var B=P[q],_={};for(var ee in B)if(B.hasOwnProperty(ee)){if(ee==W)for(var de in Y)Y.hasOwnProperty(de)&&(_[de]=Y[de]);Y.hasOwnProperty(ee)||(_[ee]=B[ee])}var Z=P[q];return P[q]=_,N.languages.DFS(N.languages,function(fe,re){re===Z&&fe!=q&&(this[fe]=_)}),_},DFS:function q(W,Y,P,B){B=B||{};var _=N.util.objId;for(var ee in W)if(W.hasOwnProperty(ee)){Y.call(W,ee,W[ee],P||ee);var de=W[ee],Z=N.util.type(de);Z==="Object"&&!B[_(de)]?(B[_(de)]=!0,q(de,Y,null,B)):Z==="Array"&&!B[_(de)]&&(B[_(de)]=!0,q(de,Y,ee,B))}}},plugins:{},highlightAll:function(q,W){N.highlightAllUnder(document,q,W)},highlightAllUnder:function(q,W,Y){var P={callback:Y,container:q,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};N.hooks.run("before-highlightall",P),P.elements=Array.prototype.slice.apply(P.container.querySelectorAll(P.selector)),N.hooks.run("before-all-elements-highlight",P);for(var B=0,_;_=P.elements[B++];)N.highlightElement(_,W===!0,P.callback)},highlightElement:function(q,W,Y){var P=N.util.getLanguage(q),B=N.languages[P];N.util.setLanguage(q,P);var _=q.parentElement;_&&_.nodeName.toLowerCase()==="pre"&&N.util.setLanguage(_,P);var ee=q.textContent,de={element:q,language:P,grammar:B,code:ee};function Z(re){de.highlightedCode=re,N.hooks.run("before-insert",de),de.element.innerHTML=de.highlightedCode,N.hooks.run("after-highlight",de),N.hooks.run("complete",de),Y&&Y.call(de.element)}if(N.hooks.run("before-sanity-check",de),_=de.element.parentElement,_&&_.nodeName.toLowerCase()==="pre"&&!_.hasAttribute("tabindex")&&_.setAttribute("tabindex","0"),!de.code){N.hooks.run("complete",de),Y&&Y.call(de.element);return}if(N.hooks.run("before-highlight",de),!de.grammar){Z(N.util.encode(de.code));return}if(W&&m.Worker){var fe=new Worker(N.filename);fe.onmessage=function(re){Z(re.data)},fe.postMessage(JSON.stringify({language:de.language,code:de.code,immediateClose:!0}))}else Z(N.highlight(de.code,de.grammar,de.language))},highlight:function(q,W,Y){var P={code:q,grammar:W,language:Y};if(N.hooks.run("before-tokenize",P),!P.grammar)throw new Error('The language "'+P.language+'" has no grammar.');return P.tokens=N.tokenize(P.code,P.grammar),N.hooks.run("after-tokenize",P),H.stringify(N.util.encode(P.tokens),P.language)},tokenize:function(q,W){var Y=W.rest;if(Y){for(var P in Y)W[P]=Y[P];delete W.rest}var B=new ie;return G(B,B.head,q),I(q,B,W,B.head,0),ce(B)},hooks:{all:{},add:function(q,W){var Y=N.hooks.all;Y[q]=Y[q]||[],Y[q].push(W)},run:function(q,W){var Y=N.hooks.all[q];if(!(!Y||!Y.length))for(var P=0,B;B=Y[P++];)B(W)}},Token:H};m.Prism=N;function H(q,W,Y,P){this.type=q,this.content=W,this.alias=Y,this.length=(P||"").length|0}H.stringify=function q(W,Y){if(typeof W=="string")return W;if(Array.isArray(W)){var P="";return W.forEach(function(Z){P+=q(Z,Y)}),P}var B={type:W.type,content:q(W.content,Y),tag:"span",classes:["token",W.type],attributes:{},language:Y},_=W.alias;_&&(Array.isArray(_)?Array.prototype.push.apply(B.classes,_):B.classes.push(_)),N.hooks.run("wrap",B);var ee="";for(var de in B.attributes)ee+=" "+de+'="'+(B.attributes[de]||"").replace(/"/g,"&quot;")+'"';return"<"+B.tag+' class="'+B.classes.join(" ")+'"'+ee+">"+B.content+"</"+B.tag+">"};function O(q,W,Y,P){q.lastIndex=W;var B=q.exec(Y);if(B&&P&&B[1]){var _=B[1].length;B.index+=_,B[0]=B[0].slice(_)}return B}function I(q,W,Y,P,B,_){for(var ee in Y)if(!(!Y.hasOwnProperty(ee)||!Y[ee])){var de=Y[ee];de=Array.isArray(de)?de:[de];for(var Z=0;Z<de.length;++Z){if(_&&_.cause==ee+","+Z)return;var fe=de[Z],re=fe.inside,V=!!fe.lookbehind,le=!!fe.greedy,ne=fe.alias;if(le&&!fe.pattern.global){var ge=fe.pattern.toString().match(/[imsuy]*$/)[0];fe.pattern=RegExp(fe.pattern.source,ge+"g")}for(var Re=fe.pattern||fe,Ie=P.next,ke=B;Ie!==W.tail&&!(_&&ke>=_.reach);ke+=Ie.value.length,Ie=Ie.next){var Be=Ie.value;if(W.length>q.length)return;if(!(Be instanceof H)){var oe=1,M;if(le){if(M=O(Re,ke,q,V),!M||M.index>=q.length)break;var we=M.index,L=M.index+M[0].length,xe=ke;for(xe+=Ie.value.length;we>=xe;)Ie=Ie.next,xe+=Ie.value.length;if(xe-=Ie.value.length,ke=xe,Ie.value instanceof H)continue;for(var Me=Ie;Me!==W.tail&&(xe<L||typeof Me.value=="string");Me=Me.next)oe++,xe+=Me.value.length;oe--,Be=q.slice(ke,xe),M.index-=ke}else if(M=O(Re,0,Be,V),!M)continue;var we=M.index,Tt=M[0],ut=Be.slice(0,we),Rt=Be.slice(we+Tt.length),He=ke+Be.length;_&&He>_.reach&&(_.reach=He);var bt=Ie.prev;ut&&(bt=G(W,bt,ut),ke+=ut.length),be(W,bt,oe);var vt=new H(ee,re?N.tokenize(Tt,re):Tt,ne,Tt);if(Ie=G(W,bt,vt),Rt&&G(W,Ie,Rt),oe>1){var Mt={cause:ee+","+Z,reach:He};I(q,W,Y,Ie.prev,ke,Mt),_&&Mt.reach>_.reach&&(_.reach=Mt.reach)}}}}}}function ie(){var q={value:null,prev:null,next:null},W={value:null,prev:q,next:null};q.next=W,this.head=q,this.tail=W,this.length=0}function G(q,W,Y){var P=W.next,B={value:Y,prev:W,next:P};return W.next=B,P.prev=B,q.length++,B}function be(q,W,Y){for(var P=W.next,B=0;B<Y&&P!==q.tail;B++)P=P.next;W.next=P,P.prev=W,q.length-=B}function ce(q){for(var W=[],Y=q.head.next;Y!==q.tail;)W.push(Y.value),Y=Y.next;return W}if(!m.document)return m.addEventListener&&(N.disableWorkerMessageHandler||m.addEventListener("message",function(q){var W=JSON.parse(q.data),Y=W.language,P=W.code,B=W.immediateClose;m.postMessage(N.highlight(P,N.languages[Y],Y)),B&&m.close()},!1)),N;var ue=N.util.currentScript();ue&&(N.filename=ue.src,ue.hasAttribute("data-manual")&&(N.manual=!0));function te(){N.manual||N.highlightAll()}if(!N.manual){var X=document.readyState;X==="loading"||X==="interactive"&&ue&&ue.defer?document.addEventListener("DOMContentLoaded",te):window.requestAnimationFrame?window.requestAnimationFrame(te):window.setTimeout(te,16)}return N}(u);x.exports&&(x.exports=E),typeof r.g!="undefined"&&(r.g.Prism=E)},88914:function(x,c,r){"use strict";var u=r(47178),E=r(19095),m=r(1969),b="data";x.exports=H;var k=/^data[-\w.:]+$/i,d=/-[a-z]/g,N=/[A-Z]/g;function H(be,ce){var ue=u(ce),te=ce,X=m;return ue in be.normal?be.property[be.normal[ue]]:(ue.length>4&&ue.slice(0,4)===b&&k.test(ce)&&(ce.charAt(4)==="-"?te=O(ce):ce=I(ce),X=E),new X(te,ce))}function O(be){var ce=be.slice(5).replace(d,G);return b+ce.charAt(0).toUpperCase()+ce.slice(1)}function I(be){var ce=be.slice(4);return d.test(ce)?be:(ce=ce.replace(N,ie),ce.charAt(0)!=="-"&&(ce="-"+ce),b+ce)}function ie(be){return"-"+be.toLowerCase()}function G(be){return be.charAt(1).toUpperCase()}},18795:function(x,c,r){"use strict";var u=r(83576),E=r(8179),m=r(59780),b=r(68244),k=r(20019),d=r(38567);x.exports=u([m,E,b,k,d])},20019:function(x,c,r){"use strict";var u=r(70167),E=r(79318),m=u.booleanish,b=u.number,k=u.spaceSeparated;x.exports=E({transform:d,properties:{ariaActiveDescendant:null,ariaAtomic:m,ariaAutoComplete:null,ariaBusy:m,ariaChecked:m,ariaColCount:b,ariaColIndex:b,ariaColSpan:b,ariaControls:k,ariaCurrent:null,ariaDescribedBy:k,ariaDetails:null,ariaDisabled:m,ariaDropEffect:k,ariaErrorMessage:null,ariaExpanded:m,ariaFlowTo:k,ariaGrabbed:m,ariaHasPopup:null,ariaHidden:m,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:k,ariaLevel:b,ariaLive:null,ariaModal:m,ariaMultiLine:m,ariaMultiSelectable:m,ariaOrientation:null,ariaOwns:k,ariaPlaceholder:null,ariaPosInSet:b,ariaPressed:m,ariaReadOnly:m,ariaRelevant:null,ariaRequired:m,ariaRoleDescription:k,ariaRowCount:b,ariaRowIndex:b,ariaRowSpan:b,ariaSelected:m,ariaSetSize:b,ariaSort:null,ariaValueMax:b,ariaValueMin:b,ariaValueNow:b,ariaValueText:null,role:null}});function d(N,H){return H==="role"?H:"aria-"+H.slice(4).toLowerCase()}},38567:function(x,c,r){"use strict";var u=r(70167),E=r(79318),m=r(85804),b=u.boolean,k=u.overloadedBoolean,d=u.booleanish,N=u.number,H=u.spaceSeparated,O=u.commaSeparated;x.exports=E({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:m,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:O,acceptCharset:H,accessKey:H,action:null,allow:null,allowFullScreen:b,allowPaymentRequest:b,allowUserMedia:b,alt:null,as:null,async:b,autoCapitalize:null,autoComplete:H,autoFocus:b,autoPlay:b,capture:b,charSet:null,checked:b,cite:null,className:H,cols:N,colSpan:null,content:null,contentEditable:d,controls:b,controlsList:H,coords:N|O,crossOrigin:null,data:null,dateTime:null,decoding:null,default:b,defer:b,dir:null,dirName:null,disabled:b,download:k,draggable:d,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:b,formTarget:null,headers:H,height:N,hidden:b,high:N,href:null,hrefLang:null,htmlFor:H,httpEquiv:H,id:null,imageSizes:null,imageSrcSet:O,inputMode:null,integrity:null,is:null,isMap:b,itemId:null,itemProp:H,itemRef:H,itemScope:b,itemType:H,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:b,low:N,manifest:null,max:null,maxLength:N,media:null,method:null,min:null,minLength:N,multiple:b,muted:b,name:null,nonce:null,noModule:b,noValidate:b,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:b,optimum:N,pattern:null,ping:H,placeholder:null,playsInline:b,poster:null,preload:null,readOnly:b,referrerPolicy:null,rel:H,required:b,reversed:b,rows:N,rowSpan:N,sandbox:H,scope:null,scoped:b,seamless:b,selected:b,shape:null,size:N,sizes:null,slot:null,span:N,spellCheck:d,src:null,srcDoc:null,srcLang:null,srcSet:O,start:N,step:null,style:null,tabIndex:N,target:null,title:null,translate:null,type:null,typeMustMatch:b,useMap:null,value:d,width:N,wrap:null,align:null,aLink:null,archive:H,axis:null,background:null,bgColor:null,border:N,borderColor:null,bottomMargin:N,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:b,declare:b,event:null,face:null,frame:null,frameBorder:null,hSpace:N,leftMargin:N,link:null,longDesc:null,lowSrc:null,marginHeight:N,marginWidth:N,noResize:b,noHref:b,noShade:b,noWrap:b,object:null,profile:null,prompt:null,rev:null,rightMargin:N,rules:null,scheme:null,scrolling:d,standby:null,summary:null,text:null,topMargin:N,valueType:null,version:null,vAlign:null,vLink:null,vSpace:N,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:b,disableRemotePlayback:b,prefix:null,property:null,results:N,security:null,unselectable:null}})},85804:function(x,c,r){"use strict";var u=r(56432);x.exports=E;function E(m,b){return u(m,b.toLowerCase())}},56432:function(x){"use strict";x.exports=c;function c(r,u){return u in r?r[u]:u}},79318:function(x,c,r){"use strict";var u=r(47178),E=r(44347),m=r(19095);x.exports=b;function b(k){var d=k.space,N=k.mustUseProperty||[],H=k.attributes||{},O=k.properties,I=k.transform,ie={},G={},be,ce;for(be in O)ce=new m(be,I(H,be),O[be],d),N.indexOf(be)!==-1&&(ce.mustUseProperty=!0),ie[be]=ce,G[u(be)]=be,G[u(ce.attribute)]=be;return new E(ie,G,d)}},19095:function(x,c,r){"use strict";var u=r(1969),E=r(70167);x.exports=k,k.prototype=new u,k.prototype.defined=!0;var m=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],b=m.length;function k(N,H,O,I){var ie=-1,G;for(d(this,"space",I),u.call(this,N,H);++ie<b;)G=m[ie],d(this,G,(O&E[G])===E[G])}function d(N,H,O){O&&(N[H]=O)}},1969:function(x){"use strict";x.exports=r;var c=r.prototype;c.space=null,c.attribute=null,c.property=null,c.boolean=!1,c.booleanish=!1,c.overloadedBoolean=!1,c.number=!1,c.commaSeparated=!1,c.spaceSeparated=!1,c.commaOrSpaceSeparated=!1,c.mustUseProperty=!1,c.defined=!1;function r(u,E){this.property=u,this.attribute=E}},83576:function(x,c,r){"use strict";var u=r(97270),E=r(44347);x.exports=m;function m(b){for(var k=b.length,d=[],N=[],H=-1,O,I;++H<k;)O=b[H],d.push(O.property),N.push(O.normal),I=O.space;return new E(u.apply(null,d),u.apply(null,N),I)}},44347:function(x){"use strict";x.exports=r;var c=r.prototype;c.space=null,c.normal={},c.property={};function r(u,E,m){this.property=u,this.normal=E,m&&(this.space=m)}},70167:function(x,c){"use strict";var r=0;c.boolean=u(),c.booleanish=u(),c.overloadedBoolean=u(),c.number=u(),c.spaceSeparated=u(),c.commaSeparated=u(),c.commaOrSpaceSeparated=u();function u(){return Math.pow(2,++r)}},8179:function(x,c,r){"use strict";var u=r(79318);x.exports=u({space:"xlink",transform:E,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function E(m,b){return"xlink:"+b.slice(5).toLowerCase()}},59780:function(x,c,r){"use strict";var u=r(79318);x.exports=u({space:"xml",transform:E,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function E(m,b){return"xml:"+b.slice(3).toLowerCase()}},68244:function(x,c,r){"use strict";var u=r(79318),E=r(85804);x.exports=u({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:E,properties:{xmlns:null,xmlnsXLink:null}})},47178:function(x){"use strict";x.exports=c;function c(r){return r.toLowerCase()}},66042:function(x,c,r){"use strict";r.d(c,{Z:function(){return le}});var u=r(27247),E=r(11913),m=r(43403),b=r(34280),k=r(59301),d=k.createContext(null),N=k.createContext({}),H=d,O=r(74430),I=r(32855),ie=r(92310),G=r.n(ie),be=r(77900),ce=r(10228),ue=r(26112),te=r(43079),X=r(8654),q=["prefixCls","className","containerRef"],W=function(ge){var Re=ge.prefixCls,Ie=ge.className,ke=ge.containerRef,Be=(0,te.Z)(ge,q),oe=k.useContext(N),M=oe.panel,L=(0,X.x1)(M,ke);return k.createElement("div",(0,I.Z)({className:G()("".concat(Re,"-content"),Ie),role:"dialog",ref:L},(0,ue.Z)(ge,{aria:!0}),{"aria-modal":"true"},Be))},Y=W,P=r(48736);function B(ne){return typeof ne=="string"&&String(Number(ne))===ne?((0,P.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(ne)):ne}function _(ne){warning(!("wrapperClassName"in ne),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!ne.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var ee={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function de(ne,ge){var Re,Ie,ke,Be=ne.prefixCls,oe=ne.open,M=ne.placement,L=ne.inline,xe=ne.push,Me=ne.forceRender,we=ne.autoFocus,Tt=ne.keyboard,ut=ne.classNames,Rt=ne.rootClassName,He=ne.rootStyle,bt=ne.zIndex,vt=ne.className,Mt=ne.id,Ut=ne.style,R=ne.motion,h=ne.width,f=ne.height,C=ne.children,D=ne.mask,v=ne.maskClosable,U=ne.maskMotion,Ne=ne.maskClassName,ot=ne.maskStyle,lt=ne.afterOpenChange,Se=ne.onClose,Fe=ne.onMouseEnter,Pe=ne.onMouseOver,Qe=ne.onMouseLeave,ct=ne.onClick,Ge=ne.onKeyDown,pe=ne.onKeyUp,Je=ne.styles,rt=ne.drawerRender,$e=k.useRef(),et=k.useRef(),It=k.useRef();k.useImperativeHandle(ge,function(){return $e.current});var tt=function(Lt){var Qt=Lt.keyCode,An=Lt.shiftKey;switch(Qt){case ce.Z.TAB:{if(Qt===ce.Z.TAB){if(!An&&document.activeElement===It.current){var Dn;(Dn=et.current)===null||Dn===void 0||Dn.focus({preventScroll:!0})}else if(An&&document.activeElement===et.current){var ln;(ln=It.current)===null||ln===void 0||ln.focus({preventScroll:!0})}}break}case ce.Z.ESC:{Se&&Tt&&(Lt.stopPropagation(),Se(Lt));break}}};k.useEffect(function(){if(oe&&we){var Ft;(Ft=$e.current)===null||Ft===void 0||Ft.focus({preventScroll:!0})}},[oe]);var Q=k.useState(!1),Et=(0,E.Z)(Q,2),At=Et[0],ye=Et[1],Gt=k.useContext(H),tn;typeof xe=="boolean"?tn=xe?{}:{distance:0}:tn=xe||{};var Xt=(Re=(Ie=(ke=tn)===null||ke===void 0?void 0:ke.distance)!==null&&Ie!==void 0?Ie:Gt==null?void 0:Gt.pushDistance)!==null&&Re!==void 0?Re:180,Ke=k.useMemo(function(){return{pushDistance:Xt,push:function(){ye(!0)},pull:function(){ye(!1)}}},[Xt]);k.useEffect(function(){if(oe){var Ft;Gt==null||(Ft=Gt.push)===null||Ft===void 0||Ft.call(Gt)}else{var Lt;Gt==null||(Lt=Gt.pull)===null||Lt===void 0||Lt.call(Gt)}},[oe]),k.useEffect(function(){return function(){var Ft;Gt==null||(Ft=Gt.pull)===null||Ft===void 0||Ft.call(Gt)}},[]);var bn=D&&k.createElement(be.default,(0,I.Z)({key:"mask"},U,{visible:oe}),function(Ft,Lt){var Qt=Ft.className,An=Ft.style;return k.createElement("div",{className:G()("".concat(Be,"-mask"),Qt,ut==null?void 0:ut.mask,Ne),style:(0,u.Z)((0,u.Z)((0,u.Z)({},An),ot),Je==null?void 0:Je.mask),onClick:v&&oe?Se:void 0,ref:Lt})}),cn=typeof R=="function"?R(M):R,Ht={};if(At&&Xt)switch(M){case"top":Ht.transform="translateY(".concat(Xt,"px)");break;case"bottom":Ht.transform="translateY(".concat(-Xt,"px)");break;case"left":Ht.transform="translateX(".concat(Xt,"px)");break;default:Ht.transform="translateX(".concat(-Xt,"px)");break}M==="left"||M==="right"?Ht.width=B(h):Ht.height=B(f);var Kt={onMouseEnter:Fe,onMouseOver:Pe,onMouseLeave:Qe,onClick:ct,onKeyDown:Ge,onKeyUp:pe},gn=k.createElement(be.default,(0,I.Z)({key:"panel"},cn,{visible:oe,forceRender:Me,onVisibleChanged:function(Lt){lt==null||lt(Lt)},removeOnLeave:!1,leavedClassName:"".concat(Be,"-content-wrapper-hidden")}),function(Ft,Lt){var Qt=Ft.className,An=Ft.style,Dn=k.createElement(Y,(0,I.Z)({id:Mt,containerRef:Lt,prefixCls:Be,className:G()(vt,ut==null?void 0:ut.content),style:(0,u.Z)((0,u.Z)({},Ut),Je==null?void 0:Je.content)},(0,ue.Z)(ne,{aria:!0}),Kt),C);return k.createElement("div",(0,I.Z)({className:G()("".concat(Be,"-content-wrapper"),ut==null?void 0:ut.wrapper,Qt),style:(0,u.Z)((0,u.Z)((0,u.Z)({},Ht),An),Je==null?void 0:Je.wrapper)},(0,ue.Z)(ne,{data:!0})),rt?rt(Dn):Dn)}),Vt=(0,u.Z)({},He);return bt&&(Vt.zIndex=bt),k.createElement(H.Provider,{value:Ke},k.createElement("div",{className:G()(Be,"".concat(Be,"-").concat(M),Rt,(0,O.Z)((0,O.Z)({},"".concat(Be,"-open"),oe),"".concat(Be,"-inline"),L)),style:Vt,tabIndex:-1,ref:$e,onKeyDown:tt},bn,k.createElement("div",{tabIndex:0,ref:et,style:ee,"aria-hidden":"true","data-sentinel":"start"}),gn,k.createElement("div",{tabIndex:0,ref:It,style:ee,"aria-hidden":"true","data-sentinel":"end"})))}var Z=k.forwardRef(de),fe=Z,re=function(ge){var Re=ge.open,Ie=Re===void 0?!1:Re,ke=ge.prefixCls,Be=ke===void 0?"rc-drawer":ke,oe=ge.placement,M=oe===void 0?"right":oe,L=ge.autoFocus,xe=L===void 0?!0:L,Me=ge.keyboard,we=Me===void 0?!0:Me,Tt=ge.width,ut=Tt===void 0?378:Tt,Rt=ge.mask,He=Rt===void 0?!0:Rt,bt=ge.maskClosable,vt=bt===void 0?!0:bt,Mt=ge.getContainer,Ut=ge.forceRender,R=ge.afterOpenChange,h=ge.destroyOnClose,f=ge.onMouseEnter,C=ge.onMouseOver,D=ge.onMouseLeave,v=ge.onClick,U=ge.onKeyDown,Ne=ge.onKeyUp,ot=ge.panelRef,lt=k.useState(!1),Se=(0,E.Z)(lt,2),Fe=Se[0],Pe=Se[1],Qe=k.useState(!1),ct=(0,E.Z)(Qe,2),Ge=ct[0],pe=ct[1];(0,b.Z)(function(){pe(!0)},[]);var Je=Ge?Ie:!1,rt=k.useRef(),$e=k.useRef();(0,b.Z)(function(){Je&&($e.current=document.activeElement)},[Je]);var et=function(At){var ye;if(Pe(At),R==null||R(At),!At&&$e.current&&!((ye=rt.current)!==null&&ye!==void 0&&ye.contains($e.current))){var Gt;(Gt=$e.current)===null||Gt===void 0||Gt.focus({preventScroll:!0})}},It=k.useMemo(function(){return{panel:ot}},[ot]);if(!Ut&&!Fe&&!Je&&h)return null;var tt={onMouseEnter:f,onMouseOver:C,onMouseLeave:D,onClick:v,onKeyDown:U,onKeyUp:Ne},Q=(0,u.Z)((0,u.Z)({},ge),{},{open:Je,prefixCls:Be,placement:M,autoFocus:xe,keyboard:we,width:ut,mask:He,maskClosable:vt,inline:Mt===!1,afterOpenChange:et,ref:rt},tt);return k.createElement(N.Provider,{value:It},k.createElement(m.Z,{open:Je||Ut||Fe,autoDestroy:!1,getContainer:Mt,autoLock:He&&(Je||Fe)},k.createElement(fe,Q)))},V=re,le=V},91574:function(x,c,r){"use strict";r.d(c,{Z:function(){return ct}});var u=r(32855),E=r(27247),m=r(74430),b=r(11913),k=r(34666),d=r(43079),N=r(92310),H=r.n(N),O=/margin|padding|width|height|max|min|offset/,I={left:!0,top:!0},ie={cssFloat:1,styleFloat:1,float:1};function G(Ge){return Ge.nodeType===1?Ge.ownerDocument.defaultView.getComputedStyle(Ge,null):{}}function be(Ge,pe,Je){if(pe=pe.toLowerCase(),Je==="auto"){if(pe==="height")return Ge.offsetHeight;if(pe==="width")return Ge.offsetWidth}return pe in I||(I[pe]=O.test(pe)),I[pe]?parseFloat(Je)||0:Je}function ce(Ge,pe){var Je=arguments.length,rt=G(Ge);return pe=ie[pe]?"cssFloat"in Ge.style?"cssFloat":"styleFloat":pe,Je===1?rt:be(Ge,pe,rt[pe]||Ge.style[pe])}function ue(Ge,pe,Je){var rt=arguments.length;if(pe=ie[pe]?"cssFloat"in Ge.style?"cssFloat":"styleFloat":pe,rt===3)return typeof Je=="number"&&O.test(pe)&&(Je="".concat(Je,"px")),Ge.style[pe]=Je,Je;for(var $e in pe)pe.hasOwnProperty($e)&&ue(Ge,$e,pe[$e]);return G(Ge)}function te(Ge){return Ge===document.body?document.documentElement.clientWidth:Ge.offsetWidth}function X(Ge){return Ge===document.body?window.innerHeight||document.documentElement.clientHeight:Ge.offsetHeight}function q(){var Ge=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),pe=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:Ge,height:pe}}function W(){var Ge=document.documentElement.clientWidth,pe=window.innerHeight||document.documentElement.clientHeight;return{width:Ge,height:pe}}function Y(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function P(Ge){var pe=Ge.getBoundingClientRect(),Je=document.documentElement;return{left:pe.left+(window.pageXOffset||Je.scrollLeft)-(Je.clientLeft||document.body.clientLeft||0),top:pe.top+(window.pageYOffset||Je.scrollTop)-(Je.clientTop||document.body.clientTop||0)}}var B=r(18929),_=r(59301),ee=r(55311),de=r(8224),Z=r(10228),fe=r(43403),re=r(77900),V=_.createContext(null),le=function(pe){var Je=pe.visible,rt=pe.maskTransitionName,$e=pe.getContainer,et=pe.prefixCls,It=pe.rootClassName,tt=pe.icons,Q=pe.countRender,Et=pe.showSwitch,At=pe.showProgress,ye=pe.current,Gt=pe.transform,tn=pe.count,Xt=pe.scale,Ke=pe.minScale,bn=pe.maxScale,cn=pe.closeIcon,Ht=pe.onActive,Kt=pe.onClose,gn=pe.onZoomIn,Vt=pe.onZoomOut,Ft=pe.onRotateRight,Lt=pe.onRotateLeft,Qt=pe.onFlipX,An=pe.onFlipY,Dn=pe.onReset,ln=pe.toolbarRender,Lr=pe.zIndex,Ln=pe.image,Vn=(0,_.useContext)(V),Ar=tt.rotateLeft,Ir=tt.rotateRight,Kn=tt.zoomIn,Cn=tt.zoomOut,Mn=tt.close,zn=tt.left,$t=tt.right,On=tt.flipX,Or=tt.flipY,Mr="".concat(et,"-operations-operation");_.useEffect(function(){var ze=function(jt){jt.keyCode===Z.Z.ESC&&Kt()};return Je&&window.addEventListener("keydown",ze),function(){window.removeEventListener("keydown",ze)}},[Je]);var De=function(yn,jt){yn.preventDefault(),yn.stopPropagation(),Ht(jt)},Le=_.useCallback(function(ze){var yn=ze.type,jt=ze.disabled,dn=ze.onClick,nn=ze.icon;return _.createElement("div",{key:yn,className:H()(Mr,"".concat(et,"-operations-operation-").concat(yn),(0,m.Z)({},"".concat(et,"-operations-operation-disabled"),!!jt)),onClick:dn},nn)},[Mr,et]),Pt=Et?Le({icon:zn,onClick:function(yn){return De(yn,-1)},type:"prev",disabled:ye===0}):void 0,wt=Et?Le({icon:$t,onClick:function(yn){return De(yn,1)},type:"next",disabled:ye===tn-1}):void 0,me=Le({icon:Or,onClick:An,type:"flipY"}),St=Le({icon:On,onClick:Qt,type:"flipX"}),_t=Le({icon:Ar,onClick:Lt,type:"rotateLeft"}),Te=Le({icon:Ir,onClick:Ft,type:"rotateRight"}),g=Le({icon:Cn,onClick:Vt,type:"zoomOut",disabled:Xt<=Ke}),Yt=Le({icon:Kn,onClick:gn,type:"zoomIn",disabled:Xt===bn}),Jt=_.createElement("div",{className:"".concat(et,"-operations")},me,St,_t,Te,g,Yt);return _.createElement(re.default,{visible:Je,motionName:rt},function(ze){var yn=ze.className,jt=ze.style;return _.createElement(fe.Z,{open:!0,getContainer:$e!=null?$e:document.body},_.createElement("div",{className:H()("".concat(et,"-operations-wrapper"),yn,It),style:(0,E.Z)((0,E.Z)({},jt),{},{zIndex:Lr})},cn===null?null:_.createElement("button",{className:"".concat(et,"-close"),onClick:Kt},cn||Mn),Et&&_.createElement(_.Fragment,null,_.createElement("div",{className:H()("".concat(et,"-switch-left"),(0,m.Z)({},"".concat(et,"-switch-left-disabled"),ye===0)),onClick:function(nn){return De(nn,-1)}},zn),_.createElement("div",{className:H()("".concat(et,"-switch-right"),(0,m.Z)({},"".concat(et,"-switch-right-disabled"),ye===tn-1)),onClick:function(nn){return De(nn,1)}},$t)),_.createElement("div",{className:"".concat(et,"-footer")},At&&_.createElement("div",{className:"".concat(et,"-progress")},Q?Q(ye+1,tn):"".concat(ye+1," / ").concat(tn)),ln?ln(Jt,(0,E.Z)((0,E.Z)({icons:{prevIcon:Pt,nextIcon:wt,flipYIcon:me,flipXIcon:St,rotateLeftIcon:_t,rotateRightIcon:Te,zoomOutIcon:g,zoomInIcon:Yt},actions:{onActive:Ht,onFlipY:An,onFlipX:Qt,onRotateLeft:Lt,onRotateRight:Ft,onZoomOut:Vt,onZoomIn:gn,onReset:Dn,onClose:Kt},transform:Gt},Vn?{current:ye,total:tn}:{}),{},{image:Ln})):Jt)))})},ne=le,ge=r(13697),Re=r(16089),Ie={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function ke(Ge,pe,Je,rt){var $e=(0,_.useRef)(null),et=(0,_.useRef)([]),It=(0,_.useState)(Ie),tt=(0,b.Z)(It,2),Q=tt[0],Et=tt[1],At=function(Xt){Et(Ie),(0,ge.Z)(Ie,Q)||rt==null||rt({transform:Ie,action:Xt})},ye=function(Xt,Ke){$e.current===null&&(et.current=[],$e.current=(0,Re.Z)(function(){Et(function(bn){var cn=bn;return et.current.forEach(function(Ht){cn=(0,E.Z)((0,E.Z)({},cn),Ht)}),$e.current=null,rt==null||rt({transform:cn,action:Ke}),cn})})),et.current.push((0,E.Z)((0,E.Z)({},Q),Xt))},Gt=function(Xt,Ke,bn,cn,Ht){var Kt=Ge.current,gn=Kt.width,Vt=Kt.height,Ft=Kt.offsetWidth,Lt=Kt.offsetHeight,Qt=Kt.offsetLeft,An=Kt.offsetTop,Dn=Xt,ln=Q.scale*Xt;ln>Je?(ln=Je,Dn=Je/Q.scale):ln<pe&&(ln=Ht?ln:pe,Dn=ln/Q.scale);var Lr=bn!=null?bn:innerWidth/2,Ln=cn!=null?cn:innerHeight/2,Vn=Dn-1,Ar=Vn*gn*.5,Ir=Vn*Vt*.5,Kn=Vn*(Lr-Q.x-Qt),Cn=Vn*(Ln-Q.y-An),Mn=Q.x-(Kn-Ar),zn=Q.y-(Cn-Ir);if(Xt<1&&ln===1){var $t=Ft*ln,On=Lt*ln,Or=W(),Mr=Or.width,De=Or.height;$t<=Mr&&On<=De&&(Mn=0,zn=0)}ye({x:Mn,y:zn,scale:ln},Ke)};return{transform:Q,resetTransform:At,updateTransform:ye,dispatchZoomChange:Gt}}var Be=r(48736);function oe(Ge,pe,Je,rt){var $e=pe+Je,et=(Je-rt)/2;if(Je>rt){if(pe>0)return(0,m.Z)({},Ge,et);if(pe<0&&$e<rt)return(0,m.Z)({},Ge,-et)}else if(pe<0||$e>rt)return(0,m.Z)({},Ge,pe<0?et:-et);return{}}function M(Ge,pe,Je,rt){var $e=W(),et=$e.width,It=$e.height,tt=null;return Ge<=et&&pe<=It?tt={x:0,y:0}:(Ge>et||pe>It)&&(tt=(0,E.Z)((0,E.Z)({},oe("x",Je,Ge,et)),oe("y",rt,pe,It))),tt}var L=1,xe=1;function Me(Ge,pe,Je,rt,$e,et,It){var tt=$e.rotate,Q=$e.scale,Et=$e.x,At=$e.y,ye=(0,_.useState)(!1),Gt=(0,b.Z)(ye,2),tn=Gt[0],Xt=Gt[1],Ke=(0,_.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),bn=function(Vt){!pe||Vt.button!==0||(Vt.preventDefault(),Vt.stopPropagation(),Ke.current={diffX:Vt.pageX-Et,diffY:Vt.pageY-At,transformX:Et,transformY:At},Xt(!0))},cn=function(Vt){Je&&tn&&et({x:Vt.pageX-Ke.current.diffX,y:Vt.pageY-Ke.current.diffY},"move")},Ht=function(){if(Je&&tn){Xt(!1);var Vt=Ke.current,Ft=Vt.transformX,Lt=Vt.transformY,Qt=Et!==Ft&&At!==Lt;if(!Qt)return;var An=Ge.current.offsetWidth*Q,Dn=Ge.current.offsetHeight*Q,ln=Ge.current.getBoundingClientRect(),Lr=ln.left,Ln=ln.top,Vn=tt%180!==0,Ar=M(Vn?Dn:An,Vn?An:Dn,Lr,Ln);Ar&&et((0,E.Z)({},Ar),"dragRebound")}},Kt=function(Vt){if(!(!Je||Vt.deltaY==0)){var Ft=Math.abs(Vt.deltaY/100),Lt=Math.min(Ft,xe),Qt=L+Lt*rt;Vt.deltaY>0&&(Qt=L/Qt),It(Qt,"wheel",Vt.clientX,Vt.clientY)}};return(0,_.useEffect)(function(){var gn,Vt,Ft,Lt;if(pe){Ft=(0,de.Z)(window,"mouseup",Ht,!1),Lt=(0,de.Z)(window,"mousemove",cn,!1);try{window.top!==window.self&&(gn=(0,de.Z)(window.top,"mouseup",Ht,!1),Vt=(0,de.Z)(window.top,"mousemove",cn,!1))}catch(Qt){(0,Be.Kp)(!1,"[rc-image] ".concat(Qt))}}return function(){var Qt,An,Dn,ln;(Qt=Ft)===null||Qt===void 0||Qt.remove(),(An=Lt)===null||An===void 0||An.remove(),(Dn=gn)===null||Dn===void 0||Dn.remove(),(ln=Vt)===null||ln===void 0||ln.remove()}},[Je,tn,Et,At,tt,pe]),{isMoving:tn,onMouseDown:bn,onMouseMove:cn,onMouseUp:Ht,onWheel:Kt}}function we(Ge){return new Promise(function(pe){if(!Ge){pe(!1);return}var Je=document.createElement("img");Je.onerror=function(){return pe(!1)},Je.onload=function(){return pe(!0)},Je.src=Ge})}function Tt(Ge){var pe=Ge.src,Je=Ge.isCustomPlaceholder,rt=Ge.fallback,$e=(0,_.useState)(Je?"loading":"normal"),et=(0,b.Z)($e,2),It=et[0],tt=et[1],Q=(0,_.useRef)(!1),Et=It==="error";(0,_.useEffect)(function(){var tn=!0;return we(pe).then(function(Xt){!Xt&&tn&&tt("error")}),function(){tn=!1}},[pe]),(0,_.useEffect)(function(){Je&&!Q.current?tt("loading"):Et&&tt("normal")},[pe]);var At=function(){tt("normal")},ye=function(Xt){Q.current=!1,It==="loading"&&Xt!==null&&Xt!==void 0&&Xt.complete&&(Xt.naturalWidth||Xt.naturalHeight)&&(Q.current=!0,At())},Gt=Et&&rt?{src:rt}:{onLoad:At,src:pe};return[ye,Gt,It]}function ut(Ge,pe){var Je=Ge.x-pe.x,rt=Ge.y-pe.y;return Math.hypot(Je,rt)}function Rt(Ge,pe,Je,rt){var $e=ut(Ge,Je),et=ut(pe,rt);if($e===0&&et===0)return[Ge.x,Ge.y];var It=$e/($e+et),tt=Ge.x+It*(pe.x-Ge.x),Q=Ge.y+It*(pe.y-Ge.y);return[tt,Q]}function He(Ge,pe,Je,rt,$e,et,It){var tt=$e.rotate,Q=$e.scale,Et=$e.x,At=$e.y,ye=(0,_.useState)(!1),Gt=(0,b.Z)(ye,2),tn=Gt[0],Xt=Gt[1],Ke=(0,_.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),bn=function(Vt){Ke.current=(0,E.Z)((0,E.Z)({},Ke.current),Vt)},cn=function(Vt){if(pe){Vt.stopPropagation(),Xt(!0);var Ft=Vt.touches,Lt=Ft===void 0?[]:Ft;Lt.length>1?bn({point1:{x:Lt[0].clientX,y:Lt[0].clientY},point2:{x:Lt[1].clientX,y:Lt[1].clientY},eventType:"touchZoom"}):bn({point1:{x:Lt[0].clientX-Et,y:Lt[0].clientY-At},eventType:"move"})}},Ht=function(Vt){var Ft=Vt.touches,Lt=Ft===void 0?[]:Ft,Qt=Ke.current,An=Qt.point1,Dn=Qt.point2,ln=Qt.eventType;if(Lt.length>1&&ln==="touchZoom"){var Lr={x:Lt[0].clientX,y:Lt[0].clientY},Ln={x:Lt[1].clientX,y:Lt[1].clientY},Vn=Rt(An,Dn,Lr,Ln),Ar=(0,b.Z)(Vn,2),Ir=Ar[0],Kn=Ar[1],Cn=ut(Lr,Ln)/ut(An,Dn);It(Cn,"touchZoom",Ir,Kn,!0),bn({point1:Lr,point2:Ln,eventType:"touchZoom"})}else ln==="move"&&(et({x:Lt[0].clientX-An.x,y:Lt[0].clientY-An.y},"move"),bn({eventType:"move"}))},Kt=function(){if(Je){if(tn&&Xt(!1),bn({eventType:"none"}),rt>Q)return et({x:0,y:0,scale:rt},"touchZoom");var Vt=Ge.current.offsetWidth*Q,Ft=Ge.current.offsetHeight*Q,Lt=Ge.current.getBoundingClientRect(),Qt=Lt.left,An=Lt.top,Dn=tt%180!==0,ln=M(Dn?Ft:Vt,Dn?Vt:Ft,Qt,An);ln&&et((0,E.Z)({},ln),"dragRebound")}};return(0,_.useEffect)(function(){var gn;return Je&&pe&&(gn=(0,de.Z)(window,"touchmove",function(Vt){return Vt.preventDefault()},{passive:!1})),function(){var Vt;(Vt=gn)===null||Vt===void 0||Vt.remove()}},[Je,pe]),{isTouching:tn,onTouchStart:cn,onTouchMove:Ht,onTouchEnd:Kt}}var bt=["fallback","src","imgRef"],vt=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],Mt=function(pe){var Je=pe.fallback,rt=pe.src,$e=pe.imgRef,et=(0,d.Z)(pe,bt),It=Tt({src:rt,fallback:Je}),tt=(0,b.Z)(It,2),Q=tt[0],Et=tt[1];return _.createElement("img",(0,u.Z)({ref:function(ye){$e.current=ye,Q(ye)}},et,Et))},Ut=function(pe){var Je=pe.prefixCls,rt=pe.src,$e=pe.alt,et=pe.imageInfo,It=pe.fallback,tt=pe.movable,Q=tt===void 0?!0:tt,Et=pe.onClose,At=pe.visible,ye=pe.icons,Gt=ye===void 0?{}:ye,tn=pe.rootClassName,Xt=pe.closeIcon,Ke=pe.getContainer,bn=pe.current,cn=bn===void 0?0:bn,Ht=pe.count,Kt=Ht===void 0?1:Ht,gn=pe.countRender,Vt=pe.scaleStep,Ft=Vt===void 0?.5:Vt,Lt=pe.minScale,Qt=Lt===void 0?1:Lt,An=pe.maxScale,Dn=An===void 0?50:An,ln=pe.transitionName,Lr=ln===void 0?"zoom":ln,Ln=pe.maskTransitionName,Vn=Ln===void 0?"fade":Ln,Ar=pe.imageRender,Ir=pe.imgCommonProps,Kn=pe.toolbarRender,Cn=pe.onTransform,Mn=pe.onChange,zn=(0,d.Z)(pe,vt),$t=(0,_.useRef)(),On=(0,_.useContext)(V),Or=On&&Kt>1,Mr=On&&Kt>=1,De=(0,_.useState)(!0),Le=(0,b.Z)(De,2),Pt=Le[0],wt=Le[1],me=ke($t,Qt,Dn,Cn),St=me.transform,_t=me.resetTransform,Te=me.updateTransform,g=me.dispatchZoomChange,Yt=Me($t,Q,At,Ft,St,Te,g),Jt=Yt.isMoving,ze=Yt.onMouseDown,yn=Yt.onWheel,jt=He($t,Q,At,Qt,St,Te,g),dn=jt.isTouching,nn=jt.onTouchStart,he=jt.onTouchMove,mn=jt.onTouchEnd,lr=St.rotate,ur=St.scale,fr=H()((0,m.Z)({},"".concat(Je,"-moving"),Jt));(0,_.useEffect)(function(){Pt||wt(!0)},[Pt]);var pr=function(){_t("close")},Zn=function(){g(L+Ft,"zoomIn")},hr=function(){g(L/(L+Ft),"zoomOut")},_r=function(){Te({rotate:lr+90},"rotateRight")},kr=function(){Te({rotate:lr-90},"rotateLeft")},Rr=function(){Te({flipX:!St.flipX},"flipX")},zr=function(){Te({flipY:!St.flipY},"flipY")},Br=function(){_t("reset")},gr=function(or){var mr=cn+or;!Number.isInteger(mr)||mr<0||mr>Kt-1||(wt(!1),_t(or<0?"prev":"next"),Mn==null||Mn(mr,cn))},Gr=function(or){!At||!Or||(or.keyCode===Z.Z.LEFT?gr(-1):or.keyCode===Z.Z.RIGHT&&gr(1))},Wr=function(or){At&&(ur!==1?Te({x:0,y:0,scale:1},"doubleClick"):g(L+Ft,"doubleClick",or.clientX,or.clientY))};(0,_.useEffect)(function(){var Pn=(0,de.Z)(window,"keydown",Gr,!1);return function(){Pn.remove()}},[At,Or,cn]);var un=_.createElement(Mt,(0,u.Z)({},Ir,{width:pe.width,height:pe.height,imgRef:$t,className:"".concat(Je,"-img"),alt:$e,style:{transform:"translate3d(".concat(St.x,"px, ").concat(St.y,"px, 0) scale3d(").concat(St.flipX?"-":"").concat(ur,", ").concat(St.flipY?"-":"").concat(ur,", 1) rotate(").concat(lr,"deg)"),transitionDuration:(!Pt||dn)&&"0s"},fallback:It,src:rt,onWheel:yn,onMouseDown:ze,onDoubleClick:Wr,onTouchStart:nn,onTouchMove:he,onTouchEnd:mn,onTouchCancel:mn})),Rn=(0,E.Z)({url:rt,alt:$e},et);return _.createElement(_.Fragment,null,_.createElement(ee.Z,(0,u.Z)({transitionName:Lr,maskTransitionName:Vn,closable:!1,keyboard:!0,prefixCls:Je,onClose:Et,visible:At,classNames:{wrapper:fr},rootClassName:tn,getContainer:Ke},zn,{afterClose:pr}),_.createElement("div",{className:"".concat(Je,"-img-wrapper")},Ar?Ar(un,(0,E.Z)({transform:St,image:Rn},On?{current:cn}:{})):un)),_.createElement(ne,{visible:At,transform:St,maskTransitionName:Vn,closeIcon:Xt,getContainer:Ke,prefixCls:Je,rootClassName:tn,icons:Gt,countRender:gn,showSwitch:Or,showProgress:Mr,current:cn,count:Kt,scale:ur,minScale:Qt,maxScale:Dn,toolbarRender:Kn,onActive:gr,onZoomIn:Zn,onZoomOut:hr,onRotateRight:_r,onRotateLeft:kr,onFlipX:Rr,onFlipY:zr,onClose:Et,onReset:Br,zIndex:zn.zIndex!==void 0?zn.zIndex+1:void 0,image:Rn}))},R=Ut,h=r(3300),f=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];function C(Ge){var pe=_.useState({}),Je=(0,b.Z)(pe,2),rt=Je[0],$e=Je[1],et=_.useCallback(function(tt,Q){return $e(function(Et){return(0,E.Z)((0,E.Z)({},Et),{},(0,m.Z)({},tt,Q))}),function(){$e(function(Et){var At=(0,E.Z)({},Et);return delete At[tt],At})}},[]),It=_.useMemo(function(){return Ge?Ge.map(function(tt){if(typeof tt=="string")return{data:{src:tt}};var Q={};return Object.keys(tt).forEach(function(Et){["src"].concat((0,h.Z)(f)).includes(Et)&&(Q[Et]=tt[Et])}),{data:Q}}):Object.keys(rt).reduce(function(tt,Q){var Et=rt[Q],At=Et.canPreview,ye=Et.data;return At&&tt.push({data:ye,id:Q}),tt},[])},[Ge,rt]);return[It,et,!!Ge]}var D=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],v=["src"],U=function(pe){var Je,rt=pe.previewPrefixCls,$e=rt===void 0?"rc-image-preview":rt,et=pe.children,It=pe.icons,tt=It===void 0?{}:It,Q=pe.items,Et=pe.preview,At=pe.fallback,ye=(0,k.Z)(Et)==="object"?Et:{},Gt=ye.visible,tn=ye.onVisibleChange,Xt=ye.getContainer,Ke=ye.current,bn=ye.movable,cn=ye.minScale,Ht=ye.maxScale,Kt=ye.countRender,gn=ye.closeIcon,Vt=ye.onChange,Ft=ye.onTransform,Lt=ye.toolbarRender,Qt=ye.imageRender,An=(0,d.Z)(ye,D),Dn=C(Q),ln=(0,b.Z)(Dn,3),Lr=ln[0],Ln=ln[1],Vn=ln[2],Ar=(0,B.Z)(0,{value:Ke}),Ir=(0,b.Z)(Ar,2),Kn=Ir[0],Cn=Ir[1],Mn=(0,_.useState)(!1),zn=(0,b.Z)(Mn,2),$t=zn[0],On=zn[1],Or=((Je=Lr[Kn])===null||Je===void 0?void 0:Je.data)||{},Mr=Or.src,De=(0,d.Z)(Or,v),Le=(0,B.Z)(!!Gt,{value:Gt,onChange:function(dn,nn){tn==null||tn(dn,nn,Kn)}}),Pt=(0,b.Z)(Le,2),wt=Pt[0],me=Pt[1],St=(0,_.useState)(null),_t=(0,b.Z)(St,2),Te=_t[0],g=_t[1],Yt=_.useCallback(function(jt,dn,nn,he){var mn=Vn?Lr.findIndex(function(lr){return lr.data.src===dn}):Lr.findIndex(function(lr){return lr.id===jt});Cn(mn<0?0:mn),me(!0),g({x:nn,y:he}),On(!0)},[Lr,Vn]);_.useEffect(function(){wt?$t||Cn(0):On(!1)},[wt]);var Jt=function(dn,nn){Cn(dn),Vt==null||Vt(dn,nn)},ze=function(){me(!1),g(null)},yn=_.useMemo(function(){return{register:Ln,onPreview:Yt}},[Ln,Yt]);return _.createElement(V.Provider,{value:yn},et,_.createElement(R,(0,u.Z)({"aria-hidden":!wt,movable:bn,visible:wt,prefixCls:$e,closeIcon:gn,onClose:ze,mousePosition:Te,imgCommonProps:De,src:Mr,fallback:At,icons:tt,minScale:cn,maxScale:Ht,getContainer:Xt,current:Kn,count:Lr.length,countRender:Kt,onTransform:Ft,toolbarRender:Lt,imageRender:Qt,onChange:Jt},An)))},Ne=U,ot=0;function lt(Ge,pe){var Je=_.useState(function(){return ot+=1,String(ot)}),rt=(0,b.Z)(Je,1),$e=rt[0],et=_.useContext(V),It={data:pe,canPreview:Ge};return _.useEffect(function(){if(et)return et.register($e,It)},[]),_.useEffect(function(){et&&et.register($e,It)},[Ge,pe]),$e}var Se=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Fe=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Pe=function(pe){var Je=pe.src,rt=pe.alt,$e=pe.onPreviewClose,et=pe.prefixCls,It=et===void 0?"rc-image":et,tt=pe.previewPrefixCls,Q=tt===void 0?"".concat(It,"-preview"):tt,Et=pe.placeholder,At=pe.fallback,ye=pe.width,Gt=pe.height,tn=pe.style,Xt=pe.preview,Ke=Xt===void 0?!0:Xt,bn=pe.className,cn=pe.onClick,Ht=pe.onError,Kt=pe.wrapperClassName,gn=pe.wrapperStyle,Vt=pe.rootClassName,Ft=(0,d.Z)(pe,Se),Lt=Et&&Et!==!0,Qt=(0,k.Z)(Ke)==="object"?Ke:{},An=Qt.src,Dn=Qt.visible,ln=Dn===void 0?void 0:Dn,Lr=Qt.onVisibleChange,Ln=Lr===void 0?$e:Lr,Vn=Qt.getContainer,Ar=Vn===void 0?void 0:Vn,Ir=Qt.mask,Kn=Qt.maskClassName,Cn=Qt.movable,Mn=Qt.icons,zn=Qt.scaleStep,$t=Qt.minScale,On=Qt.maxScale,Or=Qt.imageRender,Mr=Qt.toolbarRender,De=(0,d.Z)(Qt,Fe),Le=An!=null?An:Je,Pt=(0,B.Z)(!!ln,{value:ln,onChange:Ln}),wt=(0,b.Z)(Pt,2),me=wt[0],St=wt[1],_t=Tt({src:Je,isCustomPlaceholder:Lt,fallback:At}),Te=(0,b.Z)(_t,3),g=Te[0],Yt=Te[1],Jt=Te[2],ze=(0,_.useState)(null),yn=(0,b.Z)(ze,2),jt=yn[0],dn=yn[1],nn=(0,_.useContext)(V),he=!!Ke,mn=function(){St(!1),dn(null)},lr=H()(It,Kt,Vt,(0,m.Z)({},"".concat(It,"-error"),Jt==="error")),ur=(0,_.useMemo)(function(){var hr={};return f.forEach(function(_r){pe[_r]!==void 0&&(hr[_r]=pe[_r])}),hr},f.map(function(hr){return pe[hr]})),fr=(0,_.useMemo)(function(){return(0,E.Z)((0,E.Z)({},ur),{},{src:Le})},[Le,ur]),pr=lt(he,fr),Zn=function(_r){var kr=P(_r.target),Rr=kr.left,zr=kr.top;nn?nn.onPreview(pr,Le,Rr,zr):(dn({x:Rr,y:zr}),St(!0)),cn==null||cn(_r)};return _.createElement(_.Fragment,null,_.createElement("div",(0,u.Z)({},Ft,{className:lr,onClick:he?Zn:cn,style:(0,E.Z)({width:ye,height:Gt},gn)}),_.createElement("img",(0,u.Z)({},ur,{className:H()("".concat(It,"-img"),(0,m.Z)({},"".concat(It,"-img-placeholder"),Et===!0),bn),style:(0,E.Z)({height:Gt},tn),ref:g},Yt,{width:ye,height:Gt,onError:Ht})),Jt==="loading"&&_.createElement("div",{"aria-hidden":"true",className:"".concat(It,"-placeholder")},Et),Ir&&he&&_.createElement("div",{className:H()("".concat(It,"-mask"),Kn),style:{display:(tn==null?void 0:tn.display)==="none"?"none":void 0}},Ir)),!nn&&he&&_.createElement(R,(0,u.Z)({"aria-hidden":!me,visible:me,prefixCls:Q,onClose:mn,mousePosition:jt,src:Le,alt:rt,imageInfo:{width:ye,height:Gt},fallback:At,getContainer:Ar,icons:Mn,movable:Cn,scaleStep:zn,minScale:$t,maxScale:On,rootClassName:Vt,imageRender:Or,imgCommonProps:ur,toolbarRender:Mr},De)))};Pe.PreviewGroup=Ne;var Qe=Pe,ct=Qe},23425:function(x,c,r){"use strict";r.d(c,{Z:function(){return ee}});var u=r(74430),E=r(32855),m=r(34666),b=r(27247),k=r(11913),d=r(92310),N=r.n(d),H=r(18929),O=r(10228),I=r(26112),ie=r(48736),G=r(59301),be=r(17119),ce=[10,20,50,100],ue=function(Z){var fe=Z.pageSizeOptions,re=fe===void 0?ce:fe,V=Z.locale,le=Z.changeSize,ne=Z.pageSize,ge=Z.goButton,Re=Z.quickGo,Ie=Z.rootPrefixCls,ke=Z.disabled,Be=Z.buildOptionText,oe=Z.showSizeChanger,M=Z.sizeChangerRender,L=G.useState(""),xe=(0,k.Z)(L,2),Me=xe[0],we=xe[1],Tt=function(){return!Me||Number.isNaN(Me)?void 0:Number(Me)},ut=typeof Be=="function"?Be:function(f){return"".concat(f," ").concat(V.items_per_page)},Rt=function(C){we(C.target.value)},He=function(C){ge||Me===""||(we(""),!(C.relatedTarget&&(C.relatedTarget.className.indexOf("".concat(Ie,"-item-link"))>=0||C.relatedTarget.className.indexOf("".concat(Ie,"-item"))>=0))&&(Re==null||Re(Tt())))},bt=function(C){Me!==""&&(C.keyCode===O.Z.ENTER||C.type==="click")&&(we(""),Re==null||Re(Tt()))},vt=function(){return re.some(function(C){return C.toString()===ne.toString()})?re:re.concat([ne]).sort(function(C,D){var v=Number.isNaN(Number(C))?0:Number(C),U=Number.isNaN(Number(D))?0:Number(D);return v-U})},Mt="".concat(Ie,"-options");if(!oe&&!Re)return null;var Ut=null,R=null,h=null;return oe&&M&&(Ut=M({disabled:ke,size:ne,onSizeChange:function(C){le==null||le(Number(C))},"aria-label":V.page_size,className:"".concat(Mt,"-size-changer"),options:vt().map(function(f){return{label:ut(f),value:f}})})),Re&&(ge&&(h=typeof ge=="boolean"?G.createElement("button",{type:"button",onClick:bt,onKeyUp:bt,disabled:ke,className:"".concat(Mt,"-quick-jumper-button")},V.jump_to_confirm):G.createElement("span",{onClick:bt,onKeyUp:bt},ge)),R=G.createElement("div",{className:"".concat(Mt,"-quick-jumper")},V.jump_to,G.createElement("input",{disabled:ke,type:"text",value:Me,onChange:Rt,onKeyUp:bt,onBlur:He,"aria-label":V.page}),V.page,h)),G.createElement("li",{className:Mt},Ut,R)},te=ue,X=function(Z){var fe=Z.rootPrefixCls,re=Z.page,V=Z.active,le=Z.className,ne=Z.showTitle,ge=Z.onClick,Re=Z.onKeyPress,Ie=Z.itemRender,ke="".concat(fe,"-item"),Be=N()(ke,"".concat(ke,"-").concat(re),(0,u.Z)((0,u.Z)({},"".concat(ke,"-active"),V),"".concat(ke,"-disabled"),!re),le),oe=function(){ge(re)},M=function(Me){Re(Me,ge,re)},L=Ie(re,"page",G.createElement("a",{rel:"nofollow"},re));return L?G.createElement("li",{title:ne?String(re):null,className:Be,onClick:oe,onKeyDown:M,tabIndex:0},L):null},q=X,W=function(Z,fe,re){return re};function Y(){}function P(de){var Z=Number(de);return typeof Z=="number"&&!Number.isNaN(Z)&&isFinite(Z)&&Math.floor(Z)===Z}function B(de,Z,fe){var re=typeof de=="undefined"?Z:de;return Math.floor((fe-1)/re)+1}var _=function(Z){var fe=Z.prefixCls,re=fe===void 0?"rc-pagination":fe,V=Z.selectPrefixCls,le=V===void 0?"rc-select":V,ne=Z.className,ge=Z.current,Re=Z.defaultCurrent,Ie=Re===void 0?1:Re,ke=Z.total,Be=ke===void 0?0:ke,oe=Z.pageSize,M=Z.defaultPageSize,L=M===void 0?10:M,xe=Z.onChange,Me=xe===void 0?Y:xe,we=Z.hideOnSinglePage,Tt=Z.align,ut=Z.showPrevNextJumpers,Rt=ut===void 0?!0:ut,He=Z.showQuickJumper,bt=Z.showLessItems,vt=Z.showTitle,Mt=vt===void 0?!0:vt,Ut=Z.onShowSizeChange,R=Ut===void 0?Y:Ut,h=Z.locale,f=h===void 0?be.Z:h,C=Z.style,D=Z.totalBoundaryShowSizeChanger,v=D===void 0?50:D,U=Z.disabled,Ne=Z.simple,ot=Z.showTotal,lt=Z.showSizeChanger,Se=lt===void 0?Be>v:lt,Fe=Z.sizeChangerRender,Pe=Z.pageSizeOptions,Qe=Z.itemRender,ct=Qe===void 0?W:Qe,Ge=Z.jumpPrevIcon,pe=Z.jumpNextIcon,Je=Z.prevIcon,rt=Z.nextIcon,$e=G.useRef(null),et=(0,H.Z)(10,{value:oe,defaultValue:L}),It=(0,k.Z)(et,2),tt=It[0],Q=It[1],Et=(0,H.Z)(1,{value:ge,defaultValue:Ie,postState:function(Rn){return Math.max(1,Math.min(Rn,B(void 0,tt,Be)))}}),At=(0,k.Z)(Et,2),ye=At[0],Gt=At[1],tn=G.useState(ye),Xt=(0,k.Z)(tn,2),Ke=Xt[0],bn=Xt[1];(0,G.useEffect)(function(){bn(ye)},[ye]);var cn=Me!==Y,Ht="current"in Z,Kt=Math.max(1,ye-(bt?3:5)),gn=Math.min(B(void 0,tt,Be),ye+(bt?3:5));function Vt(un,Rn){var Pn=un||G.createElement("button",{type:"button","aria-label":Rn,className:"".concat(re,"-item-link")});return typeof un=="function"&&(Pn=G.createElement(un,(0,b.Z)({},Z))),Pn}function Ft(un){var Rn=un.target.value,Pn=B(void 0,tt,Be),or;return Rn===""?or=Rn:Number.isNaN(Number(Rn))?or=Ke:Rn>=Pn?or=Pn:or=Number(Rn),or}function Lt(un){return P(un)&&un!==ye&&P(Be)&&Be>0}var Qt=Be>tt?He:!1;function An(un){(un.keyCode===O.Z.UP||un.keyCode===O.Z.DOWN)&&un.preventDefault()}function Dn(un){var Rn=Ft(un);switch(Rn!==Ke&&bn(Rn),un.keyCode){case O.Z.ENTER:Ln(Rn);break;case O.Z.UP:Ln(Rn-1);break;case O.Z.DOWN:Ln(Rn+1);break;default:break}}function ln(un){Ln(Ft(un))}function Lr(un){var Rn=B(un,tt,Be),Pn=ye>Rn&&Rn!==0?Rn:ye;Q(un),bn(Pn),R==null||R(ye,un),Gt(Pn),Me==null||Me(Pn,un)}function Ln(un){if(Lt(un)&&!U){var Rn=B(void 0,tt,Be),Pn=un;return un>Rn?Pn=Rn:un<1&&(Pn=1),Pn!==Ke&&bn(Pn),Gt(Pn),Me==null||Me(Pn,tt),Pn}return ye}var Vn=ye>1,Ar=ye<B(void 0,tt,Be);function Ir(){Vn&&Ln(ye-1)}function Kn(){Ar&&Ln(ye+1)}function Cn(){Ln(Kt)}function Mn(){Ln(gn)}function zn(un,Rn){if(un.key==="Enter"||un.charCode===O.Z.ENTER||un.keyCode===O.Z.ENTER){for(var Pn=arguments.length,or=new Array(Pn>2?Pn-2:0),mr=2;mr<Pn;mr++)or[mr-2]=arguments[mr];Rn.apply(void 0,or)}}function $t(un){zn(un,Ir)}function On(un){zn(un,Kn)}function Or(un){zn(un,Cn)}function Mr(un){zn(un,Mn)}function De(un){var Rn=ct(un,"prev",Vt(Je,"prev page"));return G.isValidElement(Rn)?G.cloneElement(Rn,{disabled:!Vn}):Rn}function Le(un){var Rn=ct(un,"next",Vt(rt,"next page"));return G.isValidElement(Rn)?G.cloneElement(Rn,{disabled:!Ar}):Rn}function Pt(un){(un.type==="click"||un.keyCode===O.Z.ENTER)&&Ln(Ke)}var wt=null,me=(0,I.Z)(Z,{aria:!0,data:!0}),St=ot&&G.createElement("li",{className:"".concat(re,"-total-text")},ot(Be,[Be===0?0:(ye-1)*tt+1,ye*tt>Be?Be:ye*tt])),_t=null,Te=B(void 0,tt,Be);if(we&&Be<=tt)return null;var g=[],Yt={rootPrefixCls:re,onClick:Ln,onKeyPress:zn,showTitle:Mt,itemRender:ct,page:-1},Jt=ye-1>0?ye-1:0,ze=ye+1<Te?ye+1:Te,yn=He&&He.goButton,jt=(0,m.Z)(Ne)==="object"?Ne.readOnly:!Ne,dn=yn,nn=null;Ne&&(yn&&(typeof yn=="boolean"?dn=G.createElement("button",{type:"button",onClick:Pt,onKeyUp:Pt},f.jump_to_confirm):dn=G.createElement("span",{onClick:Pt,onKeyUp:Pt},yn),dn=G.createElement("li",{title:Mt?"".concat(f.jump_to).concat(ye,"/").concat(Te):null,className:"".concat(re,"-simple-pager")},dn)),nn=G.createElement("li",{title:Mt?"".concat(ye,"/").concat(Te):null,className:"".concat(re,"-simple-pager")},jt?Ke:G.createElement("input",{type:"text","aria-label":f.jump_to,value:Ke,disabled:U,onKeyDown:An,onKeyUp:Dn,onChange:Dn,onBlur:ln,size:3}),G.createElement("span",{className:"".concat(re,"-slash")},"/"),Te));var he=bt?1:2;if(Te<=3+he*2){Te||g.push(G.createElement(q,(0,E.Z)({},Yt,{key:"noPager",page:1,className:"".concat(re,"-item-disabled")})));for(var mn=1;mn<=Te;mn+=1)g.push(G.createElement(q,(0,E.Z)({},Yt,{key:mn,page:mn,active:ye===mn})))}else{var lr=bt?f.prev_3:f.prev_5,ur=bt?f.next_3:f.next_5,fr=ct(Kt,"jump-prev",Vt(Ge,"prev page")),pr=ct(gn,"jump-next",Vt(pe,"next page"));Rt&&(wt=fr?G.createElement("li",{title:Mt?lr:null,key:"prev",onClick:Cn,tabIndex:0,onKeyDown:Or,className:N()("".concat(re,"-jump-prev"),(0,u.Z)({},"".concat(re,"-jump-prev-custom-icon"),!!Ge))},fr):null,_t=pr?G.createElement("li",{title:Mt?ur:null,key:"next",onClick:Mn,tabIndex:0,onKeyDown:Mr,className:N()("".concat(re,"-jump-next"),(0,u.Z)({},"".concat(re,"-jump-next-custom-icon"),!!pe))},pr):null);var Zn=Math.max(1,ye-he),hr=Math.min(ye+he,Te);ye-1<=he&&(hr=1+he*2),Te-ye<=he&&(Zn=Te-he*2);for(var _r=Zn;_r<=hr;_r+=1)g.push(G.createElement(q,(0,E.Z)({},Yt,{key:_r,page:_r,active:ye===_r})));if(ye-1>=he*2&&ye!==3&&(g[0]=G.cloneElement(g[0],{className:N()("".concat(re,"-item-after-jump-prev"),g[0].props.className)}),g.unshift(wt)),Te-ye>=he*2&&ye!==Te-2){var kr=g[g.length-1];g[g.length-1]=G.cloneElement(kr,{className:N()("".concat(re,"-item-before-jump-next"),kr.props.className)}),g.push(_t)}Zn!==1&&g.unshift(G.createElement(q,(0,E.Z)({},Yt,{key:1,page:1}))),hr!==Te&&g.push(G.createElement(q,(0,E.Z)({},Yt,{key:Te,page:Te})))}var Rr=De(Jt);if(Rr){var zr=!Vn||!Te;Rr=G.createElement("li",{title:Mt?f.prev_page:null,onClick:Ir,tabIndex:zr?null:0,onKeyDown:$t,className:N()("".concat(re,"-prev"),(0,u.Z)({},"".concat(re,"-disabled"),zr)),"aria-disabled":zr},Rr)}var Br=Le(ze);if(Br){var gr,Gr;Ne?(gr=!Ar,Gr=Vn?0:null):(gr=!Ar||!Te,Gr=gr?null:0),Br=G.createElement("li",{title:Mt?f.next_page:null,onClick:Kn,tabIndex:Gr,onKeyDown:On,className:N()("".concat(re,"-next"),(0,u.Z)({},"".concat(re,"-disabled"),gr)),"aria-disabled":gr},Br)}var Wr=N()(re,ne,(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)({},"".concat(re,"-start"),Tt==="start"),"".concat(re,"-center"),Tt==="center"),"".concat(re,"-end"),Tt==="end"),"".concat(re,"-simple"),Ne),"".concat(re,"-disabled"),U));return G.createElement("ul",(0,E.Z)({className:Wr,style:C,ref:$e},me),St,Rr,Ne?nn:g,Br,G.createElement(te,{locale:f,rootPrefixCls:re,disabled:U,selectPrefixCls:le,changeSize:Lr,pageSize:tt,pageSizeOptions:Pe,quickGo:Qt?Ln:null,goButton:dn,showSizeChanger:Se,sizeChangerRender:Fe}))},ee=_},25930:function(x,c,r){"use strict";r.d(c,{Cd:function(){return re}});var u=r(32855),E=r(27247),m=r(43079),b=r(59301),k=r(92310),d=r.n(k),N={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},H=function(){var ne=(0,b.useRef)([]),ge=(0,b.useRef)(null);return(0,b.useEffect)(function(){var Re=Date.now(),Ie=!1;ne.current.forEach(function(ke){if(ke){Ie=!0;var Be=ke.style;Be.transitionDuration=".3s, .3s, .3s, .06s",ge.current&&Re-ge.current<100&&(Be.transitionDuration="0s, 0s")}}),Ie&&(ge.current=Date.now())}),ne.current},O=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],I=function(ne){var ge=(0,E.Z)((0,E.Z)({},N),ne),Re=ge.className,Ie=ge.percent,ke=ge.prefixCls,Be=ge.strokeColor,oe=ge.strokeLinecap,M=ge.strokeWidth,L=ge.style,xe=ge.trailColor,Me=ge.trailWidth,we=ge.transition,Tt=(0,m.Z)(ge,O);delete Tt.gapPosition;var ut=Array.isArray(Ie)?Ie:[Ie],Rt=Array.isArray(Be)?Be:[Be],He=H(),bt=M/2,vt=100-M/2,Mt="M ".concat(oe==="round"?bt:0,",").concat(bt,`
L `).concat(oe==="round"?vt:100,",").concat(bt),Ut="0 0 100 ".concat(M),R=0;return b.createElement("svg",(0,u.Z)({className:d()("".concat(ke,"-line"),Re),viewBox:Ut,preserveAspectRatio:"none",style:L},Tt),b.createElement("path",{className:"".concat(ke,"-line-trail"),d:Mt,strokeLinecap:oe,stroke:xe,strokeWidth:Me||M,fillOpacity:"0"}),ut.map(function(h,f){var C=1;switch(oe){case"round":C=1-M/100;break;case"square":C=1-M/2/100;break;default:C=1;break}var D={strokeDasharray:"".concat(h*C,"px, 100px"),strokeDashoffset:"-".concat(R,"px"),transition:we||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},v=Rt[f]||Rt[Rt.length-1];return R+=h,b.createElement("path",{key:f,className:"".concat(ke,"-line-path"),d:Mt,strokeLinecap:oe,stroke:v,strokeWidth:M,fillOpacity:"0",ref:function(Ne){He[f]=Ne},style:D})}))},ie=I,G=r(34666),be=r(11913),ce=r(47273),ue=0,te=(0,ce.Z)();function X(){var le;return te?(le=ue,ue+=1):le="TEST_OR_SSR",le}var q=function(le){var ne=b.useState(),ge=(0,be.Z)(ne,2),Re=ge[0],Ie=ge[1];return b.useEffect(function(){Ie("rc_progress_".concat(X()))},[]),le||Re},W=function(ne){var ge=ne.bg,Re=ne.children;return b.createElement("div",{style:{width:"100%",height:"100%",background:ge}},Re)};function Y(le,ne){return Object.keys(le).map(function(ge){var Re=parseFloat(ge),Ie="".concat(Math.floor(Re*ne),"%");return"".concat(le[ge]," ").concat(Ie)})}var P=b.forwardRef(function(le,ne){var ge=le.prefixCls,Re=le.color,Ie=le.gradientId,ke=le.radius,Be=le.style,oe=le.ptg,M=le.strokeLinecap,L=le.strokeWidth,xe=le.size,Me=le.gapDegree,we=Re&&(0,G.Z)(Re)==="object",Tt=we?"#FFF":void 0,ut=xe/2,Rt=b.createElement("circle",{className:"".concat(ge,"-circle-path"),r:ke,cx:ut,cy:ut,stroke:Tt,strokeLinecap:M,strokeWidth:L,opacity:oe===0?0:1,style:Be,ref:ne});if(!we)return Rt;var He="".concat(Ie,"-conic"),bt=Me?"".concat(180+Me/2,"deg"):"0deg",vt=Y(Re,(360-Me)/360),Mt=Y(Re,1),Ut="conic-gradient(from ".concat(bt,", ").concat(vt.join(", "),")"),R="linear-gradient(to ".concat(Me?"bottom":"top",", ").concat(Mt.join(", "),")");return b.createElement(b.Fragment,null,b.createElement("mask",{id:He},Rt),b.createElement("foreignObject",{x:0,y:0,width:xe,height:xe,mask:"url(#".concat(He,")")},b.createElement(W,{bg:R},b.createElement(W,{bg:Ut}))))}),B=P,_=100,ee=function(ne,ge,Re,Ie,ke,Be,oe,M,L,xe){var Me=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,we=Re/100*360*((360-Be)/360),Tt=Be===0?0:{bottom:0,top:180,left:90,right:-90}[oe],ut=(100-Ie)/100*ge;L==="round"&&Ie!==100&&(ut+=xe/2,ut>=ge&&(ut=ge-.01));var Rt=_/2;return{stroke:typeof M=="string"?M:void 0,strokeDasharray:"".concat(ge,"px ").concat(ne),strokeDashoffset:ut+Me,transform:"rotate(".concat(ke+we+Tt,"deg)"),transformOrigin:"".concat(Rt,"px ").concat(Rt,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},de=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Z(le){var ne=le!=null?le:[];return Array.isArray(ne)?ne:[ne]}var fe=function(ne){var ge=(0,E.Z)((0,E.Z)({},N),ne),Re=ge.id,Ie=ge.prefixCls,ke=ge.steps,Be=ge.strokeWidth,oe=ge.trailWidth,M=ge.gapDegree,L=M===void 0?0:M,xe=ge.gapPosition,Me=ge.trailColor,we=ge.strokeLinecap,Tt=ge.style,ut=ge.className,Rt=ge.strokeColor,He=ge.percent,bt=(0,m.Z)(ge,de),vt=_/2,Mt=q(Re),Ut="".concat(Mt,"-gradient"),R=vt-Be/2,h=Math.PI*2*R,f=L>0?90+L/2:-90,C=h*((360-L)/360),D=(0,G.Z)(ke)==="object"?ke:{count:ke,gap:2},v=D.count,U=D.gap,Ne=Z(He),ot=Z(Rt),lt=ot.find(function(pe){return pe&&(0,G.Z)(pe)==="object"}),Se=lt&&(0,G.Z)(lt)==="object",Fe=Se?"butt":we,Pe=ee(h,C,0,100,f,L,xe,Me,Fe,Be),Qe=H(),ct=function(){var Je=0;return Ne.map(function(rt,$e){var et=ot[$e]||ot[ot.length-1],It=ee(h,C,Je,rt,f,L,xe,et,Fe,Be);return Je+=rt,b.createElement(B,{key:$e,color:et,ptg:rt,radius:R,prefixCls:Ie,gradientId:Ut,style:It,strokeLinecap:Fe,strokeWidth:Be,gapDegree:L,ref:function(Q){Qe[$e]=Q},size:_})}).reverse()},Ge=function(){var Je=Math.round(v*(Ne[0]/100)),rt=100/v,$e=0;return new Array(v).fill(null).map(function(et,It){var tt=It<=Je-1?ot[0]:Me,Q=tt&&(0,G.Z)(tt)==="object"?"url(#".concat(Ut,")"):void 0,Et=ee(h,C,$e,rt,f,L,xe,tt,"butt",Be,U);return $e+=(C-Et.strokeDashoffset+U)*100/C,b.createElement("circle",{key:It,className:"".concat(Ie,"-circle-path"),r:R,cx:vt,cy:vt,stroke:Q,strokeWidth:Be,opacity:1,style:Et,ref:function(ye){Qe[It]=ye}})})};return b.createElement("svg",(0,u.Z)({className:d()("".concat(Ie,"-circle"),ut),viewBox:"0 0 ".concat(_," ").concat(_),style:Tt,id:Re,role:"presentation"},bt),!v&&b.createElement("circle",{className:"".concat(Ie,"-circle-trail"),r:R,cx:vt,cy:vt,stroke:Me,strokeLinecap:Fe,strokeWidth:oe||Be,style:Pe}),v?Ge():ct())},re=fe,V={Line:ie,Circle:re}},738:function(x,c,r){"use strict";r.d(c,{Z:function(){return Y}});var u=r(32855),E=r(74430),m=r(11913),b=r(43079),k=r(92310),d=r.n(k),N=r(18929),H=r(10228),O=r(26112),I=r(59301);function ie(P,B){var _=P.disabled,ee=P.prefixCls,de=P.character,Z=P.characterRender,fe=P.index,re=P.count,V=P.value,le=P.allowHalf,ne=P.focused,ge=P.onHover,Re=P.onClick,Ie=function(we){ge(we,fe)},ke=function(we){Re(we,fe)},Be=function(we){we.keyCode===H.Z.ENTER&&Re(we,fe)},oe=fe+1,M=new Set([ee]);V===0&&fe===0&&ne?M.add("".concat(ee,"-focused")):le&&V+.5>=oe&&V<oe?(M.add("".concat(ee,"-half")),M.add("".concat(ee,"-active")),ne&&M.add("".concat(ee,"-focused"))):(oe<=V?M.add("".concat(ee,"-full")):M.add("".concat(ee,"-zero")),oe===V&&ne&&M.add("".concat(ee,"-focused")));var L=typeof de=="function"?de(P):de,xe=I.createElement("li",{className:d()(Array.from(M)),ref:B},I.createElement("div",{onClick:_?null:ke,onKeyDown:_?null:Be,onMouseMove:_?null:Ie,role:"radio","aria-checked":V>fe?"true":"false","aria-posinset":fe+1,"aria-setsize":re,tabIndex:_?-1:0},I.createElement("div",{className:"".concat(ee,"-first")},L),I.createElement("div",{className:"".concat(ee,"-second")},L)));return Z&&(xe=Z(xe,P)),xe}var G=I.forwardRef(ie);function be(){var P=I.useRef({});function B(ee){return P.current[ee]}function _(ee){return function(de){P.current[ee]=de}}return[B,_]}function ce(P){var B=P.pageXOffset,_="scrollLeft";if(typeof B!="number"){var ee=P.document;B=ee.documentElement[_],typeof B!="number"&&(B=ee.body[_])}return B}function ue(P){var B,_,ee=P.ownerDocument,de=ee.body,Z=ee&&ee.documentElement,fe=P.getBoundingClientRect();return B=fe.left,_=fe.top,B-=Z.clientLeft||de.clientLeft||0,_-=Z.clientTop||de.clientTop||0,{left:B,top:_}}function te(P){var B=ue(P),_=P.ownerDocument,ee=_.defaultView||_.parentWindow;return B.left+=ce(ee),B.left}var X=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function q(P,B){var _=P.prefixCls,ee=_===void 0?"rc-rate":_,de=P.className,Z=P.defaultValue,fe=P.value,re=P.count,V=re===void 0?5:re,le=P.allowHalf,ne=le===void 0?!1:le,ge=P.allowClear,Re=ge===void 0?!0:ge,Ie=P.keyboard,ke=Ie===void 0?!0:Ie,Be=P.character,oe=Be===void 0?"\u2605":Be,M=P.characterRender,L=P.disabled,xe=P.direction,Me=xe===void 0?"ltr":xe,we=P.tabIndex,Tt=we===void 0?0:we,ut=P.autoFocus,Rt=P.onHoverChange,He=P.onChange,bt=P.onFocus,vt=P.onBlur,Mt=P.onKeyDown,Ut=P.onMouseLeave,R=(0,b.Z)(P,X),h=be(),f=(0,m.Z)(h,2),C=f[0],D=f[1],v=I.useRef(null),U=function(){if(!L){var Kt;(Kt=v.current)===null||Kt===void 0||Kt.focus()}};I.useImperativeHandle(B,function(){return{focus:U,blur:function(){if(!L){var Kt;(Kt=v.current)===null||Kt===void 0||Kt.blur()}}}});var Ne=(0,N.Z)(Z||0,{value:fe}),ot=(0,m.Z)(Ne,2),lt=ot[0],Se=ot[1],Fe=(0,N.Z)(null),Pe=(0,m.Z)(Fe,2),Qe=Pe[0],ct=Pe[1],Ge=function(Kt,gn){var Vt=Me==="rtl",Ft=Kt+1;if(ne){var Lt=C(Kt),Qt=te(Lt),An=Lt.clientWidth;(Vt&&gn-Qt>An/2||!Vt&&gn-Qt<An/2)&&(Ft-=.5)}return Ft},pe=function(Kt){Se(Kt),He==null||He(Kt)},Je=I.useState(!1),rt=(0,m.Z)(Je,2),$e=rt[0],et=rt[1],It=function(){et(!0),bt==null||bt()},tt=function(){et(!1),vt==null||vt()},Q=I.useState(null),Et=(0,m.Z)(Q,2),At=Et[0],ye=Et[1],Gt=function(Kt,gn){var Vt=Ge(gn,Kt.pageX);Vt!==Qe&&(ye(Vt),ct(null)),Rt==null||Rt(Vt)},tn=function(Kt){L||(ye(null),ct(null),Rt==null||Rt(void 0)),Kt&&(Ut==null||Ut(Kt))},Xt=function(Kt,gn){var Vt=Ge(gn,Kt.pageX),Ft=!1;Re&&(Ft=Vt===lt),tn(),pe(Ft?0:Vt),ct(Ft?Vt:null)},Ke=function(Kt){var gn=Kt.keyCode,Vt=Me==="rtl",Ft=ne?.5:1;ke&&(gn===H.Z.RIGHT&&lt<V&&!Vt?(pe(lt+Ft),Kt.preventDefault()):gn===H.Z.LEFT&&lt>0&&!Vt||gn===H.Z.RIGHT&&lt>0&&Vt?(pe(lt-Ft),Kt.preventDefault()):gn===H.Z.LEFT&&lt<V&&Vt&&(pe(lt+Ft),Kt.preventDefault())),Mt==null||Mt(Kt)};I.useEffect(function(){ut&&!L&&U()},[]);var bn=new Array(V).fill(0).map(function(Ht,Kt){return I.createElement(G,{ref:D(Kt),index:Kt,count:V,disabled:L,prefixCls:"".concat(ee,"-star"),allowHalf:ne,value:At===null?lt:At,onClick:Xt,onHover:Gt,key:Ht||Kt,character:oe,characterRender:M,focused:$e})}),cn=d()(ee,de,(0,E.Z)((0,E.Z)({},"".concat(ee,"-disabled"),L),"".concat(ee,"-rtl"),Me==="rtl"));return I.createElement("ul",(0,u.Z)({className:cn,onMouseLeave:tn,tabIndex:L?-1:Tt,onFocus:L?null:It,onBlur:L?null:tt,onKeyDown:L?null:Ke,ref:v},(0,O.Z)(R,{aria:!0,data:!0,attr:!0})),bn)}var W=I.forwardRef(q),Y=W},6551:function(x,c,r){"use strict";r.d(c,{ZP:function(){return N}});var u=r(11913),E=r(59301),m=r(47273),b=0,k=(0,m.Z)();function d(){var H;return k?(H=b,b+=1):H="TEST_OR_SSR",H}function N(H){var O=E.useState(),I=(0,u.Z)(O,2),ie=I[0],G=I[1];return E.useEffect(function(){G("rc_select_".concat(d()))},[]),H||ie}},37463:function(x,c,r){"use strict";r.d(c,{Ac:function(){return et},Xo:function(){return tt},Wx:function(){return Et},ZP:function(){return Mr},lk:function(){return Y}});var u=r(32855),E=r(3300),m=r(74430),b=r(27247),k=r(11913),d=r(43079),N=r(34666),H=r(18929),O=r(48736),I=r(59301),ie=r(92310),G=r.n(ie),be=r(34280),ce=r(49658),ue=r(8654),te=function(Le){var Pt=Le.className,wt=Le.customizeIcon,me=Le.customizeIconProps,St=Le.children,_t=Le.onMouseDown,Te=Le.onClick,g=typeof wt=="function"?wt(me):wt;return I.createElement("span",{className:Pt,onMouseDown:function(Jt){Jt.preventDefault(),_t==null||_t(Jt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Te,"aria-hidden":!0},g!==void 0?g:I.createElement("span",{className:G()(Pt.split(/\s+/).map(function(Yt){return"".concat(Yt,"-icon")}))},St))},X=te,q=function(Le,Pt,wt,me,St){var _t=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Te=arguments.length>6?arguments[6]:void 0,g=arguments.length>7?arguments[7]:void 0,Yt=I.useMemo(function(){if((0,N.Z)(me)==="object")return me.clearIcon;if(St)return St},[me,St]),Jt=I.useMemo(function(){return!!(!_t&&me&&(wt.length||Te)&&!(g==="combobox"&&Te===""))},[me,_t,wt.length,Te,g]);return{allowClear:Jt,clearIcon:I.createElement(X,{className:"".concat(Le,"-clear"),onMouseDown:Pt,customizeIcon:Yt},"\xD7")}},W=I.createContext(null);function Y(){return I.useContext(W)}function P(){var De=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Le=I.useState(!1),Pt=(0,k.Z)(Le,2),wt=Pt[0],me=Pt[1],St=I.useRef(null),_t=function(){window.clearTimeout(St.current)};I.useEffect(function(){return _t},[]);var Te=function(Yt,Jt){_t(),St.current=window.setTimeout(function(){me(Yt),Jt&&Jt()},De)};return[wt,Te,_t]}function B(){var De=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Le=I.useRef(null),Pt=I.useRef(null);I.useEffect(function(){return function(){window.clearTimeout(Pt.current)}},[]);function wt(me){(me||Le.current===null)&&(Le.current=me),window.clearTimeout(Pt.current),Pt.current=window.setTimeout(function(){Le.current=null},De)}return[function(){return Le.current},wt]}function _(De,Le,Pt,wt){var me=I.useRef(null);me.current={open:Le,triggerOpen:Pt,customizedTrigger:wt},I.useEffect(function(){function St(_t){var Te;if(!((Te=me.current)!==null&&Te!==void 0&&Te.customizedTrigger)){var g=_t.target;g.shadowRoot&&_t.composed&&(g=_t.composedPath()[0]||g),me.current.open&&De().filter(function(Yt){return Yt}).every(function(Yt){return!Yt.contains(g)&&Yt!==g})&&me.current.triggerOpen(!1)}}return window.addEventListener("mousedown",St),function(){return window.removeEventListener("mousedown",St)}},[])}var ee=r(10228);function de(De){return De&&![ee.Z.ESC,ee.Z.SHIFT,ee.Z.BACKSPACE,ee.Z.TAB,ee.Z.WIN_KEY,ee.Z.ALT,ee.Z.META,ee.Z.WIN_KEY_RIGHT,ee.Z.CTRL,ee.Z.SEMICOLON,ee.Z.EQUALS,ee.Z.CAPS_LOCK,ee.Z.CONTEXT_MENU,ee.Z.F1,ee.Z.F2,ee.Z.F3,ee.Z.F4,ee.Z.F5,ee.Z.F6,ee.Z.F7,ee.Z.F8,ee.Z.F9,ee.Z.F10,ee.Z.F11,ee.Z.F12].includes(De)}var Z=r(26112),fe=r(11780);function re(De,Le,Pt){var wt=(0,b.Z)((0,b.Z)({},De),Pt?Le:{});return Object.keys(Le).forEach(function(me){var St=Le[me];typeof St=="function"&&(wt[me]=function(){for(var _t,Te=arguments.length,g=new Array(Te),Yt=0;Yt<Te;Yt++)g[Yt]=arguments[Yt];return St.apply(void 0,g),(_t=De[me])===null||_t===void 0?void 0:_t.call.apply(_t,[De].concat(g))})}),wt}var V=re,le=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],ne=function(Le,Pt){var wt=Le.prefixCls,me=Le.id,St=Le.inputElement,_t=Le.autoFocus,Te=Le.autoComplete,g=Le.editable,Yt=Le.activeDescendantId,Jt=Le.value,ze=Le.open,yn=Le.attrs,jt=(0,d.Z)(Le,le),dn=St||I.createElement("input",null),nn=dn,he=nn.ref,mn=nn.props;return(0,O.Kp)(!("maxLength"in dn.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),dn=I.cloneElement(dn,(0,b.Z)((0,b.Z)((0,b.Z)({type:"search"},V(jt,mn,!0)),{},{id:me,ref:(0,ue.sQ)(Pt,he),autoComplete:Te||"off",autoFocus:_t,className:G()("".concat(wt,"-selection-search-input"),mn==null?void 0:mn.className),role:"combobox","aria-expanded":ze||!1,"aria-haspopup":"listbox","aria-owns":"".concat(me,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(me,"_list"),"aria-activedescendant":ze?Yt:void 0},yn),{},{value:g?Jt:"",readOnly:!g,unselectable:g?null:"on",style:(0,b.Z)((0,b.Z)({},mn.style),{},{opacity:g?null:0})})),dn},ge=I.forwardRef(ne),Re=ge;function Ie(De){return Array.isArray(De)?De:De!==void 0?[De]:[]}var ke=typeof window!="undefined"&&window.document&&window.document.documentElement,Be=ke;function oe(De){return De!=null}function M(De){return!De&&De!==0}function L(De){return["string","number"].includes((0,N.Z)(De))}function xe(De){var Le=void 0;return De&&(L(De.title)?Le=De.title.toString():L(De.label)&&(Le=De.label.toString())),Le}function Me(De,Le){Be?I.useLayoutEffect(De,Le):I.useEffect(De,Le)}function we(De){var Le;return(Le=De.key)!==null&&Le!==void 0?Le:De.value}var Tt=function(Le){Le.preventDefault(),Le.stopPropagation()},ut=function(Le){var Pt=Le.id,wt=Le.prefixCls,me=Le.values,St=Le.open,_t=Le.searchValue,Te=Le.autoClearSearchValue,g=Le.inputRef,Yt=Le.placeholder,Jt=Le.disabled,ze=Le.mode,yn=Le.showSearch,jt=Le.autoFocus,dn=Le.autoComplete,nn=Le.activeDescendantId,he=Le.tabIndex,mn=Le.removeIcon,lr=Le.maxTagCount,ur=Le.maxTagTextLength,fr=Le.maxTagPlaceholder,pr=fr===void 0?function(gt){return"+ ".concat(gt.length," ...")}:fr,Zn=Le.tagRender,hr=Le.onToggleOpen,_r=Le.onRemove,kr=Le.onInputChange,Rr=Le.onInputPaste,zr=Le.onInputKeyDown,Br=Le.onInputMouseDown,gr=Le.onInputCompositionStart,Gr=Le.onInputCompositionEnd,Wr=Le.onInputBlur,un=I.useRef(null),Rn=(0,I.useState)(0),Pn=(0,k.Z)(Rn,2),or=Pn[0],mr=Pn[1],Pr=(0,I.useState)(!1),sa=(0,k.Z)(Pr,2),Ee=sa[0],at=sa[1],We="".concat(wt,"-selection"),it=St||ze==="multiple"&&Te===!1||ze==="tags"?_t:"",mt=ze==="tags"||ze==="multiple"&&Te===!1||yn&&(St||Ee);Me(function(){mr(un.current.scrollWidth)},[it]);var yt=function(ht,xt,Wt,sn,rn){return I.createElement("span",{title:xe(ht),className:G()("".concat(We,"-item"),(0,m.Z)({},"".concat(We,"-item-disabled"),Wt))},I.createElement("span",{className:"".concat(We,"-item-content")},xt),sn&&I.createElement(X,{className:"".concat(We,"-item-remove"),onMouseDown:Tt,onClick:rn,customizeIcon:mn},"\xD7"))},Bt=function(ht,xt,Wt,sn,rn,En){var Fn=function(jn){Tt(jn),hr(!St)};return I.createElement("span",{onMouseDown:Fn},Zn({label:xt,value:ht,disabled:Wt,closable:sn,onClose:rn,isMaxTag:!!En}))},Ot=function(ht){var xt=ht.disabled,Wt=ht.label,sn=ht.value,rn=!Jt&&!xt,En=Wt;if(typeof ur=="number"&&(typeof Wt=="string"||typeof Wt=="number")){var Fn=String(En);Fn.length>ur&&(En="".concat(Fn.slice(0,ur),"..."))}var vn=function(Sn){Sn&&Sn.stopPropagation(),_r(ht)};return typeof Zn=="function"?Bt(sn,En,xt,rn,vn):yt(ht,En,xt,rn,vn)},kt=function(ht){if(!me.length)return null;var xt=typeof pr=="function"?pr(ht):pr;return typeof Zn=="function"?Bt(void 0,xt,!1,!1,void 0,!0):yt({title:xt},xt,!1)},Ve=I.createElement("div",{className:"".concat(We,"-search"),style:{width:or},onFocus:function(){at(!0)},onBlur:function(){at(!1)}},I.createElement(Re,{ref:g,open:St,prefixCls:wt,id:Pt,inputElement:null,disabled:Jt,autoFocus:jt,autoComplete:dn,editable:mt,activeDescendantId:nn,value:it,onKeyDown:zr,onMouseDown:Br,onChange:kr,onPaste:Rr,onCompositionStart:gr,onCompositionEnd:Gr,onBlur:Wr,tabIndex:he,attrs:(0,Z.Z)(Le,!0)}),I.createElement("span",{ref:un,className:"".concat(We,"-search-mirror"),"aria-hidden":!0},it,"\xA0")),pt=I.createElement(fe.Z,{prefixCls:"".concat(We,"-overflow"),data:me,renderItem:Ot,renderRest:kt,suffix:Ve,itemKey:we,maxCount:lr});return I.createElement("span",{className:"".concat(We,"-wrap")},pt,!me.length&&!it&&I.createElement("span",{className:"".concat(We,"-placeholder")},Yt))},Rt=ut,He=function(Le){var Pt=Le.inputElement,wt=Le.prefixCls,me=Le.id,St=Le.inputRef,_t=Le.disabled,Te=Le.autoFocus,g=Le.autoComplete,Yt=Le.activeDescendantId,Jt=Le.mode,ze=Le.open,yn=Le.values,jt=Le.placeholder,dn=Le.tabIndex,nn=Le.showSearch,he=Le.searchValue,mn=Le.activeValue,lr=Le.maxLength,ur=Le.onInputKeyDown,fr=Le.onInputMouseDown,pr=Le.onInputChange,Zn=Le.onInputPaste,hr=Le.onInputCompositionStart,_r=Le.onInputCompositionEnd,kr=Le.onInputBlur,Rr=Le.title,zr=I.useState(!1),Br=(0,k.Z)(zr,2),gr=Br[0],Gr=Br[1],Wr=Jt==="combobox",un=Wr||nn,Rn=yn[0],Pn=he||"";Wr&&mn&&!gr&&(Pn=mn),I.useEffect(function(){Wr&&Gr(!1)},[Wr,mn]);var or=Jt!=="combobox"&&!ze&&!nn?!1:!!Pn,mr=Rr===void 0?xe(Rn):Rr,Pr=I.useMemo(function(){return Rn?null:I.createElement("span",{className:"".concat(wt,"-selection-placeholder"),style:or?{visibility:"hidden"}:void 0},jt)},[Rn,or,jt,wt]);return I.createElement("span",{className:"".concat(wt,"-selection-wrap")},I.createElement("span",{className:"".concat(wt,"-selection-search")},I.createElement(Re,{ref:St,prefixCls:wt,id:me,open:ze,inputElement:Pt,disabled:_t,autoFocus:Te,autoComplete:g,editable:un,activeDescendantId:Yt,value:Pn,onKeyDown:ur,onMouseDown:fr,onChange:function(Ee){Gr(!0),pr(Ee)},onPaste:Zn,onCompositionStart:hr,onCompositionEnd:_r,onBlur:kr,tabIndex:dn,attrs:(0,Z.Z)(Le,!0),maxLength:Wr?lr:void 0})),!Wr&&Rn?I.createElement("span",{className:"".concat(wt,"-selection-item"),title:mr,style:or?{visibility:"hidden"}:void 0},Rn.label):null,Pr)},bt=He,vt=function(Le,Pt){var wt=(0,I.useRef)(null),me=(0,I.useRef)(!1),St=Le.prefixCls,_t=Le.open,Te=Le.mode,g=Le.showSearch,Yt=Le.tokenWithEnter,Jt=Le.disabled,ze=Le.prefix,yn=Le.autoClearSearchValue,jt=Le.onSearch,dn=Le.onSearchSubmit,nn=Le.onToggleOpen,he=Le.onInputKeyDown,mn=Le.onInputBlur,lr=Le.domRef;I.useImperativeHandle(Pt,function(){return{focus:function(mr){wt.current.focus(mr)},blur:function(){wt.current.blur()}}});var ur=B(0),fr=(0,k.Z)(ur,2),pr=fr[0],Zn=fr[1],hr=function(mr){var Pr=mr.which,sa=wt.current instanceof HTMLTextAreaElement;!sa&&_t&&(Pr===ee.Z.UP||Pr===ee.Z.DOWN)&&mr.preventDefault(),he&&he(mr),Pr===ee.Z.ENTER&&Te==="tags"&&!me.current&&!_t&&(dn==null||dn(mr.target.value)),!(sa&&!_t&&~[ee.Z.UP,ee.Z.DOWN,ee.Z.LEFT,ee.Z.RIGHT].indexOf(Pr))&&de(Pr)&&nn(!0)},_r=function(){Zn(!0)},kr=(0,I.useRef)(null),Rr=function(mr){jt(mr,!0,me.current)!==!1&&nn(!0)},zr=function(){me.current=!0},Br=function(mr){me.current=!1,Te!=="combobox"&&Rr(mr.target.value)},gr=function(mr){var Pr=mr.target.value;if(Yt&&kr.current&&/[\r\n]/.test(kr.current)){var sa=kr.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Pr=Pr.replace(sa,kr.current)}kr.current=null,Rr(Pr)},Gr=function(mr){var Pr=mr.clipboardData,sa=Pr==null?void 0:Pr.getData("text");kr.current=sa||""},Wr=function(mr){var Pr=mr.target;if(Pr!==wt.current){var sa=document.body.style.msTouchAction!==void 0;sa?setTimeout(function(){wt.current.focus()}):wt.current.focus()}},un=function(mr){var Pr=pr();mr.target!==wt.current&&!Pr&&!(Te==="combobox"&&Jt)&&mr.preventDefault(),(Te!=="combobox"&&(!g||!Pr)||!_t)&&(_t&&yn!==!1&&jt("",!0,!1),nn())},Rn={inputRef:wt,onInputKeyDown:hr,onInputMouseDown:_r,onInputChange:gr,onInputPaste:Gr,onInputCompositionStart:zr,onInputCompositionEnd:Br,onInputBlur:mn},Pn=Te==="multiple"||Te==="tags"?I.createElement(Rt,(0,u.Z)({},Le,Rn)):I.createElement(bt,(0,u.Z)({},Le,Rn));return I.createElement("div",{ref:lr,className:"".concat(St,"-selector"),onClick:Wr,onMouseDown:un},ze&&I.createElement("div",{className:"".concat(St,"-prefix")},ze),Pn)},Mt=I.forwardRef(vt),Ut=Mt,R=r(65030),h=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],f=function(Le){var Pt=Le===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Pt,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Pt,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Pt,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Pt,adjustY:1},htmlRegion:"scroll"}}},C=function(Le,Pt){var wt=Le.prefixCls,me=Le.disabled,St=Le.visible,_t=Le.children,Te=Le.popupElement,g=Le.animation,Yt=Le.transitionName,Jt=Le.dropdownStyle,ze=Le.dropdownClassName,yn=Le.direction,jt=yn===void 0?"ltr":yn,dn=Le.placement,nn=Le.builtinPlacements,he=Le.dropdownMatchSelectWidth,mn=Le.dropdownRender,lr=Le.dropdownAlign,ur=Le.getPopupContainer,fr=Le.empty,pr=Le.getTriggerDOMNode,Zn=Le.onPopupVisibleChange,hr=Le.onPopupMouseEnter,_r=(0,d.Z)(Le,h),kr="".concat(wt,"-dropdown"),Rr=Te;mn&&(Rr=mn(Te));var zr=I.useMemo(function(){return nn||f(he)},[nn,he]),Br=g?"".concat(kr,"-").concat(g):Yt,gr=typeof he=="number",Gr=I.useMemo(function(){return gr?null:he===!1?"minWidth":"width"},[he,gr]),Wr=Jt;gr&&(Wr=(0,b.Z)((0,b.Z)({},Wr),{},{width:he}));var un=I.useRef(null);return I.useImperativeHandle(Pt,function(){return{getPopupElement:function(){var Pn;return(Pn=un.current)===null||Pn===void 0?void 0:Pn.popupElement}}}),I.createElement(R.Z,(0,u.Z)({},_r,{showAction:Zn?["click"]:[],hideAction:Zn?["click"]:[],popupPlacement:dn||(jt==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:zr,prefixCls:kr,popupTransitionName:Br,popup:I.createElement("div",{onMouseEnter:hr},Rr),ref:un,stretch:Gr,popupAlign:lr,popupVisible:St,getPopupContainer:ur,popupClassName:G()(ze,(0,m.Z)({},"".concat(kr,"-empty"),fr)),popupStyle:Wr,getTriggerDOMNode:pr,onPopupVisibleChange:Zn}),_t)},D=I.forwardRef(C),v=D,U=r(40954);function Ne(De,Le){var Pt=De.key,wt;return"value"in De&&(wt=De.value),Pt!=null?Pt:wt!==void 0?wt:"rc-index-key-".concat(Le)}function ot(De){return typeof De!="undefined"&&!Number.isNaN(De)}function lt(De,Le){var Pt=De||{},wt=Pt.label,me=Pt.value,St=Pt.options,_t=Pt.groupLabel,Te=wt||(Le?"children":"label");return{label:Te,value:me||"value",options:St||"options",groupLabel:_t||Te}}function Se(De){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Pt=Le.fieldNames,wt=Le.childrenAsData,me=[],St=lt(Pt,!1),_t=St.label,Te=St.value,g=St.options,Yt=St.groupLabel;function Jt(ze,yn){Array.isArray(ze)&&ze.forEach(function(jt){if(yn||!(g in jt)){var dn=jt[Te];me.push({key:Ne(jt,me.length),groupOption:yn,data:jt,label:jt[_t],value:dn})}else{var nn=jt[Yt];nn===void 0&&wt&&(nn=jt.label),me.push({key:Ne(jt,me.length),group:!0,data:jt,label:nn}),Jt(jt[g],!0)}})}return Jt(De,!1),me}function Fe(De){var Le=(0,b.Z)({},De);return"props"in Le||Object.defineProperty(Le,"props",{get:function(){return(0,O.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Le}}),Le}var Pe=function(Le,Pt,wt){if(!Pt||!Pt.length)return null;var me=!1,St=function Te(g,Yt){var Jt=(0,U.Z)(Yt),ze=Jt[0],yn=Jt.slice(1);if(!ze)return[g];var jt=g.split(ze);return me=me||jt.length>1,jt.reduce(function(dn,nn){return[].concat((0,E.Z)(dn),(0,E.Z)(Te(nn,yn)))},[]).filter(Boolean)},_t=St(Le,Pt);return me?typeof wt!="undefined"?_t.slice(0,wt):_t:null},Qe=I.createContext(null),ct=Qe;function Ge(De){var Le=De.visible,Pt=De.values;if(!Le)return null;var wt=50;return I.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(Pt.slice(0,wt).map(function(me){var St=me.label,_t=me.value;return["number","string"].includes((0,N.Z)(St))?St:_t}).join(", ")),Pt.length>wt?", ...":null)}var pe=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Je=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],rt=function(Le){return Le==="tags"||Le==="multiple"},$e=I.forwardRef(function(De,Le){var Pt,wt=De.id,me=De.prefixCls,St=De.className,_t=De.showSearch,Te=De.tagRender,g=De.direction,Yt=De.omitDomProps,Jt=De.displayValues,ze=De.onDisplayValuesChange,yn=De.emptyOptions,jt=De.notFoundContent,dn=jt===void 0?"Not Found":jt,nn=De.onClear,he=De.mode,mn=De.disabled,lr=De.loading,ur=De.getInputElement,fr=De.getRawInputElement,pr=De.open,Zn=De.defaultOpen,hr=De.onDropdownVisibleChange,_r=De.activeValue,kr=De.onActiveValueChange,Rr=De.activeDescendantId,zr=De.searchValue,Br=De.autoClearSearchValue,gr=De.onSearch,Gr=De.onSearchSplit,Wr=De.tokenSeparators,un=De.allowClear,Rn=De.prefix,Pn=De.suffixIcon,or=De.clearIcon,mr=De.OptionList,Pr=De.animation,sa=De.transitionName,Ee=De.dropdownStyle,at=De.dropdownClassName,We=De.dropdownMatchSelectWidth,it=De.dropdownRender,mt=De.dropdownAlign,yt=De.placement,Bt=De.builtinPlacements,Ot=De.getPopupContainer,kt=De.showAction,Ve=kt===void 0?[]:kt,pt=De.onFocus,gt=De.onBlur,ht=De.onKeyUp,xt=De.onKeyDown,Wt=De.onMouseDown,sn=(0,d.Z)(De,pe),rn=rt(he),En=(_t!==void 0?_t:rn)||he==="combobox",Fn=(0,b.Z)({},sn);Je.forEach(function(wr){delete Fn[wr]}),Yt==null||Yt.forEach(function(wr){delete Fn[wr]});var vn=I.useState(!1),jn=(0,k.Z)(vn,2),Sn=jn[0],Er=jn[1];I.useEffect(function(){Er((0,ce.Z)())},[]);var vr=I.useRef(null),br=I.useRef(null),Jn=I.useRef(null),cr=I.useRef(null),Sr=I.useRef(null),nr=I.useRef(!1),sr=P(),_n=(0,k.Z)(sr,3),fn=_n[0],kn=_n[1],Wn=_n[2];I.useImperativeHandle(Le,function(){var wr,rr;return{focus:(wr=cr.current)===null||wr===void 0?void 0:wr.focus,blur:(rr=cr.current)===null||rr===void 0?void 0:rr.blur,scrollTo:function(ha){var va;return(va=Sr.current)===null||va===void 0?void 0:va.scrollTo(ha)},nativeElement:vr.current||br.current}});var er=I.useMemo(function(){var wr;if(he!=="combobox")return zr;var rr=(wr=Jt[0])===null||wr===void 0?void 0:wr.value;return typeof rr=="string"||typeof rr=="number"?String(rr):""},[zr,he,Jt]),Ce=he==="combobox"&&typeof ur=="function"&&ur()||null,dr=typeof fr=="function"&&fr(),Vr=(0,ue.x1)(br,dr==null||(Pt=dr.props)===null||Pt===void 0?void 0:Pt.ref),Ia=I.useState(!1),Ra=(0,k.Z)(Ia,2),hi=Ra[0],Pa=Ra[1];(0,be.Z)(function(){Pa(!0)},[]);var qr=(0,H.Z)(!1,{defaultValue:Zn,value:pr}),Kr=(0,k.Z)(qr,2),jr=Kr[0],Ta=Kr[1],Xr=hi?jr:!1,ea=!dn&&yn;(mn||ea&&Xr&&he==="combobox")&&(Xr=!1);var ta=ea?!1:Xr,Tn=I.useCallback(function(wr){var rr=wr!==void 0?wr:!Xr;mn||(Ta(rr),Xr!==rr&&(hr==null||hr(rr)))},[mn,Xr,Ta,hr]),Gn=I.useMemo(function(){return(Wr||[]).some(function(wr){return[`
`,`\r
`].includes(wr)})},[Wr]),$n=I.useContext(ct)||{},Un=$n.maxCount,Nr=$n.rawValues,Zr=function(rr,pa,ha){if(!(rn&&ot(Un)&&(Nr==null?void 0:Nr.size)>=Un)){var va=!0,Ca=rr;kr==null||kr(null);var gi=Pe(rr,Wr,ot(Un)?Un-Nr.size:void 0),oi=ha?null:gi;return he!=="combobox"&&oi&&(Ca="",Gr==null||Gr(oi),Tn(!1),va=!1),gr&&er!==Ca&&gr(Ca,{source:pa?"typing":"effect"}),va}},Aa=function(rr){!rr||!rr.trim()||gr(rr,{source:"submit"})};I.useEffect(function(){!Xr&&!rn&&he!=="combobox"&&Zr("",!1,!1)},[Xr]),I.useEffect(function(){jr&&mn&&Ta(!1),mn&&!nr.current&&kn(!1)},[mn]);var la=B(),ua=(0,k.Z)(la,2),Qn=ua[0],Dr=ua[1],za=I.useRef(!1),Ur=function(rr){var pa=Qn(),ha=rr.key,va=ha==="Enter";if(va&&(he!=="combobox"&&rr.preventDefault(),Xr||Tn(!0)),Dr(!!er),ha==="Backspace"&&!pa&&rn&&!er&&Jt.length){for(var Ca=(0,E.Z)(Jt),gi=null,oi=Ca.length-1;oi>=0;oi-=1){var Ii=Ca[oi];if(!Ii.disabled){Ca.splice(oi,1),gi=Ii;break}}gi&&ze(Ca,{type:"remove",values:[gi]})}for(var ca=arguments.length,xa=new Array(ca>1?ca-1:0),Qa=1;Qa<ca;Qa++)xa[Qa-1]=arguments[Qa];if(Xr&&(!va||!za.current)){var si;va&&(za.current=!0),(si=Sr.current)===null||si===void 0||si.onKeyDown.apply(si,[rr].concat(xa))}xt==null||xt.apply(void 0,[rr].concat(xa))},Fa=function(rr){for(var pa=arguments.length,ha=new Array(pa>1?pa-1:0),va=1;va<pa;va++)ha[va-1]=arguments[va];if(Xr){var Ca;(Ca=Sr.current)===null||Ca===void 0||Ca.onKeyUp.apply(Ca,[rr].concat(ha))}rr.key==="Enter"&&(za.current=!1),ht==null||ht.apply(void 0,[rr].concat(ha))},$a=function(rr){var pa=Jt.filter(function(ha){return ha!==rr});ze(pa,{type:"remove",values:[rr]})},Ba=function(){za.current=!1},aa=I.useRef(!1),Si=function(){kn(!0),mn||(pt&&!aa.current&&pt.apply(void 0,arguments),Ve.includes("focus")&&Tn(!0)),aa.current=!0},co=function(){nr.current=!0,kn(!1,function(){aa.current=!1,nr.current=!1,Tn(!1)}),!mn&&(er&&(he==="tags"?gr(er,{source:"submit"}):he==="multiple"&&gr("",{source:"blur"})),gt&&gt.apply(void 0,arguments))},Va=[];I.useEffect(function(){return function(){Va.forEach(function(wr){return clearTimeout(wr)}),Va.splice(0,Va.length)}},[]);var ii=function(rr){var pa,ha=rr.target,va=(pa=Jn.current)===null||pa===void 0?void 0:pa.getPopupElement();if(va&&va.contains(ha)){var Ca=setTimeout(function(){var ca=Va.indexOf(Ca);if(ca!==-1&&Va.splice(ca,1),Wn(),!Sn&&!va.contains(document.activeElement)){var xa;(xa=cr.current)===null||xa===void 0||xa.focus()}});Va.push(Ca)}for(var gi=arguments.length,oi=new Array(gi>1?gi-1:0),Ii=1;Ii<gi;Ii++)oi[Ii-1]=arguments[Ii];Wt==null||Wt.apply(void 0,[rr].concat(oi))},Ka=I.useState({}),Ui=(0,k.Z)(Ka,2),yo=Ui[1];function Eo(){yo({})}var So;dr&&(So=function(rr){Tn(rr)}),_(function(){var wr;return[vr.current,(wr=Jn.current)===null||wr===void 0?void 0:wr.getPopupElement()]},ta,Tn,!!dr);var Ji=I.useMemo(function(){return(0,b.Z)((0,b.Z)({},De),{},{notFoundContent:dn,open:Xr,triggerOpen:ta,id:wt,showSearch:En,multiple:rn,toggleOpen:Tn})},[De,dn,ta,Xr,wt,En,rn,Tn]),fo=!!Pn||lr,eo;fo&&(eo=I.createElement(X,{className:G()("".concat(me,"-arrow"),(0,m.Z)({},"".concat(me,"-arrow-loading"),lr)),customizeIcon:Pn,customizeIconProps:{loading:lr,searchValue:er,open:Xr,focused:fn,showSearch:En}}));var $i=function(){var rr;nn==null||nn(),(rr=cr.current)===null||rr===void 0||rr.focus(),ze([],{type:"clear",values:Jt}),Zr("",!1,!1)},to=q(me,$i,Jt,un,or,mn,er,he),To=to.allowClear,no=to.clearIcon,Vi=I.createElement(mr,{ref:Sr}),Ki=G()(me,St,(0,m.Z)((0,m.Z)((0,m.Z)((0,m.Z)((0,m.Z)((0,m.Z)((0,m.Z)((0,m.Z)((0,m.Z)((0,m.Z)({},"".concat(me,"-focused"),fn),"".concat(me,"-multiple"),rn),"".concat(me,"-single"),!rn),"".concat(me,"-allow-clear"),un),"".concat(me,"-show-arrow"),fo),"".concat(me,"-disabled"),mn),"".concat(me,"-loading"),lr),"".concat(me,"-open"),Xr),"".concat(me,"-customize-input"),Ce),"".concat(me,"-show-search"),En)),Ua=I.createElement(v,{ref:Jn,disabled:mn,prefixCls:me,visible:ta,popupElement:Vi,animation:Pr,transitionName:sa,dropdownStyle:Ee,dropdownClassName:at,direction:g,dropdownMatchSelectWidth:We,dropdownRender:it,dropdownAlign:mt,placement:yt,builtinPlacements:Bt,getPopupContainer:Ot,empty:yn,getTriggerDOMNode:function(rr){return br.current||rr},onPopupVisibleChange:So,onPopupMouseEnter:Eo},dr?I.cloneElement(dr,{ref:Vr}):I.createElement(Ut,(0,u.Z)({},De,{domRef:br,prefixCls:me,inputElement:Ce,ref:cr,id:wt,prefix:Rn,showSearch:En,autoClearSearchValue:Br,mode:he,activeDescendantId:Rr,tagRender:Te,values:Jt,open:Xr,onToggleOpen:Tn,activeValue:_r,searchValue:er,onSearch:Zr,onSearchSubmit:Aa,onRemove:$a,tokenWithEnter:Gn,onInputBlur:Ba}))),fa;return dr?fa=Ua:fa=I.createElement("div",(0,u.Z)({className:Ki},Fn,{ref:vr,onMouseDown:ii,onKeyDown:Ur,onKeyUp:Fa,onFocus:Si,onBlur:co}),I.createElement(Ge,{visible:fn&&!Xr,values:Jt}),Ua,eo,To&&no),I.createElement(W.Provider,{value:Ji},fa)}),et=$e,It=function(){return null};It.isSelectOptGroup=!0;var tt=It,Q=function(){return null};Q.isSelectOption=!0;var Et=Q,At=r(80547),ye=r(2738),Gt=r(6790);function tn(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Xt=["disabled","title","children","style","className"];function Ke(De){return typeof De=="string"||typeof De=="number"}var bn=function(Le,Pt){var wt=Y(),me=wt.prefixCls,St=wt.id,_t=wt.open,Te=wt.multiple,g=wt.mode,Yt=wt.searchValue,Jt=wt.toggleOpen,ze=wt.notFoundContent,yn=wt.onPopupScroll,jt=I.useContext(ct),dn=jt.maxCount,nn=jt.flattenOptions,he=jt.onActiveValue,mn=jt.defaultActiveFirstOption,lr=jt.onSelect,ur=jt.menuItemSelectedIcon,fr=jt.rawValues,pr=jt.fieldNames,Zn=jt.virtual,hr=jt.direction,_r=jt.listHeight,kr=jt.listItemHeight,Rr=jt.optionRender,zr="".concat(me,"-item"),Br=(0,At.Z)(function(){return nn},[_t,nn],function(kt,Ve){return Ve[0]&&kt[1]!==Ve[1]}),gr=I.useRef(null),Gr=I.useMemo(function(){return Te&&ot(dn)&&(fr==null?void 0:fr.size)>=dn},[Te,dn,fr==null?void 0:fr.size]),Wr=function(Ve){Ve.preventDefault()},un=function(Ve){var pt;(pt=gr.current)===null||pt===void 0||pt.scrollTo(typeof Ve=="number"?{index:Ve}:Ve)},Rn=I.useCallback(function(kt){return g==="combobox"?!1:fr.has(kt)},[g,(0,E.Z)(fr).toString(),fr.size]),Pn=function(Ve){for(var pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,gt=Br.length,ht=0;ht<gt;ht+=1){var xt=(Ve+ht*pt+gt)%gt,Wt=Br[xt]||{},sn=Wt.group,rn=Wt.data;if(!sn&&!(rn!=null&&rn.disabled)&&(Rn(rn.value)||!Gr))return xt}return-1},or=I.useState(function(){return Pn(0)}),mr=(0,k.Z)(or,2),Pr=mr[0],sa=mr[1],Ee=function(Ve){var pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;sa(Ve);var gt={source:pt?"keyboard":"mouse"},ht=Br[Ve];if(!ht){he(null,-1,gt);return}he(ht.value,Ve,gt)};(0,I.useEffect)(function(){Ee(mn!==!1?Pn(0):-1)},[Br.length,Yt]);var at=I.useCallback(function(kt){return g==="combobox"?String(kt).toLowerCase()===Yt.toLowerCase():fr.has(kt)},[g,Yt,(0,E.Z)(fr).toString(),fr.size]);(0,I.useEffect)(function(){var kt=setTimeout(function(){if(!Te&&_t&&fr.size===1){var pt=Array.from(fr)[0],gt=Br.findIndex(function(ht){var xt=ht.data;return Yt?String(xt.value).startsWith(Yt):xt.value===pt});gt!==-1&&(Ee(gt),un(gt))}});if(_t){var Ve;(Ve=gr.current)===null||Ve===void 0||Ve.scrollTo(void 0)}return function(){return clearTimeout(kt)}},[_t,Yt]);var We=function(Ve){Ve!==void 0&&lr(Ve,{selected:!fr.has(Ve)}),Te||Jt(!1)};if(I.useImperativeHandle(Pt,function(){return{onKeyDown:function(Ve){var pt=Ve.which,gt=Ve.ctrlKey;switch(pt){case ee.Z.N:case ee.Z.P:case ee.Z.UP:case ee.Z.DOWN:{var ht=0;if(pt===ee.Z.UP?ht=-1:pt===ee.Z.DOWN?ht=1:tn()&&gt&&(pt===ee.Z.N?ht=1:pt===ee.Z.P&&(ht=-1)),ht!==0){var xt=Pn(Pr+ht,ht);un(xt),Ee(xt,!0)}break}case ee.Z.TAB:case ee.Z.ENTER:{var Wt,sn=Br[Pr];sn&&!(sn!=null&&(Wt=sn.data)!==null&&Wt!==void 0&&Wt.disabled)&&!Gr?We(sn.value):We(void 0),_t&&Ve.preventDefault();break}case ee.Z.ESC:Jt(!1),_t&&Ve.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Ve){un(Ve)}}}),Br.length===0)return I.createElement("div",{role:"listbox",id:"".concat(St,"_list"),className:"".concat(zr,"-empty"),onMouseDown:Wr},ze);var it=Object.keys(pr).map(function(kt){return pr[kt]}),mt=function(Ve){return Ve.label};function yt(kt,Ve){var pt=kt.group;return{role:pt?"presentation":"option",id:"".concat(St,"_list_").concat(Ve)}}var Bt=function(Ve){var pt=Br[Ve];if(!pt)return null;var gt=pt.data||{},ht=gt.value,xt=pt.group,Wt=(0,Z.Z)(gt,!0),sn=mt(pt);return pt?I.createElement("div",(0,u.Z)({"aria-label":typeof sn=="string"&&!xt?sn:null},Wt,{key:Ve},yt(pt,Ve),{"aria-selected":at(ht)}),ht):null},Ot={role:"listbox",id:"".concat(St,"_list")};return I.createElement(I.Fragment,null,Zn&&I.createElement("div",(0,u.Z)({},Ot,{style:{height:0,width:0,overflow:"hidden"}}),Bt(Pr-1),Bt(Pr),Bt(Pr+1)),I.createElement(Gt.Z,{itemKey:"key",ref:gr,data:Br,height:_r,itemHeight:kr,fullHeight:!1,onMouseDown:Wr,onScroll:yn,virtual:Zn,direction:hr,innerProps:Zn?null:Ot},function(kt,Ve){var pt=kt.group,gt=kt.groupOption,ht=kt.data,xt=kt.label,Wt=kt.value,sn=ht.key;if(pt){var rn,En=(rn=ht.title)!==null&&rn!==void 0?rn:Ke(xt)?xt.toString():void 0;return I.createElement("div",{className:G()(zr,"".concat(zr,"-group"),ht.className),title:En},xt!==void 0?xt:sn)}var Fn=ht.disabled,vn=ht.title,jn=ht.children,Sn=ht.style,Er=ht.className,vr=(0,d.Z)(ht,Xt),br=(0,ye.Z)(vr,it),Jn=Rn(Wt),cr=Fn||!Jn&&Gr,Sr="".concat(zr,"-option"),nr=G()(zr,Sr,Er,(0,m.Z)((0,m.Z)((0,m.Z)((0,m.Z)({},"".concat(Sr,"-grouped"),gt),"".concat(Sr,"-active"),Pr===Ve&&!cr),"".concat(Sr,"-disabled"),cr),"".concat(Sr,"-selected"),Jn)),sr=mt(kt),_n=!ur||typeof ur=="function"||Jn,fn=typeof sr=="number"?sr:sr||Wt,kn=Ke(fn)?fn.toString():void 0;return vn!==void 0&&(kn=vn),I.createElement("div",(0,u.Z)({},(0,Z.Z)(br),Zn?{}:yt(kt,Ve),{"aria-selected":at(Wt),className:nr,title:kn,onMouseMove:function(){Pr===Ve||cr||Ee(Ve)},onClick:function(){cr||We(Wt)},style:Sn}),I.createElement("div",{className:"".concat(Sr,"-content")},typeof Rr=="function"?Rr(kt,{index:Ve}):fn),I.isValidElement(ur)||Jn,_n&&I.createElement(X,{className:"".concat(zr,"-option-state"),customizeIcon:ur,customizeIconProps:{value:Wt,disabled:cr,isSelected:Jn}},Jn?"\u2713":null))}))},cn=I.forwardRef(bn),Ht=cn,Kt=function(De,Le){var Pt=I.useRef({values:new Map,options:new Map}),wt=I.useMemo(function(){var St=Pt.current,_t=St.values,Te=St.options,g=De.map(function(ze){if(ze.label===void 0){var yn;return(0,b.Z)((0,b.Z)({},ze),{},{label:(yn=_t.get(ze.value))===null||yn===void 0?void 0:yn.label})}return ze}),Yt=new Map,Jt=new Map;return g.forEach(function(ze){Yt.set(ze.value,ze),Jt.set(ze.value,Le.get(ze.value)||Te.get(ze.value))}),Pt.current.values=Yt,Pt.current.options=Jt,g},[De,Le]),me=I.useCallback(function(St){return Le.get(St)||Pt.current.options.get(St)},[Le]);return[wt,me]};function gn(De,Le){return Ie(De).join("").toUpperCase().includes(Le)}var Vt=function(De,Le,Pt,wt,me){return I.useMemo(function(){if(!Pt||wt===!1)return De;var St=Le.options,_t=Le.label,Te=Le.value,g=[],Yt=typeof wt=="function",Jt=Pt.toUpperCase(),ze=Yt?wt:function(jt,dn){return me?gn(dn[me],Jt):dn[St]?gn(dn[_t!=="children"?_t:"label"],Jt):gn(dn[Te],Jt)},yn=Yt?function(jt){return Fe(jt)}:function(jt){return jt};return De.forEach(function(jt){if(jt[St]){var dn=ze(Pt,yn(jt));if(dn)g.push(jt);else{var nn=jt[St].filter(function(he){return ze(Pt,yn(he))});nn.length&&g.push((0,b.Z)((0,b.Z)({},jt),{},(0,m.Z)({},St,nn)))}return}ze(Pt,yn(jt))&&g.push(jt)}),g},[De,wt,me,Pt,Le])},Ft=r(6551),Lt=r(11592),Qt=["children","value"],An=["children"];function Dn(De){var Le=De,Pt=Le.key,wt=Le.props,me=wt.children,St=wt.value,_t=(0,d.Z)(wt,Qt);return(0,b.Z)({key:Pt,value:St!==void 0?St:Pt,children:me},_t)}function ln(De){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Lt.Z)(De).map(function(Pt,wt){if(!I.isValidElement(Pt)||!Pt.type)return null;var me=Pt,St=me.type.isSelectOptGroup,_t=me.key,Te=me.props,g=Te.children,Yt=(0,d.Z)(Te,An);return Le||!St?Dn(Pt):(0,b.Z)((0,b.Z)({key:"__RC_SELECT_GRP__".concat(_t===null?wt:_t,"__"),label:_t},Yt),{},{options:ln(g)})}).filter(function(Pt){return Pt})}var Lr=function(Le,Pt,wt,me,St){return I.useMemo(function(){var _t=Le,Te=!Le;Te&&(_t=ln(Pt));var g=new Map,Yt=new Map,Jt=function(jt,dn,nn){nn&&typeof nn=="string"&&jt.set(dn[nn],dn)},ze=function yn(jt){for(var dn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,nn=0;nn<jt.length;nn+=1){var he=jt[nn];!he[wt.options]||dn?(g.set(he[wt.value],he),Jt(Yt,he,wt.label),Jt(Yt,he,me),Jt(Yt,he,St)):yn(he[wt.options],!0)}};return ze(_t),{options:_t,valueOptions:g,labelOptions:Yt}},[Le,Pt,wt,me,St])},Ln=Lr;function Vn(De){var Le=I.useRef();Le.current=De;var Pt=I.useCallback(function(){return Le.current.apply(Le,arguments)},[]);return Pt}function Ar(De){var Le=De.mode,Pt=De.options,wt=De.children,me=De.backfill,St=De.allowClear,_t=De.placeholder,Te=De.getInputElement,g=De.showSearch,Yt=De.onSearch,Jt=De.defaultOpen,ze=De.autoFocus,yn=De.labelInValue,jt=De.value,dn=De.inputValue,nn=De.optionLabelProp,he=isMultiple(Le),mn=g!==void 0?g:he||Le==="combobox",lr=Pt||convertChildrenToData(wt);if(warning(Le!=="tags"||lr.every(function(Zn){return!Zn.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Le==="tags"||Le==="combobox"){var ur=lr.some(function(Zn){return Zn.options?Zn.options.some(function(hr){return typeof("value"in hr?hr.value:hr.key)=="number"}):typeof("value"in Zn?Zn.value:Zn.key)=="number"});warning(!ur,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Le!=="combobox"||!nn,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Le==="combobox"||!me,"`backfill` only works with `combobox` mode."),warning(Le==="combobox"||!Te,"`getInputElement` only work with `combobox` mode."),noteOnce(Le!=="combobox"||!Te||!St||!_t,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Yt&&!mn&&Le!=="combobox"&&Le!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Jt||ze,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),jt!=null){var fr=toArray(jt);warning(!yn||fr.every(function(Zn){return _typeof(Zn)==="object"&&("key"in Zn||"value"in Zn)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!he||Array.isArray(jt),"`value` should be array when `mode` is `multiple` or `tags`")}if(wt){var pr=null;toNodeArray(wt).some(function(Zn){if(!React.isValidElement(Zn)||!Zn.type)return!1;var hr=Zn,_r=hr.type;if(_r.isSelectOption)return!1;if(_r.isSelectOptGroup){var kr=toNodeArray(Zn.props.children).every(function(Rr){return!React.isValidElement(Rr)||!Zn.type||Rr.type.isSelectOption?!0:(pr=Rr.type,!1)});return!kr}return pr=_r,!0}),pr&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(pr.displayName||pr.name||pr,"`.")),warning(dn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Ir(De,Le){if(De){var Pt=function wt(me){for(var St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_t=0;_t<me.length;_t++){var Te=me[_t];if(Te[Le==null?void 0:Le.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!St&&Array.isArray(Te[Le==null?void 0:Le.options])&&wt(Te[Le==null?void 0:Le.options],!0))break}};Pt(De)}}var Kn=null,Cn=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],Mn=["inputValue"];function zn(De){return!De||(0,N.Z)(De)!=="object"}var $t=I.forwardRef(function(De,Le){var Pt=De.id,wt=De.mode,me=De.prefixCls,St=me===void 0?"rc-select":me,_t=De.backfill,Te=De.fieldNames,g=De.inputValue,Yt=De.searchValue,Jt=De.onSearch,ze=De.autoClearSearchValue,yn=ze===void 0?!0:ze,jt=De.onSelect,dn=De.onDeselect,nn=De.dropdownMatchSelectWidth,he=nn===void 0?!0:nn,mn=De.filterOption,lr=De.filterSort,ur=De.optionFilterProp,fr=De.optionLabelProp,pr=De.options,Zn=De.optionRender,hr=De.children,_r=De.defaultActiveFirstOption,kr=De.menuItemSelectedIcon,Rr=De.virtual,zr=De.direction,Br=De.listHeight,gr=Br===void 0?200:Br,Gr=De.listItemHeight,Wr=Gr===void 0?20:Gr,un=De.labelRender,Rn=De.value,Pn=De.defaultValue,or=De.labelInValue,mr=De.onChange,Pr=De.maxCount,sa=(0,d.Z)(De,Cn),Ee=(0,Ft.ZP)(Pt),at=rt(wt),We=!!(!pr&&hr),it=I.useMemo(function(){return mn===void 0&&wt==="combobox"?!1:mn},[mn,wt]),mt=I.useMemo(function(){return lt(Te,We)},[JSON.stringify(Te),We]),yt=(0,H.Z)("",{value:Yt!==void 0?Yt:g,postState:function(Gn){return Gn||""}}),Bt=(0,k.Z)(yt,2),Ot=Bt[0],kt=Bt[1],Ve=Ln(pr,hr,mt,ur,fr),pt=Ve.valueOptions,gt=Ve.labelOptions,ht=Ve.options,xt=I.useCallback(function(Tn){var Gn=Ie(Tn);return Gn.map(function($n){var Un,Nr,Zr,Aa,la;if(zn($n))Un=$n;else{var ua;Zr=$n.key,Nr=$n.label,Un=(ua=$n.value)!==null&&ua!==void 0?ua:Zr}var Qn=pt.get(Un);if(Qn){var Dr;if(Nr===void 0&&(Nr=Qn==null?void 0:Qn[fr||mt.label]),Zr===void 0&&(Zr=(Dr=Qn==null?void 0:Qn.key)!==null&&Dr!==void 0?Dr:Un),Aa=Qn==null?void 0:Qn.disabled,la=Qn==null?void 0:Qn.title,0)var za}return{label:Nr,value:Un,key:Zr,disabled:Aa,title:la}})},[mt,fr,pt]),Wt=(0,H.Z)(Pn,{value:Rn}),sn=(0,k.Z)(Wt,2),rn=sn[0],En=sn[1],Fn=I.useMemo(function(){var Tn,Gn=at&&rn===null?[]:rn,$n=xt(Gn);return wt==="combobox"&&M((Tn=$n[0])===null||Tn===void 0?void 0:Tn.value)?[]:$n},[rn,xt,wt,at]),vn=Kt(Fn,pt),jn=(0,k.Z)(vn,2),Sn=jn[0],Er=jn[1],vr=I.useMemo(function(){if(!wt&&Sn.length===1){var Tn=Sn[0];if(Tn.value===null&&(Tn.label===null||Tn.label===void 0))return[]}return Sn.map(function(Gn){var $n;return(0,b.Z)((0,b.Z)({},Gn),{},{label:($n=typeof un=="function"?un(Gn):Gn.label)!==null&&$n!==void 0?$n:Gn.value})})},[wt,Sn,un]),br=I.useMemo(function(){return new Set(Sn.map(function(Tn){return Tn.value}))},[Sn]);I.useEffect(function(){if(wt==="combobox"){var Tn,Gn=(Tn=Sn[0])===null||Tn===void 0?void 0:Tn.value;kt(oe(Gn)?String(Gn):"")}},[Sn]);var Jn=Vn(function(Tn,Gn){var $n=Gn!=null?Gn:Tn;return(0,m.Z)((0,m.Z)({},mt.value,Tn),mt.label,$n)}),cr=I.useMemo(function(){if(wt!=="tags")return ht;var Tn=(0,E.Z)(ht),Gn=function(Un){return pt.has(Un)};return(0,E.Z)(Sn).sort(function($n,Un){return $n.value<Un.value?-1:1}).forEach(function($n){var Un=$n.value;Gn(Un)||Tn.push(Jn(Un,$n.label))}),Tn},[Jn,ht,pt,Sn,wt]),Sr=Vt(cr,mt,Ot,it,ur),nr=I.useMemo(function(){return wt!=="tags"||!Ot||Sr.some(function(Tn){return Tn[ur||"value"]===Ot})||Sr.some(function(Tn){return Tn[mt.value]===Ot})?Sr:[Jn(Ot)].concat((0,E.Z)(Sr))},[Jn,ur,wt,Sr,Ot,mt]),sr=function Tn(Gn){var $n=(0,E.Z)(Gn).sort(function(Un,Nr){return lr(Un,Nr,{searchValue:Ot})});return $n.map(function(Un){return Array.isArray(Un.options)?(0,b.Z)((0,b.Z)({},Un),{},{options:Un.options.length>0?Tn(Un.options):Un.options}):Un})},_n=I.useMemo(function(){return lr?sr(nr):nr},[nr,lr,Ot]),fn=I.useMemo(function(){return Se(_n,{fieldNames:mt,childrenAsData:We})},[_n,mt,We]),kn=function(Gn){var $n=xt(Gn);if(En($n),mr&&($n.length!==Sn.length||$n.some(function(Zr,Aa){var la;return((la=Sn[Aa])===null||la===void 0?void 0:la.value)!==(Zr==null?void 0:Zr.value)}))){var Un=or?$n:$n.map(function(Zr){return Zr.value}),Nr=$n.map(function(Zr){return Fe(Er(Zr.value))});mr(at?Un:Un[0],at?Nr:Nr[0])}},Wn=I.useState(null),er=(0,k.Z)(Wn,2),Ce=er[0],dr=er[1],Vr=I.useState(0),Ia=(0,k.Z)(Vr,2),Ra=Ia[0],hi=Ia[1],Pa=_r!==void 0?_r:wt!=="combobox",qr=I.useCallback(function(Tn,Gn){var $n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Un=$n.source,Nr=Un===void 0?"keyboard":Un;hi(Gn),_t&&wt==="combobox"&&Tn!==null&&Nr==="keyboard"&&dr(String(Tn))},[_t,wt]),Kr=function(Gn,$n,Un){var Nr=function(){var $a,Ba=Er(Gn);return[or?{label:Ba==null?void 0:Ba[mt.label],value:Gn,key:($a=Ba==null?void 0:Ba.key)!==null&&$a!==void 0?$a:Gn}:Gn,Fe(Ba)]};if($n&&jt){var Zr=Nr(),Aa=(0,k.Z)(Zr,2),la=Aa[0],ua=Aa[1];jt(la,ua)}else if(!$n&&dn&&Un!=="clear"){var Qn=Nr(),Dr=(0,k.Z)(Qn,2),za=Dr[0],Ur=Dr[1];dn(za,Ur)}},jr=Vn(function(Tn,Gn){var $n,Un=at?Gn.selected:!0;Un?$n=at?[].concat((0,E.Z)(Sn),[Tn]):[Tn]:$n=Sn.filter(function(Nr){return Nr.value!==Tn}),kn($n),Kr(Tn,Un),wt==="combobox"?dr(""):(!rt||yn)&&(kt(""),dr(""))}),Ta=function(Gn,$n){kn(Gn);var Un=$n.type,Nr=$n.values;(Un==="remove"||Un==="clear")&&Nr.forEach(function(Zr){Kr(Zr.value,!1,Un)})},Xr=function(Gn,$n){if(kt(Gn),dr(null),$n.source==="submit"){var Un=(Gn||"").trim();if(Un){var Nr=Array.from(new Set([].concat((0,E.Z)(br),[Un])));kn(Nr),Kr(Un,!0),kt("")}return}$n.source!=="blur"&&(wt==="combobox"&&kn(Gn),Jt==null||Jt(Gn))},ea=function(Gn){var $n=Gn;wt!=="tags"&&($n=Gn.map(function(Nr){var Zr=gt.get(Nr);return Zr==null?void 0:Zr.value}).filter(function(Nr){return Nr!==void 0}));var Un=Array.from(new Set([].concat((0,E.Z)(br),(0,E.Z)($n))));kn(Un),Un.forEach(function(Nr){Kr(Nr,!0)})},ta=I.useMemo(function(){var Tn=Rr!==!1&&he!==!1;return(0,b.Z)((0,b.Z)({},Ve),{},{flattenOptions:fn,onActiveValue:qr,defaultActiveFirstOption:Pa,onSelect:jr,menuItemSelectedIcon:kr,rawValues:br,fieldNames:mt,virtual:Tn,direction:zr,listHeight:gr,listItemHeight:Wr,childrenAsData:We,maxCount:Pr,optionRender:Zn})},[Pr,Ve,fn,qr,Pa,jr,kr,br,mt,Rr,he,zr,gr,Wr,We,Zn]);return I.createElement(ct.Provider,{value:ta},I.createElement(et,(0,u.Z)({},sa,{id:Ee,prefixCls:St,ref:Le,omitDomProps:Mn,mode:wt,displayValues:vr,onDisplayValuesChange:Ta,direction:zr,searchValue:Ot,onSearch:Xr,autoClearSearchValue:yn,onSearchSplit:ea,dropdownMatchSelectWidth:he,OptionList:Ht,emptyOptions:!fn.length,activeValue:Ce,activeDescendantId:"".concat(Ee,"_list_").concat(Ra)})))}),On=$t;On.Option=Et,On.OptGroup=tt;var Or=On,Mr=Or},63158:function(x,c,r){"use strict";var u=r(32855),E=r(74430),m=r(11913),b=r(43079),k=r(59301),d=r(92310),N=r.n(d),H=r(18929),O=r(10228),I=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],ie=k.forwardRef(function(G,be){var ce,ue=G.prefixCls,te=ue===void 0?"rc-switch":ue,X=G.className,q=G.checked,W=G.defaultChecked,Y=G.disabled,P=G.loadingIcon,B=G.checkedChildren,_=G.unCheckedChildren,ee=G.onClick,de=G.onChange,Z=G.onKeyDown,fe=(0,b.Z)(G,I),re=(0,H.Z)(!1,{value:q,defaultValue:W}),V=(0,m.Z)(re,2),le=V[0],ne=V[1];function ge(Be,oe){var M=le;return Y||(M=Be,ne(M),de==null||de(M,oe)),M}function Re(Be){Be.which===O.Z.LEFT?ge(!1,Be):Be.which===O.Z.RIGHT&&ge(!0,Be),Z==null||Z(Be)}function Ie(Be){var oe=ge(!le,Be);ee==null||ee(oe,Be)}var ke=N()(te,X,(ce={},(0,E.Z)(ce,"".concat(te,"-checked"),le),(0,E.Z)(ce,"".concat(te,"-disabled"),Y),ce));return k.createElement("button",(0,u.Z)({},fe,{type:"button",role:"switch","aria-checked":le,disabled:Y,className:ke,ref:be,onKeyDown:Re,onClick:Ie}),P,k.createElement("span",{className:"".concat(te,"-inner")},k.createElement("span",{className:"".concat(te,"-inner-checked")},B),k.createElement("span",{className:"".concat(te,"-inner-unchecked")},_)))});ie.displayName="Switch",c.Z=ie},86351:function(x,c,r){"use strict";r.d(c,{R:function(){return E},w:function(){return u}});var u={},E="rc-table-internal-hook"},97347:function(x,c,r){"use strict";r.d(c,{L:function(){return te},Z:function(){return P}});var u=r(11913),E=r(74430),m=r(3300),b=r(34666),k=r(27247),d=r(43079),N=r(11592),H=r(48736),O=r(59301),I=r(86351),ie=r(54451);function G(B){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof _=="number"?_:_.endsWith("%")?B*parseFloat(_)/100:null}function be(B,_,ee){return O.useMemo(function(){if(_&&_>0){var de=0,Z=0;B.forEach(function(Ie){var ke=G(_,Ie.width);ke?de+=ke:Z+=1});var fe=Math.max(_,ee),re=Math.max(fe-de,Z),V=Z,le=re/Z,ne=0,ge=B.map(function(Ie){var ke=(0,k.Z)({},Ie),Be=G(_,ke.width);if(Be)ke.width=Be;else{var oe=Math.floor(le);ke.width=V===1?re:oe,re-=oe,V-=1}return ne+=ke.width,ke});if(ne<fe){var Re=fe/ne;re=fe,ge.forEach(function(Ie,ke){var Be=Math.floor(Ie.width*Re);Ie.width=ke===ge.length-1?re:Be,re-=Be})}return[ge,Math.max(ne,fe)]}return[B,_]},[B,_,ee])}var ce=["children"],ue=["fixed"];function te(B){return(0,N.Z)(B).filter(function(_){return O.isValidElement(_)}).map(function(_){var ee=_.key,de=_.props,Z=de.children,fe=(0,d.Z)(de,ce),re=(0,k.Z)({key:ee},fe);return Z&&(re.children=te(Z)),re})}function X(B){return B.filter(function(_){return _&&(0,b.Z)(_)==="object"&&!_.hidden}).map(function(_){var ee=_.children;return ee&&ee.length>0?(0,k.Z)((0,k.Z)({},_),{},{children:X(ee)}):_})}function q(B){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return B.filter(function(ee){return ee&&(0,b.Z)(ee)==="object"}).reduce(function(ee,de,Z){var fe=de.fixed,re=fe===!0?"left":fe,V="".concat(_,"-").concat(Z),le=de.children;return le&&le.length>0?[].concat((0,m.Z)(ee),(0,m.Z)(q(le,V).map(function(ne){return(0,k.Z)({fixed:re},ne)}))):[].concat((0,m.Z)(ee),[(0,k.Z)((0,k.Z)({key:V},de),{},{fixed:re})])},[])}function W(B){return B.map(function(_){var ee=_.fixed,de=(0,d.Z)(_,ue),Z=ee;return ee==="left"?Z="right":ee==="right"&&(Z="left"),(0,k.Z)({fixed:Z},de)})}function Y(B,_){var ee=B.prefixCls,de=B.columns,Z=B.children,fe=B.expandable,re=B.expandedKeys,V=B.columnTitle,le=B.getRowKey,ne=B.onTriggerExpand,ge=B.expandIcon,Re=B.rowExpandable,Ie=B.expandIconColumnIndex,ke=B.direction,Be=B.expandRowByClick,oe=B.columnWidth,M=B.fixed,L=B.scrollWidth,xe=B.clientWidth,Me=O.useMemo(function(){var Ut=de||te(Z)||[];return X(Ut.slice())},[de,Z]),we=O.useMemo(function(){if(fe){var Ut=Me.slice();if(!Ut.includes(I.w)){var R=Ie||0;R>=0&&(R||M==="left"||!M)&&Ut.splice(R,0,I.w),M==="right"&&Ut.splice(Me.length,0,I.w)}var h=Ut.indexOf(I.w);Ut=Ut.filter(function(v,U){return v!==I.w||U===h});var f=Me[h],C;M?C=M:C=f?f.fixed:null;var D=(0,E.Z)((0,E.Z)((0,E.Z)((0,E.Z)((0,E.Z)((0,E.Z)({},ie.v,{className:"".concat(ee,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",V),"fixed",C),"className","".concat(ee,"-row-expand-icon-cell")),"width",oe),"render",function(U,Ne,ot){var lt=le(Ne,ot),Se=re.has(lt),Fe=Re?Re(Ne):!0,Pe=ge({prefixCls:ee,expanded:Se,expandable:Fe,record:Ne,onExpand:ne});return Be?O.createElement("span",{onClick:function(ct){return ct.stopPropagation()}},Pe):Pe});return Ut.map(function(v){return v===I.w?D:v})}return Me.filter(function(v){return v!==I.w})},[fe,Me,le,re,ge,ke]),Tt=O.useMemo(function(){var Ut=we;return _&&(Ut=_(Ut)),Ut.length||(Ut=[{render:function(){return null}}]),Ut},[_,we,ke]),ut=O.useMemo(function(){return ke==="rtl"?W(q(Tt)):q(Tt)},[Tt,ke,L]),Rt=O.useMemo(function(){for(var Ut=-1,R=ut.length-1;R>=0;R-=1){var h=ut[R].fixed;if(h==="left"||h===!0){Ut=R;break}}if(Ut>=0)for(var f=0;f<=Ut;f+=1){var C=ut[f].fixed;if(C!=="left"&&C!==!0)return!0}var D=ut.findIndex(function(Ne){var ot=Ne.fixed;return ot==="right"});if(D>=0)for(var v=D;v<ut.length;v+=1){var U=ut[v].fixed;if(U!=="right")return!0}return!1},[ut]),He=be(ut,L,xe),bt=(0,u.Z)(He,2),vt=bt[0],Mt=bt[1];return[Tt,vt,Mt,Rt]}var P=Y},4030:function(x,c,r){"use strict";r.d(c,{w2:function(){return u.w},vP:function(){return Ke.v},RQ:function(){return u.R},ER:function(){return lt},Q$:function(){return mn},TN:function(){return mr}});var u=r(86351),E=r(11913),m=r(6089),b=r(34280),k=r(13697),d=r(59301),N=r(4676);function H(Ee){var at=d.createContext(void 0),We=function(mt){var yt=mt.value,Bt=mt.children,Ot=d.useRef(yt);Ot.current=yt;var kt=d.useState(function(){return{getValue:function(){return Ot.current},listeners:new Set}}),Ve=(0,E.Z)(kt,1),pt=Ve[0];return(0,b.Z)(function(){(0,N.unstable_batchedUpdates)(function(){pt.listeners.forEach(function(gt){gt(yt)})})},[yt]),d.createElement(at.Provider,{value:pt},Bt)};return{Context:at,Provider:We,defaultValue:Ee}}function O(Ee,at){var We=(0,m.Z)(typeof at=="function"?at:function(gt){if(at===void 0)return gt;if(!Array.isArray(at))return gt[at];var ht={};return at.forEach(function(xt){ht[xt]=gt[xt]}),ht}),it=d.useContext(Ee==null?void 0:Ee.Context),mt=it||{},yt=mt.listeners,Bt=mt.getValue,Ot=d.useRef();Ot.current=We(it?Bt():Ee==null?void 0:Ee.defaultValue);var kt=d.useState({}),Ve=(0,E.Z)(kt,2),pt=Ve[1];return(0,b.Z)(function(){if(!it)return;function gt(ht){var xt=We(ht);(0,k.Z)(Ot.current,xt,!0)||pt({})}return yt.add(gt),function(){yt.delete(gt)}},[it]),Ot.current}var I=r(32855),ie=r(8654);function G(){var Ee=d.createContext(null);function at(){return d.useContext(Ee)}function We(mt,yt){var Bt=(0,ie.Yr)(mt),Ot=function(Ve,pt){var gt=Bt?{ref:pt}:{},ht=d.useRef(0),xt=d.useRef(Ve),Wt=at();return Wt!==null?d.createElement(mt,(0,I.Z)({},Ve,gt)):((!yt||yt(xt.current,Ve))&&(ht.current+=1),xt.current=Ve,d.createElement(Ee.Provider,{value:ht.current},d.createElement(mt,(0,I.Z)({},Ve,gt))))};return Bt?d.forwardRef(Ot):Ot}function it(mt,yt){var Bt=(0,ie.Yr)(mt),Ot=function(Ve,pt){var gt=Bt?{ref:pt}:{};return at(),d.createElement(mt,(0,I.Z)({},Ve,gt))};return Bt?d.memo(d.forwardRef(Ot),yt):d.memo(Ot,yt)}return{makeImmutable:We,responseImmutable:it,useImmutableMark:at}}var be=G(),ce=be.makeImmutable,ue=be.responseImmutable,te=be.useImmutableMark,X=G(),q=X.makeImmutable,W=X.responseImmutable,Y=X.useImmutableMark,P=H(),B=P;function _(Ee,at){var We=React.useRef(0);We.current+=1;var it=React.useRef(Ee),mt=[];Object.keys(Ee||{}).map(function(Bt){var Ot;(Ee==null?void 0:Ee[Bt])!==((Ot=it.current)===null||Ot===void 0?void 0:Ot[Bt])&&mt.push(Bt)}),it.current=Ee;var yt=React.useRef([]);return mt.length&&(yt.current=mt),React.useDebugValue(We.current),React.useDebugValue(yt.current.join(", ")),at&&console.log("".concat(at,":"),We.current,yt.current),We.current}var ee=null,de=null,Z=r(34666),fe=r(27247),re=r(74430),V=r(92310),le=r.n(V),ne=r(80547),ge=r(97938),Re=r(48736),Ie=d.createContext({renderWithProps:!1}),ke=Ie,Be="RC_TABLE_KEY";function oe(Ee){return Ee==null?[]:Array.isArray(Ee)?Ee:[Ee]}function M(Ee){var at=[],We={};return Ee.forEach(function(it){for(var mt=it||{},yt=mt.key,Bt=mt.dataIndex,Ot=yt||oe(Bt).join("-")||Be;We[Ot];)Ot="".concat(Ot,"_next");We[Ot]=!0,at.push(Ot)}),at}function L(Ee){return Ee!=null}function xe(Ee){return typeof Ee=="number"&&!Number.isNaN(Ee)}function Me(Ee){return Ee&&(0,Z.Z)(Ee)==="object"&&!Array.isArray(Ee)&&!d.isValidElement(Ee)}function we(Ee,at,We,it,mt,yt){var Bt=d.useContext(ke),Ot=Y(),kt=(0,ne.Z)(function(){if(L(it))return[it];var Ve=at==null||at===""?[]:Array.isArray(at)?at:[at],pt=(0,ge.Z)(Ee,Ve),gt=pt,ht=void 0;if(mt){var xt=mt(pt,Ee,We);Me(xt)?(gt=xt.children,ht=xt.props,Bt.renderWithProps=!0):gt=xt}return[gt,ht]},[Ot,Ee,it,at,mt,We],function(Ve,pt){if(yt){var gt=(0,E.Z)(Ve,2),ht=gt[1],xt=(0,E.Z)(pt,2),Wt=xt[1];return yt(Wt,ht)}return Bt.renderWithProps?!0:!(0,k.Z)(Ve,pt,!0)});return kt}function Tt(Ee,at,We,it){var mt=Ee+at-1;return Ee<=it&&mt>=We}function ut(Ee,at){return O(B,function(We){var it=Tt(Ee,at||1,We.hoverStartRow,We.hoverEndRow);return[it,We.onHover]})}var Rt=r(70425),He=function(at){var We=at.ellipsis,it=at.rowType,mt=at.children,yt,Bt=We===!0?{showTitle:!0}:We;return Bt&&(Bt.showTitle||it==="header")&&(typeof mt=="string"||typeof mt=="number"?yt=mt.toString():d.isValidElement(mt)&&typeof mt.props.children=="string"&&(yt=mt.props.children)),yt};function bt(Ee){var at,We,it,mt,yt,Bt,Ot,kt,Ve=Ee.component,pt=Ee.children,gt=Ee.ellipsis,ht=Ee.scope,xt=Ee.prefixCls,Wt=Ee.className,sn=Ee.align,rn=Ee.record,En=Ee.render,Fn=Ee.dataIndex,vn=Ee.renderIndex,jn=Ee.shouldCellUpdate,Sn=Ee.index,Er=Ee.rowType,vr=Ee.colSpan,br=Ee.rowSpan,Jn=Ee.fixLeft,cr=Ee.fixRight,Sr=Ee.firstFixLeft,nr=Ee.lastFixLeft,sr=Ee.firstFixRight,_n=Ee.lastFixRight,fn=Ee.appendNode,kn=Ee.additionalProps,Wn=kn===void 0?{}:kn,er=Ee.isSticky,Ce="".concat(xt,"-cell"),dr=O(B,["supportSticky","allColumnsFixedLeft","rowHoverable"]),Vr=dr.supportSticky,Ia=dr.allColumnsFixedLeft,Ra=dr.rowHoverable,hi=we(rn,Fn,vn,pt,En,jn),Pa=(0,E.Z)(hi,2),qr=Pa[0],Kr=Pa[1],jr={},Ta=typeof Jn=="number"&&Vr,Xr=typeof cr=="number"&&Vr;Ta&&(jr.position="sticky",jr.left=Jn),Xr&&(jr.position="sticky",jr.right=cr);var ea=(at=(We=(it=Kr==null?void 0:Kr.colSpan)!==null&&it!==void 0?it:Wn.colSpan)!==null&&We!==void 0?We:vr)!==null&&at!==void 0?at:1,ta=(mt=(yt=(Bt=Kr==null?void 0:Kr.rowSpan)!==null&&Bt!==void 0?Bt:Wn.rowSpan)!==null&&yt!==void 0?yt:br)!==null&&mt!==void 0?mt:1,Tn=ut(Sn,ta),Gn=(0,E.Z)(Tn,2),$n=Gn[0],Un=Gn[1],Nr=(0,Rt.zX)(function(za){var Ur;rn&&Un(Sn,Sn+ta-1),Wn==null||(Ur=Wn.onMouseEnter)===null||Ur===void 0||Ur.call(Wn,za)}),Zr=(0,Rt.zX)(function(za){var Ur;rn&&Un(-1,-1),Wn==null||(Ur=Wn.onMouseLeave)===null||Ur===void 0||Ur.call(Wn,za)});if(ea===0||ta===0)return null;var Aa=(Ot=Wn.title)!==null&&Ot!==void 0?Ot:He({rowType:Er,ellipsis:gt,children:qr}),la=le()(Ce,Wt,(kt={},(0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)(kt,"".concat(Ce,"-fix-left"),Ta&&Vr),"".concat(Ce,"-fix-left-first"),Sr&&Vr),"".concat(Ce,"-fix-left-last"),nr&&Vr),"".concat(Ce,"-fix-left-all"),nr&&Ia&&Vr),"".concat(Ce,"-fix-right"),Xr&&Vr),"".concat(Ce,"-fix-right-first"),sr&&Vr),"".concat(Ce,"-fix-right-last"),_n&&Vr),"".concat(Ce,"-ellipsis"),gt),"".concat(Ce,"-with-append"),fn),"".concat(Ce,"-fix-sticky"),(Ta||Xr)&&er&&Vr),(0,re.Z)(kt,"".concat(Ce,"-row-hover"),!Kr&&$n)),Wn.className,Kr==null?void 0:Kr.className),ua={};sn&&(ua.textAlign=sn);var Qn=(0,fe.Z)((0,fe.Z)((0,fe.Z)((0,fe.Z)({},Kr==null?void 0:Kr.style),jr),ua),Wn.style),Dr=qr;return(0,Z.Z)(Dr)==="object"&&!Array.isArray(Dr)&&!d.isValidElement(Dr)&&(Dr=null),gt&&(nr||sr)&&(Dr=d.createElement("span",{className:"".concat(Ce,"-content")},Dr)),d.createElement(Ve,(0,I.Z)({},Kr,Wn,{className:la,style:Qn,title:Aa,scope:ht,onMouseEnter:Ra?Nr:void 0,onMouseLeave:Ra?Zr:void 0,colSpan:ea!==1?ea:null,rowSpan:ta!==1?ta:null}),fn,Dr)}var vt=d.memo(bt);function Mt(Ee,at,We,it,mt){var yt=We[Ee]||{},Bt=We[at]||{},Ot,kt;yt.fixed==="left"?Ot=it.left[mt==="rtl"?at:Ee]:Bt.fixed==="right"&&(kt=it.right[mt==="rtl"?Ee:at]);var Ve=!1,pt=!1,gt=!1,ht=!1,xt=We[at+1],Wt=We[Ee-1],sn=xt&&!xt.fixed||Wt&&!Wt.fixed||We.every(function(jn){return jn.fixed==="left"});if(mt==="rtl"){if(Ot!==void 0){var rn=Wt&&Wt.fixed==="left";ht=!rn&&sn}else if(kt!==void 0){var En=xt&&xt.fixed==="right";gt=!En&&sn}}else if(Ot!==void 0){var Fn=xt&&xt.fixed==="left";Ve=!Fn&&sn}else if(kt!==void 0){var vn=Wt&&Wt.fixed==="right";pt=!vn&&sn}return{fixLeft:Ot,fixRight:kt,lastFixLeft:Ve,firstFixRight:pt,lastFixRight:gt,firstFixLeft:ht,isSticky:it.isSticky}}var Ut=d.createContext({}),R=Ut;function h(Ee){var at=Ee.className,We=Ee.index,it=Ee.children,mt=Ee.colSpan,yt=mt===void 0?1:mt,Bt=Ee.rowSpan,Ot=Ee.align,kt=O(B,["prefixCls","direction"]),Ve=kt.prefixCls,pt=kt.direction,gt=d.useContext(R),ht=gt.scrollColumnIndex,xt=gt.stickyOffsets,Wt=gt.flattenColumns,sn=We+yt-1,rn=sn+1===ht?yt+1:yt,En=Mt(We,We+rn-1,Wt,xt,pt);return d.createElement(vt,(0,I.Z)({className:at,index:We,component:"td",prefixCls:Ve,record:null,dataIndex:null,align:Ot,colSpan:rn,rowSpan:Bt,render:function(){return it}},En))}var f=r(43079),C=["children"];function D(Ee){var at=Ee.children,We=(0,f.Z)(Ee,C);return d.createElement("tr",We,at)}function v(Ee){var at=Ee.children;return at}v.Row=D,v.Cell=h;var U=v;function Ne(Ee){var at=Ee.children,We=Ee.stickyOffsets,it=Ee.flattenColumns,mt=O(B,"prefixCls"),yt=it.length-1,Bt=it[yt],Ot=d.useMemo(function(){return{stickyOffsets:We,flattenColumns:it,scrollColumnIndex:Bt!=null&&Bt.scrollbar?yt:null}},[Bt,it,yt,We]);return d.createElement(R.Provider,{value:Ot},d.createElement("tfoot",{className:"".concat(mt,"-summary")},at))}var ot=W(Ne),lt=U,Se=r(29301),Fe=r(24514),Pe=r(75152),Qe=r(26112);function ct(Ee,at,We,it,mt,yt,Bt){Ee.push({record:at,indent:We,index:Bt});var Ot=yt(at),kt=mt==null?void 0:mt.has(Ot);if(at&&Array.isArray(at[it])&&kt)for(var Ve=0;Ve<at[it].length;Ve+=1)ct(Ee,at[it][Ve],We+1,it,mt,yt,Ve)}function Ge(Ee,at,We,it){var mt=d.useMemo(function(){if(We!=null&&We.size){for(var yt=[],Bt=0;Bt<(Ee==null?void 0:Ee.length);Bt+=1){var Ot=Ee[Bt];ct(yt,Ot,0,at,We,it,Bt)}return yt}return Ee==null?void 0:Ee.map(function(kt,Ve){return{record:kt,indent:0,index:Ve}})},[Ee,at,We,it]);return mt}function pe(Ee,at,We,it){var mt=O(B,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),yt=mt.flattenColumns,Bt=mt.expandableType,Ot=mt.expandedKeys,kt=mt.childrenColumnName,Ve=mt.onTriggerExpand,pt=mt.rowExpandable,gt=mt.onRow,ht=mt.expandRowByClick,xt=mt.rowClassName,Wt=Bt==="nest",sn=Bt==="row"&&(!pt||pt(Ee)),rn=sn||Wt,En=Ot&&Ot.has(at),Fn=kt&&Ee&&Ee[kt],vn=(0,Rt.zX)(Ve),jn=gt==null?void 0:gt(Ee,We),Sn=jn==null?void 0:jn.onClick,Er=function(cr){ht&&rn&&Ve(Ee,cr);for(var Sr=arguments.length,nr=new Array(Sr>1?Sr-1:0),sr=1;sr<Sr;sr++)nr[sr-1]=arguments[sr];Sn==null||Sn.apply(void 0,[cr].concat(nr))},vr;typeof xt=="string"?vr=xt:typeof xt=="function"&&(vr=xt(Ee,We,it));var br=M(yt);return(0,fe.Z)((0,fe.Z)({},mt),{},{columnsKey:br,nestExpandable:Wt,expanded:En,hasNestChildren:Fn,record:Ee,onTriggerExpand:vn,rowSupportExpand:sn,expandable:rn,rowProps:(0,fe.Z)((0,fe.Z)({},jn),{},{className:le()(vr,jn==null?void 0:jn.className),onClick:Er})})}function Je(Ee){var at=Ee.prefixCls,We=Ee.children,it=Ee.component,mt=Ee.cellComponent,yt=Ee.className,Bt=Ee.expanded,Ot=Ee.colSpan,kt=Ee.isEmpty,Ve=O(B,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),pt=Ve.scrollbarSize,gt=Ve.fixHeader,ht=Ve.fixColumn,xt=Ve.componentWidth,Wt=Ve.horizonScroll,sn=We;return(kt?Wt&&xt:ht)&&(sn=d.createElement("div",{style:{width:xt-(gt&&!kt?pt:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(at,"-expanded-row-fixed")},sn)),d.createElement(it,{className:yt,style:{display:Bt?null:"none"}},d.createElement(vt,{component:mt,prefixCls:at,colSpan:Ot},sn))}var rt=Je;function $e(Ee){var at=Ee.prefixCls,We=Ee.record,it=Ee.onExpand,mt=Ee.expanded,yt=Ee.expandable,Bt="".concat(at,"-row-expand-icon");if(!yt)return d.createElement("span",{className:le()(Bt,"".concat(at,"-row-spaced"))});var Ot=function(Ve){it(We,Ve),Ve.stopPropagation()};return d.createElement("span",{className:le()(Bt,(0,re.Z)((0,re.Z)({},"".concat(at,"-row-expanded"),mt),"".concat(at,"-row-collapsed"),!mt)),onClick:Ot})}function et(Ee,at,We){var it=[];function mt(yt){(yt||[]).forEach(function(Bt,Ot){it.push(at(Bt,Ot)),mt(Bt[We])})}return mt(Ee),it}function It(Ee,at,We,it){return typeof Ee=="string"?Ee:typeof Ee=="function"?Ee(at,We,it):""}function tt(Ee,at,We,it,mt){var yt=Ee.record,Bt=Ee.prefixCls,Ot=Ee.columnsKey,kt=Ee.fixedInfoList,Ve=Ee.expandIconColumnIndex,pt=Ee.nestExpandable,gt=Ee.indentSize,ht=Ee.expandIcon,xt=Ee.expanded,Wt=Ee.hasNestChildren,sn=Ee.onTriggerExpand,rn=Ot[We],En=kt[We],Fn;We===(Ve||0)&&pt&&(Fn=d.createElement(d.Fragment,null,d.createElement("span",{style:{paddingLeft:"".concat(gt*it,"px")},className:"".concat(Bt,"-row-indent indent-level-").concat(it)}),ht({prefixCls:Bt,expanded:xt,expandable:Wt,record:yt,onExpand:sn})));var vn;return at.onCell&&(vn=at.onCell(yt,mt)),{key:rn,fixedInfo:En,appendCellNode:Fn,additionalCellProps:vn||{}}}function Q(Ee){var at=Ee.className,We=Ee.style,it=Ee.record,mt=Ee.index,yt=Ee.renderIndex,Bt=Ee.rowKey,Ot=Ee.indent,kt=Ot===void 0?0:Ot,Ve=Ee.rowComponent,pt=Ee.cellComponent,gt=Ee.scopeCellComponent,ht=pe(it,Bt,mt,kt),xt=ht.prefixCls,Wt=ht.flattenColumns,sn=ht.expandedRowClassName,rn=ht.expandedRowRender,En=ht.rowProps,Fn=ht.expanded,vn=ht.rowSupportExpand,jn=d.useRef(!1);jn.current||(jn.current=Fn);var Sn=It(sn,it,mt,kt),Er=d.createElement(Ve,(0,I.Z)({},En,{"data-row-key":Bt,className:le()(at,"".concat(xt,"-row"),"".concat(xt,"-row-level-").concat(kt),En==null?void 0:En.className,(0,re.Z)({},Sn,kt>=1)),style:(0,fe.Z)((0,fe.Z)({},We),En==null?void 0:En.style)}),Wt.map(function(Jn,cr){var Sr=Jn.render,nr=Jn.dataIndex,sr=Jn.className,_n=tt(ht,Jn,cr,kt,mt),fn=_n.key,kn=_n.fixedInfo,Wn=_n.appendCellNode,er=_n.additionalCellProps;return d.createElement(vt,(0,I.Z)({className:sr,ellipsis:Jn.ellipsis,align:Jn.align,scope:Jn.rowScope,component:Jn.rowScope?gt:pt,prefixCls:xt,key:fn,record:it,index:mt,renderIndex:yt,dataIndex:nr,render:Sr,shouldCellUpdate:Jn.shouldCellUpdate},kn,{appendNode:Wn,additionalProps:er}))})),vr;if(vn&&(jn.current||Fn)){var br=rn(it,mt,kt+1,Fn);vr=d.createElement(rt,{expanded:Fn,className:le()("".concat(xt,"-expanded-row"),"".concat(xt,"-expanded-row-level-").concat(kt+1),Sn),prefixCls:xt,component:Ve,cellComponent:pt,colSpan:Wt.length,isEmpty:!1},br)}return d.createElement(d.Fragment,null,Er,vr)}var Et=W(Q);function At(Ee){var at=Ee.columnKey,We=Ee.onColumnResize,it=d.useRef();return(0,b.Z)(function(){it.current&&We(at,it.current.offsetWidth)},[]),d.createElement(Se.Z,{data:at},d.createElement("td",{ref:it,style:{padding:0,border:0,height:0}},d.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var ye=r(29194);function Gt(Ee){var at=Ee.prefixCls,We=Ee.columnsKey,it=Ee.onColumnResize,mt=d.useRef(null);return d.createElement("tr",{"aria-hidden":"true",className:"".concat(at,"-measure-row"),style:{height:0,fontSize:0},ref:mt},d.createElement(Se.Z.Collection,{onBatchResize:function(Bt){(0,ye.Z)(mt.current)&&Bt.forEach(function(Ot){var kt=Ot.data,Ve=Ot.size;it(kt,Ve.offsetWidth)})}},We.map(function(yt){return d.createElement(At,{key:yt,columnKey:yt,onColumnResize:it})})))}function tn(Ee){var at=Ee.data,We=Ee.measureColumnWidth,it=O(B,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),mt=it.prefixCls,yt=it.getComponent,Bt=it.onColumnResize,Ot=it.flattenColumns,kt=it.getRowKey,Ve=it.expandedKeys,pt=it.childrenColumnName,gt=it.emptyNode,ht=Ge(at,pt,Ve,kt),xt=d.useRef({renderWithProps:!1}),Wt=yt(["body","wrapper"],"tbody"),sn=yt(["body","row"],"tr"),rn=yt(["body","cell"],"td"),En=yt(["body","cell"],"th"),Fn;at.length?Fn=ht.map(function(jn,Sn){var Er=jn.record,vr=jn.indent,br=jn.index,Jn=kt(Er,Sn);return d.createElement(Et,{key:Jn,rowKey:Jn,record:Er,index:Sn,renderIndex:br,rowComponent:sn,cellComponent:rn,scopeCellComponent:En,indent:vr})}):Fn=d.createElement(rt,{expanded:!0,className:"".concat(mt,"-placeholder"),prefixCls:mt,component:sn,cellComponent:rn,colSpan:Ot.length,isEmpty:!0},gt);var vn=M(Ot);return d.createElement(ke.Provider,{value:xt.current},d.createElement(Wt,{className:"".concat(mt,"-tbody")},We&&d.createElement(Gt,{prefixCls:mt,columnsKey:vn,onColumnResize:Bt}),Fn))}var Xt=W(tn),Ke=r(54451),bn=["columnType"];function cn(Ee){for(var at=Ee.colWidths,We=Ee.columns,it=Ee.columCount,mt=O(B,["tableLayout"]),yt=mt.tableLayout,Bt=[],Ot=it||We.length,kt=!1,Ve=Ot-1;Ve>=0;Ve-=1){var pt=at[Ve],gt=We&&We[Ve],ht=void 0,xt=void 0;if(gt&&(ht=gt[Ke.v],yt==="auto"&&(xt=gt.minWidth)),pt||xt||ht||kt){var Wt=ht||{},sn=Wt.columnType,rn=(0,f.Z)(Wt,bn);Bt.unshift(d.createElement("col",(0,I.Z)({key:Ve,style:{width:pt,minWidth:xt}},rn))),kt=!0}}return d.createElement("colgroup",null,Bt)}var Ht=cn,Kt=r(3300),gn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Vt(Ee,at){return(0,d.useMemo)(function(){for(var We=[],it=0;it<at;it+=1){var mt=Ee[it];if(mt!==void 0)We[it]=mt;else return null}return We},[Ee.join("_"),at])}var Ft=d.forwardRef(function(Ee,at){var We=Ee.className,it=Ee.noData,mt=Ee.columns,yt=Ee.flattenColumns,Bt=Ee.colWidths,Ot=Ee.columCount,kt=Ee.stickyOffsets,Ve=Ee.direction,pt=Ee.fixHeader,gt=Ee.stickyTopOffset,ht=Ee.stickyBottomOffset,xt=Ee.stickyClassName,Wt=Ee.onScroll,sn=Ee.maxContentScroll,rn=Ee.children,En=(0,f.Z)(Ee,gn),Fn=O(B,["prefixCls","scrollbarSize","isSticky","getComponent"]),vn=Fn.prefixCls,jn=Fn.scrollbarSize,Sn=Fn.isSticky,Er=Fn.getComponent,vr=Er(["header","table"],"table"),br=Sn&&!pt?0:jn,Jn=d.useRef(null),cr=d.useCallback(function(er){(0,ie.mH)(at,er),(0,ie.mH)(Jn,er)},[]);d.useEffect(function(){var er;function Ce(dr){var Vr=dr,Ia=Vr.currentTarget,Ra=Vr.deltaX;Ra&&(Wt({currentTarget:Ia,scrollLeft:Ia.scrollLeft+Ra}),dr.preventDefault())}return(er=Jn.current)===null||er===void 0||er.addEventListener("wheel",Ce,{passive:!1}),function(){var dr;(dr=Jn.current)===null||dr===void 0||dr.removeEventListener("wheel",Ce)}},[]);var Sr=d.useMemo(function(){return yt.every(function(er){return er.width})},[yt]),nr=yt[yt.length-1],sr={fixed:nr?nr.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(vn,"-cell-scrollbar")}}},_n=(0,d.useMemo)(function(){return br?[].concat((0,Kt.Z)(mt),[sr]):mt},[br,mt]),fn=(0,d.useMemo)(function(){return br?[].concat((0,Kt.Z)(yt),[sr]):yt},[br,yt]),kn=(0,d.useMemo)(function(){var er=kt.right,Ce=kt.left;return(0,fe.Z)((0,fe.Z)({},kt),{},{left:Ve==="rtl"?[].concat((0,Kt.Z)(Ce.map(function(dr){return dr+br})),[0]):Ce,right:Ve==="rtl"?er:[].concat((0,Kt.Z)(er.map(function(dr){return dr+br})),[0]),isSticky:Sn})},[br,kt,Sn]),Wn=Vt(Bt,Ot);return d.createElement("div",{style:(0,fe.Z)({overflow:"hidden"},Sn?{top:gt,bottom:ht}:{}),ref:cr,className:le()(We,(0,re.Z)({},xt,!!xt))},d.createElement(vr,{style:{tableLayout:"fixed",visibility:it||Wn?null:"hidden"}},(!it||!sn||Sr)&&d.createElement(Ht,{colWidths:Wn?[].concat((0,Kt.Z)(Wn),[br]):[],columCount:Ot+1,columns:fn}),rn((0,fe.Z)((0,fe.Z)({},En),{},{stickyOffsets:kn,columns:_n,flattenColumns:fn}))))}),Lt=d.memo(Ft),Qt=function(at){var We=at.cells,it=at.stickyOffsets,mt=at.flattenColumns,yt=at.rowComponent,Bt=at.cellComponent,Ot=at.onHeaderRow,kt=at.index,Ve=O(B,["prefixCls","direction"]),pt=Ve.prefixCls,gt=Ve.direction,ht;Ot&&(ht=Ot(We.map(function(Wt){return Wt.column}),kt));var xt=M(We.map(function(Wt){return Wt.column}));return d.createElement(yt,ht,We.map(function(Wt,sn){var rn=Wt.column,En=Mt(Wt.colStart,Wt.colEnd,mt,it,gt),Fn;return rn&&rn.onHeaderCell&&(Fn=Wt.column.onHeaderCell(rn)),d.createElement(vt,(0,I.Z)({},Wt,{scope:rn.title?Wt.colSpan>1?"colgroup":"col":null,ellipsis:rn.ellipsis,align:rn.align,component:Bt,prefixCls:pt,key:xt[sn]},En,{additionalProps:Fn,rowType:"header"}))}))},An=Qt;function Dn(Ee){var at=[];function We(Bt,Ot){var kt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;at[kt]=at[kt]||[];var Ve=Ot,pt=Bt.filter(Boolean).map(function(gt){var ht={key:gt.key,className:gt.className||"",children:gt.title,column:gt,colStart:Ve},xt=1,Wt=gt.children;return Wt&&Wt.length>0&&(xt=We(Wt,Ve,kt+1).reduce(function(sn,rn){return sn+rn},0),ht.hasSubColumns=!0),"colSpan"in gt&&(xt=gt.colSpan),"rowSpan"in gt&&(ht.rowSpan=gt.rowSpan),ht.colSpan=xt,ht.colEnd=ht.colStart+xt-1,at[kt].push(ht),Ve+=xt,xt});return pt}We(Ee,0);for(var it=at.length,mt=function(Ot){at[Ot].forEach(function(kt){!("rowSpan"in kt)&&!kt.hasSubColumns&&(kt.rowSpan=it-Ot)})},yt=0;yt<it;yt+=1)mt(yt);return at}var ln=function(at){var We=at.stickyOffsets,it=at.columns,mt=at.flattenColumns,yt=at.onHeaderRow,Bt=O(B,["prefixCls","getComponent"]),Ot=Bt.prefixCls,kt=Bt.getComponent,Ve=d.useMemo(function(){return Dn(it)},[it]),pt=kt(["header","wrapper"],"thead"),gt=kt(["header","row"],"tr"),ht=kt(["header","cell"],"th");return d.createElement(pt,{className:"".concat(Ot,"-thead")},Ve.map(function(xt,Wt){var sn=d.createElement(An,{key:Wt,flattenColumns:mt,cells:xt,stickyOffsets:We,rowComponent:gt,cellComponent:ht,onHeaderRow:yt,index:Wt});return sn}))},Lr=W(ln),Ln=r(97347);function Vn(Ee,at,We){var it=(0,Ke.g)(Ee),mt=it.expandIcon,yt=it.expandedRowKeys,Bt=it.defaultExpandedRowKeys,Ot=it.defaultExpandAllRows,kt=it.expandedRowRender,Ve=it.onExpand,pt=it.onExpandedRowsChange,gt=it.childrenColumnName,ht=mt||$e,xt=gt||"children",Wt=d.useMemo(function(){return kt?"row":Ee.expandable&&Ee.internalHooks===u.R&&Ee.expandable.__PARENT_RENDER_ICON__||at.some(function(Sn){return Sn&&(0,Z.Z)(Sn)==="object"&&Sn[xt]})?"nest":!1},[!!kt,at]),sn=d.useState(function(){return Bt||(Ot?et(at,We,xt):[])}),rn=(0,E.Z)(sn,2),En=rn[0],Fn=rn[1],vn=d.useMemo(function(){return new Set(yt||En||[])},[yt,En]),jn=d.useCallback(function(Sn){var Er=We(Sn,at.indexOf(Sn)),vr,br=vn.has(Er);br?(vn.delete(Er),vr=(0,Kt.Z)(vn)):vr=[].concat((0,Kt.Z)(vn),[Er]),Fn(vr),Ve&&Ve(!br,Sn),pt&&pt(vr)},[We,vn,at,Ve,pt]);return[it,Wt,vn,ht,xt,jn]}function Ar(Ee,at,We){var it=Ee.map(function(mt,yt){return Mt(yt,yt,Ee,at,We)});return(0,ne.Z)(function(){return it},[it],function(mt,yt){return!(0,k.Z)(mt,yt)})}function Ir(Ee){var at=(0,d.useRef)(Ee),We=(0,d.useState)({}),it=(0,E.Z)(We,2),mt=it[1],yt=(0,d.useRef)(null),Bt=(0,d.useRef)([]);function Ot(kt){Bt.current.push(kt);var Ve=Promise.resolve();yt.current=Ve,Ve.then(function(){if(yt.current===Ve){var pt=Bt.current,gt=at.current;Bt.current=[],pt.forEach(function(ht){at.current=ht(at.current)}),yt.current=null,gt!==at.current&&mt({})}})}return(0,d.useEffect)(function(){return function(){yt.current=null}},[]),[at.current,Ot]}function Kn(Ee){var at=(0,d.useRef)(Ee||null),We=(0,d.useRef)();function it(){window.clearTimeout(We.current)}function mt(Bt){at.current=Bt,it(),We.current=window.setTimeout(function(){at.current=null,We.current=void 0},100)}function yt(){return at.current}return(0,d.useEffect)(function(){return it},[]),[mt,yt]}function Cn(){var Ee=d.useState(-1),at=(0,E.Z)(Ee,2),We=at[0],it=at[1],mt=d.useState(-1),yt=(0,E.Z)(mt,2),Bt=yt[0],Ot=yt[1],kt=d.useCallback(function(Ve,pt){it(Ve),Ot(pt)},[]);return[We,Bt,kt]}var Mn=r(47273),zn=(0,Mn.Z)()?window:null;function $t(Ee,at){var We=(0,Z.Z)(Ee)==="object"?Ee:{},it=We.offsetHeader,mt=it===void 0?0:it,yt=We.offsetSummary,Bt=yt===void 0?0:yt,Ot=We.offsetScroll,kt=Ot===void 0?0:Ot,Ve=We.getContainer,pt=Ve===void 0?function(){return zn}:Ve,gt=pt()||zn,ht=!!Ee;return d.useMemo(function(){return{isSticky:ht,stickyClassName:ht?"".concat(at,"-sticky-holder"):"",offsetHeader:mt,offsetSummary:Bt,offsetScroll:kt,container:gt}},[ht,kt,mt,Bt,at,gt])}function On(Ee,at,We){var it=(0,d.useMemo)(function(){var mt=at.length,yt=function(Ve,pt,gt){for(var ht=[],xt=0,Wt=Ve;Wt!==pt;Wt+=gt)ht.push(xt),at[Wt].fixed&&(xt+=Ee[Wt]||0);return ht},Bt=yt(0,mt,1),Ot=yt(mt-1,-1,-1).reverse();return We==="rtl"?{left:Ot,right:Bt}:{left:Bt,right:Ot}},[Ee,at,We]);return it}var Or=On;function Mr(Ee){var at=Ee.className,We=Ee.children;return d.createElement("div",{className:at},We)}var De=Mr,Le=r(8224),Pt=r(16089),wt=r(76846);function me(Ee){var at=(0,wt.bn)(Ee),We=at.getBoundingClientRect(),it=document.documentElement;return{left:We.left+(window.pageXOffset||it.scrollLeft)-(it.clientLeft||document.body.clientLeft||0),top:We.top+(window.pageYOffset||it.scrollTop)-(it.clientTop||document.body.clientTop||0)}}var St=function(at,We){var it,mt,yt=at.scrollBodyRef,Bt=at.onScroll,Ot=at.offsetScroll,kt=at.container,Ve=at.direction,pt=O(B,"prefixCls"),gt=((it=yt.current)===null||it===void 0?void 0:it.scrollWidth)||0,ht=((mt=yt.current)===null||mt===void 0?void 0:mt.clientWidth)||0,xt=gt&&ht*(ht/gt),Wt=d.useRef(),sn=Ir({scrollLeft:0,isHiddenScrollBar:!0}),rn=(0,E.Z)(sn,2),En=rn[0],Fn=rn[1],vn=d.useRef({delta:0,x:0}),jn=d.useState(!1),Sn=(0,E.Z)(jn,2),Er=Sn[0],vr=Sn[1],br=d.useRef(null);d.useEffect(function(){return function(){Pt.Z.cancel(br.current)}},[]);var Jn=function(){vr(!1)},cr=function(fn){fn.persist(),vn.current.delta=fn.pageX-En.scrollLeft,vn.current.x=0,vr(!0),fn.preventDefault()},Sr=function(fn){var kn,Wn=fn||((kn=window)===null||kn===void 0?void 0:kn.event),er=Wn.buttons;if(!Er||er===0){Er&&vr(!1);return}var Ce=vn.current.x+fn.pageX-vn.current.x-vn.current.delta,dr=Ve==="rtl";Ce=Math.max(dr?xt-ht:0,Math.min(dr?0:ht-xt,Ce));var Vr=!dr||Math.abs(Ce)+Math.abs(xt)<ht;Vr&&(Bt({scrollLeft:Ce/ht*(gt+2)}),vn.current.x=fn.pageX)},nr=function(){Pt.Z.cancel(br.current),br.current=(0,Pt.Z)(function(){if(yt.current){var fn=me(yt.current).top,kn=fn+yt.current.offsetHeight,Wn=kt===window?document.documentElement.scrollTop+window.innerHeight:me(kt).top+kt.clientHeight;kn-(0,Pe.Z)()<=Wn||fn>=Wn-Ot?Fn(function(er){return(0,fe.Z)((0,fe.Z)({},er),{},{isHiddenScrollBar:!0})}):Fn(function(er){return(0,fe.Z)((0,fe.Z)({},er),{},{isHiddenScrollBar:!1})})}})},sr=function(fn){Fn(function(kn){return(0,fe.Z)((0,fe.Z)({},kn),{},{scrollLeft:fn/gt*ht||0})})};return d.useImperativeHandle(We,function(){return{setScrollLeft:sr,checkScrollBarVisible:nr}}),d.useEffect(function(){var _n=(0,Le.Z)(document.body,"mouseup",Jn,!1),fn=(0,Le.Z)(document.body,"mousemove",Sr,!1);return nr(),function(){_n.remove(),fn.remove()}},[xt,Er]),d.useEffect(function(){if(yt.current){for(var _n=[],fn=(0,wt.bn)(yt.current);fn;)_n.push(fn),fn=fn.parentElement;return _n.forEach(function(kn){return kn.addEventListener("scroll",nr,!1)}),window.addEventListener("resize",nr,!1),window.addEventListener("scroll",nr,!1),kt.addEventListener("scroll",nr,!1),function(){_n.forEach(function(kn){return kn.removeEventListener("scroll",nr)}),window.removeEventListener("resize",nr),window.removeEventListener("scroll",nr),kt.removeEventListener("scroll",nr)}}},[kt]),d.useEffect(function(){En.isHiddenScrollBar||Fn(function(_n){var fn=yt.current;return fn?(0,fe.Z)((0,fe.Z)({},_n),{},{scrollLeft:fn.scrollLeft/fn.scrollWidth*fn.clientWidth}):_n})},[En.isHiddenScrollBar]),gt<=ht||!xt||En.isHiddenScrollBar?null:d.createElement("div",{style:{height:(0,Pe.Z)(),width:ht,bottom:Ot},className:"".concat(pt,"-sticky-scroll")},d.createElement("div",{onMouseDown:cr,ref:Wt,className:le()("".concat(pt,"-sticky-scroll-bar"),(0,re.Z)({},"".concat(pt,"-sticky-scroll-bar-active"),Er)),style:{width:"".concat(xt,"px"),transform:"translate3d(".concat(En.scrollLeft,"px, 0, 0)")}}))},_t=d.forwardRef(St);function Te(Ee){return null}var g=Te;function Yt(Ee){return null}var Jt=Yt,ze="rc-table",yn=[],jt={};function dn(){return"No Data"}function nn(Ee,at){var We=(0,fe.Z)({rowKey:"key",prefixCls:ze,emptyText:dn},Ee),it=We.prefixCls,mt=We.className,yt=We.rowClassName,Bt=We.style,Ot=We.data,kt=We.rowKey,Ve=We.scroll,pt=We.tableLayout,gt=We.direction,ht=We.title,xt=We.footer,Wt=We.summary,sn=We.caption,rn=We.id,En=We.showHeader,Fn=We.components,vn=We.emptyText,jn=We.onRow,Sn=We.onHeaderRow,Er=We.onScroll,vr=We.internalHooks,br=We.transformColumns,Jn=We.internalRefs,cr=We.tailor,Sr=We.getContainerWidth,nr=We.sticky,sr=We.rowHoverable,_n=sr===void 0?!0:sr,fn=Ot||yn,kn=!!fn.length,Wn=vr===u.R,er=d.useCallback(function(Tr,Cr){return(0,ge.Z)(Fn,Tr)||Cr},[Fn]),Ce=d.useMemo(function(){return typeof kt=="function"?kt:function(Tr){var Cr=Tr&&Tr[kt];return Cr}},[kt]),dr=er(["body"]),Vr=Cn(),Ia=(0,E.Z)(Vr,3),Ra=Ia[0],hi=Ia[1],Pa=Ia[2],qr=Vn(We,fn,Ce),Kr=(0,E.Z)(qr,6),jr=Kr[0],Ta=Kr[1],Xr=Kr[2],ea=Kr[3],ta=Kr[4],Tn=Kr[5],Gn=Ve==null?void 0:Ve.x,$n=d.useState(0),Un=(0,E.Z)($n,2),Nr=Un[0],Zr=Un[1],Aa=(0,Ln.Z)((0,fe.Z)((0,fe.Z)((0,fe.Z)({},We),jr),{},{expandable:!!jr.expandedRowRender,columnTitle:jr.columnTitle,expandedKeys:Xr,getRowKey:Ce,onTriggerExpand:Tn,expandIcon:ea,expandIconColumnIndex:jr.expandIconColumnIndex,direction:gt,scrollWidth:Wn&&cr&&typeof Gn=="number"?Gn:null,clientWidth:Nr}),Wn?br:null),la=(0,E.Z)(Aa,4),ua=la[0],Qn=la[1],Dr=la[2],za=la[3],Ur=Dr!=null?Dr:Gn,Fa=d.useMemo(function(){return{columns:ua,flattenColumns:Qn}},[ua,Qn]),$a=d.useRef(),Ba=d.useRef(),aa=d.useRef(),Si=d.useRef();d.useImperativeHandle(at,function(){return{nativeElement:$a.current,scrollTo:function(Cr){var ba;if(aa.current instanceof HTMLElement){var ka=Cr.index,Ea=Cr.top,ci=Cr.key;if(xe(Ea)){var di;(di=aa.current)===null||di===void 0||di.scrollTo({top:Ea})}else{var fi,Ja=ci!=null?ci:Ce(fn[ka]);(fi=aa.current.querySelector('[data-row-key="'.concat(Ja,'"]')))===null||fi===void 0||fi.scrollIntoView()}}else(ba=aa.current)!==null&&ba!==void 0&&ba.scrollTo&&aa.current.scrollTo(Cr)}}});var co=d.useRef(),Va=d.useState(!1),ii=(0,E.Z)(Va,2),Ka=ii[0],Ui=ii[1],yo=d.useState(!1),Eo=(0,E.Z)(yo,2),So=Eo[0],Ji=Eo[1],fo=d.useState(new Map),eo=(0,E.Z)(fo,2),$i=eo[0],to=eo[1],To=M(Qn),no=To.map(function(Tr){return $i.get(Tr)}),Vi=d.useMemo(function(){return no},[no.join("_")]),Ki=Or(Vi,Qn,gt),Ua=Ve&&L(Ve.y),fa=Ve&&L(Ur)||!!jr.fixed,wr=fa&&Qn.some(function(Tr){var Cr=Tr.fixed;return Cr}),rr=d.useRef(),pa=$t(nr,it),ha=pa.isSticky,va=pa.offsetHeader,Ca=pa.offsetSummary,gi=pa.offsetScroll,oi=pa.stickyClassName,Ii=pa.container,ca=d.useMemo(function(){return Wt==null?void 0:Wt(fn)},[Wt,fn]),xa=(Ua||ha)&&d.isValidElement(ca)&&ca.type===U&&ca.props.fixed,Qa,si,po;Ua&&(si={overflowY:kn?"scroll":"auto",maxHeight:Ve.y}),fa&&(Qa={overflowX:"auto"},Ua||(si={overflowY:"hidden"}),po={width:Ur===!0?"auto":Ur,minWidth:"100%"});var Ro=d.useCallback(function(Tr,Cr){to(function(ba){if(ba.get(Tr)!==Cr){var ka=new Map(ba);return ka.set(Tr,Cr),ka}return ba})},[]),Lo=Kn(null),mi=(0,E.Z)(Lo,2),Ti=mi[0],Qr=mi[1];function bi(Tr,Cr){Cr&&(typeof Cr=="function"?Cr(Tr):Cr.scrollLeft!==Tr&&(Cr.scrollLeft=Tr,Cr.scrollLeft!==Tr&&setTimeout(function(){Cr.scrollLeft=Tr},0)))}var qa=(0,m.Z)(function(Tr){var Cr=Tr.currentTarget,ba=Tr.scrollLeft,ka=gt==="rtl",Ea=typeof ba=="number"?ba:Cr.scrollLeft,ci=Cr||jt;if(!Qr()||Qr()===ci){var di;Ti(ci),bi(Ea,Ba.current),bi(Ea,aa.current),bi(Ea,co.current),bi(Ea,(di=rr.current)===null||di===void 0?void 0:di.setScrollLeft)}var fi=Cr||Ba.current;if(fi){var Ja=Wn&&cr&&typeof Ur=="number"?Ur:fi.scrollWidth,Ai=fi.clientWidth;if(Ja===Ai){Ui(!1),Ji(!1);return}ka?(Ui(-Ea<Ja-Ai),Ji(-Ea>0)):(Ui(Ea>0),Ji(Ea<Ja-Ai))}}),Co=(0,m.Z)(function(Tr){qa(Tr),Er==null||Er(Tr)}),zo=function(){if(fa&&aa.current){var Cr;qa({currentTarget:(0,wt.bn)(aa.current),scrollLeft:(Cr=aa.current)===null||Cr===void 0?void 0:Cr.scrollLeft})}else Ui(!1),Ji(!1)},Go=function(Cr){var ba,ka=Cr.width;(ba=rr.current)===null||ba===void 0||ba.checkScrollBarVisible();var Ea=$a.current?$a.current.offsetWidth:ka;Wn&&Sr&&$a.current&&(Ea=Sr($a.current,Ea)||Ea),Ea!==Nr&&(zo(),Zr(Ea))},ji=d.useRef(!1);d.useEffect(function(){ji.current&&zo()},[fa,Ot,ua.length]),d.useEffect(function(){ji.current=!0},[]);var Oo=d.useState(0),_o=(0,E.Z)(Oo,2),Hi=_o[0],xo=_o[1],ro=d.useState(!0),ao=(0,E.Z)(ro,2),Ao=ao[0],li=ao[1];(0,b.Z)(function(){(!cr||!Wn)&&(aa.current instanceof Element?xo((0,Pe.o)(aa.current).width):xo((0,Pe.o)(Si.current).width)),li((0,Fe.G)("position","sticky"))},[]),d.useEffect(function(){Wn&&Jn&&(Jn.body.current=aa.current)});var io=d.useCallback(function(Tr){return d.createElement(d.Fragment,null,d.createElement(Lr,Tr),xa==="top"&&d.createElement(ot,Tr,ca))},[xa,ca]),oo=d.useCallback(function(Tr){return d.createElement(ot,Tr,ca)},[ca]),Do=er(["table"],"table"),Yi=d.useMemo(function(){return pt||(wr?Ur==="max-content"?"auto":"fixed":Ua||ha||Qn.some(function(Tr){var Cr=Tr.ellipsis;return Cr})?"fixed":"auto")},[Ua,wr,Qn,pt,ha]),Mo,Po={colWidths:Vi,columCount:Qn.length,stickyOffsets:Ki,onHeaderRow:Sn,fixHeader:Ua,scroll:Ve},so=d.useMemo(function(){return kn?null:typeof vn=="function"?vn():vn},[kn,vn]),ko=d.createElement(Xt,{data:fn,measureColumnWidth:Ua||fa||ha}),wo=d.createElement(Ht,{colWidths:Qn.map(function(Tr){var Cr=Tr.width;return Cr}),columns:Qn}),Ri=sn!=null?d.createElement("caption",{className:"".concat(it,"-caption")},sn):void 0,Ci=(0,Qe.Z)(We,{data:!0}),lo=(0,Qe.Z)(We,{aria:!0});if(Ua||ha){var ui;typeof dr=="function"?(ui=dr(fn,{scrollbarSize:Hi,ref:aa,onScroll:qa}),Po.colWidths=Qn.map(function(Tr,Cr){var ba=Tr.width,ka=Cr===Qn.length-1?ba-Hi:ba;return typeof ka=="number"&&!Number.isNaN(ka)?ka:0})):ui=d.createElement("div",{style:(0,fe.Z)((0,fe.Z)({},Qa),si),onScroll:Co,ref:aa,className:le()("".concat(it,"-body"))},d.createElement(Do,(0,I.Z)({style:(0,fe.Z)((0,fe.Z)({},po),{},{tableLayout:Yi})},lo),Ri,wo,ko,!xa&&ca&&d.createElement(ot,{stickyOffsets:Ki,flattenColumns:Qn},ca)));var ho=(0,fe.Z)((0,fe.Z)((0,fe.Z)({noData:!fn.length,maxContentScroll:fa&&Ur==="max-content"},Po),Fa),{},{direction:gt,stickyClassName:oi,onScroll:qa});Mo=d.createElement(d.Fragment,null,En!==!1&&d.createElement(Lt,(0,I.Z)({},ho,{stickyTopOffset:va,className:"".concat(it,"-header"),ref:Ba}),io),ui,xa&&xa!=="top"&&d.createElement(Lt,(0,I.Z)({},ho,{stickyBottomOffset:Ca,className:"".concat(it,"-summary"),ref:co}),oo),ha&&aa.current&&aa.current instanceof Element&&d.createElement(_t,{ref:rr,offsetScroll:gi,scrollBodyRef:aa,onScroll:qa,container:Ii,direction:gt}))}else Mo=d.createElement("div",{style:(0,fe.Z)((0,fe.Z)({},Qa),si),className:le()("".concat(it,"-content")),onScroll:qa,ref:aa},d.createElement(Do,(0,I.Z)({style:(0,fe.Z)((0,fe.Z)({},po),{},{tableLayout:Yi})},lo),Ri,wo,En!==!1&&d.createElement(Lr,(0,I.Z)({},Po,Fa)),ko,ca&&d.createElement(ot,{stickyOffsets:Ki,flattenColumns:Qn},ca)));var xi=d.createElement("div",(0,I.Z)({className:le()(it,mt,(0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)({},"".concat(it,"-rtl"),gt==="rtl"),"".concat(it,"-ping-left"),Ka),"".concat(it,"-ping-right"),So),"".concat(it,"-layout-fixed"),pt==="fixed"),"".concat(it,"-fixed-header"),Ua),"".concat(it,"-fixed-column"),wr),"".concat(it,"-fixed-column-gapped"),wr&&za),"".concat(it,"-scroll-horizontal"),fa),"".concat(it,"-has-fix-left"),Qn[0]&&Qn[0].fixed),"".concat(it,"-has-fix-right"),Qn[Qn.length-1]&&Qn[Qn.length-1].fixed==="right")),style:Bt,id:rn,ref:$a},Ci),ht&&d.createElement(De,{className:"".concat(it,"-title")},ht(fn)),d.createElement("div",{ref:Si,className:"".concat(it,"-container")},Mo),xt&&d.createElement(De,{className:"".concat(it,"-footer")},xt(fn)));fa&&(xi=d.createElement(Se.Z,{onResize:Go},xi));var Li=Ar(Qn,Ki,gt),Oi=d.useMemo(function(){return{scrollX:Ur,prefixCls:it,getComponent:er,scrollbarSize:Hi,direction:gt,fixedInfoList:Li,isSticky:ha,supportSticky:Ao,componentWidth:Nr,fixHeader:Ua,fixColumn:wr,horizonScroll:fa,tableLayout:Yi,rowClassName:yt,expandedRowClassName:jr.expandedRowClassName,expandIcon:ea,expandableType:Ta,expandRowByClick:jr.expandRowByClick,expandedRowRender:jr.expandedRowRender,onTriggerExpand:Tn,expandIconColumnIndex:jr.expandIconColumnIndex,indentSize:jr.indentSize,allColumnsFixedLeft:Qn.every(function(Tr){return Tr.fixed==="left"}),emptyNode:so,columns:ua,flattenColumns:Qn,onColumnResize:Ro,hoverStartRow:Ra,hoverEndRow:hi,onHover:Pa,rowExpandable:jr.rowExpandable,onRow:jn,getRowKey:Ce,expandedKeys:Xr,childrenColumnName:ta,rowHoverable:_n}},[Ur,it,er,Hi,gt,Li,ha,Ao,Nr,Ua,wr,fa,Yi,yt,jr.expandedRowClassName,ea,Ta,jr.expandRowByClick,jr.expandedRowRender,Tn,jr.expandIconColumnIndex,jr.indentSize,so,ua,Qn,Ro,Ra,hi,Pa,jr.rowExpandable,jn,Ce,Xr,ta,_n]);return d.createElement(B.Provider,{value:Oi},xi)}var he=d.forwardRef(nn);function mn(Ee){return q(he,Ee)}var lr=mn();lr.EXPAND_COLUMN=u.w,lr.INTERNAL_HOOKS=u.R,lr.Column=g,lr.ColumnGroup=Jt,lr.Summary=lt;var ur=lr,fr=r(6790),pr=H(null),Zn=H(null);function hr(Ee,at,We){var it=at||1;return We[Ee+it]-(We[Ee]||0)}function _r(Ee){var at=Ee.rowInfo,We=Ee.column,it=Ee.colIndex,mt=Ee.indent,yt=Ee.index,Bt=Ee.component,Ot=Ee.renderIndex,kt=Ee.record,Ve=Ee.style,pt=Ee.className,gt=Ee.inverse,ht=Ee.getHeight,xt=We.render,Wt=We.dataIndex,sn=We.className,rn=We.width,En=O(Zn,["columnsOffset"]),Fn=En.columnsOffset,vn=tt(at,We,it,mt,yt),jn=vn.key,Sn=vn.fixedInfo,Er=vn.appendCellNode,vr=vn.additionalCellProps,br=vr.style,Jn=vr.colSpan,cr=Jn===void 0?1:Jn,Sr=vr.rowSpan,nr=Sr===void 0?1:Sr,sr=it-1,_n=hr(sr,cr,Fn),fn=cr>1?rn-_n:0,kn=(0,fe.Z)((0,fe.Z)((0,fe.Z)({},br),Ve),{},{flex:"0 0 ".concat(_n,"px"),width:"".concat(_n,"px"),marginRight:fn,pointerEvents:"auto"}),Wn=d.useMemo(function(){return gt?nr<=1:cr===0||nr===0||nr>1},[nr,cr,gt]);Wn?kn.visibility="hidden":gt&&(kn.height=ht==null?void 0:ht(nr));var er=Wn?function(){return null}:xt,Ce={};return(nr===0||cr===0)&&(Ce.rowSpan=1,Ce.colSpan=1),d.createElement(vt,(0,I.Z)({className:le()(sn,pt),ellipsis:We.ellipsis,align:We.align,scope:We.rowScope,component:Bt,prefixCls:at.prefixCls,key:jn,record:kt,index:yt,renderIndex:Ot,dataIndex:Wt,render:er,shouldCellUpdate:We.shouldCellUpdate},Sn,{appendNode:Er,additionalProps:(0,fe.Z)((0,fe.Z)({},vr),{},{style:kn},Ce)}))}var kr=_r,Rr=["data","index","className","rowKey","style","extra","getHeight"],zr=d.forwardRef(function(Ee,at){var We=Ee.data,it=Ee.index,mt=Ee.className,yt=Ee.rowKey,Bt=Ee.style,Ot=Ee.extra,kt=Ee.getHeight,Ve=(0,f.Z)(Ee,Rr),pt=We.record,gt=We.indent,ht=We.index,xt=O(B,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Wt=xt.scrollX,sn=xt.flattenColumns,rn=xt.prefixCls,En=xt.fixColumn,Fn=xt.componentWidth,vn=O(pr,["getComponent"]),jn=vn.getComponent,Sn=pe(pt,yt,it,gt),Er=jn(["body","row"],"div"),vr=jn(["body","cell"],"div"),br=Sn.rowSupportExpand,Jn=Sn.expanded,cr=Sn.rowProps,Sr=Sn.expandedRowRender,nr=Sn.expandedRowClassName,sr;if(br&&Jn){var _n=Sr(pt,it,gt+1,Jn),fn=It(nr,pt,it,gt),kn={};En&&(kn={style:(0,re.Z)({},"--virtual-width","".concat(Fn,"px"))});var Wn="".concat(rn,"-expanded-row-cell");sr=d.createElement(Er,{className:le()("".concat(rn,"-expanded-row"),"".concat(rn,"-expanded-row-level-").concat(gt+1),fn)},d.createElement(vt,{component:vr,prefixCls:rn,className:le()(Wn,(0,re.Z)({},"".concat(Wn,"-fixed"),En)),additionalProps:kn},_n))}var er=(0,fe.Z)((0,fe.Z)({},Bt),{},{width:Wt});Ot&&(er.position="absolute",er.pointerEvents="none");var Ce=d.createElement(Er,(0,I.Z)({},cr,Ve,{"data-row-key":yt,ref:br?null:at,className:le()(mt,"".concat(rn,"-row"),cr==null?void 0:cr.className,(0,re.Z)({},"".concat(rn,"-row-extra"),Ot)),style:(0,fe.Z)((0,fe.Z)({},er),cr==null?void 0:cr.style)}),sn.map(function(dr,Vr){return d.createElement(kr,{key:Vr,component:vr,rowInfo:Sn,column:dr,colIndex:Vr,indent:gt,index:it,renderIndex:ht,record:pt,inverse:Ot,getHeight:kt})}));return br?d.createElement("div",{ref:at},Ce,sr):Ce}),Br=W(zr),gr=Br,Gr=d.forwardRef(function(Ee,at){var We=Ee.data,it=Ee.onScroll,mt=O(B,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),yt=mt.flattenColumns,Bt=mt.onColumnResize,Ot=mt.getRowKey,kt=mt.expandedKeys,Ve=mt.prefixCls,pt=mt.childrenColumnName,gt=mt.scrollX,ht=mt.direction,xt=O(pr),Wt=xt.sticky,sn=xt.scrollY,rn=xt.listItemHeight,En=xt.getComponent,Fn=xt.onScroll,vn=d.useRef(),jn=Ge(We,pt,kt,Ot),Sn=d.useMemo(function(){var sr=0;return yt.map(function(_n){var fn=_n.width,kn=_n.key;return sr+=fn,[kn,fn,sr]})},[yt]),Er=d.useMemo(function(){return Sn.map(function(sr){return sr[2]})},[Sn]);d.useEffect(function(){Sn.forEach(function(sr){var _n=(0,E.Z)(sr,2),fn=_n[0],kn=_n[1];Bt(fn,kn)})},[Sn]),d.useImperativeHandle(at,function(){var sr,_n={scrollTo:function(kn){var Wn;(Wn=vn.current)===null||Wn===void 0||Wn.scrollTo(kn)},nativeElement:(sr=vn.current)===null||sr===void 0?void 0:sr.nativeElement};return Object.defineProperty(_n,"scrollLeft",{get:function(){var kn;return((kn=vn.current)===null||kn===void 0?void 0:kn.getScrollInfo().x)||0},set:function(kn){var Wn;(Wn=vn.current)===null||Wn===void 0||Wn.scrollTo({left:kn})}}),_n});var vr=function(_n,fn){var kn,Wn=(kn=jn[fn])===null||kn===void 0?void 0:kn.record,er=_n.onCell;if(er){var Ce,dr=er(Wn,fn);return(Ce=dr==null?void 0:dr.rowSpan)!==null&&Ce!==void 0?Ce:1}return 1},br=function(_n){var fn=_n.start,kn=_n.end,Wn=_n.getSize,er=_n.offsetY;if(kn<0)return null;for(var Ce=yt.filter(function(ea){return vr(ea,fn)===0}),dr=fn,Vr=function(ta){if(Ce=Ce.filter(function(Tn){return vr(Tn,ta)===0}),!Ce.length)return dr=ta,1},Ia=fn;Ia>=0&&!Vr(Ia);Ia-=1);for(var Ra=yt.filter(function(ea){return vr(ea,kn)!==1}),hi=kn,Pa=function(ta){if(Ra=Ra.filter(function(Tn){return vr(Tn,ta)!==1}),!Ra.length)return hi=Math.max(ta-1,kn),1},qr=kn;qr<jn.length&&!Pa(qr);qr+=1);for(var Kr=[],jr=function(ta){var Tn=jn[ta];if(!Tn)return 1;yt.some(function(Gn){return vr(Gn,ta)>1})&&Kr.push(ta)},Ta=dr;Ta<=hi;Ta+=1)jr(Ta);var Xr=Kr.map(function(ea){var ta=jn[ea],Tn=Ot(ta.record,ea),Gn=function(Nr){var Zr=ea+Nr-1,Aa=Ot(jn[Zr].record,Zr),la=Wn(Tn,Aa);return la.bottom-la.top},$n=Wn(Tn);return d.createElement(gr,{key:ea,data:ta,rowKey:Tn,index:ea,style:{top:-er+$n.top},extra:!0,getHeight:Gn})});return Xr},Jn=d.useMemo(function(){return{columnsOffset:Er}},[Er]),cr="".concat(Ve,"-tbody"),Sr=En(["body","wrapper"]),nr={};return Wt&&(nr.position="sticky",nr.bottom=0,(0,Z.Z)(Wt)==="object"&&Wt.offsetScroll&&(nr.bottom=Wt.offsetScroll)),d.createElement(Zn.Provider,{value:Jn},d.createElement(fr.Z,{fullHeight:!1,ref:vn,prefixCls:"".concat(cr,"-virtual"),styles:{horizontalScrollBar:nr},className:cr,height:sn,itemHeight:rn||24,data:jn,itemKey:function(_n){return Ot(_n.record)},component:Sr,scrollWidth:gt,direction:ht,onVirtualScroll:function(_n){var fn,kn=_n.x;it({currentTarget:(fn=vn.current)===null||fn===void 0?void 0:fn.nativeElement,scrollLeft:kn})},onScroll:Fn,extraRender:br},function(sr,_n,fn){var kn=Ot(sr.record,_n);return d.createElement(gr,{data:sr,rowKey:kn,index:_n,style:fn.style})}))}),Wr=W(Gr),un=Wr,Rn=function(at,We){var it=We.ref,mt=We.onScroll;return d.createElement(un,{ref:it,data:at,onScroll:mt})};function Pn(Ee,at){var We=Ee.data,it=Ee.columns,mt=Ee.scroll,yt=Ee.sticky,Bt=Ee.prefixCls,Ot=Bt===void 0?ze:Bt,kt=Ee.className,Ve=Ee.listItemHeight,pt=Ee.components,gt=Ee.onScroll,ht=mt||{},xt=ht.x,Wt=ht.y;typeof xt!="number"&&(xt=1),typeof Wt!="number"&&(Wt=500);var sn=(0,Rt.zX)(function(Fn,vn){return(0,ge.Z)(pt,Fn)||vn}),rn=(0,Rt.zX)(gt),En=d.useMemo(function(){return{sticky:yt,scrollY:Wt,listItemHeight:Ve,getComponent:sn,onScroll:rn}},[yt,Wt,Ve,sn,rn]);return d.createElement(pr.Provider,{value:En},d.createElement(ur,(0,I.Z)({},Ee,{className:le()(kt,"".concat(Ot,"-virtual")),scroll:(0,fe.Z)((0,fe.Z)({},mt),{},{x:xt}),components:(0,fe.Z)((0,fe.Z)({},pt),{},{body:We!=null&&We.length?Rn:void 0}),columns:it,internalHooks:u.R,tailor:!0,ref:at})))}var or=d.forwardRef(Pn);function mr(Ee){return q(or,Ee)}var Pr=mr(),sa=null},54451:function(x,c,r){"use strict";r.d(c,{g:function(){return d},v:function(){return k}});var u=r(27247),E=r(43079),m=r(48736),b=["expandable"],k="RC_TABLE_INTERNAL_COL_DEFINE";function d(N){var H=N.expandable,O=(0,E.Z)(N,b),I;return"expandable"in N?I=(0,u.Z)((0,u.Z)({},O),H):I=O,I.showExpandColumn===!1&&(I.expandIconColumnIndex=-1),I}},22711:function(x,c,r){"use strict";r.r(c),r.d(c,{ResizableTextArea:function(){return V},default:function(){return Re}});var u=r(32855),E=r(74430),m=r(27247),b=r(3300),k=r(11913),d=r(43079),N=r(92310),H=r.n(N),O=r(36901),I=r(66003),ie=r(30292),G=r(18929),be=r(59301),ce=r(34666),ue=r(29301),te=r(34280),X=r(16089),q=`
min-height:0 !important;
max-height:none !important;
height:0 !important;
visibility:hidden !important;
overflow:hidden !important;
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
pointer-events: none !important;
`,W=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],Y={},P;function B(Ie){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Be=Ie.getAttribute("id")||Ie.getAttribute("data-reactid")||Ie.getAttribute("name");if(ke&&Y[Be])return Y[Be];var oe=window.getComputedStyle(Ie),M=oe.getPropertyValue("box-sizing")||oe.getPropertyValue("-moz-box-sizing")||oe.getPropertyValue("-webkit-box-sizing"),L=parseFloat(oe.getPropertyValue("padding-bottom"))+parseFloat(oe.getPropertyValue("padding-top")),xe=parseFloat(oe.getPropertyValue("border-bottom-width"))+parseFloat(oe.getPropertyValue("border-top-width")),Me=W.map(function(Tt){return"".concat(Tt,":").concat(oe.getPropertyValue(Tt))}).join(";"),we={sizingStyle:Me,paddingSize:L,borderSize:xe,boxSizing:M};return ke&&Be&&(Y[Be]=we),we}function _(Ie){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,oe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;P||(P=document.createElement("textarea"),P.setAttribute("tab-index","-1"),P.setAttribute("aria-hidden","true"),P.setAttribute("name","hiddenTextarea"),document.body.appendChild(P)),Ie.getAttribute("wrap")?P.setAttribute("wrap",Ie.getAttribute("wrap")):P.removeAttribute("wrap");var M=B(Ie,ke),L=M.paddingSize,xe=M.borderSize,Me=M.boxSizing,we=M.sizingStyle;P.setAttribute("style","".concat(we,";").concat(q)),P.value=Ie.value||Ie.placeholder||"";var Tt=void 0,ut=void 0,Rt,He=P.scrollHeight;if(Me==="border-box"?He+=xe:Me==="content-box"&&(He-=L),Be!==null||oe!==null){P.value=" ";var bt=P.scrollHeight-L;Be!==null&&(Tt=bt*Be,Me==="border-box"&&(Tt=Tt+L+xe),He=Math.max(Tt,He)),oe!==null&&(ut=bt*oe,Me==="border-box"&&(ut=ut+L+xe),Rt=He>ut?"":"hidden",He=Math.min(ut,He))}var vt={height:He,overflowY:Rt,resize:"none"};return Tt&&(vt.minHeight=Tt),ut&&(vt.maxHeight=ut),vt}var ee=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],de=0,Z=1,fe=2,re=be.forwardRef(function(Ie,ke){var Be=Ie,oe=Be.prefixCls,M=Be.defaultValue,L=Be.value,xe=Be.autoSize,Me=Be.onResize,we=Be.className,Tt=Be.style,ut=Be.disabled,Rt=Be.onChange,He=Be.onInternalAutoSize,bt=(0,d.Z)(Be,ee),vt=(0,G.Z)(M,{value:L,postState:function(Et){return Et!=null?Et:""}}),Mt=(0,k.Z)(vt,2),Ut=Mt[0],R=Mt[1],h=function(Et){R(Et.target.value),Rt==null||Rt(Et)},f=be.useRef();be.useImperativeHandle(ke,function(){return{textArea:f.current}});var C=be.useMemo(function(){return xe&&(0,ce.Z)(xe)==="object"?[xe.minRows,xe.maxRows]:[]},[xe]),D=(0,k.Z)(C,2),v=D[0],U=D[1],Ne=!!xe,ot=function(){try{if(document.activeElement===f.current){var Et=f.current,At=Et.selectionStart,ye=Et.selectionEnd,Gt=Et.scrollTop;f.current.setSelectionRange(At,ye),f.current.scrollTop=Gt}}catch(tn){}},lt=be.useState(fe),Se=(0,k.Z)(lt,2),Fe=Se[0],Pe=Se[1],Qe=be.useState(),ct=(0,k.Z)(Qe,2),Ge=ct[0],pe=ct[1],Je=function(){Pe(de)};(0,te.Z)(function(){Ne&&Je()},[L,v,U,Ne]),(0,te.Z)(function(){if(Fe===de)Pe(Z);else if(Fe===Z){var Q=_(f.current,!1,v,U);Pe(fe),pe(Q)}else ot()},[Fe]);var rt=be.useRef(),$e=function(){X.Z.cancel(rt.current)},et=function(Et){Fe===fe&&(Me==null||Me(Et),xe&&($e(),rt.current=(0,X.Z)(function(){Je()})))};be.useEffect(function(){return $e},[]);var It=Ne?Ge:null,tt=(0,m.Z)((0,m.Z)({},Tt),It);return(Fe===de||Fe===Z)&&(tt.overflowY="hidden",tt.overflowX="hidden"),be.createElement(ue.Z,{onResize:et,disabled:!(xe||Me)},be.createElement("textarea",(0,u.Z)({},bt,{ref:f,style:tt,className:H()(oe,we,(0,E.Z)({},"".concat(oe,"-disabled"),ut)),disabled:ut,value:Ut,onChange:h})))}),V=re,le=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],ne=be.forwardRef(function(Ie,ke){var Be,oe=Ie.defaultValue,M=Ie.value,L=Ie.onFocus,xe=Ie.onBlur,Me=Ie.onChange,we=Ie.allowClear,Tt=Ie.maxLength,ut=Ie.onCompositionStart,Rt=Ie.onCompositionEnd,He=Ie.suffix,bt=Ie.prefixCls,vt=bt===void 0?"rc-textarea":bt,Mt=Ie.showCount,Ut=Ie.count,R=Ie.className,h=Ie.style,f=Ie.disabled,C=Ie.hidden,D=Ie.classNames,v=Ie.styles,U=Ie.onResize,Ne=Ie.onClear,ot=Ie.onPressEnter,lt=Ie.readOnly,Se=Ie.autoSize,Fe=Ie.onKeyDown,Pe=(0,d.Z)(Ie,le),Qe=(0,G.Z)(oe,{value:M,defaultValue:oe}),ct=(0,k.Z)(Qe,2),Ge=ct[0],pe=ct[1],Je=Ge==null?"":String(Ge),rt=be.useState(!1),$e=(0,k.Z)(rt,2),et=$e[0],It=$e[1],tt=be.useRef(!1),Q=be.useState(null),Et=(0,k.Z)(Q,2),At=Et[0],ye=Et[1],Gt=(0,be.useRef)(null),tn=(0,be.useRef)(null),Xt=function(){var On;return(On=tn.current)===null||On===void 0?void 0:On.textArea},Ke=function(){Xt().focus()};(0,be.useImperativeHandle)(ke,function(){var $t;return{resizableTextArea:tn.current,focus:Ke,blur:function(){Xt().blur()},nativeElement:(($t=Gt.current)===null||$t===void 0?void 0:$t.nativeElement)||Xt()}}),(0,be.useEffect)(function(){It(function($t){return!f&&$t})},[f]);var bn=be.useState(null),cn=(0,k.Z)(bn,2),Ht=cn[0],Kt=cn[1];be.useEffect(function(){if(Ht){var $t;($t=Xt()).setSelectionRange.apply($t,(0,b.Z)(Ht))}},[Ht]);var gn=(0,I.Z)(Ut,Mt),Vt=(Be=gn.max)!==null&&Be!==void 0?Be:Tt,Ft=Number(Vt)>0,Lt=gn.strategy(Je),Qt=!!Vt&&Lt>Vt,An=function(On,Or){var Mr=Or;!tt.current&&gn.exceedFormatter&&gn.max&&gn.strategy(Or)>gn.max&&(Mr=gn.exceedFormatter(Or,{max:gn.max}),Or!==Mr&&Kt([Xt().selectionStart||0,Xt().selectionEnd||0])),pe(Mr),(0,ie.rJ)(On.currentTarget,On,Me,Mr)},Dn=function(On){tt.current=!0,ut==null||ut(On)},ln=function(On){tt.current=!1,An(On,On.currentTarget.value),Rt==null||Rt(On)},Lr=function(On){An(On,On.target.value)},Ln=function(On){On.key==="Enter"&&ot&&ot(On),Fe==null||Fe(On)},Vn=function(On){It(!0),L==null||L(On)},Ar=function(On){It(!1),xe==null||xe(On)},Ir=function(On){pe(""),Ke(),(0,ie.rJ)(Xt(),On,Me)},Kn=He,Cn;gn.show&&(gn.showFormatter?Cn=gn.showFormatter({value:Je,count:Lt,maxLength:Vt}):Cn="".concat(Lt).concat(Ft?" / ".concat(Vt):""),Kn=be.createElement(be.Fragment,null,Kn,be.createElement("span",{className:H()("".concat(vt,"-data-count"),D==null?void 0:D.count),style:v==null?void 0:v.count},Cn)));var Mn=function(On){var Or;U==null||U(On),(Or=Xt())!==null&&Or!==void 0&&Or.style.height&&ye(!0)},zn=!Se&&!Mt&&!we;return be.createElement(O.BaseInput,{ref:Gt,value:Je,allowClear:we,handleReset:Ir,suffix:Kn,prefixCls:vt,classNames:(0,m.Z)((0,m.Z)({},D),{},{affixWrapper:H()(D==null?void 0:D.affixWrapper,(0,E.Z)((0,E.Z)({},"".concat(vt,"-show-count"),Mt),"".concat(vt,"-textarea-allow-clear"),we))}),disabled:f,focused:et,className:H()(R,Qt&&"".concat(vt,"-out-of-range")),style:(0,m.Z)((0,m.Z)({},h),At&&!zn?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Cn=="string"?Cn:void 0}},hidden:C,readOnly:lt,onClear:Ne},be.createElement(V,(0,u.Z)({},Pe,{autoSize:Se,maxLength:Tt,onKeyDown:Ln,onChange:Lr,onFocus:Vn,onBlur:Ar,onCompositionStart:Dn,onCompositionEnd:ln,className:H()(D==null?void 0:D.textarea),style:(0,m.Z)((0,m.Z)({},v==null?void 0:v.textarea),{},{resize:h==null?void 0:h.resize}),disabled:f,prefixCls:vt,onResize:Mn,ref:tn,readOnly:lt})))}),ge=ne,Re=ge},639:function(x,c,r){"use strict";r.d(c,{Z:function(){return Y}});var u=r(32855),E=r(74430),m=r(27247),b=r(11913),k=r(43079),d=r(59301),N=r(92310),H=r.n(N),O=r(26112),I=r(30699),ie=function(B){for(var _=B.prefixCls,ee=B.level,de=B.isStart,Z=B.isEnd,fe="".concat(_,"-indent-unit"),re=[],V=0;V<ee;V+=1)re.push(d.createElement("span",{key:V,className:H()(fe,(0,E.Z)((0,E.Z)({},"".concat(fe,"-start"),de[V]),"".concat(fe,"-end"),Z[V]))}));return d.createElement("span",{"aria-hidden":"true",className:"".concat(_,"-indent")},re)},G=d.memo(ie),be=r(65065),ce=r(34061),ue=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],te="open",X="close",q="---",W=function(B){var _,ee,de,Z=B.eventKey,fe=B.className,re=B.style,V=B.dragOver,le=B.dragOverGapTop,ne=B.dragOverGapBottom,ge=B.isLeaf,Re=B.isStart,Ie=B.isEnd,ke=B.expanded,Be=B.selected,oe=B.checked,M=B.halfChecked,L=B.loading,xe=B.domRef,Me=B.active,we=B.data,Tt=B.onMouseMove,ut=B.selectable,Rt=(0,k.Z)(B,ue),He=d.useContext(I.k),bt=d.useContext(I.y),vt=d.useRef(null),Mt=d.useState(!1),Ut=(0,b.Z)(Mt,2),R=Ut[0],h=Ut[1],f=!!(He.disabled||B.disabled||(_=bt.nodeDisabled)!==null&&_!==void 0&&_.call(bt,we)),C=d.useMemo(function(){return!He.checkable||B.checkable===!1?!1:He.checkable},[He.checkable,B.checkable]),D=function(Lt){f||He.onNodeSelect(Lt,(0,ce.F)(B))},v=function(Lt){f||!C||B.disableCheckbox||He.onNodeCheck(Lt,(0,ce.F)(B),!oe)},U=d.useMemo(function(){return typeof ut=="boolean"?ut:He.selectable},[ut,He.selectable]),Ne=function(Lt){He.onNodeClick(Lt,(0,ce.F)(B)),U?D(Lt):v(Lt)},ot=function(Lt){He.onNodeDoubleClick(Lt,(0,ce.F)(B))},lt=function(Lt){He.onNodeMouseEnter(Lt,(0,ce.F)(B))},Se=function(Lt){He.onNodeMouseLeave(Lt,(0,ce.F)(B))},Fe=function(Lt){He.onNodeContextMenu(Lt,(0,ce.F)(B))},Pe=d.useMemo(function(){return!!(He.draggable&&(!He.draggable.nodeDraggable||He.draggable.nodeDraggable(we)))},[He.draggable,we]),Qe=function(Lt){Lt.stopPropagation(),h(!0),He.onNodeDragStart(Lt,B);try{Lt.dataTransfer.setData("text/plain","")}catch(Qt){}},ct=function(Lt){Lt.preventDefault(),Lt.stopPropagation(),He.onNodeDragEnter(Lt,B)},Ge=function(Lt){Lt.preventDefault(),Lt.stopPropagation(),He.onNodeDragOver(Lt,B)},pe=function(Lt){Lt.stopPropagation(),He.onNodeDragLeave(Lt,B)},Je=function(Lt){Lt.stopPropagation(),h(!1),He.onNodeDragEnd(Lt,B)},rt=function(Lt){Lt.preventDefault(),Lt.stopPropagation(),h(!1),He.onNodeDrop(Lt,B)},$e=function(Lt){L||He.onNodeExpand(Lt,(0,ce.F)(B))},et=d.useMemo(function(){var Ft=(0,be.Z)(He.keyEntities,Z)||{},Lt=Ft.children;return!!(Lt||[]).length},[He.keyEntities,Z]),It=d.useMemo(function(){return ge===!1?!1:ge||!He.loadData&&!et||He.loadData&&B.loaded&&!et},[ge,He.loadData,et,B.loaded]);d.useEffect(function(){L||typeof He.loadData=="function"&&ke&&!It&&!B.loaded&&He.onNodeLoad((0,ce.F)(B))},[L,He.loadData,He.onNodeLoad,ke,It,B]);var tt=d.useMemo(function(){var Ft;return(Ft=He.draggable)!==null&&Ft!==void 0&&Ft.icon?d.createElement("span",{className:"".concat(He.prefixCls,"-draggable-icon")},He.draggable.icon):null},[He.draggable]),Q=function(Lt){var Qt=B.switcherIcon||He.switcherIcon;return typeof Qt=="function"?Qt((0,m.Z)((0,m.Z)({},B),{},{isLeaf:Lt})):Qt},Et=function(){if(It){var Lt=Q(!0);return Lt!==!1?d.createElement("span",{className:H()("".concat(He.prefixCls,"-switcher"),"".concat(He.prefixCls,"-switcher-noop"))},Lt):null}var Qt=Q(!1);return Qt!==!1?d.createElement("span",{onClick:$e,className:H()("".concat(He.prefixCls,"-switcher"),"".concat(He.prefixCls,"-switcher_").concat(ke?te:X))},Qt):null},At=d.useMemo(function(){if(!C)return null;var Ft=typeof C!="boolean"?C:null;return d.createElement("span",{className:H()("".concat(He.prefixCls,"-checkbox"),(0,E.Z)((0,E.Z)((0,E.Z)({},"".concat(He.prefixCls,"-checkbox-checked"),oe),"".concat(He.prefixCls,"-checkbox-indeterminate"),!oe&&M),"".concat(He.prefixCls,"-checkbox-disabled"),f||B.disableCheckbox)),onClick:v,role:"checkbox","aria-checked":M?"mixed":oe,"aria-disabled":f||B.disableCheckbox,"aria-label":"Select ".concat(typeof B.title=="string"?B.title:"tree node")},Ft)},[C,oe,M,f,B.disableCheckbox,B.title]),ye=d.useMemo(function(){return It?null:ke?te:X},[It,ke]),Gt=d.useMemo(function(){return d.createElement("span",{className:H()("".concat(He.prefixCls,"-iconEle"),"".concat(He.prefixCls,"-icon__").concat(ye||"docu"),(0,E.Z)({},"".concat(He.prefixCls,"-icon_loading"),L))})},[He.prefixCls,ye,L]),tn=d.useMemo(function(){var Ft=!!He.draggable,Lt=!B.disabled&&Ft&&He.dragOverNodeKey===Z;return Lt?He.dropIndicatorRender({dropPosition:He.dropPosition,dropLevelOffset:He.dropLevelOffset,indent:He.indent,prefixCls:He.prefixCls,direction:He.direction}):null},[He.dropPosition,He.dropLevelOffset,He.indent,He.prefixCls,He.direction,He.draggable,He.dragOverNodeKey,He.dropIndicatorRender]),Xt=d.useMemo(function(){var Ft=B.title,Lt=Ft===void 0?q:Ft,Qt="".concat(He.prefixCls,"-node-content-wrapper"),An;if(He.showIcon){var Dn=B.icon||He.icon;An=Dn?d.createElement("span",{className:H()("".concat(He.prefixCls,"-iconEle"),"".concat(He.prefixCls,"-icon__customize"))},typeof Dn=="function"?Dn(B):Dn):Gt}else He.loadData&&L&&(An=Gt);var ln;return typeof Lt=="function"?ln=Lt(we):He.titleRender?ln=He.titleRender(we):ln=Lt,d.createElement("span",{ref:vt,title:typeof Lt=="string"?Lt:"",className:H()(Qt,"".concat(Qt,"-").concat(ye||"normal"),(0,E.Z)({},"".concat(He.prefixCls,"-node-selected"),!f&&(Be||R))),onMouseEnter:lt,onMouseLeave:Se,onContextMenu:Fe,onClick:Ne,onDoubleClick:ot},An,d.createElement("span",{className:"".concat(He.prefixCls,"-title")},ln),tn)},[He.prefixCls,He.showIcon,B,He.icon,Gt,He.titleRender,we,ye,lt,Se,Fe,Ne,ot]),Ke=(0,O.Z)(Rt,{aria:!0,data:!0}),bn=(0,be.Z)(He.keyEntities,Z)||{},cn=bn.level,Ht=Ie[Ie.length-1],Kt=!f&&Pe,gn=He.draggingNodeKey===Z,Vt=ut!==void 0?{"aria-selected":!!ut}:void 0;return d.createElement("div",(0,u.Z)({ref:xe,role:"treeitem","aria-expanded":ge?void 0:ke,className:H()(fe,"".concat(He.prefixCls,"-treenode"),(de={},(0,E.Z)((0,E.Z)((0,E.Z)((0,E.Z)((0,E.Z)((0,E.Z)((0,E.Z)((0,E.Z)((0,E.Z)((0,E.Z)(de,"".concat(He.prefixCls,"-treenode-disabled"),f),"".concat(He.prefixCls,"-treenode-switcher-").concat(ke?"open":"close"),!ge),"".concat(He.prefixCls,"-treenode-checkbox-checked"),oe),"".concat(He.prefixCls,"-treenode-checkbox-indeterminate"),M),"".concat(He.prefixCls,"-treenode-selected"),Be),"".concat(He.prefixCls,"-treenode-loading"),L),"".concat(He.prefixCls,"-treenode-active"),Me),"".concat(He.prefixCls,"-treenode-leaf-last"),Ht),"".concat(He.prefixCls,"-treenode-draggable"),Pe),"dragging",gn),(0,E.Z)((0,E.Z)((0,E.Z)((0,E.Z)((0,E.Z)((0,E.Z)((0,E.Z)(de,"drop-target",He.dropTargetKey===Z),"drop-container",He.dropContainerKey===Z),"drag-over",!f&&V),"drag-over-gap-top",!f&&le),"drag-over-gap-bottom",!f&&ne),"filter-node",(ee=He.filterTreeNode)===null||ee===void 0?void 0:ee.call(He,(0,ce.F)(B))),"".concat(He.prefixCls,"-treenode-leaf"),It))),style:re,draggable:Kt,onDragStart:Kt?Qe:void 0,onDragEnter:Pe?ct:void 0,onDragOver:Pe?Ge:void 0,onDragLeave:Pe?pe:void 0,onDrop:Pe?rt:void 0,onDragEnd:Pe?Je:void 0,onMouseMove:Tt},Vt,Ke),d.createElement(G,{prefixCls:He.prefixCls,level:cn,isStart:Re,isEnd:Ie}),tt,Et(),At,Xt)};W.isTreeNode=1;var Y=W},30699:function(x,c,r){"use strict";r.d(c,{k:function(){return E},y:function(){return m}});var u=r(59301),E=u.createContext(null),m=u.createContext({})},89149:function(x,c,r){"use strict";r.d(c,{OF:function(){return Z.Z},y6:function(){return X.y},ZP:function(){return f}});var u=r(32855),E=r(34666),m=r(27247),b=r(3300),k=r(33377),d=r(93912),N=r(83383),H=r(18881),O=r(85461),I=r(74430),ie=r(92310),G=r.n(ie),be=r(10228),ce=r(26112),ue=r(48736),te=r(59301),X=r(30699),q=function(D){var v=D.dropPosition,U=D.dropLevelOffset,Ne=D.indent,ot={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(v){case-1:ot.top=0,ot.left=-U*Ne;break;case 1:ot.bottom=0,ot.left=-U*Ne;break;case 0:ot.bottom=0,ot.left=Ne;break}return te.createElement("div",{style:ot})},W=q;function Y(C){if(C==null)throw new TypeError("Cannot destructure "+C)}var P=r(11913),B=r(43079),_=r(34280),ee=r(6790),de=r(77900),Z=r(639);function fe(C,D){var v=te.useState(!1),U=(0,P.Z)(v,2),Ne=U[0],ot=U[1];(0,_.Z)(function(){if(Ne)return C(),function(){D()}},[Ne]),(0,_.Z)(function(){return ot(!0),function(){ot(!1)}},[])}var re=fe,V=r(34061),le=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],ne=te.forwardRef(function(C,D){var v=C.className,U=C.style,Ne=C.motion,ot=C.motionNodes,lt=C.motionType,Se=C.onMotionStart,Fe=C.onMotionEnd,Pe=C.active,Qe=C.treeNodeRequiredProps,ct=(0,B.Z)(C,le),Ge=te.useState(!0),pe=(0,P.Z)(Ge,2),Je=pe[0],rt=pe[1],$e=te.useContext(X.k),et=$e.prefixCls,It=ot&&lt!=="hide";(0,_.Z)(function(){ot&&It!==Je&&rt(It)},[ot]);var tt=function(){ot&&Se()},Q=te.useRef(!1),Et=function(){ot&&!Q.current&&(Q.current=!0,Fe())};re(tt,Et);var At=function(Gt){It===Gt&&Et()};return ot?te.createElement(de.default,(0,u.Z)({ref:D,visible:Je},Ne,{motionAppear:lt==="show",onVisibleChanged:At}),function(ye,Gt){var tn=ye.className,Xt=ye.style;return te.createElement("div",{ref:Gt,className:G()("".concat(et,"-treenode-motion"),tn),style:Xt},ot.map(function(Ke){var bn=Object.assign({},(Y(Ke.data),Ke.data)),cn=Ke.title,Ht=Ke.key,Kt=Ke.isStart,gn=Ke.isEnd;delete bn.children;var Vt=(0,V.H8)(Ht,Qe);return te.createElement(Z.Z,(0,u.Z)({},bn,Vt,{title:cn,active:Pe,data:Ke.data,key:Ht,isStart:Kt,isEnd:gn}))}))}):te.createElement(Z.Z,(0,u.Z)({domRef:D,className:v,style:U},ct,{active:Pe}))}),ge=ne;function Re(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],v=C.length,U=D.length;if(Math.abs(v-U)!==1)return{add:!1,key:null};function Ne(ot,lt){var Se=new Map;ot.forEach(function(Pe){Se.set(Pe,!0)});var Fe=lt.filter(function(Pe){return!Se.has(Pe)});return Fe.length===1?Fe[0]:null}return v<U?{add:!0,key:Ne(C,D)}:{add:!1,key:Ne(D,C)}}function Ie(C,D,v){var U=C.findIndex(function(Se){return Se.key===v}),Ne=C[U+1],ot=D.findIndex(function(Se){return Se.key===v});if(Ne){var lt=D.findIndex(function(Se){return Se.key===Ne.key});return D.slice(ot+1,lt)}return D.slice(ot+1)}var ke=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","scrollWidth","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],Be={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},oe=function(){},M="RC_TREE_MOTION_".concat(Math.random()),L={key:M},xe={key:M,level:0,index:0,pos:"0",node:L,nodes:[L]},Me={parent:null,children:[],pos:xe.pos,data:L,title:null,key:M,isStart:[],isEnd:[]};function we(C,D,v,U){return D===!1||!v?C:C.slice(0,Math.ceil(v/U)+1)}function Tt(C){var D=C.key,v=C.pos;return(0,V.km)(D,v)}function ut(C){for(var D=String(C.data.key),v=C;v.parent;)v=v.parent,D="".concat(v.data.key," > ").concat(D);return D}var Rt=te.forwardRef(function(C,D){var v=C.prefixCls,U=C.data,Ne=C.selectable,ot=C.checkable,lt=C.expandedKeys,Se=C.selectedKeys,Fe=C.checkedKeys,Pe=C.loadedKeys,Qe=C.loadingKeys,ct=C.halfCheckedKeys,Ge=C.keyEntities,pe=C.disabled,Je=C.dragging,rt=C.dragOverNodeKey,$e=C.dropPosition,et=C.motion,It=C.height,tt=C.itemHeight,Q=C.virtual,Et=C.scrollWidth,At=C.focusable,ye=C.activeItem,Gt=C.focused,tn=C.tabIndex,Xt=C.onKeyDown,Ke=C.onFocus,bn=C.onBlur,cn=C.onActiveChange,Ht=C.onListChangeStart,Kt=C.onListChangeEnd,gn=(0,B.Z)(C,ke),Vt=te.useRef(null),Ft=te.useRef(null);te.useImperativeHandle(D,function(){return{scrollTo:function(Te){Vt.current.scrollTo(Te)},getIndentWidth:function(){return Ft.current.offsetWidth}}});var Lt=te.useState(lt),Qt=(0,P.Z)(Lt,2),An=Qt[0],Dn=Qt[1],ln=te.useState(U),Lr=(0,P.Z)(ln,2),Ln=Lr[0],Vn=Lr[1],Ar=te.useState(U),Ir=(0,P.Z)(Ar,2),Kn=Ir[0],Cn=Ir[1],Mn=te.useState([]),zn=(0,P.Z)(Mn,2),$t=zn[0],On=zn[1],Or=te.useState(null),Mr=(0,P.Z)(Or,2),De=Mr[0],Le=Mr[1],Pt=te.useRef(U);Pt.current=U;function wt(){var _t=Pt.current;Vn(_t),Cn(_t),On([]),Le(null),Kt()}(0,_.Z)(function(){Dn(lt);var _t=Re(An,lt);if(_t.key!==null)if(_t.add){var Te=Ln.findIndex(function(jt){var dn=jt.key;return dn===_t.key}),g=we(Ie(Ln,U,_t.key),Q,It,tt),Yt=Ln.slice();Yt.splice(Te+1,0,Me),Cn(Yt),On(g),Le("show")}else{var Jt=U.findIndex(function(jt){var dn=jt.key;return dn===_t.key}),ze=we(Ie(U,Ln,_t.key),Q,It,tt),yn=U.slice();yn.splice(Jt+1,0,Me),Cn(yn),On(ze),Le("hide")}else Ln!==U&&(Vn(U),Cn(U))},[lt,U]),te.useEffect(function(){Je||wt()},[Je]);var me=et?Kn:U,St={expandedKeys:lt,selectedKeys:Se,loadedKeys:Pe,loadingKeys:Qe,checkedKeys:Fe,halfCheckedKeys:ct,dragOverNodeKey:rt,dropPosition:$e,keyEntities:Ge};return te.createElement(te.Fragment,null,Gt&&ye&&te.createElement("span",{style:Be,"aria-live":"assertive"},ut(ye)),te.createElement("div",null,te.createElement("input",{style:Be,disabled:At===!1||pe,tabIndex:At!==!1?tn:null,onKeyDown:Xt,onFocus:Ke,onBlur:bn,value:"",onChange:oe,"aria-label":"for screen reader"})),te.createElement("div",{className:"".concat(v,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},te.createElement("div",{className:"".concat(v,"-indent")},te.createElement("div",{ref:Ft,className:"".concat(v,"-indent-unit")}))),te.createElement(ee.Z,(0,u.Z)({},gn,{data:me,itemKey:Tt,height:It,fullHeight:!1,virtual:Q,itemHeight:tt,scrollWidth:Et,prefixCls:"".concat(v,"-list"),ref:Vt,role:"tree",onVisibleChange:function(Te){Te.every(function(g){return Tt(g)!==M})&&wt()}}),function(_t){var Te=_t.pos,g=Object.assign({},(Y(_t.data),_t.data)),Yt=_t.title,Jt=_t.key,ze=_t.isStart,yn=_t.isEnd,jt=(0,V.km)(Jt,Te);delete g.key,delete g.children;var dn=(0,V.H8)(jt,St);return te.createElement(ge,(0,u.Z)({},g,dn,{title:Yt,active:!!ye&&Jt===ye.key,pos:Te,data:_t.data,isStart:ze,isEnd:yn,motion:et,motionNodes:Jt===M?$t:null,motionType:De,onMotionStart:Ht,onMotionEnd:wt,treeNodeRequiredProps:St,onMouseMove:function(){cn(null)}}))}))}),He=Rt,bt=r(82661),vt=r(34643),Mt=r(65065),Ut=10,R=function(C){(0,H.Z)(v,C);var D=(0,O.Z)(v);function v(){var U;(0,k.Z)(this,v);for(var Ne=arguments.length,ot=new Array(Ne),lt=0;lt<Ne;lt++)ot[lt]=arguments[lt];return U=D.call.apply(D,[this].concat(ot)),(0,I.Z)((0,N.Z)(U),"destroyed",!1),(0,I.Z)((0,N.Z)(U),"delayedDragEnterLogic",void 0),(0,I.Z)((0,N.Z)(U),"loadingRetryTimes",{}),(0,I.Z)((0,N.Z)(U),"state",{keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,V.w$)()}),(0,I.Z)((0,N.Z)(U),"dragStartMousePosition",null),(0,I.Z)((0,N.Z)(U),"dragNodeProps",null),(0,I.Z)((0,N.Z)(U),"currentMouseOverDroppableNodeKey",null),(0,I.Z)((0,N.Z)(U),"listRef",te.createRef()),(0,I.Z)((0,N.Z)(U),"onNodeDragStart",function(Se,Fe){var Pe=U.state,Qe=Pe.expandedKeys,ct=Pe.keyEntities,Ge=U.props.onDragStart,pe=Fe.eventKey;U.dragNodeProps=Fe,U.dragStartMousePosition={x:Se.clientX,y:Se.clientY};var Je=(0,bt._5)(Qe,pe);U.setState({draggingNodeKey:pe,dragChildrenKeys:(0,bt.wA)(pe,ct),indent:U.listRef.current.getIndentWidth()}),U.setExpandedKeys(Je),window.addEventListener("dragend",U.onWindowDragEnd),Ge==null||Ge({event:Se,node:(0,V.F)(Fe)})}),(0,I.Z)((0,N.Z)(U),"onNodeDragEnter",function(Se,Fe){var Pe=U.state,Qe=Pe.expandedKeys,ct=Pe.keyEntities,Ge=Pe.dragChildrenKeys,pe=Pe.flattenNodes,Je=Pe.indent,rt=U.props,$e=rt.onDragEnter,et=rt.onExpand,It=rt.allowDrop,tt=rt.direction,Q=Fe.pos,Et=Fe.eventKey;if(U.currentMouseOverDroppableNodeKey!==Et&&(U.currentMouseOverDroppableNodeKey=Et),!U.dragNodeProps){U.resetDragState();return}var At=(0,bt.OM)(Se,U.dragNodeProps,Fe,Je,U.dragStartMousePosition,It,pe,ct,Qe,tt),ye=At.dropPosition,Gt=At.dropLevelOffset,tn=At.dropTargetKey,Xt=At.dropContainerKey,Ke=At.dropTargetPos,bn=At.dropAllowed,cn=At.dragOverNodeKey;if(Ge.includes(tn)||!bn){U.resetDragState();return}if(U.delayedDragEnterLogic||(U.delayedDragEnterLogic={}),Object.keys(U.delayedDragEnterLogic).forEach(function(Ht){clearTimeout(U.delayedDragEnterLogic[Ht])}),U.dragNodeProps.eventKey!==Fe.eventKey&&(Se.persist(),U.delayedDragEnterLogic[Q]=window.setTimeout(function(){if(U.state.draggingNodeKey!==null){var Ht=(0,b.Z)(Qe),Kt=(0,Mt.Z)(ct,Fe.eventKey);Kt&&(Kt.children||[]).length&&(Ht=(0,bt.L0)(Qe,Fe.eventKey)),U.props.hasOwnProperty("expandedKeys")||U.setExpandedKeys(Ht),et==null||et(Ht,{node:(0,V.F)(Fe),expanded:!0,nativeEvent:Se.nativeEvent})}},800)),U.dragNodeProps.eventKey===tn&&Gt===0){U.resetDragState();return}U.setState({dragOverNodeKey:cn,dropPosition:ye,dropLevelOffset:Gt,dropTargetKey:tn,dropContainerKey:Xt,dropTargetPos:Ke,dropAllowed:bn}),$e==null||$e({event:Se,node:(0,V.F)(Fe),expandedKeys:Qe})}),(0,I.Z)((0,N.Z)(U),"onNodeDragOver",function(Se,Fe){var Pe=U.state,Qe=Pe.dragChildrenKeys,ct=Pe.flattenNodes,Ge=Pe.keyEntities,pe=Pe.expandedKeys,Je=Pe.indent,rt=U.props,$e=rt.onDragOver,et=rt.allowDrop,It=rt.direction;if(U.dragNodeProps){var tt=(0,bt.OM)(Se,U.dragNodeProps,Fe,Je,U.dragStartMousePosition,et,ct,Ge,pe,It),Q=tt.dropPosition,Et=tt.dropLevelOffset,At=tt.dropTargetKey,ye=tt.dropContainerKey,Gt=tt.dropTargetPos,tn=tt.dropAllowed,Xt=tt.dragOverNodeKey;Qe.includes(At)||!tn||(U.dragNodeProps.eventKey===At&&Et===0?U.state.dropPosition===null&&U.state.dropLevelOffset===null&&U.state.dropTargetKey===null&&U.state.dropContainerKey===null&&U.state.dropTargetPos===null&&U.state.dropAllowed===!1&&U.state.dragOverNodeKey===null||U.resetDragState():Q===U.state.dropPosition&&Et===U.state.dropLevelOffset&&At===U.state.dropTargetKey&&ye===U.state.dropContainerKey&&Gt===U.state.dropTargetPos&&tn===U.state.dropAllowed&&Xt===U.state.dragOverNodeKey||U.setState({dropPosition:Q,dropLevelOffset:Et,dropTargetKey:At,dropContainerKey:ye,dropTargetPos:Gt,dropAllowed:tn,dragOverNodeKey:Xt}),$e==null||$e({event:Se,node:(0,V.F)(Fe)}))}}),(0,I.Z)((0,N.Z)(U),"onNodeDragLeave",function(Se,Fe){U.currentMouseOverDroppableNodeKey===Fe.eventKey&&!Se.currentTarget.contains(Se.relatedTarget)&&(U.resetDragState(),U.currentMouseOverDroppableNodeKey=null);var Pe=U.props.onDragLeave;Pe==null||Pe({event:Se,node:(0,V.F)(Fe)})}),(0,I.Z)((0,N.Z)(U),"onWindowDragEnd",function(Se){U.onNodeDragEnd(Se,null,!0),window.removeEventListener("dragend",U.onWindowDragEnd)}),(0,I.Z)((0,N.Z)(U),"onNodeDragEnd",function(Se,Fe){var Pe=U.props.onDragEnd;U.setState({dragOverNodeKey:null}),U.cleanDragState(),Pe==null||Pe({event:Se,node:(0,V.F)(Fe)}),U.dragNodeProps=null,window.removeEventListener("dragend",U.onWindowDragEnd)}),(0,I.Z)((0,N.Z)(U),"onNodeDrop",function(Se,Fe){var Pe,Qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ct=U.state,Ge=ct.dragChildrenKeys,pe=ct.dropPosition,Je=ct.dropTargetKey,rt=ct.dropTargetPos,$e=ct.dropAllowed;if($e){var et=U.props.onDrop;if(U.setState({dragOverNodeKey:null}),U.cleanDragState(),Je!==null){var It=(0,m.Z)((0,m.Z)({},(0,V.H8)(Je,U.getTreeNodeRequiredProps())),{},{active:((Pe=U.getActiveItem())===null||Pe===void 0?void 0:Pe.key)===Je,data:(0,Mt.Z)(U.state.keyEntities,Je).node}),tt=Ge.includes(Je);(0,ue.ZP)(!tt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Q=(0,bt.yx)(rt),Et={event:Se,node:(0,V.F)(It),dragNode:U.dragNodeProps?(0,V.F)(U.dragNodeProps):null,dragNodesKeys:[U.dragNodeProps.eventKey].concat(Ge),dropToGap:pe!==0,dropPosition:pe+Number(Q[Q.length-1])};Qe||et==null||et(Et),U.dragNodeProps=null}}}),(0,I.Z)((0,N.Z)(U),"cleanDragState",function(){var Se=U.state.draggingNodeKey;Se!==null&&U.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),U.dragStartMousePosition=null,U.currentMouseOverDroppableNodeKey=null}),(0,I.Z)((0,N.Z)(U),"triggerExpandActionExpand",function(Se,Fe){var Pe=U.state,Qe=Pe.expandedKeys,ct=Pe.flattenNodes,Ge=Fe.expanded,pe=Fe.key,Je=Fe.isLeaf;if(!(Je||Se.shiftKey||Se.metaKey||Se.ctrlKey)){var rt=ct.filter(function(et){return et.key===pe})[0],$e=(0,V.F)((0,m.Z)((0,m.Z)({},(0,V.H8)(pe,U.getTreeNodeRequiredProps())),{},{data:rt.data}));U.setExpandedKeys(Ge?(0,bt._5)(Qe,pe):(0,bt.L0)(Qe,pe)),U.onNodeExpand(Se,$e)}}),(0,I.Z)((0,N.Z)(U),"onNodeClick",function(Se,Fe){var Pe=U.props,Qe=Pe.onClick,ct=Pe.expandAction;ct==="click"&&U.triggerExpandActionExpand(Se,Fe),Qe==null||Qe(Se,Fe)}),(0,I.Z)((0,N.Z)(U),"onNodeDoubleClick",function(Se,Fe){var Pe=U.props,Qe=Pe.onDoubleClick,ct=Pe.expandAction;ct==="doubleClick"&&U.triggerExpandActionExpand(Se,Fe),Qe==null||Qe(Se,Fe)}),(0,I.Z)((0,N.Z)(U),"onNodeSelect",function(Se,Fe){var Pe=U.state.selectedKeys,Qe=U.state,ct=Qe.keyEntities,Ge=Qe.fieldNames,pe=U.props,Je=pe.onSelect,rt=pe.multiple,$e=Fe.selected,et=Fe[Ge.key],It=!$e;It?rt?Pe=(0,bt.L0)(Pe,et):Pe=[et]:Pe=(0,bt._5)(Pe,et);var tt=Pe.map(function(Q){var Et=(0,Mt.Z)(ct,Q);return Et?Et.node:null}).filter(Boolean);U.setUncontrolledState({selectedKeys:Pe}),Je==null||Je(Pe,{event:"select",selected:It,node:Fe,selectedNodes:tt,nativeEvent:Se.nativeEvent})}),(0,I.Z)((0,N.Z)(U),"onNodeCheck",function(Se,Fe,Pe){var Qe=U.state,ct=Qe.keyEntities,Ge=Qe.checkedKeys,pe=Qe.halfCheckedKeys,Je=U.props,rt=Je.checkStrictly,$e=Je.onCheck,et=Fe.key,It,tt={event:"check",node:Fe,checked:Pe,nativeEvent:Se.nativeEvent};if(rt){var Q=Pe?(0,bt.L0)(Ge,et):(0,bt._5)(Ge,et),Et=(0,bt._5)(pe,et);It={checked:Q,halfChecked:Et},tt.checkedNodes=Q.map(function(Ke){return(0,Mt.Z)(ct,Ke)}).filter(Boolean).map(function(Ke){return Ke.node}),U.setUncontrolledState({checkedKeys:Q})}else{var At=(0,vt.S)([].concat((0,b.Z)(Ge),[et]),!0,ct),ye=At.checkedKeys,Gt=At.halfCheckedKeys;if(!Pe){var tn=new Set(ye);tn.delete(et);var Xt=(0,vt.S)(Array.from(tn),{checked:!1,halfCheckedKeys:Gt},ct);ye=Xt.checkedKeys,Gt=Xt.halfCheckedKeys}It=ye,tt.checkedNodes=[],tt.checkedNodesPositions=[],tt.halfCheckedKeys=Gt,ye.forEach(function(Ke){var bn=(0,Mt.Z)(ct,Ke);if(bn){var cn=bn.node,Ht=bn.pos;tt.checkedNodes.push(cn),tt.checkedNodesPositions.push({node:cn,pos:Ht})}}),U.setUncontrolledState({checkedKeys:ye},!1,{halfCheckedKeys:Gt})}$e==null||$e(It,tt)}),(0,I.Z)((0,N.Z)(U),"onNodeLoad",function(Se){var Fe,Pe=Se.key,Qe=U.state.keyEntities,ct=(0,Mt.Z)(Qe,Pe);if(!(ct!=null&&(Fe=ct.children)!==null&&Fe!==void 0&&Fe.length)){var Ge=new Promise(function(pe,Je){U.setState(function(rt){var $e=rt.loadedKeys,et=$e===void 0?[]:$e,It=rt.loadingKeys,tt=It===void 0?[]:It,Q=U.props,Et=Q.loadData,At=Q.onLoad;if(!Et||et.includes(Pe)||tt.includes(Pe))return null;var ye=Et(Se);return ye.then(function(){var Gt=U.state.loadedKeys,tn=(0,bt.L0)(Gt,Pe);At==null||At(tn,{event:"load",node:Se}),U.setUncontrolledState({loadedKeys:tn}),U.setState(function(Xt){return{loadingKeys:(0,bt._5)(Xt.loadingKeys,Pe)}}),pe()}).catch(function(Gt){if(U.setState(function(Xt){return{loadingKeys:(0,bt._5)(Xt.loadingKeys,Pe)}}),U.loadingRetryTimes[Pe]=(U.loadingRetryTimes[Pe]||0)+1,U.loadingRetryTimes[Pe]>=Ut){var tn=U.state.loadedKeys;(0,ue.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),U.setUncontrolledState({loadedKeys:(0,bt.L0)(tn,Pe)}),pe()}Je(Gt)}),{loadingKeys:(0,bt.L0)(tt,Pe)}})});return Ge.catch(function(){}),Ge}}),(0,I.Z)((0,N.Z)(U),"onNodeMouseEnter",function(Se,Fe){var Pe=U.props.onMouseEnter;Pe==null||Pe({event:Se,node:Fe})}),(0,I.Z)((0,N.Z)(U),"onNodeMouseLeave",function(Se,Fe){var Pe=U.props.onMouseLeave;Pe==null||Pe({event:Se,node:Fe})}),(0,I.Z)((0,N.Z)(U),"onNodeContextMenu",function(Se,Fe){var Pe=U.props.onRightClick;Pe&&(Se.preventDefault(),Pe({event:Se,node:Fe}))}),(0,I.Z)((0,N.Z)(U),"onFocus",function(){var Se=U.props.onFocus;U.setState({focused:!0});for(var Fe=arguments.length,Pe=new Array(Fe),Qe=0;Qe<Fe;Qe++)Pe[Qe]=arguments[Qe];Se==null||Se.apply(void 0,Pe)}),(0,I.Z)((0,N.Z)(U),"onBlur",function(){var Se=U.props.onBlur;U.setState({focused:!1}),U.onActiveChange(null);for(var Fe=arguments.length,Pe=new Array(Fe),Qe=0;Qe<Fe;Qe++)Pe[Qe]=arguments[Qe];Se==null||Se.apply(void 0,Pe)}),(0,I.Z)((0,N.Z)(U),"getTreeNodeRequiredProps",function(){var Se=U.state,Fe=Se.expandedKeys,Pe=Se.selectedKeys,Qe=Se.loadedKeys,ct=Se.loadingKeys,Ge=Se.checkedKeys,pe=Se.halfCheckedKeys,Je=Se.dragOverNodeKey,rt=Se.dropPosition,$e=Se.keyEntities;return{expandedKeys:Fe||[],selectedKeys:Pe||[],loadedKeys:Qe||[],loadingKeys:ct||[],checkedKeys:Ge||[],halfCheckedKeys:pe||[],dragOverNodeKey:Je,dropPosition:rt,keyEntities:$e}}),(0,I.Z)((0,N.Z)(U),"setExpandedKeys",function(Se){var Fe=U.state,Pe=Fe.treeData,Qe=Fe.fieldNames,ct=(0,V.oH)(Pe,Se,Qe);U.setUncontrolledState({expandedKeys:Se,flattenNodes:ct},!0)}),(0,I.Z)((0,N.Z)(U),"onNodeExpand",function(Se,Fe){var Pe=U.state.expandedKeys,Qe=U.state,ct=Qe.listChanging,Ge=Qe.fieldNames,pe=U.props,Je=pe.onExpand,rt=pe.loadData,$e=Fe.expanded,et=Fe[Ge.key];if(!ct){var It=Pe.includes(et),tt=!$e;if((0,ue.ZP)($e&&It||!$e&&!It,"Expand state not sync with index check"),Pe=tt?(0,bt.L0)(Pe,et):(0,bt._5)(Pe,et),U.setExpandedKeys(Pe),Je==null||Je(Pe,{node:Fe,expanded:tt,nativeEvent:Se.nativeEvent}),tt&&rt){var Q=U.onNodeLoad(Fe);Q&&Q.then(function(){var Et=(0,V.oH)(U.state.treeData,Pe,Ge);U.setUncontrolledState({flattenNodes:Et})}).catch(function(){var Et=U.state.expandedKeys,At=(0,bt._5)(Et,et);U.setExpandedKeys(At)})}}}),(0,I.Z)((0,N.Z)(U),"onListChangeStart",function(){U.setUncontrolledState({listChanging:!0})}),(0,I.Z)((0,N.Z)(U),"onListChangeEnd",function(){setTimeout(function(){U.setUncontrolledState({listChanging:!1})})}),(0,I.Z)((0,N.Z)(U),"onActiveChange",function(Se){var Fe=U.state.activeKey,Pe=U.props,Qe=Pe.onActiveChange,ct=Pe.itemScrollOffset,Ge=ct===void 0?0:ct;Fe!==Se&&(U.setState({activeKey:Se}),Se!==null&&U.scrollTo({key:Se,offset:Ge}),Qe==null||Qe(Se))}),(0,I.Z)((0,N.Z)(U),"getActiveItem",function(){var Se=U.state,Fe=Se.activeKey,Pe=Se.flattenNodes;return Fe===null?null:Pe.find(function(Qe){var ct=Qe.key;return ct===Fe})||null}),(0,I.Z)((0,N.Z)(U),"offsetActiveKey",function(Se){var Fe=U.state,Pe=Fe.flattenNodes,Qe=Fe.activeKey,ct=Pe.findIndex(function(Je){var rt=Je.key;return rt===Qe});ct===-1&&Se<0&&(ct=Pe.length),ct=(ct+Se+Pe.length)%Pe.length;var Ge=Pe[ct];if(Ge){var pe=Ge.key;U.onActiveChange(pe)}else U.onActiveChange(null)}),(0,I.Z)((0,N.Z)(U),"onKeyDown",function(Se){var Fe=U.state,Pe=Fe.activeKey,Qe=Fe.expandedKeys,ct=Fe.checkedKeys,Ge=Fe.fieldNames,pe=U.props,Je=pe.onKeyDown,rt=pe.checkable,$e=pe.selectable;switch(Se.which){case be.Z.UP:{U.offsetActiveKey(-1),Se.preventDefault();break}case be.Z.DOWN:{U.offsetActiveKey(1),Se.preventDefault();break}}var et=U.getActiveItem();if(et&&et.data){var It=U.getTreeNodeRequiredProps(),tt=et.data.isLeaf===!1||!!(et.data[Ge.children]||[]).length,Q=(0,V.F)((0,m.Z)((0,m.Z)({},(0,V.H8)(Pe,It)),{},{data:et.data,active:!0}));switch(Se.which){case be.Z.LEFT:{tt&&Qe.includes(Pe)?U.onNodeExpand({},Q):et.parent&&U.onActiveChange(et.parent.key),Se.preventDefault();break}case be.Z.RIGHT:{tt&&!Qe.includes(Pe)?U.onNodeExpand({},Q):et.children&&et.children.length&&U.onActiveChange(et.children[0].key),Se.preventDefault();break}case be.Z.ENTER:case be.Z.SPACE:{rt&&!Q.disabled&&Q.checkable!==!1&&!Q.disableCheckbox?U.onNodeCheck({},Q,!ct.includes(Pe)):!rt&&$e&&!Q.disabled&&Q.selectable!==!1&&U.onNodeSelect({},Q);break}}}Je==null||Je(Se)}),(0,I.Z)((0,N.Z)(U),"setUncontrolledState",function(Se){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!U.destroyed){var Qe=!1,ct=!0,Ge={};Object.keys(Se).forEach(function(pe){if(U.props.hasOwnProperty(pe)){ct=!1;return}Qe=!0,Ge[pe]=Se[pe]}),Qe&&(!Fe||ct)&&U.setState((0,m.Z)((0,m.Z)({},Ge),Pe))}}),(0,I.Z)((0,N.Z)(U),"scrollTo",function(Se){U.listRef.current.scrollTo(Se)}),U}return(0,d.Z)(v,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Ne=this.props,ot=Ne.activeKey,lt=Ne.itemScrollOffset,Se=lt===void 0?0:lt;ot!==void 0&&ot!==this.state.activeKey&&(this.setState({activeKey:ot}),ot!==null&&this.scrollTo({key:ot,offset:Se}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var Ne=this.state,ot=Ne.focused,lt=Ne.flattenNodes,Se=Ne.keyEntities,Fe=Ne.draggingNodeKey,Pe=Ne.activeKey,Qe=Ne.dropLevelOffset,ct=Ne.dropContainerKey,Ge=Ne.dropTargetKey,pe=Ne.dropPosition,Je=Ne.dragOverNodeKey,rt=Ne.indent,$e=this.props,et=$e.prefixCls,It=$e.className,tt=$e.style,Q=$e.showLine,Et=$e.focusable,At=$e.tabIndex,ye=At===void 0?0:At,Gt=$e.selectable,tn=$e.showIcon,Xt=$e.icon,Ke=$e.switcherIcon,bn=$e.draggable,cn=$e.checkable,Ht=$e.checkStrictly,Kt=$e.disabled,gn=$e.motion,Vt=$e.loadData,Ft=$e.filterTreeNode,Lt=$e.height,Qt=$e.itemHeight,An=$e.scrollWidth,Dn=$e.virtual,ln=$e.titleRender,Lr=$e.dropIndicatorRender,Ln=$e.onContextMenu,Vn=$e.onScroll,Ar=$e.direction,Ir=$e.rootClassName,Kn=$e.rootStyle,Cn=(0,ce.Z)(this.props,{aria:!0,data:!0}),Mn;bn&&((0,E.Z)(bn)==="object"?Mn=bn:typeof bn=="function"?Mn={nodeDraggable:bn}:Mn={});var zn={prefixCls:et,selectable:Gt,showIcon:tn,icon:Xt,switcherIcon:Ke,draggable:Mn,draggingNodeKey:Fe,checkable:cn,checkStrictly:Ht,disabled:Kt,keyEntities:Se,dropLevelOffset:Qe,dropContainerKey:ct,dropTargetKey:Ge,dropPosition:pe,dragOverNodeKey:Je,indent:rt,direction:Ar,dropIndicatorRender:Lr,loadData:Vt,filterTreeNode:Ft,titleRender:ln,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return te.createElement(X.k.Provider,{value:zn},te.createElement("div",{className:G()(et,It,Ir,(0,I.Z)((0,I.Z)((0,I.Z)({},"".concat(et,"-show-line"),Q),"".concat(et,"-focused"),ot),"".concat(et,"-active-focused"),Pe!==null)),style:Kn},te.createElement(He,(0,u.Z)({ref:this.listRef,prefixCls:et,style:tt,data:lt,disabled:Kt,selectable:Gt,checkable:!!cn,motion:gn,dragging:Fe!==null,height:Lt,itemHeight:Qt,virtual:Dn,focusable:Et,focused:ot,tabIndex:ye,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Ln,onScroll:Vn,scrollWidth:An},this.getTreeNodeRequiredProps(),Cn))))}}],[{key:"getDerivedStateFromProps",value:function(Ne,ot){var lt=ot.prevProps,Se={prevProps:Ne};function Fe(ye){return!lt&&Ne.hasOwnProperty(ye)||lt&&lt[ye]!==Ne[ye]}var Pe,Qe=ot.fieldNames;if(Fe("fieldNames")&&(Qe=(0,V.w$)(Ne.fieldNames),Se.fieldNames=Qe),Fe("treeData")?Pe=Ne.treeData:Fe("children")&&((0,ue.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Pe=(0,V.zn)(Ne.children)),Pe){Se.treeData=Pe;var ct=(0,V.I8)(Pe,{fieldNames:Qe});Se.keyEntities=(0,m.Z)((0,I.Z)({},M,xe),ct.keyEntities)}var Ge=Se.keyEntities||ot.keyEntities;if(Fe("expandedKeys")||lt&&Fe("autoExpandParent"))Se.expandedKeys=Ne.autoExpandParent||!lt&&Ne.defaultExpandParent?(0,bt.r7)(Ne.expandedKeys,Ge):Ne.expandedKeys;else if(!lt&&Ne.defaultExpandAll){var pe=(0,m.Z)({},Ge);delete pe[M];var Je=[];Object.keys(pe).forEach(function(ye){var Gt=pe[ye];Gt.children&&Gt.children.length&&Je.push(Gt.key)}),Se.expandedKeys=Je}else!lt&&Ne.defaultExpandedKeys&&(Se.expandedKeys=Ne.autoExpandParent||Ne.defaultExpandParent?(0,bt.r7)(Ne.defaultExpandedKeys,Ge):Ne.defaultExpandedKeys);if(Se.expandedKeys||delete Se.expandedKeys,Pe||Se.expandedKeys){var rt=(0,V.oH)(Pe||ot.treeData,Se.expandedKeys||ot.expandedKeys,Qe);Se.flattenNodes=rt}if(Ne.selectable&&(Fe("selectedKeys")?Se.selectedKeys=(0,bt.BT)(Ne.selectedKeys,Ne):!lt&&Ne.defaultSelectedKeys&&(Se.selectedKeys=(0,bt.BT)(Ne.defaultSelectedKeys,Ne))),Ne.checkable){var $e;if(Fe("checkedKeys")?$e=(0,bt.E6)(Ne.checkedKeys)||{}:!lt&&Ne.defaultCheckedKeys?$e=(0,bt.E6)(Ne.defaultCheckedKeys)||{}:Pe&&($e=(0,bt.E6)(Ne.checkedKeys)||{checkedKeys:ot.checkedKeys,halfCheckedKeys:ot.halfCheckedKeys}),$e){var et=$e,It=et.checkedKeys,tt=It===void 0?[]:It,Q=et.halfCheckedKeys,Et=Q===void 0?[]:Q;if(!Ne.checkStrictly){var At=(0,vt.S)(tt,!0,Ge);tt=At.checkedKeys,Et=At.halfCheckedKeys}Se.checkedKeys=tt,Se.halfCheckedKeys=Et}}return Fe("loadedKeys")&&(Se.loadedKeys=Ne.loadedKeys),Se}}]),v}(te.Component);(0,I.Z)(R,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:W,allowDrop:function(){return!0},expandAction:!1}),(0,I.Z)(R,"TreeNode",Z.Z);var h=R,f=h},82661:function(x,c,r){"use strict";r.d(c,{BT:function(){return te},E6:function(){return W},L0:function(){return I},OM:function(){return ue},_5:function(){return O},r7:function(){return Y},wA:function(){return G},yx:function(){return ie}});var u=r(3300),E=r(34666),m=r(48736),b=r(59301),k=r(639),d=r(65065),N=r(34061),H=null;function O(P,B){if(!P)return[];var _=P.slice(),ee=_.indexOf(B);return ee>=0&&_.splice(ee,1),_}function I(P,B){var _=(P||[]).slice();return _.indexOf(B)===-1&&_.push(B),_}function ie(P){return P.split("-")}function G(P,B){var _=[],ee=(0,d.Z)(B,P);function de(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Z.forEach(function(fe){var re=fe.key,V=fe.children;_.push(re),de(V)})}return de(ee.children),_}function be(P){if(P.parent){var B=ie(P.pos);return Number(B[B.length-1])===P.parent.children.length-1}return!1}function ce(P){var B=ie(P.pos);return Number(B[B.length-1])===0}function ue(P,B,_,ee,de,Z,fe,re,V,le){var ne,ge=P.clientX,Re=P.clientY,Ie=P.target.getBoundingClientRect(),ke=Ie.top,Be=Ie.height,oe=(le==="rtl"?-1:1)*(((de==null?void 0:de.x)||0)-ge),M=(oe-12)/ee,L=V.filter(function(f){var C;return(C=re[f])===null||C===void 0||(C=C.children)===null||C===void 0?void 0:C.length}),xe=(0,d.Z)(re,_.eventKey);if(Re<ke+Be/2){var Me=fe.findIndex(function(f){return f.key===xe.key}),we=Me<=0?0:Me-1,Tt=fe[we].key;xe=(0,d.Z)(re,Tt)}var ut=xe.key,Rt=xe,He=xe.key,bt=0,vt=0;if(!L.includes(ut))for(var Mt=0;Mt<M&&be(xe);Mt+=1)xe=xe.parent,vt+=1;var Ut=B.data,R=xe.node,h=!0;return ce(xe)&&xe.level===0&&Re<ke+Be/2&&Z({dragNode:Ut,dropNode:R,dropPosition:-1})&&xe.key===_.eventKey?bt=-1:(Rt.children||[]).length&&L.includes(He)?Z({dragNode:Ut,dropNode:R,dropPosition:0})?bt=0:h=!1:vt===0?M>-1.5?Z({dragNode:Ut,dropNode:R,dropPosition:1})?bt=1:h=!1:Z({dragNode:Ut,dropNode:R,dropPosition:0})?bt=0:Z({dragNode:Ut,dropNode:R,dropPosition:1})?bt=1:h=!1:Z({dragNode:Ut,dropNode:R,dropPosition:1})?bt=1:h=!1,{dropPosition:bt,dropLevelOffset:vt,dropTargetKey:xe.key,dropTargetPos:xe.pos,dragOverNodeKey:He,dropContainerKey:bt===0?null:((ne=xe.parent)===null||ne===void 0?void 0:ne.key)||null,dropAllowed:h}}function te(P,B){if(P){var _=B.multiple;return _?P.slice():P.length?[P[0]]:P}}var X=function(B){return B};function q(P,B){if(!P)return[];var _=B||{},ee=_.processProps,de=ee===void 0?X:ee,Z=Array.isArray(P)?P:[P];return Z.map(function(fe){var re=fe.children,V=_objectWithoutProperties(fe,H),le=q(re,B);return React.createElement(TreeNode,_extends({key:V.key},de(V)),le)})}function W(P){if(!P)return null;var B;if(Array.isArray(P))B={checkedKeys:P,halfCheckedKeys:void 0};else if((0,E.Z)(P)==="object")B={checkedKeys:P.checked||void 0,halfCheckedKeys:P.halfChecked||void 0};else return(0,m.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return B}function Y(P,B){var _=new Set;function ee(de){if(!_.has(de)){var Z=(0,d.Z)(B,de);if(Z){_.add(de);var fe=Z.parent,re=Z.node;re.disabled||fe&&ee(fe.key)}}}return(P||[]).forEach(function(de){ee(de)}),(0,u.Z)(_)}},34643:function(x,c,r){"use strict";r.d(c,{S:function(){return N}});var u=r(48736),E=r(65065);function m(H,O){var I=new Set;return H.forEach(function(ie){O.has(ie)||I.add(ie)}),I}function b(H){var O=H||{},I=O.disabled,ie=O.disableCheckbox,G=O.checkable;return!!(I||ie)||G===!1}function k(H,O,I,ie){for(var G=new Set(H),be=new Set,ce=0;ce<=I;ce+=1){var ue=O.get(ce)||new Set;ue.forEach(function(W){var Y=W.key,P=W.node,B=W.children,_=B===void 0?[]:B;G.has(Y)&&!ie(P)&&_.filter(function(ee){return!ie(ee.node)}).forEach(function(ee){G.add(ee.key)})})}for(var te=new Set,X=I;X>=0;X-=1){var q=O.get(X)||new Set;q.forEach(function(W){var Y=W.parent,P=W.node;if(!(ie(P)||!W.parent||te.has(W.parent.key))){if(ie(W.parent.node)){te.add(Y.key);return}var B=!0,_=!1;(Y.children||[]).filter(function(ee){return!ie(ee.node)}).forEach(function(ee){var de=ee.key,Z=G.has(de);B&&!Z&&(B=!1),!_&&(Z||be.has(de))&&(_=!0)}),B&&G.add(Y.key),_&&be.add(Y.key),te.add(Y.key)}})}return{checkedKeys:Array.from(G),halfCheckedKeys:Array.from(m(be,G))}}function d(H,O,I,ie,G){for(var be=new Set(H),ce=new Set(O),ue=0;ue<=ie;ue+=1){var te=I.get(ue)||new Set;te.forEach(function(Y){var P=Y.key,B=Y.node,_=Y.children,ee=_===void 0?[]:_;!be.has(P)&&!ce.has(P)&&!G(B)&&ee.filter(function(de){return!G(de.node)}).forEach(function(de){be.delete(de.key)})})}ce=new Set;for(var X=new Set,q=ie;q>=0;q-=1){var W=I.get(q)||new Set;W.forEach(function(Y){var P=Y.parent,B=Y.node;if(!(G(B)||!Y.parent||X.has(Y.parent.key))){if(G(Y.parent.node)){X.add(P.key);return}var _=!0,ee=!1;(P.children||[]).filter(function(de){return!G(de.node)}).forEach(function(de){var Z=de.key,fe=be.has(Z);_&&!fe&&(_=!1),!ee&&(fe||ce.has(Z))&&(ee=!0)}),_||be.delete(P.key),ee&&ce.add(P.key),X.add(P.key)}})}return{checkedKeys:Array.from(be),halfCheckedKeys:Array.from(m(ce,be))}}function N(H,O,I,ie){var G=[],be;ie?be=ie:be=b;var ce=new Set(H.filter(function(q){var W=!!(0,E.Z)(I,q);return W||G.push(q),W})),ue=new Map,te=0;Object.keys(I).forEach(function(q){var W=I[q],Y=W.level,P=ue.get(Y);P||(P=new Set,ue.set(Y,P)),P.add(W),te=Math.max(te,Y)}),(0,u.ZP)(!G.length,"Tree missing follow keys: ".concat(G.slice(0,100).map(function(q){return"'".concat(q,"'")}).join(", ")));var X;return O===!0?X=k(ce,ue,te,be):X=d(ce,O.halfCheckedKeys,ue,te,be),X}},65065:function(x,c,r){"use strict";r.d(c,{Z:function(){return u}});function u(E,m){return E[m]}},34061:function(x,c,r){"use strict";r.d(c,{F:function(){return Y},H8:function(){return W},I8:function(){return q},km:function(){return G},oH:function(){return te},w$:function(){return be},zn:function(){return ue}});var u=r(34666),E=r(3300),m=r(27247),b=r(43079),k=r(11592),d=r(2738),N=r(48736),H=r(65065),O=["children"];function I(P,B){return"".concat(P,"-").concat(B)}function ie(P){return P&&P.type&&P.type.isTreeNode}function G(P,B){return P!=null?P:B}function be(P){var B=P||{},_=B.title,ee=B._title,de=B.key,Z=B.children,fe=_||"title";return{title:fe,_title:ee||[fe],key:de||"key",children:Z||"children"}}function ce(P,B){var _=new Map;function ee(de){var Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(de||[]).forEach(function(fe){var re=fe[B.key],V=fe[B.children];warning(re!=null,"Tree node must have a certain key: [".concat(Z).concat(re,"]"));var le=String(re);warning(!_.has(le)||re===null||re===void 0,"Same 'key' exist in the Tree: ".concat(le)),_.set(le,!0),ee(V,"".concat(Z).concat(le," > "))})}ee(P)}function ue(P){function B(_){var ee=(0,k.Z)(_);return ee.map(function(de){if(!ie(de))return(0,N.ZP)(!de,"Tree/TreeNode can only accept TreeNode as children."),null;var Z=de.key,fe=de.props,re=fe.children,V=(0,b.Z)(fe,O),le=(0,m.Z)({key:Z},V),ne=B(re);return ne.length&&(le.children=ne),le}).filter(function(de){return de})}return B(P)}function te(P,B,_){var ee=be(_),de=ee._title,Z=ee.key,fe=ee.children,re=new Set(B===!0?[]:B),V=[];function le(ne){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return ne.map(function(Re,Ie){for(var ke=I(ge?ge.pos:"0",Ie),Be=G(Re[Z],ke),oe,M=0;M<de.length;M+=1){var L=de[M];if(Re[L]!==void 0){oe=Re[L];break}}var xe=Object.assign((0,d.Z)(Re,[].concat((0,E.Z)(de),[Z,fe])),{title:oe,key:Be,parent:ge,pos:ke,children:null,data:Re,isStart:[].concat((0,E.Z)(ge?ge.isStart:[]),[Ie===0]),isEnd:[].concat((0,E.Z)(ge?ge.isEnd:[]),[Ie===ne.length-1])});return V.push(xe),B===!0||re.has(Be)?xe.children=le(Re[fe]||[],xe):xe.children=[],xe})}return le(P),V}function X(P,B,_){var ee={};(0,u.Z)(_)==="object"?ee=_:ee={externalGetKey:_},ee=ee||{};var de=ee,Z=de.childrenPropName,fe=de.externalGetKey,re=de.fieldNames,V=be(re),le=V.key,ne=V.children,ge=Z||ne,Re;fe?typeof fe=="string"?Re=function(Be){return Be[fe]}:typeof fe=="function"&&(Re=function(Be){return fe(Be)}):Re=function(Be,oe){return G(Be[le],oe)};function Ie(ke,Be,oe,M){var L=ke?ke[ge]:P,xe=ke?I(oe.pos,Be):"0",Me=ke?[].concat((0,E.Z)(M),[ke]):[];if(ke){var we=Re(ke,xe),Tt={node:ke,index:Be,pos:xe,key:we,parentPos:oe.node?oe.pos:null,level:oe.level+1,nodes:Me};B(Tt)}L&&L.forEach(function(ut,Rt){Ie(ut,Rt,{node:ke,pos:xe,level:oe?oe.level+1:-1},Me)})}Ie(null)}function q(P){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_=B.initWrapper,ee=B.processEntity,de=B.onProcessFinished,Z=B.externalGetKey,fe=B.childrenPropName,re=B.fieldNames,V=arguments.length>2?arguments[2]:void 0,le=Z||V,ne={},ge={},Re={posEntities:ne,keyEntities:ge};return _&&(Re=_(Re)||Re),X(P,function(Ie){var ke=Ie.node,Be=Ie.index,oe=Ie.pos,M=Ie.key,L=Ie.parentPos,xe=Ie.level,Me=Ie.nodes,we={node:ke,nodes:Me,index:Be,key:M,pos:oe,level:xe},Tt=G(M,oe);ne[oe]=we,ge[Tt]=we,we.parent=ne[L],we.parent&&(we.parent.children=we.parent.children||[],we.parent.children.push(we)),ee&&ee(we,Re)},{externalGetKey:le,childrenPropName:fe,fieldNames:re}),de&&de(Re),Re}function W(P,B){var _=B.expandedKeys,ee=B.selectedKeys,de=B.loadedKeys,Z=B.loadingKeys,fe=B.checkedKeys,re=B.halfCheckedKeys,V=B.dragOverNodeKey,le=B.dropPosition,ne=B.keyEntities,ge=(0,H.Z)(ne,P),Re={eventKey:P,expanded:_.indexOf(P)!==-1,selected:ee.indexOf(P)!==-1,loaded:de.indexOf(P)!==-1,loading:Z.indexOf(P)!==-1,checked:fe.indexOf(P)!==-1,halfChecked:re.indexOf(P)!==-1,pos:String(ge?ge.pos:""),dragOver:V===P&&le===0,dragOverGapTop:V===P&&le===-1,dragOverGapBottom:V===P&&le===1};return Re}function Y(P){var B=P.data,_=P.expanded,ee=P.selected,de=P.checked,Z=P.loaded,fe=P.loading,re=P.halfChecked,V=P.dragOver,le=P.dragOverGapTop,ne=P.dragOverGapBottom,ge=P.pos,Re=P.active,Ie=P.eventKey,ke=(0,m.Z)((0,m.Z)({},B),{},{expanded:_,selected:ee,checked:de,loaded:Z,loading:fe,halfChecked:re,dragOver:V,dragOverGapTop:le,dragOverGapBottom:ne,pos:ge,active:Re,key:Ie});return"props"in ke||Object.defineProperty(ke,"props",{get:function(){return(0,N.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),P}}),ke}},90472:function(x,c,r){"use strict";r.d(c,{Z:function(){return Ie}});var u=r(32855),E=r(33377),m=r(93912),b=r(83383),k=r(18881),d=r(85461),N=r(74430),H=r(59301),O=r(27247),I=r(43079),ie=r(34666),G=r(13932),be=r(68702),ce=r(3300),ue=r(92310),te=r.n(ue),X=r(26112),q=r(48736),W=function(ke,Be){if(ke&&Be){var oe=Array.isArray(Be)?Be:Be.split(","),M=ke.name||"",L=ke.type||"",xe=L.replace(/\/.*$/,"");return oe.some(function(Me){var we=Me.trim();if(/^\*(\/\*)?$/.test(Me))return!0;if(we.charAt(0)==="."){var Tt=M.toLowerCase(),ut=we.toLowerCase(),Rt=[ut];return(ut===".jpg"||ut===".jpeg")&&(Rt=[".jpg",".jpeg"]),Rt.some(function(He){return Tt.endsWith(He)})}return/\/\*$/.test(we)?xe===we.replace(/\/.*$/,""):L===we?!0:/^\w+$/.test(we)?((0,q.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(we,"'.Skip for check.")),!0):!1})}return!0};function Y(ke,Be){var oe="cannot ".concat(ke.method," ").concat(ke.action," ").concat(Be.status,"'"),M=new Error(oe);return M.status=Be.status,M.method=ke.method,M.url=ke.action,M}function P(ke){var Be=ke.responseText||ke.response;if(!Be)return Be;try{return JSON.parse(Be)}catch(oe){return Be}}function B(ke){var Be=new XMLHttpRequest;ke.onProgress&&Be.upload&&(Be.upload.onprogress=function(xe){xe.total>0&&(xe.percent=xe.loaded/xe.total*100),ke.onProgress(xe)});var oe=new FormData;ke.data&&Object.keys(ke.data).forEach(function(L){var xe=ke.data[L];if(Array.isArray(xe)){xe.forEach(function(Me){oe.append("".concat(L,"[]"),Me)});return}oe.append(L,xe)}),ke.file instanceof Blob?oe.append(ke.filename,ke.file,ke.file.name):oe.append(ke.filename,ke.file),Be.onerror=function(xe){ke.onError(xe)},Be.onload=function(){return Be.status<200||Be.status>=300?ke.onError(Y(ke,Be),P(Be)):ke.onSuccess(P(Be),Be)},Be.open(ke.method,ke.action,!0),ke.withCredentials&&"withCredentials"in Be&&(Be.withCredentials=!0);var M=ke.headers||{};return M["X-Requested-With"]!==null&&Be.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(M).forEach(function(L){M[L]!==null&&Be.setRequestHeader(L,M[L])}),Be.send(oe),{abort:function(){Be.abort()}}}var _=function(){var ke=(0,be.Z)((0,G.Z)().mark(function Be(oe,M){var L,xe,Me,we,Tt,ut,Rt,He;return(0,G.Z)().wrap(function(vt){for(;;)switch(vt.prev=vt.next){case 0:ut=function(){return ut=(0,be.Z)((0,G.Z)().mark(function Ut(R){return(0,G.Z)().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.abrupt("return",new Promise(function(C){R.file(function(D){M(D)?(R.fullPath&&!D.webkitRelativePath&&(Object.defineProperties(D,{webkitRelativePath:{writable:!0}}),D.webkitRelativePath=R.fullPath.replace(/^\//,""),Object.defineProperties(D,{webkitRelativePath:{writable:!1}})),C(D)):C(null)})}));case 1:case"end":return f.stop()}},Ut)})),ut.apply(this,arguments)},Tt=function(Ut){return ut.apply(this,arguments)},we=function(){return we=(0,be.Z)((0,G.Z)().mark(function Ut(R){var h,f,C,D,v;return(0,G.Z)().wrap(function(Ne){for(;;)switch(Ne.prev=Ne.next){case 0:h=R.createReader(),f=[];case 2:return Ne.next=5,new Promise(function(ot){h.readEntries(ot,function(){return ot([])})});case 5:if(C=Ne.sent,D=C.length,D){Ne.next=9;break}return Ne.abrupt("break",12);case 9:for(v=0;v<D;v++)f.push(C[v]);Ne.next=2;break;case 12:return Ne.abrupt("return",f);case 13:case"end":return Ne.stop()}},Ut)})),we.apply(this,arguments)},Me=function(Ut){return we.apply(this,arguments)},L=[],xe=[],oe.forEach(function(Mt){return xe.push(Mt.webkitGetAsEntry())}),Rt=function(){var Mt=(0,be.Z)((0,G.Z)().mark(function Ut(R,h){var f,C;return(0,G.Z)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:if(R){v.next=2;break}return v.abrupt("return");case 2:if(R.path=h||"",!R.isFile){v.next=10;break}return v.next=6,Tt(R);case 6:f=v.sent,f&&L.push(f),v.next=15;break;case 10:if(!R.isDirectory){v.next=15;break}return v.next=13,Me(R);case 13:C=v.sent,xe.push.apply(xe,(0,ce.Z)(C));case 15:case"end":return v.stop()}},Ut)}));return function(R,h){return Mt.apply(this,arguments)}}(),He=0;case 9:if(!(He<xe.length)){vt.next=15;break}return vt.next=12,Rt(xe[He]);case 12:He++,vt.next=9;break;case 15:return vt.abrupt("return",L);case 16:case"end":return vt.stop()}},Be)}));return function(oe,M){return ke.apply(this,arguments)}}(),ee=_,de=+new Date,Z=0;function fe(){return"rc-upload-".concat(de,"-").concat(++Z)}var re=["component","prefixCls","className","classNames","disabled","id","name","style","styles","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","hasControlInside"],V=function(ke){(0,k.Z)(oe,ke);var Be=(0,d.Z)(oe);function oe(){var M;(0,E.Z)(this,oe);for(var L=arguments.length,xe=new Array(L),Me=0;Me<L;Me++)xe[Me]=arguments[Me];return M=Be.call.apply(Be,[this].concat(xe)),(0,N.Z)((0,b.Z)(M),"state",{uid:fe()}),(0,N.Z)((0,b.Z)(M),"reqs",{}),(0,N.Z)((0,b.Z)(M),"fileInput",void 0),(0,N.Z)((0,b.Z)(M),"_isMounted",void 0),(0,N.Z)((0,b.Z)(M),"onChange",function(we){var Tt=M.props,ut=Tt.accept,Rt=Tt.directory,He=we.target.files,bt=(0,ce.Z)(He).filter(function(vt){return!Rt||W(vt,ut)});M.uploadFiles(bt),M.reset()}),(0,N.Z)((0,b.Z)(M),"onClick",function(we){var Tt=M.fileInput;if(Tt){var ut=we.target,Rt=M.props.onClick;if(ut&&ut.tagName==="BUTTON"){var He=Tt.parentNode;He.focus(),ut.blur()}Tt.click(),Rt&&Rt(we)}}),(0,N.Z)((0,b.Z)(M),"onKeyDown",function(we){we.key==="Enter"&&M.onClick(we)}),(0,N.Z)((0,b.Z)(M),"onFileDrop",function(){var we=(0,be.Z)((0,G.Z)().mark(function Tt(ut){var Rt,He,bt;return(0,G.Z)().wrap(function(Mt){for(;;)switch(Mt.prev=Mt.next){case 0:if(Rt=M.props.multiple,ut.preventDefault(),ut.type!=="dragover"){Mt.next=4;break}return Mt.abrupt("return");case 4:if(!M.props.directory){Mt.next=11;break}return Mt.next=7,ee(Array.prototype.slice.call(ut.dataTransfer.items),function(Ut){return W(Ut,M.props.accept)});case 7:He=Mt.sent,M.uploadFiles(He),Mt.next=14;break;case 11:bt=(0,ce.Z)(ut.dataTransfer.files).filter(function(Ut){return W(Ut,M.props.accept)}),Rt===!1&&(bt=bt.slice(0,1)),M.uploadFiles(bt);case 14:case"end":return Mt.stop()}},Tt)}));return function(Tt){return we.apply(this,arguments)}}()),(0,N.Z)((0,b.Z)(M),"uploadFiles",function(we){var Tt=(0,ce.Z)(we),ut=Tt.map(function(Rt){return Rt.uid=fe(),M.processFile(Rt,Tt)});Promise.all(ut).then(function(Rt){var He=M.props.onBatchStart;He==null||He(Rt.map(function(bt){var vt=bt.origin,Mt=bt.parsedFile;return{file:vt,parsedFile:Mt}})),Rt.filter(function(bt){return bt.parsedFile!==null}).forEach(function(bt){M.post(bt)})})}),(0,N.Z)((0,b.Z)(M),"processFile",function(){var we=(0,be.Z)((0,G.Z)().mark(function Tt(ut,Rt){var He,bt,vt,Mt,Ut,R,h,f,C;return(0,G.Z)().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:if(He=M.props.beforeUpload,bt=ut,!He){v.next=14;break}return v.prev=3,v.next=6,He(ut,Rt);case 6:bt=v.sent,v.next=12;break;case 9:v.prev=9,v.t0=v.catch(3),bt=!1;case 12:if(bt!==!1){v.next=14;break}return v.abrupt("return",{origin:ut,parsedFile:null,action:null,data:null});case 14:if(vt=M.props.action,typeof vt!="function"){v.next=21;break}return v.next=18,vt(ut);case 18:Mt=v.sent,v.next=22;break;case 21:Mt=vt;case 22:if(Ut=M.props.data,typeof Ut!="function"){v.next=29;break}return v.next=26,Ut(ut);case 26:R=v.sent,v.next=30;break;case 29:R=Ut;case 30:return h=((0,ie.Z)(bt)==="object"||typeof bt=="string")&&bt?bt:ut,h instanceof File?f=h:f=new File([h],ut.name,{type:ut.type}),C=f,C.uid=ut.uid,v.abrupt("return",{origin:ut,data:R,parsedFile:C,action:Mt});case 35:case"end":return v.stop()}},Tt,null,[[3,9]])}));return function(Tt,ut){return we.apply(this,arguments)}}()),(0,N.Z)((0,b.Z)(M),"saveFileInput",function(we){M.fileInput=we}),M}return(0,m.Z)(oe,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(L){var xe=this,Me=L.data,we=L.origin,Tt=L.action,ut=L.parsedFile;if(this._isMounted){var Rt=this.props,He=Rt.onStart,bt=Rt.customRequest,vt=Rt.name,Mt=Rt.headers,Ut=Rt.withCredentials,R=Rt.method,h=we.uid,f=bt||B,C={action:Tt,filename:vt,data:Me,file:ut,headers:Mt,withCredentials:Ut,method:R||"post",onProgress:function(v){var U=xe.props.onProgress;U==null||U(v,ut)},onSuccess:function(v,U){var Ne=xe.props.onSuccess;Ne==null||Ne(v,ut,U),delete xe.reqs[h]},onError:function(v,U){var Ne=xe.props.onError;Ne==null||Ne(v,U,ut),delete xe.reqs[h]}};He(we),this.reqs[h]=f(C)}}},{key:"reset",value:function(){this.setState({uid:fe()})}},{key:"abort",value:function(L){var xe=this.reqs;if(L){var Me=L.uid?L.uid:L;xe[Me]&&xe[Me].abort&&xe[Me].abort(),delete xe[Me]}else Object.keys(xe).forEach(function(we){xe[we]&&xe[we].abort&&xe[we].abort(),delete xe[we]})}},{key:"render",value:function(){var L=this.props,xe=L.component,Me=L.prefixCls,we=L.className,Tt=L.classNames,ut=Tt===void 0?{}:Tt,Rt=L.disabled,He=L.id,bt=L.name,vt=L.style,Mt=L.styles,Ut=Mt===void 0?{}:Mt,R=L.multiple,h=L.accept,f=L.capture,C=L.children,D=L.directory,v=L.openFileDialogOnClick,U=L.onMouseEnter,Ne=L.onMouseLeave,ot=L.hasControlInside,lt=(0,I.Z)(L,re),Se=te()((0,N.Z)((0,N.Z)((0,N.Z)({},Me,!0),"".concat(Me,"-disabled"),Rt),we,we)),Fe=D?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},Pe=Rt?{}:{onClick:v?this.onClick:function(){},onKeyDown:v?this.onKeyDown:function(){},onMouseEnter:U,onMouseLeave:Ne,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:ot?void 0:"0"};return H.createElement(xe,(0,u.Z)({},Pe,{className:Se,role:ot?void 0:"button",style:vt}),H.createElement("input",(0,u.Z)({},(0,X.Z)(lt,{aria:!0,data:!0}),{id:He,name:bt,disabled:Rt,type:"file",ref:this.saveFileInput,onClick:function(ct){return ct.stopPropagation()},key:this.state.uid,style:(0,O.Z)({display:"none"},Ut.input),className:ut.input,accept:h},Fe,{multiple:R,onChange:this.onChange},f!=null?{capture:f}:{})),C)}}]),oe}(H.Component),le=V;function ne(){}var ge=function(ke){(0,k.Z)(oe,ke);var Be=(0,d.Z)(oe);function oe(){var M;(0,E.Z)(this,oe);for(var L=arguments.length,xe=new Array(L),Me=0;Me<L;Me++)xe[Me]=arguments[Me];return M=Be.call.apply(Be,[this].concat(xe)),(0,N.Z)((0,b.Z)(M),"uploader",void 0),(0,N.Z)((0,b.Z)(M),"saveUploader",function(we){M.uploader=we}),M}return(0,m.Z)(oe,[{key:"abort",value:function(L){this.uploader.abort(L)}},{key:"render",value:function(){return H.createElement(le,(0,u.Z)({},this.props,{ref:this.saveUploader}))}}]),oe}(H.Component);(0,N.Z)(ge,"defaultProps",{component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:ne,onError:ne,onSuccess:ne,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0,hasControlInside:!1});var Re=ge,Ie=Re},8224:function(x,c,r){"use strict";r.d(c,{Z:function(){return E}});var u=r(4676);function E(m,b,k,d){var N=u.unstable_batchedUpdates?function(O){u.unstable_batchedUpdates(k,O)}:k;return m!=null&&m.addEventListener&&m.addEventListener(b,N,d),{remove:function(){m!=null&&m.removeEventListener&&m.removeEventListener(b,N,d)}}}},24514:function(x,c,r){"use strict";r.d(c,{G:function(){return b}});var u=r(47273),E=function(d){if((0,u.Z)()&&window.document.documentElement){var N=Array.isArray(d)?d:[d],H=window.document.documentElement;return N.some(function(O){return O in H.style})}return!1},m=function(d,N){if(!E(d))return!1;var H=document.createElement("div"),O=H.style[d];return H.style[d]=N,H.style[d]!==O};function b(k,d){return!Array.isArray(k)&&d!==void 0?m(k,d):E(k)}},6790:function(x,c,r){"use strict";r.d(c,{Z:function(){return Ut}});var u=r(32855),E=r(34666),m=r(27247),b=r(74430),k=r(11913),d=r(43079),N=r(92310),H=r.n(N),O=r(29301),I=r(70425),ie=r(34280),G=r(59301),be=r(4676),ce=G.forwardRef(function(R,h){var f=R.height,C=R.offsetY,D=R.offsetX,v=R.children,U=R.prefixCls,Ne=R.onInnerResize,ot=R.innerProps,lt=R.rtl,Se=R.extra,Fe={},Pe={display:"flex",flexDirection:"column"};return C!==void 0&&(Fe={height:f,position:"relative",overflow:"hidden"},Pe=(0,m.Z)((0,m.Z)({},Pe),{},(0,b.Z)((0,b.Z)((0,b.Z)((0,b.Z)((0,b.Z)({transform:"translateY(".concat(C,"px)")},lt?"marginRight":"marginLeft",-D),"position","absolute"),"left",0),"right",0),"top",0))),G.createElement("div",{style:Fe},G.createElement(O.Z,{onResize:function(ct){var Ge=ct.offsetHeight;Ge&&Ne&&Ne()}},G.createElement("div",(0,u.Z)({style:Pe,className:H()((0,b.Z)({},"".concat(U,"-holder-inner"),U)),ref:h},ot),v,Se)))});ce.displayName="Filler";var ue=ce;function te(R){var h=R.children,f=R.setRef,C=G.useCallback(function(D){f(D)},[]);return G.cloneElement(h,{ref:C})}function X(R,h,f,C,D,v,U,Ne){var ot=Ne.getKey;return R.slice(h,f+1).map(function(lt,Se){var Fe=h+Se,Pe=U(lt,Fe,{style:{width:C},offsetX:D}),Qe=ot(lt);return G.createElement(te,{key:Qe,setRef:function(Ge){return v(lt,Ge)}},Pe)})}function q(R,h,f,C){var D=f-R,v=h-f,U=Math.min(D,v)*2;if(C<=U){var Ne=Math.floor(C/2);return C%2?f+Ne+1:f-Ne}return D>v?f-(C-v):f+(C-D)}function W(R,h,f){var C=R.length,D=h.length,v,U;if(C===0&&D===0)return null;C<D?(v=R,U=h):(v=h,U=R);var Ne={__EMPTY_ITEM__:!0};function ot(ct){return ct!==void 0?f(ct):Ne}for(var lt=null,Se=Math.abs(C-D)!==1,Fe=0;Fe<U.length;Fe+=1){var Pe=ot(v[Fe]),Qe=ot(U[Fe]);if(Pe!==Qe){lt=Fe,Se=Se||Pe!==ot(U[Fe+1]);break}}return lt===null?null:{index:lt,multiple:Se}}function Y(R,h,f){var C=G.useState(R),D=(0,k.Z)(C,2),v=D[0],U=D[1],Ne=G.useState(null),ot=(0,k.Z)(Ne,2),lt=ot[0],Se=ot[1];return G.useEffect(function(){var Fe=W(v||[],R||[],h);(Fe==null?void 0:Fe.index)!==void 0&&(f==null||f(Fe.index),Se(R[Fe.index])),U(R)},[R]),[lt]}var P=r(16089),B=(typeof navigator=="undefined"?"undefined":(0,E.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),_=B,ee=function(R,h,f,C){var D=(0,G.useRef)(!1),v=(0,G.useRef)(null);function U(){clearTimeout(v.current),D.current=!0,v.current=setTimeout(function(){D.current=!1},50)}var Ne=(0,G.useRef)({top:R,bottom:h,left:f,right:C});return Ne.current.top=R,Ne.current.bottom=h,Ne.current.left=f,Ne.current.right=C,function(ot,lt){var Se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Fe=ot?lt<0&&Ne.current.left||lt>0&&Ne.current.right:lt<0&&Ne.current.top||lt>0&&Ne.current.bottom;return Se&&Fe?(clearTimeout(v.current),D.current=!1):(!Fe||D.current)&&U(),!D.current&&Fe}};function de(R,h,f,C,D,v,U){var Ne=(0,G.useRef)(0),ot=(0,G.useRef)(null),lt=(0,G.useRef)(null),Se=(0,G.useRef)(!1),Fe=ee(h,f,C,D);function Pe(rt,$e){if(P.Z.cancel(ot.current),!Fe(!1,$e)){var et=rt;if(!et._virtualHandled)et._virtualHandled=!0;else return;Ne.current+=$e,lt.current=$e,_||et.preventDefault(),ot.current=(0,P.Z)(function(){var It=Se.current?10:1;U(Ne.current*It,!1),Ne.current=0})}}function Qe(rt,$e){U($e,!0),_||rt.preventDefault()}var ct=(0,G.useRef)(null),Ge=(0,G.useRef)(null);function pe(rt){if(R){P.Z.cancel(Ge.current),Ge.current=(0,P.Z)(function(){ct.current=null},2);var $e=rt.deltaX,et=rt.deltaY,It=rt.shiftKey,tt=$e,Q=et;(ct.current==="sx"||!ct.current&&It&&et&&!$e)&&(tt=et,Q=0,ct.current="sx");var Et=Math.abs(tt),At=Math.abs(Q);ct.current===null&&(ct.current=v&&Et>At?"x":"y"),ct.current==="y"?Pe(rt,Q):Qe(rt,tt)}}function Je(rt){R&&(Se.current=rt.detail===lt.current)}return[pe,Je]}function Z(R,h,f,C){var D=G.useMemo(function(){return[new Map,[]]},[R,f.id,C]),v=(0,k.Z)(D,2),U=v[0],Ne=v[1],ot=function(Se){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Se,Pe=U.get(Se),Qe=U.get(Fe);if(Pe===void 0||Qe===void 0)for(var ct=R.length,Ge=Ne.length;Ge<ct;Ge+=1){var pe,Je=R[Ge],rt=h(Je);U.set(rt,Ge);var $e=(pe=f.get(rt))!==null&&pe!==void 0?pe:C;if(Ne[Ge]=(Ne[Ge-1]||0)+$e,rt===Se&&(Pe=Ge),rt===Fe&&(Qe=Ge),Pe!==void 0&&Qe!==void 0)break}return{top:Ne[Pe-1]||0,bottom:Ne[Qe]}};return ot}var fe=r(33377),re=r(93912),V=function(){function R(){(0,fe.Z)(this,R),(0,b.Z)(this,"maps",void 0),(0,b.Z)(this,"id",0),(0,b.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,re.Z)(R,[{key:"set",value:function(f,C){this.diffRecords.set(f,this.maps[f]),this.maps[f]=C,this.id+=1}},{key:"get",value:function(f){return this.maps[f]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),R}(),le=V;function ne(R){var h=parseFloat(R);return isNaN(h)?0:h}function ge(R,h,f){var C=G.useState(0),D=(0,k.Z)(C,2),v=D[0],U=D[1],Ne=(0,G.useRef)(new Map),ot=(0,G.useRef)(new le),lt=(0,G.useRef)(0);function Se(){lt.current+=1}function Fe(){var Qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Se();var ct=function(){var Je=!1;Ne.current.forEach(function(rt,$e){if(rt&&rt.offsetParent){var et=rt.offsetHeight,It=getComputedStyle(rt),tt=It.marginTop,Q=It.marginBottom,Et=ne(tt),At=ne(Q),ye=et+Et+At;ot.current.get($e)!==ye&&(ot.current.set($e,ye),Je=!0)}}),Je&&U(function(rt){return rt+1})};if(Qe)ct();else{lt.current+=1;var Ge=lt.current;Promise.resolve().then(function(){Ge===lt.current&&ct()})}}function Pe(Qe,ct){var Ge=R(Qe),pe=Ne.current.get(Ge);ct?(Ne.current.set(Ge,ct),Fe()):Ne.current.delete(Ge),!pe!=!ct&&(ct?h==null||h(Qe):f==null||f(Qe))}return(0,G.useEffect)(function(){return Se},[]),[Pe,Fe,ot.current,v]}var Re=14/15;function Ie(R,h,f){var C=(0,G.useRef)(!1),D=(0,G.useRef)(0),v=(0,G.useRef)(0),U=(0,G.useRef)(null),Ne=(0,G.useRef)(null),ot,lt=function(Qe){if(C.current){var ct=Math.ceil(Qe.touches[0].pageX),Ge=Math.ceil(Qe.touches[0].pageY),pe=D.current-ct,Je=v.current-Ge,rt=Math.abs(pe)>Math.abs(Je);rt?D.current=ct:v.current=Ge;var $e=f(rt,rt?pe:Je,!1,Qe);$e&&Qe.preventDefault(),clearInterval(Ne.current),$e&&(Ne.current=setInterval(function(){rt?pe*=Re:Je*=Re;var et=Math.floor(rt?pe:Je);(!f(rt,et,!0)||Math.abs(et)<=.1)&&clearInterval(Ne.current)},16))}},Se=function(){C.current=!1,ot()},Fe=function(Qe){ot(),Qe.touches.length===1&&!C.current&&(C.current=!0,D.current=Math.ceil(Qe.touches[0].pageX),v.current=Math.ceil(Qe.touches[0].pageY),U.current=Qe.target,U.current.addEventListener("touchmove",lt,{passive:!1}),U.current.addEventListener("touchend",Se,{passive:!0}))};ot=function(){U.current&&(U.current.removeEventListener("touchmove",lt),U.current.removeEventListener("touchend",Se))},(0,ie.Z)(function(){return R&&h.current.addEventListener("touchstart",Fe,{passive:!0}),function(){var Pe;(Pe=h.current)===null||Pe===void 0||Pe.removeEventListener("touchstart",Fe),ot(),clearInterval(Ne.current)}},[R])}function ke(R){return Math.floor(Math.pow(R,.5))}function Be(R,h){var f="touches"in R?R.touches[0]:R;return f[h?"pageX":"pageY"]-window[h?"scrollX":"scrollY"]}function oe(R,h,f){G.useEffect(function(){var C=h.current;if(R&&C){var D=!1,v,U,Ne=function(){P.Z.cancel(v)},ot=function Pe(){Ne(),v=(0,P.Z)(function(){f(U),Pe()})},lt=function(Qe){if(!(Qe.target.draggable||Qe.button!==0)){var ct=Qe;ct._virtualHandled||(ct._virtualHandled=!0,D=!0)}},Se=function(){D=!1,Ne()},Fe=function(Qe){if(D){var ct=Be(Qe,!1),Ge=C.getBoundingClientRect(),pe=Ge.top,Je=Ge.bottom;if(ct<=pe){var rt=pe-ct;U=-ke(rt),ot()}else if(ct>=Je){var $e=ct-Je;U=ke($e),ot()}else Ne()}};return C.addEventListener("mousedown",lt),C.ownerDocument.addEventListener("mouseup",Se),C.ownerDocument.addEventListener("mousemove",Fe),function(){C.removeEventListener("mousedown",lt),C.ownerDocument.removeEventListener("mouseup",Se),C.ownerDocument.removeEventListener("mousemove",Fe),Ne()}}},[R])}var M=10;function L(R,h,f,C,D,v,U,Ne){var ot=G.useRef(),lt=G.useState(null),Se=(0,k.Z)(lt,2),Fe=Se[0],Pe=Se[1];return(0,ie.Z)(function(){if(Fe&&Fe.times<M){if(!R.current){Pe(function(gn){return(0,m.Z)({},gn)});return}v();var Qe=Fe.targetAlign,ct=Fe.originAlign,Ge=Fe.index,pe=Fe.offset,Je=R.current.clientHeight,rt=!1,$e=Qe,et=null;if(Je){for(var It=Qe||ct,tt=0,Q=0,Et=0,At=Math.min(h.length-1,Ge),ye=0;ye<=At;ye+=1){var Gt=D(h[ye]);Q=tt;var tn=f.get(Gt);Et=Q+(tn===void 0?C:tn),tt=Et}for(var Xt=It==="top"?pe:Je-pe,Ke=At;Ke>=0;Ke-=1){var bn=D(h[Ke]),cn=f.get(bn);if(cn===void 0){rt=!0;break}if(Xt-=cn,Xt<=0)break}switch(It){case"top":et=Q-pe;break;case"bottom":et=Et-Je+pe;break;default:{var Ht=R.current.scrollTop,Kt=Ht+Je;Q<Ht?$e="top":Et>Kt&&($e="bottom")}}et!==null&&U(et),et!==Fe.lastTop&&(rt=!0)}rt&&Pe((0,m.Z)((0,m.Z)({},Fe),{},{times:Fe.times+1,targetAlign:$e,lastTop:et}))}},[Fe,R.current]),function(Qe){if(Qe==null){Ne();return}if(P.Z.cancel(ot.current),typeof Qe=="number")U(Qe);else if(Qe&&(0,E.Z)(Qe)==="object"){var ct,Ge=Qe.align;"index"in Qe?ct=Qe.index:ct=h.findIndex(function(rt){return D(rt)===Qe.key});var pe=Qe.offset,Je=pe===void 0?0:pe;Pe({times:0,index:ct,offset:Je,originAlign:Ge})}}}var xe=G.forwardRef(function(R,h){var f=R.prefixCls,C=R.rtl,D=R.scrollOffset,v=R.scrollRange,U=R.onStartMove,Ne=R.onStopMove,ot=R.onScroll,lt=R.horizontal,Se=R.spinSize,Fe=R.containerSize,Pe=R.style,Qe=R.thumbStyle,ct=R.showScrollBar,Ge=G.useState(!1),pe=(0,k.Z)(Ge,2),Je=pe[0],rt=pe[1],$e=G.useState(null),et=(0,k.Z)($e,2),It=et[0],tt=et[1],Q=G.useState(null),Et=(0,k.Z)(Q,2),At=Et[0],ye=Et[1],Gt=!C,tn=G.useRef(),Xt=G.useRef(),Ke=G.useState(ct),bn=(0,k.Z)(Ke,2),cn=bn[0],Ht=bn[1],Kt=G.useRef(),gn=function(){ct===!0||ct===!1||(clearTimeout(Kt.current),Ht(!0),Kt.current=setTimeout(function(){Ht(!1)},3e3))},Vt=v-Fe||0,Ft=Fe-Se||0,Lt=G.useMemo(function(){if(D===0||Vt===0)return 0;var Ir=D/Vt;return Ir*Ft},[D,Vt,Ft]),Qt=function(Kn){Kn.stopPropagation(),Kn.preventDefault()},An=G.useRef({top:Lt,dragging:Je,pageY:It,startTop:At});An.current={top:Lt,dragging:Je,pageY:It,startTop:At};var Dn=function(Kn){rt(!0),tt(Be(Kn,lt)),ye(An.current.top),U(),Kn.stopPropagation(),Kn.preventDefault()};G.useEffect(function(){var Ir=function(zn){zn.preventDefault()},Kn=tn.current,Cn=Xt.current;return Kn.addEventListener("touchstart",Ir,{passive:!1}),Cn.addEventListener("touchstart",Dn,{passive:!1}),function(){Kn.removeEventListener("touchstart",Ir),Cn.removeEventListener("touchstart",Dn)}},[]);var ln=G.useRef();ln.current=Vt;var Lr=G.useRef();Lr.current=Ft,G.useEffect(function(){if(Je){var Ir,Kn=function(zn){var $t=An.current,On=$t.dragging,Or=$t.pageY,Mr=$t.startTop;P.Z.cancel(Ir);var De=tn.current.getBoundingClientRect(),Le=Fe/(lt?De.width:De.height);if(On){var Pt=(Be(zn,lt)-Or)*Le,wt=Mr;!Gt&&lt?wt-=Pt:wt+=Pt;var me=ln.current,St=Lr.current,_t=St?wt/St:0,Te=Math.ceil(_t*me);Te=Math.max(Te,0),Te=Math.min(Te,me),Ir=(0,P.Z)(function(){ot(Te,lt)})}},Cn=function(){rt(!1),Ne()};return window.addEventListener("mousemove",Kn,{passive:!0}),window.addEventListener("touchmove",Kn,{passive:!0}),window.addEventListener("mouseup",Cn,{passive:!0}),window.addEventListener("touchend",Cn,{passive:!0}),function(){window.removeEventListener("mousemove",Kn),window.removeEventListener("touchmove",Kn),window.removeEventListener("mouseup",Cn),window.removeEventListener("touchend",Cn),P.Z.cancel(Ir)}}},[Je]),G.useEffect(function(){return gn(),function(){clearTimeout(Kt.current)}},[D]),G.useImperativeHandle(h,function(){return{delayHidden:gn}});var Ln="".concat(f,"-scrollbar"),Vn={position:"absolute",visibility:cn?null:"hidden"},Ar={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return lt?(Object.assign(Vn,{height:8,left:0,right:0,bottom:0}),Object.assign(Ar,(0,b.Z)({height:"100%",width:Se},Gt?"left":"right",Lt))):(Object.assign(Vn,(0,b.Z)({width:8,top:0,bottom:0},Gt?"right":"left",0)),Object.assign(Ar,{width:"100%",height:Se,top:Lt})),G.createElement("div",{ref:tn,className:H()(Ln,(0,b.Z)((0,b.Z)((0,b.Z)({},"".concat(Ln,"-horizontal"),lt),"".concat(Ln,"-vertical"),!lt),"".concat(Ln,"-visible"),cn)),style:(0,m.Z)((0,m.Z)({},Vn),Pe),onMouseDown:Qt,onMouseMove:gn},G.createElement("div",{ref:Xt,className:H()("".concat(Ln,"-thumb"),(0,b.Z)({},"".concat(Ln,"-thumb-moving"),Je)),style:(0,m.Z)((0,m.Z)({},Ar),Qe),onMouseDown:Dn}))}),Me=xe,we=20;function Tt(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,f=R/h*R;return isNaN(f)&&(f=0),f=Math.max(f,we),Math.floor(f)}var ut=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Rt=[],He={overflowY:"auto",overflowAnchor:"none"};function bt(R,h){var f=R.prefixCls,C=f===void 0?"rc-virtual-list":f,D=R.className,v=R.height,U=R.itemHeight,Ne=R.fullHeight,ot=Ne===void 0?!0:Ne,lt=R.style,Se=R.data,Fe=R.children,Pe=R.itemKey,Qe=R.virtual,ct=R.direction,Ge=R.scrollWidth,pe=R.component,Je=pe===void 0?"div":pe,rt=R.onScroll,$e=R.onVirtualScroll,et=R.onVisibleChange,It=R.innerProps,tt=R.extraRender,Q=R.styles,Et=R.showScrollBar,At=Et===void 0?"optional":Et,ye=(0,d.Z)(R,ut),Gt=G.useCallback(function(Ve){return typeof Pe=="function"?Pe(Ve):Ve==null?void 0:Ve[Pe]},[Pe]),tn=ge(Gt,null,null),Xt=(0,k.Z)(tn,4),Ke=Xt[0],bn=Xt[1],cn=Xt[2],Ht=Xt[3],Kt=!!(Qe!==!1&&v&&U),gn=G.useMemo(function(){return Object.values(cn.maps).reduce(function(Ve,pt){return Ve+pt},0)},[cn.id,cn.maps]),Vt=Kt&&Se&&(Math.max(U*Se.length,gn)>v||!!Ge),Ft=ct==="rtl",Lt=H()(C,(0,b.Z)({},"".concat(C,"-rtl"),Ft),D),Qt=Se||Rt,An=(0,G.useRef)(),Dn=(0,G.useRef)(),ln=(0,G.useRef)(),Lr=(0,G.useState)(0),Ln=(0,k.Z)(Lr,2),Vn=Ln[0],Ar=Ln[1],Ir=(0,G.useState)(0),Kn=(0,k.Z)(Ir,2),Cn=Kn[0],Mn=Kn[1],zn=(0,G.useState)(!1),$t=(0,k.Z)(zn,2),On=$t[0],Or=$t[1],Mr=function(){Or(!0)},De=function(){Or(!1)},Le={getKey:Gt};function Pt(Ve){Ar(function(pt){var gt;typeof Ve=="function"?gt=Ve(pt):gt=Ve;var ht=_r(gt);return An.current.scrollTop=ht,ht})}var wt=(0,G.useRef)({start:0,end:Qt.length}),me=(0,G.useRef)(),St=Y(Qt,Gt),_t=(0,k.Z)(St,1),Te=_t[0];me.current=Te;var g=G.useMemo(function(){if(!Kt)return{scrollHeight:void 0,start:0,end:Qt.length-1,offset:void 0};if(!Vt){var Ve;return{scrollHeight:((Ve=Dn.current)===null||Ve===void 0?void 0:Ve.offsetHeight)||0,start:0,end:Qt.length-1,offset:void 0}}for(var pt=0,gt,ht,xt,Wt=Qt.length,sn=0;sn<Wt;sn+=1){var rn=Qt[sn],En=Gt(rn),Fn=cn.get(En),vn=pt+(Fn===void 0?U:Fn);vn>=Vn&&gt===void 0&&(gt=sn,ht=pt),vn>Vn+v&&xt===void 0&&(xt=sn),pt=vn}return gt===void 0&&(gt=0,ht=0,xt=Math.ceil(v/U)),xt===void 0&&(xt=Qt.length-1),xt=Math.min(xt+1,Qt.length-1),{scrollHeight:pt,start:gt,end:xt,offset:ht}},[Vt,Kt,Vn,Qt,Ht,v]),Yt=g.scrollHeight,Jt=g.start,ze=g.end,yn=g.offset;wt.current.start=Jt,wt.current.end=ze,G.useLayoutEffect(function(){var Ve=cn.getRecord();if(Ve.size===1){var pt=Array.from(Ve.keys())[0],gt=Ve.get(pt),ht=Qt[Jt];if(ht&&gt===void 0){var xt=Gt(ht);if(xt===pt){var Wt=cn.get(pt),sn=Wt-U;Pt(function(rn){return rn+sn})}}}cn.resetRecord()},[Yt]);var jt=G.useState({width:0,height:v}),dn=(0,k.Z)(jt,2),nn=dn[0],he=dn[1],mn=function(pt){he({width:pt.offsetWidth,height:pt.offsetHeight})},lr=(0,G.useRef)(),ur=(0,G.useRef)(),fr=G.useMemo(function(){return Tt(nn.width,Ge)},[nn.width,Ge]),pr=G.useMemo(function(){return Tt(nn.height,Yt)},[nn.height,Yt]),Zn=Yt-v,hr=(0,G.useRef)(Zn);hr.current=Zn;function _r(Ve){var pt=Ve;return Number.isNaN(hr.current)||(pt=Math.min(pt,hr.current)),pt=Math.max(pt,0),pt}var kr=Vn<=0,Rr=Vn>=Zn,zr=Cn<=0,Br=Cn>=Ge,gr=ee(kr,Rr,zr,Br),Gr=function(){return{x:Ft?-Cn:Cn,y:Vn}},Wr=(0,G.useRef)(Gr()),un=(0,I.zX)(function(Ve){if($e){var pt=(0,m.Z)((0,m.Z)({},Gr()),Ve);(Wr.current.x!==pt.x||Wr.current.y!==pt.y)&&($e(pt),Wr.current=pt)}});function Rn(Ve,pt){var gt=Ve;pt?((0,be.flushSync)(function(){Mn(gt)}),un()):Pt(gt)}function Pn(Ve){var pt=Ve.currentTarget.scrollTop;pt!==Vn&&Pt(pt),rt==null||rt(Ve),un()}var or=function(pt){var gt=pt,ht=Ge?Ge-nn.width:0;return gt=Math.max(gt,0),gt=Math.min(gt,ht),gt},mr=(0,I.zX)(function(Ve,pt){pt?((0,be.flushSync)(function(){Mn(function(gt){var ht=gt+(Ft?-Ve:Ve);return or(ht)})}),un()):Pt(function(gt){var ht=gt+Ve;return ht})}),Pr=de(Kt,kr,Rr,zr,Br,!!Ge,mr),sa=(0,k.Z)(Pr,2),Ee=sa[0],at=sa[1];Ie(Kt,An,function(Ve,pt,gt,ht){var xt=ht;return gr(Ve,pt,gt)?!1:!xt||!xt._virtualHandled?(xt&&(xt._virtualHandled=!0),Ee({preventDefault:function(){},deltaX:Ve?pt:0,deltaY:Ve?0:pt}),!0):!1}),oe(Vt,An,function(Ve){Pt(function(pt){return pt+Ve})}),(0,ie.Z)(function(){function Ve(gt){var ht=kr&&gt.detail<0,xt=Rr&&gt.detail>0;Kt&&!ht&&!xt&&gt.preventDefault()}var pt=An.current;return pt.addEventListener("wheel",Ee,{passive:!1}),pt.addEventListener("DOMMouseScroll",at,{passive:!0}),pt.addEventListener("MozMousePixelScroll",Ve,{passive:!1}),function(){pt.removeEventListener("wheel",Ee),pt.removeEventListener("DOMMouseScroll",at),pt.removeEventListener("MozMousePixelScroll",Ve)}},[Kt,kr,Rr]),(0,ie.Z)(function(){if(Ge){var Ve=or(Cn);Mn(Ve),un({x:Ve})}},[nn.width,Ge]);var We=function(){var pt,gt;(pt=lr.current)===null||pt===void 0||pt.delayHidden(),(gt=ur.current)===null||gt===void 0||gt.delayHidden()},it=L(An,Qt,cn,U,Gt,function(){return bn(!0)},Pt,We);G.useImperativeHandle(h,function(){return{nativeElement:ln.current,getScrollInfo:Gr,scrollTo:function(pt){function gt(ht){return ht&&(0,E.Z)(ht)==="object"&&("left"in ht||"top"in ht)}gt(pt)?(pt.left!==void 0&&Mn(or(pt.left)),it(pt.top)):it(pt)}}}),(0,ie.Z)(function(){if(et){var Ve=Qt.slice(Jt,ze+1);et(Ve,Qt)}},[Jt,ze,Qt]);var mt=Z(Qt,Gt,cn,U),yt=tt==null?void 0:tt({start:Jt,end:ze,virtual:Vt,offsetX:Cn,offsetY:yn,rtl:Ft,getSize:mt}),Bt=X(Qt,Jt,ze,Ge,Cn,Ke,Fe,Le),Ot=null;v&&(Ot=(0,m.Z)((0,b.Z)({},ot?"height":"maxHeight",v),He),Kt&&(Ot.overflowY="hidden",Ge&&(Ot.overflowX="hidden"),On&&(Ot.pointerEvents="none")));var kt={};return Ft&&(kt.dir="rtl"),G.createElement("div",(0,u.Z)({ref:ln,style:(0,m.Z)((0,m.Z)({},lt),{},{position:"relative"}),className:Lt},kt,ye),G.createElement(O.Z,{onResize:mn},G.createElement(Je,{className:"".concat(C,"-holder"),style:Ot,ref:An,onScroll:Pn,onMouseEnter:We},G.createElement(ue,{prefixCls:C,height:Yt,offsetX:Cn,offsetY:yn,scrollWidth:Ge,onInnerResize:bn,ref:Dn,innerProps:It,rtl:Ft,extra:yt},Bt))),Vt&&Yt>v&&G.createElement(Me,{ref:lr,prefixCls:C,scrollOffset:Vn,scrollRange:Yt,rtl:Ft,onScroll:Rn,onStartMove:Mr,onStopMove:De,spinSize:pr,containerSize:nn.height,style:Q==null?void 0:Q.verticalScrollBar,thumbStyle:Q==null?void 0:Q.verticalScrollBarThumb,showScrollBar:At}),Vt&&Ge>nn.width&&G.createElement(Me,{ref:ur,prefixCls:C,scrollOffset:Cn,scrollRange:Ge,rtl:Ft,onScroll:Rn,onStartMove:Mr,onStopMove:De,spinSize:fr,containerSize:nn.width,horizontal:!0,style:Q==null?void 0:Q.horizontalScrollBar,thumbStyle:Q==null?void 0:Q.horizontalScrollBarThumb,showScrollBar:At}))}var vt=G.forwardRef(bt);vt.displayName="List";var Mt=vt,Ut=Mt},66328:function(x,c,r){"use strict";r.d(c,{Z:function(){return M}});var u=r(43079),E=r(3300),m=r(74430),b=r(59301),k=r(32855);function d(L,xe){var Me=Object.keys(L);if(Object.getOwnPropertySymbols){var we=Object.getOwnPropertySymbols(L);xe&&(we=we.filter(function(Tt){return Object.getOwnPropertyDescriptor(L,Tt).enumerable})),Me.push.apply(Me,we)}return Me}function N(L){for(var xe=1;xe<arguments.length;xe++){var Me=arguments[xe]!=null?arguments[xe]:{};xe%2?d(Object(Me),!0).forEach(function(we){(0,m.Z)(L,we,Me[we])}):Object.getOwnPropertyDescriptors?Object.defineProperties(L,Object.getOwnPropertyDescriptors(Me)):d(Object(Me)).forEach(function(we){Object.defineProperty(L,we,Object.getOwnPropertyDescriptor(Me,we))})}return L}function H(L){var xe=L.length;if(xe===0||xe===1)return L;if(xe===2)return[L[0],L[1],"".concat(L[0],".").concat(L[1]),"".concat(L[1],".").concat(L[0])];if(xe===3)return[L[0],L[1],L[2],"".concat(L[0],".").concat(L[1]),"".concat(L[0],".").concat(L[2]),"".concat(L[1],".").concat(L[0]),"".concat(L[1],".").concat(L[2]),"".concat(L[2],".").concat(L[0]),"".concat(L[2],".").concat(L[1]),"".concat(L[0],".").concat(L[1],".").concat(L[2]),"".concat(L[0],".").concat(L[2],".").concat(L[1]),"".concat(L[1],".").concat(L[0],".").concat(L[2]),"".concat(L[1],".").concat(L[2],".").concat(L[0]),"".concat(L[2],".").concat(L[0],".").concat(L[1]),"".concat(L[2],".").concat(L[1],".").concat(L[0])];if(xe>=4)return[L[0],L[1],L[2],L[3],"".concat(L[0],".").concat(L[1]),"".concat(L[0],".").concat(L[2]),"".concat(L[0],".").concat(L[3]),"".concat(L[1],".").concat(L[0]),"".concat(L[1],".").concat(L[2]),"".concat(L[1],".").concat(L[3]),"".concat(L[2],".").concat(L[0]),"".concat(L[2],".").concat(L[1]),"".concat(L[2],".").concat(L[3]),"".concat(L[3],".").concat(L[0]),"".concat(L[3],".").concat(L[1]),"".concat(L[3],".").concat(L[2]),"".concat(L[0],".").concat(L[1],".").concat(L[2]),"".concat(L[0],".").concat(L[1],".").concat(L[3]),"".concat(L[0],".").concat(L[2],".").concat(L[1]),"".concat(L[0],".").concat(L[2],".").concat(L[3]),"".concat(L[0],".").concat(L[3],".").concat(L[1]),"".concat(L[0],".").concat(L[3],".").concat(L[2]),"".concat(L[1],".").concat(L[0],".").concat(L[2]),"".concat(L[1],".").concat(L[0],".").concat(L[3]),"".concat(L[1],".").concat(L[2],".").concat(L[0]),"".concat(L[1],".").concat(L[2],".").concat(L[3]),"".concat(L[1],".").concat(L[3],".").concat(L[0]),"".concat(L[1],".").concat(L[3],".").concat(L[2]),"".concat(L[2],".").concat(L[0],".").concat(L[1]),"".concat(L[2],".").concat(L[0],".").concat(L[3]),"".concat(L[2],".").concat(L[1],".").concat(L[0]),"".concat(L[2],".").concat(L[1],".").concat(L[3]),"".concat(L[2],".").concat(L[3],".").concat(L[0]),"".concat(L[2],".").concat(L[3],".").concat(L[1]),"".concat(L[3],".").concat(L[0],".").concat(L[1]),"".concat(L[3],".").concat(L[0],".").concat(L[2]),"".concat(L[3],".").concat(L[1],".").concat(L[0]),"".concat(L[3],".").concat(L[1],".").concat(L[2]),"".concat(L[3],".").concat(L[2],".").concat(L[0]),"".concat(L[3],".").concat(L[2],".").concat(L[1]),"".concat(L[0],".").concat(L[1],".").concat(L[2],".").concat(L[3]),"".concat(L[0],".").concat(L[1],".").concat(L[3],".").concat(L[2]),"".concat(L[0],".").concat(L[2],".").concat(L[1],".").concat(L[3]),"".concat(L[0],".").concat(L[2],".").concat(L[3],".").concat(L[1]),"".concat(L[0],".").concat(L[3],".").concat(L[1],".").concat(L[2]),"".concat(L[0],".").concat(L[3],".").concat(L[2],".").concat(L[1]),"".concat(L[1],".").concat(L[0],".").concat(L[2],".").concat(L[3]),"".concat(L[1],".").concat(L[0],".").concat(L[3],".").concat(L[2]),"".concat(L[1],".").concat(L[2],".").concat(L[0],".").concat(L[3]),"".concat(L[1],".").concat(L[2],".").concat(L[3],".").concat(L[0]),"".concat(L[1],".").concat(L[3],".").concat(L[0],".").concat(L[2]),"".concat(L[1],".").concat(L[3],".").concat(L[2],".").concat(L[0]),"".concat(L[2],".").concat(L[0],".").concat(L[1],".").concat(L[3]),"".concat(L[2],".").concat(L[0],".").concat(L[3],".").concat(L[1]),"".concat(L[2],".").concat(L[1],".").concat(L[0],".").concat(L[3]),"".concat(L[2],".").concat(L[1],".").concat(L[3],".").concat(L[0]),"".concat(L[2],".").concat(L[3],".").concat(L[0],".").concat(L[1]),"".concat(L[2],".").concat(L[3],".").concat(L[1],".").concat(L[0]),"".concat(L[3],".").concat(L[0],".").concat(L[1],".").concat(L[2]),"".concat(L[3],".").concat(L[0],".").concat(L[2],".").concat(L[1]),"".concat(L[3],".").concat(L[1],".").concat(L[0],".").concat(L[2]),"".concat(L[3],".").concat(L[1],".").concat(L[2],".").concat(L[0]),"".concat(L[3],".").concat(L[2],".").concat(L[0],".").concat(L[1]),"".concat(L[3],".").concat(L[2],".").concat(L[1],".").concat(L[0])]}var O={};function I(L){if(L.length===0||L.length===1)return L;var xe=L.join(".");return O[xe]||(O[xe]=H(L)),O[xe]}function ie(L){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Me=arguments.length>2?arguments[2]:void 0,we=L.filter(function(ut){return ut!=="token"}),Tt=I(we);return Tt.reduce(function(ut,Rt){return N(N({},ut),Me[Rt])},xe)}function G(L){return L.join(" ")}function be(L,xe){var Me=0;return function(we){return Me+=1,we.map(function(Tt,ut){return ce({node:Tt,stylesheet:L,useInlineStyles:xe,key:"code-segment-".concat(Me,"-").concat(ut)})})}}function ce(L){var xe=L.node,Me=L.stylesheet,we=L.style,Tt=we===void 0?{}:we,ut=L.useInlineStyles,Rt=L.key,He=xe.properties,bt=xe.type,vt=xe.tagName,Mt=xe.value;if(bt==="text")return Mt;if(vt){var Ut=be(Me,ut),R;if(!ut)R=N(N({},He),{},{className:G(He.className)});else{var h=Object.keys(Me).reduce(function(v,U){return U.split(".").forEach(function(Ne){v.includes(Ne)||v.push(Ne)}),v},[]),f=He.className&&He.className.includes("token")?["token"]:[],C=He.className&&f.concat(He.className.filter(function(v){return!h.includes(v)}));R=N(N({},He),{},{className:G(C)||void 0,style:ie(He.className,Object.assign({},He.style,Tt),Me)})}var D=Ut(xe.children);return b.createElement(vt,(0,k.Z)({key:Rt},R),D)}}var ue=function(L,xe){var Me=L.listLanguages();return Me.indexOf(xe)!==-1},te=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function X(L,xe){var Me=Object.keys(L);if(Object.getOwnPropertySymbols){var we=Object.getOwnPropertySymbols(L);xe&&(we=we.filter(function(Tt){return Object.getOwnPropertyDescriptor(L,Tt).enumerable})),Me.push.apply(Me,we)}return Me}function q(L){for(var xe=1;xe<arguments.length;xe++){var Me=arguments[xe]!=null?arguments[xe]:{};xe%2?X(Object(Me),!0).forEach(function(we){(0,m.Z)(L,we,Me[we])}):Object.getOwnPropertyDescriptors?Object.defineProperties(L,Object.getOwnPropertyDescriptors(Me)):X(Object(Me)).forEach(function(we){Object.defineProperty(L,we,Object.getOwnPropertyDescriptor(Me,we))})}return L}var W=/\n/g;function Y(L){return L.match(W)}function P(L){var xe=L.lines,Me=L.startingLineNumber,we=L.style;return xe.map(function(Tt,ut){var Rt=ut+Me;return b.createElement("span",{key:"line-".concat(ut),className:"react-syntax-highlighter-line-number",style:typeof we=="function"?we(Rt):we},"".concat(Rt,`
`))})}function B(L){var xe=L.codeString,Me=L.codeStyle,we=L.containerStyle,Tt=we===void 0?{float:"left",paddingRight:"10px"}:we,ut=L.numberStyle,Rt=ut===void 0?{}:ut,He=L.startingLineNumber;return b.createElement("code",{style:Object.assign({},Me,Tt)},P({lines:xe.replace(/\n$/,"").split(`
`),style:Rt,startingLineNumber:He}))}function _(L){return"".concat(L.toString().length,".25em")}function ee(L,xe){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(L),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:xe},children:[{type:"text",value:L}]}}function de(L,xe,Me){var we={display:"inline-block",minWidth:_(Me),paddingRight:"1em",textAlign:"right",userSelect:"none"},Tt=typeof L=="function"?L(xe):L,ut=q(q({},we),Tt);return ut}function Z(L){var xe=L.children,Me=L.lineNumber,we=L.lineNumberStyle,Tt=L.largestLineNumber,ut=L.showInlineLineNumbers,Rt=L.lineProps,He=Rt===void 0?{}:Rt,bt=L.className,vt=bt===void 0?[]:bt,Mt=L.showLineNumbers,Ut=L.wrapLongLines,R=L.wrapLines,h=R===void 0?!1:R,f=h?q({},typeof He=="function"?He(Me):He):{};if(f.className=f.className?[].concat((0,E.Z)(f.className.trim().split(/\s+/)),(0,E.Z)(vt)):vt,Me&&ut){var C=de(we,Me,Tt);xe.unshift(ee(Me,C))}return Ut&Mt&&(f.style=q({display:"flex"},f.style)),{type:"element",tagName:"span",properties:f,children:xe}}function fe(L){for(var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],we=0;we<L.length;we++){var Tt=L[we];if(Tt.type==="text")Me.push(Z({children:[Tt],className:(0,E.Z)(new Set(xe))}));else if(Tt.children){var ut=xe.concat(Tt.properties.className);fe(Tt.children,ut).forEach(function(Rt){return Me.push(Rt)})}}return Me}function re(L,xe,Me,we,Tt,ut,Rt,He,bt){var vt,Mt=fe(L.value),Ut=[],R=-1,h=0;function f(lt,Se){var Fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return Z({children:lt,lineNumber:Se,lineNumberStyle:He,largestLineNumber:Rt,showInlineLineNumbers:Tt,lineProps:Me,className:Fe,showLineNumbers:we,wrapLongLines:bt,wrapLines:xe})}function C(lt,Se){if(we&&Se&&Tt){var Fe=de(He,Se,Rt);lt.unshift(ee(Se,Fe))}return lt}function D(lt,Se){var Fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return xe||Fe.length>0?f(lt,Se,Fe):C(lt,Se)}for(var v=function(){var Se=Mt[h],Fe=Se.children[0].value,Pe=Y(Fe);if(Pe){var Qe=Fe.split(`
`);Qe.forEach(function(ct,Ge){var pe=we&&Ut.length+ut,Je={type:"text",value:"".concat(ct,`
`)};if(Ge===0){var rt=Mt.slice(R+1,h).concat(Z({children:[Je],className:Se.properties.className})),$e=D(rt,pe);Ut.push($e)}else if(Ge===Qe.length-1){var et=Mt[h+1]&&Mt[h+1].children&&Mt[h+1].children[0],It={type:"text",value:"".concat(ct)};if(et){var tt=Z({children:[It],className:Se.properties.className});Mt.splice(h+1,0,tt)}else{var Q=[It],Et=D(Q,pe,Se.properties.className);Ut.push(Et)}}else{var At=[Je],ye=D(At,pe,Se.properties.className);Ut.push(ye)}}),R=h}h++};h<Mt.length;)v();if(R!==Mt.length-1){var U=Mt.slice(R+1,Mt.length);if(U&&U.length){var Ne=we&&Ut.length+ut,ot=D(U,Ne);Ut.push(ot)}}return xe?Ut:(vt=[]).concat.apply(vt,Ut)}function V(L){var xe=L.rows,Me=L.stylesheet,we=L.useInlineStyles;return xe.map(function(Tt,ut){return ce({node:Tt,stylesheet:Me,useInlineStyles:we,key:"code-segment-".concat(ut)})})}function le(L){return L&&typeof L.highlightAuto!="undefined"}function ne(L){var xe=L.astGenerator,Me=L.language,we=L.code,Tt=L.defaultCodeValue;if(le(xe)){var ut=ue(xe,Me);return Me==="text"?{value:Tt,language:"text"}:ut?xe.highlight(Me,we):xe.highlightAuto(we)}try{return Me&&Me!=="text"?{value:xe.highlight(we,Me)}:{value:Tt}}catch(Rt){return{value:Tt}}}function ge(L,xe){return function(we){var Tt,ut,Rt=we.language,He=we.children,bt=we.style,vt=bt===void 0?xe:bt,Mt=we.customStyle,Ut=Mt===void 0?{}:Mt,R=we.codeTagProps,h=R===void 0?{className:Rt?"language-".concat(Rt):void 0,style:q(q({},vt['code[class*="language-"]']),vt['code[class*="language-'.concat(Rt,'"]')])}:R,f=we.useInlineStyles,C=f===void 0?!0:f,D=we.showLineNumbers,v=D===void 0?!1:D,U=we.showInlineLineNumbers,Ne=U===void 0?!0:U,ot=we.startingLineNumber,lt=ot===void 0?1:ot,Se=we.lineNumberContainerStyle,Fe=we.lineNumberStyle,Pe=Fe===void 0?{}:Fe,Qe=we.wrapLines,ct=we.wrapLongLines,Ge=ct===void 0?!1:ct,pe=we.lineProps,Je=pe===void 0?{}:pe,rt=we.renderer,$e=we.PreTag,et=$e===void 0?"pre":$e,It=we.CodeTag,tt=It===void 0?"code":It,Q=we.code,Et=Q===void 0?(Array.isArray(He)?He[0]:He)||"":Q,At=we.astGenerator,ye=(0,u.Z)(we,te);At=At||L;var Gt=v?b.createElement(B,{containerStyle:Se,codeStyle:h.style||{},numberStyle:Pe,startingLineNumber:lt,codeString:Et}):null,tn=vt.hljs||vt['pre[class*="language-"]']||{backgroundColor:"#fff"},Xt=le(At)?"hljs":"prismjs",Ke=C?Object.assign({},ye,{style:Object.assign({},tn,Ut)}):Object.assign({},ye,{className:ye.className?"".concat(Xt," ").concat(ye.className):Xt,style:Object.assign({},Ut)});if(Ge?h.style=q({whiteSpace:"pre-wrap"},h.style):h.style=q({whiteSpace:"pre"},h.style),!At)return b.createElement(et,Ke,Gt,b.createElement(tt,h,Et));(Qe===void 0&&rt||Ge)&&(Qe=!0),rt=rt||V;var bn=[{type:"text",value:Et}],cn=ne({astGenerator:At,language:Rt,code:Et,defaultCodeValue:bn});cn.language===null&&(cn.value=bn);var Ht=(Tt=(ut=Et.match(/\n/g))===null||ut===void 0?void 0:ut.length)!==null&&Tt!==void 0?Tt:0,Kt=lt+Ht,gn=re(cn,Qe,Je,v,Ne,lt,Kt,Pe,Ge);return b.createElement(et,Ke,b.createElement(tt,h,!Ne&&Gt,rt({rows:gn,stylesheet:vt,useInlineStyles:C})))}}var Re={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},Ie=r(11594),ke=r.n(Ie),Be=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"],oe=ge(ke(),Re);oe.supportedLanguages=Be;var M=oe},18369:function(x,c){"use strict";c.Z={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'pre[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#1e1e1e"},".namespace":{Opacity:".7"},"doctype.doctype-tag":{color:"#569CD6"},"doctype.name":{color:"#9cdcfe"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},".language-html .language-css .token.punctuation":{color:"#d4d4d4"},".language-html .language-javascript .token.punctuation":{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9cdcfe"},symbol:{color:"#b5cea8"},inserted:{color:"#b5cea8"},unit:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},deleted:{color:"#ce9178"},".language-css .token.string.url":{textDecoration:"underline"},operator:{color:"#d4d4d4"},entity:{color:"#569cd6"},"operator.arrow":{color:"#569CD6"},atrule:{color:"#ce9178"},"atrule.rule":{color:"#c586c0"},"atrule.url":{color:"#9cdcfe"},"atrule.url.function":{color:"#dcdcaa"},"atrule.url.punctuation":{color:"#d4d4d4"},keyword:{color:"#569CD6"},"keyword.module":{color:"#c586c0"},"keyword.control-flow":{color:"#c586c0"},function:{color:"#dcdcaa"},"function.maybe-class-name":{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#569cd6"},italic:{fontStyle:"italic"},"class-name":{color:"#4ec9b0"},"maybe-class-name":{color:"#4ec9b0"},console:{color:"#9cdcfe"},parameter:{color:"#9cdcfe"},interpolation:{color:"#9cdcfe"},"punctuation.interpolation-punctuation":{color:"#569cd6"},variable:{color:"#9cdcfe"},"imports.maybe-class-name":{color:"#9cdcfe"},"exports.maybe-class-name":{color:"#9cdcfe"},escape:{color:"#d7ba7d"},"tag.punctuation":{color:"#808080"},cdata:{color:"#808080"},"attr-value":{color:"#ce9178"},"attr-value.punctuation":{color:"#ce9178"},"attr-value.punctuation.attr-equals":{color:"#d4d4d4"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#9cdcfe"},'code[class*="language-javascript"]':{color:"#9cdcfe"},'pre[class*="language-jsx"]':{color:"#9cdcfe"},'code[class*="language-jsx"]':{color:"#9cdcfe"},'pre[class*="language-typescript"]':{color:"#9cdcfe"},'code[class*="language-typescript"]':{color:"#9cdcfe"},'pre[class*="language-tsx"]':{color:"#9cdcfe"},'code[class*="language-tsx"]':{color:"#9cdcfe"},'pre[class*="language-css"]':{color:"#ce9178"},'code[class*="language-css"]':{color:"#ce9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-regex .token.anchor":{color:"#dcdcaa"},".language-html .token.punctuation":{color:"#808080"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0"}}},19524:function(x,c,r){"use strict";r(84126);var u=r(59301),E=60103;if(c.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var m=Symbol.for;E=m("react.element"),c.Fragment=m("react.fragment")}var b=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,k=Object.prototype.hasOwnProperty,d={key:!0,ref:!0,__self:!0,__source:!0};function N(H,O,I){var ie,G={},be=null,ce=null;I!==void 0&&(be=""+I),O.key!==void 0&&(be=""+O.key),O.ref!==void 0&&(ce=O.ref);for(ie in O)k.call(O,ie)&&!d.hasOwnProperty(ie)&&(G[ie]=O[ie]);if(H&&H.defaultProps)for(ie in O=H.defaultProps,O)G[ie]===void 0&&(G[ie]=O[ie]);return{$$typeof:E,type:H,key:be,ref:ce,props:G,_owner:b.current}}c.jsx=N,c.jsxs=N},37712:function(x,c,r){"use strict";x.exports=r(19524)},95489:function(x,c,r){"use strict";var u=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof r.g=="object"?r.g:{},E=B();u.Prism={manual:!0,disableWorkerMessageHandler:!0};var m=r(43621),b=r(12256),k=r(68398),d=r(70614),N=r(54212),H=r(9720),O=r(88786);E();var I={}.hasOwnProperty;function ie(){}ie.prototype=k;var G=new ie;x.exports=G,G.highlight=ue,G.register=be,G.alias=ce,G.registered=te,G.listLanguages=X,be(d),be(N),be(H),be(O),G.util.encode=Y,G.Token.stringify=q;function be(_){if(typeof _!="function"||!_.displayName)throw new Error("Expected `function` for `grammar`, got `"+_+"`");G.languages[_.displayName]===void 0&&_(G)}function ce(_,ee){var de=G.languages,Z=_,fe,re,V,le;ee&&(Z={},Z[_]=ee);for(fe in Z)for(re=Z[fe],re=typeof re=="string"?[re]:re,V=re.length,le=-1;++le<V;)de[re[le]]=de[fe]}function ue(_,ee){var de=k.highlight,Z;if(typeof _!="string")throw new Error("Expected `string` for `value`, got `"+_+"`");if(G.util.type(ee)==="Object")Z=ee,ee=null;else{if(typeof ee!="string")throw new Error("Expected `string` for `name`, got `"+ee+"`");if(I.call(G.languages,ee))Z=G.languages[ee];else throw new Error("Unknown language: `"+ee+"` is not registered")}return de.call(this,_,Z,ee)}function te(_){if(typeof _!="string")throw new Error("Expected `string` for `language`, got `"+_+"`");return I.call(G.languages,_)}function X(){var _=G.languages,ee=[],de;for(de in _)I.call(_,de)&&typeof _[de]=="object"&&ee.push(de);return ee}function q(_,ee,de){var Z;return typeof _=="string"?{type:"text",value:_}:G.util.type(_)==="Array"?W(_,ee):(Z={type:_.type,content:G.Token.stringify(_.content,ee,de),tag:"span",classes:["token",_.type],attributes:{},language:ee,parent:de},_.alias&&(Z.classes=Z.classes.concat(_.alias)),G.hooks.run("wrap",Z),m(Z.tag+"."+Z.classes.join("."),P(Z.attributes),Z.content))}function W(_,ee){for(var de=[],Z=_.length,fe=-1,re;++fe<Z;)re=_[fe],re!==""&&re!==null&&re!==void 0&&de.push(re);for(fe=-1,Z=de.length;++fe<Z;)re=de[fe],de[fe]=G.Token.stringify(re,ee,de);return de}function Y(_){return _}function P(_){var ee;for(ee in _)_[ee]=b(_[ee]);return _}function B(){var _="Prism"in u,ee=_?u.Prism:void 0;return de;function de(){_?u.Prism=ee:delete u.Prism,_=void 0,ee=void 0}}},11594:function(x,c,r){"use strict";var u=r(95489);x.exports=u,u.register(r(79007)),u.register(r(15465)),u.register(r(42746)),u.register(r(93281)),u.register(r(95143)),u.register(r(65924)),u.register(r(65043)),u.register(r(43556)),u.register(r(14901)),u.register(r(4248)),u.register(r(17758)),u.register(r(33335)),u.register(r(17427)),u.register(r(22956)),u.register(r(56007)),u.register(r(45652)),u.register(r(33819)),u.register(r(84230)),u.register(r(20803)),u.register(r(65235)),u.register(r(52406)),u.register(r(79571)),u.register(r(3058)),u.register(r(51422)),u.register(r(1618)),u.register(r(2505)),u.register(r(51274)),u.register(r(23796)),u.register(r(13979)),u.register(r(87994)),u.register(r(47035)),u.register(r(36142)),u.register(r(85290)),u.register(r(7407)),u.register(r(79440)),u.register(r(7110)),u.register(r(73435)),u.register(r(91372)),u.register(r(63663)),u.register(r(92987)),u.register(r(91657)),u.register(r(34367)),u.register(r(35348)),u.register(r(26841)),u.register(r(87071)),u.register(r(13652)),u.register(r(87648)),u.register(r(10617)),u.register(r(5348)),u.register(r(71053)),u.register(r(69820)),u.register(r(41929)),u.register(r(51837)),u.register(r(4182)),u.register(r(22117)),u.register(r(95627)),u.register(r(34265)),u.register(r(50618)),u.register(r(32126)),u.register(r(26737)),u.register(r(90134)),u.register(r(51348)),u.register(r(60841)),u.register(r(42857)),u.register(r(81269)),u.register(r(31134)),u.register(r(83125)),u.register(r(9438)),u.register(r(27771)),u.register(r(86549)),u.register(r(37079)),u.register(r(59250)),u.register(r(81226)),u.register(r(65245)),u.register(r(25040)),u.register(r(40284)),u.register(r(39187)),u.register(r(34302)),u.register(r(90515)),u.register(r(33534)),u.register(r(9885)),u.register(r(76364)),u.register(r(56452)),u.register(r(8477)),u.register(r(58230)),u.register(r(66192)),u.register(r(81084)),u.register(r(50318)),u.register(r(95769)),u.register(r(14155)),u.register(r(92823)),u.register(r(63092)),u.register(r(21550)),u.register(r(29710)),u.register(r(2050)),u.register(r(67967)),u.register(r(29138)),u.register(r(67915)),u.register(r(54853)),u.register(r(68330)),u.register(r(76823)),u.register(r(86712)),u.register(r(72252)),u.register(r(78634)),u.register(r(43583)),u.register(r(23328)),u.register(r(74494)),u.register(r(46745)),u.register(r(22152)),u.register(r(83698)),u.register(r(26619)),u.register(r(53990)),u.register(r(7093)),u.register(r(4005)),u.register(r(53510)),u.register(r(24799)),u.register(r(97443)),u.register(r(80746)),u.register(r(17015)),u.register(r(89246)),u.register(r(487)),u.register(r(79539)),u.register(r(15628)),u.register(r(14320)),u.register(r(73222)),u.register(r(92486)),u.register(r(24103)),u.register(r(40604)),u.register(r(23109)),u.register(r(32082)),u.register(r(77674)),u.register(r(37524)),u.register(r(6658)),u.register(r(24824)),u.register(r(22776)),u.register(r(89700)),u.register(r(99296)),u.register(r(39940)),u.register(r(34973)),u.register(r(98135)),u.register(r(36907)),u.register(r(3567)),u.register(r(23763)),u.register(r(33978)),u.register(r(40472)),u.register(r(44695)),u.register(r(53885)),u.register(r(51478)),u.register(r(16928)),u.register(r(13586)),u.register(r(37164)),u.register(r(25153)),u.register(r(33245)),u.register(r(32218)),u.register(r(65626)),u.register(r(60090)),u.register(r(40722)),u.register(r(37783)),u.register(r(41224)),u.register(r(71365)),u.register(r(42846)),u.register(r(32964)),u.register(r(78830)),u.register(r(88799)),u.register(r(66791)),u.register(r(41735)),u.register(r(13490)),u.register(r(7383)),u.register(r(66894)),u.register(r(45779)),u.register(r(27734)),u.register(r(91889)),u.register(r(55965)),u.register(r(37326)),u.register(r(92949)),u.register(r(5681)),u.register(r(70696)),u.register(r(35790)),u.register(r(25777)),u.register(r(65889)),u.register(r(53852)),u.register(r(97719)),u.register(r(63839)),u.register(r(67623)),u.register(r(32530)),u.register(r(8938)),u.register(r(55259)),u.register(r(67411)),u.register(r(15375)),u.register(r(12093)),u.register(r(83588)),u.register(r(94127)),u.register(r(21294)),u.register(r(38709)),u.register(r(15008)),u.register(r(96549)),u.register(r(5221)),u.register(r(27447)),u.register(r(73191)),u.register(r(75542)),u.register(r(50323)),u.register(r(44298)),u.register(r(9634)),u.register(r(75266)),u.register(r(48139)),u.register(r(97534)),u.register(r(90826)),u.register(r(63919)),u.register(r(68862)),u.register(r(39523)),u.register(r(31207)),u.register(r(75308)),u.register(r(45315)),u.register(r(13794)),u.register(r(41299)),u.register(r(98177)),u.register(r(48780)),u.register(r(79793)),u.register(r(52085)),u.register(r(65411)),u.register(r(84750)),u.register(r(88216)),u.register(r(66433)),u.register(r(34855)),u.register(r(12998)),u.register(r(10202)),u.register(r(41186)),u.register(r(68963)),u.register(r(5569)),u.register(r(69435)),u.register(r(42766)),u.register(r(46449)),u.register(r(89032)),u.register(r(40241)),u.register(r(24812)),u.register(r(16747)),u.register(r(73584)),u.register(r(79243)),u.register(r(31788)),u.register(r(60871)),u.register(r(21023)),u.register(r(14693)),u.register(r(8743)),u.register(r(1689)),u.register(r(69210)),u.register(r(58710)),u.register(r(60452)),u.register(r(92784)),u.register(r(36489)),u.register(r(78380)),u.register(r(10409)),u.register(r(6539)),u.register(r(82028)),u.register(r(62282)),u.register(r(55686)),u.register(r(70889)),u.register(r(37116)),u.register(r(66963)),u.register(r(21078)),u.register(r(96198)),u.register(r(17723)),u.register(r(67771)),u.register(r(30307)),u.register(r(8921)),u.register(r(13429)),u.register(r(65197)),u.register(r(88904)),u.register(r(35)),u.register(r(86095)),u.register(r(76998)),u.register(r(14409)),u.register(r(33460)),u.register(r(28108))},79007:function(x){"use strict";x.exports=c,c.displayName="abap",c.aliases=[];function c(r){r.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}},15465:function(x){"use strict";x.exports=c,c.displayName="abnf",c.aliases=[];function c(r){(function(u){var E="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";u.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+E+"|<"+E+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(r)}},42746:function(x){"use strict";x.exports=c,c.displayName="actionscript",c.aliases=[];function c(r){r.languages.actionscript=r.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),r.languages.actionscript["class-name"].alias="function",delete r.languages.actionscript.parameter,delete r.languages.actionscript["literal-property"],r.languages.markup&&r.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:r.languages.markup}})}},93281:function(x){"use strict";x.exports=c,c.displayName="ada",c.aliases=[];function c(r){r.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}},95143:function(x){"use strict";x.exports=c,c.displayName="agda",c.aliases=[];function c(r){(function(u){u.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(r)}},65924:function(x){"use strict";x.exports=c,c.displayName="al",c.aliases=[];function c(r){r.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}},65043:function(x){"use strict";x.exports=c,c.displayName="antlr4",c.aliases=["g4"];function c(r){r.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},r.languages.g4=r.languages.antlr4}},43556:function(x){"use strict";x.exports=c,c.displayName="apacheconf",c.aliases=[];function c(r){r.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}},14901:function(x,c,r){"use strict";var u=r(69435);x.exports=E,E.displayName="apex",E.aliases=[];function E(m){m.register(u),function(b){var k=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,d=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!<keyword>))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(/<keyword>/g,function(){return k.source});function N(O){return RegExp(O.replace(/<CLASS-NAME>/g,function(){return d}),"i")}var H={keyword:k,punctuation:/[()\[\]{};,:.<>]/};b.languages.apex={comment:b.languages.clike.comment,string:b.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:b.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:N(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)<CLASS-NAME>/.source),lookbehind:!0,inside:H},{pattern:N(/(\(\s*)<CLASS-NAME>(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:H},{pattern:N(/<CLASS-NAME>(?=\s*\w+\s*[;=,(){:])/.source),inside:H}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:k,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<<?=?|>{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(m)}},4248:function(x){"use strict";x.exports=c,c.displayName="apl",c.aliases=[];function c(r){r.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}},17758:function(x){"use strict";x.exports=c,c.displayName="applescript",c.aliases=[];function c(r){r.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}},33335:function(x){"use strict";x.exports=c,c.displayName="aql",c.aliases=[];function c(r){r.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}},17427:function(x,c,r){"use strict";var u=r(87071);x.exports=E,E.displayName="arduino",E.aliases=["ino"];function E(m){m.register(u),m.languages.arduino=m.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),m.languages.ino=m.languages.arduino}},22956:function(x){"use strict";x.exports=c,c.displayName="arff",c.aliases=[];function c(r){r.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}},56007:function(x){"use strict";x.exports=c,c.displayName="asciidoc",c.aliases=["adoc"];function c(r){(function(u){var E={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},m=u.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:E,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)<?\d*>/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:E.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:E,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function b(k){k=k.split(" ");for(var d={},N=0,H=k.length;N<H;N++)d[k[N]]=m[k[N]];return d}E.inside.interpreted.inside.rest=b("macro inline replacement entity"),m["passthrough-block"].inside.rest=b("macro"),m["literal-block"].inside.rest=b("callout"),m.table.inside.rest=b("comment-block passthrough-block literal-block other-block list-punctuation indented-block comment title attribute-entry attributes hr page-break admonition list-label callout macro inline replacement entity line-continuation"),m["other-block"].inside.rest=b("table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation"),m.title.inside.rest=b("macro inline replacement entity"),u.hooks.add("wrap",function(k){k.type==="entity"&&(k.attributes.title=k.content.value.replace(/&amp;/,"&"))}),u.languages.adoc=u.languages.asciidoc})(r)}},45652:function(x){"use strict";x.exports=c,c.displayName="asm6502",c.aliases=[];function c(r){r.languages.asm6502={comment:/;.*/,directive:{pattern:/\.\w+(?= )/,alias:"property"},string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,"op-code":{pattern:/\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{1,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[xya]\b/i,alias:"variable"},punctuation:/[(),:]/}}},33819:function(x){"use strict";x.exports=c,c.displayName="asmatmel",c.aliases=[];function c(r){r.languages.asmatmel={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},constant:/\b(?:PORT[A-Z]|DDR[A-Z]|(?:DD|P)[A-Z](?:\d|[0-2]\d|3[01]))\b/,directive:{pattern:/\.\w+(?= )/,alias:"property"},"r-register":{pattern:/\br(?:\d|[12]\d|3[01])\b/,alias:"variable"},"op-code":{pattern:/\b(?:ADC|ADD|ADIW|AND|ANDI|ASR|BCLR|BLD|BRBC|BRBS|BRCC|BRCS|BREAK|BREQ|BRGE|BRHC|BRHS|BRID|BRIE|BRLO|BRLT|BRMI|BRNE|BRPL|BRSH|BRTC|BRTS|BRVC|BRVS|BSET|BST|CALL|CBI|CBR|CLC|CLH|CLI|CLN|CLR|CLS|CLT|CLV|CLZ|COM|CP|CPC|CPI|CPSE|DEC|DES|EICALL|EIJMP|ELPM|EOR|FMUL|FMULS|FMULSU|ICALL|IJMP|IN|INC|JMP|LAC|LAS|LAT|LD|LD[A-Za-z0-9]|LPM|LSL|LSR|MOV|MOVW|MUL|MULS|MULSU|NEG|NOP|OR|ORI|OUT|POP|PUSH|RCALL|RET|RETI|RJMP|ROL|ROR|SBC|SBCI|SBI|SBIC|SBIS|SBIW|SBR|SBRC|SBRS|SEC|SEH|SEI|SEN|SER|SES|SET|SEV|SEZ|SLEEP|SPM|ST|ST[A-Z0-9]|SUB|SUBI|SWAP|TST|WDR|XCH|adc|add|adiw|and|andi|asr|bclr|bld|brbc|brbs|brcc|brcs|break|breq|brge|brhc|brhs|brid|brie|brlo|brlt|brmi|brne|brpl|brsh|brtc|brts|brvc|brvs|bset|bst|call|cbi|cbr|clc|clh|cli|cln|clr|cls|clt|clv|clz|com|cp|cpc|cpi|cpse|dec|des|eicall|eijmp|elpm|eor|fmul|fmuls|fmulsu|icall|ijmp|in|inc|jmp|lac|las|lat|ld|ld[a-z0-9]|lpm|lsl|lsr|mov|movw|mul|muls|mulsu|neg|nop|or|ori|out|pop|push|rcall|ret|reti|rjmp|rol|ror|sbc|sbci|sbi|sbic|sbis|sbiw|sbr|sbrc|sbrs|sec|seh|sei|sen|ser|ses|set|sev|sez|sleep|spm|st|st[a-zA-Z0-9]|sub|subi|swap|tst|wdr|xch)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{2,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[acznvshtixy]\b/i,alias:"variable"},operator:/>>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}},84230:function(x,c,r){"use strict";var u=r(87648);x.exports=E,E.displayName="aspnet",E.aliases=[];function E(m){m.register(u),m.languages.aspnet=m.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:m.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:m.languages.csharp}}}),m.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,m.languages.insertBefore("inside","punctuation",{directive:m.languages.aspnet.directive},m.languages.aspnet.tag.inside["attr-value"]),m.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),m.languages.insertBefore("aspnet",m.languages.javascript?"script":"tag",{"asp-script":{pattern:/(<script(?=.*runat=['"]?server\b)[^>]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:m.languages.csharp||{}}})}},20803:function(x){"use strict";x.exports=c,c.displayName="autohotkey",c.aliases=[];function c(r){r.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}},65235:function(x){"use strict";x.exports=c,c.displayName="autoit",c.aliases=[];function c(r){r.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}},52406:function(x){"use strict";x.exports=c,c.displayName="avisynth",c.aliases=["avs"];function c(r){(function(u){function E(O,I){return O.replace(/<<(\d+)>>/g,function(ie,G){return I[+G]})}function m(O,I,ie){return RegExp(E(O,I),ie||"")}var b=/bool|clip|float|int|string|val/.source,k=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),d=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),N=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),H=[k,d,N].join("|");u.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:m(/\b(?:<<0>>)\s+("?)\w+\1/.source,[b],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:m(/\b(?:<<0>>)\b/.source,[H],"i"),alias:"function"},"type-cast":{pattern:m(/\b(?:<<0>>)(?=\s*\()/.source,[b],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},u.languages.avs=u.languages.avisynth})(r)}},79571:function(x){"use strict";x.exports=c,c.displayName="avroIdl",c.aliases=[];function c(r){r.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},r.languages.avdl=r.languages["avro-idl"]}},3058:function(x){"use strict";x.exports=c,c.displayName="bash",c.aliases=["shell"];function c(r){(function(u){var E="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",m={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},b={bash:m,environment:{pattern:RegExp("\\$"+E),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+E),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};u.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+E),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:b},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:m}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:b},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:b.entity}}],environment:{pattern:RegExp("\\$?"+E),alias:"constant"},variable:b.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},m.inside=u.languages.bash;for(var k=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],d=b.variable[1].inside,N=0;N<k.length;N++)d[k[N]]=u.languages.bash[k[N]];u.languages.shell=u.languages.bash})(r)}},51422:function(x){"use strict";x.exports=c,c.displayName="basic",c.aliases=[];function c(r){r.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}},1618:function(x){"use strict";x.exports=c,c.displayName="batch",c.aliases=[];function c(r){(function(u){var E=/%%?[~:\w]+%?|!\S+!/,m={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},b=/"(?:[\\"]"|[^"])*"(?!")/,k=/(?:\b|-)\d+\b/;u.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:b,parameter:m,variable:E,number:k,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:b,parameter:m,variable:E,number:k,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:b,parameter:m,variable:[E,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:k,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:b,parameter:m,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:E,number:k,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(r)}},2505:function(x){"use strict";x.exports=c,c.displayName="bbcode",c.aliases=["shortcode"];function c(r){r.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},r.languages.shortcode=r.languages.bbcode}},51274:function(x){"use strict";x.exports=c,c.displayName="bicep",c.aliases=[];function c(r){r.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},r.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=r.languages.bicep}},23796:function(x){"use strict";x.exports=c,c.displayName="birb",c.aliases=[];function c(r){r.languages.birb=r.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),r.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}},13979:function(x,c,r){"use strict";var u=r(79440);x.exports=E,E.displayName="bison",E.aliases=[];function E(m){m.register(u),m.languages.bison=m.languages.extend("c",{}),m.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:m.languages.c}},comment:m.languages.c.comment,string:m.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}},87994:function(x){"use strict";x.exports=c,c.displayName="bnf",c.aliases=["rbnf"];function c(r){r.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},r.languages.rbnf=r.languages.bnf}},47035:function(x){"use strict";x.exports=c,c.displayName="brainfuck",c.aliases=[];function c(r){r.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}},36142:function(x){"use strict";x.exports=c,c.displayName="brightscript",c.aliases=[];function c(r){r.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},r.languages.brightscript["directive-statement"].inside.expression.inside=r.languages.brightscript}},85290:function(x){"use strict";x.exports=c,c.displayName="bro",c.aliases=[];function c(r){r.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}},7407:function(x){"use strict";x.exports=c,c.displayName="bsl",c.aliases=[];function c(r){r.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},r.languages.oscript=r.languages.bsl}},79440:function(x){"use strict";x.exports=c,c.displayName="c",c.aliases=[];function c(r){r.languages.c=r.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),r.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),r.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},r.languages.c.string],char:r.languages.c.char,comment:r.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:r.languages.c}}}}),r.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete r.languages.c.boolean}},7110:function(x){"use strict";x.exports=c,c.displayName="cfscript",c.aliases=[];function c(r){r.languages.cfscript=r.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),r.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete r.languages.cfscript["class-name"],r.languages.cfc=r.languages.cfscript}},73435:function(x,c,r){"use strict";var u=r(87071);x.exports=E,E.displayName="chaiscript",E.aliases=[];function E(m){m.register(u),m.languages.chaiscript=m.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[m.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),m.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),m.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:m.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}},91372:function(x){"use strict";x.exports=c,c.displayName="cil",c.aliases=[];function c(r){r.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}},9720:function(x){"use strict";x.exports=c,c.displayName="clike",c.aliases=[];function c(r){r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}},63663:function(x){"use strict";x.exports=c,c.displayName="clojure",c.aliases=[];function c(r){r.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}},92987:function(x){"use strict";x.exports=c,c.displayName="cmake",c.aliases=[];function c(r){r.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}},91657:function(x){"use strict";x.exports=c,c.displayName="cobol",c.aliases=[];function c(r){r.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}},34367:function(x){"use strict";x.exports=c,c.displayName="coffeescript",c.aliases=["coffee"];function c(r){(function(u){var E=/#(?!\{).+/,m={pattern:/#\{[^}]+\}/,alias:"variable"};u.languages.coffeescript=u.languages.extend("javascript",{comment:E,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:m}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),u.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:E,interpolation:m}}}),u.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:u.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:m}}]}),u.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete u.languages.coffeescript["template-string"],u.languages.coffee=u.languages.coffeescript})(r)}},35348:function(x){"use strict";x.exports=c,c.displayName="concurnas",c.aliases=["conc"];function c(r){r.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},r.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:r.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:r.languages.concurnas},string:/[\s\S]+/}}}),r.languages.conc=r.languages.concurnas}},26841:function(x){"use strict";x.exports=c,c.displayName="coq",c.aliases=[];function c(r){(function(u){for(var E=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|<self>)*\*\)/.source,m=0;m<2;m++)E=E.replace(/<self>/g,function(){return E});E=E.replace(/<self>/g,"[]"),u.languages.coq={comment:RegExp(E),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|<comment>)*\]/.source.replace(/<comment>/g,function(){return E})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(E),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(r)}},87071:function(x,c,r){"use strict";var u=r(79440);x.exports=E,E.displayName="cpp",E.aliases=[];function E(m){m.register(u),function(b){var k=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,d=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return k.source});b.languages.cpp=b.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return k.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:k,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),b.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return d})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),b.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:b.languages.cpp}}}}),b.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),b.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:b.languages.extend("cpp",{})}}),b.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},b.languages.cpp["base-clause"])}(m)}},13652:function(x,c,r){"use strict";var u=r(75308);x.exports=E,E.displayName="crystal",E.aliases=[];function E(m){m.register(u),function(b){b.languages.crystal=b.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,b.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),b.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:b.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:b.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(m)}},87648:function(x){"use strict";x.exports=c,c.displayName="csharp",c.aliases=["dotnet","cs"];function c(r){(function(u){function E(Be,oe){return Be.replace(/<<(\d+)>>/g,function(M,L){return"(?:"+oe[+L]+")"})}function m(Be,oe,M){return RegExp(E(Be,oe),M||"")}function b(Be,oe){for(var M=0;M<oe;M++)Be=Be.replace(/<<self>>/g,function(){return"(?:"+Be+")"});return Be.replace(/<<self>>/g,"[^\\s\\S]")}var k={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function d(Be){return"\\b(?:"+Be.trim().replace(/ /g,"|")+")\\b"}var N=d(k.typeDeclaration),H=RegExp(d(k.type+" "+k.typeDeclaration+" "+k.contextual+" "+k.other)),O=d(k.typeDeclaration+" "+k.contextual+" "+k.other),I=d(k.type+" "+k.typeDeclaration+" "+k.other),ie=b(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),G=b(/\((?:[^()]|<<self>>)*\)/.source,2),be=/@?\b[A-Za-z_]\w*\b/.source,ce=E(/<<0>>(?:\s*<<1>>)?/.source,[be,ie]),ue=E(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[O,ce]),te=/\[\s*(?:,\s*)*\]/.source,X=E(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[ue,te]),q=E(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[ie,G,te]),W=E(/\(<<0>>+(?:,<<0>>+)+\)/.source,[q]),Y=E(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[W,ue,te]),P={keyword:H,punctuation:/[<>()?,.:[\]]/},B=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,_=/"(?:\\.|[^\\"\r\n])*"/.source,ee=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;u.languages.csharp=u.languages.extend("clike",{string:[{pattern:m(/(^|[^$\\])<<0>>/.source,[ee]),lookbehind:!0,greedy:!0},{pattern:m(/(^|[^@$\\])<<0>>/.source,[_]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:m(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[ue]),lookbehind:!0,inside:P},{pattern:m(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[be,Y]),lookbehind:!0,inside:P},{pattern:m(/(\busing\s+)<<0>>(?=\s*=)/.source,[be]),lookbehind:!0},{pattern:m(/(\b<<0>>\s+)<<1>>/.source,[N,ce]),lookbehind:!0,inside:P},{pattern:m(/(\bcatch\s*\(\s*)<<0>>/.source,[ue]),lookbehind:!0,inside:P},{pattern:m(/(\bwhere\s+)<<0>>/.source,[be]),lookbehind:!0},{pattern:m(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[X]),lookbehind:!0,inside:P},{pattern:m(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[Y,I,be]),inside:P}],keyword:H,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),u.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),u.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:m(/([(,]\s*)<<0>>(?=\s*:)/.source,[be]),lookbehind:!0,alias:"punctuation"}}),u.languages.insertBefore("csharp","class-name",{namespace:{pattern:m(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[be]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:m(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[G]),lookbehind:!0,alias:"class-name",inside:P},"return-type":{pattern:m(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[Y,ue]),inside:P,alias:"class-name"},"constructor-invocation":{pattern:m(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[Y]),lookbehind:!0,inside:P,alias:"class-name"},"generic-method":{pattern:m(/<<0>>\s*<<1>>(?=\s*\()/.source,[be,ie]),inside:{function:m(/^<<0>>/.source,[be]),generic:{pattern:RegExp(ie),alias:"class-name",inside:P}}},"type-list":{pattern:m(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[N,ce,be,Y,H.source,G,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:m(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[ce,G]),lookbehind:!0,greedy:!0,inside:u.languages.csharp},keyword:H,"class-name":{pattern:RegExp(Y),greedy:!0,inside:P},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var de=_+"|"+B,Z=E(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[de]),fe=b(E(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[Z]),2),re=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,V=E(/<<0>>(?:\s*\(<<1>>*\))?/.source,[ue,fe]);u.languages.insertBefore("csharp","class-name",{attribute:{pattern:m(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[re,V]),lookbehind:!0,greedy:!0,inside:{target:{pattern:m(/^<<0>>(?=\s*:)/.source,[re]),alias:"keyword"},"attribute-arguments":{pattern:m(/\(<<0>>*\)/.source,[fe]),inside:u.languages.csharp},"class-name":{pattern:RegExp(ue),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var le=/:[^}\r\n]+/.source,ne=b(E(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[Z]),2),ge=E(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[ne,le]),Re=b(E(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[de]),2),Ie=E(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Re,le]);function ke(Be,oe){return{interpolation:{pattern:m(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[Be]),lookbehind:!0,inside:{"format-string":{pattern:m(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[oe,le]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:u.languages.csharp}}},string:/[\s\S]+/}}u.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:m(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[ge]),lookbehind:!0,greedy:!0,inside:ke(ge,ne)},{pattern:m(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[Ie]),lookbehind:!0,greedy:!0,inside:ke(Ie,Re)}],char:{pattern:RegExp(B),greedy:!0}}),u.languages.dotnet=u.languages.cs=u.languages.csharp})(r)}},10617:function(x,c,r){"use strict";var u=r(87648);x.exports=E,E.displayName="cshtml",E.aliases=["razor"];function E(m){m.register(u),function(b){var k=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,d=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function N(X,q){for(var W=0;W<q;W++)X=X.replace(/<self>/g,function(){return"(?:"+X+")"});return X.replace(/<self>/g,"[^\\s\\S]").replace(/<str>/g,"(?:"+d+")").replace(/<comment>/g,"(?:"+k+")")}var H=N(/\((?:[^()'"@/]|<str>|<comment>|<self>)*\)/.source,2),O=N(/\[(?:[^\[\]'"@/]|<str>|<comment>|<self>)*\]/.source,2),I=N(/\{(?:[^{}'"@/]|<str>|<comment>|<self>)*\}/.source,2),ie=N(/<(?:[^<>'"@/]|<str>|<comment>|<self>)*>/.source,2),G=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,be=/(?!\d)[^\s>\/=$<%]+/.source+G+/\s*\/?>/.source,ce=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+G+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+be+"|"+N(/<\1/.source+G+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+be+"|<self>")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/</.source+be+")";b.languages.cshtml=b.languages.extend("markup",{});var ue=b.languages.insertBefore("csharp","string",{html:{pattern:RegExp(ce),greedy:!0,inside:b.languages.cshtml}},{csharp:b.languages.extend("csharp",{})}),te={pattern:/\S[\s\S]*/,alias:"language-csharp",inside:ue};b.languages.insertBefore("cshtml","prolog",{"razor-comment":{pattern:/@\*[\s\S]*?\*@/,greedy:!0,alias:"comment"},block:{pattern:RegExp(/(^|[^@])@/.source+"(?:"+[I,/(?:code|functions)\s*/.source+I,/(?:for|foreach|lock|switch|using|while)\s*/.source+H+/\s*/.source+I,/do\s*/.source+I+/\s*while\s*/.source+H+/(?:\s*;)?/.source,/try\s*/.source+I+/\s*catch\s*/.source+H+/\s*/.source+I+/\s*finally\s*/.source+I,/if\s*/.source+H+/\s*/.source+I+"(?:"+/\s*else/.source+"(?:"+/\s+if\s*/.source+H+")?"+/\s*/.source+I+")*"].join("|")+")"),lookbehind:!0,greedy:!0,inside:{keyword:/^@\w*/,csharp:te}},directive:{pattern:/^([ \t]*)@(?:addTagHelper|attribute|implements|inherits|inject|layout|model|namespace|page|preservewhitespace|removeTagHelper|section|tagHelperPrefix|using)(?=\s).*/m,lookbehind:!0,greedy:!0,inside:{keyword:/^@\w+/,csharp:te}},value:{pattern:RegExp(/(^|[^@])@/.source+/(?:await\b\s*)?/.source+"(?:"+/\w+\b/.source+"|"+H+")(?:"+/[?!]?\.\w+\b/.source+"|"+H+"|"+O+"|"+ie+H+")*"),lookbehind:!0,greedy:!0,alias:"variable",inside:{keyword:/^@/,csharp:te}},"delegate-operator":{pattern:/(^|[^@])@(?=<)/,lookbehind:!0,alias:"operator"}}),b.languages.razor=b.languages.cshtml}(m)}},5348:function(x){"use strict";x.exports=c,c.displayName="csp",c.aliases=[];function c(r){(function(u){function E(m){return RegExp(/([ \t])/.source+"(?:"+m+")"+/(?=[\s;]|$)/.source,"i")}u.languages.csp={directive:{pattern:/(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i,lookbehind:!0,alias:"property"},scheme:{pattern:E(/[a-z][a-z0-9.+-]*:/.source),lookbehind:!0},none:{pattern:E(/'none'/.source),lookbehind:!0,alias:"keyword"},nonce:{pattern:E(/'nonce-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},hash:{pattern:E(/'sha(?:256|384|512)-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},host:{pattern:E(/[a-z][a-z0-9.+-]*:\/\/[^\s;,']*/.source+"|"+/\*[^\s;,']*/.source+"|"+/[a-z0-9-]+(?:\.[a-z0-9-]+)+(?::[\d*]+)?(?:\/[^\s;,']*)?/.source),lookbehind:!0,alias:"url",inside:{important:/\*/}},keyword:[{pattern:E(/'unsafe-[a-z-]+'/.source),lookbehind:!0,alias:"unsafe"},{pattern:E(/'[a-z-]+'/.source),lookbehind:!0,alias:"safe"}],punctuation:/;/}})(r)}},71053:function(x){"use strict";x.exports=c,c.displayName="cssExtras",c.aliases=[];function c(r){(function(u){var E=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,m;u.languages.css.selector={pattern:u.languages.css.selector.pattern,lookbehind:!0,inside:m={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+E.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[E,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},u.languages.css.atrule.inside["selector-function-argument"].inside=m,u.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var b={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},k={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};u.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|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|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:b,number:k,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:b,number:k})})(r)}},54212:function(x){"use strict";x.exports=c,c.displayName="css",c.aliases=[];function c(r){(function(u){var E=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;u.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+E.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+E.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+E.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:E,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},u.languages.css.atrule.inside.rest=u.languages.css;var m=u.languages.markup;m&&(m.tag.addInlined("style","css"),m.tag.addAttribute("style","css"))})(r)}},69820:function(x){"use strict";x.exports=c,c.displayName="csv",c.aliases=[];function c(r){r.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}},41929:function(x){"use strict";x.exports=c,c.displayName="cypher",c.aliases=[];function c(r){r.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}},51837:function(x){"use strict";x.exports=c,c.displayName="d",c.aliases=[];function c(r){r.languages.d=r.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),r.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),r.languages.insertBefore("d","keyword",{property:/\B@\w*/}),r.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}},4182:function(x){"use strict";x.exports=c,c.displayName="dart",c.aliases=[];function c(r){(function(u){var E=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],m=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,b={pattern:RegExp(m+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};u.languages.dart=u.languages.extend("clike",{"class-name":[b,{pattern:RegExp(m+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:b.inside}],keyword:E,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),u.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:u.languages.dart}}},string:/[\s\S]+/}},string:void 0}),u.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),u.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":b,keyword:E,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(r)}},22117:function(x){"use strict";x.exports=c,c.displayName="dataweave",c.aliases=[];function c(r){(function(u){u.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(r)}},95627:function(x){"use strict";x.exports=c,c.displayName="dax",c.aliases=[];function c(r){r.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}},34265:function(x){"use strict";x.exports=c,c.displayName="dhall",c.aliases=[];function c(r){r.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},r.languages.dhall.string.inside.interpolation.inside.expression.inside=r.languages.dhall}},50618:function(x){"use strict";x.exports=c,c.displayName="diff",c.aliases=[];function c(r){(function(u){u.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var E={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(E).forEach(function(m){var b=E[m],k=[];/^\w+$/.test(m)||k.push(/\w+/.exec(m)[0]),m==="diff"&&k.push("bold"),u.languages.diff[m]={pattern:RegExp("^(?:["+b+`].*(?:\r
?|
|(?![\\s\\S])))+`,"m"),alias:k,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(m)[0]}}}}),Object.defineProperty(u.languages.diff,"PREFIXES",{value:E})})(r)}},32126:function(x,c,r){"use strict";var u=r(51478);x.exports=E,E.displayName="django",E.aliases=["jinja2"];function E(m){m.register(u),function(b){b.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var k=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,d=b.languages["markup-templating"];b.hooks.add("before-tokenize",function(N){d.buildPlaceholders(N,"django",k)}),b.hooks.add("after-tokenize",function(N){d.tokenizePlaceholders(N,"django")}),b.languages.jinja2=b.languages.django,b.hooks.add("before-tokenize",function(N){d.buildPlaceholders(N,"jinja2",k)}),b.hooks.add("after-tokenize",function(N){d.tokenizePlaceholders(N,"jinja2")})}(m)}},26737:function(x){"use strict";x.exports=c,c.displayName="dnsZoneFile",c.aliases=[];function c(r){r.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},r.languages["dns-zone"]=r.languages["dns-zone-file"]}},90134:function(x){"use strict";x.exports=c,c.displayName="docker",c.aliases=["dockerfile"];function c(r){(function(u){var E=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,m=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return E}),b=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,k=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,function(){return b}),d={pattern:RegExp(b),greedy:!0},N={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function H(O,I){return O=O.replace(/<OPT>/g,function(){return k}).replace(/<SP>/g,function(){return m}),RegExp(O,I)}u.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:H(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[d,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:H(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:H(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:H(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:N,string:d,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:N},u.languages.dockerfile=u.languages.docker})(r)}},51348:function(x){"use strict";x.exports=c,c.displayName="dot",c.aliases=["gv"];function c(r){(function(u){var E="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!<!--)<(?:[^<>"']|"[^"]*"|'[^']*')+>|<!--(?:[^-]|-(?!->))*-->)*>/.source].join("|")+")",m={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:u.languages.markup}};function b(k,d){return RegExp(k.replace(/<ID>/g,function(){return E}),d)}u.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:b(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)<ID>/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:m},"attr-value":{pattern:b(/(=[ \t\r\n]*)<ID>/.source),lookbehind:!0,greedy:!0,inside:m},"attr-name":{pattern:b(/([\[;, \t\r\n])<ID>(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:m},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:b(/(^|[^-.\w\x80-\uFFFF\\])<ID>/.source),lookbehind:!0,greedy:!0,inside:m},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},u.languages.gv=u.languages.dot})(r)}},60841:function(x){"use strict";x.exports=c,c.displayName="ebnf",c.aliases=[];function c(r){r.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}},42857:function(x){"use strict";x.exports=c,c.displayName="editorconfig",c.aliases=[];function c(r){r.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}},81269:function(x){"use strict";x.exports=c,c.displayName="eiffel",c.aliases=[];function c(r){r.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}},31134:function(x,c,r){"use strict";var u=r(51478);x.exports=E,E.displayName="ejs",E.aliases=["eta"];function E(m){m.register(u),function(b){b.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:b.languages.javascript}},b.hooks.add("before-tokenize",function(k){var d=/<%(?!%)[\s\S]+?%>/g;b.languages["markup-templating"].buildPlaceholders(k,"ejs",d)}),b.hooks.add("after-tokenize",function(k){b.languages["markup-templating"].tokenizePlaceholders(k,"ejs")}),b.languages.eta=b.languages.ejs}(m)}},83125:function(x){"use strict";x.exports=c,c.displayName="elixir",c.aliases=[];function c(r){r.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},r.languages.elixir.string.forEach(function(u){u.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:r.languages.elixir}}}})}},9438:function(x){"use strict";x.exports=c,c.displayName="elm",c.aliases=[];function c(r){r.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}},27771:function(x,c,r){"use strict";var u=r(75308),E=r(51478);x.exports=m,m.displayName="erb",m.aliases=[];function m(b){b.register(u),b.register(E),function(k){k.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:k.languages.ruby}},k.hooks.add("before-tokenize",function(d){var N=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;k.languages["markup-templating"].buildPlaceholders(d,"erb",N)}),k.hooks.add("after-tokenize",function(d){k.languages["markup-templating"].tokenizePlaceholders(d,"erb")})}(b)}},86549:function(x){"use strict";x.exports=c,c.displayName="erlang",c.aliases=[];function c(r){r.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}},37079:function(x,c,r){"use strict";var u=r(33978),E=r(51478);x.exports=m,m.displayName="etlua",m.aliases=[];function m(b){b.register(u),b.register(E),function(k){k.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:k.languages.lua}},k.hooks.add("before-tokenize",function(d){var N=/<%[\s\S]+?%>/g;k.languages["markup-templating"].buildPlaceholders(d,"etlua",N)}),k.hooks.add("after-tokenize",function(d){k.languages["markup-templating"].tokenizePlaceholders(d,"etlua")})}(b)}},59250:function(x){"use strict";x.exports=c,c.displayName="excelFormula",c.aliases=[];function c(r){r.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},r.languages.xlsx=r.languages.xls=r.languages["excel-formula"]}},81226:function(x){"use strict";x.exports=c,c.displayName="factor",c.aliases=[];function c(r){(function(u){var E={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},m={number:/\\[^\s']|%\w/},b={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:E},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:E},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:E}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:m.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:m},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:m}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:m}},k=function(O){return(O+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},d=function(O){return new RegExp("(^|\\s)(?:"+O.map(k).join("|")+")(?=\\s|$)")},N={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","<wrapper>","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated","<PRIVATE",">>>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","<slice>","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","<iota>","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","<reversed>","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","<repetition>","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","<fp-nan>","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(N).forEach(function(O){b[O].pattern=d(N[O])});var H=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","input<sequence","append-outputs","drop-inputs","inputs","smart-2reduce","drop-outputs","smart-reduce","preserving","smart-when","outputs","append-outputs-as","smart-unless","smart-if*","sum-outputs","input<sequence-unsafe","output>sequence"];b.combinators.pattern=d(H),u.languages.factor=b})(r)}},65245:function(x){"use strict";x.exports=c,c.displayName="$false",c.aliases=[];function c(r){(function(u){u.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()<BDO®]/,alias:"bold"}}})(r)}},25040:function(x){"use strict";x.exports=c,c.displayName="firestoreSecurityRules",c.aliases=[];function c(r){r.languages["firestore-security-rules"]=r.languages.extend("clike",{comment:/\/\/.*/,keyword:/\b(?:allow|function|if|match|null|return|rules_version|service)\b/,operator:/&&|\|\||[<>!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete r.languages["firestore-security-rules"]["class-name"],r.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}},40284:function(x){"use strict";x.exports=c,c.displayName="flow",c.aliases=[];function c(r){(function(u){u.languages.flow=u.languages.extend("javascript",{}),u.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),u.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete u.languages.flow.parameter,u.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(u.languages.flow.keyword)||(u.languages.flow.keyword=[u.languages.flow.keyword]),u.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(r)}},39187:function(x){"use strict";x.exports=c,c.displayName="fortran",c.aliases=[];function c(r){r.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}},34302:function(x){"use strict";x.exports=c,c.displayName="fsharp",c.aliases=[];function c(r){r.languages.fsharp=r.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|<?\|{1,3}>?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),r.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),r.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),r.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:r.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}},90515:function(x,c,r){"use strict";var u=r(51478);x.exports=E,E.displayName="ftl",E.aliases=[];function E(m){m.register(u),function(b){for(var k=/[^<()"']|\((?:<expr>)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,d=0;d<2;d++)k=k.replace(/<expr>/g,function(){return k});k=k.replace(/<expr>/g,/[^\s\S]/.source);var N={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:<expr>))*\})*\1/.source.replace(/<expr>/g,function(){return k})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:<expr>))*\}/.source.replace(/<expr>/g,function(){return k})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};N.string[1].inside.interpolation.inside.rest=N,b.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:N}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:N}}}},b.hooks.add("before-tokenize",function(H){var O=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:<expr>)*?>|\$\{(?:<expr>)*?\}/.source.replace(/<expr>/g,function(){return k}),"gi");b.languages["markup-templating"].buildPlaceholders(H,"ftl",O)}),b.hooks.add("after-tokenize",function(H){b.languages["markup-templating"].tokenizePlaceholders(H,"ftl")})}(m)}},33534:function(x){"use strict";x.exports=c,c.displayName="gap",c.aliases=[];function c(r){r.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},r.languages.gap.shell.inside.gap.inside=r.languages.gap}},9885:function(x){"use strict";x.exports=c,c.displayName="gcode",c.aliases=[];function c(r){r.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}},76364:function(x){"use strict";x.exports=c,c.displayName="gdscript",c.aliases=[];function c(r){r.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}},56452:function(x){"use strict";x.exports=c,c.displayName="gedcom",c.aliases=[];function c(r){r.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}},8477:function(x){"use strict";x.exports=c,c.displayName="gherkin",c.aliases=[];function c(r){(function(u){var E=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;u.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+E+")(?:"+E+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(E),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(r)}},58230:function(x){"use strict";x.exports=c,c.displayName="git",c.aliases=[];function c(r){r.languages.git={comment:/^#.*/m,deleted:/^[-].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}},66192:function(x,c,r){"use strict";var u=r(79440);x.exports=E,E.displayName="glsl",E.aliases=[];function E(m){m.register(u),m.languages.glsl=m.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}},81084:function(x){"use strict";x.exports=c,c.displayName="gml",c.aliases=[];function c(r){r.languages.gamemakerlanguage=r.languages.gml=r.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}},50318:function(x){"use strict";x.exports=c,c.displayName="gn",c.aliases=["gni"];function c(r){r.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},r.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=r.languages.gn,r.languages.gni=r.languages.gn}},95769:function(x){"use strict";x.exports=c,c.displayName="goModule",c.aliases=[];function c(r){r.languages["go-mod"]=r.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}},14155:function(x){"use strict";x.exports=c,c.displayName="go",c.aliases=[];function c(r){r.languages.go=r.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),r.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete r.languages.go["class-name"]}},92823:function(x){"use strict";x.exports=c,c.displayName="graphql",c.aliases=[];function c(r){r.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:r.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},r.hooks.add("after-tokenize",function(E){if(E.language!=="graphql")return;var m=E.tokens.filter(function(te){return typeof te!="string"&&te.type!=="comment"&&te.type!=="scalar"}),b=0;function k(te){return m[b+te]}function d(te,X){X=X||0;for(var q=0;q<te.length;q++){var W=k(q+X);if(!W||W.type!==te[q])return!1}return!0}function N(te,X){for(var q=1,W=b;W<m.length;W++){var Y=m[W],P=Y.content;if(Y.type==="punctuation"&&typeof P=="string"){if(te.test(P))q++;else if(X.test(P)&&(q--,q===0))return W}}return-1}function H(te,X){var q=te.alias;q?Array.isArray(q)||(te.alias=q=[q]):te.alias=q=[],q.push(X)}for(;b<m.length;){var O=m[b++];if(O.type==="keyword"&&O.content==="mutation"){var I=[];if(d(["definition-mutation","punctuation"])&&k(1).content==="("){b+=2;var ie=N(/^\($/,/^\)$/);if(ie===-1)continue;for(;b<ie;b++){var G=k(0);G.type==="variable"&&(H(G,"variable-input"),I.push(G.content))}b=ie+1}if(d(["punctuation","property-query"])&&k(0).content==="{"&&(b++,H(k(0),"property-mutation"),I.length>0)){var be=N(/^\{$/,/^\}$/);if(be===-1)continue;for(var ce=b;ce<be;ce++){var ue=m[ce];ue.type==="variable"&&I.indexOf(ue.content)>=0&&H(ue,"variable-input")}}}}})}},63092:function(x){"use strict";x.exports=c,c.displayName="groovy",c.aliases=[];function c(r){r.languages.groovy=r.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),r.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),r.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),r.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),r.hooks.add("wrap",function(u){if(u.language==="groovy"&&u.type==="string"){var E=u.content.value[0];if(E!="'"){var m=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;E==="$"&&(m=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),u.content.value=u.content.value.replace(/&lt;/g,"<").replace(/&amp;/g,"&"),u.content=r.highlight(u.content.value,{expression:{pattern:m,lookbehind:!0,inside:r.languages.groovy}}),u.classes.push(E==="/"?"regex":"gstring")}}})}},21550:function(x,c,r){"use strict";var u=r(75308);x.exports=E,E.displayName="haml",E.aliases=[];function E(m){m.register(u),function(b){b.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:b.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:b.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:b.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:b.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:b.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:b.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:b.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var k="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",d=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],N={},H=0,O=d.length;H<O;H++){var I=d[H];I=typeof I=="string"?{filter:I,language:I}:I,b.languages[I.language]&&(N["filter-"+I.filter]={pattern:RegExp(k.replace("{{filter_name}}",function(){return I.filter})),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"},text:{pattern:/[\s\S]+/,alias:[I.language,"language-"+I.language],inside:b.languages[I.language]}}})}b.languages.insertBefore("haml","filter",N)}(m)}},29710:function(x,c,r){"use strict";var u=r(51478);x.exports=E,E.displayName="handlebars",E.aliases=["hbs"];function E(m){m.register(u),function(b){b.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},b.hooks.add("before-tokenize",function(k){var d=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;b.languages["markup-templating"].buildPlaceholders(k,"handlebars",d)}),b.hooks.add("after-tokenize",function(k){b.languages["markup-templating"].tokenizePlaceholders(k,"handlebars")}),b.languages.hbs=b.languages.handlebars}(m)}},2050:function(x){"use strict";x.exports=c,c.displayName="haskell",c.aliases=["hs"];function c(r){r.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},r.languages.hs=r.languages.haskell}},67967:function(x){"use strict";x.exports=c,c.displayName="haxe",c.aliases=[];function c(r){r.languages.haxe=r.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<<?|>{1,3}|[-+*/%!=&|^])=?|[?:~]/}),r.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:r.languages.haxe}}},string:/[\s\S]+/}}}),r.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),r.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}},29138:function(x){"use strict";x.exports=c,c.displayName="hcl",c.aliases=[];function c(r){r.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}},67915:function(x,c,r){"use strict";var u=r(79440);x.exports=E,E.displayName="hlsl",E.aliases=[];function E(m){m.register(u),m.languages.hlsl=m.languages.extend("c",{"class-name":[m.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}},54853:function(x){"use strict";x.exports=c,c.displayName="hoon",c.aliases=[];function c(r){r.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}},68330:function(x){"use strict";x.exports=c,c.displayName="hpkp",c.aliases=[];function c(r){r.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}},76823:function(x){"use strict";x.exports=c,c.displayName="hsts",c.aliases=[];function c(r){r.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}},86712:function(x){"use strict";x.exports=c,c.displayName="http",c.aliases=[];function c(r){(function(u){function E(I){return RegExp("(^(?:"+I+"):[ ]*(?![ ]))[^]+","i")}u.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:u.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:E(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:u.languages.csp},{pattern:E(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:u.languages.hpkp},{pattern:E(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:u.languages.hsts},{pattern:E(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var m=u.languages,b={"application/javascript":m.javascript,"application/json":m.json||m.javascript,"application/xml":m.xml,"text/xml":m.xml,"text/html":m.html,"text/css":m.css,"text/plain":m.plain},k={"application/json":!0,"application/xml":!0};function d(I){var ie=I.replace(/^[a-z]+\//,""),G="\\w+/(?:[\\w.-]+\\+)+"+ie+"(?![+\\w.-])";return"(?:"+I+"|"+G+")"}var N;for(var H in b)if(b[H]){N=N||{};var O=k[H]?d(H):H;N[H.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+O+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:b[H]}}N&&u.languages.insertBefore("http","header",N)})(r)}},72252:function(x){"use strict";x.exports=c,c.displayName="ichigojam",c.aliases=[];function c(r){r.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}},78634:function(x){"use strict";x.exports=c,c.displayName="icon",c.aliases=[];function c(r){r.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|<?=?)|>>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}},43583:function(x){"use strict";x.exports=c,c.displayName="icuMessageFormat",c.aliases=[];function c(r){(function(u){function E(H,O){return O<=0?/[]/.source:H.replace(/<SELF>/g,function(){return E(H,O-1)})}var m=/'[{}:=,](?:[^']|'')*'(?!')/,b={pattern:/''/,greedy:!0,alias:"operator"},k={pattern:m,greedy:!0,inside:{escape:b}},d=E(/\{(?:[^{}']|'(?![{},'])|''|<STR>|<SELF>)*\}/.source.replace(/<STR>/g,function(){return m.source}),8),N={pattern:RegExp(d),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};u.languages["icu-message-format"]={argument:{pattern:RegExp(d),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":N,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":N,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+E(/(?:[^{}']|'[^']*'|\{(?:<SELF>)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:b,string:k},N.inside.message.inside=u.languages["icu-message-format"],u.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=u.languages["icu-message-format"]})(r)}},23328:function(x,c,r){"use strict";var u=r(2050);x.exports=E,E.displayName="idris",E.aliases=["idr"];function E(m){m.register(u),m.languages.idris=m.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),m.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),m.languages.idr=m.languages.idris}},74494:function(x){"use strict";x.exports=c,c.displayName="iecst",c.aliases=[];function c(r){r.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}},46745:function(x){"use strict";x.exports=c,c.displayName="ignore",c.aliases=["gitignore","hgignore","npmignore"];function c(r){(function(u){u.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},u.languages.gitignore=u.languages.ignore,u.languages.hgignore=u.languages.ignore,u.languages.npmignore=u.languages.ignore})(r)}},22152:function(x){"use strict";x.exports=c,c.displayName="inform7",c.aliases=[];function c(r){r.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},r.languages.inform7.string.inside.substitution.inside.rest=r.languages.inform7,r.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}},83698:function(x){"use strict";x.exports=c,c.displayName="ini",c.aliases=[];function c(r){r.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}},26619:function(x){"use strict";x.exports=c,c.displayName="io",c.aliases=[];function c(r){r.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<<?=?|:?:?=|\+\+?|--?|\*\*?|\/\/?|%|\|\|?|&&?|\b(?:and|not|or|return)\b|@@?|\?\??|\.\./,punctuation:/[{}[\];(),.:]/}}},53990:function(x){"use strict";x.exports=c,c.displayName="j",c.aliases=[];function c(r){r.languages.j={comment:{pattern:/\bNB\..*/,greedy:!0},string:{pattern:/'(?:''|[^'\r\n])*'/,greedy:!0},keyword:/\b(?:(?:CR|LF|adverb|conjunction|def|define|dyad|monad|noun|verb)\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\w+|goto_\w+|if|label_\w+|return|select|throw|try|while|whilst)\.)/,verb:{pattern:/(?!\^:|;\.|[=!][.:])(?:\{(?:\.|::?)?|p(?:\.\.?|:)|[=!\]]|[<>+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}},7093:function(x){"use strict";x.exports=c,c.displayName="java",c.aliases=[];function c(r){(function(u){var E=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,m=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,b={pattern:RegExp(m+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};u.languages.java=u.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[b,{pattern:RegExp(m+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:b.inside}],keyword:E,function:[u.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),u.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),u.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":b,keyword:E,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return E.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(r)}},4005:function(x,c,r){"use strict";var u=r(7093),E=r(53510);x.exports=m,m.displayName="javadoc",m.aliases=[];function m(b){b.register(u),b.register(E),function(k){var d=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,N=/#\s*\w+(?:\s*\([^()]*\))?/.source,H=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*<mem>)?|<mem>/.source.replace(/<mem>/g,function(){return N});k.languages.javadoc=k.languages.extend("javadoclike",{}),k.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+H+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:k.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:d,lookbehind:!0,inside:k.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!<code>)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:d,lookbehind:!0,inside:{tag:k.languages.markup.tag,entity:k.languages.markup.entity,code:{pattern:/.+/,inside:k.languages.java,alias:"language-java"}}}}}],tag:k.languages.markup.tag,entity:k.languages.markup.entity}),k.languages.javadoclike.addSupport("java",k.languages.javadoc)}(b)}},53510:function(x){"use strict";x.exports=c,c.displayName="javadoclike",c.aliases=[];function c(r){(function(u){var E=u.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function m(k,d){var N="doc-comment",H=u.languages[k];if(H){var O=H[N];if(!O){var I={};I[N]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},H=u.languages.insertBefore(k,"comment",I),O=H[N]}if(O instanceof RegExp&&(O=H[N]={pattern:O}),Array.isArray(O))for(var ie=0,G=O.length;ie<G;ie++)O[ie]instanceof RegExp&&(O[ie]={pattern:O[ie]}),d(O[ie]);else d(O)}}function b(k,d){typeof k=="string"&&(k=[k]),k.forEach(function(N){m(N,function(H){H.inside||(H.inside={}),H.inside.rest=d})})}Object.defineProperty(E,"addSupport",{value:b}),E.addSupport(["java","javascript","php"],E)})(r)}},88786:function(x){"use strict";x.exports=c,c.displayName="javascript",c.aliases=["js"];function c(r){r.languages.javascript=r.languages.extend("clike",{"class-name":[r.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),r.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),r.languages.js=r.languages.javascript}},24799:function(x){"use strict";x.exports=c,c.displayName="javastacktrace",c.aliases=[];function c(r){r.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:<init>)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:<init>|[\w$]+)\()/,function:/(?:<init>|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}},97443:function(x){"use strict";x.exports=c,c.displayName="jexl",c.aliases=[];function c(r){r.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}},80746:function(x){"use strict";x.exports=c,c.displayName="jolie",c.aliases=[];function c(r){r.languages.jolie=r.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),r.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}},17015:function(x){"use strict";x.exports=c,c.displayName="jq",c.aliases=[];function c(r){(function(u){var E=/\\\((?:[^()]|\([^()]*\))*\)/.source,m=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return E})),b={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+E),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},k=u.languages.jq={comment:/#.*/,property:{pattern:RegExp(m.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:b},string:{pattern:m,lookbehind:!0,greedy:!0,inside:b},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};b.interpolation.inside.content.inside=k})(r)}},89246:function(x){"use strict";x.exports=c,c.displayName="jsExtras",c.aliases=[];function c(r){(function(u){u.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+u.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),u.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+u.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),u.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function E(H,O){return RegExp(H.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),O)}u.languages.insertBefore("javascript","keyword",{imports:{pattern:E(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:u.languages.javascript},exports:{pattern:E(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:u.languages.javascript}}),u.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),u.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),u.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:E(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var m=["function","function-variable","method","method-variable","property-access"],b=0;b<m.length;b++){var k=m[b],d=u.languages.javascript[k];u.util.type(d)==="RegExp"&&(d=u.languages.javascript[k]={pattern:d});var N=d.inside||{};d.inside=N,N["maybe-class-name"]=/^[A-Z][\s\S]*/}})(r)}},487:function(x){"use strict";x.exports=c,c.displayName="jsTemplates",c.aliases=[];function c(r){(function(u){var E=u.languages.javascript["template-string"],m=E.pattern.source,b=E.inside.interpolation,k=b.inside["interpolation-punctuation"],d=b.pattern.source;function N(ce,ue){if(u.languages[ce])return{pattern:RegExp("((?:"+ue+")\\s*)"+m),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:ce}}}}u.languages.javascript["template-string"]=[N("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),N("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),N("svg",/\bsvg/.source),N("markdown",/\b(?:markdown|md)/.source),N("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),N("sql",/\bsql/.source),E].filter(Boolean);function H(ce,ue){return"___"+ue.toUpperCase()+"_"+ce+"___"}function O(ce,ue,te){var X={code:ce,grammar:ue,language:te};return u.hooks.run("before-tokenize",X),X.tokens=u.tokenize(X.code,X.grammar),u.hooks.run("after-tokenize",X),X.tokens}function I(ce){var ue={};ue["interpolation-punctuation"]=k;var te=u.tokenize(ce,ue);if(te.length===3){var X=[1,1];X.push.apply(X,O(te[1],u.languages.javascript,"javascript")),te.splice.apply(te,X)}return new u.Token("interpolation",te,b.alias,ce)}function ie(ce,ue,te){var X=u.tokenize(ce,{interpolation:{pattern:RegExp(d),lookbehind:!0}}),q=0,W={},Y=X.map(function(ee){if(typeof ee=="string")return ee;for(var de=ee.content,Z;ce.indexOf(Z=H(q++,te))!==-1;);return W[Z]=de,Z}).join(""),P=O(Y,ue,te),B=Object.keys(W);q=0;function _(ee){for(var de=0;de<ee.length;de++){if(q>=B.length)return;var Z=ee[de];if(typeof Z=="string"||typeof Z.content=="string"){var fe=B[q],re=typeof Z=="string"?Z:Z.content,V=re.indexOf(fe);if(V!==-1){++q;var le=re.substring(0,V),ne=I(W[fe]),ge=re.substring(V+fe.length),Re=[];if(le&&Re.push(le),Re.push(ne),ge){var Ie=[ge];_(Ie),Re.push.apply(Re,Ie)}typeof Z=="string"?(ee.splice.apply(ee,[de,1].concat(Re)),de+=Re.length-1):Z.content=Re}}else{var ke=Z.content;Array.isArray(ke)?_(ke):_([ke])}}}return _(P),new u.Token(te,P,"language-"+te,ce)}var G={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};u.hooks.add("after-tokenize",function(ce){if(!(ce.language in G))return;function ue(te){for(var X=0,q=te.length;X<q;X++){var W=te[X];if(typeof W!="string"){var Y=W.content;if(!Array.isArray(Y)){typeof Y!="string"&&ue([Y]);continue}if(W.type==="template-string"){var P=Y[1];if(Y.length===3&&typeof P!="string"&&P.type==="embedded-code"){var B=be(P),_=P.alias,ee=Array.isArray(_)?_[0]:_,de=u.languages[ee];if(!de)continue;Y[1]=ie(B,de,ee)}}else ue(Y)}}}ue(ce.tokens)});function be(ce){return typeof ce=="string"?ce:Array.isArray(ce)?ce.map(be).join(""):be(ce.content)}})(r)}},79539:function(x,c,r){"use strict";var u=r(53510),E=r(92784);x.exports=m,m.displayName="jsdoc",m.aliases=[];function m(b){b.register(u),b.register(E),function(k){var d=k.languages.javascript,N=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,H="(@(?:arg|argument|param|property)\\s+(?:"+N+"\\s+)?)";k.languages.jsdoc=k.languages.extend("javadoclike",{parameter:{pattern:RegExp(H+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),k.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(H+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:d,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return N})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+N),lookbehind:!0,inside:{string:d.string,number:d.number,boolean:d.boolean,keyword:k.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:d,alias:"language-javascript"}}}}),k.languages.javadoclike.addSupport("javascript",k.languages.jsdoc)}(b)}},15628:function(x){"use strict";x.exports=c,c.displayName="json",c.aliases=["webmanifest"];function c(r){r.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},r.languages.webmanifest=r.languages.json}},14320:function(x,c,r){"use strict";var u=r(15628);x.exports=E,E.displayName="json5",E.aliases=[];function E(m){m.register(u),function(b){var k=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;b.languages.json5=b.languages.extend("json",{property:[{pattern:RegExp(k.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:k,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(m)}},73222:function(x,c,r){"use strict";var u=r(15628);x.exports=E,E.displayName="jsonp",E.aliases=[];function E(m){m.register(u),m.languages.jsonp=m.languages.extend("json",{punctuation:/[{}[\]();,.]/}),m.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}},92486:function(x){"use strict";x.exports=c,c.displayName="jsstacktrace",c.aliases=[];function c(r){r.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js|<unknown>|.*(?:node_modules|\(<anonymous>\)|\(<unknown>|<anonymous>$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}},24103:function(x){"use strict";x.exports=c,c.displayName="jsx",c.aliases=[];function c(r){(function(u){var E=u.util.clone(u.languages.javascript),m=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,b=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,k=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function d(O,I){return O=O.replace(/<S>/g,function(){return m}).replace(/<BRACES>/g,function(){return b}).replace(/<SPREAD>/g,function(){return k}),RegExp(O,I)}k=d(k).source,u.languages.jsx=u.languages.extend("markup",E),u.languages.jsx.tag.pattern=d(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),u.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,u.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,u.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,u.languages.jsx.tag.inside.comment=E.comment,u.languages.insertBefore("inside","attr-name",{spread:{pattern:d(/<SPREAD>/.source),inside:u.languages.jsx}},u.languages.jsx.tag),u.languages.insertBefore("inside","special-attr",{script:{pattern:d(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:u.languages.jsx}}},u.languages.jsx.tag);var N=function(O){return O?typeof O=="string"?O:typeof O.content=="string"?O.content:O.content.map(N).join(""):""},H=function(O){for(var I=[],ie=0;ie<O.length;ie++){var G=O[ie],be=!1;if(typeof G!="string"&&(G.type==="tag"&&G.content[0]&&G.content[0].type==="tag"?G.content[0].content[0].content==="</"?I.length>0&&I[I.length-1].tagName===N(G.content[0].content[1])&&I.pop():G.content[G.content.length-1].content==="/>"||I.push({tagName:N(G.content[0].content[1]),openedBraces:0}):I.length>0&&G.type==="punctuation"&&G.content==="{"?I[I.length-1].openedBraces++:I.length>0&&I[I.length-1].openedBraces>0&&G.type==="punctuation"&&G.content==="}"?I[I.length-1].openedBraces--:be=!0),(be||typeof G=="string")&&I.length>0&&I[I.length-1].openedBraces===0){var ce=N(G);ie<O.length-1&&(typeof O[ie+1]=="string"||O[ie+1].type==="plain-text")&&(ce+=N(O[ie+1]),O.splice(ie+1,1)),ie>0&&(typeof O[ie-1]=="string"||O[ie-1].type==="plain-text")&&(ce=N(O[ie-1])+ce,O.splice(ie-1,1),ie--),O[ie]=new u.Token("plain-text",ce,null,ce)}G.content&&typeof G.content!="string"&&H(G.content)}};u.hooks.add("after-tokenize",function(O){O.language!=="jsx"&&O.language!=="tsx"||H(O.tokens)})})(r)}},40604:function(x){"use strict";x.exports=c,c.displayName="julia",c.aliases=[];function c(r){r.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}},23109:function(x){"use strict";x.exports=c,c.displayName="keepalived",c.aliases=[];function c(r){r.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}<ipv4>|(?:[\da-f]{1,4}:){0,5}:<ipv4>|::(?:[\da-f]{1,4}:){0,5}<ipv4>|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|<ipv4>(?:\/\d{1,2})?)\b/.source.replace(/<ipv4>/g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}},32082:function(x){"use strict";x.exports=c,c.displayName="keyman",c.aliases=[];function c(r){r.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}},77674:function(x){"use strict";x.exports=c,c.displayName="kotlin",c.aliases=["kt","kts"];function c(r){(function(u){u.languages.kotlin=u.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete u.languages.kotlin["class-name"];var E={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:u.languages.kotlin}};u.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:E},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:E},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete u.languages.kotlin.string,u.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),u.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),u.languages.kt=u.languages.kotlin,u.languages.kts=u.languages.kotlin})(r)}},37524:function(x){"use strict";x.exports=c,c.displayName="kumir",c.aliases=["kum"];function c(r){(function(u){var E=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function m(b,k){return RegExp(b.replace(/<nonId>/g,E),k)}u.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:m(/(^|[<nonId>])(?:да|нет)(?=[<nonId>]|$)/.source),lookbehind:!0},"operator-word":{pattern:m(/(^|[<nonId>])(?:и|или|не)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:m(/(^|[<nonId>])знач(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:m(/(^|[<nonId>])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:m(/(^|[<nonId>])(?:компл|сканкод|файл|цвет)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:m(/(^|[<nonId>])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[<nonId>]|$)/.source),lookbehind:!0},name:{pattern:m(/(^|[<nonId>])[^\d<nonId>][^<nonId>]*(?:\x20+[^<nonId>]+)*(?=[<nonId>]|$)/.source),lookbehind:!0},number:{pattern:m(/(^|[<nonId>])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[<nonId>]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},u.languages.kum=u.languages.kumir})(r)}},6658:function(x){"use strict";x.exports=c,c.displayName="kusto",c.aliases=[];function c(r){r.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}},24824:function(x){"use strict";x.exports=c,c.displayName="latex",c.aliases=["tex","context"];function c(r){(function(u){var E=/\\(?:[^a-z()[\]]|[a-z*]+)/i,m={"equation-command":{pattern:E,alias:"regex"}};u.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:m,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:m,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:E,alias:"selector"},punctuation:/[[\]{}&]/},u.languages.tex=u.languages.latex,u.languages.context=u.languages.latex})(r)}},22776:function(x,c,r){"use strict";var u=r(51478),E=r(53852);x.exports=m,m.displayName="latte",m.aliases=[];function m(b){b.register(u),b.register(E),function(k){k.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:k.languages.php}};var d=k.languages.extend("markup",{});k.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:k.languages.php}}}}}},d.tag),k.hooks.add("before-tokenize",function(N){if(N.language==="latte"){var H=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;k.languages["markup-templating"].buildPlaceholders(N,"latte",H),N.grammar=d}}),k.hooks.add("after-tokenize",function(N){k.languages["markup-templating"].tokenizePlaceholders(N,"latte")})}(b)}},89700:function(x){"use strict";x.exports=c,c.displayName="less",c.aliases=[];function c(r){r.languages.less=r.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),r.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}},99296:function(x,c,r){"use strict";var u=r(48780);x.exports=E,E.displayName="lilypond",E.aliases=[];function E(m){m.register(u),function(b){for(var k=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|<expr>)*\)/.source,d=5,N=0;N<d;N++)k=k.replace(/<expr>/g,function(){return k});k=k.replace(/<expr>/g,/[^\s\S]/.source);var H=b.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|<expr>))/.source.replace(/<expr>/g,function(){return k}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:b.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};H["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=H,b.languages.ly=H}(m)}},39940:function(x,c,r){"use strict";var u=r(51478);x.exports=E,E.displayName="liquid",E.aliases=[];function E(m){m.register(u),m.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},m.hooks.add("before-tokenize",function(b){var k=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,d=!1;m.languages["markup-templating"].buildPlaceholders(b,"liquid",k,function(N){var H=/^\{%-?\s*(\w+)/.exec(N);if(H){var O=H[1];if(O==="raw"&&!d)return d=!0,!0;if(O==="endraw")return d=!1,!0}return!d})}),m.hooks.add("after-tokenize",function(b){m.languages["markup-templating"].tokenizePlaceholders(b,"liquid")})}},34973:function(x){"use strict";x.exports=c,c.displayName="lisp",c.aliases=[];function c(r){(function(u){function E(ce){return RegExp(/(\()/.source+"(?:"+ce+")"+/(?=[\s\)])/.source)}function m(ce){return RegExp(/([\s([])/.source+"(?:"+ce+")"+/(?=[\s)])/.source)}var b=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,k="&"+b,d="(\\()",N="(?=\\))",H="(?=\\s)",O=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,I={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+b+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+b),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+b),alias:"property"},splice:{pattern:RegExp(",@?"+b),alias:["symbol","variable"]},keyword:[{pattern:RegExp(d+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+H),lookbehind:!0},{pattern:RegExp(d+"(?:append|by|collect|concat|do|finally|for|in|return)"+H),lookbehind:!0}],declare:{pattern:E(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:E(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:m(/nil|t/.source),lookbehind:!0},number:{pattern:m(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(d+"def(?:const|custom|group|var)\\s+"+b),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(b)}},defun:{pattern:RegExp(d+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+b+/\s+\(/.source+O+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+b),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(d+"lambda\\s+\\(\\s*(?:&?"+b+"(?:\\s+&?"+b+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(d+b),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},ie={"lisp-marker":RegExp(k),varform:{pattern:RegExp(/\(/.source+b+/\s+(?=\S)/.source+O+/\)/.source),inside:I},argument:{pattern:RegExp(/(^|[\s(])/.source+b),lookbehind:!0,alias:"variable"},rest:I},G="\\S+(?:\\s+\\S+)*",be={pattern:RegExp(d+O+N),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+G),inside:ie},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+G),inside:ie},keys:{pattern:RegExp("&key\\s+"+G+"(?:\\s+&allow-other-keys)?"),inside:ie},argument:{pattern:RegExp(b),alias:"variable"},punctuation:/[()]/}};I.lambda.inside.arguments=be,I.defun.inside.arguments=u.util.clone(be),I.defun.inside.arguments.inside.sublist=be,u.languages.lisp=I,u.languages.elisp=I,u.languages.emacs=I,u.languages["emacs-lisp"]=I})(r)}},98135:function(x){"use strict";x.exports=c,c.displayName="livescript",c.aliases=[];function c(r){r.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<<?<?|--?!?|~~?!?|[|=?])?|>[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},r.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=r.languages.livescript}},36907:function(x){"use strict";x.exports=c,c.displayName="llvm",c.aliases=[];function c(r){(function(u){u.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(r)}},3567:function(x){"use strict";x.exports=c,c.displayName="log",c.aliases=[];function c(r){r.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:r.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}},23763:function(x){"use strict";x.exports=c,c.displayName="lolcode",c.aliases=[];function c(r){r.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}},33978:function(x){"use strict";x.exports=c,c.displayName="lua",c.aliases=[];function c(r){r.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}},40472:function(x){"use strict";x.exports=c,c.displayName="magma",c.aliases=[];function c(r){r.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}},44695:function(x){"use strict";x.exports=c,c.displayName="makefile",c.aliases=[];function c(r){r.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}},53885:function(x){"use strict";x.exports=c,c.displayName="markdown",c.aliases=["md"];function c(r){(function(u){var E=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function m(ie){return ie=ie.replace(/<inner>/g,function(){return E}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+ie+")")}var b=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,k=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return b}),d=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;u.languages.markdown=u.languages.extend("markup",{}),u.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:u.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+k+d+"(?:"+k+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+k+d+")(?:"+k+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(b),inside:u.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+k+")"+d+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+k+"$"),inside:{"table-header":{pattern:RegExp(b),alias:"important",inside:u.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:m(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:m(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:m(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:m(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(ie){["url","bold","italic","strike","code-snippet"].forEach(function(G){ie!==G&&(u.languages.markdown[ie].inside.content.inside[G]=u.languages.markdown[G])})}),u.hooks.add("after-tokenize",function(ie){if(ie.language!=="markdown"&&ie.language!=="md")return;function G(be){if(!(!be||typeof be=="string"))for(var ce=0,ue=be.length;ce<ue;ce++){var te=be[ce];if(te.type!=="code"){G(te.content);continue}var X=te.content[1],q=te.content[3];if(X&&q&&X.type==="code-language"&&q.type==="code-block"&&typeof X.content=="string"){var W=X.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");W=(/[a-z][\w-]*/i.exec(W)||[""])[0].toLowerCase();var Y="language-"+W;q.alias?typeof q.alias=="string"?q.alias=[q.alias,Y]:q.alias.push(Y):q.alias=[Y]}}}G(ie.tokens)}),u.hooks.add("wrap",function(ie){if(ie.type==="code-block"){for(var G="",be=0,ce=ie.classes.length;be<ce;be++){var ue=ie.classes[be],te=/language-(.+)/.exec(ue);if(te){G=te[1];break}}var X=u.languages[G];if(X)ie.content=u.highlight(I(ie.content.value),X,G);else if(G&&G!=="none"&&u.plugins.autoloader){var q="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);ie.attributes.id=q,u.plugins.autoloader.loadLanguages(G,function(){var W=document.getElementById(q);W&&(W.innerHTML=u.highlight(W.textContent,u.languages[G],G))})}}});var N=RegExp(u.languages.markup.tag.pattern.source,"gi"),H={amp:"&",lt:"<",gt:">",quot:'"'},O=String.fromCodePoint||String.fromCharCode;function I(ie){var G=ie.replace(N,"");return G=G.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(be,ce){if(ce=ce.toLowerCase(),ce[0]==="#"){var ue;return ce[1]==="x"?ue=parseInt(ce.slice(2),16):ue=Number(ce.slice(1)),O(ue)}else{var te=H[ce];return te||be}}),G}u.languages.md=u.languages.markdown})(r)}},51478:function(x){"use strict";x.exports=c,c.displayName="markupTemplating",c.aliases=[];function c(r){(function(u){function E(m,b){return"___"+m.toUpperCase()+b+"___"}Object.defineProperties(u.languages["markup-templating"]={},{buildPlaceholders:{value:function(m,b,k,d){if(m.language===b){var N=m.tokenStack=[];m.code=m.code.replace(k,function(H){if(typeof d=="function"&&!d(H))return H;for(var O=N.length,I;m.code.indexOf(I=E(b,O))!==-1;)++O;return N[O]=H,I}),m.grammar=u.languages.markup}}},tokenizePlaceholders:{value:function(m,b){if(m.language!==b||!m.tokenStack)return;m.grammar=u.languages[b];var k=0,d=Object.keys(m.tokenStack);function N(H){for(var O=0;O<H.length&&!(k>=d.length);O++){var I=H[O];if(typeof I=="string"||I.content&&typeof I.content=="string"){var ie=d[k],G=m.tokenStack[ie],be=typeof I=="string"?I:I.content,ce=E(b,ie),ue=be.indexOf(ce);if(ue>-1){++k;var te=be.substring(0,ue),X=new u.Token(b,u.tokenize(G,m.grammar),"language-"+b,G),q=be.substring(ue+ce.length),W=[];te&&W.push.apply(W,N([te])),W.push(X),q&&W.push.apply(W,N([q])),typeof I=="string"?H.splice.apply(H,[O,1].concat(W)):I.content=W}}else I.content&&N(I.content)}return H}N(m.tokens)}}})})(r)}},70614:function(x){"use strict";x.exports=c,c.displayName="markup",c.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function c(r){r.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",function(u){u.type==="entity"&&(u.attributes.title=u.content.value.replace(/&amp;/,"&"))}),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(E,m){var b={};b["language-"+m]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:r.languages[m]},b.cdata=/^<!\[CDATA\[|\]\]>$/i;var k={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:b}};k["language-"+m]={pattern:/[\s\S]+/,inside:r.languages[m]};var d={};d[E]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return E}),"i"),lookbehind:!0,greedy:!0,inside:k},r.languages.insertBefore("markup","cdata",d)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(u,E){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+u+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[E,"language-"+E],inside:r.languages[E]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml}},16928:function(x){"use strict";x.exports=c,c.displayName="matlab",c.aliases=[];function c(r){r.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}},13586:function(x){"use strict";x.exports=c,c.displayName="maxscript",c.aliases=[];function c(r){(function(u){var E=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;u.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+E.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+E.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:E,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(r)}},37164:function(x){"use strict";x.exports=c,c.displayName="mel",c.aliases=[];function c(r){r.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},r.languages.mel.code.inside.rest=r.languages.mel}},25153:function(x){"use strict";x.exports=c,c.displayName="mermaid",c.aliases=[];function c(r){r.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[<ox](?:==+|--+|-\.*-)[>ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}},33245:function(x){"use strict";x.exports=c,c.displayName="mizar",c.aliases=[];function c(r){r.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}},32218:function(x){"use strict";x.exports=c,c.displayName="mongodb",c.aliases=[];function c(r){(function(u){var E=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],m=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];E=E.map(function(k){return k.replace("$","\\$")});var b="(?:"+E.join("|")+")\\b";u.languages.mongodb=u.languages.extend("javascript",{}),u.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+b+"(?:\\1)?$")}}}),u.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},u.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+m.join("|")+")\\b"),alias:"keyword"}})})(r)}},65626:function(x){"use strict";x.exports=c,c.displayName="monkey",c.aliases=[];function c(r){r.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}},60090:function(x){"use strict";x.exports=c,c.displayName="moonscript",c.aliases=["moon"];function c(r){r.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},r.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=r.languages.moonscript,r.languages.moon=r.languages.moonscript}},40722:function(x){"use strict";x.exports=c,c.displayName="n1ql",c.aliases=[];function c(r){r.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}},37783:function(x){"use strict";x.exports=c,c.displayName="n4js",c.aliases=["n4jsd"];function c(r){r.languages.n4js=r.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),r.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),r.languages.n4jsd=r.languages.n4js}},41224:function(x){"use strict";x.exports=c,c.displayName="nand2tetrisHdl",c.aliases=[];function c(r){r.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}},71365:function(x){"use strict";x.exports=c,c.displayName="naniscript",c.aliases=[];function c(r){(function(u){var E=/\{[^\r\n\[\]{}]*\}/,m={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:E,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};u.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:E,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:m}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:E,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:m},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},u.languages.nani=u.languages.naniscript,u.hooks.add("after-tokenize",function(d){var N=d.tokens;N.forEach(function(H){if(typeof H!="string"&&H.type==="generic-text"){var O=k(H);b(O)||(H.type="bad-line",H.content=O)}})});function b(d){for(var N="[]{}",H=[],O=0;O<d.length;O++){var I=d[O],ie=N.indexOf(I);if(ie!==-1){if(ie%2===0)H.push(ie+1);else if(H.pop()!==ie)return!1}}return H.length===0}function k(d){return typeof d=="string"?d:Array.isArray(d)?d.map(k).join(""):k(d.content)}})(r)}},42846:function(x){"use strict";x.exports=c,c.displayName="nasm",c.aliases=[];function c(r){r.languages.nasm={comment:/;.*$/m,string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,label:{pattern:/(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m,lookbehind:!0,alias:"function"},keyword:[/\[?BITS (?:16|32|64)\]?/,{pattern:/(^\s*)section\s*[a-z.]+:?/im,lookbehind:!0},/(?:extern|global)[^;\r\n]*/i,/(?:CPU|DEFAULT|FLOAT).*$/m],register:{pattern:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s)\b/i,alias:"variable"},number:/(?:\b|(?=\$))(?:0[hx](?:\.[\da-f]+|[\da-f]+(?:\.[\da-f]+)?)(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-\/%<>=&|$!]/}}},32964:function(x){"use strict";x.exports=c,c.displayName="neon",c.aliases=[];function c(r){r.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}},78830:function(x){"use strict";x.exports=c,c.displayName="nevod",c.aliases=[];function c(r){r.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}},88799:function(x){"use strict";x.exports=c,c.displayName="nginx",c.aliases=[];function c(r){(function(u){var E=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;u.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:E}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:E}},punctuation:/[{};]/}})(r)}},66791:function(x){"use strict";x.exports=c,c.displayName="nim",c.aliases=[];function c(r){r.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}},41735:function(x){"use strict";x.exports=c,c.displayName="nix",c.aliases=[];function c(r){r.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},r.languages.nix.string.inside.interpolation.inside=r.languages.nix}},13490:function(x){"use strict";x.exports=c,c.displayName="nsis",c.aliases=[];function c(r){r.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}},7383:function(x,c,r){"use strict";var u=r(79440);x.exports=E,E.displayName="objectivec",E.aliases=["objc"];function E(m){m.register(u),m.languages.objectivec=m.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete m.languages.objectivec["class-name"],m.languages.objc=m.languages.objectivec}},66894:function(x){"use strict";x.exports=c,c.displayName="ocaml",c.aliases=[];function c(r){r.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}},45779:function(x,c,r){"use strict";var u=r(79440);x.exports=E,E.displayName="opencl",E.aliases=[];function E(m){m.register(u),function(b){b.languages.opencl=b.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),b.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var k={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};b.languages.insertBefore("c","keyword",k),b.languages.cpp&&(k["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},b.languages.insertBefore("cpp","keyword",k))}(m)}},27734:function(x){"use strict";x.exports=c,c.displayName="openqasm",c.aliases=["qasm"];function c(r){r.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},r.languages.qasm=r.languages.openqasm}},91889:function(x){"use strict";x.exports=c,c.displayName="oz",c.aliases=[];function c(r){r.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|<?:?)|>=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}},55965:function(x){"use strict";x.exports=c,c.displayName="parigp",c.aliases=[];function c(r){r.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var u=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return u=u.map(function(E){return E.split("").join(" *")}).join("|"),RegExp("\\b(?:"+u+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}},37326:function(x){"use strict";x.exports=c,c.displayName="parser",c.aliases=[];function c(r){(function(u){var E=u.languages.parser=u.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});E=u.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:E.keyword,variable:E.variable,function:E.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:E.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:E.punctuation}}}),u.languages.insertBefore("inside","punctuation",{expression:E.expression,keyword:E.keyword,variable:E.variable,function:E.function,escape:E.escape,"parser-punctuation":{pattern:E.punctuation,alias:"punctuation"}},E.tag.inside["attr-value"])})(r)}},92949:function(x){"use strict";x.exports=c,c.displayName="pascal",c.aliases=["objectpascal"];function c(r){r.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},r.languages.pascal.asm.inside=r.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),r.languages.objectpascal=r.languages.pascal}},5681:function(x){"use strict";x.exports=c,c.displayName="pascaligo",c.aliases=[];function c(r){(function(u){var E=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,m=/(?:\b\w+(?:<braces>)?|<braces>)/.source.replace(/<braces>/g,function(){return E}),b=u.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)<type>/.source.replace(/<type>/g,function(){return m}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/<type>(?=\s+is\b)/.source.replace(/<type>/g,function(){return m}),"i"),inside:null},{pattern:RegExp(/(:\s*)<type>/.source.replace(/<type>/g,function(){return m})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},k=["comment","keyword","builtin","operator","punctuation"].reduce(function(d,N){return d[N]=b[N],d},{});b["class-name"].forEach(function(d){d.inside=k})})(r)}},70696:function(x){"use strict";x.exports=c,c.displayName="pcaxis",c.aliases=["px"];function c(r){r.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},r.languages.px=r.languages.pcaxis}},35790:function(x){"use strict";x.exports=c,c.displayName="peoplecode",c.aliases=["pcode"];function c(r){r.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},r.languages.pcode=r.languages.peoplecode}},25777:function(x){"use strict";x.exports=c,c.displayName="perl",c.aliases=[];function c(r){(function(u){var E=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;u.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,E].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,E].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,E+/\s*/.source+E].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(r)}},65889:function(x,c,r){"use strict";var u=r(53852);x.exports=E,E.displayName="phpExtras",E.aliases=[];function E(m){m.register(u),m.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}},53852:function(x,c,r){"use strict";var u=r(51478);x.exports=E,E.displayName="php",E.aliases=[];function E(m){m.register(u),function(b){var k=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,d=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],N=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,H=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,O=/[{}\[\](),:;]/;b.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:k,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:d,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:N,operator:H,punctuation:O};var I={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:b.languages.php},ie=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:I}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:I}}];b.languages.insertBefore("php","variable",{string:ie,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:k,string:ie,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:d,number:N,operator:H,punctuation:O}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),b.hooks.add("before-tokenize",function(G){if(/<\?/.test(G.code)){var be=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;b.languages["markup-templating"].buildPlaceholders(G,"php",be)}}),b.hooks.add("after-tokenize",function(G){b.languages["markup-templating"].tokenizePlaceholders(G,"php")})}(m)}},97719:function(x,c,r){"use strict";var u=r(53852),E=r(53510);x.exports=m,m.displayName="phpdoc",m.aliases=[];function m(b){b.register(u),b.register(E),function(k){var d=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;k.languages.phpdoc=k.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+d+"\\s+)?)\\$\\w+"),lookbehind:!0}}),k.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+d),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),k.languages.javadoclike.addSupport("php",k.languages.phpdoc)}(b)}},63839:function(x,c,r){"use strict";var u=r(69435);x.exports=E,E.displayName="plsql",E.aliases=[];function E(m){m.register(u),m.languages.plsql=m.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),m.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}},67623:function(x){"use strict";x.exports=c,c.displayName="powerquery",c.aliases=[];function c(r){r.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},r.languages.pq=r.languages.powerquery,r.languages.mscript=r.languages.powerquery}},32530:function(x){"use strict";x.exports=c,c.displayName="powershell",c.aliases=[];function c(r){(function(u){var E=u.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};E.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:E},boolean:E.boolean,variable:E.variable}})(r)}},8938:function(x){"use strict";x.exports=c,c.displayName="processing",c.aliases=[];function c(r){r.languages.processing=r.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),r.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}},55259:function(x){"use strict";x.exports=c,c.displayName="prolog",c.aliases=[];function c(r){r.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}},67411:function(x){"use strict";x.exports=c,c.displayName="promql",c.aliases=[];function c(r){(function(u){var E=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],m=["on","ignoring","group_right","group_left","by","without"],b=["offset"],k=E.concat(m,b);u.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+m.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+k.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(r)}},15375:function(x){"use strict";x.exports=c,c.displayName="properties",c.aliases=[];function c(r){r.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}},12093:function(x){"use strict";x.exports=c,c.displayName="protobuf",c.aliases=[];function c(r){(function(u){var E=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;u.languages.protobuf=u.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),u.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:E}},builtin:E,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(r)}},83588:function(x){"use strict";x.exports=c,c.displayName="psl",c.aliases=[];function c(r){r.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}},94127:function(x){"use strict";x.exports=c,c.displayName="pug",c.aliases=[];function c(r){(function(u){u.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:u.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:u.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:u.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:u.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:u.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:u.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:u.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:u.languages.javascript}],punctuation:/[.\-!=|]+/};for(var E=/(^([\t ]*)):<filter_name>(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,m=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],b={},k=0,d=m.length;k<d;k++){var N=m[k];N=typeof N=="string"?{filter:N,language:N}:N,u.languages[N.language]&&(b["filter-"+N.filter]={pattern:RegExp(E.replace("<filter_name>",function(){return N.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[N.language,"language-"+N.language],inside:u.languages[N.language]}}})}u.languages.insertBefore("pug","filter",b)})(r)}},21294:function(x){"use strict";x.exports=c,c.displayName="puppet",c.aliases=[];function c(r){(function(u){u.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var E=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:u.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];u.languages.puppet.heredoc[0].inside.interpolation=E,u.languages.puppet.string.inside["double-quoted"].inside.interpolation=E})(r)}},38709:function(x){"use strict";x.exports=c,c.displayName="pure",c.aliases=[];function c(r){(function(u){u.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var E=["c",{lang:"c++",alias:"cpp"},"fortran"],m=/%< *-\*- *<lang>\d* *-\*-[\s\S]+?%>/.source;E.forEach(function(b){var k=b;if(typeof b!="string"&&(k=b.alias,b=b.lang),u.languages[k]){var d={};d["inline-lang-"+k]={pattern:RegExp(m.replace("<lang>",b.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:u.util.clone(u.languages.pure["inline-lang"].inside)},d["inline-lang-"+k].inside.rest=u.util.clone(u.languages[k]),u.languages.insertBefore("pure","inline-lang",d)}}),u.languages.c&&(u.languages.pure["inline-lang"].inside.rest=u.util.clone(u.languages.c))})(r)}},15008:function(x){"use strict";x.exports=c,c.displayName="purebasic",c.aliases=[];function c(r){r.languages.purebasic=r.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|?\||[~^%?*/@]/}),r.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete r.languages.purebasic["class-name"],delete r.languages.purebasic.boolean,r.languages.pbfasm=r.languages.purebasic}},96549:function(x,c,r){"use strict";var u=r(2050);x.exports=E,E.displayName="purescript",E.aliases=["purs"];function E(m){m.register(u),m.languages.purescript=m.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[m.languages.haskell.operator[0],m.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),m.languages.purs=m.languages.purescript}},5221:function(x){"use strict";x.exports=c,c.displayName="python",c.aliases=["py"];function c(r){r.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},r.languages.python["string-interpolation"].inside.interpolation.inside.rest=r.languages.python,r.languages.py=r.languages.python}},27447:function(x){"use strict";x.exports=c,c.displayName="q",c.aliases=[];function c(r){r.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}},73191:function(x){"use strict";x.exports=c,c.displayName="qml",c.aliases=[];function c(r){(function(u){for(var E=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,m=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,b=/(?:[^\\()[\]{}"'/]|<string>|\/(?![*/])|<comment>|\(<expr>*\)|\[<expr>*\]|\{<expr>*\}|\\[\s\S])/.source.replace(/<string>/g,function(){return E}).replace(/<comment>/g,function(){return m}),k=0;k<2;k++)b=b.replace(/<expr>/g,function(){return b});b=b.replace(/<expr>/g,"[^\\s\\S]"),u.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(<js>*\)\s*\{<js>*\}/.source.replace(/<js>/g,function(){return b}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:u.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}])<js>)+/.source.replace(/<js>/g,function(){return b}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:u.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(r)}},75542:function(x){"use strict";x.exports=c,c.displayName="qore",c.aliases=[];function c(r){r.languages.qore=r.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}},50323:function(x){"use strict";x.exports=c,c.displayName="qsharp",c.aliases=["qs"];function c(r){(function(u){function E(be,ce){return be.replace(/<<(\d+)>>/g,function(ue,te){return"(?:"+ce[+te]+")"})}function m(be,ce,ue){return RegExp(E(be,ce),ue||"")}function b(be,ce){for(var ue=0;ue<ce;ue++)be=be.replace(/<<self>>/g,function(){return"(?:"+be+")"});return be.replace(/<<self>>/g,"[^\\s\\S]")}var k={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function d(be){return"\\b(?:"+be.trim().replace(/ /g,"|")+")\\b"}var N=RegExp(d(k.type+" "+k.other)),H=/\b[A-Za-z_]\w*\b/.source,O=E(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[H]),I={keyword:N,punctuation:/[<>()?,.:[\]]/},ie=/"(?:\\.|[^\\"])*"/.source;u.languages.qsharp=u.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:m(/(^|[^$\\])<<0>>/.source,[ie]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:m(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[O]),lookbehind:!0,inside:I},{pattern:m(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[O]),lookbehind:!0,inside:I}],keyword:N,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),u.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var G=b(E(/\{(?:[^"{}]|<<0>>|<<self>>)*\}/.source,[ie]),2);u.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:m(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[G]),greedy:!0,inside:{interpolation:{pattern:m(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[G]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:u.languages.qsharp}}},string:/[\s\S]+/}}})})(r),r.languages.qs=r.languages.qsharp}},44298:function(x){"use strict";x.exports=c,c.displayName="r",c.aliases=[];function c(r){r.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}},9634:function(x,c,r){"use strict";var u=r(48780);x.exports=E,E.displayName="racket",E.aliases=["rkt"];function E(m){m.register(u),m.languages.racket=m.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),m.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),m.languages.rkt=m.languages.racket}},75266:function(x){"use strict";x.exports=c,c.displayName="reason",c.aliases=[];function c(r){r.languages.reason=r.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),r.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete r.languages.reason.function}},48139:function(x){"use strict";x.exports=c,c.displayName="regex",c.aliases=[];function c(r){(function(u){var E={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},m=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,b={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},k={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},d="(?:[^\\\\-]|"+m.source+")",N=RegExp(d+"-"+d),H={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};u.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:N,inside:{escape:m,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":E,"char-set":k,escape:m}},"special-escape":E,"char-set":b,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":H}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:m,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":H}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}})(r)}},97534:function(x){"use strict";x.exports=c,c.displayName="rego",c.aliases=[];function c(r){r.languages.rego={comment:/#.*/,property:{pattern:/(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,boolean:/\b(?:false|true)\b/,function:{pattern:/\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,inside:{namespace:/\b\w+\b(?=\s*\.)/,punctuation:/\./}},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,operator:/[-+*/%|&]|[<>:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}},90826:function(x){"use strict";x.exports=c,c.displayName="renpy",c.aliases=["rpy"];function c(r){r.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},r.languages.rpy=r.languages.renpy}},63919:function(x){"use strict";x.exports=c,c.displayName="rest",c.aliases=[];function c(r){r.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}},68862:function(x){"use strict";x.exports=c,c.displayName="rip",c.aliases=[];function c(r){r.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}},39523:function(x){"use strict";x.exports=c,c.displayName="roboconf",c.aliases=[];function c(r){r.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}},31207:function(x){"use strict";x.exports=c,c.displayName="robotframework",c.aliases=[];function c(r){(function(u){var E={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},m={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function b(H,O){var I={};I["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var ie in O)I[ie]=O[ie];return I.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},I.variable=m,I.comment=E,{pattern:RegExp(/^ ?\*{3}[ \t]*<name>[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(/<name>/g,function(){return H}),"im"),alias:"section",inside:I}}var k={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},d={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:m}},N={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:m}};u.languages.robotframework={settings:b("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:b("Variables"),"test-cases":b("Test Cases",{"test-name":d,documentation:k,property:N}),keywords:b("Keywords",{"keyword-name":d,documentation:k,property:N}),tasks:b("Tasks",{"task-name":d,documentation:k,property:N}),comment:E},u.languages.robot=u.languages.robotframework})(r)}},75308:function(x){"use strict";x.exports=c,c.displayName="ruby",c.aliases=["rb"];function c(r){(function(u){u.languages.ruby=u.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),u.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var E={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:u.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete u.languages.ruby.function;var m="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",b=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;u.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+m+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:E,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:E,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+b),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+b+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),u.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+m),greedy:!0,inside:{interpolation:E,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:E,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:E,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+m),greedy:!0,inside:{interpolation:E,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:E,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete u.languages.ruby.string,u.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),u.languages.rb=u.languages.ruby})(r)}},45315:function(x){"use strict";x.exports=c,c.displayName="rust",c.aliases=[];function c(r){(function(u){for(var E=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,m=0;m<2;m++)E=E.replace(/<self>/g,function(){return E});E=E.replace(/<self>/g,function(){return/[^\s\S]/.source}),u.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+E),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},u.languages.rust["closure-params"].inside.rest=u.languages.rust,u.languages.rust.attribute.inside.string=u.languages.rust.string})(r)}},13794:function(x){"use strict";x.exports=c,c.displayName="sas",c.aliases=[];function c(r){(function(u){var E=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,m=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,b={pattern:RegExp(E+"[bx]"),alias:"number"},k={pattern:/&[a-z_]\w*/i},d={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},N={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},H=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],O={pattern:RegExp(E),greedy:!0},I=/[$%@.(){}\[\];,\\]/,ie={pattern:/%?\b\w+(?=\()/,alias:"keyword"},G={function:ie,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":k,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:m,"numeric-constant":b,punctuation:I,string:O},be={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},ce={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},ue={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},te={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},X=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,q={pattern:RegExp(/(^|\s)(?:action\s+)?(?:<act>)\.[a-z]+\b[^;]+/.source.replace(/<act>/g,function(){return X}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:<act>)\.[a-z]+\b/.source.replace(/<act>/g,function(){return X}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:H,function:ie,"arg-value":G["arg-value"],operator:G.operator,argument:G.arg,number:m,"numeric-constant":b,punctuation:I,string:O}},W={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};u.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:<str>|[^;"'])+;/.source.replace(/<str>/g,function(){return E}),"im"),alias:"language-sql",inside:u.languages.sql},"global-statements":ue,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:m,"numeric-constant":b,punctuation:I,string:O}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:H,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return E}),"im"),lookbehind:!0,alias:"language-groovy",inside:u.languages.groovy},keyword:W,"submit-statement":te,"global-statements":ue,number:m,"numeric-constant":b,punctuation:I,string:O}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:H,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return E}),"im"),lookbehind:!0,alias:"language-lua",inside:u.languages.lua},keyword:W,"submit-statement":te,"global-statements":ue,number:m,"numeric-constant":b,punctuation:I,string:O}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:H,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:G}},"cas-actions":q,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:G},step:N,keyword:W,function:ie,format:be,altformat:ce,"global-statements":ue,number:m,"numeric-constant":b,punctuation:I,string:O}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|<str>)+;/.source.replace(/<str>/g,function(){return E}),"im"),lookbehind:!0,inside:G},"macro-keyword":d,"macro-variable":k,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":d,"macro-variable":k,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:I}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:H,number:m,"numeric-constant":b}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:G},"cas-actions":q,comment:H,function:ie,format:be,altformat:ce,"numeric-constant":b,datetime:{pattern:RegExp(E+"(?:dt?|t)"),alias:"number"},string:O,step:N,keyword:W,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:m,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:I}})(r)}},41299:function(x){"use strict";x.exports=c,c.displayName="sass",c.aliases=[];function c(r){(function(u){u.languages.sass=u.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),u.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete u.languages.sass.atrule;var E=/\$[-\w]+|#\{\$[-\w]+\}/,m=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];u.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:E,operator:m}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:E,operator:m,important:u.languages.sass.important}}}),delete u.languages.sass.property,delete u.languages.sass.important,u.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(r)}},98177:function(x,c,r){"use strict";var u=r(7093);x.exports=E,E.displayName="scala",E.aliases=[];function E(m){m.register(u),m.languages.scala=m.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),m.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:m.languages.scala}}},string:/[\s\S]+/}}}),delete m.languages.scala["class-name"],delete m.languages.scala.function}},48780:function(x){"use strict";x.exports=c,c.displayName="scheme",c.aliases=[];function c(r){(function(u){u.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(E({"<ureal dec>":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"<real dec>":/[+-]?<ureal dec>|[+-](?:inf|nan)\.0/.source,"<imaginary dec>":/[+-](?:<ureal dec>|(?:inf|nan)\.0)?i/.source,"<complex dec>":/<real dec>(?:@<real dec>|<imaginary dec>)?|<imaginary dec>/.source,"<num dec>":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?<complex dec>/.source,"<ureal box>":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"<real box>":/[+-]?<ureal box>|[+-](?:inf|nan)\.0/.source,"<imaginary box>":/[+-](?:<ureal box>|(?:inf|nan)\.0)?i/.source,"<complex box>":/<real box>(?:@<real box>|<imaginary box>)?|<imaginary box>/.source,"<num box>":/#[box](?:#[ei])?|(?:#[ei])?#[box]<complex box>/.source,"<number>":/(^|[()\[\]\s])(?:<num dec>|<num box>)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function E(m){for(var b in m)m[b]=m[b].replace(/<[\w\s]+>/g,function(k){return"(?:"+m[k].trim()+")"});return m[b]}})(r)}},79793:function(x){"use strict";x.exports=c,c.displayName="scss",c.aliases=[];function c(r){r.languages.scss=r.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),r.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),r.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),r.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),r.languages.scss.atrule.inside.rest=r.languages.scss}},52085:function(x,c,r){"use strict";var u=r(3058);x.exports=E,E.displayName="shellSession",E.aliases=[];function E(m){m.register(u),function(b){var k=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");b.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(/<<str>>/g,function(){return k}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:b.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},b.languages["sh-session"]=b.languages.shellsession=b.languages["shell-session"]}(m)}},65411:function(x){"use strict";x.exports=c,c.displayName="smali",c.aliases=[];function c(r){r.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}},84750:function(x){"use strict";x.exports=c,c.displayName="smalltalk",c.aliases=[];function c(r){r.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}},88216:function(x,c,r){"use strict";var u=r(51478);x.exports=E,E.displayName="smarty",E.aliases=[];function E(m){m.register(u),function(b){b.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:b.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},b.languages.smarty["embedded-php"].inside.smarty.inside=b.languages.smarty,b.languages.smarty.string[0].inside.interpolation.inside.expression.inside=b.languages.smarty;var k=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,d=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>)*\})*\})*\}/.source.replace(/<str>/g,function(){return k.source}),"g");b.hooks.add("before-tokenize",function(N){var H="{literal}",O="{/literal}",I=!1;b.languages["markup-templating"].buildPlaceholders(N,"smarty",d,function(ie){return ie===O&&(I=!1),I?!1:(ie===H&&(I=!0),!0)})}),b.hooks.add("after-tokenize",function(N){b.languages["markup-templating"].tokenizePlaceholders(N,"smarty")})}(m)}},66433:function(x){"use strict";x.exports=c,c.displayName="sml",c.aliases=["smlnj"];function c(r){(function(u){var E=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;u.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)<TERMINAL>(?:\s*(?:(?:\*|->)\s*<TERMINAL>|,\s*<TERMINAL>(?:(?=<NOT-LAST>)|(?!<NOT-LAST>)\s+<LONG-ID>)))*/.source.replace(/<NOT-LAST>/g,function(){return/\s*(?:[*,]|->)/.source}).replace(/<TERMINAL>/g,function(){return/(?:'[\w']*|<LONG-ID>|\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+<LONG-ID>)*/.source}).replace(/<LONG-ID>/g,function(){return/(?!<KEYWORD>)[a-z\d_][\w'.]*/.source}).replace(/<KEYWORD>/g,function(){return E.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:E,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},u.languages.sml["class-name"][0].inside=u.languages.sml,u.languages.smlnj=u.languages.sml})(r)}},34855:function(x){"use strict";x.exports=c,c.displayName="solidity",c.aliases=["sol"];function c(r){r.languages.solidity=r.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),r.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),r.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),r.languages.sol=r.languages.solidity}},12998:function(x){"use strict";x.exports=c,c.displayName="solutionFile",c.aliases=[];function c(r){(function(u){var E={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};u.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:E}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:E}},guid:E,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},u.languages.sln=u.languages["solution-file"]})(r)}},10202:function(x,c,r){"use strict";var u=r(51478);x.exports=E,E.displayName="soy",E.aliases=[];function E(m){m.register(u),function(b){var k=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,d=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;b.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:k,greedy:!0},number:d,punctuation:/[\[\].?]/}},string:{pattern:k,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:d,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},b.hooks.add("before-tokenize",function(N){var H=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,O="{literal}",I="{/literal}",ie=!1;b.languages["markup-templating"].buildPlaceholders(N,"soy",H,function(G){return G===I&&(ie=!1),ie?!1:(G===O&&(ie=!0),!0)})}),b.hooks.add("after-tokenize",function(N){b.languages["markup-templating"].tokenizePlaceholders(N,"soy")})}(m)}},41186:function(x,c,r){"use strict";var u=r(58710);x.exports=E,E.displayName="sparql",E.aliases=["rq"];function E(m){m.register(u),m.languages.sparql=m.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),m.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),m.languages.rq=m.languages.sparql}},68963:function(x){"use strict";x.exports=c,c.displayName="splunkSpl",c.aliases=[];function c(r){r.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}},5569:function(x){"use strict";x.exports=c,c.displayName="sqf",c.aliases=[];function c(r){r.languages.sqf=r.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),r.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:r.languages.sqf.comment}}}),delete r.languages.sqf["class-name"]}},69435:function(x){"use strict";x.exports=c,c.displayName="sql",c.aliases=[];function c(r){r.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}},42766:function(x){"use strict";x.exports=c,c.displayName="squirrel",c.aliases=[];function c(r){r.languages.squirrel=r.languages.extend("clike",{comment:[r.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),r.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),r.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}},46449:function(x){"use strict";x.exports=c,c.displayName="stan",c.aliases=[];function c(r){(function(u){var E=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;u.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+E.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,E],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},u.languages.stan.constraint.inside.expression.inside=u.languages.stan})(r)}},89032:function(x){"use strict";x.exports=c,c.displayName="stylus",c.aliases=[];function c(r){(function(u){var E={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},m={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},b={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|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|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:E,number:m,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:E,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:m,punctuation:/[{}()\[\];:,]/};b.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:b}},b.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:b}},u.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:b}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:b}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:b}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:b.interpolation}},rest:b}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:b.interpolation,comment:b.comment,punctuation:/[{},]/}},func:b.func,string:b.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:b.interpolation,punctuation:/[{}()\[\];:.]/}})(r)}},40241:function(x){"use strict";x.exports=c,c.displayName="swift",c.aliases=[];function c(r){r.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},r.languages.swift["string-literal"].forEach(function(u){u.inside.interpolation.inside=r.languages.swift})}},24812:function(x){"use strict";x.exports=c,c.displayName="systemd",c.aliases=[];function c(r){(function(u){var E={pattern:/^[;#].*/m,greedy:!0},m=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;u.languages.systemd={comment:E,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+m+`|(?=[^"\r
]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+m+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:E,quoted:{pattern:RegExp(/(^|\s)/.source+m),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(r)}},16747:function(x,c,r){"use strict";var u=r(73584),E=r(87648);x.exports=m,m.displayName="t4Cs",m.aliases=[];function m(b){b.register(u),b.register(E),b.languages.t4=b.languages["t4-cs"]=b.languages["t4-templating"].createT4("csharp")}},73584:function(x){"use strict";x.exports=c,c.displayName="t4Templating",c.aliases=[];function c(r){(function(u){function E(b,k,d){return{pattern:RegExp("<#"+b+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+b+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:k,alias:d}}}}function m(b){var k=u.languages[b],d="language-"+b;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:E("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:E("=",k,d),"class-feature":E("\\+",k,d),standard:E("",k,d)}}}}u.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:m})})(r)}},79243:function(x,c,r){"use strict";var u=r(73584),E=r(55686);x.exports=m,m.displayName="t4Vb",m.aliases=[];function m(b){b.register(u),b.register(E),b.languages["t4-vb"]=b.languages["t4-templating"].createT4("vbnet")}},31788:function(x,c,r){"use strict";var u=r(14409);x.exports=E,E.displayName="tap",E.aliases=[];function E(m){m.register(u),m.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:m.languages.yaml,alias:"language-yaml"}}}},60871:function(x){"use strict";x.exports=c,c.displayName="tcl",c.aliases=[];function c(r){r.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}},21023:function(x){"use strict";x.exports=c,c.displayName="textile",c.aliases=[];function c(r){(function(u){var E=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,m=/\)|\((?![^|()\n]+\))/.source;function b(ie,G){return RegExp(ie.replace(/<MOD>/g,function(){return"(?:"+E+")"}).replace(/<PAR>/g,function(){return"(?:"+m+")"}),G||"")}var k={css:{pattern:/\{[^{}]+\}/,inside:{rest:u.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},d=u.languages.textile=u.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:b(/^[a-z]\w*(?:<MOD>|<PAR>|[<>=])*\./.source),inside:{modifier:{pattern:b(/(^[a-z]\w*)(?:<MOD>|<PAR>|[<>=])+(?=\.)/.source),lookbehind:!0,inside:k},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:b(/^[*#]+<MOD>*\s+\S.*/.source,"m"),inside:{modifier:{pattern:b(/(^[*#]+)<MOD>+/.source),lookbehind:!0,inside:k},punctuation:/^[*#]+/}},table:{pattern:b(/^(?:(?:<MOD>|<PAR>|[<>=^~])+\.\s*)?(?:\|(?:(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.|(?!(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:b(/(^|\|(?:\r?\n|\r)?)(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:k},punctuation:/\||^\./}},inline:{pattern:b(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])<MOD>*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:b(/(^(\*\*?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:b(/(^(__?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:b(/(^\?\?<MOD>*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:b(/(^@<MOD>*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:b(/(^\+<MOD>*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:b(/(^-<MOD>*).+?(?=-)/.source),lookbehind:!0},span:{pattern:b(/(^%<MOD>*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:b(/(^\*\*|__|\?\?|[*_%@+\-^~])<MOD>+/.source),lookbehind:!0,inside:k},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:b(/"<MOD>*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:b(/(^"<MOD>*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:b(/(^")<MOD>+/.source),lookbehind:!0,inside:k},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:b(/!(?:<MOD>|<PAR>|[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:b(/(^!(?:<MOD>|<PAR>|[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:b(/(^!)(?:<MOD>|<PAR>|[<>=])+/.source),lookbehind:!0,inside:k},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),N=d.phrase.inside,H={inline:N.inline,link:N.link,image:N.image,footnote:N.footnote,acronym:N.acronym,mark:N.mark};d.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var O=N.inline.inside;O.bold.inside=H,O.italic.inside=H,O.inserted.inside=H,O.deleted.inside=H,O.span.inside=H;var I=N.table.inside;I.inline=H.inline,I.link=H.link,I.image=H.image,I.footnote=H.footnote,I.acronym=H.acronym,I.mark=H.mark})(r)}},14693:function(x){"use strict";x.exports=c,c.displayName="toml",c.aliases=[];function c(r){(function(u){var E=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function m(b){return b.replace(/__/g,function(){return E})}u.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(m(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(m(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(r)}},8743:function(x){"use strict";x.exports=c,c.displayName="tremor",c.aliases=[];function c(r){(function(u){u.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var E=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;u.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+E+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+E+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(E),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:u.languages.tremor}}},string:/[\s\S]+/}},u.languages.troy=u.languages.tremor,u.languages.trickle=u.languages.tremor})(r)}},1689:function(x,c,r){"use strict";var u=r(24103),E=r(92784);x.exports=m,m.displayName="tsx",m.aliases=[];function m(b){b.register(u),b.register(E),function(k){var d=k.util.clone(k.languages.typescript);k.languages.tsx=k.languages.extend("jsx",d),delete k.languages.tsx.parameter,delete k.languages.tsx["literal-property"];var N=k.languages.tsx.tag;N.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+N.pattern.source+")",N.pattern.flags),N.lookbehind=!0}(b)}},69210:function(x,c,r){"use strict";var u=r(51478);x.exports=E,E.displayName="tt2",E.aliases=[];function E(m){m.register(u),function(b){b.languages.tt2=b.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),b.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),b.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),b.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete b.languages.tt2.string,b.hooks.add("before-tokenize",function(k){var d=/\[%[\s\S]+?%\]/g;b.languages["markup-templating"].buildPlaceholders(k,"tt2",d)}),b.hooks.add("after-tokenize",function(k){b.languages["markup-templating"].tokenizePlaceholders(k,"tt2")})}(m)}},58710:function(x){"use strict";x.exports=c,c.displayName="turtle",c.aliases=[];function c(r){r.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},r.languages.trig=r.languages.turtle}},60452:function(x,c,r){"use strict";var u=r(51478);x.exports=E,E.displayName="twig",E.aliases=[];function E(m){m.register(u),m.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},m.hooks.add("before-tokenize",function(b){if(b.language==="twig"){var k=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;m.languages["markup-templating"].buildPlaceholders(b,"twig",k)}}),m.hooks.add("after-tokenize",function(b){m.languages["markup-templating"].tokenizePlaceholders(b,"twig")})}},92784:function(x){"use strict";x.exports=c,c.displayName="typescript",c.aliases=["ts"];function c(r){(function(u){u.languages.typescript=u.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),u.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete u.languages.typescript.parameter,delete u.languages.typescript["literal-property"];var E=u.languages.extend("typescript",{});delete E["class-name"],u.languages.typescript["class-name"].inside=E,u.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:E}}}}),u.languages.ts=u.languages.typescript})(r)}},36489:function(x){"use strict";x.exports=c,c.displayName="typoscript",c.aliases=["tsconfig"];function c(r){(function(u){var E=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;u.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern:/<INCLUDE_TYPOSCRIPT:\s*source\s*=\s*(?:"[^"\r\n]*"|'[^'\r\n]*')\s*>/,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:E}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:E,number:/^\d+$/,punctuation:/[,|:]/}},keyword:E,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},u.languages.tsconfig=u.languages.typoscript})(r)}},78380:function(x){"use strict";x.exports=c,c.displayName="unrealscript",c.aliases=["uc","uscript"];function c(r){r.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},r.languages.uc=r.languages.uscript=r.languages.unrealscript}},10409:function(x){"use strict";x.exports=c,c.displayName="uorazor",c.aliases=[];function c(r){r.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}},6539:function(x){"use strict";x.exports=c,c.displayName="uri",c.aliases=["url"];function c(r){r.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},r.languages.url=r.languages.uri}},82028:function(x){"use strict";x.exports=c,c.displayName="v",c.aliases=[];function c(r){(function(u){var E={pattern:/[\s\S]+/,inside:null};u.languages.v=u.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":E}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),E.inside=u.languages.v,u.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),u.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),u.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:u.languages.v.generic.inside}}}})})(r)}},62282:function(x){"use strict";x.exports=c,c.displayName="vala",c.aliases=[];function c(r){r.languages.vala=r.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),r.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:r.languages.vala}},string:/[\s\S]+/}}}),r.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}},55686:function(x,c,r){"use strict";var u=r(51422);x.exports=E,E.displayName="vbnet",E.aliases=[];function E(m){m.register(u),m.languages.vbnet=m.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}},70889:function(x){"use strict";x.exports=c,c.displayName="velocity",c.aliases=[];function c(r){(function(u){u.languages.velocity=u.languages.extend("markup",{});var E={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};E.variable.inside={string:E.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:E.number,boolean:E.boolean,punctuation:E.punctuation},u.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:E}},variable:E.variable}),u.languages.velocity.tag.inside["attr-value"].inside.rest=u.languages.velocity})(r)}},37116:function(x){"use strict";x.exports=c,c.displayName="verilog",c.aliases=[];function c(r){r.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}},66963:function(x){"use strict";x.exports=c,c.displayName="vhdl",c.aliases=[];function c(r){r.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}},21078:function(x){"use strict";x.exports=c,c.displayName="vim",c.aliases=[];function c(r){r.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}},96198:function(x){"use strict";x.exports=c,c.displayName="visualBasic",c.aliases=[];function c(r){r.languages["visual-basic"]={comment:{pattern:/(?:[']|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},r.languages.vb=r.languages["visual-basic"],r.languages.vba=r.languages["visual-basic"]}},17723:function(x){"use strict";x.exports=c,c.displayName="warpscript",c.aliases=[];function c(r){r.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}},67771:function(x){"use strict";x.exports=c,c.displayName="wasm",c.aliases=[];function c(r){r.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}},30307:function(x){"use strict";x.exports=c,c.displayName="webIdl",c.aliases=[];function c(r){(function(u){var E=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,m="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+E+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,b={};u.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+E),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:b},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+m),lookbehind:!0,inside:b},{pattern:RegExp("("+/\bcallback\s+/.source+E+/\s*=\s*/.source+")"+m),lookbehind:!0,inside:b},{pattern:RegExp(/(\btypedef\b\s*)/.source+m),lookbehind:!0,inside:b},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+E),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+E),lookbehind:!0},RegExp(E+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+E),lookbehind:!0},{pattern:RegExp(m+"(?="+/\s*(?:\.{3}\s*)?/.source+E+/\s*[(),;=]/.source+")"),inside:b}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var k in u.languages["web-idl"])k!=="class-name"&&(b[k]=u.languages["web-idl"][k]);u.languages.webidl=u.languages["web-idl"]})(r)}},8921:function(x){"use strict";x.exports=c,c.displayName="wiki",c.aliases=[];function c(r){r.languages.wiki=r.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:r.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),r.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:r.languages.markup.tag.inside}}}})}},13429:function(x){"use strict";x.exports=c,c.displayName="wolfram",c.aliases=["mathematica","wl","nb"];function c(r){r.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},r.languages.mathematica=r.languages.wolfram,r.languages.wl=r.languages.wolfram,r.languages.nb=r.languages.wolfram}},65197:function(x){"use strict";x.exports=c,c.displayName="wren",c.aliases=[];function c(r){r.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},r.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:r.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}},88904:function(x){"use strict";x.exports=c,c.displayName="xeora",c.aliases=["xeoracube"];function c(r){(function(u){u.languages.xeora=u.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),u.languages.insertBefore("inside","punctuation",{variable:u.languages.xeora["function-inline"].inside.variable},u.languages.xeora["function-block"]),u.languages.xeoracube=u.languages.xeora})(r)}},35:function(x){"use strict";x.exports=c,c.displayName="xmlDoc",c.aliases=[];function c(r){(function(u){function E(d,N){u.languages[d]&&u.languages.insertBefore(d,"comment",{"doc-comment":N})}var m=u.languages.markup.tag,b={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:m}},k={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:m}};E("csharp",b),E("fsharp",b),E("vbnet",k)})(r)}},86095:function(x){"use strict";x.exports=c,c.displayName="xojo",c.aliases=[];function c(r){r.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}},76998:function(x){"use strict";x.exports=c,c.displayName="xquery",c.aliases=[];function c(r){(function(u){u.languages.xquery=u.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),u.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,u.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,u.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,u.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:u.languages.xquery,alias:"language-xquery"};var E=function(b){return typeof b=="string"?b:typeof b.content=="string"?b.content:b.content.map(E).join("")},m=function(b){for(var k=[],d=0;d<b.length;d++){var N=b[d],H=!1;if(typeof N!="string"&&(N.type==="tag"&&N.content[0]&&N.content[0].type==="tag"?N.content[0].content[0].content==="</"?k.length>0&&k[k.length-1].tagName===E(N.content[0].content[1])&&k.pop():N.content[N.content.length-1].content==="/>"||k.push({tagName:E(N.content[0].content[1]),openedBraces:0}):k.length>0&&N.type==="punctuation"&&N.content==="{"&&(!b[d+1]||b[d+1].type!=="punctuation"||b[d+1].content!=="{")&&(!b[d-1]||b[d-1].type!=="plain-text"||b[d-1].content!=="{")?k[k.length-1].openedBraces++:k.length>0&&k[k.length-1].openedBraces>0&&N.type==="punctuation"&&N.content==="}"?k[k.length-1].openedBraces--:N.type!=="comment"&&(H=!0)),(H||typeof N=="string")&&k.length>0&&k[k.length-1].openedBraces===0){var O=E(N);d<b.length-1&&(typeof b[d+1]=="string"||b[d+1].type==="plain-text")&&(O+=E(b[d+1]),b.splice(d+1,1)),d>0&&(typeof b[d-1]=="string"||b[d-1].type==="plain-text")&&(O=E(b[d-1])+O,b.splice(d-1,1),d--),/^\s+$/.test(O)?b[d]=O:b[d]=new u.Token("plain-text",O,null,O)}N.content&&typeof N.content!="string"&&m(N.content)}};u.hooks.add("after-tokenize",function(b){b.language==="xquery"&&m(b.tokens)})})(r)}},14409:function(x){"use strict";x.exports=c,c.displayName="yaml",c.aliases=["yml"];function c(r){(function(u){var E=/[*&][^\s[\]{},]+/,m=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,b="(?:"+m.source+"(?:[ ]+"+E.source+")?|"+E.source+"(?:[ ]+"+m.source+")?)",k=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),d=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function N(H,O){O=(O||"").replace(/m/g,"")+"m";var I=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return b}).replace(/<<value>>/g,function(){return H});return RegExp(I,O)}u.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return b})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return b}).replace(/<<key>>/g,function(){return"(?:"+k+"|"+d+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:N(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:N(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:N(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:N(d),lookbehind:!0,greedy:!0},number:{pattern:N(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:m,important:E,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},u.languages.yml=u.languages.yaml})(r)}},33460:function(x){"use strict";x.exports=c,c.displayName="yang",c.aliases=[];function c(r){r.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}},28108:function(x){"use strict";x.exports=c,c.displayName="zig",c.aliases=[];function c(r){(function(u){function E(O){return function(){return O}}var m=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,b="\\b(?!"+m.source+")(?!\\d)\\w+\\b",k=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,d=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*<ALIGN>|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(/<ALIGN>/g,E(k)),N=/(?:\bpromise\b|(?:\berror\.)?<ID>(?:\.<ID>)*(?!\s+<ID>))/.source.replace(/<ID>/g,E(b)),H="(?!\\s)(?:!?\\s*(?:"+d+"\\s*)*"+N+")+";u.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?[=;,)])|<TYPE>(?=\s*(?:<ALIGN>\s*)?\{)/.source.replace(/<TYPE>/g,E(H)).replace(/<ALIGN>/g,E(k))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g,E(H)).replace(/<ALIGN>/g,E(k))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:m,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},u.languages.zig["class-name"].forEach(function(O){O.inside===null&&(O.inside=u.languages.zig)})})(r)}},92848:function(x,c){"use strict";var r;c.Q=b,r=k;var u="",E=" ",m=/[ \t\n\r\f]+/g;function b(d){var N=String(d||u).trim();return N===u?[]:N.split(m)}function k(d){return d.join(E).trim()}},6526:function(x,c,r){"use strict";var u=this&&this.__importDefault||function(k){return k&&k.__esModule?k:{default:k}},E=u(r(78846)),m=r(11160);function b(k,d){var N={};return!k||typeof k!="string"||(0,E.default)(k,function(H,O){H&&O&&(N[(0,m.camelCase)(H,d)]=O)}),N}b.default=b,x.exports=b},11160:function(x,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.camelCase=void 0;var r=/^--[a-zA-Z0-9_-]+$/,u=/-([a-z])/g,E=/^[^-]+$/,m=/^-(webkit|moz|ms|o|khtml)-/,b=/^-(ms)-/,k=function(O){return!O||E.test(O)||r.test(O)},d=function(O,I){return I.toUpperCase()},N=function(O,I){return"".concat(I,"-")},H=function(O,I){return I===void 0&&(I={}),k(O)?O:(O=O.toLowerCase(),I.reactCompat?O=O.replace(b,N):O=O.replace(m,N),O.replace(u,d))};c.camelCase=H},78846:function(x,c,r){"use strict";var u=this&&this.__importDefault||function(b){return b&&b.__esModule?b:{default:b}};Object.defineProperty(c,"__esModule",{value:!0}),c.default=m;var E=u(r(93193));function m(b,k){var d=null;if(!b||typeof b!="string")return d;var N=(0,E.default)(b),H=typeof k=="function";return N.forEach(function(O){if(O.type==="declaration"){var I=O.property,ie=O.value;H?k(I,ie,O):ie&&(d=d||{},d[I]=ie)}}),d}},97270:function(x){x.exports=r;var c=Object.prototype.hasOwnProperty;function r(){for(var u={},E=0;E<arguments.length;E++){var m=arguments[E];for(var b in m)c.call(m,b)&&(u[b]=m[b])}return u}},90302:function(x,c,r){"use strict";r.d(c,{ZP:function(){return P}});const u=-1,E=0,m=1,b=2,k=3,d=4,N=5,H=6,O=7,I=8,ie=typeof self=="object"?self:globalThis,G=(B,_)=>{const ee=(Z,fe)=>(B.set(fe,Z),Z),de=Z=>{if(B.has(Z))return B.get(Z);const[fe,re]=_[Z];switch(fe){case E:case u:return ee(re,Z);case m:{const V=ee([],Z);for(const le of re)V.push(de(le));return V}case b:{const V=ee({},Z);for(const[le,ne]of re)V[de(le)]=de(ne);return V}case k:return ee(new Date(re),Z);case d:{const{source:V,flags:le}=re;return ee(new RegExp(V,le),Z)}case N:{const V=ee(new Map,Z);for(const[le,ne]of re)V.set(de(le),de(ne));return V}case H:{const V=ee(new Set,Z);for(const le of re)V.add(de(le));return V}case O:{const{name:V,message:le}=re;return ee(new ie[V](le),Z)}case I:return ee(BigInt(re),Z);case"BigInt":return ee(Object(BigInt(re)),Z);case"ArrayBuffer":return ee(new Uint8Array(re).buffer,re);case"DataView":{const{buffer:V}=new Uint8Array(re);return ee(new DataView(V),re)}}return ee(new ie[fe](re),Z)};return de},be=B=>G(new Map,B)(0),ce="",{toString:ue}={},{keys:te}=Object,X=B=>{const _=typeof B;if(_!=="object"||!B)return[E,_];const ee=ue.call(B).slice(8,-1);switch(ee){case"Array":return[m,ce];case"Object":return[b,ce];case"Date":return[k,ce];case"RegExp":return[d,ce];case"Map":return[N,ce];case"Set":return[H,ce];case"DataView":return[m,ee]}return ee.includes("Array")?[m,ee]:ee.includes("Error")?[O,ee]:[b,ee]},q=([B,_])=>B===E&&(_==="function"||_==="symbol"),W=(B,_,ee,de)=>{const Z=(re,V)=>{const le=de.push(re)-1;return ee.set(V,le),le},fe=re=>{if(ee.has(re))return ee.get(re);let[V,le]=X(re);switch(V){case E:{let ge=re;switch(le){case"bigint":V=I,ge=re.toString();break;case"function":case"symbol":if(B)throw new TypeError("unable to serialize "+le);ge=null;break;case"undefined":return Z([u],re)}return Z([V,ge],re)}case m:{if(le){let Ie=re;return le==="DataView"?Ie=new Uint8Array(re.buffer):le==="ArrayBuffer"&&(Ie=new Uint8Array(re)),Z([le,[...Ie]],re)}const ge=[],Re=Z([V,ge],re);for(const Ie of re)ge.push(fe(Ie));return Re}case b:{if(le)switch(le){case"BigInt":return Z([le,re.toString()],re);case"Boolean":case"Number":case"String":return Z([le,re.valueOf()],re)}if(_&&"toJSON"in re)return fe(re.toJSON());const ge=[],Re=Z([V,ge],re);for(const Ie of te(re))(B||!q(X(re[Ie])))&&ge.push([fe(Ie),fe(re[Ie])]);return Re}case k:return Z([V,re.toISOString()],re);case d:{const{source:ge,flags:Re}=re;return Z([V,{source:ge,flags:Re}],re)}case N:{const ge=[],Re=Z([V,ge],re);for(const[Ie,ke]of re)(B||!(q(X(Ie))||q(X(ke))))&&ge.push([fe(Ie),fe(ke)]);return Re}case H:{const ge=[],Re=Z([V,ge],re);for(const Ie of re)(B||!q(X(Ie)))&&ge.push(fe(Ie));return Re}}const{message:ne}=re;return Z([V,{name:le,message:ne}],re)};return fe},Y=(B,{json:_,lossy:ee}={})=>{const de=[];return W(!(_||ee),!!_,new Map,de)(B),de};var P=typeof structuredClone=="function"?(B,_)=>_&&("json"in _||"lossy"in _)?be(Y(B,_)):structuredClone(B):(B,_)=>be(Y(B,_))},11630:function(x,c,r){"use strict";r.d(c,{P:function(){return E},Q:function(){return u}});function u(m){const b=[],k=String(m||"");let d=k.indexOf(","),N=0,H=!1;for(;!H;){d===-1&&(d=k.length,H=!0);const O=k.slice(N,d).trim();(O||!H)&&b.push(O),N=d+1,d=k.indexOf(",",N)}return b}function E(m,b){const k=b||{};return(m[m.length-1]===""?[...m,""]:m).join((k.padRight?" ":"")+","+(k.padLeft===!1?"":" ")).trim()}},87342:function(x,c,r){"use strict";r.d(c,{ok:function(){return m},t1:function(){return b}});function u(k){return k}function E(){}function m(){}function b(){}},40797:function(x,c,r){"use strict";r.d(c,{N:function(){return be}});var u=r(81994),E=r(43309);function m(ue,te){return b(ue,te||{})||{type:"root",children:[]}}function b(ue,te){const X=k(ue,te);return X&&te.afterTransform&&te.afterTransform(ue,X),X}function k(ue,te){switch(ue.nodeType){case 1:return I(ue,te);case 3:return H(ue);case 8:return O(ue);case 9:return d(ue,te);case 10:return N();case 11:return d(ue,te);default:return}}function d(ue,te){return{type:"root",children:ie(ue,te)}}function N(){return{type:"doctype"}}function H(ue){return{type:"text",value:ue.nodeValue||""}}function O(ue){return{type:"comment",value:ue.nodeValue||""}}function I(ue,te){const X=ue.namespaceURI,q=X===E.t.svg?u.s:u.h,W=X===E.t.html?ue.tagName.toLowerCase():ue.tagName,Y=X===E.t.html&&W==="template"?ue.content:ue,P=ue.getAttributeNames(),B={};let _=-1;for(;++_<P.length;)B[P[_]]=ue.getAttribute(P[_])||"";return q(W,B,ie(Y,te))}function ie(ue,te){const X=ue.childNodes,q=[];let W=-1;for(;++W<X.length;){const Y=b(X[W],te);Y!==void 0&&q.push(Y)}return q}const G=new DOMParser;function be(ue,te){const X=te!=null&&te.fragment?ce(ue):G.parseFromString(ue,"text/html");return m(X)}function ce(ue){const te=document.createElement("template");return te.innerHTML=ue,te.content}},91378:function(x,c,r){"use strict";r.d(c,{l:function(){return q}});var u=r(10502);const E=function(re,V,le){const ne=(0,u.O)(le);if(!re||!re.type||!re.children)throw new Error("Expected parent node");if(typeof V=="number"){if(V<0||V===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(V=re.children.indexOf(V),V<0)throw new Error("Expected child node or index");for(;++V<re.children.length;)if(ne(re.children[V],V,re))return re.children[V]},m=function(re,V,le,ne,ge){const Re=b(V);if(le!=null&&(typeof le!="number"||le<0||le===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite `index`");if(ne!=null&&(!ne.type||!ne.children))throw new Error("Expected valid `parent`");if(le==null!=(ne==null))throw new Error("Expected both `index` and `parent`");return O(re)?Re.call(ge,re,le,ne):!1},b=function(re){if(re==null)return H;if(typeof re=="string")return d(re);if(typeof re=="object")return k(re);if(typeof re=="function")return N(re);throw new Error("Expected function, string, or array as `test`")};function k(re){const V=[];let le=-1;for(;++le<re.length;)V[le]=b(re[le]);return N(ne);function ne(...ge){let Re=-1;for(;++Re<V.length;)if(V[Re].apply(this,ge))return!0;return!1}}function d(re){return N(V);function V(le){return le.tagName===re}}function N(re){return V;function V(le,ne,ge){return!!(O(le)&&re.call(this,le,typeof ne=="number"?ne:void 0,ge||void 0))}}function H(re){return!!(re&&typeof re=="object"&&"type"in re&&re.type==="element"&&"tagName"in re&&typeof re.tagName=="string")}function O(re){return re!==null&&typeof re=="object"&&"type"in re&&"tagName"in re}const I=/\n/g,ie=/[\t ]+/g,G=b("br"),be=b(Z),ce=b("p"),ue=b("tr"),te=b(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",de,fe]),X=b(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function q(re,V){const le=V||{},ne="children"in re?re.children:[],ge=X(re),Re=ee(re,{whitespace:le.whitespace||"normal",breakBefore:!1,breakAfter:!1}),Ie=[];(re.type==="text"||re.type==="comment")&&Ie.push(...P(re,{whitespace:Re,breakBefore:!0,breakAfter:!0}));let ke=-1;for(;++ke<ne.length;)Ie.push(...W(ne[ke],re,{whitespace:Re,breakBefore:ke?void 0:ge,breakAfter:ke<ne.length-1?G(ne[ke+1]):ge}));const Be=[];let oe;for(ke=-1;++ke<Ie.length;){const M=Ie[ke];typeof M=="number"?oe!==void 0&&M>oe&&(oe=M):M&&(oe!==void 0&&oe>-1&&Be.push(`
`.repeat(oe)||" "),oe=-1,Be.push(M))}return Be.join("")}function W(re,V,le){return re.type==="element"?Y(re,V,le):re.type==="text"?le.whitespace==="normal"?P(re,le):B(re):[]}function Y(re,V,le){const ne=ee(re,le),ge=re.children||[];let Re=-1,Ie=[];if(te(re))return Ie;let ke,Be;for(G(re)||ue(re)&&E(V,re,ue)?Be=`
`:ce(re)?(ke=2,Be=2):X(re)&&(ke=1,Be=1);++Re<ge.length;)Ie=Ie.concat(W(ge[Re],re,{whitespace:ne,breakBefore:Re?void 0:ke,breakAfter:Re<ge.length-1?G(ge[Re+1]):Be}));return be(re)&&E(V,re,be)&&Ie.push(" "),ke&&Ie.unshift(ke),Be&&Ie.push(Be),Ie}function P(re,V){const le=String(re.value),ne=[],ge=[];let Re=0;for(;Re<=le.length;){I.lastIndex=Re;const Be=I.exec(le),oe=Be&&"index"in Be?Be.index:le.length;ne.push(_(le.slice(Re,oe).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),Re===0?V.breakBefore:!0,oe===le.length?V.breakAfter:!0)),Re=oe+1}let Ie=-1,ke;for(;++Ie<ne.length;)ne[Ie].charCodeAt(ne[Ie].length-1)===8203||Ie<ne.length-1&&ne[Ie+1].charCodeAt(0)===8203?(ge.push(ne[Ie]),ke=void 0):ne[Ie]?(typeof ke=="number"&&ge.push(ke),ge.push(ne[Ie]),ke=0):(Ie===0||Ie===ne.length-1)&&ge.push(0);return ge}function B(re){return[String(re.value)]}function _(re,V,le){const ne=[];let ge=0,Re;for(;ge<re.length;){ie.lastIndex=ge;const Ie=ie.exec(re);Re=Ie?Ie.index:re.length,!ge&&!Re&&Ie&&!V&&ne.push(""),ge!==Re&&ne.push(re.slice(ge,Re)),ge=Ie?Re+Ie[0].length:Re}return ge!==Re&&!le&&ne.push(""),ne.join(" ")}function ee(re,V){if(re.type==="element"){const le=re.properties||{};switch(re.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return le.wrap?"pre-wrap":"pre";case"td":case"th":return le.noWrap?"nowrap":V.whitespace;case"textarea":return"pre-wrap";default:}}return V.whitespace}function de(re){return!!(re.properties||{}).hidden}function Z(re){return re.tagName==="td"||re.tagName==="th"}function fe(re){return re.tagName==="dialog"&&!(re.properties||{}).open}},81994:function(x,c,r){"use strict";r.d(c,{h:function(){return te},s:function(){return X}});var u=r(14470),E=r(11630);const m=/[#.]/g;function b(q,W){const Y=q||"",P={};let B=0,_,ee;for(;B<Y.length;){m.lastIndex=B;const de=m.exec(Y),Z=Y.slice(B,de?de.index:Y.length);Z&&(_?_==="#"?P.id=Z:Array.isArray(P.className)?P.className.push(Z):P.className=[Z]:ee=Z,B+=Z.length),de&&(_=de[0],B++)}return{type:"element",tagName:ee||W||"div",properties:P,children:[]}}var k=r(86825),d=r(13830),N=r(71523);function H(q,W,Y){const P=Y?ce(Y):void 0;function B(_,ee,...de){let Z;if(_==null){Z={type:"root",children:[]};const fe=ee;de.unshift(fe)}else{Z=b(_,W);const fe=Z.tagName.toLowerCase(),re=P?P.get(fe):void 0;if(Z.tagName=re||fe,O(ee))de.unshift(ee);else for(const[V,le]of Object.entries(ee))I(q,Z.properties,V,le)}for(const fe of de)ie(Z.children,fe);return Z.type==="element"&&Z.tagName==="template"&&(Z.content={type:"root",children:Z.children},Z.children=[]),Z}return B}function O(q){if(q===null||typeof q!="object"||Array.isArray(q))return!0;if(typeof q.type!="string")return!1;const W=q,Y=Object.keys(q);for(const P of Y){const B=W[P];if(B&&typeof B=="object"){if(!Array.isArray(B))return!0;const _=B;for(const ee of _)if(typeof ee!="number"&&typeof ee!="string")return!0}}return!!("children"in q&&Array.isArray(q.children))}function I(q,W,Y,P){const B=(0,k.s)(q,Y);let _;if(P!=null){if(typeof P=="number"){if(Number.isNaN(P))return;_=P}else typeof P=="boolean"?_=P:typeof P=="string"?B.spaceSeparated?_=(0,N.Q)(P):B.commaSeparated?_=(0,E.Q)(P):B.commaOrSpaceSeparated?_=(0,N.Q)((0,E.Q)(P).join(" ")):_=G(B,B.property,P):Array.isArray(P)?_=[...P]:_=B.property==="style"?be(P):String(P);if(Array.isArray(_)){const ee=[];for(const de of _)ee.push(G(B,B.property,de));_=ee}B.property==="className"&&Array.isArray(W.className)&&(_=W.className.concat(_)),W[B.property]=_}}function ie(q,W){if(W!=null)if(typeof W=="number"||typeof W=="string")q.push({type:"text",value:String(W)});else if(Array.isArray(W))for(const Y of W)ie(q,Y);else if(typeof W=="object"&&"type"in W)W.type==="root"?ie(q,W.children):q.push(W);else throw new Error("Expected node, nodes, or string, got `"+W+"`")}function G(q,W,Y){if(typeof Y=="string"){if(q.number&&Y&&!Number.isNaN(Number(Y)))return Number(Y);if((q.boolean||q.overloadedBoolean)&&(Y===""||(0,d.F)(Y)===(0,d.F)(W)))return!0}return Y}function be(q){const W=[];for(const[Y,P]of Object.entries(q))W.push([Y,P].join(": "));return W.join("; ")}function ce(q){const W=new Map;for(const Y of q)W.set(Y.toLowerCase(),Y);return W}const ue=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],te=H(u.dy,"div"),X=H(u.YP,"g",ue)},26735:function(x,c,r){"use strict";r.d(c,{f:function(){return E}});var u=r(80722);function E(m,b,k,d){const N=d?d-1:Number.POSITIVE_INFINITY;let H=0;return O;function O(ie){return(0,u.xz)(ie)?(m.enter(k),I(ie)):b(ie)}function I(ie){return(0,u.xz)(ie)&&H++<N?(m.consume(ie),I):(m.exit(k),b(ie))}}},80722:function(x,c,r){"use strict";r.d(c,{AF:function(){return d},Av:function(){return b},B8:function(){return G},Ch:function(){return H},H$:function(){return E},Xh:function(){return ie},jv:function(){return u},n9:function(){return m},pY:function(){return k},sR:function(){return N},xz:function(){return I},z3:function(){return O}});const u=be(/[A-Za-z]/),E=be(/[\dA-Za-z]/),m=be(/[#-'*+\--9=?A-Z^-~]/);function b(ce){return ce!==null&&(ce<32||ce===127)}const k=be(/\d/),d=be(/[\dA-Fa-f]/),N=be(/[!-/:-@[-`{-~]/);function H(ce){return ce!==null&&ce<-2}function O(ce){return ce!==null&&(ce<0||ce===32)}function I(ce){return ce===-2||ce===-1||ce===32}const ie=be(new RegExp("\\p{P}|\\p{S}","u")),G=be(/\s/);function be(ce){return ue;function ue(te){return te!==null&&te>-1&&ce.test(String.fromCharCode(te))}}},14470:function(x,c,r){"use strict";r.d(c,{dy:function(){return ue},YP:function(){return te}});class u{constructor(q,W,Y){this.normal=W,this.property=q,Y&&(this.space=Y)}}u.prototype.normal={},u.prototype.property={},u.prototype.space=void 0;function E(X,q){const W={},Y={};for(const P of X)Object.assign(W,P.property),Object.assign(Y,P.normal);return new u(W,Y,q)}var m=r(13830),b=r(53538);function k(X){const q={},W={};for(const[Y,P]of Object.entries(X.properties)){const B=new b.I(Y,X.transform(X.attributes||{},Y),P,X.space);X.mustUseProperty&&X.mustUseProperty.includes(Y)&&(B.mustUseProperty=!0),q[Y]=B,W[(0,m.F)(Y)]=Y,W[(0,m.F)(B.attribute)]=Y}return new u(q,W,X.space)}var d=r(71337);const N=k({properties:{ariaActiveDescendant:null,ariaAtomic:d.booleanish,ariaAutoComplete:null,ariaBusy:d.booleanish,ariaChecked:d.booleanish,ariaColCount:d.number,ariaColIndex:d.number,ariaColSpan:d.number,ariaControls:d.spaceSeparated,ariaCurrent:null,ariaDescribedBy:d.spaceSeparated,ariaDetails:null,ariaDisabled:d.booleanish,ariaDropEffect:d.spaceSeparated,ariaErrorMessage:null,ariaExpanded:d.booleanish,ariaFlowTo:d.spaceSeparated,ariaGrabbed:d.booleanish,ariaHasPopup:null,ariaHidden:d.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:d.spaceSeparated,ariaLevel:d.number,ariaLive:null,ariaModal:d.booleanish,ariaMultiLine:d.booleanish,ariaMultiSelectable:d.booleanish,ariaOrientation:null,ariaOwns:d.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:d.number,ariaPressed:d.booleanish,ariaReadOnly:d.booleanish,ariaRelevant:null,ariaRequired:d.booleanish,ariaRoleDescription:d.spaceSeparated,ariaRowCount:d.number,ariaRowIndex:d.number,ariaRowSpan:d.number,ariaSelected:d.booleanish,ariaSetSize:d.number,ariaSort:null,ariaValueMax:d.number,ariaValueMin:d.number,ariaValueNow:d.number,ariaValueText:null,role:null},transform(X,q){return q==="role"?q:"aria-"+q.slice(4).toLowerCase()}});function H(X,q){return q in X?X[q]:q}function O(X,q){return H(X,q.toLowerCase())}const I=k({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d.commaSeparated,acceptCharset:d.spaceSeparated,accessKey:d.spaceSeparated,action:null,allow:null,allowFullScreen:d.boolean,allowPaymentRequest:d.boolean,allowUserMedia:d.boolean,alt:null,as:null,async:d.boolean,autoCapitalize:null,autoComplete:d.spaceSeparated,autoFocus:d.boolean,autoPlay:d.boolean,blocking:d.spaceSeparated,capture:null,charSet:null,checked:d.boolean,cite:null,className:d.spaceSeparated,cols:d.number,colSpan:null,content:null,contentEditable:d.booleanish,controls:d.boolean,controlsList:d.spaceSeparated,coords:d.number|d.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:d.boolean,defer:d.boolean,dir:null,dirName:null,disabled:d.boolean,download:d.overloadedBoolean,draggable:d.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:d.boolean,formTarget:null,headers:d.spaceSeparated,height:d.number,hidden:d.overloadedBoolean,high:d.number,href:null,hrefLang:null,htmlFor:d.spaceSeparated,httpEquiv:d.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:d.boolean,inputMode:null,integrity:null,is:null,isMap:d.boolean,itemId:null,itemProp:d.spaceSeparated,itemRef:d.spaceSeparated,itemScope:d.boolean,itemType:d.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:d.boolean,low:d.number,manifest:null,max:null,maxLength:d.number,media:null,method:null,min:null,minLength:d.number,multiple:d.boolean,muted:d.boolean,name:null,nonce:null,noModule:d.boolean,noValidate:d.boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:d.boolean,optimum:d.number,pattern:null,ping:d.spaceSeparated,placeholder:null,playsInline:d.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:d.boolean,referrerPolicy:null,rel:d.spaceSeparated,required:d.boolean,reversed:d.boolean,rows:d.number,rowSpan:d.number,sandbox:d.spaceSeparated,scope:null,scoped:d.boolean,seamless:d.boolean,selected:d.boolean,shadowRootClonable:d.boolean,shadowRootDelegatesFocus:d.boolean,shadowRootMode:null,shape:null,size:d.number,sizes:null,slot:null,span:d.number,spellCheck:d.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:d.number,step:null,style:null,tabIndex:d.number,target:null,title:null,translate:null,type:null,typeMustMatch:d.boolean,useMap:null,value:d.booleanish,width:d.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:d.spaceSeparated,axis:null,background:null,bgColor:null,border:d.number,borderColor:null,bottomMargin:d.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:d.boolean,declare:d.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:d.number,leftMargin:d.number,link:null,longDesc:null,lowSrc:null,marginHeight:d.number,marginWidth:d.number,noResize:d.boolean,noHref:d.boolean,noShade:d.boolean,noWrap:d.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:d.number,rules:null,scheme:null,scrolling:d.booleanish,standby:null,summary:null,text:null,topMargin:d.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:d.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:d.boolean,disableRemotePlayback:d.boolean,prefix:null,property:null,results:d.number,security:null,unselectable:null},space:"html",transform:O}),ie=k({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:d.commaOrSpaceSeparated,accentHeight:d.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:d.number,amplitude:d.number,arabicForm:null,ascent:d.number,attributeName:null,attributeType:null,azimuth:d.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:d.number,by:null,calcMode:null,capHeight:d.number,className:d.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:d.number,diffuseConstant:d.number,direction:null,display:null,dur:null,divisor:d.number,dominantBaseline:null,download:d.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:d.number,enableBackground:null,end:null,event:null,exponent:d.number,externalResourcesRequired:null,fill:null,fillOpacity:d.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:d.commaSeparated,g2:d.commaSeparated,glyphName:d.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:d.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:d.number,horizOriginX:d.number,horizOriginY:d.number,id:null,ideographic:d.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:d.number,k:d.number,k1:d.number,k2:d.number,k3:d.number,k4:d.number,kernelMatrix:d.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:d.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:d.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:d.number,overlineThickness:d.number,paintOrder:null,panose1:null,path:null,pathLength:d.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:d.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:d.number,pointsAtY:d.number,pointsAtZ:d.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:d.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:d.commaOrSpaceSeparated,rev:d.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:d.commaOrSpaceSeparated,requiredFeatures:d.commaOrSpaceSeparated,requiredFonts:d.commaOrSpaceSeparated,requiredFormats:d.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:d.number,specularExponent:d.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:d.number,strikethroughThickness:d.number,string:null,stroke:null,strokeDashArray:d.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:d.number,strokeOpacity:d.number,strokeWidth:null,style:null,surfaceScale:d.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:d.commaOrSpaceSeparated,tabIndex:d.number,tableValues:null,target:null,targetX:d.number,targetY:d.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:d.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:d.number,underlineThickness:d.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:d.number,values:null,vAlphabetic:d.number,vMathematical:d.number,vectorEffect:null,vHanging:d.number,vIdeographic:d.number,version:null,vertAdvY:d.number,vertOriginX:d.number,vertOriginY:d.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:d.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:H}),G=k({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(X,q){return"xlink:"+q.slice(5).toLowerCase()}}),be=k({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:O}),ce=k({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(X,q){return"xml:"+q.slice(3).toLowerCase()}}),ue=E([N,I,G,be,ce],"html"),te=E([N,ie,G,be,ce],"svg")},86825:function(x,c,r){"use strict";r.d(c,{s:function(){return N}});var u=r(53538),E=r(25629),m=r(13830);const b=/[A-Z]/g,k=/-[a-z]/g,d=/^data[-\w.:]+$/i;function N(I,ie){const G=(0,m.F)(ie);let be=ie,ce=E.k;if(G in I.normal)return I.property[I.normal[G]];if(G.length>4&&G.slice(0,4)==="data"&&d.test(ie)){if(ie.charAt(4)==="-"){const ue=ie.slice(5).replace(k,O);be="data"+ue.charAt(0).toUpperCase()+ue.slice(1)}else{const ue=ie.slice(4);if(!k.test(ue)){let te=ue.replace(b,H);te.charAt(0)!=="-"&&(te="-"+te),ie="data"+te}}ce=u.I}return new ce(be,ie)}function H(I){return"-"+I.toLowerCase()}function O(I){return I.charAt(1).toUpperCase()}},13830:function(x,c,r){"use strict";r.d(c,{F:function(){return u}});function u(E){return E.toLowerCase()}},53538:function(x,c,r){"use strict";r.d(c,{I:function(){return b}});var u=r(25629),E=r(71337);const m=Object.keys(E);class b extends u.k{constructor(N,H,O,I){let ie=-1;if(super(N,H),k(this,"space",I),typeof O=="number")for(;++ie<m.length;){const G=m[ie];k(this,m[ie],(O&E[G])===E[G])}}}b.prototype.defined=!0;function k(d,N,H){H&&(d[N]=H)}},25629:function(x,c,r){"use strict";r.d(c,{k:function(){return u}});class u{constructor(m,b){this.attribute=b,this.property=m}}u.prototype.attribute="",u.prototype.booleanish=!1,u.prototype.boolean=!1,u.prototype.commaOrSpaceSeparated=!1,u.prototype.commaSeparated=!1,u.prototype.defined=!1,u.prototype.mustUseProperty=!1,u.prototype.number=!1,u.prototype.overloadedBoolean=!1,u.prototype.property="",u.prototype.spaceSeparated=!1,u.prototype.space=void 0},71337:function(x,c,r){"use strict";r.r(c),r.d(c,{boolean:function(){return E},booleanish:function(){return m},commaOrSpaceSeparated:function(){return H},commaSeparated:function(){return N},number:function(){return k},overloadedBoolean:function(){return b},spaceSeparated:function(){return d}});let u=0;const E=O(),m=O(),b=O(),k=O(),d=O(),N=O(),H=O();function O(){return Ks(2,++u)}},97831:function(x,c,r){"use strict";r.d(c,{UG:function(){return Oa}});var u={};r.r(u),r.d(u,{attentionMarkers:function(){return jr},contentInitial:function(){return Ia},disable:function(){return Ta},document:function(){return Vr},flow:function(){return hi},flowInitial:function(){return Ra},insideSpan:function(){return Kr},string:function(){return Pa},text:function(){return qr}});var E=r(87342),m=r(11630);const b=/[$_\p{ID_Start}]/u,k=/[$_\u{200C}\u{200D}\p{ID_Continue}]/u,d=/[-$_\u{200C}\u{200D}\p{ID_Continue}]/u,N=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,H=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,O={};function I(l){return l?b.test(String.fromCodePoint(l)):!1}function ie(l,y){const w=(y||O).jsx?d:k;return l?w.test(String.fromCodePoint(l)):!1}function G(l,y){return((y||O).jsx?H:N).test(l)}const be=/[ \t\n\f\r]/g;function ce(l){return typeof l=="object"?l.type==="text"?ue(l.value):!1:ue(l)}function ue(l){return l.replace(be,"")===""}var te=r(14470),X=r(86825);const q={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var W=r(71523),Y=r(6526),P=r(17970);function B(l){return!l||typeof l!="object"?"":"position"in l||"type"in l?ee(l.position):"start"in l||"end"in l?ee(l):"line"in l||"column"in l?_(l):""}function _(l){return de(l&&l.line)+":"+de(l&&l.column)}function ee(l){return _(l&&l.start)+"-"+_(l&&l.end)}function de(l){return l&&typeof l=="number"?l:1}class Z extends Error{constructor(y,T,w){super(),typeof T=="string"&&(w=T,T=void 0);let K="",j={},se=!1;if(T&&("line"in T&&"column"in T?j={place:T}:"start"in T&&"end"in T?j={place:T}:"type"in T?j={ancestors:[T],place:T.position}:j=yr({},T)),typeof y=="string"?K=y:!j.cause&&y&&(se=!0,K=y.message,j.cause=y),!j.ruleId&&!j.source&&typeof w=="string"){const Ye=w.indexOf(":");Ye===-1?j.ruleId=w:(j.source=w.slice(0,Ye),j.ruleId=w.slice(Ye+1))}if(!j.place&&j.ancestors&&j.ancestors){const Ye=j.ancestors[j.ancestors.length-1];Ye&&(j.place=Ye.position)}const ve=j.place&&"start"in j.place?j.place.start:j.place;this.ancestors=j.ancestors||void 0,this.cause=j.cause||void 0,this.column=ve?ve.column:void 0,this.fatal=void 0,this.file="",this.message=K,this.line=ve?ve.line:void 0,this.name=B(j.place)||"1:1",this.place=j.place||void 0,this.reason=this.message,this.ruleId=j.ruleId||void 0,this.source=j.source||void 0,this.stack=se&&j.cause&&typeof j.cause.stack=="string"?j.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Z.prototype.file="",Z.prototype.name="",Z.prototype.reason="",Z.prototype.message="",Z.prototype.stack="",Z.prototype.column=void 0,Z.prototype.line=void 0,Z.prototype.ancestors=void 0,Z.prototype.cause=void 0,Z.prototype.fatal=void 0,Z.prototype.place=void 0,Z.prototype.ruleId=void 0,Z.prototype.source=void 0;const fe={}.hasOwnProperty,re=new Map,V=/[A-Z]/g,le=new Set(["table","tbody","thead","tfoot","tr"]),ne=new Set(["td","th"]),ge="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Re(l,y){if(!y||y.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const T=y.filePath||void 0;let w;if(y.development){if(typeof y.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");w=ut(T,y.jsxDEV)}else{if(typeof y.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof y.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");w=Tt(T,y.jsx,y.jsxs)}const K={Fragment:y.Fragment,ancestors:[],components:y.components||{},create:w,elementAttributeNameCase:y.elementAttributeNameCase||"react",evaluater:y.createEvaluater?y.createEvaluater():void 0,filePath:T,ignoreInvalidStyle:y.ignoreInvalidStyle||!1,passKeys:y.passKeys!==!1,passNode:y.passNode||!1,schema:y.space==="svg"?te.YP:te.dy,stylePropertyNameCase:y.stylePropertyNameCase||"dom",tableCellAlignToStyle:y.tableCellAlignToStyle!==!1},j=Ie(K,l,void 0);return j&&typeof j!="string"?j:K.create(l,K.Fragment,{children:j||void 0},void 0)}function Ie(l,y,T){if(y.type==="element")return ke(l,y,T);if(y.type==="mdxFlowExpression"||y.type==="mdxTextExpression")return Be(l,y);if(y.type==="mdxJsxFlowElement"||y.type==="mdxJsxTextElement")return M(l,y,T);if(y.type==="mdxjsEsm")return oe(l,y);if(y.type==="root")return L(l,y,T);if(y.type==="text")return xe(l,y)}function ke(l,y,T){const w=l.schema;let K=w;y.tagName.toLowerCase()==="svg"&&w.space==="html"&&(K=te.YP,l.schema=K),l.ancestors.push(y);const j=Ut(l,y.tagName,!1),se=Rt(l,y);let ve=bt(l,y);return le.has(y.tagName)&&(ve=ve.filter(function(Ye){return typeof Ye=="string"?!ce(Ye):!0})),Me(l,se,j,y),we(se,ve),l.ancestors.pop(),l.schema=w,l.create(y,j,se,T)}function Be(l,y){if(y.data&&y.data.estree&&l.evaluater){const w=y.data.estree.body[0];return(0,E.ok)(w.type==="ExpressionStatement"),l.evaluater.evaluateExpression(w.expression)}R(l,y.position)}function oe(l,y){if(y.data&&y.data.estree&&l.evaluater)return l.evaluater.evaluateProgram(y.data.estree);R(l,y.position)}function M(l,y,T){const w=l.schema;let K=w;y.name==="svg"&&w.space==="html"&&(K=te.YP,l.schema=K),l.ancestors.push(y);const j=y.name===null?l.Fragment:Ut(l,y.name,!0),se=He(l,y),ve=bt(l,y);return Me(l,se,j,y),we(se,ve),l.ancestors.pop(),l.schema=w,l.create(y,j,se,T)}function L(l,y,T){const w={};return we(w,bt(l,y)),l.create(y,l.Fragment,w,T)}function xe(l,y){return y.value}function Me(l,y,T,w){typeof T!="string"&&T!==l.Fragment&&l.passNode&&(y.node=w)}function we(l,y){if(y.length>0){const T=y.length>1?y:y[0];T&&(l.children=T)}}function Tt(l,y,T){return w;function w(K,j,se,ve){const je=Array.isArray(se.children)?T:y;return ve?je(j,se,ve):je(j,se)}}function ut(l,y){return T;function T(w,K,j,se){const ve=Array.isArray(j.children),Ye=(0,P.Pk)(w);return y(K,j,se,ve,{columnNumber:Ye?Ye.column-1:void 0,fileName:l,lineNumber:Ye?Ye.line:void 0},void 0)}}function Rt(l,y){const T={};let w,K;for(K in y.properties)if(K!=="children"&&fe.call(y.properties,K)){const j=vt(l,K,y.properties[K]);if(j){const[se,ve]=j;l.tableCellAlignToStyle&&se==="align"&&typeof ve=="string"&&ne.has(y.tagName)?w=ve:T[se]=ve}}if(w){const j=T.style||(T.style={});j[l.stylePropertyNameCase==="css"?"text-align":"textAlign"]=w}return T}function He(l,y){const T={};for(const w of y.attributes)if(w.type==="mdxJsxExpressionAttribute")if(w.data&&w.data.estree&&l.evaluater){const j=w.data.estree.body[0];(0,E.ok)(j.type==="ExpressionStatement");const se=j.expression;(0,E.ok)(se.type==="ObjectExpression");const ve=se.properties[0];(0,E.ok)(ve.type==="SpreadElement"),Object.assign(T,l.evaluater.evaluateExpression(ve.argument))}else R(l,y.position);else{const K=w.name;let j;if(w.value&&typeof w.value=="object")if(w.value.data&&w.value.data.estree&&l.evaluater){const ve=w.value.data.estree.body[0];(0,E.ok)(ve.type==="ExpressionStatement"),j=l.evaluater.evaluateExpression(ve.expression)}else R(l,y.position);else j=w.value===null?!0:w.value;T[K]=j}return T}function bt(l,y){const T=[];let w=-1;const K=l.passKeys?new Map:re;for(;++w<y.children.length;){const j=y.children[w];let se;if(l.passKeys){const Ye=j.type==="element"?j.tagName:j.type==="mdxJsxFlowElement"||j.type==="mdxJsxTextElement"?j.name:void 0;if(Ye){const je=K.get(Ye)||0;se=Ye+"-"+je,K.set(Ye,je+1)}}const ve=Ie(l,j,se);ve!==void 0&&T.push(ve)}return T}function vt(l,y,T){const w=(0,X.s)(l.schema,y);if(!(T==null||typeof T=="number"&&Number.isNaN(T))){if(Array.isArray(T)&&(T=w.commaSeparated?(0,m.P)(T):(0,W.P)(T)),w.property==="style"){let K=typeof T=="object"?T:Mt(l,String(T));return l.stylePropertyNameCase==="css"&&(K=h(K)),["style",K]}return[l.elementAttributeNameCase==="react"&&w.space?q[w.property]||w.property:w.attribute,T]}}function Mt(l,y){try{return Y(y,{reactCompat:!0})}catch(T){if(l.ignoreInvalidStyle)return{};const w=T,K=new Z("Cannot parse `style` attribute",{ancestors:l.ancestors,cause:w,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw K.file=l.filePath||void 0,K.url=ge+"#cannot-parse-style-attribute",K}}function Ut(l,y,T){let w;if(!T)w={type:"Literal",value:y};else if(y.includes(".")){const K=y.split(".");let j=-1,se;for(;++j<K.length;){const ve=G(K[j])?{type:"Identifier",name:K[j]}:{type:"Literal",value:K[j]};se=se?{type:"MemberExpression",object:se,property:ve,computed:!!(j&&ve.type==="Literal"),optional:!1}:ve}(0,E.ok)(se,"always a result"),w=se}else w=G(y)&&!/^[a-z]/.test(y)?{type:"Identifier",name:y}:{type:"Literal",value:y};if(w.type==="Literal"){const K=w.value;return fe.call(l.components,K)?l.components[K]:K}if(l.evaluater)return l.evaluater.evaluateExpression(w);R(l)}function R(l,y){const T=new Z("Cannot handle MDX estrees without `createEvaluater`",{ancestors:l.ancestors,place:y,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw T.file=l.filePath||void 0,T.url=ge+"#cannot-handle-mdx-estrees-without-createevaluater",T}function h(l){const y={};let T;for(T in l)fe.call(l,T)&&(y[f(T)]=l[T]);return y}function f(l){let y=l.replace(V,C);return y.slice(0,3)==="ms-"&&(y="-"+y),y}function C(l){return"-"+l.toLowerCase()}const D={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var v=r(37712),U=r(59301);const Ne={};function ot(l,y){const T=y||Ne,w=typeof T.includeImageAlt=="boolean"?T.includeImageAlt:!0,K=typeof T.includeHtml=="boolean"?T.includeHtml:!0;return lt(l,w,K)}function lt(l,y,T){if(Fe(l)){if("value"in l)return l.type==="html"&&!T?"":l.value;if(y&&"alt"in l&&l.alt)return l.alt;if("children"in l)return Se(l.children,y,T)}return Array.isArray(l)?Se(l,y,T):""}function Se(l,y,T){const w=[];let K=-1;for(;++K<l.length;)w[K]=lt(l[K],y,T);return w.join("")}function Fe(l){return!!(l&&typeof l=="object")}function Pe(l,y,T,w){const K=l.length;let j=0,se;if(y<0?y=-y>K?0:K+y:y=y>K?K:y,T=T>0?T:0,w.length<1e4)se=Array.from(w),se.unshift(y,T),l.splice(...se);else for(T&&l.splice(y,T);j<w.length;)se=w.slice(j,j+1e4),se.unshift(y,0),l.splice(...se),j+=1e4,y+=1e4}function Qe(l,y){return l.length>0?(Pe(l,l.length,0,y),l):y}class ct{constructor(y){this.left=y?[...y]:[],this.right=[]}get(y){if(y<0||y>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+y+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return y<this.left.length?this.left[y]:this.right[this.right.length-y+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(y,T){const w=T==null?Number.POSITIVE_INFINITY:T;return w<this.left.length?this.left.slice(y,w):y>this.left.length?this.right.slice(this.right.length-w+this.left.length,this.right.length-y+this.left.length).reverse():this.left.slice(y).concat(this.right.slice(this.right.length-w+this.left.length).reverse())}splice(y,T,w){const K=T||0;this.setCursor(Math.trunc(y));const j=this.right.splice(this.right.length-K,Number.POSITIVE_INFINITY);return w&&Ge(this.left,w),j.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(y){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(y)}pushMany(y){this.setCursor(Number.POSITIVE_INFINITY),Ge(this.left,y)}unshift(y){this.setCursor(0),this.right.push(y)}unshiftMany(y){this.setCursor(0),Ge(this.right,y.reverse())}setCursor(y){if(!(y===this.left.length||y>this.left.length&&this.right.length===0||y<0&&this.left.length===0))if(y<this.left.length){const T=this.left.splice(y,Number.POSITIVE_INFINITY);Ge(this.right,T.reverse())}else{const T=this.right.splice(this.left.length+this.right.length-y,Number.POSITIVE_INFINITY);Ge(this.left,T.reverse())}}}function Ge(l,y){let T=0;if(y.length<1e4)l.push(...y);else for(;T<y.length;)l.push(...y.slice(T,T+1e4)),T+=1e4}function pe(l){const y={};let T=-1,w,K,j,se,ve,Ye,je;const _e=new ct(l);for(;++T<_e.length;){for(;T in y;)T=y[T];if(w=_e.get(T),T&&w[1].type==="chunkFlow"&&_e.get(T-1)[1].type==="listItemPrefix"&&(Ye=w[1]._tokenizer.events,j=0,j<Ye.length&&Ye[j][1].type==="lineEndingBlank"&&(j+=2),j<Ye.length&&Ye[j][1].type==="content"))for(;++j<Ye.length&&Ye[j][1].type!=="content";)Ye[j][1].type==="chunkText"&&(Ye[j][1]._isInFirstContentOfListItem=!0,j++);if(w[0]==="enter")w[1].contentType&&(Object.assign(y,Je(_e,T)),T=y[T],je=!0);else if(w[1]._container){for(j=T,K=void 0;j--;)if(se=_e.get(j),se[1].type==="lineEnding"||se[1].type==="lineEndingBlank")se[0]==="enter"&&(K&&(_e.get(K)[1].type="lineEndingBlank"),se[1].type="lineEnding",K=j);else if(!(se[1].type==="linePrefix"||se[1].type==="listItemIndent"))break;K&&(w[1].end=yr({},_e.get(K)[1].start),ve=_e.slice(K,T),ve.unshift(w),_e.splice(K,T-K+1,ve))}}return Pe(l,0,Number.POSITIVE_INFINITY,_e.slice(0)),!je}function Je(l,y){const T=l.get(y)[1],w=l.get(y)[2];let K=y-1;const j=[];let se=T._tokenizer;se||(se=w.parser[T.contentType](T.start),T._contentTypeTextTrailing&&(se._contentTypeTextTrailing=!0));const ve=se.events,Ye=[],je={};let _e,ft,st=-1,Ue=T,Hn=0,xr=0;const $r=[xr];for(;Ue;){for(;l.get(++K)[1]!==Ue;);j.push(K),Ue._tokenizer||(_e=w.sliceStream(Ue),Ue.next||_e.push(null),ft&&se.defineSkip(Ue.start),Ue._isInFirstContentOfListItem&&(se._gfmTasklistFirstContentOfListItem=!0),se.write(_e),Ue._isInFirstContentOfListItem&&(se._gfmTasklistFirstContentOfListItem=void 0)),ft=Ue,Ue=Ue.next}for(Ue=T;++st<ve.length;)ve[st][0]==="exit"&&ve[st-1][0]==="enter"&&ve[st][1].type===ve[st-1][1].type&&ve[st][1].start.line!==ve[st][1].end.line&&(xr=st+1,$r.push(xr),Ue._tokenizer=void 0,Ue.previous=void 0,Ue=Ue.next);for(se.events=[],Ue?(Ue._tokenizer=void 0,Ue.previous=void 0):$r.pop(),st=$r.length;st--;){const on=ve.slice($r[st],$r[st+1]),wn=j.pop();Ye.push([wn,wn+on.length-1]),l.splice(wn,2,on)}for(Ye.reverse(),st=-1;++st<Ye.length;)je[Hn+Ye[st][0]]=Hn+Ye[st][1],Hn+=Ye[st][1]-Ye[st][0]-1;return je}function rt(l){for(;!pe(l););return l}const $e={}.hasOwnProperty;function et(l){const y={};let T=-1;for(;++T<l.length;)It(y,l[T]);return y}function It(l,y){let T;for(T in y){const K=($e.call(l,T)?l[T]:void 0)||(l[T]={}),j=y[T];let se;if(j)for(se in j){$e.call(K,se)||(K[se]=[]);const ve=j[se];tt(K[se],Array.isArray(ve)?ve:ve?[ve]:[])}}}function tt(l,y){let T=-1;const w=[];for(;++T<y.length;)(y[T].add==="after"?l:w).push(y[T]);Pe(l,0,0,w)}function Q(l){const y={};let T=-1;for(;++T<l.length;)Et(y,l[T]);return y}function Et(l,y){let T;for(T in y){const K=($e.call(l,T)?l[T]:void 0)||(l[T]={}),j=y[T];let se;if(j)for(se in j)K[se]=j[se]}}var At=r(26735),ye=r(80722);const Gt={tokenize:tn};function tn(l){const y=l.attempt(this.parser.constructs.contentInitial,w,K);let T;return y;function w(ve){if(ve===null){l.consume(ve);return}return l.enter("lineEnding"),l.consume(ve),l.exit("lineEnding"),(0,At.f)(l,y,"linePrefix")}function K(ve){return l.enter("paragraph"),j(ve)}function j(ve){const Ye=l.enter("chunkText",{contentType:"text",previous:T});return T&&(T.next=Ye),T=Ye,se(ve)}function se(ve){if(ve===null){l.exit("chunkText"),l.exit("paragraph"),l.consume(ve);return}return(0,ye.Ch)(ve)?(l.consume(ve),l.exit("chunkText"),j):(l.consume(ve),se)}}const Xt={tokenize:bn},Ke={tokenize:cn};function bn(l){const y=this,T=[];let w=0,K,j,se;return ve;function ve(Bn){if(w<T.length){const na=T[w];return y.containerState=na[1],l.attempt(na[0].continuation,Ye,je)(Bn)}return je(Bn)}function Ye(Bn){if(w++,y.containerState._closeFlow){y.containerState._closeFlow=void 0,K&&wn();const na=y.events.length;let Jr=na,qt;for(;Jr--;)if(y.events[Jr][0]==="exit"&&y.events[Jr][1].type==="chunkFlow"){qt=y.events[Jr][1].end;break}on(w);let ia=na;for(;ia<y.events.length;)y.events[ia][1].end=yr({},qt),ia++;return Pe(y.events,Jr+1,0,y.events.slice(na)),y.events.length=ia,je(Bn)}return ve(Bn)}function je(Bn){if(w===T.length){if(!K)return st(Bn);if(K.currentConstruct&&K.currentConstruct.concrete)return Hn(Bn);y.interrupt=!!(K.currentConstruct&&!K._gfmTableDynamicInterruptHack)}return y.containerState={},l.check(Ke,_e,ft)(Bn)}function _e(Bn){return K&&wn(),on(w),st(Bn)}function ft(Bn){return y.parser.lazy[y.now().line]=w!==T.length,se=y.now().offset,Hn(Bn)}function st(Bn){return y.containerState={},l.attempt(Ke,Ue,Hn)(Bn)}function Ue(Bn){return w++,T.push([y.currentConstruct,y.containerState]),st(Bn)}function Hn(Bn){if(Bn===null){K&&wn(),on(0),l.consume(Bn);return}return K=K||y.parser.flow(y.now()),l.enter("chunkFlow",{_tokenizer:K,contentType:"flow",previous:j}),xr(Bn)}function xr(Bn){if(Bn===null){$r(l.exit("chunkFlow"),!0),on(0),l.consume(Bn);return}return(0,ye.Ch)(Bn)?(l.consume(Bn),$r(l.exit("chunkFlow")),w=0,y.interrupt=void 0,ve):(l.consume(Bn),xr)}function $r(Bn,na){const Jr=y.sliceStream(Bn);if(na&&Jr.push(null),Bn.previous=j,j&&(j.next=Bn),j=Bn,K.defineSkip(Bn.start),K.write(Jr),y.parser.lazy[Bn.start.line]){let qt=K.events.length;for(;qt--;)if(K.events[qt][1].start.offset<se&&(!K.events[qt][1].end||K.events[qt][1].end.offset>se))return;const ia=y.events.length;let wa=ia,ra,ga;for(;wa--;)if(y.events[wa][0]==="exit"&&y.events[wa][1].type==="chunkFlow"){if(ra){ga=y.events[wa][1].end;break}ra=!0}for(on(w),qt=ia;qt<y.events.length;)y.events[qt][1].end=yr({},ga),qt++;Pe(y.events,wa+1,0,y.events.slice(ia)),y.events.length=qt}}function on(Bn){let na=T.length;for(;na-- >Bn;){const Jr=T[na];y.containerState=Jr[1],Jr[0].exit.call(y,l)}T.length=Bn}function wn(){K.write([null]),j=void 0,K=void 0,y.containerState._closeFlow=void 0}}function cn(l,y,T){return(0,At.f)(l,l.attempt(this.parser.constructs.document,y,T),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const Ht={partial:!0,tokenize:Kt};function Kt(l,y,T){return w;function w(j){return(0,ye.xz)(j)?(0,At.f)(l,K,"linePrefix")(j):K(j)}function K(j){return j===null||(0,ye.Ch)(j)?y(j):T(j)}}const gn={resolve:Ft,tokenize:Lt},Vt={partial:!0,tokenize:Qt};function Ft(l){return pe(l),l}function Lt(l,y){let T;return w;function w(ve){return l.enter("content"),T=l.enter("chunkContent",{contentType:"content"}),K(ve)}function K(ve){return ve===null?j(ve):(0,ye.Ch)(ve)?l.check(Vt,se,j)(ve):(l.consume(ve),K)}function j(ve){return l.exit("chunkContent"),l.exit("content"),y(ve)}function se(ve){return l.consume(ve),l.exit("chunkContent"),T.next=l.enter("chunkContent",{contentType:"content",previous:T}),T=T.next,K}}function Qt(l,y,T){const w=this;return K;function K(se){return l.exit("chunkContent"),l.enter("lineEnding"),l.consume(se),l.exit("lineEnding"),(0,At.f)(l,j,"linePrefix")}function j(se){if(se===null||(0,ye.Ch)(se))return T(se);const ve=w.events[w.events.length-1];return!w.parser.constructs.disable.null.includes("codeIndented")&&ve&&ve[1].type==="linePrefix"&&ve[2].sliceSerialize(ve[1],!0).length>=4?y(se):l.interrupt(w.parser.constructs.flow,T,y)(se)}}const An={tokenize:Dn};function Dn(l){const y=this,T=l.attempt(Ht,w,l.attempt(this.parser.constructs.flowInitial,K,(0,At.f)(l,l.attempt(this.parser.constructs.flow,K,l.attempt(gn,K)),"linePrefix")));return T;function w(j){if(j===null){l.consume(j);return}return l.enter("lineEndingBlank"),l.consume(j),l.exit("lineEndingBlank"),y.currentConstruct=void 0,T}function K(j){if(j===null){l.consume(j);return}return l.enter("lineEnding"),l.consume(j),l.exit("lineEnding"),y.currentConstruct=void 0,T}}const ln={resolveAll:Ar()},Lr=Vn("string"),Ln=Vn("text");function Vn(l){return{resolveAll:Ar(l==="text"?Ir:void 0),tokenize:y};function y(T){const w=this,K=this.parser.constructs[l],j=T.attempt(K,se,ve);return se;function se(_e){return je(_e)?j(_e):ve(_e)}function ve(_e){if(_e===null){T.consume(_e);return}return T.enter("data"),T.consume(_e),Ye}function Ye(_e){return je(_e)?(T.exit("data"),j(_e)):(T.consume(_e),Ye)}function je(_e){if(_e===null)return!0;const ft=K[_e];let st=-1;if(ft)for(;++st<ft.length;){const Ue=ft[st];if(!Ue.previous||Ue.previous.call(w,w.previous))return!0}return!1}}}function Ar(l){return y;function y(T,w){let K=-1,j;for(;++K<=T.length;)j===void 0?T[K]&&T[K][1].type==="data"&&(j=K,K++):(!T[K]||T[K][1].type!=="data")&&(K!==j+2&&(T[j][1].end=T[K-1][1].end,T.splice(j+2,K-j-2),K=j+2),j=void 0);return l?l(T,w):T}}function Ir(l,y){let T=0;for(;++T<=l.length;)if((T===l.length||l[T][1].type==="lineEnding")&&l[T-1][1].type==="data"){const w=l[T-1][1],K=y.sliceStream(w);let j=K.length,se=-1,ve=0,Ye;for(;j--;){const je=K[j];if(typeof je=="string"){for(se=je.length;je.charCodeAt(se-1)===32;)ve++,se--;if(se)break;se=-1}else if(je===-2)Ye=!0,ve++;else if(je!==-1){j++;break}}if(y._contentTypeTextTrailing&&T===l.length&&(ve=0),ve){const je={type:T===l.length||Ye||ve<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:j?se:w.start._bufferIndex+se,_index:w.start._index+j,line:w.end.line,column:w.end.column-ve,offset:w.end.offset-ve},end:yr({},w.end)};w.end=yr({},je.start),w.start.offset===w.end.offset?Object.assign(w,je):(l.splice(T,0,["enter",je,y],["exit",je,y]),T+=2)}T++}return l}const Kn={name:"thematicBreak",tokenize:Cn};function Cn(l,y,T){let w=0,K;return j;function j(je){return l.enter("thematicBreak"),se(je)}function se(je){return K=je,ve(je)}function ve(je){return je===K?(l.enter("thematicBreakSequence"),Ye(je)):w>=3&&(je===null||(0,ye.Ch)(je))?(l.exit("thematicBreak"),y(je)):T(je)}function Ye(je){return je===K?(l.consume(je),w++,Ye):(l.exit("thematicBreakSequence"),(0,ye.xz)(je)?(0,At.f)(l,ve,"whitespace")(je):ve(je))}}const Mn={continuation:{tokenize:Or},exit:De,name:"list",tokenize:On},zn={partial:!0,tokenize:Le},$t={partial:!0,tokenize:Mr};function On(l,y,T){const w=this,K=w.events[w.events.length-1];let j=K&&K[1].type==="linePrefix"?K[2].sliceSerialize(K[1],!0).length:0,se=0;return ve;function ve(Ue){const Hn=w.containerState.type||(Ue===42||Ue===43||Ue===45?"listUnordered":"listOrdered");if(Hn==="listUnordered"?!w.containerState.marker||Ue===w.containerState.marker:(0,ye.pY)(Ue)){if(w.containerState.type||(w.containerState.type=Hn,l.enter(Hn,{_container:!0})),Hn==="listUnordered")return l.enter("listItemPrefix"),Ue===42||Ue===45?l.check(Kn,T,je)(Ue):je(Ue);if(!w.interrupt||Ue===49)return l.enter("listItemPrefix"),l.enter("listItemValue"),Ye(Ue)}return T(Ue)}function Ye(Ue){return(0,ye.pY)(Ue)&&++se<10?(l.consume(Ue),Ye):(!w.interrupt||se<2)&&(w.containerState.marker?Ue===w.containerState.marker:Ue===41||Ue===46)?(l.exit("listItemValue"),je(Ue)):T(Ue)}function je(Ue){return l.enter("listItemMarker"),l.consume(Ue),l.exit("listItemMarker"),w.containerState.marker=w.containerState.marker||Ue,l.check(Ht,w.interrupt?T:_e,l.attempt(zn,st,ft))}function _e(Ue){return w.containerState.initialBlankLine=!0,j++,st(Ue)}function ft(Ue){return(0,ye.xz)(Ue)?(l.enter("listItemPrefixWhitespace"),l.consume(Ue),l.exit("listItemPrefixWhitespace"),st):T(Ue)}function st(Ue){return w.containerState.size=j+w.sliceSerialize(l.exit("listItemPrefix"),!0).length,y(Ue)}}function Or(l,y,T){const w=this;return w.containerState._closeFlow=void 0,l.check(Ht,K,j);function K(ve){return w.containerState.furtherBlankLines=w.containerState.furtherBlankLines||w.containerState.initialBlankLine,(0,At.f)(l,y,"listItemIndent",w.containerState.size+1)(ve)}function j(ve){return w.containerState.furtherBlankLines||!(0,ye.xz)(ve)?(w.containerState.furtherBlankLines=void 0,w.containerState.initialBlankLine=void 0,se(ve)):(w.containerState.furtherBlankLines=void 0,w.containerState.initialBlankLine=void 0,l.attempt($t,y,se)(ve))}function se(ve){return w.containerState._closeFlow=!0,w.interrupt=void 0,(0,At.f)(l,l.attempt(Mn,y,T),"linePrefix",w.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ve)}}function Mr(l,y,T){const w=this;return(0,At.f)(l,K,"listItemIndent",w.containerState.size+1);function K(j){const se=w.events[w.events.length-1];return se&&se[1].type==="listItemIndent"&&se[2].sliceSerialize(se[1],!0).length===w.containerState.size?y(j):T(j)}}function De(l){l.exit(this.containerState.type)}function Le(l,y,T){const w=this;return(0,At.f)(l,K,"listItemPrefixWhitespace",w.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function K(j){const se=w.events[w.events.length-1];return!(0,ye.xz)(j)&&se&&se[1].type==="listItemPrefixWhitespace"?y(j):T(j)}}const Pt={continuation:{tokenize:me},exit:St,name:"blockQuote",tokenize:wt};function wt(l,y,T){const w=this;return K;function K(se){if(se===62){const ve=w.containerState;return ve.open||(l.enter("blockQuote",{_container:!0}),ve.open=!0),l.enter("blockQuotePrefix"),l.enter("blockQuoteMarker"),l.consume(se),l.exit("blockQuoteMarker"),j}return T(se)}function j(se){return(0,ye.xz)(se)?(l.enter("blockQuotePrefixWhitespace"),l.consume(se),l.exit("blockQuotePrefixWhitespace"),l.exit("blockQuotePrefix"),y):(l.exit("blockQuotePrefix"),y(se))}}function me(l,y,T){const w=this;return K;function K(se){return(0,ye.xz)(se)?(0,At.f)(l,j,"linePrefix",w.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(se):j(se)}function j(se){return l.attempt(Pt,y,T)(se)}}function St(l){l.exit("blockQuote")}function _t(l,y,T,w,K,j,se,ve,Ye){const je=Ye||Number.POSITIVE_INFINITY;let _e=0;return ft;function ft(on){return on===60?(l.enter(w),l.enter(K),l.enter(j),l.consume(on),l.exit(j),st):on===null||on===32||on===41||(0,ye.Av)(on)?T(on):(l.enter(w),l.enter(se),l.enter(ve),l.enter("chunkString",{contentType:"string"}),xr(on))}function st(on){return on===62?(l.enter(j),l.consume(on),l.exit(j),l.exit(K),l.exit(w),y):(l.enter(ve),l.enter("chunkString",{contentType:"string"}),Ue(on))}function Ue(on){return on===62?(l.exit("chunkString"),l.exit(ve),st(on)):on===null||on===60||(0,ye.Ch)(on)?T(on):(l.consume(on),on===92?Hn:Ue)}function Hn(on){return on===60||on===62||on===92?(l.consume(on),Ue):Ue(on)}function xr(on){return!_e&&(on===null||on===41||(0,ye.z3)(on))?(l.exit("chunkString"),l.exit(ve),l.exit(se),l.exit(w),y(on)):_e<je&&on===40?(l.consume(on),_e++,xr):on===41?(l.consume(on),_e--,xr):on===null||on===32||on===40||(0,ye.Av)(on)?T(on):(l.consume(on),on===92?$r:xr)}function $r(on){return on===40||on===41||on===92?(l.consume(on),xr):xr(on)}}function Te(l,y,T,w,K,j){const se=this;let ve=0,Ye;return je;function je(Ue){return l.enter(w),l.enter(K),l.consume(Ue),l.exit(K),l.enter(j),_e}function _e(Ue){return ve>999||Ue===null||Ue===91||Ue===93&&!Ye||Ue===94&&!ve&&"_hiddenFootnoteSupport"in se.parser.constructs?T(Ue):Ue===93?(l.exit(j),l.enter(K),l.consume(Ue),l.exit(K),l.exit(w),y):(0,ye.Ch)(Ue)?(l.enter("lineEnding"),l.consume(Ue),l.exit("lineEnding"),_e):(l.enter("chunkString",{contentType:"string"}),ft(Ue))}function ft(Ue){return Ue===null||Ue===91||Ue===93||(0,ye.Ch)(Ue)||ve++>999?(l.exit("chunkString"),_e(Ue)):(l.consume(Ue),Ye||(Ye=!(0,ye.xz)(Ue)),Ue===92?st:ft)}function st(Ue){return Ue===91||Ue===92||Ue===93?(l.consume(Ue),ve++,ft):ft(Ue)}}function g(l,y,T,w,K,j){let se;return ve;function ve(st){return st===34||st===39||st===40?(l.enter(w),l.enter(K),l.consume(st),l.exit(K),se=st===40?41:st,Ye):T(st)}function Ye(st){return st===se?(l.enter(K),l.consume(st),l.exit(K),l.exit(w),y):(l.enter(j),je(st))}function je(st){return st===se?(l.exit(j),Ye(se)):st===null?T(st):(0,ye.Ch)(st)?(l.enter("lineEnding"),l.consume(st),l.exit("lineEnding"),(0,At.f)(l,je,"linePrefix")):(l.enter("chunkString",{contentType:"string"}),_e(st))}function _e(st){return st===se||st===null||(0,ye.Ch)(st)?(l.exit("chunkString"),je(st)):(l.consume(st),st===92?ft:_e)}function ft(st){return st===se||st===92?(l.consume(st),_e):_e(st)}}function Yt(l,y){let T;return w;function w(K){return(0,ye.Ch)(K)?(l.enter("lineEnding"),l.consume(K),l.exit("lineEnding"),T=!0,w):(0,ye.xz)(K)?(0,At.f)(l,w,T?"linePrefix":"lineSuffix")(K):y(K)}}function Jt(l){return l.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ze={name:"definition",tokenize:jt},yn={partial:!0,tokenize:dn};function jt(l,y,T){const w=this;let K;return j;function j(Ue){return l.enter("definition"),se(Ue)}function se(Ue){return Te.call(w,l,ve,T,"definitionLabel","definitionLabelMarker","definitionLabelString")(Ue)}function ve(Ue){return K=Jt(w.sliceSerialize(w.events[w.events.length-1][1]).slice(1,-1)),Ue===58?(l.enter("definitionMarker"),l.consume(Ue),l.exit("definitionMarker"),Ye):T(Ue)}function Ye(Ue){return(0,ye.z3)(Ue)?Yt(l,je)(Ue):je(Ue)}function je(Ue){return _t(l,_e,T,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(Ue)}function _e(Ue){return l.attempt(yn,ft,ft)(Ue)}function ft(Ue){return(0,ye.xz)(Ue)?(0,At.f)(l,st,"whitespace")(Ue):st(Ue)}function st(Ue){return Ue===null||(0,ye.Ch)(Ue)?(l.exit("definition"),w.parser.defined.push(K),y(Ue)):T(Ue)}}function dn(l,y,T){return w;function w(ve){return(0,ye.z3)(ve)?Yt(l,K)(ve):T(ve)}function K(ve){return g(l,j,T,"definitionTitle","definitionTitleMarker","definitionTitleString")(ve)}function j(ve){return(0,ye.xz)(ve)?(0,At.f)(l,se,"whitespace")(ve):se(ve)}function se(ve){return ve===null||(0,ye.Ch)(ve)?y(ve):T(ve)}}const nn={name:"codeIndented",tokenize:mn},he={partial:!0,tokenize:lr};function mn(l,y,T){const w=this;return K;function K(je){return l.enter("codeIndented"),(0,At.f)(l,j,"linePrefix",5)(je)}function j(je){const _e=w.events[w.events.length-1];return _e&&_e[1].type==="linePrefix"&&_e[2].sliceSerialize(_e[1],!0).length>=4?se(je):T(je)}function se(je){return je===null?Ye(je):(0,ye.Ch)(je)?l.attempt(he,se,Ye)(je):(l.enter("codeFlowValue"),ve(je))}function ve(je){return je===null||(0,ye.Ch)(je)?(l.exit("codeFlowValue"),se(je)):(l.consume(je),ve)}function Ye(je){return l.exit("codeIndented"),y(je)}}function lr(l,y,T){const w=this;return K;function K(se){return w.parser.lazy[w.now().line]?T(se):(0,ye.Ch)(se)?(l.enter("lineEnding"),l.consume(se),l.exit("lineEnding"),K):(0,At.f)(l,j,"linePrefix",5)(se)}function j(se){const ve=w.events[w.events.length-1];return ve&&ve[1].type==="linePrefix"&&ve[2].sliceSerialize(ve[1],!0).length>=4?y(se):(0,ye.Ch)(se)?K(se):T(se)}}const ur={name:"headingAtx",resolve:fr,tokenize:pr};function fr(l,y){let T=l.length-2,w=3,K,j;return l[w][1].type==="whitespace"&&(w+=2),T-2>w&&l[T][1].type==="whitespace"&&(T-=2),l[T][1].type==="atxHeadingSequence"&&(w===T-1||T-4>w&&l[T-2][1].type==="whitespace")&&(T-=w+1===T?2:4),T>w&&(K={type:"atxHeadingText",start:l[w][1].start,end:l[T][1].end},j={type:"chunkText",start:l[w][1].start,end:l[T][1].end,contentType:"text"},Pe(l,w,T-w+1,[["enter",K,y],["enter",j,y],["exit",j,y],["exit",K,y]])),l}function pr(l,y,T){let w=0;return K;function K(_e){return l.enter("atxHeading"),j(_e)}function j(_e){return l.enter("atxHeadingSequence"),se(_e)}function se(_e){return _e===35&&w++<6?(l.consume(_e),se):_e===null||(0,ye.z3)(_e)?(l.exit("atxHeadingSequence"),ve(_e)):T(_e)}function ve(_e){return _e===35?(l.enter("atxHeadingSequence"),Ye(_e)):_e===null||(0,ye.Ch)(_e)?(l.exit("atxHeading"),y(_e)):(0,ye.xz)(_e)?(0,At.f)(l,ve,"whitespace")(_e):(l.enter("atxHeadingText"),je(_e))}function Ye(_e){return _e===35?(l.consume(_e),Ye):(l.exit("atxHeadingSequence"),ve(_e))}function je(_e){return _e===null||_e===35||(0,ye.z3)(_e)?(l.exit("atxHeadingText"),ve(_e)):(l.consume(_e),je)}}const Zn={name:"setextUnderline",resolveTo:hr,tokenize:_r};function hr(l,y){let T=l.length,w,K,j;for(;T--;)if(l[T][0]==="enter"){if(l[T][1].type==="content"){w=T;break}l[T][1].type==="paragraph"&&(K=T)}else l[T][1].type==="content"&&l.splice(T,1),!j&&l[T][1].type==="definition"&&(j=T);const se={type:"setextHeading",start:yr({},l[w][1].start),end:yr({},l[l.length-1][1].end)};return l[K][1].type="setextHeadingText",j?(l.splice(K,0,["enter",se,y]),l.splice(j+1,0,["exit",l[w][1],y]),l[w][1].end=yr({},l[j][1].end)):l[w][1]=se,l.push(["exit",se,y]),l}function _r(l,y,T){const w=this;let K;return j;function j(je){let _e=w.events.length,ft;for(;_e--;)if(w.events[_e][1].type!=="lineEnding"&&w.events[_e][1].type!=="linePrefix"&&w.events[_e][1].type!=="content"){ft=w.events[_e][1].type==="paragraph";break}return!w.parser.lazy[w.now().line]&&(w.interrupt||ft)?(l.enter("setextHeadingLine"),K=je,se(je)):T(je)}function se(je){return l.enter("setextHeadingLineSequence"),ve(je)}function ve(je){return je===K?(l.consume(je),ve):(l.exit("setextHeadingLineSequence"),(0,ye.xz)(je)?(0,At.f)(l,Ye,"lineSuffix")(je):Ye(je))}function Ye(je){return je===null||(0,ye.Ch)(je)?(l.exit("setextHeadingLine"),y(je)):T(je)}}const kr=["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"],Rr=["pre","script","style","textarea"],zr={concrete:!0,name:"htmlFlow",resolveTo:Gr,tokenize:Wr},Br={partial:!0,tokenize:Rn},gr={partial:!0,tokenize:un};function Gr(l){let y=l.length;for(;y--&&!(l[y][0]==="enter"&&l[y][1].type==="htmlFlow"););return y>1&&l[y-2][1].type==="linePrefix"&&(l[y][1].start=l[y-2][1].start,l[y+1][1].start=l[y-2][1].start,l.splice(y-2,2)),l}function Wr(l,y,T){const w=this;let K,j,se,ve,Ye;return je;function je(qe){return _e(qe)}function _e(qe){return l.enter("htmlFlow"),l.enter("htmlFlowData"),l.consume(qe),ft}function ft(qe){return qe===33?(l.consume(qe),st):qe===47?(l.consume(qe),j=!0,xr):qe===63?(l.consume(qe),K=3,w.interrupt?y:Xe):(0,ye.jv)(qe)?(l.consume(qe),se=String.fromCharCode(qe),$r):T(qe)}function st(qe){return qe===45?(l.consume(qe),K=2,Ue):qe===91?(l.consume(qe),K=5,ve=0,Hn):(0,ye.jv)(qe)?(l.consume(qe),K=4,w.interrupt?y:Xe):T(qe)}function Ue(qe){return qe===45?(l.consume(qe),w.interrupt?y:Xe):T(qe)}function Hn(qe){const yi="CDATA[";return qe===yi.charCodeAt(ve++)?(l.consume(qe),ve===yi.length?w.interrupt?y:da:Hn):T(qe)}function xr(qe){return(0,ye.jv)(qe)?(l.consume(qe),se=String.fromCharCode(qe),$r):T(qe)}function $r(qe){if(qe===null||qe===47||qe===62||(0,ye.z3)(qe)){const yi=qe===47,Gi=se.toLowerCase();return!yi&&!j&&Rr.includes(Gi)?(K=1,w.interrupt?y(qe):da(qe)):kr.includes(se.toLowerCase())?(K=6,yi?(l.consume(qe),on):w.interrupt?y(qe):da(qe)):(K=7,w.interrupt&&!w.parser.lazy[w.now().line]?T(qe):j?wn(qe):Bn(qe))}return qe===45||(0,ye.H$)(qe)?(l.consume(qe),se+=String.fromCharCode(qe),$r):T(qe)}function on(qe){return qe===62?(l.consume(qe),w.interrupt?y:da):T(qe)}function wn(qe){return(0,ye.xz)(qe)?(l.consume(qe),wn):ga(qe)}function Bn(qe){return qe===47?(l.consume(qe),ga):qe===58||qe===95||(0,ye.jv)(qe)?(l.consume(qe),na):(0,ye.xz)(qe)?(l.consume(qe),Bn):ga(qe)}function na(qe){return qe===45||qe===46||qe===58||qe===95||(0,ye.H$)(qe)?(l.consume(qe),na):Jr(qe)}function Jr(qe){return qe===61?(l.consume(qe),qt):(0,ye.xz)(qe)?(l.consume(qe),Jr):Bn(qe)}function qt(qe){return qe===null||qe===60||qe===61||qe===62||qe===96?T(qe):qe===34||qe===39?(l.consume(qe),Ye=qe,ia):(0,ye.xz)(qe)?(l.consume(qe),qt):wa(qe)}function ia(qe){return qe===Ye?(l.consume(qe),Ye=null,ra):qe===null||(0,ye.Ch)(qe)?T(qe):(l.consume(qe),ia)}function wa(qe){return qe===null||qe===34||qe===39||qe===47||qe===60||qe===61||qe===62||qe===96||(0,ye.z3)(qe)?Jr(qe):(l.consume(qe),wa)}function ra(qe){return qe===47||qe===62||(0,ye.xz)(qe)?Bn(qe):T(qe)}function ga(qe){return qe===62?(l.consume(qe),Ya):T(qe)}function Ya(qe){return qe===null||(0,ye.Ch)(qe)?da(qe):(0,ye.xz)(qe)?(l.consume(qe),Ya):T(qe)}function da(qe){return qe===45&&K===2?(l.consume(qe),Sa):qe===60&&K===1?(l.consume(qe),Da):qe===62&&K===4?(l.consume(qe),ki):qe===63&&K===3?(l.consume(qe),Xe):qe===93&&K===5?(l.consume(qe),vi):(0,ye.Ch)(qe)&&(K===6||K===7)?(l.exit("htmlFlowData"),l.check(Br,zi,qn)(qe)):qe===null||(0,ye.Ch)(qe)?(l.exit("htmlFlowData"),qn(qe)):(l.consume(qe),da)}function qn(qe){return l.check(gr,tr,zi)(qe)}function tr(qe){return l.enter("lineEnding"),l.consume(qe),l.exit("lineEnding"),Fr}function Fr(qe){return qe===null||(0,ye.Ch)(qe)?qn(qe):(l.enter("htmlFlowData"),da(qe))}function Sa(qe){return qe===45?(l.consume(qe),Xe):da(qe)}function Da(qe){return qe===47?(l.consume(qe),se="",ti):da(qe)}function ti(qe){if(qe===62){const yi=se.toLowerCase();return Rr.includes(yi)?(l.consume(qe),ki):da(qe)}return(0,ye.jv)(qe)&&se.length<8?(l.consume(qe),se+=String.fromCharCode(qe),ti):da(qe)}function vi(qe){return qe===93?(l.consume(qe),Xe):da(qe)}function Xe(qe){return qe===62?(l.consume(qe),ki):qe===45&&K===2?(l.consume(qe),Xe):da(qe)}function ki(qe){return qe===null||(0,ye.Ch)(qe)?(l.exit("htmlFlowData"),zi(qe)):(l.consume(qe),ki)}function zi(qe){return l.exit("htmlFlow"),y(qe)}}function un(l,y,T){const w=this;return K;function K(se){return(0,ye.Ch)(se)?(l.enter("lineEnding"),l.consume(se),l.exit("lineEnding"),j):T(se)}function j(se){return w.parser.lazy[w.now().line]?T(se):y(se)}}function Rn(l,y,T){return w;function w(K){return l.enter("lineEnding"),l.consume(K),l.exit("lineEnding"),l.attempt(Ht,y,T)}}const Pn={partial:!0,tokenize:Pr},or={concrete:!0,name:"codeFenced",tokenize:mr};function mr(l,y,T){const w=this,K={partial:!0,tokenize:Jr};let j=0,se=0,ve;return Ye;function Ye(qt){return je(qt)}function je(qt){const ia=w.events[w.events.length-1];return j=ia&&ia[1].type==="linePrefix"?ia[2].sliceSerialize(ia[1],!0).length:0,ve=qt,l.enter("codeFenced"),l.enter("codeFencedFence"),l.enter("codeFencedFenceSequence"),_e(qt)}function _e(qt){return qt===ve?(se++,l.consume(qt),_e):se<3?T(qt):(l.exit("codeFencedFenceSequence"),(0,ye.xz)(qt)?(0,At.f)(l,ft,"whitespace")(qt):ft(qt))}function ft(qt){return qt===null||(0,ye.Ch)(qt)?(l.exit("codeFencedFence"),w.interrupt?y(qt):l.check(Pn,xr,na)(qt)):(l.enter("codeFencedFenceInfo"),l.enter("chunkString",{contentType:"string"}),st(qt))}function st(qt){return qt===null||(0,ye.Ch)(qt)?(l.exit("chunkString"),l.exit("codeFencedFenceInfo"),ft(qt)):(0,ye.xz)(qt)?(l.exit("chunkString"),l.exit("codeFencedFenceInfo"),(0,At.f)(l,Ue,"whitespace")(qt)):qt===96&&qt===ve?T(qt):(l.consume(qt),st)}function Ue(qt){return qt===null||(0,ye.Ch)(qt)?ft(qt):(l.enter("codeFencedFenceMeta"),l.enter("chunkString",{contentType:"string"}),Hn(qt))}function Hn(qt){return qt===null||(0,ye.Ch)(qt)?(l.exit("chunkString"),l.exit("codeFencedFenceMeta"),ft(qt)):qt===96&&qt===ve?T(qt):(l.consume(qt),Hn)}function xr(qt){return l.attempt(K,na,$r)(qt)}function $r(qt){return l.enter("lineEnding"),l.consume(qt),l.exit("lineEnding"),on}function on(qt){return j>0&&(0,ye.xz)(qt)?(0,At.f)(l,wn,"linePrefix",j+1)(qt):wn(qt)}function wn(qt){return qt===null||(0,ye.Ch)(qt)?l.check(Pn,xr,na)(qt):(l.enter("codeFlowValue"),Bn(qt))}function Bn(qt){return qt===null||(0,ye.Ch)(qt)?(l.exit("codeFlowValue"),wn(qt)):(l.consume(qt),Bn)}function na(qt){return l.exit("codeFenced"),y(qt)}function Jr(qt,ia,wa){let ra=0;return ga;function ga(Fr){return qt.enter("lineEnding"),qt.consume(Fr),qt.exit("lineEnding"),Ya}function Ya(Fr){return qt.enter("codeFencedFence"),(0,ye.xz)(Fr)?(0,At.f)(qt,da,"linePrefix",w.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Fr):da(Fr)}function da(Fr){return Fr===ve?(qt.enter("codeFencedFenceSequence"),qn(Fr)):wa(Fr)}function qn(Fr){return Fr===ve?(ra++,qt.consume(Fr),qn):ra>=se?(qt.exit("codeFencedFenceSequence"),(0,ye.xz)(Fr)?(0,At.f)(qt,tr,"whitespace")(Fr):tr(Fr)):wa(Fr)}function tr(Fr){return Fr===null||(0,ye.Ch)(Fr)?(qt.exit("codeFencedFence"),ia(Fr)):wa(Fr)}}}function Pr(l,y,T){const w=this;return K;function K(se){return se===null?T(se):(l.enter("lineEnding"),l.consume(se),l.exit("lineEnding"),j)}function j(se){return w.parser.lazy[w.now().line]?T(se):y(se)}}const sa=document.createElement("i");function Ee(l){const y="&"+l+";";sa.innerHTML=y;const T=sa.textContent;return T.charCodeAt(T.length-1)===59&&l!=="semi"||T===y?!1:T}const at={name:"characterReference",tokenize:We};function We(l,y,T){const w=this;let K=0,j,se;return ve;function ve(ft){return l.enter("characterReference"),l.enter("characterReferenceMarker"),l.consume(ft),l.exit("characterReferenceMarker"),Ye}function Ye(ft){return ft===35?(l.enter("characterReferenceMarkerNumeric"),l.consume(ft),l.exit("characterReferenceMarkerNumeric"),je):(l.enter("characterReferenceValue"),j=31,se=ye.H$,_e(ft))}function je(ft){return ft===88||ft===120?(l.enter("characterReferenceMarkerHexadecimal"),l.consume(ft),l.exit("characterReferenceMarkerHexadecimal"),l.enter("characterReferenceValue"),j=6,se=ye.AF,_e):(l.enter("characterReferenceValue"),j=7,se=ye.pY,_e(ft))}function _e(ft){if(ft===59&&K){const st=l.exit("characterReferenceValue");return se===ye.H$&&!Ee(w.sliceSerialize(st))?T(ft):(l.enter("characterReferenceMarker"),l.consume(ft),l.exit("characterReferenceMarker"),l.exit("characterReference"),y)}return se(ft)&&K++<j?(l.consume(ft),_e):T(ft)}}const it={name:"characterEscape",tokenize:mt};function mt(l,y,T){return w;function w(j){return l.enter("characterEscape"),l.enter("escapeMarker"),l.consume(j),l.exit("escapeMarker"),K}function K(j){return(0,ye.sR)(j)?(l.enter("characterEscapeValue"),l.consume(j),l.exit("characterEscapeValue"),l.exit("characterEscape"),y):T(j)}}const yt={name:"lineEnding",tokenize:Bt};function Bt(l,y){return T;function T(w){return l.enter("lineEnding"),l.consume(w),l.exit("lineEnding"),(0,At.f)(l,y,"linePrefix")}}function Ot(l,y,T){const w=[];let K=-1;for(;++K<l.length;){const j=l[K].resolveAll;j&&!w.includes(j)&&(y=j(y,T),w.push(j))}return y}const kt={name:"labelEnd",resolveAll:ht,resolveTo:xt,tokenize:Wt},Ve={tokenize:sn},pt={tokenize:rn},gt={tokenize:En};function ht(l){let y=-1;const T=[];for(;++y<l.length;){const w=l[y][1];if(T.push(l[y]),w.type==="labelImage"||w.type==="labelLink"||w.type==="labelEnd"){const K=w.type==="labelImage"?4:2;w.type="data",y+=K}}return l.length!==T.length&&Pe(l,0,l.length,T),l}function xt(l,y){let T=l.length,w=0,K,j,se,ve;for(;T--;)if(K=l[T][1],j){if(K.type==="link"||K.type==="labelLink"&&K._inactive)break;l[T][0]==="enter"&&K.type==="labelLink"&&(K._inactive=!0)}else if(se){if(l[T][0]==="enter"&&(K.type==="labelImage"||K.type==="labelLink")&&!K._balanced&&(j=T,K.type!=="labelLink")){w=2;break}}else K.type==="labelEnd"&&(se=T);const Ye={type:l[j][1].type==="labelLink"?"link":"image",start:yr({},l[j][1].start),end:yr({},l[l.length-1][1].end)},je={type:"label",start:yr({},l[j][1].start),end:yr({},l[se][1].end)},_e={type:"labelText",start:yr({},l[j+w+2][1].end),end:yr({},l[se-2][1].start)};return ve=[["enter",Ye,y],["enter",je,y]],ve=Qe(ve,l.slice(j+1,j+w+3)),ve=Qe(ve,[["enter",_e,y]]),ve=Qe(ve,Ot(y.parser.constructs.insideSpan.null,l.slice(j+w+4,se-3),y)),ve=Qe(ve,[["exit",_e,y],l[se-2],l[se-1],["exit",je,y]]),ve=Qe(ve,l.slice(se+1)),ve=Qe(ve,[["exit",Ye,y]]),Pe(l,j,l.length,ve),l}function Wt(l,y,T){const w=this;let K=w.events.length,j,se;for(;K--;)if((w.events[K][1].type==="labelImage"||w.events[K][1].type==="labelLink")&&!w.events[K][1]._balanced){j=w.events[K][1];break}return ve;function ve(st){return j?j._inactive?ft(st):(se=w.parser.defined.includes(Jt(w.sliceSerialize({start:j.end,end:w.now()}))),l.enter("labelEnd"),l.enter("labelMarker"),l.consume(st),l.exit("labelMarker"),l.exit("labelEnd"),Ye):T(st)}function Ye(st){return st===40?l.attempt(Ve,_e,se?_e:ft)(st):st===91?l.attempt(pt,_e,se?je:ft)(st):se?_e(st):ft(st)}function je(st){return l.attempt(gt,_e,ft)(st)}function _e(st){return y(st)}function ft(st){return j._balanced=!0,T(st)}}function sn(l,y,T){return w;function w(ft){return l.enter("resource"),l.enter("resourceMarker"),l.consume(ft),l.exit("resourceMarker"),K}function K(ft){return(0,ye.z3)(ft)?Yt(l,j)(ft):j(ft)}function j(ft){return ft===41?_e(ft):_t(l,se,ve,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(ft)}function se(ft){return(0,ye.z3)(ft)?Yt(l,Ye)(ft):_e(ft)}function ve(ft){return T(ft)}function Ye(ft){return ft===34||ft===39||ft===40?g(l,je,T,"resourceTitle","resourceTitleMarker","resourceTitleString")(ft):_e(ft)}function je(ft){return(0,ye.z3)(ft)?Yt(l,_e)(ft):_e(ft)}function _e(ft){return ft===41?(l.enter("resourceMarker"),l.consume(ft),l.exit("resourceMarker"),l.exit("resource"),y):T(ft)}}function rn(l,y,T){const w=this;return K;function K(ve){return Te.call(w,l,j,se,"reference","referenceMarker","referenceString")(ve)}function j(ve){return w.parser.defined.includes(Jt(w.sliceSerialize(w.events[w.events.length-1][1]).slice(1,-1)))?y(ve):T(ve)}function se(ve){return T(ve)}}function En(l,y,T){return w;function w(j){return l.enter("reference"),l.enter("referenceMarker"),l.consume(j),l.exit("referenceMarker"),K}function K(j){return j===93?(l.enter("referenceMarker"),l.consume(j),l.exit("referenceMarker"),l.exit("reference"),y):T(j)}}const Fn={name:"labelStartImage",resolveAll:kt.resolveAll,tokenize:vn};function vn(l,y,T){const w=this;return K;function K(ve){return l.enter("labelImage"),l.enter("labelImageMarker"),l.consume(ve),l.exit("labelImageMarker"),j}function j(ve){return ve===91?(l.enter("labelMarker"),l.consume(ve),l.exit("labelMarker"),l.exit("labelImage"),se):T(ve)}function se(ve){return ve===94&&"_hiddenFootnoteSupport"in w.parser.constructs?T(ve):y(ve)}}function jn(l){if(l===null||(0,ye.z3)(l)||(0,ye.B8)(l))return 1;if((0,ye.Xh)(l))return 2}const Sn={name:"attention",resolveAll:Er,tokenize:vr};function Er(l,y){let T=-1,w,K,j,se,ve,Ye,je,_e;for(;++T<l.length;)if(l[T][0]==="enter"&&l[T][1].type==="attentionSequence"&&l[T][1]._close){for(w=T;w--;)if(l[w][0]==="exit"&&l[w][1].type==="attentionSequence"&&l[w][1]._open&&y.sliceSerialize(l[w][1]).charCodeAt(0)===y.sliceSerialize(l[T][1]).charCodeAt(0)){if((l[w][1]._close||l[T][1]._open)&&(l[T][1].end.offset-l[T][1].start.offset)%3&&!((l[w][1].end.offset-l[w][1].start.offset+l[T][1].end.offset-l[T][1].start.offset)%3))continue;Ye=l[w][1].end.offset-l[w][1].start.offset>1&&l[T][1].end.offset-l[T][1].start.offset>1?2:1;const ft=yr({},l[w][1].end),st=yr({},l[T][1].start);br(ft,-Ye),br(st,Ye),se={type:Ye>1?"strongSequence":"emphasisSequence",start:ft,end:yr({},l[w][1].end)},ve={type:Ye>1?"strongSequence":"emphasisSequence",start:yr({},l[T][1].start),end:st},j={type:Ye>1?"strongText":"emphasisText",start:yr({},l[w][1].end),end:yr({},l[T][1].start)},K={type:Ye>1?"strong":"emphasis",start:yr({},se.start),end:yr({},ve.end)},l[w][1].end=yr({},se.start),l[T][1].start=yr({},ve.end),je=[],l[w][1].end.offset-l[w][1].start.offset&&(je=Qe(je,[["enter",l[w][1],y],["exit",l[w][1],y]])),je=Qe(je,[["enter",K,y],["enter",se,y],["exit",se,y],["enter",j,y]]),je=Qe(je,Ot(y.parser.constructs.insideSpan.null,l.slice(w+1,T),y)),je=Qe(je,[["exit",j,y],["enter",ve,y],["exit",ve,y],["exit",K,y]]),l[T][1].end.offset-l[T][1].start.offset?(_e=2,je=Qe(je,[["enter",l[T][1],y],["exit",l[T][1],y]])):_e=0,Pe(l,w-1,T-w+3,je),T=w+je.length-_e-2;break}}for(T=-1;++T<l.length;)l[T][1].type==="attentionSequence"&&(l[T][1].type="data");return l}function vr(l,y){const T=this.parser.constructs.attentionMarkers.null,w=this.previous,K=jn(w);let j;return se;function se(Ye){return j=Ye,l.enter("attentionSequence"),ve(Ye)}function ve(Ye){if(Ye===j)return l.consume(Ye),ve;const je=l.exit("attentionSequence"),_e=jn(Ye),ft=!_e||_e===2&&K||T.includes(Ye),st=!K||K===2&&_e||T.includes(w);return je._open=!!(j===42?ft:ft&&(K||!st)),je._close=!!(j===42?st:st&&(_e||!ft)),y(Ye)}}function br(l,y){l.column+=y,l.offset+=y,l._bufferIndex+=y}const Jn={name:"autolink",tokenize:cr};function cr(l,y,T){let w=0;return K;function K(Ue){return l.enter("autolink"),l.enter("autolinkMarker"),l.consume(Ue),l.exit("autolinkMarker"),l.enter("autolinkProtocol"),j}function j(Ue){return(0,ye.jv)(Ue)?(l.consume(Ue),se):Ue===64?T(Ue):je(Ue)}function se(Ue){return Ue===43||Ue===45||Ue===46||(0,ye.H$)(Ue)?(w=1,ve(Ue)):je(Ue)}function ve(Ue){return Ue===58?(l.consume(Ue),w=0,Ye):(Ue===43||Ue===45||Ue===46||(0,ye.H$)(Ue))&&w++<32?(l.consume(Ue),ve):(w=0,je(Ue))}function Ye(Ue){return Ue===62?(l.exit("autolinkProtocol"),l.enter("autolinkMarker"),l.consume(Ue),l.exit("autolinkMarker"),l.exit("autolink"),y):Ue===null||Ue===32||Ue===60||(0,ye.Av)(Ue)?T(Ue):(l.consume(Ue),Ye)}function je(Ue){return Ue===64?(l.consume(Ue),_e):(0,ye.n9)(Ue)?(l.consume(Ue),je):T(Ue)}function _e(Ue){return(0,ye.H$)(Ue)?ft(Ue):T(Ue)}function ft(Ue){return Ue===46?(l.consume(Ue),w=0,_e):Ue===62?(l.exit("autolinkProtocol").type="autolinkEmail",l.enter("autolinkMarker"),l.consume(Ue),l.exit("autolinkMarker"),l.exit("autolink"),y):st(Ue)}function st(Ue){if((Ue===45||(0,ye.H$)(Ue))&&w++<63){const Hn=Ue===45?st:ft;return l.consume(Ue),Hn}return T(Ue)}}const Sr={name:"htmlText",tokenize:nr};function nr(l,y,T){const w=this;let K,j,se;return ve;function ve(Xe){return l.enter("htmlText"),l.enter("htmlTextData"),l.consume(Xe),Ye}function Ye(Xe){return Xe===33?(l.consume(Xe),je):Xe===47?(l.consume(Xe),Jr):Xe===63?(l.consume(Xe),Bn):(0,ye.jv)(Xe)?(l.consume(Xe),wa):T(Xe)}function je(Xe){return Xe===45?(l.consume(Xe),_e):Xe===91?(l.consume(Xe),j=0,Hn):(0,ye.jv)(Xe)?(l.consume(Xe),wn):T(Xe)}function _e(Xe){return Xe===45?(l.consume(Xe),Ue):T(Xe)}function ft(Xe){return Xe===null?T(Xe):Xe===45?(l.consume(Xe),st):(0,ye.Ch)(Xe)?(se=ft,Da(Xe)):(l.consume(Xe),ft)}function st(Xe){return Xe===45?(l.consume(Xe),Ue):ft(Xe)}function Ue(Xe){return Xe===62?Sa(Xe):Xe===45?st(Xe):ft(Xe)}function Hn(Xe){const ki="CDATA[";return Xe===ki.charCodeAt(j++)?(l.consume(Xe),j===ki.length?xr:Hn):T(Xe)}function xr(Xe){return Xe===null?T(Xe):Xe===93?(l.consume(Xe),$r):(0,ye.Ch)(Xe)?(se=xr,Da(Xe)):(l.consume(Xe),xr)}function $r(Xe){return Xe===93?(l.consume(Xe),on):xr(Xe)}function on(Xe){return Xe===62?Sa(Xe):Xe===93?(l.consume(Xe),on):xr(Xe)}function wn(Xe){return Xe===null||Xe===62?Sa(Xe):(0,ye.Ch)(Xe)?(se=wn,Da(Xe)):(l.consume(Xe),wn)}function Bn(Xe){return Xe===null?T(Xe):Xe===63?(l.consume(Xe),na):(0,ye.Ch)(Xe)?(se=Bn,Da(Xe)):(l.consume(Xe),Bn)}function na(Xe){return Xe===62?Sa(Xe):Bn(Xe)}function Jr(Xe){return(0,ye.jv)(Xe)?(l.consume(Xe),qt):T(Xe)}function qt(Xe){return Xe===45||(0,ye.H$)(Xe)?(l.consume(Xe),qt):ia(Xe)}function ia(Xe){return(0,ye.Ch)(Xe)?(se=ia,Da(Xe)):(0,ye.xz)(Xe)?(l.consume(Xe),ia):Sa(Xe)}function wa(Xe){return Xe===45||(0,ye.H$)(Xe)?(l.consume(Xe),wa):Xe===47||Xe===62||(0,ye.z3)(Xe)?ra(Xe):T(Xe)}function ra(Xe){return Xe===47?(l.consume(Xe),Sa):Xe===58||Xe===95||(0,ye.jv)(Xe)?(l.consume(Xe),ga):(0,ye.Ch)(Xe)?(se=ra,Da(Xe)):(0,ye.xz)(Xe)?(l.consume(Xe),ra):Sa(Xe)}function ga(Xe){return Xe===45||Xe===46||Xe===58||Xe===95||(0,ye.H$)(Xe)?(l.consume(Xe),ga):Ya(Xe)}function Ya(Xe){return Xe===61?(l.consume(Xe),da):(0,ye.Ch)(Xe)?(se=Ya,Da(Xe)):(0,ye.xz)(Xe)?(l.consume(Xe),Ya):ra(Xe)}function da(Xe){return Xe===null||Xe===60||Xe===61||Xe===62||Xe===96?T(Xe):Xe===34||Xe===39?(l.consume(Xe),K=Xe,qn):(0,ye.Ch)(Xe)?(se=da,Da(Xe)):(0,ye.xz)(Xe)?(l.consume(Xe),da):(l.consume(Xe),tr)}function qn(Xe){return Xe===K?(l.consume(Xe),K=void 0,Fr):Xe===null?T(Xe):(0,ye.Ch)(Xe)?(se=qn,Da(Xe)):(l.consume(Xe),qn)}function tr(Xe){return Xe===null||Xe===34||Xe===39||Xe===60||Xe===61||Xe===96?T(Xe):Xe===47||Xe===62||(0,ye.z3)(Xe)?ra(Xe):(l.consume(Xe),tr)}function Fr(Xe){return Xe===47||Xe===62||(0,ye.z3)(Xe)?ra(Xe):T(Xe)}function Sa(Xe){return Xe===62?(l.consume(Xe),l.exit("htmlTextData"),l.exit("htmlText"),y):T(Xe)}function Da(Xe){return l.exit("htmlTextData"),l.enter("lineEnding"),l.consume(Xe),l.exit("lineEnding"),ti}function ti(Xe){return(0,ye.xz)(Xe)?(0,At.f)(l,vi,"linePrefix",w.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Xe):vi(Xe)}function vi(Xe){return l.enter("htmlTextData"),se(Xe)}}const sr={name:"labelStartLink",resolveAll:kt.resolveAll,tokenize:_n};function _n(l,y,T){const w=this;return K;function K(se){return l.enter("labelLink"),l.enter("labelMarker"),l.consume(se),l.exit("labelMarker"),l.exit("labelLink"),j}function j(se){return se===94&&"_hiddenFootnoteSupport"in w.parser.constructs?T(se):y(se)}}const fn={name:"hardBreakEscape",tokenize:kn};function kn(l,y,T){return w;function w(j){return l.enter("hardBreakEscape"),l.consume(j),K}function K(j){return(0,ye.Ch)(j)?(l.exit("hardBreakEscape"),y(j)):T(j)}}const Wn={name:"codeText",previous:Ce,resolve:er,tokenize:dr};function er(l){let y=l.length-4,T=3,w,K;if((l[T][1].type==="lineEnding"||l[T][1].type==="space")&&(l[y][1].type==="lineEnding"||l[y][1].type==="space")){for(w=T;++w<y;)if(l[w][1].type==="codeTextData"){l[T][1].type="codeTextPadding",l[y][1].type="codeTextPadding",T+=2,y-=2;break}}for(w=T-1,y++;++w<=y;)K===void 0?w!==y&&l[w][1].type!=="lineEnding"&&(K=w):(w===y||l[w][1].type==="lineEnding")&&(l[K][1].type="codeTextData",w!==K+2&&(l[K][1].end=l[w-1][1].end,l.splice(K+2,w-K-2),y-=w-K-2,w=K+2),K=void 0);return l}function Ce(l){return l!==96||this.events[this.events.length-1][1].type==="characterEscape"}function dr(l,y,T){const w=this;let K=0,j,se;return ve;function ve(st){return l.enter("codeText"),l.enter("codeTextSequence"),Ye(st)}function Ye(st){return st===96?(l.consume(st),K++,Ye):(l.exit("codeTextSequence"),je(st))}function je(st){return st===null?T(st):st===32?(l.enter("space"),l.consume(st),l.exit("space"),je):st===96?(se=l.enter("codeTextSequence"),j=0,ft(st)):(0,ye.Ch)(st)?(l.enter("lineEnding"),l.consume(st),l.exit("lineEnding"),je):(l.enter("codeTextData"),_e(st))}function _e(st){return st===null||st===32||st===96||(0,ye.Ch)(st)?(l.exit("codeTextData"),je(st)):(l.consume(st),_e)}function ft(st){return st===96?(l.consume(st),j++,ft):j===K?(l.exit("codeTextSequence"),l.exit("codeText"),y(st)):(se.type="codeTextData",_e(st))}}const Vr={42:Mn,43:Mn,45:Mn,48:Mn,49:Mn,50:Mn,51:Mn,52:Mn,53:Mn,54:Mn,55:Mn,56:Mn,57:Mn,62:Pt},Ia={91:ze},Ra={[-2]:nn,[-1]:nn,32:nn},hi={35:ur,42:Kn,45:[Zn,Kn],60:zr,61:Zn,95:Kn,96:or,126:or},Pa={38:at,92:it},qr={[-5]:yt,[-4]:yt,[-3]:yt,33:Fn,38:at,42:Sn,60:[Jn,Sr],91:sr,92:[fn,it],93:kt,95:Sn,96:Wn},Kr={null:[Sn,ln]},jr={null:[42,95]},Ta={null:[]};function Xr(l,y,T){let w={_bufferIndex:-1,_index:0,line:T&&T.line||1,column:T&&T.column||1,offset:T&&T.offset||0};const K={},j=[];let se=[],ve=[],Ye=!0;const je={attempt:ra(ia),check:ra(wa),consume:na,enter:Jr,exit:qt,interrupt:ra(wa,{interrupt:!0})},_e={code:null,containerState:{},defineSkip:on,events:[],now:$r,parser:l,previous:null,sliceSerialize:Hn,sliceStream:xr,write:Ue};let ft=y.tokenize.call(_e,je),st;return y.resolveAll&&j.push(y),_e;function Ue(qn){return se=Qe(se,qn),wn(),se[se.length-1]!==null?[]:(ga(y,0),_e.events=Ot(j,_e.events,_e),_e.events)}function Hn(qn,tr){return ta(xr(qn),tr)}function xr(qn){return ea(se,qn)}function $r(){const{_bufferIndex:qn,_index:tr,line:Fr,column:Sa,offset:Da}=w;return{_bufferIndex:qn,_index:tr,line:Fr,column:Sa,offset:Da}}function on(qn){K[qn.line]=qn.column,da()}function wn(){let qn;for(;w._index<se.length;){const tr=se[w._index];if(typeof tr=="string")for(qn=w._index,w._bufferIndex<0&&(w._bufferIndex=0);w._index===qn&&w._bufferIndex<tr.length;)Bn(tr.charCodeAt(w._bufferIndex));else Bn(tr)}}function Bn(qn){Ye=void 0,st=qn,ft=ft(qn)}function na(qn){(0,ye.Ch)(qn)?(w.line++,w.column=1,w.offset+=qn===-3?2:1,da()):qn!==-1&&(w.column++,w.offset++),w._bufferIndex<0?w._index++:(w._bufferIndex++,w._bufferIndex===se[w._index].length&&(w._bufferIndex=-1,w._index++)),_e.previous=qn,Ye=!0}function Jr(qn,tr){const Fr=tr||{};return Fr.type=qn,Fr.start=$r(),_e.events.push(["enter",Fr,_e]),ve.push(Fr),Fr}function qt(qn){const tr=ve.pop();return tr.end=$r(),_e.events.push(["exit",tr,_e]),tr}function ia(qn,tr){ga(qn,tr.from)}function wa(qn,tr){tr.restore()}function ra(qn,tr){return Fr;function Fr(Sa,Da,ti){let vi,Xe,ki,zi;return Array.isArray(Sa)?yi(Sa):"tokenize"in Sa?yi([Sa]):qe(Sa);function qe(Ga){return _i;function _i(ni){const Xi=ni!==null&&Ga[ni],Qi=ni!==null&&Ga.null,$o=[...Array.isArray(Xi)?Xi:Xi?[Xi]:[],...Array.isArray(Qi)?Qi:Qi?[Qi]:[]];return yi($o)(ni)}}function yi(Ga){return vi=Ga,Xe=0,Ga.length===0?ti:Gi(Ga[Xe])}function Gi(Ga){return _i;function _i(ni){return zi=Ya(),ki=Ga,Ga.partial||(_e.currentConstruct=Ga),Ga.name&&_e.parser.constructs.disable.null.includes(Ga.name)?Zo(ni):Ga.tokenize.call(tr?Object.assign(Object.create(_e),tr):_e,je,Fo,Zo)(ni)}}function Fo(Ga){return Ye=!0,qn(ki,zi),Da}function Zo(Ga){return Ye=!0,zi.restore(),++Xe<vi.length?Gi(vi[Xe]):ti}}}function ga(qn,tr){qn.resolveAll&&!j.includes(qn)&&j.push(qn),qn.resolve&&Pe(_e.events,tr,_e.events.length-tr,qn.resolve(_e.events.slice(tr),_e)),qn.resolveTo&&(_e.events=qn.resolveTo(_e.events,_e))}function Ya(){const qn=$r(),tr=_e.previous,Fr=_e.currentConstruct,Sa=_e.events.length,Da=Array.from(ve);return{from:Sa,restore:ti};function ti(){w=qn,_e.previous=tr,_e.currentConstruct=Fr,_e.events.length=Sa,ve=Da,da()}}function da(){w.line in K&&w.column<2&&(w.column=K[w.line],w.offset+=K[w.line]-1)}}function ea(l,y){const T=y.start._index,w=y.start._bufferIndex,K=y.end._index,j=y.end._bufferIndex;let se;if(T===K)se=[l[T].slice(w,j)];else{if(se=l.slice(T,K),w>-1){const ve=se[0];typeof ve=="string"?se[0]=ve.slice(w):se.shift()}j>0&&se.push(l[K].slice(0,j))}return se}function ta(l,y){let T=-1;const w=[];let K;for(;++T<l.length;){const j=l[T];let se;if(typeof j=="string")se=j;else switch(j){case-5:{se="\r";break}case-4:{se=`
`;break}case-3:{se=`\r
`;break}case-2:{se=y?" ":" ";break}case-1:{if(!y&&K)continue;se=" ";break}default:se=String.fromCharCode(j)}K=j===-2,w.push(se)}return w.join("")}function Tn(l){const w={constructs:et([u,...(l||{}).extensions||[]]),content:K(Gt),defined:[],document:K(Xt),flow:K(An),lazy:{},string:K(Lr),text:K(Ln)};return w;function K(j){return se;function se(ve){return Xr(w,j,ve)}}}const Gn=/[\0\t\n\r]/g;function $n(){let l=1,y="",T=!0,w;return K;function K(j,se,ve){const Ye=[];let je,_e,ft,st,Ue;for(j=y+(typeof j=="string"?j.toString():new TextDecoder(se||void 0).decode(j)),ft=0,y="",T&&(j.charCodeAt(0)===65279&&ft++,T=void 0);ft<j.length;){if(Gn.lastIndex=ft,je=Gn.exec(j),st=je&&je.index!==void 0?je.index:j.length,Ue=j.charCodeAt(st),!je){y=j.slice(ft);break}if(Ue===10&&ft===st&&w)Ye.push(-3),w=void 0;else switch(w&&(Ye.push(-5),w=void 0),ft<st&&(Ye.push(j.slice(ft,st)),l+=st-ft),Ue){case 0:{Ye.push(65533),l++;break}case 9:{for(_e=Math.ceil(l/4)*4,Ye.push(-2);l++<_e;)Ye.push(-1);break}case 10:{Ye.push(-4),l=1;break}default:w=!0,l=1}ft=st+1}return ve&&(w&&Ye.push(-5),y&&Ye.push(y),Ye.push(null)),Ye}}function Un(l,y){const T=Number.parseInt(l,y);return T<9||T===11||T>13&&T<32||T>126&&T<160||T>55295&&T<57344||T>64975&&T<65008||(T&65535)===65535||(T&65535)===65534||T>1114111?"\uFFFD":String.fromCodePoint(T)}const Nr=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Zr(l){return l.replace(Nr,Aa)}function Aa(l,y,T){if(y)return y;if(T.charCodeAt(0)===35){const K=T.charCodeAt(1),j=K===120||K===88;return Un(T.slice(j?2:1),j?16:10)}return Ee(T)||l}const la={}.hasOwnProperty;function ua(l,y,T){return typeof y!="string"&&(T=y,y=void 0),Qn(T)(rt(Tn(T).document().write($n()(l,y,!0))))}function Qn(l){const y={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:j(S),autolinkProtocol:ra,autolinkEmail:ra,atxHeading:j(qo),blockQuote:j(ni),characterEscape:ra,characterReference:ra,codeFenced:j(Xi),codeFencedFenceInfo:se,codeFencedFenceMeta:se,codeIndented:j(Xi,se),codeText:j(Qi,se),codeTextData:ra,data:ra,codeFlowValue:ra,definition:j($o),definitionDestinationString:se,definitionLabelString:se,definitionTitleString:se,emphasis:j(mo),hardBreakEscape:j(is),hardBreakTrailing:j(is),htmlFlow:j(n,se),htmlFlowData:ra,htmlText:j(n,se),htmlTextData:ra,image:j(a),label:se,link:j(S),listItem:j(Ze),listItemValue:st,listOrdered:j(ae,ft),listUnordered:j(ae),paragraph:j(Ct),reference:qe,referenceString:se,resourceDestinationString:se,resourceTitleString:se,setextHeading:j(qo),strong:j(zt),thematicBreak:j(Xn)},exit:{atxHeading:Ye(),atxHeadingSequence:Jr,autolink:Ye(),autolinkEmail:_i,autolinkProtocol:Ga,blockQuote:Ye(),characterEscapeValue:ga,characterReferenceMarkerHexadecimal:Gi,characterReferenceMarkerNumeric:Gi,characterReferenceValue:Fo,characterReference:Zo,codeFenced:Ye($r),codeFencedFence:xr,codeFencedFenceInfo:Ue,codeFencedFenceMeta:Hn,codeFlowValue:ga,codeIndented:Ye(on),codeText:Ye(Fr),codeTextData:ga,data:ga,definition:Ye(),definitionDestinationString:na,definitionLabelString:wn,definitionTitleString:Bn,emphasis:Ye(),hardBreakEscape:Ye(da),hardBreakTrailing:Ye(da),htmlFlow:Ye(qn),htmlFlowData:ga,htmlText:Ye(tr),htmlTextData:ga,image:Ye(Da),label:vi,labelText:ti,lineEnding:Ya,link:Ye(Sa),listItem:Ye(),listOrdered:Ye(),listUnordered:Ye(),paragraph:Ye(),referenceString:yi,resourceDestinationString:Xe,resourceTitleString:ki,resource:zi,setextHeading:Ye(wa),setextHeadingLineSequence:ia,setextHeadingText:qt,strong:Ye(),thematicBreak:Ye()}};za(y,(l||{}).mdastExtensions||[]);const T={};return w;function w(Nt){let an={type:"root",children:[]};const ar={stack:[an],tokenStack:[],config:y,enter:ve,exit:je,buffer:se,resume:_e,data:T},Yr=[];let oa=-1;for(;++oa<Nt.length;)if(Nt[oa][1].type==="listOrdered"||Nt[oa][1].type==="listUnordered")if(Nt[oa][0]==="enter")Yr.push(oa);else{const Wi=Yr.pop();oa=K(Nt,Wi,oa)}for(oa=-1;++oa<Nt.length;){const Wi=y[Nt[oa][0]];la.call(Wi,Nt[oa][1].type)&&Wi[Nt[oa][1].type].call(Object.assign({sliceSerialize:Nt[oa][2].sliceSerialize},ar),Nt[oa][1])}if(ar.tokenStack.length>0){const Wi=ar.tokenStack[ar.tokenStack.length-1];(Wi[1]||Fa).call(ar,void 0,Wi[0])}for(an.position={start:Dr(Nt.length>0?Nt[0][1].start:{line:1,column:1,offset:0}),end:Dr(Nt.length>0?Nt[Nt.length-2][1].end:{line:1,column:1,offset:0})},oa=-1;++oa<y.transforms.length;)an=y.transforms[oa](an)||an;return an}function K(Nt,an,ar){let Yr=an-1,oa=-1,Wi=!1,qi,bo,uo,Vo;for(;++Yr<=ar;){const wi=Nt[Yr];switch(wi[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{wi[0]==="enter"?oa++:oa--,Vo=void 0;break}case"lineEndingBlank":{wi[0]==="enter"&&(qi&&!Vo&&!oa&&!uo&&(uo=Yr),Vo=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Vo=void 0}if(!oa&&wi[0]==="enter"&&wi[1].type==="listItemPrefix"||oa===-1&&wi[0]==="exit"&&(wi[1].type==="listUnordered"||wi[1].type==="listOrdered")){if(qi){let Bo=Yr;for(bo=void 0;Bo--;){const Di=Nt[Bo];if(Di[1].type==="lineEnding"||Di[1].type==="lineEndingBlank"){if(Di[0]==="exit")continue;bo&&(Nt[bo][1].type="lineEndingBlank",Wi=!0),Di[1].type="lineEnding",bo=Bo}else if(!(Di[1].type==="linePrefix"||Di[1].type==="blockQuotePrefix"||Di[1].type==="blockQuotePrefixWhitespace"||Di[1].type==="blockQuoteMarker"||Di[1].type==="listItemIndent"))break}uo&&(!bo||uo<bo)&&(qi._spread=!0),qi.end=Object.assign({},bo?Nt[bo][1].start:wi[1].end),Nt.splice(bo||Yr,0,["exit",qi,wi[2]]),Yr++,ar++}if(wi[1].type==="listItemPrefix"){const Bo={type:"listItem",_spread:!1,start:Object.assign({},wi[1].start),end:void 0};qi=Bo,Nt.splice(Yr,0,["enter",Bo,wi[2]]),Yr++,ar++,uo=void 0,Vo=!0}}}return Nt[an][1]._spread=Wi,ar}function j(Nt,an){return ar;function ar(Yr){ve.call(this,Nt(Yr),Yr),an&&an.call(this,Yr)}}function se(){this.stack.push({type:"fragment",children:[]})}function ve(Nt,an,ar){this.stack[this.stack.length-1].children.push(Nt),this.stack.push(Nt),this.tokenStack.push([an,ar||void 0]),Nt.position={start:Dr(an.start),end:void 0}}function Ye(Nt){return an;function an(ar){Nt&&Nt.call(this,ar),je.call(this,ar)}}function je(Nt,an){const ar=this.stack.pop(),Yr=this.tokenStack.pop();if(Yr)Yr[0].type!==Nt.type&&(an?an.call(this,Nt,Yr[0]):(Yr[1]||Fa).call(this,Nt,Yr[0]));else throw new Error("Cannot close `"+Nt.type+"` ("+B({start:Nt.start,end:Nt.end})+"): it\u2019s not open");ar.position.end=Dr(Nt.end)}function _e(){return ot(this.stack.pop())}function ft(){this.data.expectingFirstListItemValue=!0}function st(Nt){if(this.data.expectingFirstListItemValue){const an=this.stack[this.stack.length-2];an.start=Number.parseInt(this.sliceSerialize(Nt),10),this.data.expectingFirstListItemValue=void 0}}function Ue(){const Nt=this.resume(),an=this.stack[this.stack.length-1];an.lang=Nt}function Hn(){const Nt=this.resume(),an=this.stack[this.stack.length-1];an.meta=Nt}function xr(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function $r(){const Nt=this.resume(),an=this.stack[this.stack.length-1];an.value=Nt.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function on(){const Nt=this.resume(),an=this.stack[this.stack.length-1];an.value=Nt.replace(/(\r?\n|\r)$/g,"")}function wn(Nt){const an=this.resume(),ar=this.stack[this.stack.length-1];ar.label=an,ar.identifier=Jt(this.sliceSerialize(Nt)).toLowerCase()}function Bn(){const Nt=this.resume(),an=this.stack[this.stack.length-1];an.title=Nt}function na(){const Nt=this.resume(),an=this.stack[this.stack.length-1];an.url=Nt}function Jr(Nt){const an=this.stack[this.stack.length-1];if(!an.depth){const ar=this.sliceSerialize(Nt).length;an.depth=ar}}function qt(){this.data.setextHeadingSlurpLineEnding=!0}function ia(Nt){const an=this.stack[this.stack.length-1];an.depth=this.sliceSerialize(Nt).codePointAt(0)===61?1:2}function wa(){this.data.setextHeadingSlurpLineEnding=void 0}function ra(Nt){const ar=this.stack[this.stack.length-1].children;let Yr=ar[ar.length-1];(!Yr||Yr.type!=="text")&&(Yr=Nn(),Yr.position={start:Dr(Nt.start),end:void 0},ar.push(Yr)),this.stack.push(Yr)}function ga(Nt){const an=this.stack.pop();an.value+=this.sliceSerialize(Nt),an.position.end=Dr(Nt.end)}function Ya(Nt){const an=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ar=an.children[an.children.length-1];ar.position.end=Dr(Nt.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&y.canContainEols.includes(an.type)&&(ra.call(this,Nt),ga.call(this,Nt))}function da(){this.data.atHardBreak=!0}function qn(){const Nt=this.resume(),an=this.stack[this.stack.length-1];an.value=Nt}function tr(){const Nt=this.resume(),an=this.stack[this.stack.length-1];an.value=Nt}function Fr(){const Nt=this.resume(),an=this.stack[this.stack.length-1];an.value=Nt}function Sa(){const Nt=this.stack[this.stack.length-1];if(this.data.inReference){const an=this.data.referenceType||"shortcut";Nt.type+="Reference",Nt.referenceType=an,delete Nt.url,delete Nt.title}else delete Nt.identifier,delete Nt.label;this.data.referenceType=void 0}function Da(){const Nt=this.stack[this.stack.length-1];if(this.data.inReference){const an=this.data.referenceType||"shortcut";Nt.type+="Reference",Nt.referenceType=an,delete Nt.url,delete Nt.title}else delete Nt.identifier,delete Nt.label;this.data.referenceType=void 0}function ti(Nt){const an=this.sliceSerialize(Nt),ar=this.stack[this.stack.length-2];ar.label=Zr(an),ar.identifier=Jt(an).toLowerCase()}function vi(){const Nt=this.stack[this.stack.length-1],an=this.resume(),ar=this.stack[this.stack.length-1];if(this.data.inReference=!0,ar.type==="link"){const Yr=Nt.children;ar.children=Yr}else ar.alt=an}function Xe(){const Nt=this.resume(),an=this.stack[this.stack.length-1];an.url=Nt}function ki(){const Nt=this.resume(),an=this.stack[this.stack.length-1];an.title=Nt}function zi(){this.data.inReference=void 0}function qe(){this.data.referenceType="collapsed"}function yi(Nt){const an=this.resume(),ar=this.stack[this.stack.length-1];ar.label=an,ar.identifier=Jt(this.sliceSerialize(Nt)).toLowerCase(),this.data.referenceType="full"}function Gi(Nt){this.data.characterReferenceType=Nt.type}function Fo(Nt){const an=this.sliceSerialize(Nt),ar=this.data.characterReferenceType;let Yr;ar?(Yr=Un(an,ar==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Yr=Ee(an);const oa=this.stack[this.stack.length-1];oa.value+=Yr}function Zo(Nt){const an=this.stack.pop();an.position.end=Dr(Nt.end)}function Ga(Nt){ga.call(this,Nt);const an=this.stack[this.stack.length-1];an.url=this.sliceSerialize(Nt)}function _i(Nt){ga.call(this,Nt);const an=this.stack[this.stack.length-1];an.url="mailto:"+this.sliceSerialize(Nt)}function ni(){return{type:"blockquote",children:[]}}function Xi(){return{type:"code",lang:null,meta:null,value:""}}function Qi(){return{type:"inlineCode",value:""}}function $o(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function mo(){return{type:"emphasis",children:[]}}function qo(){return{type:"heading",depth:0,children:[]}}function is(){return{type:"break"}}function n(){return{type:"html",value:""}}function a(){return{type:"image",title:null,url:"",alt:null}}function S(){return{type:"link",title:null,url:"",children:[]}}function ae(Nt){return{type:"list",ordered:Nt.type==="listOrdered",start:null,spread:Nt._spread,children:[]}}function Ze(Nt){return{type:"listItem",spread:Nt._spread,checked:null,children:[]}}function Ct(){return{type:"paragraph",children:[]}}function zt(){return{type:"strong",children:[]}}function Nn(){return{type:"text",value:""}}function Xn(){return{type:"thematicBreak"}}}function Dr(l){return{line:l.line,column:l.column,offset:l.offset}}function za(l,y){let T=-1;for(;++T<y.length;){const w=y[T];Array.isArray(w)?za(l,w):Ur(l,w)}}function Ur(l,y){let T;for(T in y)if(la.call(y,T))switch(T){case"canContainEols":{const w=y[T];w&&l[T].push(...w);break}case"transforms":{const w=y[T];w&&l[T].push(...w);break}case"enter":case"exit":{const w=y[T];w&&Object.assign(l[T],w);break}}}function Fa(l,y){throw l?new Error("Cannot close `"+l.type+"` ("+B({start:l.start,end:l.end})+"): a different token (`"+y.type+"`, "+B({start:y.start,end:y.end})+") is open"):new Error("Cannot close document, a token (`"+y.type+"`, "+B({start:y.start,end:y.end})+") is still open")}function $a(l){const y=this;y.parser=T;function T(w){return ua(w,ts(yr(yr({},y.data("settings")),l),{extensions:y.data("micromarkExtensions")||[],mdastExtensions:y.data("fromMarkdownExtensions")||[]}))}}var Ba=r(90302);function aa(l,y){const T=encode(Si(l||""));if(!y)return T;const w=T.indexOf(":"),K=T.indexOf("?"),j=T.indexOf("#"),se=T.indexOf("/");return w<0||se>-1&&w>se||K>-1&&w>K||j>-1&&w>j||y.test(T.slice(0,w))?T:""}function Si(l){const y=[];let T=-1,w=0,K=0;for(;++T<l.length;){const j=l.charCodeAt(T);let se="";if(j===37&&(0,ye.H$)(l.charCodeAt(T+1))&&(0,ye.H$)(l.charCodeAt(T+2)))K=2;else if(j<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(j))||(se=String.fromCharCode(j));else if(j>55295&&j<57344){const ve=l.charCodeAt(T+1);j<56320&&ve>56319&&ve<57344?(se=String.fromCharCode(j,ve),K=1):se="\uFFFD"}else se=String.fromCharCode(j);se&&(y.push(l.slice(w,T),encodeURIComponent(se)),w=T+K+1,se=""),K&&(T+=K,K=0)}return y.join("")+l.slice(w)}function co(l,y){const T=[{type:"text",value:"\u21A9"}];return y>1&&T.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(y)}]}),T}function Va(l,y){return"Back to reference "+(l+1)+(y>1?"-"+y:"")}function ii(l){const y=typeof l.options.clobberPrefix=="string"?l.options.clobberPrefix:"user-content-",T=l.options.footnoteBackContent||co,w=l.options.footnoteBackLabel||Va,K=l.options.footnoteLabel||"Footnotes",j=l.options.footnoteLabelTagName||"h2",se=l.options.footnoteLabelProperties||{className:["sr-only"]},ve=[];let Ye=-1;for(;++Ye<l.footnoteOrder.length;){const je=l.footnoteById.get(l.footnoteOrder[Ye]);if(!je)continue;const _e=l.all(je),ft=String(je.identifier).toUpperCase(),st=Si(ft.toLowerCase());let Ue=0;const Hn=[],xr=l.footnoteCounts.get(ft);for(;xr!==void 0&&++Ue<=xr;){Hn.length>0&&Hn.push({type:"text",value:" "});let wn=typeof T=="string"?T:T(Ye,Ue);typeof wn=="string"&&(wn={type:"text",value:wn}),Hn.push({type:"element",tagName:"a",properties:{href:"#"+y+"fnref-"+st+(Ue>1?"-"+Ue:""),dataFootnoteBackref:"",ariaLabel:typeof w=="string"?w:w(Ye,Ue),className:["data-footnote-backref"]},children:Array.isArray(wn)?wn:[wn]})}const $r=_e[_e.length-1];if($r&&$r.type==="element"&&$r.tagName==="p"){const wn=$r.children[$r.children.length-1];wn&&wn.type==="text"?wn.value+=" ":$r.children.push({type:"text",value:" "}),$r.children.push(...Hn)}else _e.push(...Hn);const on={type:"element",tagName:"li",properties:{id:y+"fn-"+st},children:l.wrap(_e,!0)};l.patch(je,on),ve.push(on)}if(ve.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:j,properties:ts(yr({},(0,Ba.ZP)(se)),{id:"footnote-label"}),children:[{type:"text",value:K}]},{type:"text",value:`
`},{type:"element",tagName:"ol",properties:{},children:l.wrap(ve,!0)},{type:"text",value:`
`}]}}var Ka=r(10528);function Ui(l,y){const T={type:"element",tagName:"blockquote",properties:{},children:l.wrap(l.all(y),!0)};return l.patch(y,T),l.applyData(y,T)}function yo(l,y){const T={type:"element",tagName:"br",properties:{},children:[]};return l.patch(y,T),[l.applyData(y,T),{type:"text",value:`
`}]}function Eo(l,y){const T=y.value?y.value+`
`:"",w={};y.lang&&(w.className=["language-"+y.lang]);let K={type:"element",tagName:"code",properties:w,children:[{type:"text",value:T}]};return y.meta&&(K.data={meta:y.meta}),l.patch(y,K),K=l.applyData(y,K),K={type:"element",tagName:"pre",properties:{},children:[K]},l.patch(y,K),K}function So(l,y){const T={type:"element",tagName:"del",properties:{},children:l.all(y)};return l.patch(y,T),l.applyData(y,T)}function Ji(l,y){const T={type:"element",tagName:"em",properties:{},children:l.all(y)};return l.patch(y,T),l.applyData(y,T)}function fo(l,y){const T=typeof l.options.clobberPrefix=="string"?l.options.clobberPrefix:"user-content-",w=String(y.identifier).toUpperCase(),K=Si(w.toLowerCase()),j=l.footnoteOrder.indexOf(w);let se,ve=l.footnoteCounts.get(w);ve===void 0?(ve=0,l.footnoteOrder.push(w),se=l.footnoteOrder.length):se=j+1,ve+=1,l.footnoteCounts.set(w,ve);const Ye={type:"element",tagName:"a",properties:{href:"#"+T+"fn-"+K,id:T+"fnref-"+K+(ve>1?"-"+ve:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(se)}]};l.patch(y,Ye);const je={type:"element",tagName:"sup",properties:{},children:[Ye]};return l.patch(y,je),l.applyData(y,je)}function eo(l,y){const T={type:"element",tagName:"h"+y.depth,properties:{},children:l.all(y)};return l.patch(y,T),l.applyData(y,T)}function $i(l,y){if(l.options.allowDangerousHtml){const T={type:"raw",value:y.value};return l.patch(y,T),l.applyData(y,T)}}function to(l,y){const T=y.referenceType;let w="]";if(T==="collapsed"?w+="[]":T==="full"&&(w+="["+(y.label||y.identifier)+"]"),y.type==="imageReference")return[{type:"text",value:"!["+y.alt+w}];const K=l.all(y),j=K[0];j&&j.type==="text"?j.value="["+j.value:K.unshift({type:"text",value:"["});const se=K[K.length-1];return se&&se.type==="text"?se.value+=w:K.push({type:"text",value:w}),K}function To(l,y){const T=String(y.identifier).toUpperCase(),w=l.definitionById.get(T);if(!w)return to(l,y);const K={src:Si(w.url||""),alt:y.alt};w.title!==null&&w.title!==void 0&&(K.title=w.title);const j={type:"element",tagName:"img",properties:K,children:[]};return l.patch(y,j),l.applyData(y,j)}function no(l,y){const T={src:Si(y.url)};y.alt!==null&&y.alt!==void 0&&(T.alt=y.alt),y.title!==null&&y.title!==void 0&&(T.title=y.title);const w={type:"element",tagName:"img",properties:T,children:[]};return l.patch(y,w),l.applyData(y,w)}function Vi(l,y){const T={type:"text",value:y.value.replace(/\r?\n|\r/g," ")};l.patch(y,T);const w={type:"element",tagName:"code",properties:{},children:[T]};return l.patch(y,w),l.applyData(y,w)}function Ki(l,y){const T=String(y.identifier).toUpperCase(),w=l.definitionById.get(T);if(!w)return to(l,y);const K={href:Si(w.url||"")};w.title!==null&&w.title!==void 0&&(K.title=w.title);const j={type:"element",tagName:"a",properties:K,children:l.all(y)};return l.patch(y,j),l.applyData(y,j)}function Ua(l,y){const T={href:Si(y.url)};y.title!==null&&y.title!==void 0&&(T.title=y.title);const w={type:"element",tagName:"a",properties:T,children:l.all(y)};return l.patch(y,w),l.applyData(y,w)}function fa(l,y,T){const w=l.all(y),K=T?wr(T):rr(y),j={},se=[];if(typeof y.checked=="boolean"){const _e=w[0];let ft;_e&&_e.type==="element"&&_e.tagName==="p"?ft=_e:(ft={type:"element",tagName:"p",properties:{},children:[]},w.unshift(ft)),ft.children.length>0&&ft.children.unshift({type:"text",value:" "}),ft.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:y.checked,disabled:!0},children:[]}),j.className=["task-list-item"]}let ve=-1;for(;++ve<w.length;){const _e=w[ve];(K||ve!==0||_e.type!=="element"||_e.tagName!=="p")&&se.push({type:"text",value:`
`}),_e.type==="element"&&_e.tagName==="p"&&!K?se.push(..._e.children):se.push(_e)}const Ye=w[w.length-1];Ye&&(K||Ye.type!=="element"||Ye.tagName!=="p")&&se.push({type:"text",value:`
`});const je={type:"element",tagName:"li",properties:j,children:se};return l.patch(y,je),l.applyData(y,je)}function wr(l){let y=!1;if(l.type==="list"){y=l.spread||!1;const T=l.children;let w=-1;for(;!y&&++w<T.length;)y=rr(T[w])}return y}function rr(l){const y=l.spread;return y==null?l.children.length>1:y}function pa(l,y){const T={},w=l.all(y);let K=-1;for(typeof y.start=="number"&&y.start!==1&&(T.start=y.start);++K<w.length;){const se=w[K];if(se.type==="element"&&se.tagName==="li"&&se.properties&&Array.isArray(se.properties.className)&&se.properties.className.includes("task-list-item")){T.className=["contains-task-list"];break}}const j={type:"element",tagName:y.ordered?"ol":"ul",properties:T,children:l.wrap(w,!0)};return l.patch(y,j),l.applyData(y,j)}function ha(l,y){const T={type:"element",tagName:"p",properties:{},children:l.all(y)};return l.patch(y,T),l.applyData(y,T)}function va(l,y){const T={type:"root",children:l.wrap(l.all(y))};return l.patch(y,T),l.applyData(y,T)}function Ca(l,y){const T={type:"element",tagName:"strong",properties:{},children:l.all(y)};return l.patch(y,T),l.applyData(y,T)}function gi(l,y){const T=l.all(y),w=T.shift(),K=[];if(w){const se={type:"element",tagName:"thead",properties:{},children:l.wrap([w],!0)};l.patch(y.children[0],se),K.push(se)}if(T.length>0){const se={type:"element",tagName:"tbody",properties:{},children:l.wrap(T,!0)},ve=(0,P.Pk)(y.children[1]),Ye=(0,P.rb)(y.children[y.children.length-1]);ve&&Ye&&(se.position={start:ve,end:Ye}),K.push(se)}const j={type:"element",tagName:"table",properties:{},children:l.wrap(K,!0)};return l.patch(y,j),l.applyData(y,j)}function oi(l,y,T){const w=T?T.children:void 0,j=(w?w.indexOf(y):1)===0?"th":"td",se=T&&T.type==="table"?T.align:void 0,ve=se?se.length:y.children.length;let Ye=-1;const je=[];for(;++Ye<ve;){const ft=y.children[Ye],st={},Ue=se?se[Ye]:void 0;Ue&&(st.align=Ue);let Hn={type:"element",tagName:j,properties:st,children:[]};ft&&(Hn.children=l.all(ft),l.patch(ft,Hn),Hn=l.applyData(ft,Hn)),je.push(Hn)}const _e={type:"element",tagName:"tr",properties:{},children:l.wrap(je,!0)};return l.patch(y,_e),l.applyData(y,_e)}function Ii(l,y){const T={type:"element",tagName:"td",properties:{},children:l.all(y)};return l.patch(y,T),l.applyData(y,T)}const ca=9,xa=32;function Qa(l){const y=String(l),T=/\r?\n|\r/g;let w=T.exec(y),K=0;const j=[];for(;w;)j.push(si(y.slice(K,w.index),K>0,!0),w[0]),K=w.index+w[0].length,w=T.exec(y);return j.push(si(y.slice(K),K>0,!1)),j.join("")}function si(l,y,T){let w=0,K=l.length;if(y){let j=l.codePointAt(w);for(;j===ca||j===xa;)w++,j=l.codePointAt(w)}if(T){let j=l.codePointAt(K-1);for(;j===ca||j===xa;)K--,j=l.codePointAt(K-1)}return K>w?l.slice(w,K):""}function po(l,y){const T={type:"text",value:Qa(String(y.value))};return l.patch(y,T),l.applyData(y,T)}function Ro(l,y){const T={type:"element",tagName:"hr",properties:{},children:[]};return l.patch(y,T),l.applyData(y,T)}const Lo={blockquote:Ui,break:yo,code:Eo,delete:So,emphasis:Ji,footnoteReference:fo,heading:eo,html:$i,imageReference:To,image:no,inlineCode:Vi,linkReference:Ki,link:Ua,listItem:fa,list:pa,paragraph:ha,root:va,strong:Ca,table:gi,tableCell:Ii,tableRow:oi,text:po,thematicBreak:Ro,toml:mi,yaml:mi,definition:mi,footnoteDefinition:mi};function mi(){}const Ti={}.hasOwnProperty,Qr={};function bi(l,y){const T=y||Qr,w=new Map,K=new Map,j=new Map,se=yr(yr({},Lo),T.handlers),ve={all:je,applyData:Co,definitionById:w,footnoteById:K,footnoteCounts:j,footnoteOrder:[],handlers:se,one:Ye,options:T,patch:qa,wrap:Go};return(0,Ka.Vn)(l,function(_e){if(_e.type==="definition"||_e.type==="footnoteDefinition"){const ft=_e.type==="definition"?w:K,st=String(_e.identifier).toUpperCase();ft.has(st)||ft.set(st,_e)}}),ve;function Ye(_e,ft){const st=_e.type,Ue=ve.handlers[st];if(Ti.call(ve.handlers,st)&&Ue)return Ue(ve,_e,ft);if(ve.options.passThrough&&ve.options.passThrough.includes(st)){if("children"in _e){const xr=_e,{children:$r}=xr,on=Nl(xr,["children"]),wn=(0,Ba.ZP)(on);return wn.children=ve.all(_e),wn}return(0,Ba.ZP)(_e)}return(ve.options.unknownHandler||zo)(ve,_e,ft)}function je(_e){const ft=[];if("children"in _e){const st=_e.children;let Ue=-1;for(;++Ue<st.length;){const Hn=ve.one(st[Ue],_e);if(Hn){if(Ue&&st[Ue-1].type==="break"&&(!Array.isArray(Hn)&&Hn.type==="text"&&(Hn.value=ji(Hn.value)),!Array.isArray(Hn)&&Hn.type==="element")){const xr=Hn.children[0];xr&&xr.type==="text"&&(xr.value=ji(xr.value))}Array.isArray(Hn)?ft.push(...Hn):ft.push(Hn)}}}return ft}}function qa(l,y){l.position&&(y.position=(0,P.FK)(l))}function Co(l,y){let T=y;if(l&&l.data){const w=l.data.hName,K=l.data.hChildren,j=l.data.hProperties;if(typeof w=="string")if(T.type==="element")T.tagName=w;else{const se="children"in T?T.children:[T];T={type:"element",tagName:w,properties:{},children:se}}T.type==="element"&&j&&Object.assign(T.properties,(0,Ba.ZP)(j)),"children"in T&&T.children&&K!==null&&K!==void 0&&(T.children=K)}return T}function zo(l,y){const T=y.data||{},w="value"in y&&!(Ti.call(T,"hProperties")||Ti.call(T,"hChildren"))?{type:"text",value:y.value}:{type:"element",tagName:"div",properties:{},children:l.all(y)};return l.patch(y,w),l.applyData(y,w)}function Go(l,y){const T=[];let w=-1;for(y&&T.push({type:"text",value:`
`});++w<l.length;)w&&T.push({type:"text",value:`
`}),T.push(l[w]);return y&&l.length>0&&T.push({type:"text",value:`
`}),T}function ji(l){let y=0,T=l.charCodeAt(y);for(;T===9||T===32;)y++,T=l.charCodeAt(y);return l.slice(y)}function Oo(l,y){const T=bi(l,y),w=T.one(l,void 0),K=ii(T),j=Array.isArray(w)?{type:"root",children:w}:w||{type:"root",children:[]};return K&&((0,E.ok)("children"in j),j.children.push({type:"text",value:`
`},K)),j}function _o(l,y){return l&&"run"in l?function(T,w){return js(this,null,function*(){const K=Oo(T,yr({file:w},y));yield l.run(K,w)})}:function(T,w){return Oo(T,yr({file:w},l||y))}}function Hi(l){if(l)throw l}var xo=r(58847);function ro(l){if(typeof l!="object"||l===null)return!1;const y=Object.getPrototypeOf(l);return(y===null||y===Object.prototype||Object.getPrototypeOf(y)===null)&&!(Symbol.toStringTag in l)&&!(Symbol.iterator in l)}function ao(){const l=[],y={run:T,use:w};return y;function T(...K){let j=-1;const se=K.pop();if(typeof se!="function")throw new TypeError("Expected function as last argument, not "+se);ve(null,...K);function ve(Ye,...je){const _e=l[++j];let ft=-1;if(Ye){se(Ye);return}for(;++ft<K.length;)(je[ft]===null||je[ft]===void 0)&&(je[ft]=K[ft]);K=je,_e?Ao(_e,ve)(...je):se(null,...je)}}function w(K){if(typeof K!="function")throw new TypeError("Expected `middelware` to be a function, not "+K);return l.push(K),y}}function Ao(l,y){let T;return w;function w(...se){const ve=l.length>se.length;let Ye;ve&&se.push(K);try{Ye=l.apply(this,se)}catch(je){const _e=je;if(ve&&T)throw _e;return K(_e)}ve||(Ye&&Ye.then&&typeof Ye.then=="function"?Ye.then(j,K):Ye instanceof Error?K(Ye):j(Ye))}function K(se,...ve){T||(T=!0,y(se,...ve))}function j(se){K(null,se)}}const li={basename:io,dirname:oo,extname:Do,join:Yi,sep:"/"};function io(l,y){if(y!==void 0&&typeof y!="string")throw new TypeError('"ext" argument must be a string');so(l);let T=0,w=-1,K=l.length,j;if(y===void 0||y.length===0||y.length>l.length){for(;K--;)if(l.codePointAt(K)===47){if(j){T=K+1;break}}else w<0&&(j=!0,w=K+1);return w<0?"":l.slice(T,w)}if(y===l)return"";let se=-1,ve=y.length-1;for(;K--;)if(l.codePointAt(K)===47){if(j){T=K+1;break}}else se<0&&(j=!0,se=K+1),ve>-1&&(l.codePointAt(K)===y.codePointAt(ve--)?ve<0&&(w=K):(ve=-1,w=se));return T===w?w=se:w<0&&(w=l.length),l.slice(T,w)}function oo(l){if(so(l),l.length===0)return".";let y=-1,T=l.length,w;for(;--T;)if(l.codePointAt(T)===47){if(w){y=T;break}}else w||(w=!0);return y<0?l.codePointAt(0)===47?"/":".":y===1&&l.codePointAt(0)===47?"//":l.slice(0,y)}function Do(l){so(l);let y=l.length,T=-1,w=0,K=-1,j=0,se;for(;y--;){const ve=l.codePointAt(y);if(ve===47){if(se){w=y+1;break}continue}T<0&&(se=!0,T=y+1),ve===46?K<0?K=y:j!==1&&(j=1):K>-1&&(j=-1)}return K<0||T<0||j===0||j===1&&K===T-1&&K===w+1?"":l.slice(K,T)}function Yi(...l){let y=-1,T;for(;++y<l.length;)so(l[y]),l[y]&&(T=T===void 0?l[y]:T+"/"+l[y]);return T===void 0?".":Mo(T)}function Mo(l){so(l);const y=l.codePointAt(0)===47;let T=Po(l,!y);return T.length===0&&!y&&(T="."),T.length>0&&l.codePointAt(l.length-1)===47&&(T+="/"),y?"/"+T:T}function Po(l,y){let T="",w=0,K=-1,j=0,se=-1,ve,Ye;for(;++se<=l.length;){if(se<l.length)ve=l.codePointAt(se);else{if(ve===47)break;ve=47}if(ve===47){if(!(K===se-1||j===1))if(K!==se-1&&j===2){if(T.length<2||w!==2||T.codePointAt(T.length-1)!==46||T.codePointAt(T.length-2)!==46){if(T.length>2){if(Ye=T.lastIndexOf("/"),Ye!==T.length-1){Ye<0?(T="",w=0):(T=T.slice(0,Ye),w=T.length-1-T.lastIndexOf("/")),K=se,j=0;continue}}else if(T.length>0){T="",w=0,K=se,j=0;continue}}y&&(T=T.length>0?T+"/..":"..",w=2)}else T.length>0?T+="/"+l.slice(K+1,se):T=l.slice(K+1,se),w=se-K-1;K=se,j=0}else ve===46&&j>-1?j++:j=-1}return T}function so(l){if(typeof l!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(l))}const ko={cwd:wo};function wo(){return"/"}function Ri(l){return!!(l!==null&&typeof l=="object"&&"href"in l&&l.href&&"protocol"in l&&l.protocol&&l.auth===void 0)}function Ci(l){if(typeof l=="string")l=new URL(l);else if(!Ri(l)){const y=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+l+"`");throw y.code="ERR_INVALID_ARG_TYPE",y}if(l.protocol!=="file:"){const y=new TypeError("The URL must be of scheme file");throw y.code="ERR_INVALID_URL_SCHEME",y}return lo(l)}function lo(l){if(l.hostname!==""){const w=new TypeError('File URL host must be "localhost" or empty on darwin');throw w.code="ERR_INVALID_FILE_URL_HOST",w}const y=l.pathname;let T=-1;for(;++T<y.length;)if(y.codePointAt(T)===37&&y.codePointAt(T+1)===50){const w=y.codePointAt(T+2);if(w===70||w===102){const K=new TypeError("File URL path must not include encoded / characters");throw K.code="ERR_INVALID_FILE_URL_PATH",K}}return decodeURIComponent(y)}const ui=["history","path","basename","stem","extname","dirname"];class ho{constructor(y){let T;y?Ri(y)?T={path:y}:typeof y=="string"||Tr(y)?T={value:y}:T=y:T={},this.cwd="cwd"in T?"":ko.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let w=-1;for(;++w<ui.length;){const j=ui[w];j in T&&T[j]!==void 0&&T[j]!==null&&(this[j]=j==="history"?[...T[j]]:T[j])}let K;for(K in T)ui.includes(K)||(this[K]=T[K])}get basename(){return typeof this.path=="string"?li.basename(this.path):void 0}set basename(y){Li(y,"basename"),xi(y,"basename"),this.path=li.join(this.dirname||"",y)}get dirname(){return typeof this.path=="string"?li.dirname(this.path):void 0}set dirname(y){Oi(this.basename,"dirname"),this.path=li.join(y||"",this.basename)}get extname(){return typeof this.path=="string"?li.extname(this.path):void 0}set extname(y){if(xi(y,"extname"),Oi(this.dirname,"extname"),y){if(y.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(y.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=li.join(this.dirname,this.stem+(y||""))}get path(){return this.history[this.history.length-1]}set path(y){Ri(y)&&(y=Ci(y)),Li(y,"path"),this.path!==y&&this.history.push(y)}get stem(){return typeof this.path=="string"?li.basename(this.path,this.extname):void 0}set stem(y){Li(y,"stem"),xi(y,"stem"),this.path=li.join(this.dirname||"",y+(this.extname||""))}fail(y,T,w){const K=this.message(y,T,w);throw K.fatal=!0,K}info(y,T,w){const K=this.message(y,T,w);return K.fatal=void 0,K}message(y,T,w){const K=new Z(y,T,w);return this.path&&(K.name=this.path+":"+K.name,K.file=this.path),K.fatal=!1,this.messages.push(K),K}toString(y){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(y||void 0).decode(this.value)}}function xi(l,y){if(l&&l.includes(li.sep))throw new Error("`"+y+"` cannot be a path: did not expect `"+li.sep+"`")}function Li(l,y){if(!l)throw new Error("`"+y+"` cannot be empty")}function Oi(l,y){if(!l)throw new Error("Setting `"+y+"` requires `path` to be set too")}function Tr(l){return!!(l&&typeof l=="object"&&"byteLength"in l&&"byteOffset"in l)}const Cr=function(l){const w=this.constructor.prototype,K=w[l],j=function(){return K.apply(j,arguments)};return Object.setPrototypeOf(j,w),j},ba={}.hasOwnProperty;class ka extends Cr{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=ao()}copy(){const y=new ka;let T=-1;for(;++T<this.attachers.length;){const w=this.attachers[T];y.use(...w)}return y.data(xo(!0,{},this.namespace)),y}data(y,T){return typeof y=="string"?arguments.length===2?(fi("data",this.frozen),this.namespace[y]=T,this):ba.call(this.namespace,y)&&this.namespace[y]||void 0:y?(fi("data",this.frozen),this.namespace=y,this):this.namespace}freeze(){if(this.frozen)return this;const y=this;for(;++this.freezeIndex<this.attachers.length;){const[T,...w]=this.attachers[this.freezeIndex];if(w[0]===!1)continue;w[0]===!0&&(w[0]=void 0);const K=T.call(y,...w);typeof K=="function"&&this.transformers.use(K)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(y){this.freeze();const T=Wo(y),w=this.parser||this.Parser;return ci("parse",w),w(String(T),T)}process(y,T){const w=this;return this.freeze(),ci("process",this.parser||this.Parser),di("process",this.compiler||this.Compiler),T?K(void 0,T):new Promise(K);function K(j,se){const ve=Wo(y),Ye=w.parse(ve);w.run(Ye,ve,function(_e,ft,st){if(_e||!ft||!st)return je(_e);const Ue=ft,Hn=w.stringify(Ue,st);rs(Hn)?st.value=Hn:st.result=Hn,je(_e,st)});function je(_e,ft){_e||!ft?se(_e):j?j(ft):((0,E.ok)(T,"`done` is defined if `resolve` is not"),T(void 0,ft))}}}processSync(y){let T=!1,w;return this.freeze(),ci("processSync",this.parser||this.Parser),di("processSync",this.compiler||this.Compiler),this.process(y,K),Ai("processSync","process",T),(0,E.ok)(w,"we either bailed on an error or have a tree"),w;function K(j,se){T=!0,Hi(j),w=se}}run(y,T,w){Ja(y),this.freeze();const K=this.transformers;return!w&&typeof T=="function"&&(w=T,T=void 0),w?j(void 0,w):new Promise(j);function j(se,ve){(0,E.ok)(typeof T!="function","`file` can\u2019t be a `done` anymore, we checked");const Ye=Wo(T);K.run(y,Ye,je);function je(_e,ft,st){const Ue=ft||y;_e?ve(_e):se?se(Ue):((0,E.ok)(w,"`done` is defined if `resolve` is not"),w(void 0,Ue,st))}}}runSync(y,T){let w=!1,K;return this.run(y,T,j),Ai("runSync","run",w),(0,E.ok)(K,"we either bailed on an error or have a tree"),K;function j(se,ve){Hi(se),K=ve,w=!0}}stringify(y,T){this.freeze();const w=Wo(T),K=this.compiler||this.Compiler;return di("stringify",K),Ja(y),K(y,w)}use(y,...T){const w=this.attachers,K=this.namespace;if(fi("use",this.frozen),y!=null)if(typeof y=="function")Ye(y,T);else if(typeof y=="object")Array.isArray(y)?ve(y):se(y);else throw new TypeError("Expected usable value, not `"+y+"`");return this;function j(je){if(typeof je=="function")Ye(je,[]);else if(typeof je=="object")if(Array.isArray(je)){const[_e,...ft]=je;Ye(_e,ft)}else se(je);else throw new TypeError("Expected usable value, not `"+je+"`")}function se(je){if(!("plugins"in je)&&!("settings"in je))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");ve(je.plugins),je.settings&&(K.settings=xo(!0,K.settings,je.settings))}function ve(je){let _e=-1;if(je!=null)if(Array.isArray(je))for(;++_e<je.length;){const ft=je[_e];j(ft)}else throw new TypeError("Expected a list of plugins, not `"+je+"`")}function Ye(je,_e){let ft=-1,st=-1;for(;++ft<w.length;)if(w[ft][0]===je){st=ft;break}if(st===-1)w.push([je,..._e]);else if(_e.length>0){let[Ue,...Hn]=_e;const xr=w[st][1];ro(xr)&&ro(Ue)&&(Ue=xo(!0,xr,Ue)),w[st]=[je,Ue,...Hn]}}}}const Ea=new ka().freeze();function ci(l,y){if(typeof y!="function")throw new TypeError("Cannot `"+l+"` without `parser`")}function di(l,y){if(typeof y!="function")throw new TypeError("Cannot `"+l+"` without `compiler`")}function fi(l,y){if(y)throw new Error("Cannot call `"+l+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Ja(l){if(!ro(l)||typeof l.type!="string")throw new TypeError("Expected node, got `"+l+"`")}function Ai(l,y,T){if(!T)throw new Error("`"+l+"` finished async. Use `"+y+"` instead")}function Wo(l){return ns(l)?l:new ho(l)}function ns(l){return!!(l&&typeof l=="object"&&"message"in l&&"messages"in l)}function rs(l){return typeof l=="string"||ps(l)}function ps(l){return!!(l&&typeof l=="object"&&"byteLength"in l&&"byteOffset"in l)}const hs="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",as=[],ei={allowDangerousHtml:!0},La=/^(https?|ircs?|mailto|xmpp)$/i,ja=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Oa(l){const y=No(l),T=Xo(l);return Qo(y.runSync(y.parse(T),T),l)}function go(l){return js(this,null,function*(){const y=No(l),T=Xo(l),w=yield y.run(y.parse(T),T);return Qo(w,l)})}function ws(l){const y=No(l),[T,w]=useState(void 0),[K,j]=useState(void 0);if(useEffect(function(){const se=Xo(l);y.run(y.parse(se),se,function(ve,Ye){w(ve),j(Ye)})},[l.children,l.rehypePlugins,l.remarkPlugins,l.remarkRehypeOptions]),T)throw T;return K?Qo(K,l):createElement(Fragment)}function No(l){const y=l.rehypePlugins||as,T=l.remarkPlugins||as,w=l.remarkRehypeOptions?yr(yr({},l.remarkRehypeOptions),ei):ei;return Ea().use($a).use(T).use(_o,w).use(y)}function Xo(l){const y=l.children||"",T=new ho;return typeof y=="string"?T.value=y:(0,E.t1)("Unexpected value `"+y+"` for `children` prop, expected `string`"),T}function Qo(l,y){const T=y.allowedElements,w=y.allowElement,K=y.components,j=y.disallowedElements,se=y.skipHtml,ve=y.unwrapDisallowed,Ye=y.urlTransform||gs;for(const _e of ja)Object.hasOwn(y,_e.from)&&(0,E.t1)("Unexpected `"+_e.from+"` prop, "+(_e.to?"use `"+_e.to+"` instead":"remove it")+" (see <"+hs+"#"+_e.id+"> for more info)");return T&&j&&(0,E.t1)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),y.className&&(l={type:"element",tagName:"div",properties:{className:y.className},children:l.type==="root"?l.children:[l]}),(0,Ka.Vn)(l,je),Re(l,{Fragment:v.Fragment,components:K,ignoreInvalidStyle:!0,jsx:v.jsx,jsxs:v.jsxs,passKeys:!0,passNode:!0});function je(_e,ft,st){if(_e.type==="raw"&&st&&typeof ft=="number")return se?st.children.splice(ft,1):st.children[ft]={type:"text",value:_e.value},ft;if(_e.type==="element"){let Ue;for(Ue in D)if(Object.hasOwn(D,Ue)&&Object.hasOwn(_e.properties,Ue)){const Hn=_e.properties[Ue],xr=D[Ue];(xr===null||xr.includes(_e.tagName))&&(_e.properties[Ue]=Ye(String(Hn||""),Ue,_e))}}if(_e.type==="element"){let Ue=T?!T.includes(_e.tagName):j?j.includes(_e.tagName):!1;if(!Ue&&w&&typeof ft=="number"&&(Ue=!w(_e,ft,st)),Ue&&st&&typeof ft=="number")return ve&&_e.children?st.children.splice(ft,1,..._e.children):st.children.splice(ft,1),ft}}}function gs(l){const y=l.indexOf(":"),T=l.indexOf("?"),w=l.indexOf("#"),K=l.indexOf("/");return y===-1||K!==-1&&y>K||T!==-1&&y>T||w!==-1&&y>w||La.test(l.slice(0,y))?l:""}},3977:function(x,c,r){"use strict";r.d(c,{Z:function(){return is}});var u={};r.r(u),r.d(u,{boolean:function(){return Z},booleanish:function(){return fe},commaOrSpaceSeparated:function(){return ge},commaSeparated:function(){return ne},number:function(){return V},overloadedBoolean:function(){return re},spaceSeparated:function(){return le}});var E=r(90302),m=r(87342),b=r(81994),k=r(14470),d=r(86825);function N(n){const a=String(n),S=[];return{toOffset:Ze,toPoint:ae};function ae(Ct){if(typeof Ct=="number"&&Ct>-1&&Ct<=a.length){let zt=0;for(;;){let Nn=S[zt];if(Nn===void 0){const Xn=H(a,S[zt-1]);Nn=Xn===-1?a.length+1:Xn+1,S[zt]=Nn}if(Nn>Ct)return{line:zt+1,column:Ct-(zt>0?S[zt-1]:0)+1,offset:Ct};zt++}}}function Ze(Ct){if(Ct&&typeof Ct.line=="number"&&typeof Ct.column=="number"&&!Number.isNaN(Ct.line)&&!Number.isNaN(Ct.column)){for(;S.length<Ct.line;){const Nn=S[S.length-1],Xn=H(a,Nn),Nt=Xn===-1?a.length+1:Xn+1;if(Nn===Nt)break;S.push(Nt)}const zt=(Ct.line>1?S[Ct.line-2]:0)+Ct.column-1;if(zt<S[Ct.line-1])return zt}}}function H(n,a){const S=n.indexOf("\r",a),ae=n.indexOf(`
`,a);return ae===-1?S:S===-1||S+1===ae?ae:S<ae?S:ae}var O=r(43309);const I={}.hasOwnProperty,ie=Object.prototype;function G(n,a){const S=a||{};return be({file:S.file||void 0,location:!1,schema:S.space==="svg"?k.YP:k.dy,verbose:S.verbose||!1},n)}function be(n,a){let S;switch(a.nodeName){case"#comment":{const ae=a;return S={type:"comment",value:ae.data},te(n,ae,S),S}case"#document":case"#document-fragment":{const ae=a,Ze="mode"in ae?ae.mode==="quirks"||ae.mode==="limited-quirks":!1;if(S={type:"root",children:ce(n,a.childNodes),data:{quirksMode:Ze}},n.file&&n.location){const Ct=String(n.file),zt=N(Ct),Nn=zt.toPoint(0),Xn=zt.toPoint(Ct.length);(0,m.ok)(Nn,"expected `start`"),(0,m.ok)(Xn,"expected `end`"),S.position={start:Nn,end:Xn}}return S}case"#documentType":{const ae=a;return S={type:"doctype"},te(n,ae,S),S}case"#text":{const ae=a;return S={type:"text",value:ae.value},te(n,ae,S),S}default:return S=ue(n,a),S}}function ce(n,a){let S=-1;const ae=[];for(;++S<a.length;){const Ze=be(n,a[S]);ae.push(Ze)}return ae}function ue(n,a){const S=n.schema;n.schema=a.namespaceURI===O.t.svg?k.YP:k.dy;let ae=-1;const Ze={};for(;++ae<a.attrs.length;){const Nn=a.attrs[ae],Xn=(Nn.prefix?Nn.prefix+":":"")+Nn.name;I.call(ie,Xn)||(Ze[Xn]=Nn.value)}const zt=(n.schema.space==="svg"?b.s:b.h)(a.tagName,Ze,ce(n,a.childNodes));if(te(n,a,zt),zt.tagName==="template"){const Nn=a,Xn=Nn.sourceCodeLocation,Nt=Xn&&Xn.startTag&&q(Xn.startTag),an=Xn&&Xn.endTag&&q(Xn.endTag),ar=be(n,Nn.content);Nt&&an&&n.file&&(ar.position={start:Nt.end,end:an.start}),zt.content=ar}return n.schema=S,zt}function te(n,a,S){if("sourceCodeLocation"in a&&a.sourceCodeLocation&&n.file){const ae=X(n,S,a.sourceCodeLocation);ae&&(n.location=!0,S.position=ae)}}function X(n,a,S){const ae=q(S);if(a.type==="element"){const Ze=a.children[a.children.length-1];if(ae&&!S.endTag&&Ze&&Ze.position&&Ze.position.end&&(ae.end=Object.assign({},Ze.position.end)),n.verbose){const Ct={};let zt;if(S.attrs)for(zt in S.attrs)I.call(S.attrs,zt)&&(Ct[(0,d.s)(n.schema,zt).property]=q(S.attrs[zt]));(0,m.ok)(S.startTag,"a start tag should exist");const Nn=q(S.startTag),Xn=S.endTag?q(S.endTag):void 0,Nt={opening:Nn};Xn&&(Nt.closing=Xn),Nt.properties=Ct,a.data={position:Nt}}}return ae}function q(n){const a=W({line:n.startLine,column:n.startCol,offset:n.startOffset}),S=W({line:n.endLine,column:n.endCol,offset:n.endOffset});return a||S?{start:a,end:S}:void 0}function W(n){return n.line&&n.column?n:void 0}var Y=r(11630);class P{constructor(a,S,ae){this.property=a,this.normal=S,ae&&(this.space=ae)}}P.prototype.property={},P.prototype.normal={},P.prototype.space=null;function B(n,a){const S={},ae={};let Ze=-1;for(;++Ze<n.length;)Object.assign(S,n[Ze].property),Object.assign(ae,n[Ze].normal);return new P(S,ae,a)}function _(n){return n.toLowerCase()}class ee{constructor(a,S){this.property=a,this.attribute=S}}ee.prototype.space=null,ee.prototype.boolean=!1,ee.prototype.booleanish=!1,ee.prototype.overloadedBoolean=!1,ee.prototype.number=!1,ee.prototype.commaSeparated=!1,ee.prototype.spaceSeparated=!1,ee.prototype.commaOrSpaceSeparated=!1,ee.prototype.mustUseProperty=!1,ee.prototype.defined=!1;let de=0;const Z=Re(),fe=Re(),re=Re(),V=Re(),le=Re(),ne=Re(),ge=Re();function Re(){return Ks(2,++de)}const Ie=Object.keys(u);class ke extends ee{constructor(a,S,ae,Ze){let Ct=-1;if(super(a,S),Be(this,"space",Ze),typeof ae=="number")for(;++Ct<Ie.length;){const zt=Ie[Ct];Be(this,Ie[Ct],(ae&u[zt])===u[zt])}}}ke.prototype.defined=!0;function Be(n,a,S){S&&(n[a]=S)}const oe={}.hasOwnProperty;function M(n){const a={},S={};let ae;for(ae in n.properties)if(oe.call(n.properties,ae)){const Ze=n.properties[ae],Ct=new ke(ae,n.transform(n.attributes||{},ae),Ze,n.space);n.mustUseProperty&&n.mustUseProperty.includes(ae)&&(Ct.mustUseProperty=!0),a[ae]=Ct,S[_(ae)]=ae,S[_(Ct.attribute)]=ae}return new P(a,S,n.space)}const L=M({space:"xlink",transform(n,a){return"xlink:"+a.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),xe=M({space:"xml",transform(n,a){return"xml:"+a.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Me(n,a){return a in n?n[a]:a}function we(n,a){return Me(n,a.toLowerCase())}const Tt=M({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:we,properties:{xmlns:null,xmlnsXLink:null}}),ut=M({transform(n,a){return a==="role"?a:"aria-"+a.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:fe,ariaAutoComplete:null,ariaBusy:fe,ariaChecked:fe,ariaColCount:V,ariaColIndex:V,ariaColSpan:V,ariaControls:le,ariaCurrent:null,ariaDescribedBy:le,ariaDetails:null,ariaDisabled:fe,ariaDropEffect:le,ariaErrorMessage:null,ariaExpanded:fe,ariaFlowTo:le,ariaGrabbed:fe,ariaHasPopup:null,ariaHidden:fe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:le,ariaLevel:V,ariaLive:null,ariaModal:fe,ariaMultiLine:fe,ariaMultiSelectable:fe,ariaOrientation:null,ariaOwns:le,ariaPlaceholder:null,ariaPosInSet:V,ariaPressed:fe,ariaReadOnly:fe,ariaRelevant:null,ariaRequired:fe,ariaRoleDescription:le,ariaRowCount:V,ariaRowIndex:V,ariaRowSpan:V,ariaSelected:fe,ariaSetSize:V,ariaSort:null,ariaValueMax:V,ariaValueMin:V,ariaValueNow:V,ariaValueText:null,role:null}}),Rt=M({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:we,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ne,acceptCharset:le,accessKey:le,action:null,allow:null,allowFullScreen:Z,allowPaymentRequest:Z,allowUserMedia:Z,alt:null,as:null,async:Z,autoCapitalize:null,autoComplete:le,autoFocus:Z,autoPlay:Z,blocking:le,capture:null,charSet:null,checked:Z,cite:null,className:le,cols:V,colSpan:null,content:null,contentEditable:fe,controls:Z,controlsList:le,coords:V|ne,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Z,defer:Z,dir:null,dirName:null,disabled:Z,download:re,draggable:fe,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Z,formTarget:null,headers:le,height:V,hidden:Z,high:V,href:null,hrefLang:null,htmlFor:le,httpEquiv:le,id:null,imageSizes:null,imageSrcSet:null,inert:Z,inputMode:null,integrity:null,is:null,isMap:Z,itemId:null,itemProp:le,itemRef:le,itemScope:Z,itemType:le,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Z,low:V,manifest:null,max:null,maxLength:V,media:null,method:null,min:null,minLength:V,multiple:Z,muted:Z,name:null,nonce:null,noModule:Z,noValidate:Z,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Z,optimum:V,pattern:null,ping:le,placeholder:null,playsInline:Z,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Z,referrerPolicy:null,rel:le,required:Z,reversed:Z,rows:V,rowSpan:V,sandbox:le,scope:null,scoped:Z,seamless:Z,selected:Z,shadowRootClonable:Z,shadowRootDelegatesFocus:Z,shadowRootMode:null,shape:null,size:V,sizes:null,slot:null,span:V,spellCheck:fe,src:null,srcDoc:null,srcLang:null,srcSet:null,start:V,step:null,style:null,tabIndex:V,target:null,title:null,translate:null,type:null,typeMustMatch:Z,useMap:null,value:fe,width:V,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:le,axis:null,background:null,bgColor:null,border:V,borderColor:null,bottomMargin:V,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Z,declare:Z,event:null,face:null,frame:null,frameBorder:null,hSpace:V,leftMargin:V,link:null,longDesc:null,lowSrc:null,marginHeight:V,marginWidth:V,noResize:Z,noHref:Z,noShade:Z,noWrap:Z,object:null,profile:null,prompt:null,rev:null,rightMargin:V,rules:null,scheme:null,scrolling:fe,standby:null,summary:null,text:null,topMargin:V,valueType:null,version:null,vAlign:null,vLink:null,vSpace:V,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Z,disableRemotePlayback:Z,prefix:null,property:null,results:V,security:null,unselectable:null}}),He=M({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Me,properties:{about:ge,accentHeight:V,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:V,amplitude:V,arabicForm:null,ascent:V,attributeName:null,attributeType:null,azimuth:V,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:V,by:null,calcMode:null,capHeight:V,className:le,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:V,diffuseConstant:V,direction:null,display:null,dur:null,divisor:V,dominantBaseline:null,download:Z,dx:null,dy:null,edgeMode:null,editable:null,elevation:V,enableBackground:null,end:null,event:null,exponent:V,externalResourcesRequired:null,fill:null,fillOpacity:V,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ne,g2:ne,glyphName:ne,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:V,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:V,horizOriginX:V,horizOriginY:V,id:null,ideographic:V,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:V,k:V,k1:V,k2:V,k3:V,k4:V,kernelMatrix:ge,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:V,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:V,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:V,overlineThickness:V,paintOrder:null,panose1:null,path:null,pathLength:V,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:le,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:V,pointsAtY:V,pointsAtZ:V,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ge,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ge,rev:ge,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ge,requiredFeatures:ge,requiredFonts:ge,requiredFormats:ge,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:V,specularExponent:V,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:V,strikethroughThickness:V,string:null,stroke:null,strokeDashArray:ge,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:V,strokeOpacity:V,strokeWidth:null,style:null,surfaceScale:V,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ge,tabIndex:V,tableValues:null,target:null,targetX:V,targetY:V,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ge,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:V,underlineThickness:V,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:V,values:null,vAlphabetic:V,vMathematical:V,vectorEffect:null,vHanging:V,vIdeographic:V,version:null,vertAdvY:V,vertOriginX:V,vertOriginY:V,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:V,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),bt=B([xe,L,Tt,ut,Rt],"html"),vt=B([xe,L,Tt,ut,He],"svg"),Mt=/^data[-\w.:]+$/i,Ut=/-[a-z]/g,R=/[A-Z]/g;function h(n,a){const S=_(a);let ae=a,Ze=ee;if(S in n.normal)return n.property[n.normal[S]];if(S.length>4&&S.slice(0,4)==="data"&&Mt.test(a)){if(a.charAt(4)==="-"){const Ct=a.slice(5).replace(Ut,C);ae="data"+Ct.charAt(0).toUpperCase()+Ct.slice(1)}else{const Ct=a.slice(4);if(!Ut.test(Ct)){let zt=Ct.replace(R,f);zt.charAt(0)!=="-"&&(zt="-"+zt),a="data"+zt}}Ze=ke}return new Ze(ae,a)}function f(n){return"-"+n.toLowerCase()}function C(n){return n.charAt(1).toUpperCase()}var D=r(71523);const v={}.hasOwnProperty;function U(n,a){const S=a||{};function ae(Ze,...Ct){let zt=ae.invalid;const Nn=ae.handlers;if(Ze&&v.call(Ze,n)){const Xn=String(Ze[n]);zt=v.call(Nn,Xn)?Nn[Xn]:ae.unknown}if(zt)return zt.call(this,Ze,...Ct)}return ae.handlers=S.handlers||{},ae.invalid=S.invalid,ae.unknown=S.unknown,ae}const Ne={},ot={}.hasOwnProperty,lt=U("type",{handlers:{root:Fe,element:pe,text:ct,comment:Ge,doctype:Qe}});function Se(n,a){const ae=(a||Ne).space;return lt(n,ae==="svg"?vt:bt)}function Fe(n,a){const S={nodeName:"#document",mode:(n.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return S.childNodes=rt(n.children,S,a),$e(n,S),S}function Pe(n,a){const S={nodeName:"#document-fragment",childNodes:[]};return S.childNodes=rt(n.children,S,a),$e(n,S),S}function Qe(n){const a={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return $e(n,a),a}function ct(n){const a={nodeName:"#text",value:n.value,parentNode:null};return $e(n,a),a}function Ge(n){const a={nodeName:"#comment",data:n.value,parentNode:null};return $e(n,a),a}function pe(n,a){const S=a;let ae=S;n.type==="element"&&n.tagName.toLowerCase()==="svg"&&S.space==="html"&&(ae=vt);const Ze=[];let Ct;if(n.properties){for(Ct in n.properties)if(Ct!=="children"&&ot.call(n.properties,Ct)){const Xn=Je(ae,Ct,n.properties[Ct]);Xn&&Ze.push(Xn)}}const zt=ae.space;(0,m.ok)(zt);const Nn={nodeName:n.tagName,tagName:n.tagName,attrs:Ze,namespaceURI:O.t[zt],childNodes:[],parentNode:null};return Nn.childNodes=rt(n.children,Nn,ae),$e(n,Nn),n.tagName==="template"&&n.content&&(Nn.content=Pe(n.content,ae)),Nn}function Je(n,a,S){const ae=h(n,a);if(S===!1||S===null||S===void 0||typeof S=="number"&&Number.isNaN(S)||!S&&ae.boolean)return;Array.isArray(S)&&(S=ae.commaSeparated?(0,Y.P)(S):(0,D.P)(S));const Ze={name:ae.attribute,value:S===!0?"":String(S)};if(ae.space&&ae.space!=="html"&&ae.space!=="svg"){const Ct=Ze.name.indexOf(":");Ct<0?Ze.prefix="":(Ze.name=Ze.name.slice(Ct+1),Ze.prefix=ae.attribute.slice(0,Ct)),Ze.namespace=O.t[ae.space]}return Ze}function rt(n,a,S){let ae=-1;const Ze=[];if(n)for(;++ae<n.length;){const Ct=lt(n[ae],S);Ct.parentNode=a,Ze.push(Ct)}return Ze}function $e(n,a){const S=n.position;S&&S.start&&S.end&&((0,m.ok)(typeof S.start.offset=="number"),(0,m.ok)(typeof S.end.offset=="number"),a.sourceCodeLocation={startLine:S.start.line,startCol:S.start.column,startOffset:S.start.offset,endLine:S.end.line,endCol:S.end.column,endOffset:S.end.offset})}const et=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],It=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),tt="\uFFFD";var Q;(function(n){n[n.EOF=-1]="EOF",n[n.NULL=0]="NULL",n[n.TABULATION=9]="TABULATION",n[n.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",n[n.LINE_FEED=10]="LINE_FEED",n[n.FORM_FEED=12]="FORM_FEED",n[n.SPACE=32]="SPACE",n[n.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",n[n.QUOTATION_MARK=34]="QUOTATION_MARK",n[n.AMPERSAND=38]="AMPERSAND",n[n.APOSTROPHE=39]="APOSTROPHE",n[n.HYPHEN_MINUS=45]="HYPHEN_MINUS",n[n.SOLIDUS=47]="SOLIDUS",n[n.DIGIT_0=48]="DIGIT_0",n[n.DIGIT_9=57]="DIGIT_9",n[n.SEMICOLON=59]="SEMICOLON",n[n.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",n[n.EQUALS_SIGN=61]="EQUALS_SIGN",n[n.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",n[n.QUESTION_MARK=63]="QUESTION_MARK",n[n.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",n[n.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",n[n.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",n[n.GRAVE_ACCENT=96]="GRAVE_ACCENT",n[n.LATIN_SMALL_A=97]="LATIN_SMALL_A",n[n.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(Q||(Q={}));const Et={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function At(n){return n>=55296&&n<=57343}function ye(n){return n>=56320&&n<=57343}function Gt(n,a){return(n-55296)*1024+9216+a}function tn(n){return n!==32&&n!==10&&n!==13&&n!==9&&n!==12&&n>=1&&n<=31||n>=127&&n<=159}function Xt(n){return n>=64976&&n<=65007||It.has(n)}var Ke;(function(n){n.controlCharacterInInputStream="control-character-in-input-stream",n.noncharacterInInputStream="noncharacter-in-input-stream",n.surrogateInInputStream="surrogate-in-input-stream",n.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",n.endTagWithAttributes="end-tag-with-attributes",n.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",n.unexpectedSolidusInTag="unexpected-solidus-in-tag",n.unexpectedNullCharacter="unexpected-null-character",n.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",n.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",n.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",n.missingEndTagName="missing-end-tag-name",n.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",n.unknownNamedCharacterReference="unknown-named-character-reference",n.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",n.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",n.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",n.eofBeforeTagName="eof-before-tag-name",n.eofInTag="eof-in-tag",n.missingAttributeValue="missing-attribute-value",n.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",n.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",n.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",n.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",n.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",n.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",n.missingDoctypePublicIdentifier="missing-doctype-public-identifier",n.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",n.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",n.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",n.cdataInHtmlContent="cdata-in-html-content",n.incorrectlyOpenedComment="incorrectly-opened-comment",n.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",n.eofInDoctype="eof-in-doctype",n.nestedComment="nested-comment",n.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",n.eofInComment="eof-in-comment",n.incorrectlyClosedComment="incorrectly-closed-comment",n.eofInCdata="eof-in-cdata",n.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",n.nullCharacterReference="null-character-reference",n.surrogateCharacterReference="surrogate-character-reference",n.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",n.controlCharacterReference="control-character-reference",n.noncharacterCharacterReference="noncharacter-character-reference",n.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",n.missingDoctypeName="missing-doctype-name",n.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",n.duplicateAttribute="duplicate-attribute",n.nonConformingDoctype="non-conforming-doctype",n.missingDoctype="missing-doctype",n.misplacedDoctype="misplaced-doctype",n.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",n.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",n.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",n.openElementsLeftAfterEof="open-elements-left-after-eof",n.abandonedHeadElementChild="abandoned-head-element-child",n.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",n.nestedNoscriptInHead="nested-noscript-in-head",n.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(Ke||(Ke={}));const bn=65536;class cn{constructor(a){this.handler=a,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=bn,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(a,S){const{line:ae,col:Ze,offset:Ct}=this,zt=Ze+S,Nn=Ct+S;return{code:a,startLine:ae,endLine:ae,startCol:zt,endCol:zt,startOffset:Nn,endOffset:Nn}}_err(a){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(a,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(a){if(this.pos!==this.html.length-1){const S=this.html.charCodeAt(this.pos+1);if(ye(S))return this.pos++,this._addGap(),Gt(a,S)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Q.EOF;return this._err(Ke.surrogateInInputStream),a}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(a,S){this.html.length>0?this.html+=a:this.html=a,this.endOfChunkHit=!1,this.lastChunkWritten=S}insertHtmlAtCurrentPos(a){this.html=this.html.substring(0,this.pos+1)+a+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(a,S){if(this.pos+a.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(S)return this.html.startsWith(a,this.pos);for(let ae=0;ae<a.length;ae++)if((this.html.charCodeAt(this.pos+ae)|32)!==a.charCodeAt(ae))return!1;return!0}peek(a){const S=this.pos+a;if(S>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Q.EOF;const ae=this.html.charCodeAt(S);return ae===Q.CARRIAGE_RETURN?Q.LINE_FEED:ae}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Q.EOF;let a=this.html.charCodeAt(this.pos);return a===Q.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,Q.LINE_FEED):a===Q.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,At(a)&&(a=this._processSurrogate(a)),this.handler.onParseError===null||a>31&&a<127||a===Q.LINE_FEED||a===Q.CARRIAGE_RETURN||a>159&&a<64976||this._checkForProblematicCharacters(a),a)}_checkForProblematicCharacters(a){tn(a)?this._err(Ke.controlCharacterInInputStream):Xt(a)&&this._err(Ke.noncharacterInInputStream)}retreat(a){for(this.pos-=a;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Ht;(function(n){n[n.CHARACTER=0]="CHARACTER",n[n.NULL_CHARACTER=1]="NULL_CHARACTER",n[n.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",n[n.START_TAG=3]="START_TAG",n[n.END_TAG=4]="END_TAG",n[n.COMMENT=5]="COMMENT",n[n.DOCTYPE=6]="DOCTYPE",n[n.EOF=7]="EOF",n[n.HIBERNATION=8]="HIBERNATION"})(Ht||(Ht={}));function Kt(n,a){for(let S=n.attrs.length-1;S>=0;S--)if(n.attrs[S].name===a)return n.attrs[S].value;return null}const gn=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(n=>n.charCodeAt(0))),Vt=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(n=>n.charCodeAt(0)));var Ft;const Lt=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Qt=(Ft=String.fromCodePoint)!==null&&Ft!==void 0?Ft:function(n){let a="";return n>65535&&(n-=65536,a+=String.fromCharCode(n>>>10&1023|55296),n=56320|n&1023),a+=String.fromCharCode(n),a};function An(n){var a;return n>=55296&&n<=57343||n>1114111?65533:(a=Lt.get(n))!==null&&a!==void 0?a:n}function Dn(n){return Qt(An(n))}var ln;(function(n){n[n.NUM=35]="NUM",n[n.SEMI=59]="SEMI",n[n.EQUALS=61]="EQUALS",n[n.ZERO=48]="ZERO",n[n.NINE=57]="NINE",n[n.LOWER_A=97]="LOWER_A",n[n.LOWER_F=102]="LOWER_F",n[n.LOWER_X=120]="LOWER_X",n[n.LOWER_Z=122]="LOWER_Z",n[n.UPPER_A=65]="UPPER_A",n[n.UPPER_F=70]="UPPER_F",n[n.UPPER_Z=90]="UPPER_Z"})(ln||(ln={}));const Lr=32;var Ln;(function(n){n[n.VALUE_LENGTH=49152]="VALUE_LENGTH",n[n.BRANCH_LENGTH=16256]="BRANCH_LENGTH",n[n.JUMP_TABLE=127]="JUMP_TABLE"})(Ln||(Ln={}));function Vn(n){return n>=ln.ZERO&&n<=ln.NINE}function Ar(n){return n>=ln.UPPER_A&&n<=ln.UPPER_F||n>=ln.LOWER_A&&n<=ln.LOWER_F}function Ir(n){return n>=ln.UPPER_A&&n<=ln.UPPER_Z||n>=ln.LOWER_A&&n<=ln.LOWER_Z||Vn(n)}function Kn(n){return n===ln.EQUALS||Ir(n)}var Cn;(function(n){n[n.EntityStart=0]="EntityStart",n[n.NumericStart=1]="NumericStart",n[n.NumericDecimal=2]="NumericDecimal",n[n.NumericHex=3]="NumericHex",n[n.NamedEntity=4]="NamedEntity"})(Cn||(Cn={}));var Mn;(function(n){n[n.Legacy=0]="Legacy",n[n.Strict=1]="Strict",n[n.Attribute=2]="Attribute"})(Mn||(Mn={}));class zn{constructor(a,S,ae){this.decodeTree=a,this.emitCodePoint=S,this.errors=ae,this.state=Cn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Mn.Strict}startEntity(a){this.decodeMode=a,this.state=Cn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(a,S){switch(this.state){case Cn.EntityStart:return a.charCodeAt(S)===ln.NUM?(this.state=Cn.NumericStart,this.consumed+=1,this.stateNumericStart(a,S+1)):(this.state=Cn.NamedEntity,this.stateNamedEntity(a,S));case Cn.NumericStart:return this.stateNumericStart(a,S);case Cn.NumericDecimal:return this.stateNumericDecimal(a,S);case Cn.NumericHex:return this.stateNumericHex(a,S);case Cn.NamedEntity:return this.stateNamedEntity(a,S)}}stateNumericStart(a,S){return S>=a.length?-1:(a.charCodeAt(S)|Lr)===ln.LOWER_X?(this.state=Cn.NumericHex,this.consumed+=1,this.stateNumericHex(a,S+1)):(this.state=Cn.NumericDecimal,this.stateNumericDecimal(a,S))}addToNumericResult(a,S,ae,Ze){if(S!==ae){const Ct=ae-S;this.result=this.result*Math.pow(Ze,Ct)+Number.parseInt(a.substr(S,Ct),Ze),this.consumed+=Ct}}stateNumericHex(a,S){const ae=S;for(;S<a.length;){const Ze=a.charCodeAt(S);if(Vn(Ze)||Ar(Ze))S+=1;else return this.addToNumericResult(a,ae,S,16),this.emitNumericEntity(Ze,3)}return this.addToNumericResult(a,ae,S,16),-1}stateNumericDecimal(a,S){const ae=S;for(;S<a.length;){const Ze=a.charCodeAt(S);if(Vn(Ze))S+=1;else return this.addToNumericResult(a,ae,S,10),this.emitNumericEntity(Ze,2)}return this.addToNumericResult(a,ae,S,10),-1}emitNumericEntity(a,S){var ae;if(this.consumed<=S)return(ae=this.errors)===null||ae===void 0||ae.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(a===ln.SEMI)this.consumed+=1;else if(this.decodeMode===Mn.Strict)return 0;return this.emitCodePoint(An(this.result),this.consumed),this.errors&&(a!==ln.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(a,S){const{decodeTree:ae}=this;let Ze=ae[this.treeIndex],Ct=(Ze&Ln.VALUE_LENGTH)>>14;for(;S<a.length;S++,this.excess++){const zt=a.charCodeAt(S);if(this.treeIndex=On(ae,Ze,this.treeIndex+Math.max(1,Ct),zt),this.treeIndex<0)return this.result===0||this.decodeMode===Mn.Attribute&&(Ct===0||Kn(zt))?0:this.emitNotTerminatedNamedEntity();if(Ze=ae[this.treeIndex],Ct=(Ze&Ln.VALUE_LENGTH)>>14,Ct!==0){if(zt===ln.SEMI)return this.emitNamedEntityData(this.treeIndex,Ct,this.consumed+this.excess);this.decodeMode!==Mn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var a;const{result:S,decodeTree:ae}=this,Ze=(ae[S]&Ln.VALUE_LENGTH)>>14;return this.emitNamedEntityData(S,Ze,this.consumed),(a=this.errors)===null||a===void 0||a.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(a,S,ae){const{decodeTree:Ze}=this;return this.emitCodePoint(S===1?Ze[a]&~Ln.VALUE_LENGTH:Ze[a+1],ae),S===3&&this.emitCodePoint(Ze[a+2],ae),ae}end(){var a;switch(this.state){case Cn.NamedEntity:return this.result!==0&&(this.decodeMode!==Mn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Cn.NumericDecimal:return this.emitNumericEntity(0,2);case Cn.NumericHex:return this.emitNumericEntity(0,3);case Cn.NumericStart:return(a=this.errors)===null||a===void 0||a.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Cn.EntityStart:return 0}}}function $t(n){let a="";const S=new zn(n,ae=>a+=fromCodePoint(ae));return function(Ze,Ct){let zt=0,Nn=0;for(;(Nn=Ze.indexOf("&",Nn))>=0;){a+=Ze.slice(zt,Nn),S.startEntity(Ct);const Nt=S.write(Ze,Nn+1);if(Nt<0){zt=Nn+S.end();break}zt=Nn+Nt,Nn=Nt===0?zt+1:zt}const Xn=a+Ze.slice(zt);return a="",Xn}}function On(n,a,S,ae){const Ze=(a&Ln.BRANCH_LENGTH)>>7,Ct=a&Ln.JUMP_TABLE;if(Ze===0)return Ct!==0&&ae===Ct?S:-1;if(Ct){const Xn=ae-Ct;return Xn<0||Xn>=Ze?-1:n[S+Xn]-1}let zt=S,Nn=zt+Ze-1;for(;zt<=Nn;){const Xn=zt+Nn>>>1,Nt=n[Xn];if(Nt<ae)zt=Xn+1;else if(Nt>ae)Nn=Xn-1;else return n[Xn+Ze]}return-1}const Or=null,Mr=null;function De(n,a=Mn.Legacy){return Or(n,a)}function Le(n){return Or(n,Mn.Attribute)}function Pt(n){return Or(n,Mn.Strict)}function wt(n){return Mr(n,Mn.Strict)}var me;(function(n){n.HTML="http://www.w3.org/1999/xhtml",n.MATHML="http://www.w3.org/1998/Math/MathML",n.SVG="http://www.w3.org/2000/svg",n.XLINK="http://www.w3.org/1999/xlink",n.XML="http://www.w3.org/XML/1998/namespace",n.XMLNS="http://www.w3.org/2000/xmlns/"})(me||(me={}));var St;(function(n){n.TYPE="type",n.ACTION="action",n.ENCODING="encoding",n.PROMPT="prompt",n.NAME="name",n.COLOR="color",n.FACE="face",n.SIZE="size"})(St||(St={}));var _t;(function(n){n.NO_QUIRKS="no-quirks",n.QUIRKS="quirks",n.LIMITED_QUIRKS="limited-quirks"})(_t||(_t={}));var Te;(function(n){n.A="a",n.ADDRESS="address",n.ANNOTATION_XML="annotation-xml",n.APPLET="applet",n.AREA="area",n.ARTICLE="article",n.ASIDE="aside",n.B="b",n.BASE="base",n.BASEFONT="basefont",n.BGSOUND="bgsound",n.BIG="big",n.BLOCKQUOTE="blockquote",n.BODY="body",n.BR="br",n.BUTTON="button",n.CAPTION="caption",n.CENTER="center",n.CODE="code",n.COL="col",n.COLGROUP="colgroup",n.DD="dd",n.DESC="desc",n.DETAILS="details",n.DIALOG="dialog",n.DIR="dir",n.DIV="div",n.DL="dl",n.DT="dt",n.EM="em",n.EMBED="embed",n.FIELDSET="fieldset",n.FIGCAPTION="figcaption",n.FIGURE="figure",n.FONT="font",n.FOOTER="footer",n.FOREIGN_OBJECT="foreignObject",n.FORM="form",n.FRAME="frame",n.FRAMESET="frameset",n.H1="h1",n.H2="h2",n.H3="h3",n.H4="h4",n.H5="h5",n.H6="h6",n.HEAD="head",n.HEADER="header",n.HGROUP="hgroup",n.HR="hr",n.HTML="html",n.I="i",n.IMG="img",n.IMAGE="image",n.INPUT="input",n.IFRAME="iframe",n.KEYGEN="keygen",n.LABEL="label",n.LI="li",n.LINK="link",n.LISTING="listing",n.MAIN="main",n.MALIGNMARK="malignmark",n.MARQUEE="marquee",n.MATH="math",n.MENU="menu",n.META="meta",n.MGLYPH="mglyph",n.MI="mi",n.MO="mo",n.MN="mn",n.MS="ms",n.MTEXT="mtext",n.NAV="nav",n.NOBR="nobr",n.NOFRAMES="noframes",n.NOEMBED="noembed",n.NOSCRIPT="noscript",n.OBJECT="object",n.OL="ol",n.OPTGROUP="optgroup",n.OPTION="option",n.P="p",n.PARAM="param",n.PLAINTEXT="plaintext",n.PRE="pre",n.RB="rb",n.RP="rp",n.RT="rt",n.RTC="rtc",n.RUBY="ruby",n.S="s",n.SCRIPT="script",n.SEARCH="search",n.SECTION="section",n.SELECT="select",n.SOURCE="source",n.SMALL="small",n.SPAN="span",n.STRIKE="strike",n.STRONG="strong",n.STYLE="style",n.SUB="sub",n.SUMMARY="summary",n.SUP="sup",n.TABLE="table",n.TBODY="tbody",n.TEMPLATE="template",n.TEXTAREA="textarea",n.TFOOT="tfoot",n.TD="td",n.TH="th",n.THEAD="thead",n.TITLE="title",n.TR="tr",n.TRACK="track",n.TT="tt",n.U="u",n.UL="ul",n.SVG="svg",n.VAR="var",n.WBR="wbr",n.XMP="xmp"})(Te||(Te={}));var g;(function(n){n[n.UNKNOWN=0]="UNKNOWN",n[n.A=1]="A",n[n.ADDRESS=2]="ADDRESS",n[n.ANNOTATION_XML=3]="ANNOTATION_XML",n[n.APPLET=4]="APPLET",n[n.AREA=5]="AREA",n[n.ARTICLE=6]="ARTICLE",n[n.ASIDE=7]="ASIDE",n[n.B=8]="B",n[n.BASE=9]="BASE",n[n.BASEFONT=10]="BASEFONT",n[n.BGSOUND=11]="BGSOUND",n[n.BIG=12]="BIG",n[n.BLOCKQUOTE=13]="BLOCKQUOTE",n[n.BODY=14]="BODY",n[n.BR=15]="BR",n[n.BUTTON=16]="BUTTON",n[n.CAPTION=17]="CAPTION",n[n.CENTER=18]="CENTER",n[n.CODE=19]="CODE",n[n.COL=20]="COL",n[n.COLGROUP=21]="COLGROUP",n[n.DD=22]="DD",n[n.DESC=23]="DESC",n[n.DETAILS=24]="DETAILS",n[n.DIALOG=25]="DIALOG",n[n.DIR=26]="DIR",n[n.DIV=27]="DIV",n[n.DL=28]="DL",n[n.DT=29]="DT",n[n.EM=30]="EM",n[n.EMBED=31]="EMBED",n[n.FIELDSET=32]="FIELDSET",n[n.FIGCAPTION=33]="FIGCAPTION",n[n.FIGURE=34]="FIGURE",n[n.FONT=35]="FONT",n[n.FOOTER=36]="FOOTER",n[n.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",n[n.FORM=38]="FORM",n[n.FRAME=39]="FRAME",n[n.FRAMESET=40]="FRAMESET",n[n.H1=41]="H1",n[n.H2=42]="H2",n[n.H3=43]="H3",n[n.H4=44]="H4",n[n.H5=45]="H5",n[n.H6=46]="H6",n[n.HEAD=47]="HEAD",n[n.HEADER=48]="HEADER",n[n.HGROUP=49]="HGROUP",n[n.HR=50]="HR",n[n.HTML=51]="HTML",n[n.I=52]="I",n[n.IMG=53]="IMG",n[n.IMAGE=54]="IMAGE",n[n.INPUT=55]="INPUT",n[n.IFRAME=56]="IFRAME",n[n.KEYGEN=57]="KEYGEN",n[n.LABEL=58]="LABEL",n[n.LI=59]="LI",n[n.LINK=60]="LINK",n[n.LISTING=61]="LISTING",n[n.MAIN=62]="MAIN",n[n.MALIGNMARK=63]="MALIGNMARK",n[n.MARQUEE=64]="MARQUEE",n[n.MATH=65]="MATH",n[n.MENU=66]="MENU",n[n.META=67]="META",n[n.MGLYPH=68]="MGLYPH",n[n.MI=69]="MI",n[n.MO=70]="MO",n[n.MN=71]="MN",n[n.MS=72]="MS",n[n.MTEXT=73]="MTEXT",n[n.NAV=74]="NAV",n[n.NOBR=75]="NOBR",n[n.NOFRAMES=76]="NOFRAMES",n[n.NOEMBED=77]="NOEMBED",n[n.NOSCRIPT=78]="NOSCRIPT",n[n.OBJECT=79]="OBJECT",n[n.OL=80]="OL",n[n.OPTGROUP=81]="OPTGROUP",n[n.OPTION=82]="OPTION",n[n.P=83]="P",n[n.PARAM=84]="PARAM",n[n.PLAINTEXT=85]="PLAINTEXT",n[n.PRE=86]="PRE",n[n.RB=87]="RB",n[n.RP=88]="RP",n[n.RT=89]="RT",n[n.RTC=90]="RTC",n[n.RUBY=91]="RUBY",n[n.S=92]="S",n[n.SCRIPT=93]="SCRIPT",n[n.SEARCH=94]="SEARCH",n[n.SECTION=95]="SECTION",n[n.SELECT=96]="SELECT",n[n.SOURCE=97]="SOURCE",n[n.SMALL=98]="SMALL",n[n.SPAN=99]="SPAN",n[n.STRIKE=100]="STRIKE",n[n.STRONG=101]="STRONG",n[n.STYLE=102]="STYLE",n[n.SUB=103]="SUB",n[n.SUMMARY=104]="SUMMARY",n[n.SUP=105]="SUP",n[n.TABLE=106]="TABLE",n[n.TBODY=107]="TBODY",n[n.TEMPLATE=108]="TEMPLATE",n[n.TEXTAREA=109]="TEXTAREA",n[n.TFOOT=110]="TFOOT",n[n.TD=111]="TD",n[n.TH=112]="TH",n[n.THEAD=113]="THEAD",n[n.TITLE=114]="TITLE",n[n.TR=115]="TR",n[n.TRACK=116]="TRACK",n[n.TT=117]="TT",n[n.U=118]="U",n[n.UL=119]="UL",n[n.SVG=120]="SVG",n[n.VAR=121]="VAR",n[n.WBR=122]="WBR",n[n.XMP=123]="XMP"})(g||(g={}));const Yt=new Map([[Te.A,g.A],[Te.ADDRESS,g.ADDRESS],[Te.ANNOTATION_XML,g.ANNOTATION_XML],[Te.APPLET,g.APPLET],[Te.AREA,g.AREA],[Te.ARTICLE,g.ARTICLE],[Te.ASIDE,g.ASIDE],[Te.B,g.B],[Te.BASE,g.BASE],[Te.BASEFONT,g.BASEFONT],[Te.BGSOUND,g.BGSOUND],[Te.BIG,g.BIG],[Te.BLOCKQUOTE,g.BLOCKQUOTE],[Te.BODY,g.BODY],[Te.BR,g.BR],[Te.BUTTON,g.BUTTON],[Te.CAPTION,g.CAPTION],[Te.CENTER,g.CENTER],[Te.CODE,g.CODE],[Te.COL,g.COL],[Te.COLGROUP,g.COLGROUP],[Te.DD,g.DD],[Te.DESC,g.DESC],[Te.DETAILS,g.DETAILS],[Te.DIALOG,g.DIALOG],[Te.DIR,g.DIR],[Te.DIV,g.DIV],[Te.DL,g.DL],[Te.DT,g.DT],[Te.EM,g.EM],[Te.EMBED,g.EMBED],[Te.FIELDSET,g.FIELDSET],[Te.FIGCAPTION,g.FIGCAPTION],[Te.FIGURE,g.FIGURE],[Te.FONT,g.FONT],[Te.FOOTER,g.FOOTER],[Te.FOREIGN_OBJECT,g.FOREIGN_OBJECT],[Te.FORM,g.FORM],[Te.FRAME,g.FRAME],[Te.FRAMESET,g.FRAMESET],[Te.H1,g.H1],[Te.H2,g.H2],[Te.H3,g.H3],[Te.H4,g.H4],[Te.H5,g.H5],[Te.H6,g.H6],[Te.HEAD,g.HEAD],[Te.HEADER,g.HEADER],[Te.HGROUP,g.HGROUP],[Te.HR,g.HR],[Te.HTML,g.HTML],[Te.I,g.I],[Te.IMG,g.IMG],[Te.IMAGE,g.IMAGE],[Te.INPUT,g.INPUT],[Te.IFRAME,g.IFRAME],[Te.KEYGEN,g.KEYGEN],[Te.LABEL,g.LABEL],[Te.LI,g.LI],[Te.LINK,g.LINK],[Te.LISTING,g.LISTING],[Te.MAIN,g.MAIN],[Te.MALIGNMARK,g.MALIGNMARK],[Te.MARQUEE,g.MARQUEE],[Te.MATH,g.MATH],[Te.MENU,g.MENU],[Te.META,g.META],[Te.MGLYPH,g.MGLYPH],[Te.MI,g.MI],[Te.MO,g.MO],[Te.MN,g.MN],[Te.MS,g.MS],[Te.MTEXT,g.MTEXT],[Te.NAV,g.NAV],[Te.NOBR,g.NOBR],[Te.NOFRAMES,g.NOFRAMES],[Te.NOEMBED,g.NOEMBED],[Te.NOSCRIPT,g.NOSCRIPT],[Te.OBJECT,g.OBJECT],[Te.OL,g.OL],[Te.OPTGROUP,g.OPTGROUP],[Te.OPTION,g.OPTION],[Te.P,g.P],[Te.PARAM,g.PARAM],[Te.PLAINTEXT,g.PLAINTEXT],[Te.PRE,g.PRE],[Te.RB,g.RB],[Te.RP,g.RP],[Te.RT,g.RT],[Te.RTC,g.RTC],[Te.RUBY,g.RUBY],[Te.S,g.S],[Te.SCRIPT,g.SCRIPT],[Te.SEARCH,g.SEARCH],[Te.SECTION,g.SECTION],[Te.SELECT,g.SELECT],[Te.SOURCE,g.SOURCE],[Te.SMALL,g.SMALL],[Te.SPAN,g.SPAN],[Te.STRIKE,g.STRIKE],[Te.STRONG,g.STRONG],[Te.STYLE,g.STYLE],[Te.SUB,g.SUB],[Te.SUMMARY,g.SUMMARY],[Te.SUP,g.SUP],[Te.TABLE,g.TABLE],[Te.TBODY,g.TBODY],[Te.TEMPLATE,g.TEMPLATE],[Te.TEXTAREA,g.TEXTAREA],[Te.TFOOT,g.TFOOT],[Te.TD,g.TD],[Te.TH,g.TH],[Te.THEAD,g.THEAD],[Te.TITLE,g.TITLE],[Te.TR,g.TR],[Te.TRACK,g.TRACK],[Te.TT,g.TT],[Te.U,g.U],[Te.UL,g.UL],[Te.SVG,g.SVG],[Te.VAR,g.VAR],[Te.WBR,g.WBR],[Te.XMP,g.XMP]]);function Jt(n){var a;return(a=Yt.get(n))!==null&&a!==void 0?a:g.UNKNOWN}const ze=g,yn={[me.HTML]:new Set([ze.ADDRESS,ze.APPLET,ze.AREA,ze.ARTICLE,ze.ASIDE,ze.BASE,ze.BASEFONT,ze.BGSOUND,ze.BLOCKQUOTE,ze.BODY,ze.BR,ze.BUTTON,ze.CAPTION,ze.CENTER,ze.COL,ze.COLGROUP,ze.DD,ze.DETAILS,ze.DIR,ze.DIV,ze.DL,ze.DT,ze.EMBED,ze.FIELDSET,ze.FIGCAPTION,ze.FIGURE,ze.FOOTER,ze.FORM,ze.FRAME,ze.FRAMESET,ze.H1,ze.H2,ze.H3,ze.H4,ze.H5,ze.H6,ze.HEAD,ze.HEADER,ze.HGROUP,ze.HR,ze.HTML,ze.IFRAME,ze.IMG,ze.INPUT,ze.LI,ze.LINK,ze.LISTING,ze.MAIN,ze.MARQUEE,ze.MENU,ze.META,ze.NAV,ze.NOEMBED,ze.NOFRAMES,ze.NOSCRIPT,ze.OBJECT,ze.OL,ze.P,ze.PARAM,ze.PLAINTEXT,ze.PRE,ze.SCRIPT,ze.SECTION,ze.SELECT,ze.SOURCE,ze.STYLE,ze.SUMMARY,ze.TABLE,ze.TBODY,ze.TD,ze.TEMPLATE,ze.TEXTAREA,ze.TFOOT,ze.TH,ze.THEAD,ze.TITLE,ze.TR,ze.TRACK,ze.UL,ze.WBR,ze.XMP]),[me.MATHML]:new Set([ze.MI,ze.MO,ze.MN,ze.MS,ze.MTEXT,ze.ANNOTATION_XML]),[me.SVG]:new Set([ze.TITLE,ze.FOREIGN_OBJECT,ze.DESC]),[me.XLINK]:new Set,[me.XML]:new Set,[me.XMLNS]:new Set},jt=new Set([ze.H1,ze.H2,ze.H3,ze.H4,ze.H5,ze.H6]),dn=new Set([Te.STYLE,Te.SCRIPT,Te.XMP,Te.IFRAME,Te.NOEMBED,Te.NOFRAMES,Te.PLAINTEXT]);function nn(n,a){return dn.has(n)||a&&n===Te.NOSCRIPT}var he;(function(n){n[n.DATA=0]="DATA",n[n.RCDATA=1]="RCDATA",n[n.RAWTEXT=2]="RAWTEXT",n[n.SCRIPT_DATA=3]="SCRIPT_DATA",n[n.PLAINTEXT=4]="PLAINTEXT",n[n.TAG_OPEN=5]="TAG_OPEN",n[n.END_TAG_OPEN=6]="END_TAG_OPEN",n[n.TAG_NAME=7]="TAG_NAME",n[n.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",n[n.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",n[n.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",n[n.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",n[n.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",n[n.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",n[n.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",n[n.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",n[n.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",n[n.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",n[n.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",n[n.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",n[n.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",n[n.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",n[n.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",n[n.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",n[n.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",n[n.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",n[n.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",n[n.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",n[n.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",n[n.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",n[n.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",n[n.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",n[n.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",n[n.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",n[n.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",n[n.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",n[n.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",n[n.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",n[n.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",n[n.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",n[n.BOGUS_COMMENT=40]="BOGUS_COMMENT",n[n.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",n[n.COMMENT_START=42]="COMMENT_START",n[n.COMMENT_START_DASH=43]="COMMENT_START_DASH",n[n.COMMENT=44]="COMMENT",n[n.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",n[n.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",n[n.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",n[n.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",n[n.COMMENT_END_DASH=49]="COMMENT_END_DASH",n[n.COMMENT_END=50]="COMMENT_END",n[n.COMMENT_END_BANG=51]="COMMENT_END_BANG",n[n.DOCTYPE=52]="DOCTYPE",n[n.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",n[n.DOCTYPE_NAME=54]="DOCTYPE_NAME",n[n.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",n[n.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",n[n.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",n[n.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",n[n.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",n[n.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",n[n.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",n[n.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",n[n.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",n[n.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",n[n.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",n[n.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",n[n.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",n[n.CDATA_SECTION=68]="CDATA_SECTION",n[n.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",n[n.CDATA_SECTION_END=70]="CDATA_SECTION_END",n[n.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",n[n.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(he||(he={}));const mn={DATA:he.DATA,RCDATA:he.RCDATA,RAWTEXT:he.RAWTEXT,SCRIPT_DATA:he.SCRIPT_DATA,PLAINTEXT:he.PLAINTEXT,CDATA_SECTION:he.CDATA_SECTION};function lr(n){return n>=Q.DIGIT_0&&n<=Q.DIGIT_9}function ur(n){return n>=Q.LATIN_CAPITAL_A&&n<=Q.LATIN_CAPITAL_Z}function fr(n){return n>=Q.LATIN_SMALL_A&&n<=Q.LATIN_SMALL_Z}function pr(n){return fr(n)||ur(n)}function Zn(n){return pr(n)||lr(n)}function hr(n){return n+32}function _r(n){return n===Q.SPACE||n===Q.LINE_FEED||n===Q.TABULATION||n===Q.FORM_FEED}function kr(n){return _r(n)||n===Q.SOLIDUS||n===Q.GREATER_THAN_SIGN}function Rr(n){return n===Q.NULL?Ke.nullCharacterReference:n>1114111?Ke.characterReferenceOutsideUnicodeRange:At(n)?Ke.surrogateCharacterReference:Xt(n)?Ke.noncharacterCharacterReference:tn(n)||n===Q.CARRIAGE_RETURN?Ke.controlCharacterReference:null}class zr{constructor(a,S){this.options=a,this.handler=S,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=he.DATA,this.returnState=he.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new cn(S),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new zn(gn,(ae,Ze)=>{this.preprocessor.pos=this.entityStartPos+Ze-1,this._flushCodePointConsumedAsCharacterReference(ae)},S.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(Ke.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:ae=>{this._err(Ke.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+ae)},validateNumericCharacterReference:ae=>{const Ze=Rr(ae);Ze&&this._err(Ze,1)}}:void 0)}_err(a,S=0){var ae,Ze;(Ze=(ae=this.handler).onParseError)===null||Ze===void 0||Ze.call(ae,this.preprocessor.getError(a,S))}getCurrentLocation(a){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-a,startOffset:this.preprocessor.offset-a,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const a=this._consume();this._ensureHibernation()||this._callState(a)}this.inLoop=!1}}pause(){this.paused=!0}resume(a){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||a==null||a())}write(a,S,ae){this.active=!0,this.preprocessor.write(a,S),this._runParsingLoop(),this.paused||ae==null||ae()}insertHtmlAtCurrentPos(a){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(a),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(a){this.consumedAfterSnapshot+=a;for(let S=0;S<a;S++)this.preprocessor.advance()}_consumeSequenceIfMatch(a,S){return this.preprocessor.startsWith(a,S)?(this._advanceBy(a.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:Ht.START_TAG,tagName:"",tagID:g.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Ht.END_TAG,tagName:"",tagID:g.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(a){this.currentToken={type:Ht.COMMENT,data:"",location:this.getCurrentLocation(a)}}_createDoctypeToken(a){this.currentToken={type:Ht.DOCTYPE,name:a,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(a,S){this.currentCharacterToken={type:a,chars:S,location:this.currentLocation}}_createAttr(a){this.currentAttr={name:a,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var a,S;const ae=this.currentToken;if(Kt(ae,this.currentAttr.name)===null){if(ae.attrs.push(this.currentAttr),ae.location&&this.currentLocation){const Ze=(a=(S=ae.location).attrs)!==null&&a!==void 0?a:S.attrs=Object.create(null);Ze[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(Ke.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(a){this._emitCurrentCharacterToken(a.location),this.currentToken=null,a.location&&(a.location.endLine=this.preprocessor.line,a.location.endCol=this.preprocessor.col+1,a.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const a=this.currentToken;this.prepareToken(a),a.tagID=Jt(a.tagName),a.type===Ht.START_TAG?(this.lastStartTagName=a.tagName,this.handler.onStartTag(a)):(a.attrs.length>0&&this._err(Ke.endTagWithAttributes),a.selfClosing&&this._err(Ke.endTagWithTrailingSolidus),this.handler.onEndTag(a)),this.preprocessor.dropParsedChunk()}emitCurrentComment(a){this.prepareToken(a),this.handler.onComment(a),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(a){this.prepareToken(a),this.handler.onDoctype(a),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(a){if(this.currentCharacterToken){switch(a&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=a.startLine,this.currentCharacterToken.location.endCol=a.startCol,this.currentCharacterToken.location.endOffset=a.startOffset),this.currentCharacterToken.type){case Ht.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Ht.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Ht.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const a=this.getCurrentLocation(0);a&&(a.endLine=a.startLine,a.endCol=a.startCol,a.endOffset=a.startOffset),this._emitCurrentCharacterToken(a),this.handler.onEof({type:Ht.EOF,location:a}),this.active=!1}_appendCharToCurrentCharacterToken(a,S){if(this.currentCharacterToken)if(this.currentCharacterToken.type===a){this.currentCharacterToken.chars+=S;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(a,S)}_emitCodePoint(a){const S=_r(a)?Ht.WHITESPACE_CHARACTER:a===Q.NULL?Ht.NULL_CHARACTER:Ht.CHARACTER;this._appendCharToCurrentCharacterToken(S,String.fromCodePoint(a))}_emitChars(a){this._appendCharToCurrentCharacterToken(Ht.CHARACTER,a)}_startCharacterReference(){this.returnState=this.state,this.state=he.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Mn.Attribute:Mn.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===he.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===he.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===he.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(a){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(a):this._emitCodePoint(a)}_callState(a){switch(this.state){case he.DATA:{this._stateData(a);break}case he.RCDATA:{this._stateRcdata(a);break}case he.RAWTEXT:{this._stateRawtext(a);break}case he.SCRIPT_DATA:{this._stateScriptData(a);break}case he.PLAINTEXT:{this._statePlaintext(a);break}case he.TAG_OPEN:{this._stateTagOpen(a);break}case he.END_TAG_OPEN:{this._stateEndTagOpen(a);break}case he.TAG_NAME:{this._stateTagName(a);break}case he.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(a);break}case he.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(a);break}case he.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(a);break}case he.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(a);break}case he.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(a);break}case he.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(a);break}case he.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(a);break}case he.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(a);break}case he.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(a);break}case he.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(a);break}case he.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(a);break}case he.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(a);break}case he.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(a);break}case he.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(a);break}case he.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(a);break}case he.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(a);break}case he.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(a);break}case he.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(a);break}case he.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(a);break}case he.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(a);break}case he.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(a);break}case he.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(a);break}case he.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(a);break}case he.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(a);break}case he.ATTRIBUTE_NAME:{this._stateAttributeName(a);break}case he.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(a);break}case he.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(a);break}case he.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(a);break}case he.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(a);break}case he.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(a);break}case he.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(a);break}case he.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(a);break}case he.BOGUS_COMMENT:{this._stateBogusComment(a);break}case he.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(a);break}case he.COMMENT_START:{this._stateCommentStart(a);break}case he.COMMENT_START_DASH:{this._stateCommentStartDash(a);break}case he.COMMENT:{this._stateComment(a);break}case he.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(a);break}case he.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(a);break}case he.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(a);break}case he.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(a);break}case he.COMMENT_END_DASH:{this._stateCommentEndDash(a);break}case he.COMMENT_END:{this._stateCommentEnd(a);break}case he.COMMENT_END_BANG:{this._stateCommentEndBang(a);break}case he.DOCTYPE:{this._stateDoctype(a);break}case he.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(a);break}case he.DOCTYPE_NAME:{this._stateDoctypeName(a);break}case he.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(a);break}case he.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(a);break}case he.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(a);break}case he.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(a);break}case he.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(a);break}case he.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(a);break}case he.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(a);break}case he.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(a);break}case he.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(a);break}case he.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(a);break}case he.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(a);break}case he.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(a);break}case he.BOGUS_DOCTYPE:{this._stateBogusDoctype(a);break}case he.CDATA_SECTION:{this._stateCdataSection(a);break}case he.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(a);break}case he.CDATA_SECTION_END:{this._stateCdataSectionEnd(a);break}case he.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case he.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(a);break}default:throw new Error("Unknown state")}}_stateData(a){switch(a){case Q.LESS_THAN_SIGN:{this.state=he.TAG_OPEN;break}case Q.AMPERSAND:{this._startCharacterReference();break}case Q.NULL:{this._err(Ke.unexpectedNullCharacter),this._emitCodePoint(a);break}case Q.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(a)}}_stateRcdata(a){switch(a){case Q.AMPERSAND:{this._startCharacterReference();break}case Q.LESS_THAN_SIGN:{this.state=he.RCDATA_LESS_THAN_SIGN;break}case Q.NULL:{this._err(Ke.unexpectedNullCharacter),this._emitChars(tt);break}case Q.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(a)}}_stateRawtext(a){switch(a){case Q.LESS_THAN_SIGN:{this.state=he.RAWTEXT_LESS_THAN_SIGN;break}case Q.NULL:{this._err(Ke.unexpectedNullCharacter),this._emitChars(tt);break}case Q.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(a)}}_stateScriptData(a){switch(a){case Q.LESS_THAN_SIGN:{this.state=he.SCRIPT_DATA_LESS_THAN_SIGN;break}case Q.NULL:{this._err(Ke.unexpectedNullCharacter),this._emitChars(tt);break}case Q.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(a)}}_statePlaintext(a){switch(a){case Q.NULL:{this._err(Ke.unexpectedNullCharacter),this._emitChars(tt);break}case Q.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(a)}}_stateTagOpen(a){if(pr(a))this._createStartTagToken(),this.state=he.TAG_NAME,this._stateTagName(a);else switch(a){case Q.EXCLAMATION_MARK:{this.state=he.MARKUP_DECLARATION_OPEN;break}case Q.SOLIDUS:{this.state=he.END_TAG_OPEN;break}case Q.QUESTION_MARK:{this._err(Ke.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=he.BOGUS_COMMENT,this._stateBogusComment(a);break}case Q.EOF:{this._err(Ke.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(Ke.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=he.DATA,this._stateData(a)}}_stateEndTagOpen(a){if(pr(a))this._createEndTagToken(),this.state=he.TAG_NAME,this._stateTagName(a);else switch(a){case Q.GREATER_THAN_SIGN:{this._err(Ke.missingEndTagName),this.state=he.DATA;break}case Q.EOF:{this._err(Ke.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(Ke.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=he.BOGUS_COMMENT,this._stateBogusComment(a)}}_stateTagName(a){const S=this.currentToken;switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:{this.state=he.BEFORE_ATTRIBUTE_NAME;break}case Q.SOLIDUS:{this.state=he.SELF_CLOSING_START_TAG;break}case Q.GREATER_THAN_SIGN:{this.state=he.DATA,this.emitCurrentTagToken();break}case Q.NULL:{this._err(Ke.unexpectedNullCharacter),S.tagName+=tt;break}case Q.EOF:{this._err(Ke.eofInTag),this._emitEOFToken();break}default:S.tagName+=String.fromCodePoint(ur(a)?hr(a):a)}}_stateRcdataLessThanSign(a){a===Q.SOLIDUS?this.state=he.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=he.RCDATA,this._stateRcdata(a))}_stateRcdataEndTagOpen(a){pr(a)?(this.state=he.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(a)):(this._emitChars("</"),this.state=he.RCDATA,this._stateRcdata(a))}handleSpecialEndTag(a){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const S=this.currentToken;switch(S.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=he.BEFORE_ATTRIBUTE_NAME,!1;case Q.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=he.SELF_CLOSING_START_TAG,!1;case Q.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=he.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(a){this.handleSpecialEndTag(a)&&(this._emitChars("</"),this.state=he.RCDATA,this._stateRcdata(a))}_stateRawtextLessThanSign(a){a===Q.SOLIDUS?this.state=he.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=he.RAWTEXT,this._stateRawtext(a))}_stateRawtextEndTagOpen(a){pr(a)?(this.state=he.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(a)):(this._emitChars("</"),this.state=he.RAWTEXT,this._stateRawtext(a))}_stateRawtextEndTagName(a){this.handleSpecialEndTag(a)&&(this._emitChars("</"),this.state=he.RAWTEXT,this._stateRawtext(a))}_stateScriptDataLessThanSign(a){switch(a){case Q.SOLIDUS:{this.state=he.SCRIPT_DATA_END_TAG_OPEN;break}case Q.EXCLAMATION_MARK:{this.state=he.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=he.SCRIPT_DATA,this._stateScriptData(a)}}_stateScriptDataEndTagOpen(a){pr(a)?(this.state=he.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(a)):(this._emitChars("</"),this.state=he.SCRIPT_DATA,this._stateScriptData(a))}_stateScriptDataEndTagName(a){this.handleSpecialEndTag(a)&&(this._emitChars("</"),this.state=he.SCRIPT_DATA,this._stateScriptData(a))}_stateScriptDataEscapeStart(a){a===Q.HYPHEN_MINUS?(this.state=he.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=he.SCRIPT_DATA,this._stateScriptData(a))}_stateScriptDataEscapeStartDash(a){a===Q.HYPHEN_MINUS?(this.state=he.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=he.SCRIPT_DATA,this._stateScriptData(a))}_stateScriptDataEscaped(a){switch(a){case Q.HYPHEN_MINUS:{this.state=he.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case Q.LESS_THAN_SIGN:{this.state=he.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Q.NULL:{this._err(Ke.unexpectedNullCharacter),this._emitChars(tt);break}case Q.EOF:{this._err(Ke.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(a)}}_stateScriptDataEscapedDash(a){switch(a){case Q.HYPHEN_MINUS:{this.state=he.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case Q.LESS_THAN_SIGN:{this.state=he.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Q.NULL:{this._err(Ke.unexpectedNullCharacter),this.state=he.SCRIPT_DATA_ESCAPED,this._emitChars(tt);break}case Q.EOF:{this._err(Ke.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=he.SCRIPT_DATA_ESCAPED,this._emitCodePoint(a)}}_stateScriptDataEscapedDashDash(a){switch(a){case Q.HYPHEN_MINUS:{this._emitChars("-");break}case Q.LESS_THAN_SIGN:{this.state=he.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Q.GREATER_THAN_SIGN:{this.state=he.SCRIPT_DATA,this._emitChars(">");break}case Q.NULL:{this._err(Ke.unexpectedNullCharacter),this.state=he.SCRIPT_DATA_ESCAPED,this._emitChars(tt);break}case Q.EOF:{this._err(Ke.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=he.SCRIPT_DATA_ESCAPED,this._emitCodePoint(a)}}_stateScriptDataEscapedLessThanSign(a){a===Q.SOLIDUS?this.state=he.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:pr(a)?(this._emitChars("<"),this.state=he.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(a)):(this._emitChars("<"),this.state=he.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(a))}_stateScriptDataEscapedEndTagOpen(a){pr(a)?(this.state=he.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(a)):(this._emitChars("</"),this.state=he.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(a))}_stateScriptDataEscapedEndTagName(a){this.handleSpecialEndTag(a)&&(this._emitChars("</"),this.state=he.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(a))}_stateScriptDataDoubleEscapeStart(a){if(this.preprocessor.startsWith(Et.SCRIPT,!1)&&kr(this.preprocessor.peek(Et.SCRIPT.length))){this._emitCodePoint(a);for(let S=0;S<Et.SCRIPT.length;S++)this._emitCodePoint(this._consume());this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=he.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(a))}_stateScriptDataDoubleEscaped(a){switch(a){case Q.HYPHEN_MINUS:{this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case Q.LESS_THAN_SIGN:{this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case Q.NULL:{this._err(Ke.unexpectedNullCharacter),this._emitChars(tt);break}case Q.EOF:{this._err(Ke.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(a)}}_stateScriptDataDoubleEscapedDash(a){switch(a){case Q.HYPHEN_MINUS:{this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case Q.LESS_THAN_SIGN:{this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case Q.NULL:{this._err(Ke.unexpectedNullCharacter),this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(tt);break}case Q.EOF:{this._err(Ke.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(a)}}_stateScriptDataDoubleEscapedDashDash(a){switch(a){case Q.HYPHEN_MINUS:{this._emitChars("-");break}case Q.LESS_THAN_SIGN:{this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case Q.GREATER_THAN_SIGN:{this.state=he.SCRIPT_DATA,this._emitChars(">");break}case Q.NULL:{this._err(Ke.unexpectedNullCharacter),this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(tt);break}case Q.EOF:{this._err(Ke.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(a)}}_stateScriptDataDoubleEscapedLessThanSign(a){a===Q.SOLIDUS?(this.state=he.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(a))}_stateScriptDataDoubleEscapeEnd(a){if(this.preprocessor.startsWith(Et.SCRIPT,!1)&&kr(this.preprocessor.peek(Et.SCRIPT.length))){this._emitCodePoint(a);for(let S=0;S<Et.SCRIPT.length;S++)this._emitCodePoint(this._consume());this.state=he.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=he.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(a))}_stateBeforeAttributeName(a){switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.SOLIDUS:case Q.GREATER_THAN_SIGN:case Q.EOF:{this.state=he.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(a);break}case Q.EQUALS_SIGN:{this._err(Ke.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=he.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=he.ATTRIBUTE_NAME,this._stateAttributeName(a)}}_stateAttributeName(a){switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:case Q.SOLIDUS:case Q.GREATER_THAN_SIGN:case Q.EOF:{this._leaveAttrName(),this.state=he.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(a);break}case Q.EQUALS_SIGN:{this._leaveAttrName(),this.state=he.BEFORE_ATTRIBUTE_VALUE;break}case Q.QUOTATION_MARK:case Q.APOSTROPHE:case Q.LESS_THAN_SIGN:{this._err(Ke.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(a);break}case Q.NULL:{this._err(Ke.unexpectedNullCharacter),this.currentAttr.name+=tt;break}default:this.currentAttr.name+=String.fromCodePoint(ur(a)?hr(a):a)}}_stateAfterAttributeName(a){switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.SOLIDUS:{this.state=he.SELF_CLOSING_START_TAG;break}case Q.EQUALS_SIGN:{this.state=he.BEFORE_ATTRIBUTE_VALUE;break}case Q.GREATER_THAN_SIGN:{this.state=he.DATA,this.emitCurrentTagToken();break}case Q.EOF:{this._err(Ke.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=he.ATTRIBUTE_NAME,this._stateAttributeName(a)}}_stateBeforeAttributeValue(a){switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.QUOTATION_MARK:{this.state=he.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case Q.APOSTROPHE:{this.state=he.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case Q.GREATER_THAN_SIGN:{this._err(Ke.missingAttributeValue),this.state=he.DATA,this.emitCurrentTagToken();break}default:this.state=he.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(a)}}_stateAttributeValueDoubleQuoted(a){switch(a){case Q.QUOTATION_MARK:{this.state=he.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case Q.AMPERSAND:{this._startCharacterReference();break}case Q.NULL:{this._err(Ke.unexpectedNullCharacter),this.currentAttr.value+=tt;break}case Q.EOF:{this._err(Ke.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(a)}}_stateAttributeValueSingleQuoted(a){switch(a){case Q.APOSTROPHE:{this.state=he.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case Q.AMPERSAND:{this._startCharacterReference();break}case Q.NULL:{this._err(Ke.unexpectedNullCharacter),this.currentAttr.value+=tt;break}case Q.EOF:{this._err(Ke.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(a)}}_stateAttributeValueUnquoted(a){switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:{this._leaveAttrValue(),this.state=he.BEFORE_ATTRIBUTE_NAME;break}case Q.AMPERSAND:{this._startCharacterReference();break}case Q.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=he.DATA,this.emitCurrentTagToken();break}case Q.NULL:{this._err(Ke.unexpectedNullCharacter),this.currentAttr.value+=tt;break}case Q.QUOTATION_MARK:case Q.APOSTROPHE:case Q.LESS_THAN_SIGN:case Q.EQUALS_SIGN:case Q.GRAVE_ACCENT:{this._err(Ke.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(a);break}case Q.EOF:{this._err(Ke.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(a)}}_stateAfterAttributeValueQuoted(a){switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:{this._leaveAttrValue(),this.state=he.BEFORE_ATTRIBUTE_NAME;break}case Q.SOLIDUS:{this._leaveAttrValue(),this.state=he.SELF_CLOSING_START_TAG;break}case Q.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=he.DATA,this.emitCurrentTagToken();break}case Q.EOF:{this._err(Ke.eofInTag),this._emitEOFToken();break}default:this._err(Ke.missingWhitespaceBetweenAttributes),this.state=he.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(a)}}_stateSelfClosingStartTag(a){switch(a){case Q.GREATER_THAN_SIGN:{const S=this.currentToken;S.selfClosing=!0,this.state=he.DATA,this.emitCurrentTagToken();break}case Q.EOF:{this._err(Ke.eofInTag),this._emitEOFToken();break}default:this._err(Ke.unexpectedSolidusInTag),this.state=he.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(a)}}_stateBogusComment(a){const S=this.currentToken;switch(a){case Q.GREATER_THAN_SIGN:{this.state=he.DATA,this.emitCurrentComment(S);break}case Q.EOF:{this.emitCurrentComment(S),this._emitEOFToken();break}case Q.NULL:{this._err(Ke.unexpectedNullCharacter),S.data+=tt;break}default:S.data+=String.fromCodePoint(a)}}_stateMarkupDeclarationOpen(a){this._consumeSequenceIfMatch(Et.DASH_DASH,!0)?(this._createCommentToken(Et.DASH_DASH.length+1),this.state=he.COMMENT_START):this._consumeSequenceIfMatch(Et.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Et.DOCTYPE.length+1),this.state=he.DOCTYPE):this._consumeSequenceIfMatch(Et.CDATA_START,!0)?this.inForeignNode?this.state=he.CDATA_SECTION:(this._err(Ke.cdataInHtmlContent),this._createCommentToken(Et.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=he.BOGUS_COMMENT):this._ensureHibernation()||(this._err(Ke.incorrectlyOpenedComment),this._createCommentToken(2),this.state=he.BOGUS_COMMENT,this._stateBogusComment(a))}_stateCommentStart(a){switch(a){case Q.HYPHEN_MINUS:{this.state=he.COMMENT_START_DASH;break}case Q.GREATER_THAN_SIGN:{this._err(Ke.abruptClosingOfEmptyComment),this.state=he.DATA;const S=this.currentToken;this.emitCurrentComment(S);break}default:this.state=he.COMMENT,this._stateComment(a)}}_stateCommentStartDash(a){const S=this.currentToken;switch(a){case Q.HYPHEN_MINUS:{this.state=he.COMMENT_END;break}case Q.GREATER_THAN_SIGN:{this._err(Ke.abruptClosingOfEmptyComment),this.state=he.DATA,this.emitCurrentComment(S);break}case Q.EOF:{this._err(Ke.eofInComment),this.emitCurrentComment(S),this._emitEOFToken();break}default:S.data+="-",this.state=he.COMMENT,this._stateComment(a)}}_stateComment(a){const S=this.currentToken;switch(a){case Q.HYPHEN_MINUS:{this.state=he.COMMENT_END_DASH;break}case Q.LESS_THAN_SIGN:{S.data+="<",this.state=he.COMMENT_LESS_THAN_SIGN;break}case Q.NULL:{this._err(Ke.unexpectedNullCharacter),S.data+=tt;break}case Q.EOF:{this._err(Ke.eofInComment),this.emitCurrentComment(S),this._emitEOFToken();break}default:S.data+=String.fromCodePoint(a)}}_stateCommentLessThanSign(a){const S=this.currentToken;switch(a){case Q.EXCLAMATION_MARK:{S.data+="!",this.state=he.COMMENT_LESS_THAN_SIGN_BANG;break}case Q.LESS_THAN_SIGN:{S.data+="<";break}default:this.state=he.COMMENT,this._stateComment(a)}}_stateCommentLessThanSignBang(a){a===Q.HYPHEN_MINUS?this.state=he.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=he.COMMENT,this._stateComment(a))}_stateCommentLessThanSignBangDash(a){a===Q.HYPHEN_MINUS?this.state=he.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=he.COMMENT_END_DASH,this._stateCommentEndDash(a))}_stateCommentLessThanSignBangDashDash(a){a!==Q.GREATER_THAN_SIGN&&a!==Q.EOF&&this._err(Ke.nestedComment),this.state=he.COMMENT_END,this._stateCommentEnd(a)}_stateCommentEndDash(a){const S=this.currentToken;switch(a){case Q.HYPHEN_MINUS:{this.state=he.COMMENT_END;break}case Q.EOF:{this._err(Ke.eofInComment),this.emitCurrentComment(S),this._emitEOFToken();break}default:S.data+="-",this.state=he.COMMENT,this._stateComment(a)}}_stateCommentEnd(a){const S=this.currentToken;switch(a){case Q.GREATER_THAN_SIGN:{this.state=he.DATA,this.emitCurrentComment(S);break}case Q.EXCLAMATION_MARK:{this.state=he.COMMENT_END_BANG;break}case Q.HYPHEN_MINUS:{S.data+="-";break}case Q.EOF:{this._err(Ke.eofInComment),this.emitCurrentComment(S),this._emitEOFToken();break}default:S.data+="--",this.state=he.COMMENT,this._stateComment(a)}}_stateCommentEndBang(a){const S=this.currentToken;switch(a){case Q.HYPHEN_MINUS:{S.data+="--!",this.state=he.COMMENT_END_DASH;break}case Q.GREATER_THAN_SIGN:{this._err(Ke.incorrectlyClosedComment),this.state=he.DATA,this.emitCurrentComment(S);break}case Q.EOF:{this._err(Ke.eofInComment),this.emitCurrentComment(S),this._emitEOFToken();break}default:S.data+="--!",this.state=he.COMMENT,this._stateComment(a)}}_stateDoctype(a){switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:{this.state=he.BEFORE_DOCTYPE_NAME;break}case Q.GREATER_THAN_SIGN:{this.state=he.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(a);break}case Q.EOF:{this._err(Ke.eofInDoctype),this._createDoctypeToken(null);const S=this.currentToken;S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:this._err(Ke.missingWhitespaceBeforeDoctypeName),this.state=he.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(a)}}_stateBeforeDoctypeName(a){if(ur(a))this._createDoctypeToken(String.fromCharCode(hr(a))),this.state=he.DOCTYPE_NAME;else switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.NULL:{this._err(Ke.unexpectedNullCharacter),this._createDoctypeToken(tt),this.state=he.DOCTYPE_NAME;break}case Q.GREATER_THAN_SIGN:{this._err(Ke.missingDoctypeName),this._createDoctypeToken(null);const S=this.currentToken;S.forceQuirks=!0,this.emitCurrentDoctype(S),this.state=he.DATA;break}case Q.EOF:{this._err(Ke.eofInDoctype),this._createDoctypeToken(null);const S=this.currentToken;S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(a)),this.state=he.DOCTYPE_NAME}}_stateDoctypeName(a){const S=this.currentToken;switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:{this.state=he.AFTER_DOCTYPE_NAME;break}case Q.GREATER_THAN_SIGN:{this.state=he.DATA,this.emitCurrentDoctype(S);break}case Q.NULL:{this._err(Ke.unexpectedNullCharacter),S.name+=tt;break}case Q.EOF:{this._err(Ke.eofInDoctype),S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:S.name+=String.fromCodePoint(ur(a)?hr(a):a)}}_stateAfterDoctypeName(a){const S=this.currentToken;switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.GREATER_THAN_SIGN:{this.state=he.DATA,this.emitCurrentDoctype(S);break}case Q.EOF:{this._err(Ke.eofInDoctype),S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Et.PUBLIC,!1)?this.state=he.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Et.SYSTEM,!1)?this.state=he.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(Ke.invalidCharacterSequenceAfterDoctypeName),S.forceQuirks=!0,this.state=he.BOGUS_DOCTYPE,this._stateBogusDoctype(a))}}_stateAfterDoctypePublicKeyword(a){const S=this.currentToken;switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:{this.state=he.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case Q.QUOTATION_MARK:{this._err(Ke.missingWhitespaceAfterDoctypePublicKeyword),S.publicId="",this.state=he.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case Q.APOSTROPHE:{this._err(Ke.missingWhitespaceAfterDoctypePublicKeyword),S.publicId="",this.state=he.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case Q.GREATER_THAN_SIGN:{this._err(Ke.missingDoctypePublicIdentifier),S.forceQuirks=!0,this.state=he.DATA,this.emitCurrentDoctype(S);break}case Q.EOF:{this._err(Ke.eofInDoctype),S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:this._err(Ke.missingQuoteBeforeDoctypePublicIdentifier),S.forceQuirks=!0,this.state=he.BOGUS_DOCTYPE,this._stateBogusDoctype(a)}}_stateBeforeDoctypePublicIdentifier(a){const S=this.currentToken;switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.QUOTATION_MARK:{S.publicId="",this.state=he.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case Q.APOSTROPHE:{S.publicId="",this.state=he.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case Q.GREATER_THAN_SIGN:{this._err(Ke.missingDoctypePublicIdentifier),S.forceQuirks=!0,this.state=he.DATA,this.emitCurrentDoctype(S);break}case Q.EOF:{this._err(Ke.eofInDoctype),S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:this._err(Ke.missingQuoteBeforeDoctypePublicIdentifier),S.forceQuirks=!0,this.state=he.BOGUS_DOCTYPE,this._stateBogusDoctype(a)}}_stateDoctypePublicIdentifierDoubleQuoted(a){const S=this.currentToken;switch(a){case Q.QUOTATION_MARK:{this.state=he.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case Q.NULL:{this._err(Ke.unexpectedNullCharacter),S.publicId+=tt;break}case Q.GREATER_THAN_SIGN:{this._err(Ke.abruptDoctypePublicIdentifier),S.forceQuirks=!0,this.emitCurrentDoctype(S),this.state=he.DATA;break}case Q.EOF:{this._err(Ke.eofInDoctype),S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:S.publicId+=String.fromCodePoint(a)}}_stateDoctypePublicIdentifierSingleQuoted(a){const S=this.currentToken;switch(a){case Q.APOSTROPHE:{this.state=he.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case Q.NULL:{this._err(Ke.unexpectedNullCharacter),S.publicId+=tt;break}case Q.GREATER_THAN_SIGN:{this._err(Ke.abruptDoctypePublicIdentifier),S.forceQuirks=!0,this.emitCurrentDoctype(S),this.state=he.DATA;break}case Q.EOF:{this._err(Ke.eofInDoctype),S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:S.publicId+=String.fromCodePoint(a)}}_stateAfterDoctypePublicIdentifier(a){const S=this.currentToken;switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:{this.state=he.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case Q.GREATER_THAN_SIGN:{this.state=he.DATA,this.emitCurrentDoctype(S);break}case Q.QUOTATION_MARK:{this._err(Ke.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),S.systemId="",this.state=he.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Q.APOSTROPHE:{this._err(Ke.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),S.systemId="",this.state=he.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Q.EOF:{this._err(Ke.eofInDoctype),S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:this._err(Ke.missingQuoteBeforeDoctypeSystemIdentifier),S.forceQuirks=!0,this.state=he.BOGUS_DOCTYPE,this._stateBogusDoctype(a)}}_stateBetweenDoctypePublicAndSystemIdentifiers(a){const S=this.currentToken;switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.GREATER_THAN_SIGN:{this.emitCurrentDoctype(S),this.state=he.DATA;break}case Q.QUOTATION_MARK:{S.systemId="",this.state=he.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Q.APOSTROPHE:{S.systemId="",this.state=he.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Q.EOF:{this._err(Ke.eofInDoctype),S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:this._err(Ke.missingQuoteBeforeDoctypeSystemIdentifier),S.forceQuirks=!0,this.state=he.BOGUS_DOCTYPE,this._stateBogusDoctype(a)}}_stateAfterDoctypeSystemKeyword(a){const S=this.currentToken;switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:{this.state=he.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case Q.QUOTATION_MARK:{this._err(Ke.missingWhitespaceAfterDoctypeSystemKeyword),S.systemId="",this.state=he.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Q.APOSTROPHE:{this._err(Ke.missingWhitespaceAfterDoctypeSystemKeyword),S.systemId="",this.state=he.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Q.GREATER_THAN_SIGN:{this._err(Ke.missingDoctypeSystemIdentifier),S.forceQuirks=!0,this.state=he.DATA,this.emitCurrentDoctype(S);break}case Q.EOF:{this._err(Ke.eofInDoctype),S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:this._err(Ke.missingQuoteBeforeDoctypeSystemIdentifier),S.forceQuirks=!0,this.state=he.BOGUS_DOCTYPE,this._stateBogusDoctype(a)}}_stateBeforeDoctypeSystemIdentifier(a){const S=this.currentToken;switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.QUOTATION_MARK:{S.systemId="",this.state=he.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Q.APOSTROPHE:{S.systemId="",this.state=he.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Q.GREATER_THAN_SIGN:{this._err(Ke.missingDoctypeSystemIdentifier),S.forceQuirks=!0,this.state=he.DATA,this.emitCurrentDoctype(S);break}case Q.EOF:{this._err(Ke.eofInDoctype),S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:this._err(Ke.missingQuoteBeforeDoctypeSystemIdentifier),S.forceQuirks=!0,this.state=he.BOGUS_DOCTYPE,this._stateBogusDoctype(a)}}_stateDoctypeSystemIdentifierDoubleQuoted(a){const S=this.currentToken;switch(a){case Q.QUOTATION_MARK:{this.state=he.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case Q.NULL:{this._err(Ke.unexpectedNullCharacter),S.systemId+=tt;break}case Q.GREATER_THAN_SIGN:{this._err(Ke.abruptDoctypeSystemIdentifier),S.forceQuirks=!0,this.emitCurrentDoctype(S),this.state=he.DATA;break}case Q.EOF:{this._err(Ke.eofInDoctype),S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:S.systemId+=String.fromCodePoint(a)}}_stateDoctypeSystemIdentifierSingleQuoted(a){const S=this.currentToken;switch(a){case Q.APOSTROPHE:{this.state=he.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case Q.NULL:{this._err(Ke.unexpectedNullCharacter),S.systemId+=tt;break}case Q.GREATER_THAN_SIGN:{this._err(Ke.abruptDoctypeSystemIdentifier),S.forceQuirks=!0,this.emitCurrentDoctype(S),this.state=he.DATA;break}case Q.EOF:{this._err(Ke.eofInDoctype),S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:S.systemId+=String.fromCodePoint(a)}}_stateAfterDoctypeSystemIdentifier(a){const S=this.currentToken;switch(a){case Q.SPACE:case Q.LINE_FEED:case Q.TABULATION:case Q.FORM_FEED:break;case Q.GREATER_THAN_SIGN:{this.emitCurrentDoctype(S),this.state=he.DATA;break}case Q.EOF:{this._err(Ke.eofInDoctype),S.forceQuirks=!0,this.emitCurrentDoctype(S),this._emitEOFToken();break}default:this._err(Ke.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=he.BOGUS_DOCTYPE,this._stateBogusDoctype(a)}}_stateBogusDoctype(a){const S=this.currentToken;switch(a){case Q.GREATER_THAN_SIGN:{this.emitCurrentDoctype(S),this.state=he.DATA;break}case Q.NULL:{this._err(Ke.unexpectedNullCharacter);break}case Q.EOF:{this.emitCurrentDoctype(S),this._emitEOFToken();break}default:}}_stateCdataSection(a){switch(a){case Q.RIGHT_SQUARE_BRACKET:{this.state=he.CDATA_SECTION_BRACKET;break}case Q.EOF:{this._err(Ke.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(a)}}_stateCdataSectionBracket(a){a===Q.RIGHT_SQUARE_BRACKET?this.state=he.CDATA_SECTION_END:(this._emitChars("]"),this.state=he.CDATA_SECTION,this._stateCdataSection(a))}_stateCdataSectionEnd(a){switch(a){case Q.GREATER_THAN_SIGN:{this.state=he.DATA;break}case Q.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=he.CDATA_SECTION,this._stateCdataSection(a)}}_stateCharacterReference(){let a=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(a<0)if(this.preprocessor.lastChunkWritten)a=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}a===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(Q.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&Zn(this.preprocessor.peek(1))?he.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(a){Zn(a)?this._flushCodePointConsumedAsCharacterReference(a):(a===Q.SEMICOLON&&this._err(Ke.unknownNamedCharacterReference),this.state=this.returnState,this._callState(a))}}const Br=new Set([g.DD,g.DT,g.LI,g.OPTGROUP,g.OPTION,g.P,g.RB,g.RP,g.RT,g.RTC]),gr=new Set([...Br,g.CAPTION,g.COLGROUP,g.TBODY,g.TD,g.TFOOT,g.TH,g.THEAD,g.TR]),Gr=new Set([g.APPLET,g.CAPTION,g.HTML,g.MARQUEE,g.OBJECT,g.TABLE,g.TD,g.TEMPLATE,g.TH]),Wr=new Set([...Gr,g.OL,g.UL]),un=new Set([...Gr,g.BUTTON]),Rn=new Set([g.ANNOTATION_XML,g.MI,g.MN,g.MO,g.MS,g.MTEXT]),Pn=new Set([g.DESC,g.FOREIGN_OBJECT,g.TITLE]),or=new Set([g.TR,g.TEMPLATE,g.HTML]),mr=new Set([g.TBODY,g.TFOOT,g.THEAD,g.TEMPLATE,g.HTML]),Pr=new Set([g.TABLE,g.TEMPLATE,g.HTML]),sa=new Set([g.TD,g.TH]);class Ee{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(a,S,ae){this.treeAdapter=S,this.handler=ae,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=g.UNKNOWN,this.current=a}_indexOf(a){return this.items.lastIndexOf(a,this.stackTop)}_isInTemplate(){return this.currentTagId===g.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===me.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(a,S){this.stackTop++,this.items[this.stackTop]=a,this.current=a,this.tagIDs[this.stackTop]=S,this.currentTagId=S,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(a,S,!0)}pop(){const a=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(a,!0)}replace(a,S){const ae=this._indexOf(a);this.items[ae]=S,ae===this.stackTop&&(this.current=S)}insertAfter(a,S,ae){const Ze=this._indexOf(a)+1;this.items.splice(Ze,0,S),this.tagIDs.splice(Ze,0,ae),this.stackTop++,Ze===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,Ze===this.stackTop)}popUntilTagNamePopped(a){let S=this.stackTop+1;do S=this.tagIDs.lastIndexOf(a,S-1);while(S>0&&this.treeAdapter.getNamespaceURI(this.items[S])!==me.HTML);this.shortenToLength(Math.max(S,0))}shortenToLength(a){for(;this.stackTop>=a;){const S=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(S,this.stackTop<a)}}popUntilElementPopped(a){const S=this._indexOf(a);this.shortenToLength(Math.max(S,0))}popUntilPopped(a,S){const ae=this._indexOfTagNames(a,S);this.shortenToLength(Math.max(ae,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(jt,me.HTML)}popUntilTableCellPopped(){this.popUntilPopped(sa,me.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(a,S){for(let ae=this.stackTop;ae>=0;ae--)if(a.has(this.tagIDs[ae])&&this.treeAdapter.getNamespaceURI(this.items[ae])===S)return ae;return-1}clearBackTo(a,S){const ae=this._indexOfTagNames(a,S);this.shortenToLength(ae+1)}clearBackToTableContext(){this.clearBackTo(Pr,me.HTML)}clearBackToTableBodyContext(){this.clearBackTo(mr,me.HTML)}clearBackToTableRowContext(){this.clearBackTo(or,me.HTML)}remove(a){const S=this._indexOf(a);S>=0&&(S===this.stackTop?this.pop():(this.items.splice(S,1),this.tagIDs.splice(S,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(a,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===g.BODY?this.items[1]:null}contains(a){return this._indexOf(a)>-1}getCommonAncestor(a){const S=this._indexOf(a)-1;return S>=0?this.items[S]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===g.HTML}hasInDynamicScope(a,S){for(let ae=this.stackTop;ae>=0;ae--){const Ze=this.tagIDs[ae];switch(this.treeAdapter.getNamespaceURI(this.items[ae])){case me.HTML:{if(Ze===a)return!0;if(S.has(Ze))return!1;break}case me.SVG:{if(Pn.has(Ze))return!1;break}case me.MATHML:{if(Rn.has(Ze))return!1;break}}}return!0}hasInScope(a){return this.hasInDynamicScope(a,Gr)}hasInListItemScope(a){return this.hasInDynamicScope(a,Wr)}hasInButtonScope(a){return this.hasInDynamicScope(a,un)}hasNumberedHeaderInScope(){for(let a=this.stackTop;a>=0;a--){const S=this.tagIDs[a];switch(this.treeAdapter.getNamespaceURI(this.items[a])){case me.HTML:{if(jt.has(S))return!0;if(Gr.has(S))return!1;break}case me.SVG:{if(Pn.has(S))return!1;break}case me.MATHML:{if(Rn.has(S))return!1;break}}}return!0}hasInTableScope(a){for(let S=this.stackTop;S>=0;S--)if(this.treeAdapter.getNamespaceURI(this.items[S])===me.HTML)switch(this.tagIDs[S]){case a:return!0;case g.TABLE:case g.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let a=this.stackTop;a>=0;a--)if(this.treeAdapter.getNamespaceURI(this.items[a])===me.HTML)switch(this.tagIDs[a]){case g.TBODY:case g.THEAD:case g.TFOOT:return!0;case g.TABLE:case g.HTML:return!1}return!0}hasInSelectScope(a){for(let S=this.stackTop;S>=0;S--)if(this.treeAdapter.getNamespaceURI(this.items[S])===me.HTML)switch(this.tagIDs[S]){case a:return!0;case g.OPTION:case g.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Br.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&gr.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(a){for(;this.currentTagId!==void 0&&this.currentTagId!==a&&gr.has(this.currentTagId);)this.pop()}}const at=3;var We;(function(n){n[n.Marker=0]="Marker",n[n.Element=1]="Element"})(We||(We={}));const it={type:We.Marker};class mt{constructor(a){this.treeAdapter=a,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(a,S){const ae=[],Ze=S.length,Ct=this.treeAdapter.getTagName(a),zt=this.treeAdapter.getNamespaceURI(a);for(let Nn=0;Nn<this.entries.length;Nn++){const Xn=this.entries[Nn];if(Xn.type===We.Marker)break;const{element:Nt}=Xn;if(this.treeAdapter.getTagName(Nt)===Ct&&this.treeAdapter.getNamespaceURI(Nt)===zt){const an=this.treeAdapter.getAttrList(Nt);an.length===Ze&&ae.push({idx:Nn,attrs:an})}}return ae}_ensureNoahArkCondition(a){if(this.entries.length<at)return;const S=this.treeAdapter.getAttrList(a),ae=this._getNoahArkConditionCandidates(a,S);if(ae.length<at)return;const Ze=new Map(S.map(zt=>[zt.name,zt.value]));let Ct=0;for(let zt=0;zt<ae.length;zt++){const Nn=ae[zt];Nn.attrs.every(Xn=>Ze.get(Xn.name)===Xn.value)&&(Ct+=1,Ct>=at&&this.entries.splice(Nn.idx,1))}}insertMarker(){this.entries.unshift(it)}pushElement(a,S){this._ensureNoahArkCondition(a),this.entries.unshift({type:We.Element,element:a,token:S})}insertElementAfterBookmark(a,S){const ae=this.entries.indexOf(this.bookmark);this.entries.splice(ae,0,{type:We.Element,element:a,token:S})}removeEntry(a){const S=this.entries.indexOf(a);S!==-1&&this.entries.splice(S,1)}clearToLastMarker(){const a=this.entries.indexOf(it);a===-1?this.entries.length=0:this.entries.splice(0,a+1)}getElementEntryInScopeWithTagName(a){const S=this.entries.find(ae=>ae.type===We.Marker||this.treeAdapter.getTagName(ae.element)===a);return S&&S.type===We.Element?S:null}getElementEntry(a){return this.entries.find(S=>S.type===We.Element&&S.element===a)}}const yt={createDocument(){return{nodeName:"#document",mode:_t.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(n,a,S){return{nodeName:n,tagName:n,attrs:S,namespaceURI:a,childNodes:[],parentNode:null}},createCommentNode(n){return{nodeName:"#comment",data:n,parentNode:null}},createTextNode(n){return{nodeName:"#text",value:n,parentNode:null}},appendChild(n,a){n.childNodes.push(a),a.parentNode=n},insertBefore(n,a,S){const ae=n.childNodes.indexOf(S);n.childNodes.splice(ae,0,a),a.parentNode=n},setTemplateContent(n,a){n.content=a},getTemplateContent(n){return n.content},setDocumentType(n,a,S,ae){const Ze=n.childNodes.find(Ct=>Ct.nodeName==="#documentType");if(Ze)Ze.name=a,Ze.publicId=S,Ze.systemId=ae;else{const Ct={nodeName:"#documentType",name:a,publicId:S,systemId:ae,parentNode:null};yt.appendChild(n,Ct)}},setDocumentMode(n,a){n.mode=a},getDocumentMode(n){return n.mode},detachNode(n){if(n.parentNode){const a=n.parentNode.childNodes.indexOf(n);n.parentNode.childNodes.splice(a,1),n.parentNode=null}},insertText(n,a){if(n.childNodes.length>0){const S=n.childNodes[n.childNodes.length-1];if(yt.isTextNode(S)){S.value+=a;return}}yt.appendChild(n,yt.createTextNode(a))},insertTextBefore(n,a,S){const ae=n.childNodes[n.childNodes.indexOf(S)-1];ae&&yt.isTextNode(ae)?ae.value+=a:yt.insertBefore(n,yt.createTextNode(a),S)},adoptAttributes(n,a){const S=new Set(n.attrs.map(ae=>ae.name));for(let ae=0;ae<a.length;ae++)S.has(a[ae].name)||n.attrs.push(a[ae])},getFirstChild(n){return n.childNodes[0]},getChildNodes(n){return n.childNodes},getParentNode(n){return n.parentNode},getAttrList(n){return n.attrs},getTagName(n){return n.tagName},getNamespaceURI(n){return n.namespaceURI},getTextNodeContent(n){return n.value},getCommentNodeContent(n){return n.data},getDocumentTypeNodeName(n){return n.name},getDocumentTypeNodePublicId(n){return n.publicId},getDocumentTypeNodeSystemId(n){return n.systemId},isTextNode(n){return n.nodeName==="#text"},isCommentNode(n){return n.nodeName==="#comment"},isDocumentTypeNode(n){return n.nodeName==="#documentType"},isElementNode(n){return Object.prototype.hasOwnProperty.call(n,"tagName")},setNodeSourceCodeLocation(n,a){n.sourceCodeLocation=a},getNodeSourceCodeLocation(n){return n.sourceCodeLocation},updateNodeSourceCodeLocation(n,a){n.sourceCodeLocation=yr(yr({},n.sourceCodeLocation),a)}},Bt="html",Ot="about:legacy-compat",kt="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Ve=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],pt=[...Ve,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],gt=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),ht=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],xt=[...ht,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Wt(n,a){return a.some(S=>n.startsWith(S))}function sn(n){return n.name===Bt&&n.publicId===null&&(n.systemId===null||n.systemId===Ot)}function rn(n){if(n.name!==Bt)return _t.QUIRKS;const{systemId:a}=n;if(a&&a.toLowerCase()===kt)return _t.QUIRKS;let{publicId:S}=n;if(S!==null){if(S=S.toLowerCase(),gt.has(S))return _t.QUIRKS;let ae=a===null?pt:Ve;if(Wt(S,ae))return _t.QUIRKS;if(ae=a===null?ht:xt,Wt(S,ae))return _t.LIMITED_QUIRKS}return _t.NO_QUIRKS}const En={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Fn="definitionurl",vn="definitionURL",jn=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(n=>[n.toLowerCase(),n])),Sn=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:me.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:me.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:me.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:me.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:me.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:me.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:me.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:me.XML}],["xml:space",{prefix:"xml",name:"space",namespace:me.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:me.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:me.XMLNS}]]),Er=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(n=>[n.toLowerCase(),n])),vr=new Set([g.B,g.BIG,g.BLOCKQUOTE,g.BODY,g.BR,g.CENTER,g.CODE,g.DD,g.DIV,g.DL,g.DT,g.EM,g.EMBED,g.H1,g.H2,g.H3,g.H4,g.H5,g.H6,g.HEAD,g.HR,g.I,g.IMG,g.LI,g.LISTING,g.MENU,g.META,g.NOBR,g.OL,g.P,g.PRE,g.RUBY,g.S,g.SMALL,g.SPAN,g.STRONG,g.STRIKE,g.SUB,g.SUP,g.TABLE,g.TT,g.U,g.UL,g.VAR]);function br(n){const a=n.tagID;return a===g.FONT&&n.attrs.some(({name:ae})=>ae===St.COLOR||ae===St.SIZE||ae===St.FACE)||vr.has(a)}function Jn(n){for(let a=0;a<n.attrs.length;a++)if(n.attrs[a].name===Fn){n.attrs[a].name=vn;break}}function cr(n){for(let a=0;a<n.attrs.length;a++){const S=jn.get(n.attrs[a].name);S!=null&&(n.attrs[a].name=S)}}function Sr(n){for(let a=0;a<n.attrs.length;a++){const S=Sn.get(n.attrs[a].name);S&&(n.attrs[a].prefix=S.prefix,n.attrs[a].name=S.name,n.attrs[a].namespace=S.namespace)}}function nr(n){const a=Er.get(n.tagName);a!=null&&(n.tagName=a,n.tagID=Jt(n.tagName))}function sr(n,a){return a===me.MATHML&&(n===g.MI||n===g.MO||n===g.MN||n===g.MS||n===g.MTEXT)}function _n(n,a,S){if(a===me.MATHML&&n===g.ANNOTATION_XML){for(let ae=0;ae<S.length;ae++)if(S[ae].name===St.ENCODING){const Ze=S[ae].value.toLowerCase();return Ze===En.TEXT_HTML||Ze===En.APPLICATION_XML}}return a===me.SVG&&(n===g.FOREIGN_OBJECT||n===g.DESC||n===g.TITLE)}function fn(n,a,S,ae){return(!ae||ae===me.HTML)&&_n(n,a,S)||(!ae||ae===me.MATHML)&&sr(n,a)}const kn="hidden",Wn=8,er=3;var Ce;(function(n){n[n.INITIAL=0]="INITIAL",n[n.BEFORE_HTML=1]="BEFORE_HTML",n[n.BEFORE_HEAD=2]="BEFORE_HEAD",n[n.IN_HEAD=3]="IN_HEAD",n[n.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",n[n.AFTER_HEAD=5]="AFTER_HEAD",n[n.IN_BODY=6]="IN_BODY",n[n.TEXT=7]="TEXT",n[n.IN_TABLE=8]="IN_TABLE",n[n.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",n[n.IN_CAPTION=10]="IN_CAPTION",n[n.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",n[n.IN_TABLE_BODY=12]="IN_TABLE_BODY",n[n.IN_ROW=13]="IN_ROW",n[n.IN_CELL=14]="IN_CELL",n[n.IN_SELECT=15]="IN_SELECT",n[n.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",n[n.IN_TEMPLATE=17]="IN_TEMPLATE",n[n.AFTER_BODY=18]="AFTER_BODY",n[n.IN_FRAMESET=19]="IN_FRAMESET",n[n.AFTER_FRAMESET=20]="AFTER_FRAMESET",n[n.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",n[n.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(Ce||(Ce={}));const dr={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Vr=new Set([g.TABLE,g.TBODY,g.TFOOT,g.THEAD,g.TR]),Ia={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:yt,onParseError:null};class Ra{constructor(a,S,ae=null,Ze=null){this.fragmentContext=ae,this.scriptHandler=Ze,this.currentToken=null,this.stopped=!1,this.insertionMode=Ce.INITIAL,this.originalInsertionMode=Ce.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options=yr(yr({},Ia),a),this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=S!=null?S:this.treeAdapter.createDocument(),this.tokenizer=new zr(this.options,this),this.activeFormattingElements=new mt(this.treeAdapter),this.fragmentContextID=ae?Jt(this.treeAdapter.getTagName(ae)):g.UNKNOWN,this._setContextModes(ae!=null?ae:this.document,this.fragmentContextID),this.openElements=new Ee(this.document,this.treeAdapter,this)}static parse(a,S){const ae=new this(S);return ae.tokenizer.write(a,!0),ae.document}static getFragmentParser(a,S){const ae=yr(yr({},Ia),S);a!=null||(a=ae.treeAdapter.createElement(Te.TEMPLATE,me.HTML,[]));const Ze=ae.treeAdapter.createElement("documentmock",me.HTML,[]),Ct=new this(ae,Ze,a);return Ct.fragmentContextID===g.TEMPLATE&&Ct.tmplInsertionModeStack.unshift(Ce.IN_TEMPLATE),Ct._initTokenizerForFragmentParsing(),Ct._insertFakeRootElement(),Ct._resetInsertionMode(),Ct._findFormInFragmentContext(),Ct}getFragment(){const a=this.treeAdapter.getFirstChild(this.document),S=this.treeAdapter.createDocumentFragment();return this._adoptNodes(a,S),S}_err(a,S,ae){var Ze;if(!this.onParseError)return;const Ct=(Ze=a.location)!==null&&Ze!==void 0?Ze:dr,zt={code:S,startLine:Ct.startLine,startCol:Ct.startCol,startOffset:Ct.startOffset,endLine:ae?Ct.startLine:Ct.endLine,endCol:ae?Ct.startCol:Ct.endCol,endOffset:ae?Ct.startOffset:Ct.endOffset};this.onParseError(zt)}onItemPush(a,S,ae){var Ze,Ct;(Ct=(Ze=this.treeAdapter).onItemPush)===null||Ct===void 0||Ct.call(Ze,a),ae&&this.openElements.stackTop>0&&this._setContextModes(a,S)}onItemPop(a,S){var ae,Ze;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(a,this.currentToken),(Ze=(ae=this.treeAdapter).onItemPop)===null||Ze===void 0||Ze.call(ae,a,this.openElements.current),S){let Ct,zt;this.openElements.stackTop===0&&this.fragmentContext?(Ct=this.fragmentContext,zt=this.fragmentContextID):{current:Ct,currentTagId:zt}=this.openElements,this._setContextModes(Ct,zt)}}_setContextModes(a,S){const ae=a===this.document||a&&this.treeAdapter.getNamespaceURI(a)===me.HTML;this.currentNotInHTML=!ae,this.tokenizer.inForeignNode=!ae&&a!==void 0&&S!==void 0&&!this._isIntegrationPoint(S,a)}_switchToTextParsing(a,S){this._insertElement(a,me.HTML),this.tokenizer.state=S,this.originalInsertionMode=this.insertionMode,this.insertionMode=Ce.TEXT}switchToPlaintextParsing(){this.insertionMode=Ce.TEXT,this.originalInsertionMode=Ce.IN_BODY,this.tokenizer.state=mn.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let a=this.fragmentContext;for(;a;){if(this.treeAdapter.getTagName(a)===Te.FORM){this.formElement=a;break}a=this.treeAdapter.getParentNode(a)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==me.HTML))switch(this.fragmentContextID){case g.TITLE:case g.TEXTAREA:{this.tokenizer.state=mn.RCDATA;break}case g.STYLE:case g.XMP:case g.IFRAME:case g.NOEMBED:case g.NOFRAMES:case g.NOSCRIPT:{this.tokenizer.state=mn.RAWTEXT;break}case g.SCRIPT:{this.tokenizer.state=mn.SCRIPT_DATA;break}case g.PLAINTEXT:{this.tokenizer.state=mn.PLAINTEXT;break}default:}}_setDocumentType(a){const S=a.name||"",ae=a.publicId||"",Ze=a.systemId||"";if(this.treeAdapter.setDocumentType(this.document,S,ae,Ze),a.location){const zt=this.treeAdapter.getChildNodes(this.document).find(Nn=>this.treeAdapter.isDocumentTypeNode(Nn));zt&&this.treeAdapter.setNodeSourceCodeLocation(zt,a.location)}}_attachElementToTree(a,S){if(this.options.sourceCodeLocationInfo){const ae=S&&ts(yr({},S),{startTag:S});this.treeAdapter.setNodeSourceCodeLocation(a,ae)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(a);else{const ae=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(ae!=null?ae:this.document,a)}}_appendElement(a,S){const ae=this.treeAdapter.createElement(a.tagName,S,a.attrs);this._attachElementToTree(ae,a.location)}_insertElement(a,S){const ae=this.treeAdapter.createElement(a.tagName,S,a.attrs);this._attachElementToTree(ae,a.location),this.openElements.push(ae,a.tagID)}_insertFakeElement(a,S){const ae=this.treeAdapter.createElement(a,me.HTML,[]);this._attachElementToTree(ae,null),this.openElements.push(ae,S)}_insertTemplate(a){const S=this.treeAdapter.createElement(a.tagName,me.HTML,a.attrs),ae=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(S,ae),this._attachElementToTree(S,a.location),this.openElements.push(S,a.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(ae,null)}_insertFakeRootElement(){const a=this.treeAdapter.createElement(Te.HTML,me.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,null),this.treeAdapter.appendChild(this.openElements.current,a),this.openElements.push(a,g.HTML)}_appendCommentNode(a,S){const ae=this.treeAdapter.createCommentNode(a.data);this.treeAdapter.appendChild(S,ae),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(ae,a.location)}_insertCharacters(a){let S,ae;if(this._shouldFosterParentOnInsertion()?({parent:S,beforeElement:ae}=this._findFosterParentingLocation(),ae?this.treeAdapter.insertTextBefore(S,a.chars,ae):this.treeAdapter.insertText(S,a.chars)):(S=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(S,a.chars)),!a.location)return;const Ze=this.treeAdapter.getChildNodes(S),Ct=ae?Ze.lastIndexOf(ae):Ze.length,zt=Ze[Ct-1];if(this.treeAdapter.getNodeSourceCodeLocation(zt)){const{endLine:Xn,endCol:Nt,endOffset:an}=a.location;this.treeAdapter.updateNodeSourceCodeLocation(zt,{endLine:Xn,endCol:Nt,endOffset:an})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(zt,a.location)}_adoptNodes(a,S){for(let ae=this.treeAdapter.getFirstChild(a);ae;ae=this.treeAdapter.getFirstChild(a))this.treeAdapter.detachNode(ae),this.treeAdapter.appendChild(S,ae)}_setEndLocation(a,S){if(this.treeAdapter.getNodeSourceCodeLocation(a)&&S.location){const ae=S.location,Ze=this.treeAdapter.getTagName(a),Ct=S.type===Ht.END_TAG&&Ze===S.tagName?{endTag:yr({},ae),endLine:ae.endLine,endCol:ae.endCol,endOffset:ae.endOffset}:{endLine:ae.startLine,endCol:ae.startCol,endOffset:ae.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(a,Ct)}}shouldProcessStartTagTokenInForeignContent(a){if(!this.currentNotInHTML)return!1;let S,ae;return this.openElements.stackTop===0&&this.fragmentContext?(S=this.fragmentContext,ae=this.fragmentContextID):{current:S,currentTagId:ae}=this.openElements,a.tagID===g.SVG&&this.treeAdapter.getTagName(S)===Te.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(S)===me.MATHML?!1:this.tokenizer.inForeignNode||(a.tagID===g.MGLYPH||a.tagID===g.MALIGNMARK)&&ae!==void 0&&!this._isIntegrationPoint(ae,S,me.HTML)}_processToken(a){switch(a.type){case Ht.CHARACTER:{this.onCharacter(a);break}case Ht.NULL_CHARACTER:{this.onNullCharacter(a);break}case Ht.COMMENT:{this.onComment(a);break}case Ht.DOCTYPE:{this.onDoctype(a);break}case Ht.START_TAG:{this._processStartTag(a);break}case Ht.END_TAG:{this.onEndTag(a);break}case Ht.EOF:{this.onEof(a);break}case Ht.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(a);break}}}_isIntegrationPoint(a,S,ae){const Ze=this.treeAdapter.getNamespaceURI(S),Ct=this.treeAdapter.getAttrList(S);return fn(a,Ze,Ct,ae)}_reconstructActiveFormattingElements(){const a=this.activeFormattingElements.entries.length;if(a){const S=this.activeFormattingElements.entries.findIndex(Ze=>Ze.type===We.Marker||this.openElements.contains(Ze.element)),ae=S===-1?a-1:S-1;for(let Ze=ae;Ze>=0;Ze--){const Ct=this.activeFormattingElements.entries[Ze];this._insertElement(Ct.token,this.treeAdapter.getNamespaceURI(Ct.element)),Ct.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Ce.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(g.P),this.openElements.popUntilTagNamePopped(g.P)}_resetInsertionMode(){for(let a=this.openElements.stackTop;a>=0;a--)switch(a===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[a]){case g.TR:{this.insertionMode=Ce.IN_ROW;return}case g.TBODY:case g.THEAD:case g.TFOOT:{this.insertionMode=Ce.IN_TABLE_BODY;return}case g.CAPTION:{this.insertionMode=Ce.IN_CAPTION;return}case g.COLGROUP:{this.insertionMode=Ce.IN_COLUMN_GROUP;return}case g.TABLE:{this.insertionMode=Ce.IN_TABLE;return}case g.BODY:{this.insertionMode=Ce.IN_BODY;return}case g.FRAMESET:{this.insertionMode=Ce.IN_FRAMESET;return}case g.SELECT:{this._resetInsertionModeForSelect(a);return}case g.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case g.HTML:{this.insertionMode=this.headElement?Ce.AFTER_HEAD:Ce.BEFORE_HEAD;return}case g.TD:case g.TH:{if(a>0){this.insertionMode=Ce.IN_CELL;return}break}case g.HEAD:{if(a>0){this.insertionMode=Ce.IN_HEAD;return}break}}this.insertionMode=Ce.IN_BODY}_resetInsertionModeForSelect(a){if(a>0)for(let S=a-1;S>0;S--){const ae=this.openElements.tagIDs[S];if(ae===g.TEMPLATE)break;if(ae===g.TABLE){this.insertionMode=Ce.IN_SELECT_IN_TABLE;return}}this.insertionMode=Ce.IN_SELECT}_isElementCausesFosterParenting(a){return Vr.has(a)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let a=this.openElements.stackTop;a>=0;a--){const S=this.openElements.items[a];switch(this.openElements.tagIDs[a]){case g.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(S)===me.HTML)return{parent:this.treeAdapter.getTemplateContent(S),beforeElement:null};break}case g.TABLE:{const ae=this.treeAdapter.getParentNode(S);return ae?{parent:ae,beforeElement:S}:{parent:this.openElements.items[a-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(a){const S=this._findFosterParentingLocation();S.beforeElement?this.treeAdapter.insertBefore(S.parent,a,S.beforeElement):this.treeAdapter.appendChild(S.parent,a)}_isSpecialElement(a,S){const ae=this.treeAdapter.getNamespaceURI(a);return yn[ae].has(S)}onCharacter(a){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){w(this,a);return}switch(this.insertionMode){case Ce.INITIAL:{Un(this,a);break}case Ce.BEFORE_HTML:{Aa(this,a);break}case Ce.BEFORE_HEAD:{Qn(this,a);break}case Ce.IN_HEAD:{Fa(this,a);break}case Ce.IN_HEAD_NO_SCRIPT:{aa(this,a);break}case Ce.AFTER_HEAD:{Va(this,a);break}case Ce.IN_BODY:case Ce.IN_CAPTION:case Ce.IN_CELL:case Ce.IN_TEMPLATE:{Ui(this,a);break}case Ce.TEXT:case Ce.IN_SELECT:case Ce.IN_SELECT_IN_TABLE:{this._insertCharacters(a);break}case Ce.IN_TABLE:case Ce.IN_TABLE_BODY:case Ce.IN_ROW:{oo(this,a);break}case Ce.IN_TABLE_TEXT:{xi(this,a);break}case Ce.IN_COLUMN_GROUP:{Ea(this,a);break}case Ce.AFTER_BODY:{go(this,a);break}case Ce.AFTER_AFTER_BODY:{l(this,a);break}default:}}onNullCharacter(a){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){T(this,a);return}switch(this.insertionMode){case Ce.INITIAL:{Un(this,a);break}case Ce.BEFORE_HTML:{Aa(this,a);break}case Ce.BEFORE_HEAD:{Qn(this,a);break}case Ce.IN_HEAD:{Fa(this,a);break}case Ce.IN_HEAD_NO_SCRIPT:{aa(this,a);break}case Ce.AFTER_HEAD:{Va(this,a);break}case Ce.TEXT:{this._insertCharacters(a);break}case Ce.IN_TABLE:case Ce.IN_TABLE_BODY:case Ce.IN_ROW:{oo(this,a);break}case Ce.IN_COLUMN_GROUP:{Ea(this,a);break}case Ce.AFTER_BODY:{go(this,a);break}case Ce.AFTER_AFTER_BODY:{l(this,a);break}default:}}onComment(a){if(this.skipNextNewLine=!1,this.currentNotInHTML){ea(this,a);return}switch(this.insertionMode){case Ce.INITIAL:case Ce.BEFORE_HTML:case Ce.BEFORE_HEAD:case Ce.IN_HEAD:case Ce.IN_HEAD_NO_SCRIPT:case Ce.AFTER_HEAD:case Ce.IN_BODY:case Ce.IN_TABLE:case Ce.IN_CAPTION:case Ce.IN_COLUMN_GROUP:case Ce.IN_TABLE_BODY:case Ce.IN_ROW:case Ce.IN_CELL:case Ce.IN_SELECT:case Ce.IN_SELECT_IN_TABLE:case Ce.IN_TEMPLATE:case Ce.IN_FRAMESET:case Ce.AFTER_FRAMESET:{ea(this,a);break}case Ce.IN_TABLE_TEXT:{Li(this,a);break}case Ce.AFTER_BODY:{ta(this,a);break}case Ce.AFTER_AFTER_BODY:case Ce.AFTER_AFTER_FRAMESET:{Tn(this,a);break}default:}}onDoctype(a){switch(this.skipNextNewLine=!1,this.insertionMode){case Ce.INITIAL:{$n(this,a);break}case Ce.BEFORE_HEAD:case Ce.IN_HEAD:case Ce.IN_HEAD_NO_SCRIPT:case Ce.AFTER_HEAD:{this._err(a,Ke.misplacedDoctype);break}case Ce.IN_TABLE_TEXT:{Li(this,a);break}default:}}onStartTag(a){this.skipNextNewLine=!1,this.currentToken=a,this._processStartTag(a),a.selfClosing&&!a.ackSelfClosing&&this._err(a,Ke.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(a){this.shouldProcessStartTagTokenInForeignContent(a)?j(this,a):this._startTagOutsideForeignContent(a)}_startTagOutsideForeignContent(a){switch(this.insertionMode){case Ce.INITIAL:{Un(this,a);break}case Ce.BEFORE_HTML:{Nr(this,a);break}case Ce.BEFORE_HEAD:{la(this,a);break}case Ce.IN_HEAD:{Dr(this,a);break}case Ce.IN_HEAD_NO_SCRIPT:{$a(this,a);break}case Ce.AFTER_HEAD:{Si(this,a);break}case Ce.IN_BODY:{Qr(this,a);break}case Ce.IN_TABLE:{Ci(this,a);break}case Ce.IN_TABLE_TEXT:{Li(this,a);break}case Ce.IN_CAPTION:{Tr(this,a);break}case Ce.IN_COLUMN_GROUP:{ba(this,a);break}case Ce.IN_TABLE_BODY:{ci(this,a);break}case Ce.IN_ROW:{fi(this,a);break}case Ce.IN_CELL:{Ai(this,a);break}case Ce.IN_SELECT:{ns(this,a);break}case Ce.IN_SELECT_IN_TABLE:{ps(this,a);break}case Ce.IN_TEMPLATE:{as(this,a);break}case Ce.AFTER_BODY:{ja(this,a);break}case Ce.IN_FRAMESET:{ws(this,a);break}case Ce.AFTER_FRAMESET:{Xo(this,a);break}case Ce.AFTER_AFTER_BODY:{gs(this,a);break}case Ce.AFTER_AFTER_FRAMESET:{y(this,a);break}default:}}onEndTag(a){this.skipNextNewLine=!1,this.currentToken=a,this.currentNotInHTML?se(this,a):this._endTagOutsideForeignContent(a)}_endTagOutsideForeignContent(a){switch(this.insertionMode){case Ce.INITIAL:{Un(this,a);break}case Ce.BEFORE_HTML:{Zr(this,a);break}case Ce.BEFORE_HEAD:{ua(this,a);break}case Ce.IN_HEAD:{za(this,a);break}case Ce.IN_HEAD_NO_SCRIPT:{Ba(this,a);break}case Ce.AFTER_HEAD:{co(this,a);break}case Ce.IN_BODY:{ao(this,a);break}case Ce.TEXT:{li(this,a);break}case Ce.IN_TABLE:{lo(this,a);break}case Ce.IN_TABLE_TEXT:{Li(this,a);break}case Ce.IN_CAPTION:{Cr(this,a);break}case Ce.IN_COLUMN_GROUP:{ka(this,a);break}case Ce.IN_TABLE_BODY:{di(this,a);break}case Ce.IN_ROW:{Ja(this,a);break}case Ce.IN_CELL:{Wo(this,a);break}case Ce.IN_SELECT:{rs(this,a);break}case Ce.IN_SELECT_IN_TABLE:{hs(this,a);break}case Ce.IN_TEMPLATE:{ei(this,a);break}case Ce.AFTER_BODY:{Oa(this,a);break}case Ce.IN_FRAMESET:{No(this,a);break}case Ce.AFTER_FRAMESET:{Qo(this,a);break}case Ce.AFTER_AFTER_BODY:{l(this,a);break}default:}}onEof(a){switch(this.insertionMode){case Ce.INITIAL:{Un(this,a);break}case Ce.BEFORE_HTML:{Aa(this,a);break}case Ce.BEFORE_HEAD:{Qn(this,a);break}case Ce.IN_HEAD:{Fa(this,a);break}case Ce.IN_HEAD_NO_SCRIPT:{aa(this,a);break}case Ce.AFTER_HEAD:{Va(this,a);break}case Ce.IN_BODY:case Ce.IN_TABLE:case Ce.IN_CAPTION:case Ce.IN_COLUMN_GROUP:case Ce.IN_TABLE_BODY:case Ce.IN_ROW:case Ce.IN_CELL:case Ce.IN_SELECT:case Ce.IN_SELECT_IN_TABLE:{Ao(this,a);break}case Ce.TEXT:{io(this,a);break}case Ce.IN_TABLE_TEXT:{Li(this,a);break}case Ce.IN_TEMPLATE:{La(this,a);break}case Ce.AFTER_BODY:case Ce.IN_FRAMESET:case Ce.AFTER_FRAMESET:case Ce.AFTER_AFTER_BODY:case Ce.AFTER_AFTER_FRAMESET:{Gn(this,a);break}default:}}onWhitespaceCharacter(a){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,a.chars.charCodeAt(0)===Q.LINE_FEED)){if(a.chars.length===1)return;a.chars=a.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(a);return}switch(this.insertionMode){case Ce.IN_HEAD:case Ce.IN_HEAD_NO_SCRIPT:case Ce.AFTER_HEAD:case Ce.TEXT:case Ce.IN_COLUMN_GROUP:case Ce.IN_SELECT:case Ce.IN_SELECT_IN_TABLE:case Ce.IN_FRAMESET:case Ce.AFTER_FRAMESET:{this._insertCharacters(a);break}case Ce.IN_BODY:case Ce.IN_CAPTION:case Ce.IN_CELL:case Ce.IN_TEMPLATE:case Ce.AFTER_BODY:case Ce.AFTER_AFTER_BODY:case Ce.AFTER_AFTER_FRAMESET:{Ka(this,a);break}case Ce.IN_TABLE:case Ce.IN_TABLE_BODY:case Ce.IN_ROW:{oo(this,a);break}case Ce.IN_TABLE_TEXT:{ho(this,a);break}default:}}}function hi(n,a){let S=n.activeFormattingElements.getElementEntryInScopeWithTagName(a.tagName);return S?n.openElements.contains(S.element)?n.openElements.hasInScope(a.tagID)||(S=null):(n.activeFormattingElements.removeEntry(S),S=null):ro(n,a),S}function Pa(n,a){let S=null,ae=n.openElements.stackTop;for(;ae>=0;ae--){const Ze=n.openElements.items[ae];if(Ze===a.element)break;n._isSpecialElement(Ze,n.openElements.tagIDs[ae])&&(S=Ze)}return S||(n.openElements.shortenToLength(Math.max(ae,0)),n.activeFormattingElements.removeEntry(a)),S}function qr(n,a,S){let ae=a,Ze=n.openElements.getCommonAncestor(a);for(let Ct=0,zt=Ze;zt!==S;Ct++,zt=Ze){Ze=n.openElements.getCommonAncestor(zt);const Nn=n.activeFormattingElements.getElementEntry(zt),Xn=Nn&&Ct>=er;!Nn||Xn?(Xn&&n.activeFormattingElements.removeEntry(Nn),n.openElements.remove(zt)):(zt=Kr(n,Nn),ae===a&&(n.activeFormattingElements.bookmark=Nn),n.treeAdapter.detachNode(ae),n.treeAdapter.appendChild(zt,ae),ae=zt)}return ae}function Kr(n,a){const S=n.treeAdapter.getNamespaceURI(a.element),ae=n.treeAdapter.createElement(a.token.tagName,S,a.token.attrs);return n.openElements.replace(a.element,ae),a.element=ae,ae}function jr(n,a,S){const ae=n.treeAdapter.getTagName(a),Ze=Jt(ae);if(n._isElementCausesFosterParenting(Ze))n._fosterParentElement(S);else{const Ct=n.treeAdapter.getNamespaceURI(a);Ze===g.TEMPLATE&&Ct===me.HTML&&(a=n.treeAdapter.getTemplateContent(a)),n.treeAdapter.appendChild(a,S)}}function Ta(n,a,S){const ae=n.treeAdapter.getNamespaceURI(S.element),{token:Ze}=S,Ct=n.treeAdapter.createElement(Ze.tagName,ae,Ze.attrs);n._adoptNodes(a,Ct),n.treeAdapter.appendChild(a,Ct),n.activeFormattingElements.insertElementAfterBookmark(Ct,Ze),n.activeFormattingElements.removeEntry(S),n.openElements.remove(S.element),n.openElements.insertAfter(a,Ct,Ze.tagID)}function Xr(n,a){for(let S=0;S<Wn;S++){const ae=hi(n,a);if(!ae)break;const Ze=Pa(n,ae);if(!Ze)break;n.activeFormattingElements.bookmark=ae;const Ct=qr(n,Ze,ae.element),zt=n.openElements.getCommonAncestor(ae.element);n.treeAdapter.detachNode(Ct),zt&&jr(n,zt,Ct),Ta(n,Ze,ae)}}function ea(n,a){n._appendCommentNode(a,n.openElements.currentTmplContentOrNode)}function ta(n,a){n._appendCommentNode(a,n.openElements.items[0])}function Tn(n,a){n._appendCommentNode(a,n.document)}function Gn(n,a){if(n.stopped=!0,a.location){const S=n.fragmentContext?0:2;for(let ae=n.openElements.stackTop;ae>=S;ae--)n._setEndLocation(n.openElements.items[ae],a);if(!n.fragmentContext&&n.openElements.stackTop>=0){const ae=n.openElements.items[0],Ze=n.treeAdapter.getNodeSourceCodeLocation(ae);if(Ze&&!Ze.endTag&&(n._setEndLocation(ae,a),n.openElements.stackTop>=1)){const Ct=n.openElements.items[1],zt=n.treeAdapter.getNodeSourceCodeLocation(Ct);zt&&!zt.endTag&&n._setEndLocation(Ct,a)}}}}function $n(n,a){n._setDocumentType(a);const S=a.forceQuirks?_t.QUIRKS:rn(a);sn(a)||n._err(a,Ke.nonConformingDoctype),n.treeAdapter.setDocumentMode(n.document,S),n.insertionMode=Ce.BEFORE_HTML}function Un(n,a){n._err(a,Ke.missingDoctype,!0),n.treeAdapter.setDocumentMode(n.document,_t.QUIRKS),n.insertionMode=Ce.BEFORE_HTML,n._processToken(a)}function Nr(n,a){a.tagID===g.HTML?(n._insertElement(a,me.HTML),n.insertionMode=Ce.BEFORE_HEAD):Aa(n,a)}function Zr(n,a){const S=a.tagID;(S===g.HTML||S===g.HEAD||S===g.BODY||S===g.BR)&&Aa(n,a)}function Aa(n,a){n._insertFakeRootElement(),n.insertionMode=Ce.BEFORE_HEAD,n._processToken(a)}function la(n,a){switch(a.tagID){case g.HTML:{Qr(n,a);break}case g.HEAD:{n._insertElement(a,me.HTML),n.headElement=n.openElements.current,n.insertionMode=Ce.IN_HEAD;break}default:Qn(n,a)}}function ua(n,a){const S=a.tagID;S===g.HEAD||S===g.BODY||S===g.HTML||S===g.BR?Qn(n,a):n._err(a,Ke.endTagWithoutMatchingOpenElement)}function Qn(n,a){n._insertFakeElement(Te.HEAD,g.HEAD),n.headElement=n.openElements.current,n.insertionMode=Ce.IN_HEAD,n._processToken(a)}function Dr(n,a){switch(a.tagID){case g.HTML:{Qr(n,a);break}case g.BASE:case g.BASEFONT:case g.BGSOUND:case g.LINK:case g.META:{n._appendElement(a,me.HTML),a.ackSelfClosing=!0;break}case g.TITLE:{n._switchToTextParsing(a,mn.RCDATA);break}case g.NOSCRIPT:{n.options.scriptingEnabled?n._switchToTextParsing(a,mn.RAWTEXT):(n._insertElement(a,me.HTML),n.insertionMode=Ce.IN_HEAD_NO_SCRIPT);break}case g.NOFRAMES:case g.STYLE:{n._switchToTextParsing(a,mn.RAWTEXT);break}case g.SCRIPT:{n._switchToTextParsing(a,mn.SCRIPT_DATA);break}case g.TEMPLATE:{n._insertTemplate(a),n.activeFormattingElements.insertMarker(),n.framesetOk=!1,n.insertionMode=Ce.IN_TEMPLATE,n.tmplInsertionModeStack.unshift(Ce.IN_TEMPLATE);break}case g.HEAD:{n._err(a,Ke.misplacedStartTagForHeadElement);break}default:Fa(n,a)}}function za(n,a){switch(a.tagID){case g.HEAD:{n.openElements.pop(),n.insertionMode=Ce.AFTER_HEAD;break}case g.BODY:case g.BR:case g.HTML:{Fa(n,a);break}case g.TEMPLATE:{Ur(n,a);break}default:n._err(a,Ke.endTagWithoutMatchingOpenElement)}}function Ur(n,a){n.openElements.tmplCount>0?(n.openElements.generateImpliedEndTagsThoroughly(),n.openElements.currentTagId!==g.TEMPLATE&&n._err(a,Ke.closingOfElementWithOpenChildElements),n.openElements.popUntilTagNamePopped(g.TEMPLATE),n.activeFormattingElements.clearToLastMarker(),n.tmplInsertionModeStack.shift(),n._resetInsertionMode()):n._err(a,Ke.endTagWithoutMatchingOpenElement)}function Fa(n,a){n.openElements.pop(),n.insertionMode=Ce.AFTER_HEAD,n._processToken(a)}function $a(n,a){switch(a.tagID){case g.HTML:{Qr(n,a);break}case g.BASEFONT:case g.BGSOUND:case g.HEAD:case g.LINK:case g.META:case g.NOFRAMES:case g.STYLE:{Dr(n,a);break}case g.NOSCRIPT:{n._err(a,Ke.nestedNoscriptInHead);break}default:aa(n,a)}}function Ba(n,a){switch(a.tagID){case g.NOSCRIPT:{n.openElements.pop(),n.insertionMode=Ce.IN_HEAD;break}case g.BR:{aa(n,a);break}default:n._err(a,Ke.endTagWithoutMatchingOpenElement)}}function aa(n,a){const S=a.type===Ht.EOF?Ke.openElementsLeftAfterEof:Ke.disallowedContentInNoscriptInHead;n._err(a,S),n.openElements.pop(),n.insertionMode=Ce.IN_HEAD,n._processToken(a)}function Si(n,a){switch(a.tagID){case g.HTML:{Qr(n,a);break}case g.BODY:{n._insertElement(a,me.HTML),n.framesetOk=!1,n.insertionMode=Ce.IN_BODY;break}case g.FRAMESET:{n._insertElement(a,me.HTML),n.insertionMode=Ce.IN_FRAMESET;break}case g.BASE:case g.BASEFONT:case g.BGSOUND:case g.LINK:case g.META:case g.NOFRAMES:case g.SCRIPT:case g.STYLE:case g.TEMPLATE:case g.TITLE:{n._err(a,Ke.abandonedHeadElementChild),n.openElements.push(n.headElement,g.HEAD),Dr(n,a),n.openElements.remove(n.headElement);break}case g.HEAD:{n._err(a,Ke.misplacedStartTagForHeadElement);break}default:Va(n,a)}}function co(n,a){switch(a.tagID){case g.BODY:case g.HTML:case g.BR:{Va(n,a);break}case g.TEMPLATE:{Ur(n,a);break}default:n._err(a,Ke.endTagWithoutMatchingOpenElement)}}function Va(n,a){n._insertFakeElement(Te.BODY,g.BODY),n.insertionMode=Ce.IN_BODY,ii(n,a)}function ii(n,a){switch(a.type){case Ht.CHARACTER:{Ui(n,a);break}case Ht.WHITESPACE_CHARACTER:{Ka(n,a);break}case Ht.COMMENT:{ea(n,a);break}case Ht.START_TAG:{Qr(n,a);break}case Ht.END_TAG:{ao(n,a);break}case Ht.EOF:{Ao(n,a);break}default:}}function Ka(n,a){n._reconstructActiveFormattingElements(),n._insertCharacters(a)}function Ui(n,a){n._reconstructActiveFormattingElements(),n._insertCharacters(a),n.framesetOk=!1}function yo(n,a){n.openElements.tmplCount===0&&n.treeAdapter.adoptAttributes(n.openElements.items[0],a.attrs)}function Eo(n,a){const S=n.openElements.tryPeekProperlyNestedBodyElement();S&&n.openElements.tmplCount===0&&(n.framesetOk=!1,n.treeAdapter.adoptAttributes(S,a.attrs))}function So(n,a){const S=n.openElements.tryPeekProperlyNestedBodyElement();n.framesetOk&&S&&(n.treeAdapter.detachNode(S),n.openElements.popAllUpToHtmlElement(),n._insertElement(a,me.HTML),n.insertionMode=Ce.IN_FRAMESET)}function Ji(n,a){n.openElements.hasInButtonScope(g.P)&&n._closePElement(),n._insertElement(a,me.HTML)}function fo(n,a){n.openElements.hasInButtonScope(g.P)&&n._closePElement(),n.openElements.currentTagId!==void 0&&jt.has(n.openElements.currentTagId)&&n.openElements.pop(),n._insertElement(a,me.HTML)}function eo(n,a){n.openElements.hasInButtonScope(g.P)&&n._closePElement(),n._insertElement(a,me.HTML),n.skipNextNewLine=!0,n.framesetOk=!1}function $i(n,a){const S=n.openElements.tmplCount>0;(!n.formElement||S)&&(n.openElements.hasInButtonScope(g.P)&&n._closePElement(),n._insertElement(a,me.HTML),S||(n.formElement=n.openElements.current))}function to(n,a){n.framesetOk=!1;const S=a.tagID;for(let ae=n.openElements.stackTop;ae>=0;ae--){const Ze=n.openElements.tagIDs[ae];if(S===g.LI&&Ze===g.LI||(S===g.DD||S===g.DT)&&(Ze===g.DD||Ze===g.DT)){n.openElements.generateImpliedEndTagsWithExclusion(Ze),n.openElements.popUntilTagNamePopped(Ze);break}if(Ze!==g.ADDRESS&&Ze!==g.DIV&&Ze!==g.P&&n._isSpecialElement(n.openElements.items[ae],Ze))break}n.openElements.hasInButtonScope(g.P)&&n._closePElement(),n._insertElement(a,me.HTML)}function To(n,a){n.openElements.hasInButtonScope(g.P)&&n._closePElement(),n._insertElement(a,me.HTML),n.tokenizer.state=mn.PLAINTEXT}function no(n,a){n.openElements.hasInScope(g.BUTTON)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(g.BUTTON)),n._reconstructActiveFormattingElements(),n._insertElement(a,me.HTML),n.framesetOk=!1}function Vi(n,a){const S=n.activeFormattingElements.getElementEntryInScopeWithTagName(Te.A);S&&(Xr(n,a),n.openElements.remove(S.element),n.activeFormattingElements.removeEntry(S)),n._reconstructActiveFormattingElements(),n._insertElement(a,me.HTML),n.activeFormattingElements.pushElement(n.openElements.current,a)}function Ki(n,a){n._reconstructActiveFormattingElements(),n._insertElement(a,me.HTML),n.activeFormattingElements.pushElement(n.openElements.current,a)}function Ua(n,a){n._reconstructActiveFormattingElements(),n.openElements.hasInScope(g.NOBR)&&(Xr(n,a),n._reconstructActiveFormattingElements()),n._insertElement(a,me.HTML),n.activeFormattingElements.pushElement(n.openElements.current,a)}function fa(n,a){n._reconstructActiveFormattingElements(),n._insertElement(a,me.HTML),n.activeFormattingElements.insertMarker(),n.framesetOk=!1}function wr(n,a){n.treeAdapter.getDocumentMode(n.document)!==_t.QUIRKS&&n.openElements.hasInButtonScope(g.P)&&n._closePElement(),n._insertElement(a,me.HTML),n.framesetOk=!1,n.insertionMode=Ce.IN_TABLE}function rr(n,a){n._reconstructActiveFormattingElements(),n._appendElement(a,me.HTML),n.framesetOk=!1,a.ackSelfClosing=!0}function pa(n){const a=Kt(n,St.TYPE);return a!=null&&a.toLowerCase()===kn}function ha(n,a){n._reconstructActiveFormattingElements(),n._appendElement(a,me.HTML),pa(a)||(n.framesetOk=!1),a.ackSelfClosing=!0}function va(n,a){n._appendElement(a,me.HTML),a.ackSelfClosing=!0}function Ca(n,a){n.openElements.hasInButtonScope(g.P)&&n._closePElement(),n._appendElement(a,me.HTML),n.framesetOk=!1,a.ackSelfClosing=!0}function gi(n,a){a.tagName=Te.IMG,a.tagID=g.IMG,rr(n,a)}function oi(n,a){n._insertElement(a,me.HTML),n.skipNextNewLine=!0,n.tokenizer.state=mn.RCDATA,n.originalInsertionMode=n.insertionMode,n.framesetOk=!1,n.insertionMode=Ce.TEXT}function Ii(n,a){n.openElements.hasInButtonScope(g.P)&&n._closePElement(),n._reconstructActiveFormattingElements(),n.framesetOk=!1,n._switchToTextParsing(a,mn.RAWTEXT)}function ca(n,a){n.framesetOk=!1,n._switchToTextParsing(a,mn.RAWTEXT)}function xa(n,a){n._switchToTextParsing(a,mn.RAWTEXT)}function Qa(n,a){n._reconstructActiveFormattingElements(),n._insertElement(a,me.HTML),n.framesetOk=!1,n.insertionMode=n.insertionMode===Ce.IN_TABLE||n.insertionMode===Ce.IN_CAPTION||n.insertionMode===Ce.IN_TABLE_BODY||n.insertionMode===Ce.IN_ROW||n.insertionMode===Ce.IN_CELL?Ce.IN_SELECT_IN_TABLE:Ce.IN_SELECT}function si(n,a){n.openElements.currentTagId===g.OPTION&&n.openElements.pop(),n._reconstructActiveFormattingElements(),n._insertElement(a,me.HTML)}function po(n,a){n.openElements.hasInScope(g.RUBY)&&n.openElements.generateImpliedEndTags(),n._insertElement(a,me.HTML)}function Ro(n,a){n.openElements.hasInScope(g.RUBY)&&n.openElements.generateImpliedEndTagsWithExclusion(g.RTC),n._insertElement(a,me.HTML)}function Lo(n,a){n._reconstructActiveFormattingElements(),Jn(a),Sr(a),a.selfClosing?n._appendElement(a,me.MATHML):n._insertElement(a,me.MATHML),a.ackSelfClosing=!0}function mi(n,a){n._reconstructActiveFormattingElements(),cr(a),Sr(a),a.selfClosing?n._appendElement(a,me.SVG):n._insertElement(a,me.SVG),a.ackSelfClosing=!0}function Ti(n,a){n._reconstructActiveFormattingElements(),n._insertElement(a,me.HTML)}function Qr(n,a){switch(a.tagID){case g.I:case g.S:case g.B:case g.U:case g.EM:case g.TT:case g.BIG:case g.CODE:case g.FONT:case g.SMALL:case g.STRIKE:case g.STRONG:{Ki(n,a);break}case g.A:{Vi(n,a);break}case g.H1:case g.H2:case g.H3:case g.H4:case g.H5:case g.H6:{fo(n,a);break}case g.P:case g.DL:case g.OL:case g.UL:case g.DIV:case g.DIR:case g.NAV:case g.MAIN:case g.MENU:case g.ASIDE:case g.CENTER:case g.FIGURE:case g.FOOTER:case g.HEADER:case g.HGROUP:case g.DIALOG:case g.DETAILS:case g.ADDRESS:case g.ARTICLE:case g.SEARCH:case g.SECTION:case g.SUMMARY:case g.FIELDSET:case g.BLOCKQUOTE:case g.FIGCAPTION:{Ji(n,a);break}case g.LI:case g.DD:case g.DT:{to(n,a);break}case g.BR:case g.IMG:case g.WBR:case g.AREA:case g.EMBED:case g.KEYGEN:{rr(n,a);break}case g.HR:{Ca(n,a);break}case g.RB:case g.RTC:{po(n,a);break}case g.RT:case g.RP:{Ro(n,a);break}case g.PRE:case g.LISTING:{eo(n,a);break}case g.XMP:{Ii(n,a);break}case g.SVG:{mi(n,a);break}case g.HTML:{yo(n,a);break}case g.BASE:case g.LINK:case g.META:case g.STYLE:case g.TITLE:case g.SCRIPT:case g.BGSOUND:case g.BASEFONT:case g.TEMPLATE:{Dr(n,a);break}case g.BODY:{Eo(n,a);break}case g.FORM:{$i(n,a);break}case g.NOBR:{Ua(n,a);break}case g.MATH:{Lo(n,a);break}case g.TABLE:{wr(n,a);break}case g.INPUT:{ha(n,a);break}case g.PARAM:case g.TRACK:case g.SOURCE:{va(n,a);break}case g.IMAGE:{gi(n,a);break}case g.BUTTON:{no(n,a);break}case g.APPLET:case g.OBJECT:case g.MARQUEE:{fa(n,a);break}case g.IFRAME:{ca(n,a);break}case g.SELECT:{Qa(n,a);break}case g.OPTION:case g.OPTGROUP:{si(n,a);break}case g.NOEMBED:case g.NOFRAMES:{xa(n,a);break}case g.FRAMESET:{So(n,a);break}case g.TEXTAREA:{oi(n,a);break}case g.NOSCRIPT:{n.options.scriptingEnabled?xa(n,a):Ti(n,a);break}case g.PLAINTEXT:{To(n,a);break}case g.COL:case g.TH:case g.TD:case g.TR:case g.HEAD:case g.FRAME:case g.TBODY:case g.TFOOT:case g.THEAD:case g.CAPTION:case g.COLGROUP:break;default:Ti(n,a)}}function bi(n,a){if(n.openElements.hasInScope(g.BODY)&&(n.insertionMode=Ce.AFTER_BODY,n.options.sourceCodeLocationInfo)){const S=n.openElements.tryPeekProperlyNestedBodyElement();S&&n._setEndLocation(S,a)}}function qa(n,a){n.openElements.hasInScope(g.BODY)&&(n.insertionMode=Ce.AFTER_BODY,Oa(n,a))}function Co(n,a){const S=a.tagID;n.openElements.hasInScope(S)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(S))}function zo(n){const a=n.openElements.tmplCount>0,{formElement:S}=n;a||(n.formElement=null),(S||a)&&n.openElements.hasInScope(g.FORM)&&(n.openElements.generateImpliedEndTags(),a?n.openElements.popUntilTagNamePopped(g.FORM):S&&n.openElements.remove(S))}function Go(n){n.openElements.hasInButtonScope(g.P)||n._insertFakeElement(Te.P,g.P),n._closePElement()}function ji(n){n.openElements.hasInListItemScope(g.LI)&&(n.openElements.generateImpliedEndTagsWithExclusion(g.LI),n.openElements.popUntilTagNamePopped(g.LI))}function Oo(n,a){const S=a.tagID;n.openElements.hasInScope(S)&&(n.openElements.generateImpliedEndTagsWithExclusion(S),n.openElements.popUntilTagNamePopped(S))}function _o(n){n.openElements.hasNumberedHeaderInScope()&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilNumberedHeaderPopped())}function Hi(n,a){const S=a.tagID;n.openElements.hasInScope(S)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(S),n.activeFormattingElements.clearToLastMarker())}function xo(n){n._reconstructActiveFormattingElements(),n._insertFakeElement(Te.BR,g.BR),n.openElements.pop(),n.framesetOk=!1}function ro(n,a){const S=a.tagName,ae=a.tagID;for(let Ze=n.openElements.stackTop;Ze>0;Ze--){const Ct=n.openElements.items[Ze],zt=n.openElements.tagIDs[Ze];if(ae===zt&&(ae!==g.UNKNOWN||n.treeAdapter.getTagName(Ct)===S)){n.openElements.generateImpliedEndTagsWithExclusion(ae),n.openElements.stackTop>=Ze&&n.openElements.shortenToLength(Ze);break}if(n._isSpecialElement(Ct,zt))break}}function ao(n,a){switch(a.tagID){case g.A:case g.B:case g.I:case g.S:case g.U:case g.EM:case g.TT:case g.BIG:case g.CODE:case g.FONT:case g.NOBR:case g.SMALL:case g.STRIKE:case g.STRONG:{Xr(n,a);break}case g.P:{Go(n);break}case g.DL:case g.UL:case g.OL:case g.DIR:case g.DIV:case g.NAV:case g.PRE:case g.MAIN:case g.MENU:case g.ASIDE:case g.BUTTON:case g.CENTER:case g.FIGURE:case g.FOOTER:case g.HEADER:case g.HGROUP:case g.DIALOG:case g.ADDRESS:case g.ARTICLE:case g.DETAILS:case g.SEARCH:case g.SECTION:case g.SUMMARY:case g.LISTING:case g.FIELDSET:case g.BLOCKQUOTE:case g.FIGCAPTION:{Co(n,a);break}case g.LI:{ji(n);break}case g.DD:case g.DT:{Oo(n,a);break}case g.H1:case g.H2:case g.H3:case g.H4:case g.H5:case g.H6:{_o(n);break}case g.BR:{xo(n);break}case g.BODY:{bi(n,a);break}case g.HTML:{qa(n,a);break}case g.FORM:{zo(n);break}case g.APPLET:case g.OBJECT:case g.MARQUEE:{Hi(n,a);break}case g.TEMPLATE:{Ur(n,a);break}default:ro(n,a)}}function Ao(n,a){n.tmplInsertionModeStack.length>0?La(n,a):Gn(n,a)}function li(n,a){var S;a.tagID===g.SCRIPT&&((S=n.scriptHandler)===null||S===void 0||S.call(n,n.openElements.current)),n.openElements.pop(),n.insertionMode=n.originalInsertionMode}function io(n,a){n._err(a,Ke.eofInElementThatCanContainOnlyText),n.openElements.pop(),n.insertionMode=n.originalInsertionMode,n.onEof(a)}function oo(n,a){if(n.openElements.currentTagId!==void 0&&Vr.has(n.openElements.currentTagId))switch(n.pendingCharacterTokens.length=0,n.hasNonWhitespacePendingCharacterToken=!1,n.originalInsertionMode=n.insertionMode,n.insertionMode=Ce.IN_TABLE_TEXT,a.type){case Ht.CHARACTER:{xi(n,a);break}case Ht.WHITESPACE_CHARACTER:{ho(n,a);break}}else ui(n,a)}function Do(n,a){n.openElements.clearBackToTableContext(),n.activeFormattingElements.insertMarker(),n._insertElement(a,me.HTML),n.insertionMode=Ce.IN_CAPTION}function Yi(n,a){n.openElements.clearBackToTableContext(),n._insertElement(a,me.HTML),n.insertionMode=Ce.IN_COLUMN_GROUP}function Mo(n,a){n.openElements.clearBackToTableContext(),n._insertFakeElement(Te.COLGROUP,g.COLGROUP),n.insertionMode=Ce.IN_COLUMN_GROUP,ba(n,a)}function Po(n,a){n.openElements.clearBackToTableContext(),n._insertElement(a,me.HTML),n.insertionMode=Ce.IN_TABLE_BODY}function so(n,a){n.openElements.clearBackToTableContext(),n._insertFakeElement(Te.TBODY,g.TBODY),n.insertionMode=Ce.IN_TABLE_BODY,ci(n,a)}function ko(n,a){n.openElements.hasInTableScope(g.TABLE)&&(n.openElements.popUntilTagNamePopped(g.TABLE),n._resetInsertionMode(),n._processStartTag(a))}function wo(n,a){pa(a)?n._appendElement(a,me.HTML):ui(n,a),a.ackSelfClosing=!0}function Ri(n,a){!n.formElement&&n.openElements.tmplCount===0&&(n._insertElement(a,me.HTML),n.formElement=n.openElements.current,n.openElements.pop())}function Ci(n,a){switch(a.tagID){case g.TD:case g.TH:case g.TR:{so(n,a);break}case g.STYLE:case g.SCRIPT:case g.TEMPLATE:{Dr(n,a);break}case g.COL:{Mo(n,a);break}case g.FORM:{Ri(n,a);break}case g.TABLE:{ko(n,a);break}case g.TBODY:case g.TFOOT:case g.THEAD:{Po(n,a);break}case g.INPUT:{wo(n,a);break}case g.CAPTION:{Do(n,a);break}case g.COLGROUP:{Yi(n,a);break}default:ui(n,a)}}function lo(n,a){switch(a.tagID){case g.TABLE:{n.openElements.hasInTableScope(g.TABLE)&&(n.openElements.popUntilTagNamePopped(g.TABLE),n._resetInsertionMode());break}case g.TEMPLATE:{Ur(n,a);break}case g.BODY:case g.CAPTION:case g.COL:case g.COLGROUP:case g.HTML:case g.TBODY:case g.TD:case g.TFOOT:case g.TH:case g.THEAD:case g.TR:break;default:ui(n,a)}}function ui(n,a){const S=n.fosterParentingEnabled;n.fosterParentingEnabled=!0,ii(n,a),n.fosterParentingEnabled=S}function ho(n,a){n.pendingCharacterTokens.push(a)}function xi(n,a){n.pendingCharacterTokens.push(a),n.hasNonWhitespacePendingCharacterToken=!0}function Li(n,a){let S=0;if(n.hasNonWhitespacePendingCharacterToken)for(;S<n.pendingCharacterTokens.length;S++)ui(n,n.pendingCharacterTokens[S]);else for(;S<n.pendingCharacterTokens.length;S++)n._insertCharacters(n.pendingCharacterTokens[S]);n.insertionMode=n.originalInsertionMode,n._processToken(a)}const Oi=new Set([g.CAPTION,g.COL,g.COLGROUP,g.TBODY,g.TD,g.TFOOT,g.TH,g.THEAD,g.TR]);function Tr(n,a){const S=a.tagID;Oi.has(S)?n.openElements.hasInTableScope(g.CAPTION)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(g.CAPTION),n.activeFormattingElements.clearToLastMarker(),n.insertionMode=Ce.IN_TABLE,Ci(n,a)):Qr(n,a)}function Cr(n,a){const S=a.tagID;switch(S){case g.CAPTION:case g.TABLE:{n.openElements.hasInTableScope(g.CAPTION)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(g.CAPTION),n.activeFormattingElements.clearToLastMarker(),n.insertionMode=Ce.IN_TABLE,S===g.TABLE&&lo(n,a));break}case g.BODY:case g.COL:case g.COLGROUP:case g.HTML:case g.TBODY:case g.TD:case g.TFOOT:case g.TH:case g.THEAD:case g.TR:break;default:ao(n,a)}}function ba(n,a){switch(a.tagID){case g.HTML:{Qr(n,a);break}case g.COL:{n._appendElement(a,me.HTML),a.ackSelfClosing=!0;break}case g.TEMPLATE:{Dr(n,a);break}default:Ea(n,a)}}function ka(n,a){switch(a.tagID){case g.COLGROUP:{n.openElements.currentTagId===g.COLGROUP&&(n.openElements.pop(),n.insertionMode=Ce.IN_TABLE);break}case g.TEMPLATE:{Ur(n,a);break}case g.COL:break;default:Ea(n,a)}}function Ea(n,a){n.openElements.currentTagId===g.COLGROUP&&(n.openElements.pop(),n.insertionMode=Ce.IN_TABLE,n._processToken(a))}function ci(n,a){switch(a.tagID){case g.TR:{n.openElements.clearBackToTableBodyContext(),n._insertElement(a,me.HTML),n.insertionMode=Ce.IN_ROW;break}case g.TH:case g.TD:{n.openElements.clearBackToTableBodyContext(),n._insertFakeElement(Te.TR,g.TR),n.insertionMode=Ce.IN_ROW,fi(n,a);break}case g.CAPTION:case g.COL:case g.COLGROUP:case g.TBODY:case g.TFOOT:case g.THEAD:{n.openElements.hasTableBodyContextInTableScope()&&(n.openElements.clearBackToTableBodyContext(),n.openElements.pop(),n.insertionMode=Ce.IN_TABLE,Ci(n,a));break}default:Ci(n,a)}}function di(n,a){const S=a.tagID;switch(a.tagID){case g.TBODY:case g.TFOOT:case g.THEAD:{n.openElements.hasInTableScope(S)&&(n.openElements.clearBackToTableBodyContext(),n.openElements.pop(),n.insertionMode=Ce.IN_TABLE);break}case g.TABLE:{n.openElements.hasTableBodyContextInTableScope()&&(n.openElements.clearBackToTableBodyContext(),n.openElements.pop(),n.insertionMode=Ce.IN_TABLE,lo(n,a));break}case g.BODY:case g.CAPTION:case g.COL:case g.COLGROUP:case g.HTML:case g.TD:case g.TH:case g.TR:break;default:lo(n,a)}}function fi(n,a){switch(a.tagID){case g.TH:case g.TD:{n.openElements.clearBackToTableRowContext(),n._insertElement(a,me.HTML),n.insertionMode=Ce.IN_CELL,n.activeFormattingElements.insertMarker();break}case g.CAPTION:case g.COL:case g.COLGROUP:case g.TBODY:case g.TFOOT:case g.THEAD:case g.TR:{n.openElements.hasInTableScope(g.TR)&&(n.openElements.clearBackToTableRowContext(),n.openElements.pop(),n.insertionMode=Ce.IN_TABLE_BODY,ci(n,a));break}default:Ci(n,a)}}function Ja(n,a){switch(a.tagID){case g.TR:{n.openElements.hasInTableScope(g.TR)&&(n.openElements.clearBackToTableRowContext(),n.openElements.pop(),n.insertionMode=Ce.IN_TABLE_BODY);break}case g.TABLE:{n.openElements.hasInTableScope(g.TR)&&(n.openElements.clearBackToTableRowContext(),n.openElements.pop(),n.insertionMode=Ce.IN_TABLE_BODY,di(n,a));break}case g.TBODY:case g.TFOOT:case g.THEAD:{(n.openElements.hasInTableScope(a.tagID)||n.openElements.hasInTableScope(g.TR))&&(n.openElements.clearBackToTableRowContext(),n.openElements.pop(),n.insertionMode=Ce.IN_TABLE_BODY,di(n,a));break}case g.BODY:case g.CAPTION:case g.COL:case g.COLGROUP:case g.HTML:case g.TD:case g.TH:break;default:lo(n,a)}}function Ai(n,a){const S=a.tagID;Oi.has(S)?(n.openElements.hasInTableScope(g.TD)||n.openElements.hasInTableScope(g.TH))&&(n._closeTableCell(),fi(n,a)):Qr(n,a)}function Wo(n,a){const S=a.tagID;switch(S){case g.TD:case g.TH:{n.openElements.hasInTableScope(S)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(S),n.activeFormattingElements.clearToLastMarker(),n.insertionMode=Ce.IN_ROW);break}case g.TABLE:case g.TBODY:case g.TFOOT:case g.THEAD:case g.TR:{n.openElements.hasInTableScope(S)&&(n._closeTableCell(),Ja(n,a));break}case g.BODY:case g.CAPTION:case g.COL:case g.COLGROUP:case g.HTML:break;default:ao(n,a)}}function ns(n,a){switch(a.tagID){case g.HTML:{Qr(n,a);break}case g.OPTION:{n.openElements.currentTagId===g.OPTION&&n.openElements.pop(),n._insertElement(a,me.HTML);break}case g.OPTGROUP:{n.openElements.currentTagId===g.OPTION&&n.openElements.pop(),n.openElements.currentTagId===g.OPTGROUP&&n.openElements.pop(),n._insertElement(a,me.HTML);break}case g.HR:{n.openElements.currentTagId===g.OPTION&&n.openElements.pop(),n.openElements.currentTagId===g.OPTGROUP&&n.openElements.pop(),n._appendElement(a,me.HTML),a.ackSelfClosing=!0;break}case g.INPUT:case g.KEYGEN:case g.TEXTAREA:case g.SELECT:{n.openElements.hasInSelectScope(g.SELECT)&&(n.openElements.popUntilTagNamePopped(g.SELECT),n._resetInsertionMode(),a.tagID!==g.SELECT&&n._processStartTag(a));break}case g.SCRIPT:case g.TEMPLATE:{Dr(n,a);break}default:}}function rs(n,a){switch(a.tagID){case g.OPTGROUP:{n.openElements.stackTop>0&&n.openElements.currentTagId===g.OPTION&&n.openElements.tagIDs[n.openElements.stackTop-1]===g.OPTGROUP&&n.openElements.pop(),n.openElements.currentTagId===g.OPTGROUP&&n.openElements.pop();break}case g.OPTION:{n.openElements.currentTagId===g.OPTION&&n.openElements.pop();break}case g.SELECT:{n.openElements.hasInSelectScope(g.SELECT)&&(n.openElements.popUntilTagNamePopped(g.SELECT),n._resetInsertionMode());break}case g.TEMPLATE:{Ur(n,a);break}default:}}function ps(n,a){const S=a.tagID;S===g.CAPTION||S===g.TABLE||S===g.TBODY||S===g.TFOOT||S===g.THEAD||S===g.TR||S===g.TD||S===g.TH?(n.openElements.popUntilTagNamePopped(g.SELECT),n._resetInsertionMode(),n._processStartTag(a)):ns(n,a)}function hs(n,a){const S=a.tagID;S===g.CAPTION||S===g.TABLE||S===g.TBODY||S===g.TFOOT||S===g.THEAD||S===g.TR||S===g.TD||S===g.TH?n.openElements.hasInTableScope(S)&&(n.openElements.popUntilTagNamePopped(g.SELECT),n._resetInsertionMode(),n.onEndTag(a)):rs(n,a)}function as(n,a){switch(a.tagID){case g.BASE:case g.BASEFONT:case g.BGSOUND:case g.LINK:case g.META:case g.NOFRAMES:case g.SCRIPT:case g.STYLE:case g.TEMPLATE:case g.TITLE:{Dr(n,a);break}case g.CAPTION:case g.COLGROUP:case g.TBODY:case g.TFOOT:case g.THEAD:{n.tmplInsertionModeStack[0]=Ce.IN_TABLE,n.insertionMode=Ce.IN_TABLE,Ci(n,a);break}case g.COL:{n.tmplInsertionModeStack[0]=Ce.IN_COLUMN_GROUP,n.insertionMode=Ce.IN_COLUMN_GROUP,ba(n,a);break}case g.TR:{n.tmplInsertionModeStack[0]=Ce.IN_TABLE_BODY,n.insertionMode=Ce.IN_TABLE_BODY,ci(n,a);break}case g.TD:case g.TH:{n.tmplInsertionModeStack[0]=Ce.IN_ROW,n.insertionMode=Ce.IN_ROW,fi(n,a);break}default:n.tmplInsertionModeStack[0]=Ce.IN_BODY,n.insertionMode=Ce.IN_BODY,Qr(n,a)}}function ei(n,a){a.tagID===g.TEMPLATE&&Ur(n,a)}function La(n,a){n.openElements.tmplCount>0?(n.openElements.popUntilTagNamePopped(g.TEMPLATE),n.activeFormattingElements.clearToLastMarker(),n.tmplInsertionModeStack.shift(),n._resetInsertionMode(),n.onEof(a)):Gn(n,a)}function ja(n,a){a.tagID===g.HTML?Qr(n,a):go(n,a)}function Oa(n,a){var S;if(a.tagID===g.HTML){if(n.fragmentContext||(n.insertionMode=Ce.AFTER_AFTER_BODY),n.options.sourceCodeLocationInfo&&n.openElements.tagIDs[0]===g.HTML){n._setEndLocation(n.openElements.items[0],a);const ae=n.openElements.items[1];ae&&!(!((S=n.treeAdapter.getNodeSourceCodeLocation(ae))===null||S===void 0)&&S.endTag)&&n._setEndLocation(ae,a)}}else go(n,a)}function go(n,a){n.insertionMode=Ce.IN_BODY,ii(n,a)}function ws(n,a){switch(a.tagID){case g.HTML:{Qr(n,a);break}case g.FRAMESET:{n._insertElement(a,me.HTML);break}case g.FRAME:{n._appendElement(a,me.HTML),a.ackSelfClosing=!0;break}case g.NOFRAMES:{Dr(n,a);break}default:}}function No(n,a){a.tagID===g.FRAMESET&&!n.openElements.isRootHtmlElementCurrent()&&(n.openElements.pop(),!n.fragmentContext&&n.openElements.currentTagId!==g.FRAMESET&&(n.insertionMode=Ce.AFTER_FRAMESET))}function Xo(n,a){switch(a.tagID){case g.HTML:{Qr(n,a);break}case g.NOFRAMES:{Dr(n,a);break}default:}}function Qo(n,a){a.tagID===g.HTML&&(n.insertionMode=Ce.AFTER_AFTER_FRAMESET)}function gs(n,a){a.tagID===g.HTML?Qr(n,a):l(n,a)}function l(n,a){n.insertionMode=Ce.IN_BODY,ii(n,a)}function y(n,a){switch(a.tagID){case g.HTML:{Qr(n,a);break}case g.NOFRAMES:{Dr(n,a);break}default:}}function T(n,a){a.chars=tt,n._insertCharacters(a)}function w(n,a){n._insertCharacters(a),n.framesetOk=!1}function K(n){for(;n.treeAdapter.getNamespaceURI(n.openElements.current)!==me.HTML&&n.openElements.currentTagId!==void 0&&!n._isIntegrationPoint(n.openElements.currentTagId,n.openElements.current);)n.openElements.pop()}function j(n,a){if(br(a))K(n),n._startTagOutsideForeignContent(a);else{const S=n._getAdjustedCurrentElement(),ae=n.treeAdapter.getNamespaceURI(S);ae===me.MATHML?Jn(a):ae===me.SVG&&(nr(a),cr(a)),Sr(a),a.selfClosing?n._appendElement(a,ae):n._insertElement(a,ae),a.ackSelfClosing=!0}}function se(n,a){if(a.tagID===g.P||a.tagID===g.BR){K(n),n._endTagOutsideForeignContent(a);return}for(let S=n.openElements.stackTop;S>0;S--){const ae=n.openElements.items[S];if(n.treeAdapter.getNamespaceURI(ae)===me.HTML){n._endTagOutsideForeignContent(a);break}const Ze=n.treeAdapter.getTagName(ae);if(Ze.toLowerCase()===a.tagName){a.tagName=Ze,n.openElements.shortenToLength(S);break}}}const ve=/["$&'<>\u0080-\uFFFF]/g,Ye=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),je=String.prototype.codePointAt==null?(n,a)=>(n.charCodeAt(a)&64512)===55296?(n.charCodeAt(a)-55296)*1024+n.charCodeAt(a+1)-56320+65536:n.charCodeAt(a):(n,a)=>n.codePointAt(a);function _e(n){let a="",S=0,ae;for(;(ae=ve.exec(n))!==null;){const{index:Ze}=ae,Ct=n.charCodeAt(Ze),zt=Ye.get(Ct);zt===void 0?(a+=`${n.substring(S,Ze)}&#x${je(n,Ze).toString(16)};`,S=ve.lastIndex+=+((Ct&64512)===55296)):(a+=n.substring(S,Ze)+zt,S=Ze+1)}return a+n.substr(S)}const ft=null;function st(n,a){return function(ae){let Ze,Ct=0,zt="";for(;Ze=n.exec(ae);)Ct!==Ze.index&&(zt+=ae.substring(Ct,Ze.index)),zt+=a.get(Ze[0].charCodeAt(0)),Ct=Ze.index+1;return zt+ae.substring(Ct)}}const Ue=null,Hn=st(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),xr=st(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]])),$r=new Set([Te.AREA,Te.BASE,Te.BASEFONT,Te.BGSOUND,Te.BR,Te.COL,Te.EMBED,Te.FRAME,Te.HR,Te.IMG,Te.INPUT,Te.KEYGEN,Te.LINK,Te.META,Te.PARAM,Te.SOURCE,Te.TRACK,Te.WBR]);function on(n,a){return a.treeAdapter.isElementNode(n)&&a.treeAdapter.getNamespaceURI(n)===NS.HTML&&$r.has(a.treeAdapter.getTagName(n))}const wn={treeAdapter:yt,scriptingEnabled:!0};function Bn(n,a){const S=yr(yr({},wn),a);return on(n,S)?"":Jr(n,S)}function na(n,a){const S=yr(yr({},wn),a);return qt(n,S)}function Jr(n,a){let S="";const ae=a.treeAdapter.isElementNode(n)&&a.treeAdapter.getTagName(n)===$.TEMPLATE&&a.treeAdapter.getNamespaceURI(n)===NS.HTML?a.treeAdapter.getTemplateContent(n):n,Ze=a.treeAdapter.getChildNodes(ae);if(Ze)for(const Ct of Ze)S+=qt(Ct,a);return S}function qt(n,a){return a.treeAdapter.isElementNode(n)?ia(n,a):a.treeAdapter.isTextNode(n)?ra(n,a):a.treeAdapter.isCommentNode(n)?ga(n,a):a.treeAdapter.isDocumentTypeNode(n)?Ya(n,a):""}function ia(n,a){const S=a.treeAdapter.getTagName(n);return`<${S}${wa(n,a)}>${on(n,a)?"":`${Jr(n,a)}</${S}>`}`}function wa(n,{treeAdapter:a}){let S="";for(const ae of a.getAttrList(n)){if(S+=" ",ae.namespace)switch(ae.namespace){case NS.XML:{S+=`xml:${ae.name}`;break}case NS.XMLNS:{ae.name!=="xmlns"&&(S+="xmlns:"),S+=ae.name;break}case NS.XLINK:{S+=`xlink:${ae.name}`;break}default:S+=`${ae.prefix}:${ae.name}`}else S+=ae.name;S+=`="${escapeAttribute(ae.value)}"`}return S}function ra(n,a){const{treeAdapter:S}=a,ae=S.getTextNodeContent(n),Ze=S.getParentNode(n),Ct=Ze&&S.isElementNode(Ze)&&S.getTagName(Ze);return Ct&&S.getNamespaceURI(Ze)===NS.HTML&&hasUnescapedText(Ct,a.scriptingEnabled)?ae:escapeText(ae)}function ga(n,{treeAdapter:a}){return`<!--${a.getCommentNodeContent(n)}-->`}function Ya(n,{treeAdapter:a}){return`<!DOCTYPE ${a.getDocumentTypeNodeName(n)}>`}function da(n,a){return Parser.parse(n,a)}function qn(n,a,S){typeof n=="string"&&(S=a,a=n,n=null);const ae=Parser.getFragmentParser(n,S);return ae.tokenizer.write(a,!0),ae.getFragment()}var tr=r(17970),Fr=r(10528);const Sa=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,Da=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),ti={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function vi(n,a){const S=$o(n),ae=U("type",{handlers:{root:ki,element:zi,text:qe,comment:Fo,doctype:yi,raw:Zo},unknown:Ga}),Ze={parser:S?new Ra(ti):Ra.getFragmentParser(void 0,ti),handle(Nn){ae(Nn,Ze)},stitches:!1,options:a||{}};ae(n,Ze),_i(Ze,(0,tr.Pk)());const Ct=S?Ze.parser.document:Ze.parser.getFragment(),zt=G(Ct,{file:Ze.options.file});return Ze.stitches&&(0,Fr.Vn)(zt,"comment",function(Nn,Xn,Nt){const an=Nn;if(an.value.stitch&&Nt&&Xn!==void 0){const ar=Nt.children;return ar[Xn]=an.value.stitch,Xn}}),zt.type==="root"&&zt.children.length===1&&zt.children[0].type===n.type?zt.children[0]:zt}function Xe(n,a){let S=-1;if(n)for(;++S<n.length;)a.handle(n[S])}function ki(n,a){Xe(n.children,a)}function zi(n,a){Xi(n,a),Xe(n.children,a),Qi(n,a)}function qe(n,a){a.parser.tokenizer.state>4&&(a.parser.tokenizer.state=0);const S={type:Ht.CHARACTER,chars:n.value,location:mo(n)};_i(a,(0,tr.Pk)(n)),a.parser.currentToken=S,a.parser._processToken(a.parser.currentToken)}function yi(n,a){const S={type:Ht.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:mo(n)};_i(a,(0,tr.Pk)(n)),a.parser.currentToken=S,a.parser._processToken(a.parser.currentToken)}function Gi(n,a){a.stitches=!0;const S=qo(n);if("children"in n&&"children"in S){const ae=vi({type:"root",children:n.children},a.options);S.children=ae.children}Fo({type:"comment",value:{stitch:S}},a)}function Fo(n,a){const S=n.value,ae={type:Ht.COMMENT,data:S,location:mo(n)};_i(a,(0,tr.Pk)(n)),a.parser.currentToken=ae,a.parser._processToken(a.parser.currentToken)}function Zo(n,a){if(a.parser.tokenizer.preprocessor.html="",a.parser.tokenizer.preprocessor.pos=-1,a.parser.tokenizer.preprocessor.lastGapPos=-2,a.parser.tokenizer.preprocessor.gapStack=[],a.parser.tokenizer.preprocessor.skipNextNewLine=!1,a.parser.tokenizer.preprocessor.lastChunkWritten=!1,a.parser.tokenizer.preprocessor.endOfChunkHit=!1,a.parser.tokenizer.preprocessor.isEol=!1,ni(a,(0,tr.Pk)(n)),a.parser.tokenizer.write(a.options.tagfilter?n.value.replace(Sa,"&lt;$1$2"):n.value,!1),a.parser.tokenizer._runParsingLoop(),a.parser.tokenizer.state===72||a.parser.tokenizer.state===78){a.parser.tokenizer.preprocessor.lastChunkWritten=!0;const S=a.parser.tokenizer._consume();a.parser.tokenizer._callState(S)}}function Ga(n,a){const S=n;if(a.options.passThrough&&a.options.passThrough.includes(S.type))Gi(S,a);else{let ae="";throw Da.has(S.type)&&(ae=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+S.type+"` node"+ae)}}function _i(n,a){ni(n,a);const S=n.parser.tokenizer.currentCharacterToken;S&&S.location&&(S.location.endLine=n.parser.tokenizer.preprocessor.line,S.location.endCol=n.parser.tokenizer.preprocessor.col+1,S.location.endOffset=n.parser.tokenizer.preprocessor.offset+1,n.parser.currentToken=S,n.parser._processToken(n.parser.currentToken)),n.parser.tokenizer.paused=!1,n.parser.tokenizer.inLoop=!1,n.parser.tokenizer.active=!1,n.parser.tokenizer.returnState=mn.DATA,n.parser.tokenizer.charRefCode=-1,n.parser.tokenizer.consumedAfterSnapshot=-1,n.parser.tokenizer.currentLocation=null,n.parser.tokenizer.currentCharacterToken=null,n.parser.tokenizer.currentToken=null,n.parser.tokenizer.currentAttr={name:"",value:""}}function ni(n,a){if(a&&a.offset!==void 0){const S={startLine:a.line,startCol:a.column,startOffset:a.offset,endLine:-1,endCol:-1,endOffset:-1};n.parser.tokenizer.preprocessor.lineStartPos=-a.column+1,n.parser.tokenizer.preprocessor.droppedBufferSize=a.offset,n.parser.tokenizer.preprocessor.line=a.line,n.parser.tokenizer.currentLocation=S}}function Xi(n,a){const S=n.tagName.toLowerCase();if(a.parser.tokenizer.state===mn.PLAINTEXT)return;_i(a,(0,tr.Pk)(n));const ae=a.parser.openElements.current;let Ze="namespaceURI"in ae?ae.namespaceURI:O.t.html;Ze===O.t.html&&S==="svg"&&(Ze=O.t.svg);const Ct=Se(ts(yr({},n),{children:[]}),{space:Ze===O.t.svg?"svg":"html"}),zt={type:Ht.START_TAG,tagName:S,tagID:Jt(S),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in Ct?Ct.attrs:[],location:mo(n)};a.parser.currentToken=zt,a.parser._processToken(a.parser.currentToken),a.parser.tokenizer.lastStartTagName=S}function Qi(n,a){const S=n.tagName.toLowerCase();if(!a.parser.tokenizer.inForeignNode&&et.includes(S)||a.parser.tokenizer.state===mn.PLAINTEXT)return;_i(a,(0,tr.rb)(n));const ae={type:Ht.END_TAG,tagName:S,tagID:Jt(S),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:mo(n)};a.parser.currentToken=ae,a.parser._processToken(a.parser.currentToken),S===a.parser.tokenizer.lastStartTagName&&(a.parser.tokenizer.state===mn.RCDATA||a.parser.tokenizer.state===mn.RAWTEXT||a.parser.tokenizer.state===mn.SCRIPT_DATA)&&(a.parser.tokenizer.state=mn.DATA)}function $o(n){const a=n.type==="root"?n.children[0]:n;return!!(a&&(a.type==="doctype"||a.type==="element"&&a.tagName.toLowerCase()==="html"))}function mo(n){const a=(0,tr.Pk)(n)||{line:void 0,column:void 0,offset:void 0},S=(0,tr.rb)(n)||{line:void 0,column:void 0,offset:void 0};return{startLine:a.line,startCol:a.column,startOffset:a.offset,endLine:S.line,endCol:S.column,endOffset:S.offset}}function qo(n){return"children"in n?(0,E.ZP)(ts(yr({},n),{children:[]})):(0,E.ZP)(n)}function is(n){return function(a,S){return vi(a,ts(yr({},n),{file:S}))}}},10787:function(x,c,r){"use strict";r.d(c,{Z:function(){return I}});function u(ie){if(typeof ie!="string")throw new TypeError("Expected a string");return ie.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var E=r(2348),m=r(10502);function b(ie,G,be){const ce=be||{},ue=(0,m.O)(ce.ignore||[]),te=k(G);let X=-1;for(;++X<te.length;)(0,E.S4)(ie,"text",q);function q(Y,P){let B=-1,_;for(;++B<P.length;){const ee=P[B],de=_?_.children:void 0;if(ue(ee,de?de.indexOf(ee):void 0,_))return;_=ee}if(_)return W(Y,P)}function W(Y,P){const B=P[P.length-1],_=te[X][0],ee=te[X][1];let de=0;const fe=B.children.indexOf(Y);let re=!1,V=[];_.lastIndex=0;let le=_.exec(Y.value);for(;le;){const ne=le.index,ge={index:le.index,input:le.input,stack:[...P,Y]};let Re=ee(...le,ge);if(typeof Re=="string"&&(Re=Re.length>0?{type:"text",value:Re}:void 0),Re===!1?_.lastIndex=ne+1:(de!==ne&&V.push({type:"text",value:Y.value.slice(de,ne)}),Array.isArray(Re)?V.push(...Re):Re&&V.push(Re),de=ne+le[0].length,re=!0),!_.global)break;le=_.exec(Y.value)}return re?(de<Y.value.length&&V.push({type:"text",value:Y.value.slice(de)}),B.children.splice(fe,1,...V)):V=[Y],fe+V.length}}function k(ie){const G=[];if(!Array.isArray(ie))throw new TypeError("Expected find and replace tuple or list of tuples");const be=!ie[0]||Array.isArray(ie[0])?ie:[ie];let ce=-1;for(;++ce<be.length;){const ue=be[ce];G.push([d(ue[0]),N(ue[1])])}return G}function d(ie){return typeof ie=="string"?new RegExp(u(ie),"g"):ie}function N(ie){return typeof ie=="function"?ie:function(){return ie}}function H(ie){b(ie,[/\r?\n|\r/g,O])}function O(){return{type:"break"}}function I(){return function(ie){H(ie)}}},30084:function(x,c,r){"use strict";r.d(c,{Z:function(){return te}});var u=r(87342);function E(X,q){const W=String(X);let Y=W.indexOf(q),P=Y,B=0,_=0;if(typeof q!="string")throw new TypeError("Expected substring");for(;Y!==-1;)Y===P?++B>_&&(_=B):B=1,P=Y+q.length,Y=W.indexOf(q,P);return _}function m(){return{enter:{mathFlow:X,mathFlowFenceMeta:q,mathText:B},exit:{mathFlow:P,mathFlowFence:Y,mathFlowFenceMeta:W,mathFlowValue:ee,mathText:_,mathTextData:ee}};function X(de){const Z={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[Z]}},de)}function q(){this.buffer()}function W(){const de=this.resume(),Z=this.stack[this.stack.length-1];(0,u.ok)(Z.type==="math"),Z.meta=de}function Y(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function P(de){const Z=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),fe=this.stack[this.stack.length-1];(0,u.ok)(fe.type==="math"),this.exit(de),fe.value=Z;const re=fe.data.hChildren[0];(0,u.ok)(re.type==="element"),(0,u.ok)(re.tagName==="code"),re.children.push({type:"text",value:Z}),this.data.mathFlowInside=void 0}function B(de){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},de),this.buffer()}function _(de){const Z=this.resume(),fe=this.stack[this.stack.length-1];(0,u.ok)(fe.type==="inlineMath"),this.exit(de),fe.value=Z,fe.data.hChildren.push({type:"text",value:Z})}function ee(de){this.config.enter.data.call(this,de),this.config.exit.data.call(this,de)}}function b(X){let q=(X||{}).singleDollarTextMath;return q==null&&(q=!0),Y.peek=P,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
`,inConstruct:"mathFlowMeta"},{character:"$",after:q?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:W,inlineMath:Y}};function W(B,_,ee,de){const Z=B.value||"",fe=ee.createTracker(de),re="$".repeat(Math.max(E(Z,"$")+1,2)),V=ee.enter("mathFlow");let le=fe.move(re);if(B.meta){const ne=ee.enter("mathFlowMeta");le+=fe.move(ee.safe(B.meta,yr({after:`
`,before:le,encode:["$"]},fe.current()))),ne()}return le+=fe.move(`
`),Z&&(le+=fe.move(Z+`
`)),le+=fe.move(re),V(),le}function Y(B,_,ee){let de=B.value||"",Z=1;for(q||Z++;new RegExp("(^|[^$])"+"\\$".repeat(Z)+"([^$]|$)").test(de);)Z++;const fe="$".repeat(Z);/[^ \r\n]/.test(de)&&(/^[ \r\n]/.test(de)&&/[ \r\n]$/.test(de)||/^\$|\$$/.test(de))&&(de=" "+de+" ");let re=-1;for(;++re<ee.unsafe.length;){const V=ee.unsafe[re];if(!V.atBreak)continue;const le=ee.compilePattern(V);let ne;for(;ne=le.exec(de);){let ge=ne.index;de.codePointAt(ge)===10&&de.codePointAt(ge-1)===13&&ge--,de=de.slice(0,ge)+" "+de.slice(ne.index+1)}}return fe+de+fe}function P(){return"$"}}var k=r(26735),d=r(80722);const N={tokenize:O,concrete:!0,name:"mathFlow"},H={tokenize:I,partial:!0};function O(X,q,W){const Y=this,P=Y.events[Y.events.length-1],B=P&&P[1].type==="linePrefix"?P[2].sliceSerialize(P[1],!0).length:0;let _=0;return ee;function ee(ke){return X.enter("mathFlow"),X.enter("mathFlowFence"),X.enter("mathFlowFenceSequence"),de(ke)}function de(ke){return ke===36?(X.consume(ke),_++,de):_<2?W(ke):(X.exit("mathFlowFenceSequence"),(0,k.f)(X,Z,"whitespace")(ke))}function Z(ke){return ke===null||(0,d.Ch)(ke)?re(ke):(X.enter("mathFlowFenceMeta"),X.enter("chunkString",{contentType:"string"}),fe(ke))}function fe(ke){return ke===null||(0,d.Ch)(ke)?(X.exit("chunkString"),X.exit("mathFlowFenceMeta"),re(ke)):ke===36?W(ke):(X.consume(ke),fe)}function re(ke){return X.exit("mathFlowFence"),Y.interrupt?q(ke):X.attempt(H,V,Re)(ke)}function V(ke){return X.attempt({tokenize:Ie,partial:!0},Re,le)(ke)}function le(ke){return(B?(0,k.f)(X,ne,"linePrefix",B+1):ne)(ke)}function ne(ke){return ke===null?Re(ke):(0,d.Ch)(ke)?X.attempt(H,V,Re)(ke):(X.enter("mathFlowValue"),ge(ke))}function ge(ke){return ke===null||(0,d.Ch)(ke)?(X.exit("mathFlowValue"),ne(ke)):(X.consume(ke),ge)}function Re(ke){return X.exit("mathFlow"),q(ke)}function Ie(ke,Be,oe){let M=0;return(0,k.f)(ke,L,"linePrefix",Y.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function L(we){return ke.enter("mathFlowFence"),ke.enter("mathFlowFenceSequence"),xe(we)}function xe(we){return we===36?(M++,ke.consume(we),xe):M<_?oe(we):(ke.exit("mathFlowFenceSequence"),(0,k.f)(ke,Me,"whitespace")(we))}function Me(we){return we===null||(0,d.Ch)(we)?(ke.exit("mathFlowFence"),Be(we)):oe(we)}}}function I(X,q,W){const Y=this;return P;function P(_){return _===null?q(_):(X.enter("lineEnding"),X.consume(_),X.exit("lineEnding"),B)}function B(_){return Y.parser.lazy[Y.now().line]?W(_):q(_)}}function ie(X){let W=(X||{}).singleDollarTextMath;return W==null&&(W=!0),{tokenize:Y,resolve:G,previous:be,name:"mathText"};function Y(P,B,_){const ee=this;let de=0,Z,fe;return re;function re(Re){return P.enter("mathText"),P.enter("mathTextSequence"),V(Re)}function V(Re){return Re===36?(P.consume(Re),de++,V):de<2&&!W?_(Re):(P.exit("mathTextSequence"),le(Re))}function le(Re){return Re===null?_(Re):Re===36?(fe=P.enter("mathTextSequence"),Z=0,ge(Re)):Re===32?(P.enter("space"),P.consume(Re),P.exit("space"),le):(0,d.Ch)(Re)?(P.enter("lineEnding"),P.consume(Re),P.exit("lineEnding"),le):(P.enter("mathTextData"),ne(Re))}function ne(Re){return Re===null||Re===32||Re===36||(0,d.Ch)(Re)?(P.exit("mathTextData"),le(Re)):(P.consume(Re),ne)}function ge(Re){return Re===36?(P.consume(Re),Z++,ge):Z===de?(P.exit("mathTextSequence"),P.exit("mathText"),B(Re)):(fe.type="mathTextData",ne(Re))}}}function G(X){let q=X.length-4,W=3,Y,P;if((X[W][1].type==="lineEnding"||X[W][1].type==="space")&&(X[q][1].type==="lineEnding"||X[q][1].type==="space")){for(Y=W;++Y<q;)if(X[Y][1].type==="mathTextData"){X[q][1].type="mathTextPadding",X[W][1].type="mathTextPadding",W+=2,q-=2;break}}for(Y=W-1,q++;++Y<=q;)P===void 0?Y!==q&&X[Y][1].type!=="lineEnding"&&(P=Y):(Y===q||X[Y][1].type==="lineEnding")&&(X[P][1].type="mathTextData",Y!==P+2&&(X[P][1].end=X[Y-1][1].end,X.splice(P+2,Y-P-2),q-=Y-P-2,Y=P+2),P=void 0);return X}function be(X){return X!==36||this.events[this.events.length-1][1].type==="characterEscape"}function ce(X){return{flow:{36:N},text:{36:ie(X)}}}const ue={};function te(X){const q=this,W=X||ue,Y=q.data(),P=Y.micromarkExtensions||(Y.micromarkExtensions=[]),B=Y.fromMarkdownExtensions||(Y.fromMarkdownExtensions=[]),_=Y.toMarkdownExtensions||(Y.toMarkdownExtensions=[]);P.push(ce(W)),B.push(m()),_.push(b(W))}},16722:function(x,c,r){"use strict";r.d(c,{Z:function(){return H}});const u=O=>typeof O=="object"&&O!=null&&O.nodeType===1,E=(O,I)=>(!I||O!=="hidden")&&O!=="visible"&&O!=="clip",m=(O,I)=>{if(O.clientHeight<O.scrollHeight||O.clientWidth<O.scrollWidth){const ie=getComputedStyle(O,null);return E(ie.overflowY,I)||E(ie.overflowX,I)||(G=>{const be=(ce=>{if(!ce.ownerDocument||!ce.ownerDocument.defaultView)return null;try{return ce.ownerDocument.defaultView.frameElement}catch(ue){return null}})(G);return!!be&&(be.clientHeight<G.scrollHeight||be.clientWidth<G.scrollWidth)})(O)}return!1},b=(O,I,ie,G,be,ce,ue,te)=>ce<O&&ue>I||ce>O&&ue<I?0:ce<=O&&te<=ie||ue>=I&&te>=ie?ce-O-G:ue>I&&te<ie||ce<O&&te>ie?ue-I+be:0,k=O=>{const I=O.parentElement;return I==null?O.getRootNode().host||null:I},d=(O,I)=>{var ie,G,be,ce;if(typeof document=="undefined")return[];const{scrollMode:ue,block:te,inline:X,boundary:q,skipOverflowHiddenElements:W}=I,Y=typeof q=="function"?q:Me=>Me!==q;if(!u(O))throw new TypeError("Invalid target");const P=document.scrollingElement||document.documentElement,B=[];let _=O;for(;u(_)&&Y(_);){if(_=k(_),_===P){B.push(_);break}_!=null&&_===document.body&&m(_)&&!m(document.documentElement)||_!=null&&m(_,W)&&B.push(_)}const ee=(G=(ie=window.visualViewport)==null?void 0:ie.width)!=null?G:innerWidth,de=(ce=(be=window.visualViewport)==null?void 0:be.height)!=null?ce:innerHeight,{scrollX:Z,scrollY:fe}=window,{height:re,width:V,top:le,right:ne,bottom:ge,left:Re}=O.getBoundingClientRect(),{top:Ie,right:ke,bottom:Be,left:oe}=(Me=>{const we=window.getComputedStyle(Me);return{top:parseFloat(we.scrollMarginTop)||0,right:parseFloat(we.scrollMarginRight)||0,bottom:parseFloat(we.scrollMarginBottom)||0,left:parseFloat(we.scrollMarginLeft)||0}})(O);let M=te==="start"||te==="nearest"?le-Ie:te==="end"?ge+Be:le+re/2-Ie+Be,L=X==="center"?Re+V/2-oe+ke:X==="end"?ne+ke:Re-oe;const xe=[];for(let Me=0;Me<B.length;Me++){const we=B[Me],{height:Tt,width:ut,top:Rt,right:He,bottom:bt,left:vt}=we.getBoundingClientRect();if(ue==="if-needed"&&le>=0&&Re>=0&&ge<=de&&ne<=ee&&(we===P&&!m(we)||le>=Rt&&ge<=bt&&Re>=vt&&ne<=He))return xe;const Mt=getComputedStyle(we),Ut=parseInt(Mt.borderLeftWidth,10),R=parseInt(Mt.borderTopWidth,10),h=parseInt(Mt.borderRightWidth,10),f=parseInt(Mt.borderBottomWidth,10);let C=0,D=0;const v="offsetWidth"in we?we.offsetWidth-we.clientWidth-Ut-h:0,U="offsetHeight"in we?we.offsetHeight-we.clientHeight-R-f:0,Ne="offsetWidth"in we?we.offsetWidth===0?0:ut/we.offsetWidth:0,ot="offsetHeight"in we?we.offsetHeight===0?0:Tt/we.offsetHeight:0;if(P===we)C=te==="start"?M:te==="end"?M-de:te==="nearest"?b(fe,fe+de,de,R,f,fe+M,fe+M+re,re):M-de/2,D=X==="start"?L:X==="center"?L-ee/2:X==="end"?L-ee:b(Z,Z+ee,ee,Ut,h,Z+L,Z+L+V,V),C=Math.max(0,C+fe),D=Math.max(0,D+Z);else{C=te==="start"?M-Rt-R:te==="end"?M-bt+f+U:te==="nearest"?b(Rt,bt,Tt,R,f+U,M,M+re,re):M-(Rt+Tt/2)+U/2,D=X==="start"?L-vt-Ut:X==="center"?L-(vt+ut/2)+v/2:X==="end"?L-He+h+v:b(vt,He,ut,Ut,h+v,L,L+V,V);const{scrollLeft:lt,scrollTop:Se}=we;C=ot===0?0:Math.max(0,Math.min(Se+C/ot,we.scrollHeight-Tt/ot+U)),D=Ne===0?0:Math.max(0,Math.min(lt+D/Ne,we.scrollWidth-ut/Ne+v)),M+=Se-C,L+=lt-D}xe.push({el:we,top:C,left:D})}return xe},N=O=>O===!1?{block:"end",inline:"nearest"}:(I=>I===Object(I)&&Object.keys(I).length!==0)(O)?O:{block:"start",inline:"nearest"};function H(O,I){if(!O.isConnected||!(be=>{let ce=be;for(;ce&&ce.parentNode;){if(ce.parentNode===document)return!0;ce=ce.parentNode instanceof ShadowRoot?ce.parentNode.host:ce.parentNode}return!1})(O))return;const ie=(be=>{const ce=window.getComputedStyle(be);return{top:parseFloat(ce.scrollMarginTop)||0,right:parseFloat(ce.scrollMarginRight)||0,bottom:parseFloat(ce.scrollMarginBottom)||0,left:parseFloat(ce.scrollMarginLeft)||0}})(O);if((be=>typeof be=="object"&&typeof be.behavior=="function")(I))return I.behavior(d(O,I));const G=typeof I=="boolean"||I==null?void 0:I.behavior;for(const{el:be,top:ce,left:ue}of d(O,N(I))){const te=ce-ie.top+ie.bottom,X=ue-ie.left+ie.right;be.scroll({top:te,left:X,behavior:G})}}},71523:function(x,c,r){"use strict";r.d(c,{P:function(){return E},Q:function(){return u}});function u(m){const b=String(m||"").trim();return b?b.split(/[ \t\n\r\f]+/g):[]}function E(m){return m.join(" ").trim()}},10502:function(x,c,r){"use strict";r.d(c,{O:function(){return E}});const u=function(O,I,ie,G,be){const ce=E(I);if(ie!=null&&(typeof ie!="number"||ie<0||ie===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index");if(G!=null&&(!u(G)||!G.children))throw new Error("Expected parent node");if(G==null!=(ie==null))throw new Error("Expected both parent and index");return H(O)?ce.call(be,O,ie,G):!1},E=function(O){if(O==null)return N;if(typeof O=="function")return d(O);if(typeof O=="object")return Array.isArray(O)?m(O):b(O);if(typeof O=="string")return k(O);throw new Error("Expected function, string, or object as test")};function m(O){const I=[];let ie=-1;for(;++ie<O.length;)I[ie]=E(O[ie]);return d(G);function G(...be){let ce=-1;for(;++ce<I.length;)if(I[ce].apply(this,be))return!0;return!1}}function b(O){const I=O;return d(ie);function ie(G){const be=G;let ce;for(ce in O)if(be[ce]!==I[ce])return!1;return!0}}function k(O){return d(I);function I(ie){return ie&&ie.type===O}}function d(O){return I;function I(ie,G,be){return!!(H(ie)&&O.call(this,ie,typeof G=="number"?G:void 0,be||void 0))}}function N(){return!0}function H(O){return O!==null&&typeof O=="object"&&"type"in O}},17970:function(x,c,r){"use strict";r.d(c,{FK:function(){return b},Pk:function(){return E},rb:function(){return u}});const u=m("end"),E=m("start");function m(k){return d;function d(N){const H=N&&N.position&&N.position[k]||{};if(typeof H.line=="number"&&H.line>0&&typeof H.column=="number"&&H.column>0)return{line:H.line,column:H.column,offset:typeof H.offset=="number"&&H.offset>-1?H.offset:void 0}}}function b(k){const d=E(k),N=u(k);if(d&&N)return{start:d,end:N}}},2348:function(x,c,r){"use strict";r.d(c,{AM:function(){return d},S4:function(){return N}});var u=r(10502);function E(O){return O}const m=[],b=!0,k=!1,d="skip";function N(O,I,ie,G){let be;typeof I=="function"&&typeof ie!="function"?(G=ie,ie=I):be=I;const ce=(0,u.O)(be),ue=G?-1:1;te(O,void 0,[])();function te(X,q,W){const Y=X&&typeof X=="object"?X:{};if(typeof Y.type=="string"){const B=typeof Y.tagName=="string"?Y.tagName:typeof Y.name=="string"?Y.name:void 0;Object.defineProperty(P,"name",{value:"node ("+(X.type+(B?"<"+B+">":""))+")"})}return P;function P(){let B=m,_,ee,de;if((!I||ce(X,q,W[W.length-1]||void 0))&&(B=H(ie(X,W)),B[0]===k))return B;if("children"in X&&X.children){const Z=X;if(Z.children&&B[0]!==d)for(ee=(G?Z.children.length:-1)+ue,de=W.concat(Z);ee>-1&&ee<Z.children.length;){const fe=Z.children[ee];if(_=te(fe,ee,de)(),_[0]===k)return _;ee=typeof _[1]=="number"?_[1]:ee+ue}}return B}}}function H(O){return Array.isArray(O)?O:typeof O=="number"?[b,O]:O==null?m:[O]}},10528:function(x,c,r){"use strict";r.d(c,{Vn:function(){return E}});var u=r(2348);function E(m,b,k,d){let N,H,O;typeof b=="function"&&typeof k!="function"?(H=void 0,O=b,N=k):(H=b,O=k,N=d),(0,u.S4)(m,H,I,N);function I(ie,G){const be=G[G.length-1],ce=be?be.children.indexOf(ie):void 0;return O(ie,ce,be)}}},43309:function(x,c,r){"use strict";r.d(c,{t:function(){return u}});const u={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},47854:function(x){"use strict";x.exports=JSON.parse('{"AElig":"\xC6","AMP":"&","Aacute":"\xC1","Acirc":"\xC2","Agrave":"\xC0","Aring":"\xC5","Atilde":"\xC3","Auml":"\xC4","COPY":"\xA9","Ccedil":"\xC7","ETH":"\xD0","Eacute":"\xC9","Ecirc":"\xCA","Egrave":"\xC8","Euml":"\xCB","GT":">","Iacute":"\xCD","Icirc":"\xCE","Igrave":"\xCC","Iuml":"\xCF","LT":"<","Ntilde":"\xD1","Oacute":"\xD3","Ocirc":"\xD4","Ograve":"\xD2","Oslash":"\xD8","Otilde":"\xD5","Ouml":"\xD6","QUOT":"\\"","REG":"\xAE","THORN":"\xDE","Uacute":"\xDA","Ucirc":"\xDB","Ugrave":"\xD9","Uuml":"\xDC","Yacute":"\xDD","aacute":"\xE1","acirc":"\xE2","acute":"\xB4","aelig":"\xE6","agrave":"\xE0","amp":"&","aring":"\xE5","atilde":"\xE3","auml":"\xE4","brvbar":"\xA6","ccedil":"\xE7","cedil":"\xB8","cent":"\xA2","copy":"\xA9","curren":"\xA4","deg":"\xB0","divide":"\xF7","eacute":"\xE9","ecirc":"\xEA","egrave":"\xE8","eth":"\xF0","euml":"\xEB","frac12":"\xBD","frac14":"\xBC","frac34":"\xBE","gt":">","iacute":"\xED","icirc":"\xEE","iexcl":"\xA1","igrave":"\xEC","iquest":"\xBF","iuml":"\xEF","laquo":"\xAB","lt":"<","macr":"\xAF","micro":"\xB5","middot":"\xB7","nbsp":"\xA0","not":"\xAC","ntilde":"\xF1","oacute":"\xF3","ocirc":"\xF4","ograve":"\xF2","ordf":"\xAA","ordm":"\xBA","oslash":"\xF8","otilde":"\xF5","ouml":"\xF6","para":"\xB6","plusmn":"\xB1","pound":"\xA3","quot":"\\"","raquo":"\xBB","reg":"\xAE","sect":"\xA7","shy":"\xAD","sup1":"\xB9","sup2":"\xB2","sup3":"\xB3","szlig":"\xDF","thorn":"\xFE","times":"\xD7","uacute":"\xFA","ucirc":"\xFB","ugrave":"\xF9","uml":"\xA8","uuml":"\xFC","yacute":"\xFD","yen":"\xA5","yuml":"\xFF"}')},80501:function(x){"use strict";x.exports=JSON.parse('{"0":"\uFFFD","128":"\u20AC","130":"\u201A","131":"\u0192","132":"\u201E","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02C6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017D","145":"\u2018","146":"\u2019","147":"\u201C","148":"\u201D","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02DC","153":"\u2122","154":"\u0161","155":"\u203A","156":"\u0153","158":"\u017E","159":"\u0178"}')}}]);
}());